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

@ -4357,9 +4357,11 @@ decoration {
.tiled-left & {
border-radius: 0;
box-shadow: 0 0 0 1px $_wm_border_backdrop,
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
}
}
@ -4373,7 +4375,7 @@ decoration {
.csd.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);
}
@ -4384,7 +4386,7 @@ decoration {
messagedialog.csd & {
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);
}
@ -4394,9 +4396,9 @@ decoration {
background-color: $borders_color;
border: solid 1px $borders_color;
border-radius: 0;
box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight;
box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight, 0 1px 5px transparentize(black, 0.8);
&:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
&:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight, 0 1px 5px transparentize(black, 0.8); }
}
}