diff options
author | lukefromdc <[email protected]> | 2016-04-03 13:51:06 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2016-04-03 13:51:06 -0400 |
commit | 352924269cc73148de87db8150dac835ece5a602 (patch) | |
tree | dc8b1226ea7f1b286795854ed01eecc1b3947f4d | |
parent | 8d752ed19640d3535a76cb565c33b2036fd1215a (diff) | |
download | mate-themes-352924269cc73148de87db8150dac835ece5a602.tar.bz2 mate-themes-352924269cc73148de87db8150dac835ece5a602.tar.xz |
Fix non-composited CSD windows
Apply Raveit65's https://dl.dropboxusercontent.com/u/49862637/Mate-desktop/Bugs/blackmate_csd.patch
using border radius 0px for solid-csd (w/o compositor) fixes the black corners from csd windows, which comes from shadows. (gtk+ or marco issue)
border color is the same like for other windows
missing selector messagedialog.csd
settings for backdrop state, testable in cinnamon.
new deprecation GtkComboBox-shadow-type which spams the terminal, i don't know if there is an replacement for it.
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index b799b9c2..8e8b26a7 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -1349,7 +1349,7 @@ scale.vertical progress { combobox{ /* align with side buttons */ padding: 0; - -GtkComboBox-shadow-type: none; +/* -GtkComboBox-shadow-type: none; */ color: @theme_fg_color; text-shadow: none; } @@ -2745,7 +2745,7 @@ header-bar.frame titlebar button.image-button.titlebutton:hover:backdrop { } -decoration{ +.background.csd decoration { border-radius: 7px 7px 0px 0px; border-width: 0px; box-shadow: 0 0 0 2px @wm_csd_border_color, 0 2px 8px 3px @wm_shadow; @@ -2753,18 +2753,31 @@ decoration{ margin: 10px; } +.background.csd decoration:backdrop { + background: @theme_bg_color; + border-style: solid; + border-radius: 7px 7px 0px 0px; + border-width: 1px; + border-color: #595959; + padding: 0px; +} + .background.ssd decoration { box-shadow: 0 0 0 2px @wm_csd_border_color, 0 2px 8px 3px @wm_shadow; /* this is used for the resize cursor area */ - margin: 1px; + margin: 2px; } + /*fix for CSD apps w/o compositing */ .solid-csd decoration { - box-shadow: none; + border-style: solid; + border-radius: 0px; border-width: 1px; - border-image: none; - border-color: @theme_bg_color; - margin: 1px; + border-color: #595959; + box-shadow: none; + background: @theme_bg_color; + margin: 2px; + padding: 0px; } .csd.popup decoration { @@ -2779,7 +2792,13 @@ decoration{ tooltip.csd decoration { border-radius: 0px; - box-shadow: none; } + box-shadow: none; +} + +messagedialog.csd decoration { + border-radius: 7px; + box-shadow: none; +} /**************************** * Suggested action buttons * |