HC: no border for insensitive backdrop buttons
authorJakub Steiner <jimmac@gmail.com>
Mon, 16 Mar 2015 11:37:54 +0000 (12:37 +0100)
committerJakub Steiner <jimmac@gmail.com>
Mon, 16 Mar 2015 11:37:54 +0000 (12:37 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=746192

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

index 44af601d991adb2deb2d70fa1b852086ce012d98..85ad778c842f193d15141d49d8c24afee5c28ece 100644 (file)
@@ -374,8 +374,9 @@ $_dot_color: $selected_bg_color;
     &:active, &.flat:active {
       @include button(insensitive-active);
     }
+
   }
-  &.flat, &.flat:backdrop {
+  &.flat, &.flat:backdrop, &.flat:insensitive:backdrop {
     @extend %undecorated_button;
   }
   //overlay / OSD style
index 0f267bf352f5a3664239e32a8b3fb8e29e96dd6d..772581ac8ea2c3e5f76f30cc68c440e639416bb3 100644 (file)
   border-radius: 3px;
   border-style: solid; }
 
-.button.flat, .button.flat:backdrop, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
+.button.flat, .button.flat:backdrop, .button.flat:insensitive:backdrop, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
   border-color: transparent;
   background-color: transparent;
   background-image: none;
@@ -780,7 +780,8 @@ GtkColorButton.button {
    *     border-radius: 0;
    *     box-shadow: none;
    *   }
-   * } */ }
+   * }
+   */ }
   .spinbutton .button {
     background-image: none;
     border-width: 0 0 0 1px;