-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
87 lines (77 loc) · 1.89 KB
/
style.css
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
.wrapper {
width: 80%;
}
.dummy_width {
width: 0%;
-webkit-animation: dw 10s forwards ease-out;
-moz-animation: dw 10s forwards ease-out;
animation: dw 10s forwards ease-out;
}
@-webkit-keyframes dw { to {width: 100%;} }
@-moz-keyframes dw { to {width: 100%;} }
@keyframes dw { to {width: 100%;} }
/* Set the base of our loader */
.progressbar {
background: #282828;
width: 100%;
height: 12px;
border: 5px solid #282828;
border-radius: 20px;
box-shadow: 0px 5px 17px rgba(40, 40, 40, 0.5), inset 0 0 3px rgba(255, 255, 255, 0.5);
margin: 6px 0px;
}
.progressbar .bar {
background: #f15a5a;
height: 12px;
border-radius: 12px;
}
.progressbar .bar .unicorn {
background: url('8_bit_unicorn.png');
background-size: 32px 32px;
background-repeat: no-repeat;
background-position: center;
width: 32px;
height: 32px;
float: right;
margin-top: -10px;
margin-right: -10px;
}
/* Set the linear gradient tile for the animation and the playback */
.progressbar .bar .fill {
width: 100%;
height: 12px;
border-radius: 20px;
box-shadow: inset 0px 0px 6px 2px rgba(255,255,255,.3);
-webkit-animation: progress 1s linear infinite;
-moz-animation: progress 1s linear infinite;
animation: progress 1s linear infinite;
background-size: 100px 100px;
background-repeat: repeat-x;
/* Rainbow stripe background */
background-image: linear-gradient(
-90deg,
rgba(241, 90, 90, 1.0) 10%,
rgba(240, 196, 25, 1.0) 10%,
rgba(240, 196, 25, 1.0) 30%,
rgba(78, 186, 111, 1) 30%,
rgba(78, 186, 111, 1) 50%,
rgba(45,149,191,1) 50%,
rgba(45,149,191,1) 70%,
rgba(149,91,165,1) 70%,
rgba(149,91,165,1) 90%,
rgba(241, 90, 90, 1.0) 90%,
rgba(241, 90, 90, 1.0)
);
}
@-webkit-keyframes progress
{
to {background-position: -100px 0;}
}
@-moz-keyframes progress
{
to {background-position: -100px 0;}
}
@keyframes progress
{
to {background-position: -100px 0;}
}