From 05b766f2e55590dce11e46b9c3db547288f2402a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 24 Aug 2017 21:39:42 +0200 Subject: Gtk+-3.20 Most themes: style menuitem accelerator hover Fixes https://github.com/mate-desktop/mate-themes/issues/192 --- desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (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 95d2178d..84440ec3 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -2567,16 +2567,18 @@ 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); +menu > menuitem accelerator, +.menu > menuitem accelerator { + color: alpha (@menu_fg_color, 0.4); } -menuitem accelerator { - color: alpha (@menu_fg_color, 0.4); +menu > menuitem:disabled > label > accelerator, +.menu > menuitem:disabled > label > accelerator { + color: mix (@menu_fg_color, @menu_bg_color, 0.7); } -menuitem accelerator:hover { +menu > menuitem:hover > label > accelerator, +.menu > menuitem:hover > label > accelerator { color: alpha (@menu_fg_color, 0.3); } -- cgit v1.2.1