From 6be59410153c3c6b4aea2445278bd1eb507fd734 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 26 Dec 2016 19:38:11 +0100 Subject: Most themes: add cinnamon-3.2 support --- desktop-themes/Menta/cinnamon/cinnamon.css | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'desktop-themes/Menta') diff --git a/desktop-themes/Menta/cinnamon/cinnamon.css b/desktop-themes/Menta/cinnamon/cinnamon.css index bae216db..6814b0a8 100644 --- a/desktop-themes/Menta/cinnamon/cinnamon.css +++ b/desktop-themes/Menta/cinnamon/cinnamon.css @@ -150,6 +150,8 @@ StScrollBar StButton#vhandle:hover { /* =================================================================== * PopupMenu (popupMenu.js) * ===================================================================*/ +/* .popup-menu-boxpointer and .popup-menu are kept for compatibility + with cinnamon version under 3.2. Use .menu in version 3.2 and above */ .popup-menu-boxpointer { /* Keeping arrow style for extra effect and less "warning junk" in .xsession-errors */ /* Border seems to behave strange with single background-color. Background-gradient fixes it. */ @@ -172,6 +174,19 @@ StScrollBar StButton#vhandle:hover { min-width: 85px; } +.menu { + border-radius: 0px; + background-color: rgba(48,48,48,0.0); + border-color: rgba(255,255,255,0.0); + border: 2px solid rgba(255,255,255,0.6); + background-gradient-direction: vertical; + background-gradient-start: rgba(32,32,32,1.0); + background-gradient-end: rgba(32,32,32,1.0); + box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.5); + color: #fff; + min-width: 85px; +} + .popup-submenu-menu-item:open { background-color: #4c4c4c; } @@ -1812,10 +1827,12 @@ StScrollBar StButton#vhandle:hover { /* =================================================================== * Panel Launchers Applet (panelLaunchers.js) * ===================================================================*/ -#panel-launchers-box { + +.panel-launchers { spacing: 2px; } +.launcher, .panel-launcher { border: 1px solid rgba(255,255,255,0); border-top: 0px; @@ -1825,6 +1842,7 @@ StScrollBar StButton#vhandle:hover { transition-duration: 200; } +.launcher:hover, .panel-launcher:hover { border: 1px solid rgba(255,255,255,0.4); border-top: 0px; -- cgit v1.2.1