mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 09:53:48 +00:00
b4e73ff6b5
* chore: upgrade related dependencies * fix: skip sentry on dev * refactor: unify time formatting * refactor: display default format for page
106 lines
1.5 KiB
SCSS
106 lines
1.5 KiB
SCSS
@use '../../../../theme/v2Styles' as *;
|
|
@use '../../../../theme/ontimeColours' as *;
|
|
|
|
.timeContainer {
|
|
display: grid;
|
|
grid-template-areas:
|
|
'ind clk clk btn'
|
|
'... sta fin btn';
|
|
grid-template-rows: 1fr auto;
|
|
grid-template-columns: 1.25rem 1fr 1fr 5rem;
|
|
gap: $element-inner-spacing;
|
|
justify-items: start;
|
|
}
|
|
|
|
.indicators {
|
|
grid-area: ind;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.indRoll,
|
|
.indDelay,
|
|
.indNegative {
|
|
background-color: $black-10;
|
|
}
|
|
|
|
.indRoll,
|
|
.indRollActive,
|
|
.indDelay,
|
|
.indDelayActive {
|
|
margin: 0 auto;
|
|
border-radius: 6px;
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.indRollActive {
|
|
background-color: $ontime-roll;
|
|
}
|
|
|
|
.indNegative,
|
|
.indNegativeActive {
|
|
margin: 0 auto;
|
|
width: 90%;
|
|
height: 0.25rem;
|
|
}
|
|
|
|
.indNegativeActive {
|
|
background-color: $playback-negative;
|
|
}
|
|
|
|
.indDelayActive {
|
|
background-color: $ontime-delay;
|
|
}
|
|
|
|
.btn {
|
|
grid-area: btn;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: 1fr 1fr;
|
|
width: 100%;
|
|
gap: $element-inner-spacing;
|
|
}
|
|
|
|
.minus {
|
|
grid-area: min;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.start,
|
|
.finish,
|
|
.roll {
|
|
height: 1.5rem;
|
|
}
|
|
|
|
.start {
|
|
grid-area: sta;
|
|
}
|
|
|
|
.finish {
|
|
grid-area: fin;
|
|
}
|
|
|
|
.roll {
|
|
grid-area: 2 / 2 / 2 / 4 ;
|
|
}
|
|
|
|
.time {
|
|
color: $section-white;
|
|
font-size: $text-body-size;
|
|
}
|
|
|
|
.tag {
|
|
color: $label-gray;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.rolltag {
|
|
color: $ontime-roll;
|
|
font-size: $text-body-size;
|
|
}
|