This commit is contained in:
Vince 2021-09-25 22:03:18 +08:00
parent 41a662c37d
commit 11edd2603c

View file

@ -4250,22 +4250,13 @@ decoration {
// server-side decorations as used by mutter
.ssd & {
margin: -6px;
border-radius: $wm_radius $wm_radius 0 0;
& &.backdrop { box-shadow: $wm_outline; }
&, &.backdrop { box-shadow: $wm_outline; }
&.maximized, &.tiled { border-radius: 0; }
}
.ssd.maximized &,
.ssd.fullscreen &,
.ssd.tiled &,
.ssd.tiled-top &,
.ssd.tiled-right &,
.ssd.tiled-bottom &,
.ssd.tiled-left & {
border-radius: 0;
}
.csd.popup & {
border-radius: $mn_radius;
box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), $wm_outline;