summaryrefslogtreecommitdiff
path: root/desktop-themes/TraditionalOk
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-10-17 16:16:22 -0400
committerraveit65 <[email protected]>2016-10-18 11:10:28 +0200
commit095d96d2aa2862c5a28767e708987adf46526800 (patch)
tree947995b709e4111019c9b926c2c4afcd1aab60f6 /desktop-themes/TraditionalOk
parentf4efe059c078cc0f50d33f9d332fa3b7e08bee5e (diff)
downloadmate-themes-095d96d2aa2862c5a28767e708987adf46526800.tar.bz2
mate-themes-095d96d2aa2862c5a28767e708987adf46526800.tar.xz
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
Diffstat (limited to 'desktop-themes/TraditionalOk')
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css15
1 files changed, 15 insertions, 0 deletions
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);