From 7a8f1ecd95b05d31cc4b8e65f34d50b305834579 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 27 Oct 2013 15:00:08 +0100 Subject: ContrastHigh: improve style for insensitive colors Set a global insensitive color, so that applications that assume it's different from the regular text color don't get black when querying a color from the theme. --- .../ContrastHigh/gtk-3.0/gtk-widgets.css | 26 +++++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'desktop-themes/ContrastHigh') diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index 58648fe7..8b3db27e 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -63,6 +63,7 @@ GtkClutterOffscreen { *:insensitive { background-color: @theme_button_insensitive_bg; border-color: @theme_button_insensitive_active_bg; + color: @theme_insensitive_color; } *:selected { @@ -250,20 +251,22 @@ GtkLevelBar.vertical { .button:insensitive { background-color: @theme_button_insensitive_bg; - color: @theme_button_insensitive_fg; border-color: @theme_button_insensitive_border; } -GtkComboBox:insensitive { - color: @theme_button_insensitive_fg -} - .button:insensitive:active { background-color: @theme_button_insensitive_active_bg; - color: @theme_button_insensitive_active_fg; border-color: @theme_button_insensitive_active_border; } +.button *:insensitive { + color: @theme_button_insensitive_fg; +} + +.button *:insensitive:active { + color: @theme_button_insensitive_active_fg; +} + .button:hover { background-color: @theme_fg_color; border-color: @theme_fg_color; @@ -275,6 +278,17 @@ GtkComboBox:insensitive { border-color: @theme_fg_color; } +GtkComboBox .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; +} + +GtkComboBox *:insensitive { + color: @theme_button_insensitive_fg +} + /*********** * Entries * ***********/ -- cgit v1.2.1