basyx commited on
Commit
778e414
·
verified ·
1 Parent(s): 7c5359f

Create style.css

Browse files
Files changed (1) hide show
  1. static/style.css +338 -0
static/style.css ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* =========================================================
2
+ BASYX V11 UI SYSTEM
3
+ Industrial Dark OS Theme
4
+ ========================================================= */
5
+
6
+ :root {
7
+ --void: #080808;
8
+ --surface: #0f0f0f;
9
+ --panel: #161616;
10
+ --panel-2: #121212;
11
+
12
+ --border: #232323;
13
+ --border-2: #2c2c2c;
14
+
15
+ --accent: #e8ff47;
16
+ --accent-dim: #b8cc30;
17
+
18
+ --text: #e8e8e8;
19
+ --text-dim: #888888;
20
+
21
+ --muted: #555555;
22
+ --danger: #ef4444;
23
+ --warn: #f59e0b;
24
+ --ok: #22c55e;
25
+
26
+ --radius: 6px;
27
+
28
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono";
29
+ --font-display: Bebas Neue, sans-serif;
30
+ --font-body: system-ui, -apple-system, Segoe UI, Roboto;
31
+ }
32
+
33
+ /* =========================================================
34
+ BASE RESET
35
+ ========================================================= */
36
+
37
+ * {
38
+ box-sizing: border-box;
39
+ }
40
+
41
+ html, body {
42
+ margin: 0;
43
+ padding: 0;
44
+ background: var(--void);
45
+ color: var(--text);
46
+ font-family: var(--font-body);
47
+ height: 100%;
48
+ }
49
+
50
+ h1, h2, h3 {
51
+ margin: 0;
52
+ }
53
+
54
+ /* =========================================================
55
+ SIDEBAR
56
+ ========================================================= */
57
+
58
+ .sidebar {
59
+ position: fixed;
60
+ left: 0;
61
+ top: 0;
62
+ width: 220px;
63
+ height: 100vh;
64
+ background: #0b0b0b;
65
+ border-right: 1px solid var(--border);
66
+ padding: 16px;
67
+ overflow-y: auto;
68
+ transition: transform 0.25s ease;
69
+ }
70
+
71
+ .brand {
72
+ font-family: var(--font-display);
73
+ font-size: 28px;
74
+ color: var(--accent);
75
+ margin-bottom: 18px;
76
+ letter-spacing: 1px;
77
+ }
78
+
79
+ .nav-group-title {
80
+ font-size: 11px;
81
+ color: var(--text-dim);
82
+ margin: 16px 0 6px;
83
+ letter-spacing: 1px;
84
+ }
85
+
86
+ .nav-item {
87
+ padding: 10px 12px;
88
+ cursor: pointer;
89
+ color: var(--text-dim);
90
+ border-left: 2px solid transparent;
91
+ transition: all 0.2s ease;
92
+ border-radius: 4px;
93
+ }
94
+
95
+ .nav-item:hover {
96
+ color: var(--text);
97
+ background: rgba(255, 255, 255, 0.03);
98
+ }
99
+
100
+ .nav-item.active {
101
+ border-left: 2px solid var(--accent);
102
+ color: var(--accent);
103
+ background: rgba(232, 255, 71, 0.06);
104
+ }
105
+
106
+ /* =========================================================
107
+ MAIN LAYOUT
108
+ ========================================================= */
109
+
110
+ .main {
111
+ margin-left: 220px;
112
+ padding: 24px;
113
+ }
114
+
115
+ /* =========================================================
116
+ SECTIONS
117
+ ========================================================= */
118
+
119
+ .section {
120
+ display: none;
121
+ animation: fadeIn 0.25s ease;
122
+ }
123
+
124
+ .section.active {
125
+ display: block;
126
+ }
127
+
128
+ @keyframes fadeIn {
129
+ from { opacity: 0; transform: translateY(6px); }
130
+ to { opacity: 1; transform: translateY(0); }
131
+ }
132
+
133
+ /* =========================================================
134
+ PANELS
135
+ ========================================================= */
136
+
137
+ .panel {
138
+ background: var(--panel);
139
+ border: 1px solid var(--border);
140
+ padding: 18px;
141
+ border-radius: var(--radius);
142
+ margin-bottom: 16px;
143
+ }
144
+
145
+ .panel h2 {
146
+ font-family: var(--font-display);
147
+ letter-spacing: 1px;
148
+ color: var(--accent);
149
+ margin-bottom: 12px;
150
+ }
151
+
152
+ /* =========================================================
153
+ INPUT SYSTEM
154
+ ========================================================= */
155
+
156
+ input, textarea, select {
157
+ width: 100%;
158
+ padding: 10px 12px;
159
+ margin-top: 8px;
160
+ background: #111;
161
+ border: 1px solid var(--border);
162
+ border-radius: 4px;
163
+ color: var(--text);
164
+ outline: none;
165
+ }
166
+
167
+ input:focus {
168
+ border-color: var(--accent);
169
+ }
170
+
171
+ /* =========================================================
172
+ BUTTONS
173
+ ========================================================= */
174
+
175
+ button {
176
+ padding: 12px 14px;
177
+ border: none;
178
+ cursor: pointer;
179
+ background: var(--accent);
180
+ color: #000;
181
+ font-weight: 700;
182
+ border-radius: 4px;
183
+ transition: all 0.2s ease;
184
+ margin-top: 10px;
185
+ }
186
+
187
+ button:hover {
188
+ filter: brightness(1.05);
189
+ }
190
+
191
+ button:disabled {
192
+ opacity: 0.6;
193
+ cursor: not-allowed;
194
+ }
195
+
196
+ /* =========================================================
197
+ PRE / OUTPUT
198
+ ========================================================= */
199
+
200
+ pre {
201
+ background: #0b0b0b;
202
+ border: 1px solid var(--border);
203
+ padding: 12px;
204
+ border-radius: var(--radius);
205
+ overflow: auto;
206
+ color: var(--text);
207
+ font-family: var(--font-mono);
208
+ }
209
+
210
+ /* =========================================================
211
+ VIDEO OUTPUT
212
+ ========================================================= */
213
+
214
+ video {
215
+ width: 100%;
216
+ border-radius: var(--radius);
217
+ border: 1px solid var(--border);
218
+ background: #000;
219
+ }
220
+
221
+ /* =========================================================
222
+ CARDS (future UI expansion)
223
+ ========================================================= */
224
+
225
+ .card-grid {
226
+ display: grid;
227
+ grid-template-columns: repeat(3, 1fr);
228
+ gap: 12px;
229
+ }
230
+
231
+ .card {
232
+ background: var(--panel);
233
+ border: 1px solid var(--border);
234
+ padding: 14px;
235
+ border-radius: var(--radius);
236
+ cursor: pointer;
237
+ transition: 0.2s;
238
+ }
239
+
240
+ .card:hover {
241
+ border-color: var(--accent);
242
+ transform: translateY(-2px);
243
+ }
244
+
245
+ /* =========================================================
246
+ STATUS BADGES
247
+ ========================================================= */
248
+
249
+ .badge {
250
+ display: inline-block;
251
+ padding: 4px 8px;
252
+ font-size: 12px;
253
+ border-radius: 4px;
254
+ border: 1px solid var(--border);
255
+ }
256
+
257
+ .badge.ok {
258
+ color: var(--ok);
259
+ border-color: var(--ok);
260
+ }
261
+
262
+ .badge.warn {
263
+ color: var(--warn);
264
+ border-color: var(--warn);
265
+ }
266
+
267
+ .badge.error {
268
+ color: var(--danger);
269
+ border-color: var(--danger);
270
+ }
271
+
272
+ /* =========================================================
273
+ STAT CARDS
274
+ ========================================================= */
275
+
276
+ .stat-grid {
277
+ display: grid;
278
+ grid-template-columns: repeat(3, 1fr);
279
+ gap: 12px;
280
+ margin: 12px 0;
281
+ }
282
+
283
+ .stat-card {
284
+ background: var(--panel);
285
+ border: 1px solid var(--border);
286
+ padding: 14px;
287
+ border-radius: var(--radius);
288
+ }
289
+
290
+ .stat-label {
291
+ font-size: 12px;
292
+ color: var(--text-dim);
293
+ }
294
+
295
+ .stat-value {
296
+ font-size: 34px;
297
+ font-family: var(--font-display);
298
+ color: var(--accent);
299
+ }
300
+
301
+ /* =========================================================
302
+ LOADING STATE
303
+ ========================================================= */
304
+
305
+ .loading {
306
+ opacity: 0.6;
307
+ pointer-events: none;
308
+ }
309
+
310
+ /* =========================================================
311
+ MOBILE
312
+ ========================================================= */
313
+
314
+ @media (max-width: 768px) {
315
+
316
+ .sidebar {
317
+ transform: translateX(-100%);
318
+ position: fixed;
319
+ z-index: 50;
320
+ }
321
+
322
+ .sidebar.open {
323
+ transform: translateX(0);
324
+ }
325
+
326
+ .main {
327
+ margin-left: 0;
328
+ padding: 16px;
329
+ }
330
+
331
+ .card-grid {
332
+ grid-template-columns: 1fr;
333
+ }
334
+
335
+ .stat-grid {
336
+ grid-template-columns: 1fr;
337
+ }
338
+ }