From 7621a98dccb670bddf9665ad23149ef4257006c1 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 30 Jun 2018 14:51:16 +0200 Subject: all themes: add a thiny border to the panel this requires https://github.com/mate-desktop/mate-panel/commit/c4aedb --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 1 + .../TraditionalGreen/gtk-3.0/mate-applications.css | 35 +++++++++++++++++----- 2 files changed, 28 insertions(+), 8 deletions(-) (limited to 'desktop-themes/TraditionalGreen') diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 1a157b32..a2c2c0aa 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -3960,6 +3960,7 @@ decoration:backdrop { box-shadow: none; } +/* workaround to avoid unwanted black frames if switching compositor on/off */ .csd.popup decoration { border-radius: 0; box-shadow: none; diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css index b79fa1f7..bf1fc1ab 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css @@ -99,16 +99,28 @@ text-shadow: none; } -MatePanelAppletFrameDBus > MatePanelAppletFrameDBus { - background-image: -gtk-scaled(url("img/panel-grid.svg")); - background-color: transparent; - background-repeat: no-repeat; - background-position: left; +PanelToplevel.horizontal.top > grid { + border-style: outset; + border-width: 0px 0px 1px 0px; + border-color: rgba(0, 0, 0, 0.23); } -/* workaround to avoid unwanted black frames if switching compositor on/off */ -.mate-panel-menu-bar .window-frame.csd.popup { - box-shadow: none; +PanelToplevel.horizontal.bottom > grid { + border-style: outset; + border-width: 1px 0px 0px 0px; + border-color: rgba(0, 0, 0, 0.23); +} + +PanelToplevel.vertical.left > grid { + border-style: outset; + border-width: 0px 1px 0px 0px; + border-color: rgba(0, 0, 0, 0.23); +} + +PanelToplevel.vertical.right > grid { + border-style: outset; + border-width: 0px 0px 0px 1px; + border-color: rgba(0, 0, 0, 0.23); } /* hide buttons */ @@ -128,6 +140,13 @@ PanelSeparator { text-shadow: none; } +MatePanelAppletFrameDBus > MatePanelAppletFrameDBus { + background-image: -gtk-scaled(url("img/panel-grid.svg")); + background-color: transparent; + background-repeat: no-repeat; + background-position: left; +} + /* outlines */ window.background, /* selector where outlines are writen on GtkTrayIcon */ .mate-panel-menu-bar menubar, -- cgit v1.2.1