Files
ontime/apps/client/src/features/control/playback/playback-timer/PlaybackTimer.module.scss
T
2026-02-08 11:20:09 +01:00

86 lines
1.3 KiB
SCSS

.timeContainer {
display: grid;
grid-template-areas:
'indicators timer addtime'
'status status addtime';
grid-template-rows: 1fr auto;
grid-template-columns: 1.25rem 1fr 6.5rem;
gap: $element-inner-spacing;
}
.timerDisplay {
grid-area: timer;
max-width: 18.75rem;
min-width: 5em;
text-align: center;
}
// ---------> INDICATORS
.indicators {
grid-area: indicators;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.indicatorRoll,
.indicatorDelay,
.indicatorNegative {
background-color: $black-10;
}
.indicatorRoll,
.indicatorDelay {
margin: 0 auto;
border-radius: 5px;
width: 10px;
height: 10px;
}
.indicatorRoll[data-active='true'] {
background-color: $ontime-roll;
}
.indicatorDelay[data-active='true'] {
background-color: $ontime-delay;
}
.indicatorNegative {
margin: 0 auto;
width: 90%;
height: 0.25rem;
&[data-active='true'] {
background-color: $playback-negative;
}
}
// ---------> LABELS
.status {
grid-area: status;
height: 1.5rem;
display: flex;
gap: $section-spacing;
}
.tag {
color: $label-gray;
font-size: calc(1rem - 2px);
margin-right: 0.25rem;
}
.time {
color: $section-white;
font-size: $text-body-size;
display: inline-block;
}
.rolltag {
color: $ontime-roll;
font-size: $text-body-size;
}