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/Green-Submarine/gtk-3.0/gtk-widgets.css | 7 +++++++ desktop-themes/Green-Submarine/gtk-3.0/menu.css | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'desktop-themes/Green-Submarine') diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css index 746a43b0..2013791e 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -1063,6 +1063,13 @@ button:disabled { text-shadow: none; } +button:disabled image, +.button:disabled image, +button:active:disabled image, +.button:active:disabled image{ + opacity: 0.5; +} + toolbar.vertical > button.image-button.flat { padding: 5px; } diff --git a/desktop-themes/Green-Submarine/gtk-3.0/menu.css b/desktop-themes/Green-Submarine/gtk-3.0/menu.css index 1b3ab435..6d3186e4 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/menu.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/menu.css @@ -157,6 +157,13 @@ menu > menuitem accelerator:disabled, text-shadow: none; } +menuitem:disabled image, +.menuitem:disabled image, +menuitem:active:disabled image, +.menuitem:active:disabled image{ + opacity: 0.5; +} + /* combobox menus */ combobox #gtk-combobox-popup-menu menuitem cellview { text-shadow: none; -- cgit v1.2.1