This commit is contained in:
vinceliuice 2024-06-18 13:26:16 +08:00
parent 832fa2600b
commit a21570fdab

View file

@ -47,6 +47,7 @@
&.clock-display {
box-shadow: none;
background: none;
.clock {
transition-duration: 150ms;
@ -62,11 +63,12 @@
}
&.screen-recording-indicator {
box-shadow: inset 0 0 0 100px $error;
box-shadow: inset 0 0 0 1000px $error;
}
&.screen-sharing-indicator {
box-shadow: inset 0 0 0 100px $warning;
box-shadow: inset 0 0 0 1000px $warning;
StBoxLayout { margin: 0 $base_padding; }
}
@ -209,8 +211,16 @@
}
&.clock-display {
background-color: transparent;
box-shadow: none;
.clock {
@if $float == 'true' {
box-shadow: inset 0 0 0 1000px overlay(dark, normal);
} @else {
background-color: transparent;
box-shadow: none;
}
}
}