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-25 03:11:57 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-09-26 13:24:34 (GMT)
commit9e02915af4af8420ded5e3456a29b3ed21d7c108 (patch)
tree058b032fbc85965254d9508b9f3b5afbdacce19a
parent3bf7b2ac8b9494c3f51572059ebf3c2f0e3b34b9 (diff)
Fix color and background-color for GtkWindow - SL #3917
GtkStyleContext doesn't have .window class, GtkWindow should be used. This is what a11y_base.css does in gnome-themes-standard. Also in gnome-themes-standard they don't use the .background class, which affects the window background [1], and set the background-color in GtkWindow directly. This patch does the same. [1] http://developer.gnome.org/gtk3/stable/GtkStyleContext.html#GTK-STYLE-CLASS-BACKGROUND:CAPS Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r--gtk3/theme/gtk-widgets.css.em16
1 files changed, 5 insertions, 11 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 24a4c17..062acbe 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -117,18 +117,12 @@ icon_large = icon_base * 5
/* Backgrounds and windows */
-.background {
- padding: 0px;
- border-width: 0px;
- background-color: @panel_grey;
-}
-
-.window {
+GtkWindow {
background-color: @panel_grey;
color: @black;
}
-SugarIntroWindow.background {
+SugarIntroWindow {
background-color: @white;
}
@@ -373,7 +367,7 @@ SugarHTray * , SugarVTray * { background-color: @toolbar_grey;}
/* Menus and palettes */
-SugarPaletteWindowWidget.background {
+SugarPaletteWindowWidget {
background-color: @black;
}
@@ -381,7 +375,7 @@ SugarPaletteWindowWidget GtkLabel {
color: @white;
}
-SugarPaletteMenuWidget.background {
+SugarPaletteMenuWidget {
background-color: @black;
}
@@ -686,7 +680,7 @@ GtkImage {
/* Sugar Frame Window */
-SugarFrameWindow.background {
+SugarFrameWindow {
background-color: @toolbar_grey;
}