From 9bcc541065d82d62ac45d1992362b4ebbdcf663f Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 5 Nov 2015 18:23:27 +0100 Subject: some menu fixes --- common/gtk-3.0/3.16/gtk-contained-darker.css | 36 ++++++++++++++++------------ 1 file changed, 21 insertions(+), 15 deletions(-) (limited to 'common/gtk-3.0/3.16/gtk-contained-darker.css') diff --git a/common/gtk-3.0/3.16/gtk-contained-darker.css b/common/gtk-3.0/3.16/gtk-contained-darker.css index 4de7a2e..30da6e9 100644 --- a/common/gtk-3.0/3.16/gtk-contained-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-darker.css @@ -723,7 +723,7 @@ GtkSearchEntry.entry { .linked.vertical > GtkComboBox:only-child > .button:checked { box-shadow: none; } -.menuitem.button.flat, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:link:checked, .button:visited:hover, .button:visited:active, .button:visited:checked, .menu.button, .popup.button, .notebook tab .button, .list-row.button, .app-notification .button.flat, +.menuitem.button.flat, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:link:checked, .button:visited:hover, .button:visited:active, .button:visited:checked, .menu.button, .notebook tab .button, .list-row.button, .app-notification .button.flat, .app-notification.frame .button.flat, .app-notification .button.flat:insensitive, .app-notification.frame .button.flat:insensitive { border-color: transparent; @@ -1477,45 +1477,48 @@ column-header .button, column-header .button:hover, column-header .button:active color: rgba(207, 218, 231, 0.2); border-color: transparent; } -.menu, .popup { +.menu { margin: 4px; padding: 0; border-radius: 0; background-color: #ffffff; border: 1px solid #dbdfe3; } - .csd .menu, .csd .popup { + .csd .menu { padding: 4px 0px; border-radius: 2px; border: none; } - .menu .menuitem, .popup .menuitem { + .menu .menuitem { padding: 5px; } - .menu .menuitem:hover, .popup .menuitem:hover { + .menu .menuitem:hover { color: #5c616c; background-color: rgba(0, 0, 0, 0.04); border: solid rgba(0, 0, 0, 0.08); border-width: 1px 0 1px 0; } - .menu .menuitem:insensitive, .popup .menuitem:insensitive { + .menu .menuitem:insensitive { color: rgba(92, 97, 108, 0.55); } - .menu .menuitem.separator, .menu GtkPlacesSidebar.sidebar .menuitem.view.separator, GtkPlacesSidebar.sidebar .menu .menuitem.view.separator, .popup .menuitem.separator, .popup GtkPlacesSidebar.sidebar .menuitem.view.separator, GtkPlacesSidebar.sidebar .popup .menuitem.view.separator { + .menu .menuitem.separator, .menu GtkPlacesSidebar.sidebar .menuitem.view.separator, GtkPlacesSidebar.sidebar .menu .menuitem.view.separator { color: rgba(255, 255, 255, 0); } - .menu .menuitem.arrow, .popup .menuitem.arrow { + .menu .menuitem.arrow { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } - .menu .menuitem.arrow:dir(rtl), .popup .menuitem.arrow:dir(rtl) { + .menu .menuitem.arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } - .menu.button, .popup.button { + .menu.button { border-style: none; border-radius: 0; } - .menu.button.top, .popup.button.top { + .menu.button.top { border-bottom: 1px solid #efeff0; } - .menu.button.bottom, .popup.button.bottom { + .menu.button.bottom { border-top: 1px solid #efeff0; } - .menu.button:hover, .popup.button:hover { + .menu.button:hover { background-color: #efeff0; } - .menu.button:insensitive, .popup.button:insensitive { + .menu.button:insensitive { color: transparent; background-color: transparent; border-color: transparent; } +.csd .popup { + border-radius: 2px; } + .menuitem .accelerator { color: alpha(currentColor,0.55); } @@ -2538,12 +2541,15 @@ GtkVolumeButton.button { box-shadow: 0 0 0 1px rgba(32, 35, 43, 0.87), 0 5px 5px 0 rgba(0, 0, 0, 0.2); } .window-frame.tiled { border-radius: 0; } + .window-frame.popup { + box-shadow: none; + border-radius: 0; } .window-frame.ssd { border-radius: 3px 3px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } .window-frame.ssd.maximized { border-radius: 0; } - .window-frame.csd.popup, .window-frame.csd.menu { + .window-frame.csd.popup { border-radius: 2px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.1); } .window-frame.csd.tooltip { -- cgit v1.2.3