[gnome-themes-standard/parser: 16/20] toolbars: workarounds for lack of inherit



commit ac7e698c197b4c8b4cee3b7d18978745d844bb6d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 16 21:06:16 2011 -0400

    toolbars: workarounds for lack of inherit

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 5f8470f..57b12c0 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -781,23 +781,27 @@ GtkComboBox .button *:prelight {
                                              from (shade (@toolbar_active_button_color, 0.8)),
                                              to (shade (@toolbar_active_button_color, 1.4)));
 
-    color: @theme_fg_color;
-
     background-image: -gtk-gradient (linear,
 				     left top, left bottom,
 				     from (shade (@toolbar_gradient_base, 0.95)),
 			             to (alpha (shade (@toolbar_gradient_base, 0.85), 0.0)));
 }
 
-.primary-toolbar.toolbar .button:active:hover {
-    color: @theme_base_color;
+.primary-toolbar.toolbar .button *:active {
+    color: @theme_fg_color;
+}
 
+.primary-toolbar.toolbar .button:active:hover {
     background-image: -gtk-gradient (linear,
 				     left top, left bottom,
 				     from (alpha (shade (@toolbar_gradient_base, 0.96), 0.7)),
 			             to (alpha (shade (@toolbar_gradient_base, 1.14), 0.0)));
 }
 
+.primary-toolbar.toolbar .button *:active:hover {
+    color: @theme_base_color;
+}
+
 .primary-toolbar.toolbar .button:active:insensitive {
     border-color: @insensitive_border_color;
     -adwaita-border-gradient: none;
@@ -987,7 +991,8 @@ GtkIconView.view.cell:selected:focused {
     -adwaita-focus-border-dashes: 0;
 }
 
-.view {
+.view,
+.view * {
     background-color: @theme_base_color;
     color: @theme_fg_color;
     border-radius: 0;



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