diff options
-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; |