Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
85 lines (74 loc) · 1.44 KB
/
Copy pathstyle.css
File metadata and controls
85 lines (74 loc) · 1.44 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
* {
margin: 0;
padding: 0;
}
/***************************************
basic style
***************************************/
.loading {
margin: 1rem;
width: 48px;
height: 48px;
position: relative;
background: transparent;
border: 1px solid #000;
}
.loading.disable * {
-webkit-animation: none;
animation: none;
}
.loading.disable .leaf {
background: #ccc;
}
/***************************************
circleball
***************************************/
.circleball > div {
width: 0;
height: 24px;
position: absolute;
top: 0;
left: 24px;
background: transparent;
-webkit-transform-origin: bottom;
opacity: 0;
-webkit-animation: circleball 1s steps(8,start) infinite;
}
.circleball > div:nth-of-type(1) {
-webkit-animation-delay: 0;
}
.circleball > div:nth-of-type(2) {
-webkit-animation-delay: 0.125s;
}
.circleball > div:nth-of-type(3) {
-webkit-animation-delay: 0.250s;
}
.circleball > div:nth-of-type(4) {
-webkit-animation-delay: 0.375s;
}
.circleball > div:nth-of-type(5) {
-webkit-animation-delay: 0.500s;
}
.circleball .leaf {
width: 10px;
height: 10px;
position: absolute;
top: 0;
left: 0;
border-radius: 50%;
}
.circleball > div:nth-of-type(1) .leaf {
background: #000;
}
.circleball > div:nth-of-type(2) .leaf {
background: #333;
}
.circleball > div:nth-of-type(3) .leaf {
background: #666;
}
.circleball > div:nth-of-type(4) .leaf {
background: #999;
}
.circleball > div:nth-of-type(5) .leaf {
background: #ccc;
}