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