2011-11-26 13:41:17 -05:00
|
|
|
@keyframes progress-bar-stripes {
|
2016-12-29 17:56:28 -05:00
|
|
|
from { background-position: $progress-height 0; }
|
2016-02-06 15:28:18 -05:00
|
|
|
to { background-position: 0 0; }
|
2012-01-07 18:52:57 -05:00
|
|
|
}
|
|
|
|
|
2011-11-26 13:41:17 -05:00
|
|
|
.progress {
|
2016-12-29 17:56:28 -05:00
|
|
|
display: flex;
|
2017-05-26 14:21:02 -04:00
|
|
|
height: $progress-height;
|
2016-11-26 21:46:46 -05:00
|
|
|
overflow: hidden; // force rounded corners by cropping it
|
2016-12-29 17:56:28 -05:00
|
|
|
font-size: $progress-font-size;
|
2015-12-21 12:52:03 -05:00
|
|
|
background-color: $progress-bg;
|
2016-07-19 21:01:25 -04:00
|
|
|
@include border-radius($progress-border-radius);
|
2017-11-27 12:31:11 -05:00
|
|
|
@include box-shadow($progress-box-shadow);
|
2015-12-10 17:29:54 -05:00
|
|
|
}
|
2017-01-21 15:32:38 -05:00
|
|
|
|
2016-12-29 17:56:28 -05:00
|
|
|
.progress-bar {
|
2017-05-26 13:48:57 -04:00
|
|
|
display: flex;
|
2017-11-06 12:57:25 -05:00
|
|
|
flex-direction: column;
|
2017-05-26 14:11:10 -04:00
|
|
|
justify-content: center;
|
2016-12-29 17:56:28 -05:00
|
|
|
color: $progress-bar-color;
|
2017-11-06 12:57:25 -05:00
|
|
|
text-align: center;
|
2016-12-29 17:56:28 -05:00
|
|
|
background-color: $progress-bar-bg;
|
2017-11-06 15:02:42 -05:00
|
|
|
@include transition($progress-bar-transition);
|
2012-01-07 18:52:57 -05:00
|
|
|
}
|
|
|
|
|
2016-12-29 17:56:28 -05:00
|
|
|
.progress-bar-striped {
|
2014-12-02 17:02:35 -05:00
|
|
|
@include gradient-striped();
|
2016-12-29 17:56:28 -05:00
|
|
|
background-size: $progress-height $progress-height;
|
2015-12-10 17:29:54 -05:00
|
|
|
}
|
2012-01-07 18:52:57 -05:00
|
|
|
|
2016-12-29 17:56:28 -05:00
|
|
|
.progress-bar-animated {
|
|
|
|
animation: progress-bar-stripes $progress-bar-animation-timing;
|
2012-02-24 05:23:04 -05:00
|
|
|
}
|