-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprogressbar.css
More file actions
87 lines (86 loc) · 2 KB
/
progressbar.css
File metadata and controls
87 lines (86 loc) · 2 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.sonny_progressbar {
margin-bottom: 20px;
}
.sonny_progressbar p.title {
font-size: 16px;
font-weight: 400;
line-height: 20px;
margin: 0;
padding: 5px 0;
}
.sonny_progressbar .bar-container {
position: relative;
height: 40px;
}
.sonny_progressbar .bar-container.shadow {
-moz-box-shadow: 0px 5px 7px -3px rgba(0,0,0,.5);
-webkit-box-shadow: 0px 5px 7px -3px rgba(0,0,0,.5);
box-shadow: 0px 5px 7px -3px rgba(0,0,0,.5);
}
.sonny_progressbar .backgroundBar {
position: absolute;
bottom: 0;
top: 0;
left: 0;
right: 0;
}
.sonny_progressbar .bar {
position: absolute;
top: 0;
left: 0;
height: 100%;
}
.sonny_progressbar .targetBar {
position: absolute;
top: 0;
left: 0;
height: 100%;
-webkit-animation: Animation 2s infinite ease-in-out;
-moz-animation: Animation 2s infinite ease-in-out;
animation: Animation 2s infinite ease-in-out;
}
.sonny_progressbar .targetBar.loader {
-webkit-animation: AnimationB 4s infinite ease-in-out;
-moz-animation: AnimationB 4s infinite ease-in-out;
animation: AnimationB 4s infinite ease-in-out;
background-image: url('../php/animated-overlay.gif');
}
.sonny_progressbar .bar-container.border .bar, .sonny_progressbar .bar-container.border .targetBar, .sonny_progressbar .bar-container.border .backgroundBar {
border-bottom: 3px solid rgba(0,0,0,.2);
}
.sonny_progressbar .progress-percent {
font-family: Montserrat, sans-serif;
font-size: 16px;
position: absolute;
right: 15px;
}
@keyframes Animation {
0% { opacity:.4; }
50% { opacity:1; }
100% { opacity:.4; }
}
@-moz-keyframes Animation{
0% { opacity:.4; }
50% { opacity:1; }
100% { opacity:.4; }
}
@-webkit-keyframes Animation{
0% { opacity:.4; }
50% { opacity:1; }
100% { opacity:.4; }
}
@keyframes AnimationB {
0% { opacity:.01; }
50% { opacity:.1; }
100% { opacity:.01; }
}
@-moz-keyframes AnimationB {
0% { opacity:.01; }
50% { opacity:.1; }
100% { opacity:.01; }
}
@-webkit-keyframes AnimationB {
0% { opacity:.01; }
50% { opacity:.1; }
100% { opacity:.01; }
}