From e227d0ab9531813842716e8f4634493ef029ee39 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Mon, 17 Oct 2016 16:16:22 -0400 Subject: Most themes: gray out images in disabled buttons and menuitems This is important in pause/queue buttons in Caja file copy dialogs and looks much better in menuitems and other buttons too --- desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'desktop-themes/TraditionalOk/gtk-3.0') diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index 42dab479..991a3f0c 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -993,6 +993,13 @@ button * { background-color: transparent; } +button:disabled image, +.button:disabled image, +button:active:disabled image, +.button:active:disabled image{ + opacity: 0.4; +} + /* We may want a background for focused buttons, but in the meantime let's remove it too */ GtkMenuToolButton *, toolbar.primary-toolbar button, @@ -2387,6 +2394,14 @@ menu menuitem:disabled, border-color: transparent; } +menuitem:disabled image, +.menuitem:disabled image, +menuitem:active:disabled image, +.menuitem:active:disabled image{ + opacity: 0.5; +} + + menu menuitem accelerator:disabled, .menu menuitem accelerator:disabled { color: mix (@menu_fg_color, @menu_bg_color, 0.7); -- cgit v1.2.1