HighContrast: Fix shadow size

Ensure that the shadow extents don't change as we go to backdrop,
to prevent windows from jumping.
This commit is contained in:
Matthias Clasen 2015-11-14 18:05:06 -05:00
parent 718ca64bb7
commit afab635f9d
2 changed files with 2 additions and 1 deletions

View File

@ -2462,6 +2462,7 @@ decoration {
&:backdrop {
box-shadow: 0 2px 6px 2px transparentize(black, 0.8),
0 3px 9px 1px transparent,
0 0 0 1px $_wm_border_backdrop;
}
&.tiled {

View File

@ -2739,7 +2739,7 @@ decoration {
/* this is used for the resize cursor area */
margin: 10px; }
decoration:backdrop {
box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18); }
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 {
border-radius: 0; }
decoration.csd.popup {