Let floating window have shadow if shadows are enabled

If normal window would have shadow and floting did not, then a size mismatch would occur during transition. Besides it allows to notice if floating window is focused and respects user theme.
This commit is contained in:
Rafostar
2020-11-13 23:00:06 +01:00
parent 373714f161
commit 910a289b6d

View File

@@ -98,7 +98,6 @@ scale marks {
/* Floating Mode */ /* Floating Mode */
.floatingwindow { .floatingwindow {
border-radius: 12px; border-radius: 12px;
box-shadow: -8px -8px transparent, 8px 8px transparent;
} }
.osd.floatingcontrols .playercontrols { .osd.floatingcontrols .playercontrols {
-gtk-icon-size: 16px; -gtk-icon-size: 16px;