-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
293 lines (255 loc) · 7.87 KB
/
style.css
File metadata and controls
293 lines (255 loc) · 7.87 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
/* NOTE: ALL CURSORS ARE EXPERIMENTAL. */
:root {
/* System Fonts */
--system-font: 'system ui';
/* System Colors */
/* Light Theme Colors */
--system-color-primary-lite: #3ABAD7;
--system-color-secondary-lite: #8ADFF1;
--system-color-accent-lite: #42D6F7;
--system-color-bkg-lite: #F0F9FA;
--system-color-font-lite: #081214;
/* Dark Theme Colors */
--system-color-primary-dark: #28A6C3;
--system-color-secondary-dark: #0E6577;
--system-color-accent-dark: #089DBF;
--system-color-bkg-dark: #050E0F;
--system-color-font-dark: #EDF6F8;
/* Element-Specific Colors */
--system-appbar-color-dark: rgba(7, 16, 18, 0.3);
--system-appbar-color-lite: rgba(237, 246, 248, 0.3);
/* Scrollbar Colors */
/* AppBar Scroller */
--system-appbar-scroll-background: rgba(255, 255, 255, 0);
--system-appbar-scroll-track-background: rgba(255, 255, 255, 0);
--system-appbar-scroll-thumb-background: rgba(255, 255, 255, 0.5);
--system-appbar-scroll-thumb-hover-background: rgba(255, 255, 255, 0.5);
--system-appbar-scroll-thumb-active-background: rgba(255, 255, 255, 0.5);
--system-scroll-background: rgba(255, 255, 255, 0);
--system-scroll-track-background: rgba(255, 255, 255, 0);
--system-scroll-thumb-background: rgba(0, 0, 0, 0.5);
--system-scroll-thumb-hover-background: rgba(0, 0, 0, 0.5);
--system-scroll-thumb-active-background: rgba(0, 0, 0, 0.5);
}
/* These are the fonts that will render on the web desktop. Keep these open source ones or use your own. */
@font-face {
font-family: 'system ui';
src: url(./SeavoltUIVariable-VF.ttf);
font-weight: 400;
}
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
font-family: var(--system-font);
font-weight: 400;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 18px;
}
b {
font-family: var(--system-font);
font-weight: 700;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 18px;
}
p {
font-family: var(--system-font);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 18px;
}
/* Decide what color text will be highlighted in. */
::selection {
background-color: var(--system-color-accent-lite);
color: var(--system-color-font-lite);
border: 1px solid red;
border-radius: 10px;
}
::-moz-selection {
background-color: var(--system-color-accent-lite);
color: var(--system-color-font-lite);
border: 1px solid red;
border-radius: 10px;
}
/* This is the actual 'desktop', or where app windows will open. To make the walpaper not go behind the app bar, */
/* add '-56px' to 'calc(100%)' in the 'height' style. Change '56px' to the actual size of the appbar that you set. */
.desktop {
width: 100%;
height: calc(100%);
background: url('https://delivercdn.pages.dev/os/images/machtzentrum.jpg') no-repeat center center;
background-size: cover;
position: relative;
overflow: hidden;
cursor: url('https://delivercdn.pages.dev/os/cursors/pointer.ico'), pointer;
}
/* This is where the app icons will load. You can remove the SeeGlass style and make it solid or a different design. */
.appbar {
background: var(--system-appbar-color-dark);
width: 100%;
height: 56px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: var(--system-color-font-lite);
display: flex;
padding-top: 5px;
position: absolute;
bottom: 0;
left: 0;
box-sizing: border-box;
overflow-x: auto;
white-space: nowrap;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
justify-content: center;
align-items: center;
cursor: url('https://delivercdn.pages.dev/os/cursors/pointer.ico'), pointer;
}
/* If there are too many app icons or the appbar is too short, then these scrollbars will show up. */
/* These scrollbars are different than the acutal ones in the rest of the web desktop. */
.appbar::-webkit-scrollbar {
width: 8px;
height: 8px;
background: var(--system-appbar-scroll-background);
}
.appbar::-webkit-scrollbar-track {
background: var(--system-appbar-scroll-track-background);
}
.appbar::-webkit-scrollbar-thumb {
background: var(--system-appbar-scroll-thumb-background);
border-radius: 0px;
}
.appbar::-webkit-scrollbar-thumb:hover {
background: var(--system-appbar-scroll-thumb-hover-background);
border-radius: 0px;
}
.appbar::-webkit-scrollbar-thumb:active {
background: var(--system-appbar-scroll-thumb-active-background);
border-radius: 0px;
}
/* This is the app icon wrapper. */
.app {
align-items: center;
margin-left: 5px;
margin-right: 5px;
white-space: nowrap;
cursor: url('https://delivercdn.pages.dev/os/cursors/finger.ico'), pointer;
}
/* This is the actual thing that shows when the user opens an app. */
.window {
width: 300px;
height: 200px;
background-color: var(--system-color-font-dark);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
position: absolute;
top: 50px;
left: 50px;
display: none;
flex-direction: column;
overflow: hidden;
resize: both;
min-width: 150px;
min-height: 100px;
border-radius: 0px;
z-index: 1;
}
/* This tells the user what app they are using, and lets them move the the window around. */
.window-header {
font-family: var(--system-font);
font-weight: 700;
background: var(--system-color-bkg-dark);
color: var(--system-color-primary-lite);
padding: 5px 10px;
cursor: url('https://delivercdn.pages.dev/os/cursors/move.ico'), pointer;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
user-select: none;
}
/* This is where the contents of the app are located. */
.window-body {
padding: 10px;
flex-grow: 1;
overflow: auto;
}
/* This is for text-only apps, like the About or Welcome apps. */
.window-body-center {
text-align: center;
padding: 10px;
flex-grow: 1;
overflow: auto;
}
/* Lets the user close the app window. */
.close-btn {
cursor: url('https://delivercdn.pages.dev/os/cursors/pointer.ico'), pointer;
user-select: none;
}
.iframe-container {
overflow: hidden;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
.iframe-container iframe {
overflow: hidden;
width: 100%;
height: 100%;
border: none;
}
/* This is the scrollbar that will show when the user makes a window too small. */
::-webkit-scrollbar {
width: 8px;
height: 8px;
background: var(--system-scroll-background);
}
::-webkit-scrollbar-track {
background: var(--system-scroll-track-background);
}
::-webkit-scrollbar-thumb {
background-color: var(--system-scroll-thumb-background);
border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--system-scroll-thumb-hover-background);
}
::-webkit-scrollbar-thumb:active {
background-color: var(--system-scroll-thumb-active-background);
}
/* This is the image that shows in the About app. */
img {
width: 100px;
}
/* The icon of the app that will show in the app bar. */
.appIcon {
height: 40px;
width: 40px;
}
/* This is the layout for the Launcher app. */
.app-list {
list-style-type: none;
padding: 0;
}
/* This is the layout for the listing text in the Launcher app. */
.app-list-item {
display: flex;
align-items: center;
cursor: url('https://delivercdn.pages.dev/os/cursors/pointer.ico'), pointer;
margin-bottom: 10px;
}
/* This is the layout for the listing icons in the Launcher app. */
.app-list-item img {
width: 40px;
height: 40px;
margin-right: 10px;
}
/* When the user opens an app, this line will show the icon. */
.active-appbar-icon {
border-bottom: 3px solid var(--system-color-accent-lite);
}