summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-10-27 15:00:08 +0100
committerraveit65 <[email protected]>2013-10-27 15:00:08 +0100
commit7a8f1ecd95b05d31cc4b8e65f34d50b305834579 (patch)
tree5a1f67ee0aa2e58b80131d4be6c96a2173a53986 /desktop-themes
parent252dd7f6df46f70892c2f3038cef0cd976d9adf5 (diff)
downloadmate-themes-7a8f1ecd95b05d31cc4b8e65f34d50b305834579.tar.bz2
mate-themes-7a8f1ecd95b05d31cc4b8e65f34d50b305834579.tar.xz
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.
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css26
1 files changed, 20 insertions, 6 deletions
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 *
***********/