3
// --------------------------------------------------
7
// -------------------------
10
@-webkit-keyframes progress-bar-stripes {
11
from { background-position: 40px 0; }
12
to { background-position: 0 0; }
16
@keyframes progress-bar-stripes {
17
from { background-position: 40px 0; }
18
to { background-position: 0 0; }
24
// -------------------------
29
height: $line-height-computed;
30
margin-bottom: $line-height-computed;
31
background-color: $progress-bg;
32
border-radius: $border-radius-base;
33
@include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
41
font-size: $font-size-small;
42
line-height: $line-height-computed;
43
color: $progress-bar-color;
45
background-color: $progress-bar-bg;
46
@include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
47
@include transition(width .6s ease);
52
// `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
53
// `.progress-bar-striped` class, which you just add to an existing
55
.progress-striped .progress-bar,
56
.progress-bar-striped {
57
@include gradient-striped();
58
background-size: 40px 40px;
61
// Call animation for the active one
63
// `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
64
// `.progress-bar.active` approach.
65
.progress.active .progress-bar,
66
.progress-bar.active {
67
@include animation(progress-bar-stripes 2s linear infinite);
70
// Account for lower percentages
73
&[aria-valuenow="2"] {
77
&[aria-valuenow="0"] {
80
background-color: transparent;
81
background-image: none;
89
// -------------------------
91
.progress-bar-success {
92
@include progress-bar-variant($progress-bar-success-bg);
96
@include progress-bar-variant($progress-bar-info-bg);
99
.progress-bar-warning {
100
@include progress-bar-variant($progress-bar-warning-bg);
103
.progress-bar-danger {
104
@include progress-bar-variant($progress-bar-danger-bg);