From 39f27637691319db77dc37c34f51f5c0c166d4e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
Date: Thu, 13 Sep 2012 00:55:47 -0300
Subject: [PATCH sugar-artwork] Style general menus and the Sugar palette
menus - SL #3879
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
- Add bottom padding to the menu.
- Style separators in menu.
- Add exception for the header menu item of the Sugar palette,
1. correct padding and 2. set a background color so it doesn't look
clickeable, and look an informational header instead.
- Add exception for the first separator in the Sugar palette.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
---
gtk3/theme/gtk-widgets.css.em | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index f338bc9..9059b49 100644
a
|
b
|
SugarPaletteWindow SugarGroupBox *:insensitive { |
419 | 419 | -GtkMenu-horizontal-offset : 0; |
420 | 420 | -GtkMenu-vertical-offset : 0; |
421 | 421 | |
422 | | padding: 0px; |
| 422 | padding: 0px 0px $(subcell_size)px 0px; |
423 | 423 | border-width: 2px; |
424 | 424 | border-color: @button_grey; |
425 | 425 | border-style: solid; |
… |
… |
SugarPaletteWindow SugarGroupBox *:insensitive { |
437 | 437 | background-color: @button_grey; |
438 | 438 | } |
439 | 439 | |
| 440 | .menuitem.separator { |
| 441 | padding: $(subcell_size)px 0px; |
| 442 | color: @button_grey; |
| 443 | } |
| 444 | |
| 445 | SugarPaletteHeader.menuitem { |
| 446 | padding: 0px $((subcell_size * 3 - font_height) / 2)px; |
| 447 | } |
| 448 | |
| 449 | SugarPaletteHeader.menuitem:prelight { |
| 450 | background-color: @black; |
| 451 | } |
| 452 | |
| 453 | SugarPaletteHeaderSeparator.menuitem.separator { |
| 454 | padding: 0px 0px $(subcell_size)px 0px; |
| 455 | } |
| 456 | |
440 | 457 | .tooltip { |
441 | 458 | background-color: @black; |
442 | 459 | border-style: solid; |