From 608dd422e69598b477994026e182b868d24ddaa5 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Wed, 17 Feb 2016 21:02:26 +0100 Subject: GTK+-3.20 Blue-Submarine: change height of menuitems --- desktop-themes/Blue-Submarine/gtk-3.0/menu.css | 31 +++++++++++++++----------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/menu.css b/desktop-themes/Blue-Submarine/gtk-3.0/menu.css index 6c158ed1..8a9b5cd3 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/menu.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/menu.css @@ -78,6 +78,7 @@ menubar { border-bottom-color: shade(@theme_bg_dark_color, 1.60); background-color: shade (@theme_bg_dark_color, 1.00); color: @menu_fg_dark_color; + min-height: 20px; } /*************** @@ -88,6 +89,7 @@ menubar menuitem { transition: all 300ms ease-out; border-radius: 0px; border-width: 0px; + min-height: 20px; } menubar menuitem:hover { @@ -96,24 +98,26 @@ menubar menuitem:hover { border-radius: 6px; color: shade (@theme_selected_bg_color, 1.6); text-shadow: 0px 1px @theme_selected_shadow_color; + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); } /************ * menuitem * ************/ -window.background.popup menubar menuitem { - padding: 5px 5px; - transition: all 300ms ease-out; - color: @theme_fg_dark_color; - text-shadow: 1px 1px @theme_shadow_dark_color; -} -toolbar .raised button menuitem *, -toolbar menubar button menuitem *, -toolbar menuitem *, -toolbar.primary-toolbar menuitem *, -toolbar.primary-toolbar button menuitem *, -window.background.popup menu menuitem *, +toolbar .raised button menuitem, +toolbar menubar button menuitem, +toolbar menuitem, +toolbar.primary-toolbar menuitem, +toolbar.primary-toolbar button menuitem, +window.background.popup menu menuitem, window.background.popup menuitem { /* Fix height change in nautilus menu item view options */ padding: 0px; @@ -126,7 +130,7 @@ toolbar menubar .linked button menuitem, toolbar menuitem, toolbar.primary-toolbar menuitem, toolbar.primary-toolbar button menuitem, -window.background.popup menu menuitem, +window.background.popup menu menuitem, window.background.popup menuitem { transition: all 300ms ease-out; /* -GtkMenuItem-arrow-scaling: 0.7; */ @@ -135,6 +139,7 @@ window.background.popup menuitem { color: @menu_fg_dark_color; text-shadow: 1px 1px @menu_shadow_dark_color; padding: 5px 5px; + min-height: 22px; } toolbar menuitem label, -- cgit v1.2.1