-
Notifications
You must be signed in to change notification settings - Fork 215
Expand file tree
/
Copy pathindex.html
More file actions
146 lines (131 loc) · 3.86 KB
/
index.html
File metadata and controls
146 lines (131 loc) · 3.86 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
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
136
137
138
139
140
141
142
143
144
145
146
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Pro React Admin" />
<title>Pro React Admin</title>
</head>
<body>
<noscript id="inject-styles-here"></noscript>
<noscript>You need to enable JavaScript to run this app.</noscript>
<style>
:root {
--loader-bg: #ffffff;
--loader-text: #333333;
--loader-primary: #1677ff;
--loader-secondary: #a0c5e8;
}
.loader-container {
position: fixed;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: var(--loader-bg);
z-index: 9999;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
transition: background-color 0.3s ease;
}
.loader-container.fade-out {
opacity: 0;
pointer-events: none;
}
.quantum-spinner {
position: relative;
width: 80px;
height: 80px;
margin-bottom: 24px;
}
.quantum-spinner .electron {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
border: 2px solid transparent;
border-top-color: var(--loader-primary);
animation: spin 1.5s linear infinite;
}
.quantum-spinner .electron:nth-child(1) {
border-top-color: var(--loader-primary);
animation: spin 1s linear infinite;
}
.quantum-spinner .electron:nth-child(2) {
border-right-color: var(--loader-secondary);
border-top-color: transparent;
transform: rotate(120deg);
animation: spin 1.5s linear infinite reverse;
}
.quantum-spinner .electron:nth-child(3) {
border-bottom-color: var(--loader-primary);
border-top-color: transparent;
transform: rotate(240deg);
animation: spin 2s linear infinite;
}
.core {
position: absolute;
top: 50%;
left: 50%;
width: 16px;
height: 16px;
background: var(--loader-primary);
border-radius: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 15px var(--loader-primary);
animation: pulse 1.5s ease-in-out infinite alternate;
}
.loading-text {
font-size: 18px;
font-weight: 600;
letter-spacing: 1px;
background: linear-gradient(90deg, var(--loader-text) 0%, var(--loader-primary) 50%, var(--loader-text) 100%);
background-size: 200% auto;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: shimmer 3s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes pulse {
0% {
transform: translate(-50%, -50%) scale(0.8);
opacity: 0.6;
}
100% {
transform: translate(-50%, -50%) scale(1.2);
opacity: 1;
}
}
@keyframes shimmer {
0% {
background-position: 0% center;
}
100% {
background-position: 200% center;
}
}
</style>
<div id="root"></div>
<div id="global-loader" class="loader-container">
<div class="quantum-spinner">
<div class="electron"></div>
<div class="electron"></div>
<div class="electron"></div>
<div class="core"></div>
</div>
<div class="loading-text">Pro React Admin</div>
</div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>