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; }
23 // -------------------------
28 height: @line-height-computed;
29 margin-bottom: @line-height-computed;
30 background-color: @progress-bg;
31 border-radius: @progress-border-radius;
32 .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
40 font-size: @font-size-small;
41 line-height: @line-height-computed;
42 color: @progress-bar-color;
44 background-color: @progress-bar-bg;
45 .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
46 .transition(width .6s ease);
51 // `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
52 // `.progress-bar-striped` class, which you just add to an existing
54 .progress-striped .progress-bar,
55 .progress-bar-striped {
56 #gradient > .striped();
57 background-size: 40px 40px;
60 // Call animation for the active one
62 // `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
63 // `.progress-bar.active` approach.
64 .progress.active .progress-bar,
65 .progress-bar.active {
66 .animation(progress-bar-stripes 2s linear infinite);
71 // -------------------------
73 .progress-bar-success {
74 .progress-bar-variant(@progress-bar-success-bg);
78 .progress-bar-variant(@progress-bar-info-bg);
81 .progress-bar-warning {
82 .progress-bar-variant(@progress-bar-warning-bg);
85 .progress-bar-danger {
86 .progress-bar-variant(@progress-bar-danger-bg);