diff options
author | lukefromdc <[email protected]> | 2017-05-31 17:58:32 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-06-13 07:45:12 +0200 |
commit | 68217b067dcd01f5dcca62d2f25e658cabdc6cdb (patch) | |
tree | f1bd8b2daf4b7ba0590cf14d23991c7ecec1bb91 /desktop-themes | |
parent | c6de06e3d3fd36bc43c7c784b5bb0f58d8e954e8 (diff) | |
download | mate-themes-68217b067dcd01f5dcca62d2f25e658cabdc6cdb.tar.bz2 mate-themes-68217b067dcd01f5dcca62d2f25e658cabdc6cdb.tar.xz |
BlackMATE: more CSD app fixes
Fix CDS window control button image behavior in backdrop, fix grey squares around CSD windows in some WM's (mutter, etc)
Diffstat (limited to 'desktop-themes')
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 20 | ||||
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/window-controls.css | 14 |
2 files changed, 33 insertions, 1 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 57bd6080..d95b9973 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -2939,6 +2939,26 @@ popover .separator { * CSD * *******/ +/*mostly taken from Adwaita except the border radius */ +decoration { + border-radius: 7px 7px 0px 0px; + border-width: 1px; + box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.23); + /* this is used for the resize cursor area */ + margin: 10px; + padding: 0px; +} + +/*Limit CSD shadow extent to deal with any WM CSD/GtkFrameExtent issues */ +.csd decoration { + border-radius: 7px 7px 0px 0px; + border-width: 1px; + box-shadow: 0 3px 3px 1px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.23); + /* this is used for the resize cursor area */ + margin: 10px; + padding: 0px; +} + headerbar, .titlebar { border-width: 0 0 1px; diff --git a/desktop-themes/BlackMATE/gtk-3.0/window-controls.css b/desktop-themes/BlackMATE/gtk-3.0/window-controls.css index 75d84d41..63d47c9d 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/window-controls.css +++ b/desktop-themes/BlackMATE/gtk-3.0/window-controls.css @@ -7,17 +7,29 @@ headerbar button.maximize.titlebutton:backdrop, headerbar button.close.titlebutton:backdrop, /*other WMs*/ headerbar .right button.minimize.titlebutton, +headerbar .right button.minimize.titlebutton:backdrop, headerbar .right:dir(rtl) button.minimize.titlebutton, +headerbar .right:dir(rtl) button.minimize.titlebutton:backdrop, headerbar .left button.minimize.titlebutton, +headerbar .left button.minimize.titlebutton:backdrop, headerbar .left:dir(rtl) button.minimize.titlebutton, +headerbar .left:dir(rtl) button.minimize.titlebutton:backdrop, headerbar .right button.maximize.titlebutton, +headerbar .right button.maximize.titlebutton:backdrop, headerbar .right:dir(rtl) button.maximize.titlebutton, +headerbar .right:dir(rtl) button.maximize.titlebutton:backdrop, headerbar .left button.maximize.titlebutton, +headerbar .left button.maximize.titlebutton:backdrop, headerbar .left:dir(rtl) button.maximize.titlebutton, +headerbar .left:dir(rtl) button.maximize.titlebutton:backdrop, headerbar .right button.close.titlebutton, +headerbar .right button.close.titlebutton:backdrop, headerbar .right:dir(rtl) button.close.titlebutton, +headerbar .right:dir(rtl) button.close.titlebutton:backdrop, headerbar .left button.close.titlebutton, -headerbar .left:dir(rtl) button.close.titlebutton { +headerbar .left button.close.titlebutton:backdrop, +headerbar .left:dir(rtl) button.close.titlebutton, +headerbar .left:dir(rtl) button.close.titlebutton:backdrop { color: transparent; background-position: center; background-repeat: no-repeat; |