diff options
author | Manuel Quiñones <manuq@laptop.org> | 2011-12-20 20:07:15 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2011-12-20 20:07:15 (GMT) |
commit | 2a76d498f34a9ec3d933974e2a387fcbf98b7f39 (patch) | |
tree | 6b2c709585f11718200735a0fcecf04f74822db9 | |
parent | a4de07bcb06664a9bee4da75dc71e2b16106479d (diff) |
Style menu and menu items
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
-rw-r--r-- | gtk3/theme/gtk-widgets.css.em | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em index a6d2357..fef5333 100644 --- a/gtk3/theme/gtk-widgets.css.em +++ b/gtk3/theme/gtk-widgets.css.em @@ -345,11 +345,11 @@ SugarPaletteWindow SugarGroupBox *:insensitive { } -.menu, .palette { +.menu, +.palette { background-color: @black; color: @white; - -GtkMenu-scroll-arrow-vlength: $(my_floor(subcell_size/0.7 + 2*thickness)); -GtkMenu-horizontal-padding: $thickness; -GtkMenu-vertical-padding : $thickness; @@ -361,6 +361,9 @@ SugarPaletteWindow SugarGroupBox *:insensitive { -GtkMenu-vertical-offset : 0; padding: 0; + border-width: 2; + border-color: @button_grey; + border-style: solid; } .menu :prelight, palette :prelight { @@ -382,14 +385,12 @@ SugarPaletteWindow SugarGroupBox *:insensitive { padding: 0px $(subcell_size)px; } -/* Correct? */ .menu * { - background-color: @button_grey; color: @white; } -.menu * :insensitive { - background-color: @black; +GtkMenuItem { + padding: $subcell_size $((subcell_size * 3 - font_height) / 2); } .scrollbar { |