/
index.html
135 lines (118 loc) · 3.22 KB
/
index.html
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<noscript>
<strong>We're sorry but doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<main id="app">
<div class="loading-view">
<div class="orbit-spinner">
<div class="orbit"></div>
<div class="orbit"></div>
<div class="orbit"></div>
</div>
<span class="loading-text">Loading...</span>
</div>
</main>
<style type="text/css">
body {
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
body .loading-view {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: calc(100vh - 90px);
}
.orbit-spinner,
.orbit-spinner * {
box-sizing: border-box;
}
.orbit-spinner {
width: 90px;
height: 90px;
border-radius: 50%;
perspective: 800px;
}
.orbit-spinner .orbit {
position: absolute;
box-sizing: border-box;
width: 100%;
height: 100%;
border-radius: 50%;
}
.orbit-spinner .orbit:nth-child(1) {
top: 0%;
left: 0%;
border-bottom: 3px solid #01befd;
animation: orbit-spinner-orbit-one-animation 1200ms linear infinite;
}
.orbit-spinner .orbit:nth-child(2) {
top: 0%;
right: 0%;
border-right: 3px solid #4c0faf;
animation: orbit-spinner-orbit-two-animation 1200ms linear infinite;
}
.orbit-spinner .orbit:nth-child(3) {
right: 0%;
bottom: 0%;
border-top: 3px solid #0faf0f;
animation: orbit-spinner-orbit-three-animation 1200ms linear infinite;
}
@keyframes orbit-spinner-orbit-one-animation {
0% {
transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
}
100% {
transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
}
}
@keyframes orbit-spinner-orbit-two-animation {
0% {
transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
}
100% {
transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
}
}
@keyframes orbit-spinner-orbit-three-animation {
0% {
transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
}
100% {
transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
}
}
@keyframes breathing {
0% {
opacity: 0.4;
}
50% {
opacity: 1;
}
100% {
opacity: 0.4;
}
}
.loading-text {
margin-top: 1rem;
animation: breathing 2s infinite;
}
input:-internal-autofill-previewed,
input:-internal-autofill-selected {
-webkit-text-fill-color: #807c7c;
transition: background-color 5000s ease-out 0.5s;
}
</style>
<script type="module" src="/src/main.js"></script>
</body>
</html>