From 777ca92d150e3c9389ae7e0f382cc20f189c3c22 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 12 Mar 2016 15:39:39 +0100 Subject: GTK+-3.20: adjust csd windows settings --- .../ContrastHigh/gtk-3.0/gtk-widgets.css | 30 +++++++++++++++++----- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'desktop-themes/ContrastHigh') 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; -- cgit v1.2.1