blob: cbc9042f0e3a7da552d3acd2f3acada28165cd55 (
plain) (
blame)
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
|
// Chase spinner from https://tobiasahlin.com/spinkit/. MIT license
.sk-center-wrapper
width: 100%
display: flex
justify-content: space-around
.sk-chase
position: relative
animation: sk-chase 2.5s infinite linear both
&.green > .sk-chase-dot:before
background-color: #00C853
> .sk-chase-dot
width: 100%
height: 100%
position: absolute
left: 0
top: 0
animation: sk-chase-dot 2.0s infinite ease-in-out both
&:before
content: ''
display: block
width: 25%
height: 25%
border-radius: 100%
animation: sk-chase-dot-before 2.0s infinite ease-in-out both
background-color: #FFF
&:nth-child(1)
animation-delay: -1.1s
&:nth-child(2)
animation-delay: -1.0s
&:nth-child(3)
animation-delay: -0.9s
&:nth-child(4)
animation-delay: -0.8s
&:nth-child(5)
animation-delay: -0.7s
&:nth-child(6)
animation-delay: -0.6s
&:nth-child(1):before
animation-delay: -1.1s
&:nth-child(2):before
animation-delay: -1.0s
&:nth-child(3):before
animation-delay: -0.9s
&:nth-child(4):before
animation-delay: -0.8s
&:nth-child(5):before
animation-delay: -0.7s
&:nth-child(6):before
animation-delay: -0.6s
@keyframes sk-chase
100%
transform: rotate(360deg)
@keyframes sk-chase-dot
80%, 100%
transform: rotate(360deg)
@keyframes sk-chase-dot-before
50%
transform: scale(0.4)
100%, 0%
transform: scale(1.0)
|