From e262558214cd21e94626da9629c77aa6482272a5 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/TraditionalGreen/gtk-3.0/gtk-widgets.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'desktop-themes/TraditionalGreen') diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 6bd7ed52..e41de540 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -992,6 +992,13 @@ button * { background-color: transparent; } +button:disabled image, +.button:disabled image, +button:active:disabled image, +.button:active:disabled image{ + opacity: 0.5; +} + /* We may want a background for focused buttons, but in the meantime let's remove it too */ GtkMenuToolButton *, toolbar.primary-toolbar button, @@ -2384,6 +2391,13 @@ 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