[gnome-themes-standard] Widget theme: window unfocused insensitive text color.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget theme: window unfocused insensitive text color.
- Date: Thu, 8 Dec 2011 17:04:36 +0000 (UTC)
commit b1261dbd9c04216d94d2e42377f77fa5027d648e
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Dec 8 18:04:28 2011 +0100
Widget theme: window unfocused insensitive text color.
themes/Adwaita/gtk-3.0/gtk-dark.css | 3 ++-
themes/Adwaita/gtk-3.0/gtk-widgets.css | 11 ++++++++++-
themes/Adwaita/gtk-3.0/gtk.css | 3 ++-
3 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index 771e178..23f5011 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -17,7 +17,8 @@
@define-color theme_unfocused_selected_fg_color @theme_selected_fg_color; /* FIXME */
@define-color unfocused_button_background @theme_unfocused_bg_color;
@define-color unfocused_borders_color @button_border;
- define-color unfocused_insensitive_bg_color mix(@theme_bg_color, @theme_unfocused_base_color, 0.5);
+ define-color unfocused_insensitive_fg_color mix(@theme_unfocused_bg_color, @theme_unfocused_fg_color, 0.5);
+ define-color unfocused_insensitive_bg_color mix(@theme_unfocused_bg_color, @theme_unfocused_base_color, 0.5);
@define-color unfocused_toolbar mix(@theme_unfocused_bg_color, @unfocused_borders_color, 0.5);
@define-color menu_bg_color #555753;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index bd9a8d6..2f303ea 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -91,6 +91,14 @@ GtkWindow:window-unfocused {
color: @theme_unfocused_fg_color;
}
+*:insensitive:window-unfocused {
+ /* I want everything nice and flat in the unfocused window */
+ text-shadow: none;
+ icon-shadow: none;
+ color: @unfocused_insensitive_fg_color;
+}
+
+
/************
* Tooltips *
************/
@@ -477,7 +485,8 @@ GtkComboBox.combobox-entry .button {
text-shadow: none;
}
-.button *:active:window-unfocused {
+.button *:active:window-unfocused,
+.button *:active:insensitive:window-unfocused {
color: @theme_unfocused_bg_color;
}
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 58bb3c7..8109adf 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -29,7 +29,8 @@
@define-color theme_unfocused_selected_fg_color @theme_selected_fg_color; /* FIXME */
@define-color unfocused_button_background @theme_unfocused_bg_color;
@define-color unfocused_borders_color #a7aba7;
- define-color unfocused_insensitive_bg_color mix(@theme_bg_color, @theme_unfocused_base_color, 0.5);
+ define-color unfocused_insensitive_fg_color mix(@theme_unfocused_bg_color, @theme_unfocused_fg_color, 0.5);
+ define-color unfocused_insensitive_bg_color mix(@theme_unfocused_bg_color, @theme_unfocused_base_color, 0.5);
@define-color unfocused_toolbar mix(@theme_unfocused_bg_color, @unfocused_borders_color, 0.5);
@define-color menu_bg_color shade (@theme_bg_color, 1.1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]