forked from sxfad/react-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·86 lines (79 loc) · 2.08 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no"/>
<meta name="theme-color" content="#000000"/>
<link rel="manifest" href="%PUBLIC_URL%/manifest.json"/>
<title>React Admin</title>
<style>
.init-loading {
position: fixed;
left: 0;
top: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
width: 100vw;
background: #00021c;
opacity: 0;
animation: show 300ms ease 1000ms;
animation-fill-mode: forwards
}
.init-loading span {
display: inline-block;
width: 5px;
border-radius: 4px;
animation: load 1s ease infinite;
}
@keyframes show {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes load {
0%, 100% {
height: 30px;
background: rgba(47, 84, 235, 0.4);
}
50% {
height: 60px;
margin: -15px 0;
background: rgba(47, 84, 235, 1);
}
}
.init-loading span:nth-child(2) {
animation-delay: 0.2s;
}
.init-loading span:nth-child(3) {
animation-delay: 0.4s;
}
.init-loading span:nth-child(4) {
animation-delay: 0.6s;
}
.init-loading span:nth-child(5) {
animation-delay: 0.8s;
}
</style>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<div class="init-loading">
<div>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
</div>
</body>
</html>