diff options
author | raveit65 <[email protected]> | 2016-03-12 15:39:39 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-03-12 15:40:06 +0100 |
commit | 777ca92d150e3c9389ae7e0f382cc20f189c3c22 (patch) | |
tree | b413e0b42f47f717873cb6daf62b8e4ba0f4e71a /desktop-themes/ContrastHigh | |
parent | 57abfa761f2866d4f3cbd8d0ddb90e4b31ff27e3 (diff) | |
download | mate-themes-777ca92d150e3c9389ae7e0f382cc20f189c3c22.tar.bz2 mate-themes-777ca92d150e3c9389ae7e0f382cc20f189c3c22.tar.xz |
GTK+-3.20: adjust csd windows settings
Diffstat (limited to 'desktop-themes/ContrastHigh')
-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; |