diff options
author | raveit65 <[email protected]> | 2016-03-12 15:39:39 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-03-12 15:39:39 +0100 |
commit | 5719fae50dd5ac4b61f43a1eb8c5bfe7ca0f46e6 (patch) | |
tree | 1ce8e277d9ed4d4cbc895e5a9032497a8b122a7d | |
parent | f53a25a79340b03811beba401af773f394e22f1a (diff) | |
download | mate-themes-5719fae50dd5ac4b61f43a1eb8c5bfe7ca0f46e6.tar.bz2 mate-themes-5719fae50dd5ac4b61f43a1eb8c5bfe7ca0f46e6.tar.xz |
GTK+-3.20: adjust csd windows settings
-rw-r--r-- | desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index b3252a39..4b4ade28 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -2798,22 +2798,38 @@ decoration { /* this is used for the resize cursor area */ margin: 10px; } decoration:backdrop { + /* the transparent shadow here is to enforce that the shadow extents don't + * change when we go to backdrop, to prevent jumping windows + */ box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(0, 0, 0, 0.18); } - decoration.tiled { + .fullscreen decoration, .tiled decoration { border-radius: 0; } - decoration.csd.popup { + .popup decoration { + box-shadow: none; } + .ssd decoration { + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); } + .csd.popup decoration { border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); } - decoration.csd.tooltip { + tooltip.csd decoration { border-radius: 5px; box-shadow: none; } - decoration.solid-csd { - border-radius: 0; - margin: 4px; + messagedialog.csd decoration { + border-radius: 7px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); } + .solid-csd decoration { + border-radius: 3px; + margin: 10px; background-color: #fff; - border: solid 1px #8b8b8b; + border: solid 2px #000; box-shadow: none; } +/* workaround to avoid unwanted black frames if switching compositor on/off */ +.background decoration, +.background decoration:backdrop { + box-shadow: none; +} + button.titlebutton { padding: 8px; border-color: transparent; |