3 // --------------------------------------------------
7 // -------------------------
10 @-webkit-keyframes progress-bar-stripes {
11 from { background-position: 40px 0; }
12 to { background-position: 0 0; }
16 @-moz-keyframes progress-bar-stripes {
17 from { background-position: 40px 0; }
18 to { background-position: 0 0; }
22 @-ms-keyframes progress-bar-stripes {
23 from { background-position: 40px 0; }
24 to { background-position: 0 0; }
28 @-o-keyframes progress-bar-stripes {
29 from { background-position: 0 0; }
30 to { background-position: 40px 0; }
34 @keyframes progress-bar-stripes {
35 from { background-position: 40px 0; }
36 to { background-position: 0 0; }
42 // -------------------------
47 height: @line-height-computed;
48 margin-bottom: @line-height-computed;
49 background-color: @progress-bg;
50 border-radius: @border-radius-base;
51 .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
59 font-size: @font-size-small;
60 color: @progress-bar-color;
62 background-color: @progress-bar-bg;
63 .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
64 .transition(width .6s ease);
68 .progress-striped .progress-bar {
69 #gradient > .striped(@progress-bar-bg);
70 .background-size(40px 40px);
73 // Call animation for the active one
74 .progress.active .progress-bar {
75 -webkit-animation: progress-bar-stripes 2s linear infinite;
76 -moz-animation: progress-bar-stripes 2s linear infinite;
77 -ms-animation: progress-bar-stripes 2s linear infinite;
78 -o-animation: progress-bar-stripes 2s linear infinite;
79 animation: progress-bar-stripes 2s linear infinite;
85 // -------------------------
88 .progress-bar-danger {
89 .progress-bar-variant(@progress-bar-danger-bg);
93 .progress-bar-success {
94 .progress-bar-variant(@progress-bar-success-bg);
98 .progress-bar-warning {
99 .progress-bar-variant(@progress-bar-warning-bg);
104 .progress-bar-variant(@progress-bar-info-bg);