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