-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
127 lines (119 loc) · 4.15 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>React Admin</title>
<style>
body {
background-color: #fafafb;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #313131;
}
}
.initialLoader {
width: 100px;
height: 102px;
border-radius: 100%;
position: absolute;
top: 45%;
left: calc(50% - 50px);
}
.initialLoader .circle {
width: 100%;
height: 100%;
position: absolute;
}
.initialLoader .circle .inner {
width: 100%;
height: 100%;
border-radius: 100%;
border: 5px solid rgba(187, 255, 255, 0.7);
border-right: none;
border-top: none;
background-clip: padding;
box-shadow: inset 0px 0px 10px rgba(187, 255, 255, 0.15);
}
@-webkit-keyframes initialLoaderSpin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes initialLoaderSpin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.circle:nth-of-type(0) {
transform: rotate(0deg);
}
.circle:nth-of-type(0) .inner {
-webkit-animation: initialLoaderSpin 2s infinite linear;
animation: initialLoaderSpin 2s infinite linear;
}
.circle:nth-of-type(1) {
transform: rotate(70deg);
}
.circle:nth-of-type(1) .inner {
-webkit-animation: initialLoaderSpin 2s infinite linear;
animation: initialLoaderSpin 2s infinite linear;
}
.circle:nth-of-type(2) {
transform: rotate(140deg);
}
.circle:nth-of-type(2) .inner {
-webkit-animation: initialLoaderSpin 2s infinite linear;
animation: initialLoaderSpin 2s infinite linear;
}
.initialLoader {
-webkit-animation: initialLoaderSpin 5s infinite linear;
animation: initialLoaderSpin 5s infinite linear;
}
</style>
</head>
<body>
<div id="root">
<div class="initialLoader">
<div class="circle">
<div class="inner"></div>
</div>
<div class="circle">
<div class="inner"></div>
</div>
<div class="circle">
<div class="inner"></div>
</div>
<div class="circle">
<div class="inner"></div>
</div>
<div class="circle">
<div class="inner"></div>
</div>
</div>
</div>
<script type="module" src="/src/index.tsx"></script>
<!-- This script adds the Roboto font to our project. For more detail go to this site: http://www.google.com/fonts#UsePlace:use/Collection:Roboto:400,300,500 -->
<script>
var WebFontConfig = {
google: { families: ['Roboto:300,400,500,700:latin'] },
};
(function () {
var wf = document.createElement('script');
wf.src =
'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
</script>
</body>
</html>