[gtk+] Adwaita: fix backdrop insensitie flat button



commit 3bb6b36c749e0ff1531d606dd4d2a84dd525b081
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Jul 15 13:01:48 2014 +0200

    Adwaita: fix backdrop insensitie flat button

 gtk/resources/theme/Adwaita/_common.scss           |    4 ++--
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/resources/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index b55d668..f3f2715 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -284,7 +284,7 @@ GtkLabel {
       @include button(insensitive-active);
     }
   }
-  &.flat, &.flat:backdrop {
+  &.flat, &.flat:backdrop, &.flat:backdrop:insensitive {
     @extend %undecorated_button;
   }
   // big standalone buttons like in Documents pager
@@ -371,7 +371,7 @@ GtkLabel {
 // all the following is for the +|- buttons on inline toolbars, that way
 // should really be reprecated...
 .inline-toolbar GtkToolButton > .button { // redefining the button look is
-                                               // needed since those are flat...
+                                          // needed since those are flat...
   @include button(normal, $noedge: true); // the box-shadow outset doesn't work
                                           // in this case, hence $noedge
   &:hover { @include button(hover, $noedge: true); }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index a0747e3..8334fe1 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -591,7 +591,7 @@
     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, .scale-popup .button:hover, .scale-popup 
.button:backdrop, .scale-popup .button:backdrop:hover, .scale-popup .button:backdrop:insensitive {
+.button.flat, .button.flat:backdrop, .button.flat:backdrop:insensitive, .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, .scale-popup .button:hover, .scale-popup .button:backdrop, .scale-popup 
.button:backdrop:hover, .scale-popup .button:backdrop:insensitive {
   border-color: transparent;
   background-color: transparent;
   background-image: none;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 0a3563f..21845c4 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -583,7 +583,7 @@
     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, .scale-popup .button:hover, .scale-popup 
.button:backdrop, .scale-popup .button:backdrop:hover, .scale-popup .button:backdrop:insensitive {
+.button.flat, .button.flat:backdrop, .button.flat:backdrop:insensitive, .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, .scale-popup .button:hover, .scale-popup .button:backdrop, .scale-popup 
.button:backdrop:hover, .scale-popup .button:backdrop:insensitive {
   border-color: transparent;
   background-color: transparent;
   background-image: none;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]