mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-07 00:13:53 +00:00
61 lines
869 B
SCSS
61 lines
869 B
SCSS
.label {
|
|
color: $label-gray;
|
|
font-size: calc(1rem - 2px);
|
|
}
|
|
|
|
.clock {
|
|
text-align: left;
|
|
font-size: 1.5rem;
|
|
letter-spacing: 0.5px;
|
|
min-width: 5em;
|
|
font-variant-numeric: tabular-nums;
|
|
color: $ui-white;
|
|
|
|
&::after {
|
|
content: '\200b';
|
|
}
|
|
}
|
|
|
|
.column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
justify-content: end;
|
|
|
|
.label {
|
|
line-height: 0.9em;
|
|
width: 7em;
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
&[data-state='waiting'] {
|
|
.label {
|
|
color: $ontime-roll;
|
|
}
|
|
}
|
|
&[data-state='over'] {
|
|
.label .over {
|
|
color: $playback-over;
|
|
}
|
|
.clock {
|
|
color: $playback-over;
|
|
}
|
|
}
|
|
|
|
&[data-state='under'] {
|
|
.label .under {
|
|
color: $playback-under;
|
|
}
|
|
.clock {
|
|
color: $playback-under;
|
|
}
|
|
}
|
|
|
|
&[data-state='muted'] {
|
|
.clock {
|
|
color: $muted-gray;
|
|
}
|
|
}
|
|
}
|