[gnome-themes-standard/parser: 10/20] menu: fix menuitems prelight and insensitive colors



commit 23337019003abed71fcdc517763f085f1e4074bc
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 16 16:04:49 2011 -0400

    menu: fix menuitems prelight and insensitive colors

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index ab66f4c..7fc708d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -582,8 +582,6 @@ GtkComboBox .button:prelight {
     border-width: 0;
     border-radius: 0;
     border-color: @inactive_frame_color;
-
-    -GtkMenuItem-arrow-scaling: 0.4;
 }
 
 /* this controls the general appearance of the menubar */
@@ -620,28 +618,29 @@ GtkComboBox .button:prelight {
     border-color: @inactive_frame_color;
 }
 
+.menuitem {
+    -GtkMenuItem-arrow-scaling: 0.4;
+    -adwaita-menuitem-arrow-color: @menu_controls_color;
+    padding: 4;
+}
+
 /* XXX: Needs fixage in GTK to inherit properly */
-.menubar .menuitem *:prelight {
+.menuitem *:prelight {
     color: @menu_fg_color;
 }
 
-.menuitem:insensitive {
+.menuitem *:insensitive {
     /* there is some weird alpha precomposing issues with this - ghosts on dark background */
     color: mix (@menu_fg_color, @menu_bg_color, 0.8);
     background-color: shade (@menu_bg_color, 1.10);
 }
 
-.menuitem {
-    -adwaita-menuitem-arrow-color: @menu_controls_color;
-    padding: 4;
-}
-
-.menuitem.accelerator {
+.menuitem .accelerator {
     color: alpha (@menu_fg_color, 0.4);
 }
 
-.menuitem.accelerator:prelight,
-.menuitem.accelerator:active {
+.menuitem .accelerator:prelight,
+.menuitem .accelerator:active {
     color: alpha (@menu_fg_color, 0.3);
 }
 



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