From 911b0f450b2ff6de88b01ca792ceb4cb8062ab45 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/BlackMATE/cinnamon/cinnamon.css | 24 ++++++++++++++++++++-- .../Blue-Submarine/cinnamon/cinnamon.css | 20 +++++++++++++++++- desktop-themes/BlueMenta/cinnamon/cinnamon.css | 20 +++++++++++++++++- .../Green-Submarine/cinnamon/cinnamon.css | 20 +++++++++++++++++- desktop-themes/Menta/cinnamon/cinnamon.css | 20 +++++++++++++++++- 5 files changed, 98 insertions(+), 6 deletions(-) diff --git a/desktop-themes/BlackMATE/cinnamon/cinnamon.css b/desktop-themes/BlackMATE/cinnamon/cinnamon.css index b5f3a51e..edf60b6e 100644 --- a/desktop-themes/BlackMATE/cinnamon/cinnamon.css +++ b/desktop-themes/BlackMATE/cinnamon/cinnamon.css @@ -152,7 +152,8 @@ StScrollBar StButton#hhandle: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 { -arrow-border-radius: 16px; -arrow-background-color: rgba(0,0,0,0.0); @@ -172,6 +173,22 @@ StScrollBar StButton#hhandle:hover padding: 4px; } +.menu { + background-color: rgba(0,0,0,0.0); + border-color: rgba(0,0,0,0.0); + background-gradient-direction: vertical; + background-gradient-start: rgba(50,50,50,0.7); + background-gradient-end: rgba(0,0,0,0.7); + box-shadow: 1px 4px 10px 4px rgba(0,0,0,0.6); + padding: 2px 0px 0px 2px; + color: #ffffff; + font-size: 8pt; + min-width: 85px; + border-radius: 5px; + padding: 4px; +} + + .popup-submenu-menu-item:open { background-color: transparent; } @@ -1944,10 +1961,12 @@ StScrollBar StButton#hhandle:hover * Panel Launchers Applet (panelLaunchers.js) * ===================================================================*/ -#panel-launchers-box { +.panel-launchers { + spacing: 2px; padding-left: 0px; } +.launcher, .panel-launcher { margin: 0px; padding-right: 4px; @@ -1955,6 +1974,7 @@ StScrollBar StButton#hhandle:hover transition-duration: 100; } +.launcher:hover, .panel-launcher:hover { background-gradient-direction: vertical; background-gradient-start: rgba(255,255,255,0.4); diff --git a/desktop-themes/Blue-Submarine/cinnamon/cinnamon.css b/desktop-themes/Blue-Submarine/cinnamon/cinnamon.css index 4bc53452..915df1e8 100644 --- a/desktop-themes/Blue-Submarine/cinnamon/cinnamon.css +++ b/desktop-themes/Blue-Submarine/cinnamon/cinnamon.css @@ -153,6 +153,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. */ @@ -175,6 +177,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; } @@ -1815,10 +1830,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; @@ -1828,6 +1845,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; diff --git a/desktop-themes/BlueMenta/cinnamon/cinnamon.css b/desktop-themes/BlueMenta/cinnamon/cinnamon.css index 2dd6811a..ee493d02 100644 --- a/desktop-themes/BlueMenta/cinnamon/cinnamon.css +++ b/desktop-themes/BlueMenta/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; diff --git a/desktop-themes/Green-Submarine/cinnamon/cinnamon.css b/desktop-themes/Green-Submarine/cinnamon/cinnamon.css index 4640fd2d..e4eda6cc 100644 --- a/desktop-themes/Green-Submarine/cinnamon/cinnamon.css +++ b/desktop-themes/Green-Submarine/cinnamon/cinnamon.css @@ -153,6 +153,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. */ @@ -175,6 +177,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; } @@ -1815,10 +1830,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; @@ -1828,6 +1845,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; 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