-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmercwar-os.css
More file actions
161 lines (144 loc) · 3.26 KB
/
Copy pathmercwar-os.css
File metadata and controls
161 lines (144 loc) · 3.26 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
/* === GLOBAL BLACK-ON-BLACK THEME === */
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow: hidden;
background: #000;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: #e5e5e5;
}
/* === DESKTOP BACKGROUND === */
#desktop {
position: relative;
width: 100vw;
height: 100vh;
background:
radial-gradient(circle at 20% 30%, rgba(250, 204, 21, 0.16), transparent 60%),
radial-gradient(circle at 80% 70%, rgba(192, 192, 192, 0.14), transparent 60%),
#000;
}
/* === GLOBAL TYPOGRAPHY SCALE === */
:root {
--title-font-size: 15px;
--body-font-size: 15px;
--control-font-size: 13px;
}
/* === WINDOW FRAME === */
.window {
position: absolute;
background: #050505;
border: 1px solid #555;
border-radius: 8px;
box-shadow: 0 0 24px rgba(250, 204, 21, 0.25);
display: flex;
flex-direction: column;
color: #e5e5e5;
overflow: hidden;
}
.window.active {
border-color: #facc15;
box-shadow: 0 0 32px rgba(250, 204, 21, 0.55);
}
/* === TITLE BAR === */
.window-titlebar {
height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(to right, #020202, #111111);
border-bottom: 1px solid #facc15;
padding: 0 14px;
cursor: move;
user-select: none;
}
.window-title {
font-size: var(--title-font-size);
letter-spacing: 0.08em;
color: #fefce8;
text-transform: uppercase;
}
/* === WINDOW CONTROLS === */
.window-controls {
display: flex;
gap: 6px;
}
.window-controls button {
width: 22px;
height: 22px;
border: none;
border-radius: 4px;
padding: 0;
font-size: var(--control-font-size);
background: #111;
color: #d4d4d4;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.window-controls button:hover {
background: #facc15;
color: #000;
}
.window-controls .btn-close:hover {
background: #b91c1c;
color: #fee2e2;
}
/* === WINDOW CONTENT === */
.window-content {
flex: 1;
background: #020202;
border-radius: 0 0 8px 8px;
overflow: hidden;
}
.window-content iframe {
width: 100%;
height: 100%;
border: none;
background: #020202;
}
/* === CONTROL BAR (TOP DESKTOP BAR) === */
#control-bar {
position: absolute;
top: 8px;
left: 50%;
transform: translateX(-50%);
padding: 10px 16px;
background: rgba(10, 10, 10, 0.96);
border: 1px solid #333;
border-radius: 999px;
display: flex;
align-items: center;
gap: 12px;
box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
z-index: 9999;
}
#control-bar .nav-label {
font-size: var(--body-font-size);
letter-spacing: 0.08em;
text-transform: uppercase;
color: #fefce8;
}
#control-bar select {
background: #000;
color: #facc15;
border: 1px solid #555;
padding: 6px 10px;
border-radius: 999px;
font-size: var(--body-font-size);
}
/* === AJAX LOADER === */
.loader {
width: 40px;
height: 40px;
border: 4px solid #222;
border-top-color: #facc15;
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin: 40px auto;
}
@keyframes spin {
to { transform: rotate(360deg); }
}