From 830922721a2fe3cef01c417612f933c3533a9cd0 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 10 Feb 2015 20:23:58 +0100 Subject: ContrastHigh GTK3: fix menu item hover borders --- .../ContrastHigh/gtk-3.0/gtk-widgets.css | 23 +++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'desktop-themes/ContrastHigh') diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index 85e40988..88e862a3 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -516,18 +516,30 @@ GtkComboBox .button { color: @theme_fg_color; } -.menuitem { +.menuitem, +.menu .menuitem { color: @theme_fg_color; background-color: transparent; } -.menuitem:insensitive { +.menuitem:insensitive, +.menu .menuitem:insensitive { color: @theme_button_insensitive_fg; } -.menuitem:hover { - color: @theme_base_color; +.menubar .menuitem:hover { + color: @theme_fg_color; + background-color: @theme_active_color; +} + +.menu .menuitem:hover { + color: @theme_fg_color; background-color: @theme_active_color; + border-style: solid; + border-left-width: 1px; + border-right-width: 1px; + border-left-color: @theme_fg_color; + border-right-color: @theme_fg_color; } .menu .menuitem { @@ -538,7 +550,8 @@ GtkComboBox .button { padding: 3px 5px; } -.menuitem.separator { +.menuitem.separator, +.menu .menuitem.separator { -GtkMenuItem-horizontal-padding: 0; } -- cgit v1.2.1