cartodb-4.29/assets/stylesheets/editor-3/_progress-bar.scss
2020-06-15 10:58:47 +08:00

33 lines
615 B
SCSS

// Progress bar styles
// --------------------------------------------------
@import '~cartoassets/src/scss/cdb-variables/colors';
@import '~cartoassets/src/scss/cdb-variables/sizes';
$border-radius: $baseSize / 2;
$height: $baseSize / 2;
.Progress {
width: 100%;
height: $height;
overflow: hidden;
border-radius: $border-radius;
background: rgba($cMainLine, 0.5);
}
.Progress-bar {
min-width: 3px;
max-width: 100%;
height: $height;
border-radius: $border-radius;
background: $cHighlight;
}
.Progress-bar--caution {
background: $cError;
}
.Progress-bar--alert {
background: $cAlert;
}