From 411850b39839850c454ebeb28f99a2ef17c9b4fd Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Tue, 11 Sep 2012 02:42:49 +0000 Subject: Remove unexistent .palette class, menu improvements More cleanup for the initial commit, 529e929c . - palette class does not exist, is not listed here: http://developer.gnome.org/gtk3/3.4/GtkStyleContext.html - we don't change the menu color in the prelight state - remove rule to set the color for .menu * that was there to override the global rule, now removed Signed-off-by: Manuel QuiƱones Acked-by: Simon Schampijer --- diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em index e8d8d9b..f338bc9 100644 --- a/gtk3/theme/gtk-widgets.css.em +++ b/gtk3/theme/gtk-widgets.css.em @@ -405,8 +405,7 @@ SugarPaletteWindow SugarGroupBox *:insensitive { background-color: @toolbar_grey; } -.menu, -.palette { +.menu { background-color: @black; color: @white; @@ -426,29 +425,10 @@ SugarPaletteWindow SugarGroupBox *:insensitive { border-style: solid; } -.menu :prelight, palette :prelight { - color: @white -} - -.menu :active, palette :active { +.menu :active { background-color: @button_grey; } -.palette { - padding: $(thickness)px; -} - -.palette .menu { - -GtkMenu-horizontal-padding: 0; - -GtkMenu-vertical-padding: 0; - - padding: 0px $(subcell_size)px; -} - -.menu * { - color: @white; -} - .menuitem { padding: $(subcell_size)px $((subcell_size * 3 - font_height) / 2)px; } -- cgit v0.9.1