shadows for menus and tiled windows

This commit is contained in:
Eudaimon 2022-04-21 11:17:10 +02:00
parent 5888952cd7
commit b8e7b88537
4 changed files with 24 additions and 20 deletions

View file

@ -3908,13 +3908,13 @@ window {
&.popup {
border-radius: $menu_radius;
box-shadow: 0 1px 2px transparentize(black, 0.8),
box-shadow: 0 1px 5px transparentize(black, 0.8),
0 0 0 1px transparentize($_wm_border, 0.1);
}
&.dialog.message {
border-radius: $window_radius;
box-shadow: 0 1px 2px transparentize(black, 0.8),
box-shadow: 0 1px 5px transparentize(black, 0.8),
0 0 0 1px transparentize($_wm_border, 0.1);
}
}
@ -3924,9 +3924,9 @@ window {
padding: 4px;
border: solid 1px $borders_color;
border-radius: 0;
box-shadow: inset 0 0 0 4px $borders_color, inset 0 0 0 3px $headerbar_bg_color, inset 0 1px $top_hilight;
box-shadow: inset 0 0 0 4px $borders_color, inset 0 0 0 3px $headerbar_bg_color, inset 0 1px $top_hilight, 0 1px 5px transparentize(black, 0.8);
&:backdrop { box-shadow: inset 0 0 0 4px $borders_color, inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
&:backdrop { box-shadow: inset 0 0 0 4px $borders_color, inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight, 0 1px 5px transparentize(black, 0.8); }
}
&.maximized,
@ -3939,9 +3939,11 @@ window {
&.tiled-bottom {
border-radius: 0;
box-shadow: 0 0 0 1px $_wm_border,
0 2px 6px 2px transparentize(black, 0.8),
0 0 0 20px transparent; //transparent control workaround -- #3670
&:backdrop { box-shadow: 0 0 0 1px $_wm_border_backdrop,
0 2px 6px 2px transparentize(black, 0.6),
0 0 0 20px transparent; // #3670
}
}