canvas-lms/app/stylesheets/components/_ProgressBar.scss

24 lines
471 B
SCSS

.progress-bar__bar-container {
height: 10px;
margin: $ic-sp 0;
border: solid $ic-brand-primary 1px;
border-radius: 20px;
overflow: hidden;
position: relative;
box-sizing: border-box;
&.almost-done {
border: solid $ic-color-success 1px;
}
}
.progress-bar__bar {
transition: width 0.1s;
background: $ic-brand-primary;
position: absolute;
top: 0; left: 0;
height: 100%; width: 0;
&.almost-done {
background: $ic-color-success;
}
}