mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-07 08:23:55 +00:00
56 lines
989 B
SCSS
56 lines
989 B
SCSS
@use '../../../theme/viewerDefs' as *;
|
|
|
|
$progress-bar-size: 12px;
|
|
$progress-bar-br: 3px;
|
|
|
|
.multiprogress-bar {
|
|
position: relative;
|
|
width: 100%;
|
|
height: $progress-bar-size;
|
|
|
|
&--hidden {
|
|
display: none;
|
|
transition: display 0.5s;
|
|
}
|
|
}
|
|
|
|
.multiprogress-bar__bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
border-radius: var(--progress-bar-br, $progress-bar-br);
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.multiprogress-bar__indicator {
|
|
position: absolute;
|
|
inset: 0;
|
|
margin: -1px;
|
|
margin-left: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.multiprogress-bar__indicator-bar {
|
|
background-color: var(--background-color-override, $ui-black);
|
|
opacity: 0.8;
|
|
transition: 1s linear;
|
|
transition-property: width;
|
|
|
|
.multiprogress-bar--ignore-css-override & {
|
|
background-color: $ui-black;
|
|
}
|
|
}
|
|
|
|
.multiprogress-bar__bg-normal {
|
|
flex: 1;
|
|
}
|
|
|
|
.multiprogress-bar__bg-danger {
|
|
flex-shrink: 0;
|
|
}
|