diff options
author | lukefromdc <[email protected]> | 2017-05-31 17:58:32 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-06-13 07:44:37 +0200 |
commit | 4b1c6db468634697472d0108d87f866d08187a4b (patch) | |
tree | d9bde453f884195e5306e5e0b14a7dfa670d2c38 /desktop-themes | |
parent | feb8553ae7b242a7dda398c9b725169edc01f90c (diff) | |
download | mate-themes-4b1c6db468634697472d0108d87f866d08187a4b.tar.bz2 mate-themes-4b1c6db468634697472d0108d87f866d08187a4b.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 bcb57cf8..05980304 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -2941,6 +2941,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; |