From 666afb6e08168164324195a748ed496c763127bd 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/Blue-Submarine/gtk-3.0/menu.css | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'desktop-themes/Blue-Submarine') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/menu.css b/desktop-themes/Blue-Submarine/gtk-3.0/menu.css index 40a69082..b82fae1a 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/menu.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/menu.css @@ -135,12 +135,22 @@ menu > menuitem:disabled, text-shadow: none; } -menu > menuitem accelerator:disabled, -.menu > menuitem accelerator:disabled { +menu > menuitem accelerator, +.menu > menuitem accelerator { + color: alpha (@menu_fg_dark_color, 0.8); +} + +menu > menuitem:disabled > label > accelerator, +.menu > menuitem:disabled > label > accelerator { color: alpha (mix (@menu_fg_dark_color, @menu_bg_dark_color, 0.4), 0.8); text-shadow: none; } +menu > menuitem:hover > label > accelerator, +.menu > menuitem:hover > label > accelerator { + color: alpha (@theme_selected_fg_color, 0.8); +} + menuitem:disabled image, .menuitem:disabled image, menuitem:active:disabled image, @@ -159,15 +169,6 @@ combobox #gtk-combobox-popup-menu menuitem:hover cellview { color: shade (@theme_selected_bg_color, 1.6); } -menuitem accelerator { - color: alpha (@menu_fg_dark_color, 0.8); -} - -menuitem accelerator:hover, -menuitem accelerator:active { - color: alpha (@theme_selected_fg_color, 0.8); -} - menuitem > arrow { min-height: 16px; min-width: 16px; -- cgit v1.2.1