blob: 1be34c439766c5e25c73651557ac4aa7c3f59fc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Progress animations
@keyframes progress-bar-stripes {
from { background-position: $progress-height 0; }
to { background-position: 0 0; }
}
// Basic progress bar
.progress {
display: flex;
align-items: center;
overflow: hidden; // force rounded corners by cropping it
font-size: $progress-font-size;
height: $progress-height;
line-height: $progress-height;
background-color: $progress-bg;
@include border-radius($progress-border-radius);
}
.progress-bar {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
color: $progress-bar-color;
background-color: $progress-bar-bg;
}
// Striped
.progress-bar-striped {
@include gradient-striped();
background-size: $progress-height $progress-height;
}
// Animated
.progress-bar-animated {
animation: progress-bar-stripes $progress-bar-animation-timing;
}
|