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



commit 0f7a84c0934ae3df44bcfd60ec719b452ef394e8
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 29c2795..e1ef25b 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]