0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/scss/_progress.scss
2017-08-10 22:50:59 -07:00

38 lines
862 B
SCSS

// Progress animations
@keyframes progress-bar-stripes {
from { background-position: $progress-height 0; }
to { background-position: 0 0; }
}
// Basic progress bar
.progress {
display: flex;
align-items: center;
overflow: hidden; // force rounded corners by cropping it
font-size: $progress-font-size;
height: $progress-height;
line-height: $progress-height;
background-color: $progress-bg;
@include border-radius($progress-border-radius);
}
.progress-bar {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: $progress-bar-color;
background-color: $progress-bar-bg;
}
// Striped
.progress-bar-striped {
@include gradient-striped();
background-size: $progress-height $progress-height;
}
// Animated
.progress-bar-animated {
animation: progress-bar-stripes $progress-bar-animation-timing;
}