-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpanel.html
More file actions
69 lines (63 loc) · 1.75 KB
/
panel.html
File metadata and controls
69 lines (63 loc) · 1.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Byte Chat</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100% !important;
height: 100vh !important;
max-height: 100vh !important;
overflow: hidden !important;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: white;
}
#root {
width: 100% !important;
height: 100vh !important;
max-height: 100vh !important;
overflow: hidden !important;
}
#root > div {
width: 100% !important;
height: 100vh !important;
max-height: 100vh !important;
overflow-y: auto !important;
overflow-x: hidden !important;
}
.loading {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: white;
}
.spinner {
width: 24px;
height: 24px;
border: 2px solid #f3f4f6;
border-top: 2px solid #3b82f6;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div id="root">
<div class="loading">
<div class="spinner"></div>
</div>
</div>
<script src="panel.js"></script>
</body>
</html>