-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathindex.html
More file actions
155 lines (139 loc) · 3.9 KB
/
Copy pathindex.html
File metadata and controls
155 lines (139 loc) · 3.9 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
147
148
149
150
151
152
153
154
155
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/mangodisk.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MangoDisk</title>
<style>
html,
body,
#app {
width: 100%;
height: 100%;
margin: 0;
}
body {
overflow: hidden;
background: #fffaf1;
}
.startup-screen {
display: grid;
width: 100%;
height: 100%;
place-items: center;
background:
radial-gradient(circle at 50% 32%, rgb(255 126 0 / 10%), transparent 28%),
radial-gradient(circle at 68% 18%, rgb(93 154 42 / 4%), transparent 24%), #fffaf1;
user-select: none;
-webkit-user-select: none;
}
.startup-content {
display: grid;
gap: 14px;
justify-items: center;
pointer-events: none;
color: #3a2b23;
font:
650 18px/1.2 -apple-system,
BlinkMacSystemFont,
'Segoe UI',
sans-serif;
letter-spacing: -0.015em;
}
.startup-mark {
display: grid;
width: 92px;
height: 92px;
place-items: center;
border: 1px solid rgb(197 87 0 / 12%);
border-radius: 28px;
background: rgb(255 255 255 / 74%);
box-shadow:
0 18px 44px rgb(123 61 12 / 10%),
inset 0 1px 0 rgb(255 255 255 / 82%);
backdrop-filter: blur(12px);
}
.startup-mark img {
width: 74px;
height: 74px;
}
.startup-progress {
position: relative;
overflow: hidden;
width: 78px;
height: 3px;
margin-top: 2px;
border-radius: 999px;
background: rgb(197 87 0 / 12%);
}
.startup-progress::after {
position: absolute;
inset-block: 0;
left: -45%;
width: 45%;
border-radius: inherit;
animation: startup-progress 1.15s ease-in-out infinite;
background: linear-gradient(90deg, transparent, #d15b00 34%, #ff8a00 72%, transparent);
content: '';
}
@media (prefers-color-scheme: dark) {
body,
.startup-screen {
background: #211c18;
}
.startup-screen {
background:
radial-gradient(circle at 50% 32%, rgb(255 126 0 / 13%), transparent 29%),
radial-gradient(circle at 68% 18%, rgb(100 163 47 / 6%), transparent 24%), #211c18;
}
.startup-mark {
border-color: rgb(255 151 61 / 15%);
background: rgb(48 40 34 / 76%);
box-shadow:
0 18px 44px rgb(0 0 0 / 30%),
inset 0 1px 0 rgb(255 255 255 / 5%);
}
.startup-content {
color: #f3e9df;
}
.startup-progress {
background: rgb(255 151 61 / 14%);
}
.startup-progress::after {
background: linear-gradient(90deg, transparent, #ff8908 34%, #ffad50 72%, transparent);
}
}
@media (prefers-reduced-motion: reduce) {
.startup-progress::after {
left: 25%;
width: 50%;
animation: none;
opacity: 0.72;
}
}
@keyframes startup-progress {
50% {
left: 50%;
}
100% {
left: 100%;
}
}
</style>
</head>
<body>
<div id="app">
<div class="startup-screen" data-tauri-drag-region role="status" aria-label="MangoDisk is starting">
<div class="startup-content">
<span class="startup-mark"
><img src="/mangodisk.svg" width="74" height="74" fetchpriority="high" alt=""
/></span>
<strong>MangoDisk</strong>
<span class="startup-progress" aria-hidden="true"></span>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>