Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-09-11 02:42:49 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-09-11 12:43:02 (GMT)
commit411850b39839850c454ebeb28f99a2ef17c9b4fd (patch)
treec8992f933b1cb543ae4bf6906bce9a37760aad11
parent8645e43715a16229500e8a4dfbe4a050481142ff (diff)
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 <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r--gtk3/theme/gtk-widgets.css.em24
1 files changed, 2 insertions, 22 deletions
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;
}