forked from ShineWebOS/ShineOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (89 loc) · 2.04 KB
/
Copy pathindex.html
File metadata and controls
93 lines (89 loc) · 2.04 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<title>ShineOS</title>
<style>
body {
background-image: url('assets/wallpaper/boot.png');
background-color: #000000;
background-size: cover;
background-repeat: repeat;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
overflow: hidden;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
}
.circle {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
height: 300px;
border-radius: 50%;
background:
radial-gradient(closest-side, black 93%, transparent 94% 100%),
conic-gradient(#0098f6 0%, #0098f6 var(--progress), transparent var(--progress));
animation: fill 5s forwards;
}
@keyframes fill {
from {
--progress: 0%;
}
to {
--progress: 100%;
}
}
@property --progress {
syntax: '<percentage>';
inherits: false;
initial-value: 0%;
}
.image {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
object-fit: cover;
z-index: 1;
}
</style>
</head>
<body>
<div class="circle"></div>
<div class="container">
<img width="256" height="256" src="assets/system/logo.png" class="image" alt="ShineOS">
</div>
</div>
<script>
setTimeout(() => {
const iframe = document.createElement('iframe');
iframe.src = 'shineos.html';
iframe.style.position = 'fixed';
iframe.style.top = '0';
iframe.style.left = '0';
iframe.style.bottom = '0';
iframe.style.right = '0';
iframe.style.width = '100%';
iframe.style.height = '100%';
iframe.style.border = 'none';
iframe.style.margin = '0';
iframe.style.padding = '0';
iframe.style.overflow = 'hidden';
iframe.style.zIndex = '999999';
document.body.appendChild(iframe);
}, 5000);
</script>
</body>
</html>