summaryrefslogtreecommitdiff
path: root/desktop-themes/BlackMATE/gtk-3.0
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2017-05-31 17:58:32 -0400
committerlukefromdc <[email protected]>2017-05-31 17:58:32 -0400
commit1ba65d1a7bb83ed374e817b386cc49aa61379c85 (patch)
tree344b21dc83d9fc02acd5d9993c78f581cd9045d8 /desktop-themes/BlackMATE/gtk-3.0
parent49ba969813649c19f767ad6d22f350a173ddb9df (diff)
downloadmate-themes-1ba65d1a7bb83ed374e817b386cc49aa61379c85.tar.bz2
mate-themes-1ba65d1a7bb83ed374e817b386cc49aa61379c85.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/BlackMATE/gtk-3.0')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css20
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/window-controls.css14
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 1d16371f..a0242f41 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -2940,6 +2940,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;