summaryrefslogtreecommitdiff
path: root/desktop-themes/Green-Submarine/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-08-24 21:39:42 +0200
committerraveit65 <[email protected]>2017-08-24 21:40:36 +0200
commit666afb6e08168164324195a748ed496c763127bd (patch)
tree1484cfcdde02c3e22d001d9abc1bd798c8a06163 /desktop-themes/Green-Submarine/gtk-3.0
parentda007f16628f9336563e04cd6856201dda0dc1d3 (diff)
downloadmate-themes-666afb6e08168164324195a748ed496c763127bd.tar.bz2
mate-themes-666afb6e08168164324195a748ed496c763127bd.tar.xz
Gtk+-3.20 Most themes: style menuitem accelerator hover
Fixes https://github.com/mate-desktop/mate-themes/issues/192
Diffstat (limited to 'desktop-themes/Green-Submarine/gtk-3.0')
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/menu.css23
1 files changed, 12 insertions, 11 deletions
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/menu.css b/desktop-themes/Green-Submarine/gtk-3.0/menu.css
index 3fb5d7aa..1a319e7f 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/menu.css
+++ b/desktop-themes/Green-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;