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 @-o-keyframes progress-bar-stripes {
23 from { background-position: 0 0; }
24 to { background-position: 40px 0; }
28 @keyframes progress-bar-stripes {
29 from { background-position: 40px 0; }
30 to { background-position: 0 0; }
36 // -------------------------
41 height: @line-height-computed;
42 margin-bottom: @line-height-computed;
43 background-color: @progress-bg;
44 border-radius: @border-radius-base;
45 .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
53 font-size: @font-size-small;
54 color: @progress-bar-color;
56 background-color: @progress-bar-bg;
57 .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
58 .transition(width .6s ease);
62 .progress-striped .progress-bar {
63 #gradient > .striped(@progress-bar-bg);
64 background-size: 40px 40px;
67 // Call animation for the active one
68 .progress.active .progress-bar {
69 -webkit-animation: progress-bar-stripes 2s linear infinite;
70 -moz-animation: progress-bar-stripes 2s linear infinite;
71 -ms-animation: progress-bar-stripes 2s linear infinite;
72 -o-animation: progress-bar-stripes 2s linear infinite;
73 animation: progress-bar-stripes 2s linear infinite;
79 // -------------------------
81 .progress-bar-success {
82 .progress-bar-variant(@progress-bar-success-bg);
86 .progress-bar-variant(@progress-bar-info-bg);
89 .progress-bar-warning {
90 .progress-bar-variant(@progress-bar-warning-bg);
93 .progress-bar-danger {
94 .progress-bar-variant(@progress-bar-danger-bg);