From 9e02915af4af8420ded5e3456a29b3ed21d7c108 Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Tue, 25 Sep 2012 03:11:57 +0000 Subject: 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 Acked-by: Simon Schampijer --- 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; } -- cgit v0.9.1