From b9365c5f2f9e72c627420c98cccb583d136b1e65 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 03444022..1b945ff9 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -521,18 +521,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 { @@ -543,7 +555,8 @@ GtkComboBox .button { padding: 3px 5px; } -.menuitem.separator { +.menuitem.separator, +.menu .menuitem.separator { -GtkMenuItem-horizontal-padding: 0; } -- cgit v1.2.1