From e7447f66c1c5839a2e29cebbaa4884139a77e7c5 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 13 Aug 2015 21:17:26 +0200 Subject: GTK3 traditional themes: do not use a background for insensitive buttons --- desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css | 10 +++------- desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 10 +++------- desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css | 11 ++++------- 3 files changed, 10 insertions(+), 21 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index c067a494..d6eca422 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -827,13 +827,9 @@ GtkColorChooserWidget #add-color-button:hover { .button:insensitive, .toolbar GtkComboBox .button:insensitive, .combobox-entry .button:insensitive { - background-image: linear-gradient(to bottom, - @button_insensitive_inner_border_color 1px, - @button_insensitive_gradient_a 2px, - @button_insensitive_gradient_b 50%, - @button_insensitive_gradient_c 50%, - @button_insensitive_gradient_d); - background-color: @insensitive_bg_color; + background-image: none; + background-color: transparent; + color: @insensitive_fg_color; } /* Pushed + Insensitive button background */ diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index f95193da..a6702e96 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -826,13 +826,9 @@ GtkColorChooserWidget #add-color-button:hover { .button:insensitive, .toolbar GtkComboBox .button:insensitive, .combobox-entry .button:insensitive { - background-image: linear-gradient(to bottom, - @button_insensitive_inner_border_color 1px, - @button_insensitive_gradient_a 2px, - @button_insensitive_gradient_b 50%, - @button_insensitive_gradient_c 50%, - @button_insensitive_gradient_d); - background-color: @insensitive_bg_color; + background-image: none; + background-color: transparent; + color: @insensitive_fg_color; } /* Pushed + Insensitive button background */ diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css index 504217f9..dc950b83 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -822,17 +822,14 @@ GtkColorChooserWidget #add-color-button:hover { @button_hover_gradient_c); } +/* Insensitive button background */ /* Insensitive button background */ .button:insensitive, .toolbar GtkComboBox .button:insensitive, .combobox-entry .button:insensitive { - background-image: linear-gradient(to bottom, - @button_insensitive_inner_border_color 1px, - @button_insensitive_gradient_a 2px, - @button_insensitive_gradient_b 50%, - @button_insensitive_gradient_c 50%, - @button_insensitive_gradient_d); - background-color: @insensitive_bg_color; + background-image: none; + background-color: transparent; + color: @insensitive_fg_color; } /* Pushed + Insensitive button background */ -- cgit v1.2.1