[gnome-themes-standard] adwaita: ensure background-color is always defined
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] adwaita: ensure background-color is always defined
- Date: Thu, 19 May 2011 16:16:10 +0000 (UTC)
commit d5276d075fcf50793e0c0e1f44be5e66b0af7227
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu May 19 12:13:50 2011 -0400
adwaita: ensure background-color is always defined
Otherwise widgets that do not override background-color will get the
fallback color from the default GTK+ CSS provider, which is especially
bad for the dark theme.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 6ed652f..aadc47f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -53,15 +53,17 @@
-adwaita-inset-bottom: none;
}
+/***************
+ * Base States *
+ ***************/
GtkWindow {
- /* Style */
- background-color: @theme_bg_color;
color: @theme_fg_color;
}
-/***************
- * Base States *
- ***************/
+* {
+ background-color: @theme_bg_color;
+}
+
*:hover {
background-color: shade (@theme_bg_color, 1.02);
color: @theme_fg_color;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]