HightContrast: make tab buttons not shift size
authorJakub Steiner <jimmac@gmail.com>
Tue, 17 Mar 2015 17:18:18 +0000 (18:18 +0100)
committerJakub Steiner <jimmac@gmail.com>
Tue, 17 Mar 2015 17:18:18 +0000 (18:18 +0100)
- only 1px stroke for close buttons in notebook tabs

https://bugzilla.gnome.org/show_bug.cgi?id=746149

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css

index 82ffe56e37b9ad5e20c77b52fb7faf68bc77f884..4036130d0f1705b8b2e490543c3f41d5c0ff1019 100644 (file)
@@ -1327,15 +1327,18 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
       &:hover {
         color:  $fg_color;
         @include button(hover, $edge: none);
+        border-width: 1px;
         background-image: none;
         box-shadow: none;
       }
       &:active {
         @include button(active, $edge: none);
+        border-width: 1px;
       }
       &:backdrop {
         color: transparentize($backdrop_fg_color,0.7);
         border-color: transparent;
+        border-width: 1px;
       }
       & > GtkImage { // this is a hack which makes tabs grow
         padding: 2px;
index bbf1f6e6882875fe332f7ac1ea221bb35070cd0a..0a942deaeb8b3311759593bf7edc803456b03f69 100644 (file)
@@ -1543,6 +1543,7 @@ GtkTreeView.view.progressbar {
         background-color: #fff;
         border-color: #7f7f7f;
         background-image: none;
+        border-width: 1px;
         background-image: none;
         box-shadow: none; }
       .notebook tab .button:active {
@@ -1551,10 +1552,12 @@ GtkTreeView.view.progressbar {
         background-image: none;
         color: white;
         background-color: black;
-        border-color: #7f7f7f; }
+        border-color: #7f7f7f;
+        border-width: 1px; }
       .notebook tab .button:backdrop {
         color: rgba(0, 0, 0, 0.3);
-        border-color: transparent; }
+        border-color: transparent;
+        border-width: 1px; }
       .notebook tab .button > GtkImage {
         padding: 2px; }