This commit is contained in:
Vince 2021-08-05 09:48:22 +08:00
parent fe20127688
commit 6e98f13a01

View file

@ -81,13 +81,23 @@
&:hover { &:hover {
color: $panel_fg; color: $panel_fg;
background-color: $panel_divider; background-color: $panel_divider;
&.clock-display {
.clock {
background-color: $panel_divider;
}
}
} }
&:active, &:overview, &:focus, &:checked { &:active, &:overview, &:focus, &:checked {
&, &:hover { background-color: $panel_track;
background-color: $panel_track; color: $panel_fg;
color: $panel_fg; box-shadow: none;
box-shadow: none;
&.clock-display {
.clock {
background-color: $panel_track;
}
} }
} }
@ -99,14 +109,18 @@
} }
&.clock-display { &.clock-display {
StLabel { padding: 0 $base_margin; } background-color: transparent;
StLabel { padding: 0 $base_padding; }
.clock { .clock {
// transition-duration: 150ms; // transition-duration: 150ms;
border: none; border: none;
border-radius: 0; border-radius: $bt_radius;
background: none; background-color: transparent;
box-shadow: none; box-shadow: none;
padding: 0 $base_padding * 3;
spacing: $base_padding;
} }
} }
@ -117,6 +131,7 @@
// we want to exclude the do-not-disturb indicator from the background // we want to exclude the do-not-disturb indicator from the background
&.clock-display { &.clock-display {
box-shadow: none; box-shadow: none;
background-color: transparent;
.clock { .clock {
box-shadow: none; box-shadow: none;