mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-07 16:33:51 +00:00
48 lines
863 B
SCSS
48 lines
863 B
SCSS
@use '../../../theme/viewerDefs' as *;
|
|
|
|
$progress-bar-size: 12px;
|
|
$progress-bar-br: 3px;
|
|
|
|
.multiprogress-bar {
|
|
position: relative;
|
|
width: 100%;
|
|
height: $progress-bar-size;
|
|
border-radius: $progress-bar-br;
|
|
background-color: var(--timer-progress-bg-override, $viewer-card-bg-color);
|
|
display: flex;
|
|
overflow: hidden;
|
|
|
|
&--hidden {
|
|
display: none;
|
|
transition: display 0.5s;
|
|
}
|
|
}
|
|
|
|
.multiprogress-bar__indicator {
|
|
position: absolute;
|
|
height: inherit;
|
|
background-color: black;
|
|
opacity: 0.8;
|
|
transition: 1s linear;
|
|
transition-property: width;
|
|
right: 0;
|
|
}
|
|
|
|
.multiprogress-bar__bg-normal {
|
|
position: absolute;
|
|
height: inherit;
|
|
right: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.multiprogress-bar__bg-warning {
|
|
position: absolute;
|
|
height: inherit;
|
|
right: 0;
|
|
}
|
|
|
|
.multiprogress-bar__bg-danger {
|
|
position: absolute;
|
|
height: inherit;
|
|
right: 0;
|
|
} |