interplane.Get Omega
Read in your language

aien-sovereign-core

Autonomous sovereign intelligence engine and runtime core for NVIDIA DGX Spark

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core / crates / spark-cockpit-rs / static / style.css

926 lines · 18450 bytes Raw Blame History
1/* ==========================================================================
2 AIEN SOVEREIGN GLASS TERMINAL
3 Apple Frosted Liquid Glass, Specular Lighting, and Microsoft Azure Palette
4 ========================================================================== */
5
6:root {
7 color-scheme: dark;
8 --void-bg: #02040a;
9 --azure-primary: #0078D4;
10 --azure-bright: #38a6ff;
11 --azure-light: #70c4ff;
12 --azure-deep: #002045;
13 --azure-glow: rgba(0, 120, 212, 0.32);
14 --azure-glow-intense: rgba(0, 120, 212, 0.6);
15 --azure-subtle: rgba(0, 120, 212, 0.14);
16
17 --glass-surface: rgba(10, 18, 36, 0.65);
18 --glass-surface-hover: rgba(16, 26, 50, 0.75);
19 --glass-inset: rgba(4, 8, 18, 0.55);
20 --glass-border: rgba(255, 255, 255, 0.12);
21 --glass-border-highlight: rgba(255, 255, 255, 0.28);
22
23 --text-main: #f0f6fc;
24 --text-muted: #8b9bb4;
25 --text-dim: #50617b;
26 --accent-green: #2ecc71;
27 --accent-red: #ff5f56;
28 --accent-yellow: #ffbd2e;
29
30 --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", sans-serif;
31 --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
32
33 --radius-pill: 9999px;
34 --radius-pod: 22px;
35 --radius-inner: 14px;
36 --radius-sm: 8px;
37
38 --glass-blur: blur(32px) saturate(200%);
39 --glass-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px var(--azure-glow), inset 0 1px 0 var(--glass-border-highlight);
40}
41
42*, *::before, *::after {
43 box-sizing: border-box;
44 margin: 0;
45 padding: 0;
46}
47
48body {
49 background-color: var(--void-bg);
50 color: var(--text-main);
51 font-family: var(--font-sans);
52 font-size: 14px;
53 line-height: 1.5;
54 overflow: hidden;
55 height: 100vh;
56 width: 100vw;
57 user-select: none;
58 -webkit-font-smoothing: antialiased;
59}
60
61/* Background Cosmic Starfield Canvas */
62#starfield-canvas {
63 position: fixed;
64 top: 0;
65 left: 0;
66 width: 100vw;
67 height: 100vh;
68 z-index: 0;
69 pointer-events: none;
70}
71
72/* Main Cosmos App Container */
73.cosmos-app {
74 position: relative;
75 z-index: 1;
76 display: flex;
77 flex-direction: column;
78 height: 100vh;
79 width: 100vw;
80 padding: 18px 24px 24px 24px;
81 gap: 16px;
82}
83
84/* Top Floating Avionics Status Bar */
85.avionics-bar {
86 display: flex;
87 align-items: center;
88 justify-content: space-between;
89 padding: 8px 20px;
90 height: 52px;
91 max-width: 1400px;
92 margin: 0 auto;
93 width: 100%;
94}
95
96.glass-pill {
97 background: var(--glass-surface);
98 backdrop-filter: var(--glass-blur);
99 -webkit-backdrop-filter: var(--glass-blur);
100 border: 1px solid var(--glass-border);
101 border-top: 1px solid var(--glass-border-highlight);
102 border-radius: var(--radius-pill);
103 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--azure-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.2);
104}
105
106.brand-group {
107 display: flex;
108 align-items: center;
109 gap: 12px;
110}
111
112.brand-avatar {
113 width: 32px;
114 height: 32px;
115 border-radius: 50%;
116 border: 1.5px solid var(--azure-bright);
117 box-shadow: 0 0 12px var(--azure-glow-intense);
118 object-fit: cover;
119}
120
121.brand-title {
122 font-weight: 700;
123 font-size: 13px;
124 letter-spacing: 0.08em;
125 color: #ffffff;
126 line-height: 1.1;
127}
128
129.brand-sub {
130 font-family: var(--font-mono);
131 font-size: 10px;
132 color: var(--azure-light);
133 letter-spacing: 0.04em;
134}
135
136.avionics-telemetry {
137 display: flex;
138 align-items: center;
139 gap: 16px;
140}
141
142.telemetry-pill {
143 display: flex;
144 align-items: center;
145 gap: 8px;
146 font-family: var(--font-mono);
147 font-size: 11px;
148 padding: 4px 12px;
149 background: var(--glass-inset);
150 border: 1px solid var(--glass-border);
151 border-radius: var(--radius-pill);
152}
153
154.tele-label {
155 color: var(--text-dim);
156 font-size: 10px;
157 text-transform: uppercase;
158}
159
160.tele-val {
161 color: var(--text-main);
162 font-weight: 600;
163}
164
165.pulse-dot {
166 width: 7px;
167 height: 7px;
168 border-radius: 50%;
169 display: inline-block;
170}
171
172.pulse-dot.green {
173 background: var(--accent-green);
174 box-shadow: 0 0 8px var(--accent-green);
175}
176
177.avionics-controls {
178 display: flex;
179 align-items: center;
180 gap: 8px;
181}
182
183.satellite-toggle-btn {
184 display: flex;
185 align-items: center;
186 gap: 6px;
187 padding: 6px 14px;
188 background: transparent;
189 color: var(--text-muted);
190 border: 1px solid transparent;
191 border-radius: var(--radius-pill);
192 font-size: 12px;
193 font-weight: 500;
194 cursor: pointer;
195 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
196}
197
198.satellite-toggle-btn:hover {
199 color: var(--text-main);
200 background: rgba(255, 255, 255, 0.06);
201 border-color: var(--glass-border);
202}
203
204.satellite-toggle-btn.active {
205 color: #ffffff;
206 background: var(--azure-primary);
207 border-color: var(--azure-bright);
208 box-shadow: 0 0 16px var(--azure-glow-intense);
209}
210
211.satellite-toggle-btn i {
212 width: 15px;
213 height: 15px;
214}
215
216/* Main Workspace Stage */
217.cockpit-workspace {
218 position: relative;
219 display: flex;
220 justify-content: center;
221 align-items: center;
222 flex: 1;
223 width: 100%;
224 max-width: 1500px;
225 margin: 0 auto;
226 min-height: 0;
227 gap: 20px;
228}
229
230/* Floating Glass Terminal Pod (Apple-inspired Frosted Glass Monolith) */
231.glass-terminal-pod {
232 position: relative;
233 display: flex;
234 flex-direction: column;
235 width: 760px;
236 max-width: 92vw;
237 height: 100%;
238 max-height: calc(100vh - 110px);
239 background: var(--glass-surface);
240 backdrop-filter: var(--glass-blur);
241 -webkit-backdrop-filter: var(--glass-blur);
242 border: 1px solid var(--glass-border);
243 border-top: 1px solid var(--glass-border-highlight);
244 border-radius: var(--radius-pod);
245 box-shadow: var(--glass-shadow);
246 overflow: hidden;
247 transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
248 z-index: 10;
249}
250
251/* Terminal Header */
252.terminal-header {
253 display: flex;
254 align-items: center;
255 justify-content: space-between;
256 padding: 12px 18px;
257 border-bottom: 1px solid var(--glass-border);
258 background: rgba(255, 255, 255, 0.02);
259}
260
261.window-controls {
262 display: flex;
263 align-items: center;
264 gap: 7px;
265}
266
267.win-dot {
268 width: 11px;
269 height: 11px;
270 border-radius: 50%;
271 display: inline-block;
272}
273
274.win-dot.red { background: var(--accent-red); opacity: 0.8; }
275.win-dot.yellow { background: var(--accent-yellow); opacity: 0.8; }
276.win-dot.green { background: var(--accent-green); opacity: 0.8; }
277
278.terminal-title {
279 display: flex;
280 align-items: center;
281 gap: 8px;
282 font-family: var(--font-mono);
283 font-size: 12px;
284 color: var(--text-muted);
285 font-weight: 500;
286}
287
288.terminal-title i {
289 width: 14px;
290 height: 14px;
291 color: var(--azure-bright);
292}
293
294.terminal-actions {
295 display: flex;
296 align-items: center;
297 gap: 6px;
298}
299
300.icon-btn-subtle {
301 background: transparent;
302 border: none;
303 color: var(--text-muted);
304 cursor: pointer;
305 padding: 5px;
306 border-radius: 6px;
307 display: flex;
308 align-items: center;
309 justify-content: center;
310 transition: all 0.15s ease;
311}
312
313.icon-btn-subtle:hover {
314 color: var(--text-main);
315 background: rgba(255, 255, 255, 0.08);
316}
317
318.icon-btn-subtle i {
319 width: 15px;
320 height: 15px;
321}
322
323/* Terminal Body Scroll Area */
324.terminal-body {
325 flex: 1;
326 overflow-y: auto;
327 padding: 20px 24px;
328 display: flex;
329 flex-direction: column;
330 gap: 16px;
331 min-height: 0;
332 user-select: text;
333}
334
335.terminal-body::-webkit-scrollbar {
336 width: 6px;
337}
338.terminal-body::-webkit-scrollbar-thumb {
339 background: rgba(255, 255, 255, 0.1);
340 border-radius: 3px;
341}
342
343/* Glass Inset Panel */
344.glass-inset {
345 background: var(--glass-inset);
346 border: 1px solid var(--glass-border);
347 border-radius: var(--radius-inner);
348 padding: 16px;
349}
350
351/* Welcome Hero */
352.terminal-welcome {
353 display: flex;
354 flex-direction: column;
355 gap: 8px;
356}
357
358.welcome-badge {
359 align-self: flex-start;
360 font-family: var(--font-mono);
361 font-size: 10px;
362 font-weight: 600;
363 padding: 2px 8px;
364 background: var(--azure-deep);
365 color: var(--azure-bright);
366 border: 1px solid var(--azure-border);
367 border-radius: 4px;
368 letter-spacing: 0.05em;
369}
370
371.terminal-welcome h2 {
372 font-size: 18px;
373 font-weight: 600;
374 color: #ffffff;
375}
376
377.terminal-welcome p {
378 font-size: 13px;
379 color: var(--text-muted);
380 line-height: 1.5;
381}
382
383.welcome-stats {
384 display: flex;
385 gap: 16px;
386 margin-top: 6px;
387 font-size: 12px;
388 color: var(--text-dim);
389 font-family: var(--font-mono);
390}
391
392.welcome-stats strong {
393 color: var(--text-muted);
394}
395
396.welcome-stats code {
397 color: var(--azure-light);
398}
399
400/* Chat Messages */
401.chat-msg {
402 display: flex;
403 flex-direction: column;
404 gap: 6px;
405 animation: fadeIn 0.25s ease-out;
406}
407
408@keyframes fadeIn {
409 from { opacity: 0; transform: translateY(6px); }
410 to { opacity: 1; transform: translateY(0); }
411}
412
413.chat-msg.user {
414 align-self: flex-end;
415 max-width: 85%;
416 background: var(--azure-deep);
417 border: 1px solid var(--azure-primary);
418 border-radius: var(--radius-inner);
419 padding: 12px 16px;
420 box-shadow: 0 4px 15px rgba(0, 120, 212, 0.2);
421}
422
423.chat-msg.user .msg-sender {
424 font-size: 11px;
425 font-weight: 600;
426 color: var(--azure-bright);
427 text-transform: uppercase;
428}
429
430.chat-msg.assistant {
431 align-self: flex-start;
432 width: 100%;
433 background: var(--glass-inset);
434 border: 1px solid var(--glass-border);
435 border-radius: var(--radius-inner);
436 padding: 14px 18px;
437}
438
439.chat-msg.assistant .msg-sender {
440 font-size: 11px;
441 font-weight: 600;
442 color: var(--azure-light);
443 margin-bottom: 4px;
444}
445
446/* Reasoning Block */
447details.reasoning-block {
448 background: rgba(0, 0, 0, 0.3);
449 border: 1px solid rgba(255, 255, 255, 0.08);
450 border-radius: 8px;
451 padding: 8px 12px;
452 margin-bottom: 10px;
453 font-size: 12px;
454 color: var(--text-muted);
455}
456
457details.reasoning-block summary {
458 cursor: pointer;
459 color: var(--azure-bright);
460 font-weight: 500;
461 outline: none;
462}
463
464/* Markdown formatting */
465.chat-content p {
466 margin-bottom: 8px;
467 font-size: 13.5px;
468 line-height: 1.6;
469}
470
471.chat-content pre {
472 background: rgba(0, 0, 0, 0.4);
473 border: 1px solid var(--glass-border);
474 border-radius: 8px;
475 padding: 12px;
476 margin: 10px 0;
477 overflow-x: auto;
478 font-family: var(--font-mono);
479 font-size: 12px;
480}
481
482.chat-content code {
483 font-family: var(--font-mono);
484 font-size: 12px;
485 background: rgba(255, 255, 255, 0.08);
486 padding: 2px 5px;
487 border-radius: 4px;
488 color: var(--azure-light);
489}
490
491/* Input Area Container */
492.terminal-input-container {
493 display: flex;
494 flex-direction: column;
495 gap: 10px;
496 padding: 14px 20px 18px 20px;
497 border-top: 1px solid var(--glass-border);
498 background: rgba(0, 0, 0, 0.15);
499}
500
501/* Voice Waveform Visualizer Canvas */
502.voice-waveform {
503 width: 100%;
504 height: 36px;
505 background: rgba(0, 120, 212, 0.08);
506 border: 1px solid var(--azure-primary);
507 border-radius: var(--radius-sm);
508 transition: all 0.2s ease;
509}
510
511.voice-waveform.hidden {
512 display: none;
513}
514
515/* Interactive Input Bar Capsule */
516.terminal-input-bar {
517 display: flex;
518 align-items: center;
519 gap: 10px;
520 background: rgba(13, 22, 42, 0.85);
521 border: 1px solid var(--glass-border);
522 border-top: 1px solid var(--glass-border-highlight);
523 border-radius: var(--radius-pill);
524 padding: 6px 10px 6px 14px;
525 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
526 transition: border-color 0.2s ease, box-shadow 0.2s ease;
527}
528
529.terminal-input-bar:focus-within {
530 border-color: var(--azure-bright);
531 box-shadow: 0 0 20px var(--azure-glow-intense), inset 0 1px 0 rgba(255, 255, 255, 0.2);
532}
533
534/* Mic Button */
535.btn-mic {
536 position: relative;
537 width: 34px;
538 height: 34px;
539 border-radius: 50%;
540 background: transparent;
541 border: none;
542 color: var(--text-muted);
543 cursor: pointer;
544 display: flex;
545 align-items: center;
546 justify-content: center;
547 transition: all 0.2s ease;
548}
549
550.btn-mic:hover {
551 color: var(--azure-bright);
552 background: rgba(255, 255, 255, 0.08);
553}
554
555.btn-mic.listening {
556 color: #ffffff;
557 background: var(--azure-primary);
558 box-shadow: 0 0 14px var(--azure-glow-intense);
559}
560
561.btn-mic.listening .mic-ripple {
562 position: absolute;
563 top: -4px;
564 left: -4px;
565 right: -4px;
566 bottom: -4px;
567 border-radius: 50%;
568 border: 2px solid var(--azure-bright);
569 animation: pulseRipple 1.4s infinite cubic-bezier(0, 0.2, 0.8, 1);
570}
571
572@keyframes pulseRipple {
573 0% { transform: scale(0.9); opacity: 1; }
574 100% { transform: scale(1.4); opacity: 0; }
575}
576
577.btn-mic i {
578 width: 16px;
579 height: 16px;
580}
581
582/* Input Field */
583.terminal-input {
584 flex: 1;
585 background: transparent;
586 border: none;
587 outline: none;
588 color: var(--text-main);
589 font-family: var(--font-mono);
590 font-size: 13.5px;
591 padding: 4px 0;
592}
593
594.terminal-input::placeholder {
595 color: var(--text-dim);
596}
597
598/* Send Button */
599.btn-send {
600 width: 32px;
601 height: 32px;
602 border-radius: 50%;
603 background: var(--azure-primary);
604 border: none;
605 color: #ffffff;
606 cursor: pointer;
607 display: flex;
608 align-items: center;
609 justify-content: center;
610 transition: all 0.2s ease;
611 box-shadow: 0 0 10px var(--azure-glow);
612}
613
614.btn-send:hover {
615 background: var(--azure-bright);
616 transform: scale(1.05);
617 box-shadow: 0 0 16px var(--azure-glow-intense);
618}
619
620.btn-send i {
621 width: 15px;
622 height: 15px;
623}
624
625/* Quick Action Strip */
626.terminal-quick-strip {
627 display: flex;
628 gap: 8px;
629 overflow-x: auto;
630 padding-bottom: 2px;
631}
632
633.quick-pill {
634 display: flex;
635 align-items: center;
636 gap: 5px;
637 padding: 4px 10px;
638 background: rgba(255, 255, 255, 0.04);
639 border: 1px solid var(--glass-border);
640 border-radius: var(--radius-pill);
641 color: var(--text-muted);
642 font-size: 11px;
643 font-weight: 500;
644 cursor: pointer;
645 white-space: nowrap;
646 transition: all 0.15s ease;
647}
648
649.quick-pill:hover {
650 color: var(--text-main);
651 background: rgba(255, 255, 255, 0.08);
652 border-color: var(--azure-border);
653}
654
655.quick-pill i {
656 width: 12px;
657 height: 12px;
658}
659
660/* Peripheral Floating Satellites */
661.satellite-pod {
662 position: absolute;
663 width: 380px;
664 max-width: 90vw;
665 height: calc(100% - 20px);
666 background: var(--glass-surface);
667 backdrop-filter: var(--glass-blur);
668 -webkit-backdrop-filter: var(--glass-blur);
669 border: 1px solid var(--glass-border);
670 border-top: 1px solid var(--glass-border-highlight);
671 border-radius: var(--radius-pod);
672 box-shadow: var(--glass-shadow);
673 display: flex;
674 flex-direction: column;
675 overflow: hidden;
676 opacity: 0;
677 pointer-events: none;
678 transform: scale(0.96) translateX(20px);
679 transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
680 z-index: 20;
681}
682
683/* Docked Positions */
684#satellite-stage {
685 right: 0;
686 width: 520px;
687}
688
689#satellite-telemetry {
690 left: 0;
691}
692
693#satellite-models {
694 left: 0;
695}
696
697#satellite-mail {
698 right: 0;
699 width: 440px;
700}
701
702.satellite-pod.active {
703 opacity: 1;
704 pointer-events: auto;
705 transform: scale(1) translateX(0);
706}
707
708.satellite-header {
709 display: flex;
710 align-items: center;
711 justify-content: space-between;
712 padding: 12px 18px;
713 border-bottom: 1px solid var(--glass-border);
714 background: rgba(255, 255, 255, 0.02);
715}
716
717.sat-title {
718 display: flex;
719 align-items: center;
720 gap: 8px;
721 font-weight: 600;
722 font-size: 13px;
723 color: #ffffff;
724}
725
726.sat-title i {
727 width: 15px;
728 height: 15px;
729 color: var(--azure-bright);
730}
731
732.satellite-body {
733 flex: 1;
734 overflow-y: auto;
735 padding: 16px;
736 display: flex;
737 flex-direction: column;
738 gap: 12px;
739}
740
741/* Telemetry Card */
742.telemetry-card {
743 display: flex;
744 flex-direction: column;
745 gap: 4px;
746}
747
748.t-title {
749 font-size: 11px;
750 color: var(--text-dim);
751 text-transform: uppercase;
752 letter-spacing: 0.05em;
753 font-family: var(--font-mono);
754}
755
756.t-value {
757 font-size: 16px;
758 font-weight: 700;
759 font-family: var(--font-mono);
760 color: #ffffff;
761}
762
763.t-sub {
764 font-size: 11px;
765 color: var(--text-muted);
766}
767
768.progress-bar-wrap {
769 width: 100%;
770 height: 5px;
771 background: rgba(255, 255, 255, 0.08);
772 border-radius: 3px;
773 overflow: hidden;
774 margin: 4px 0;
775}
776
777.progress-bar {
778 height: 100%;
779 background: var(--azure-bright);
780 box-shadow: 0 0 8px var(--azure-glow-intense);
781 border-radius: 3px;
782}
783
784.daemon-list {
785 display: flex;
786 flex-direction: column;
787 gap: 6px;
788 margin-top: 6px;
789}
790
791.d-item {
792 display: flex;
793 align-items: center;
794 gap: 8px;
795 font-size: 12px;
796 font-family: var(--font-mono);
797}
798
799/* Glass Form Controls */
800.glass-input, .glass-select {
801 background: rgba(0, 0, 0, 0.4);
802 border: 1px solid var(--glass-border);
803 border-radius: var(--radius-sm);
804 color: var(--text-main);
805 padding: 7px 10px;
806 font-family: var(--font-mono);
807 font-size: 12px;
808 outline: none;
809}
810
811.glass-input:focus, .glass-select:focus {
812 border-color: var(--azure-bright);
813 box-shadow: 0 0 10px var(--azure-glow);
814}
815
816.btn {
817 display: inline-flex;
818 align-items: center;
819 justify-content: center;
820 gap: 6px;
821 padding: 8px 14px;
822 border-radius: var(--radius-sm);
823 font-size: 12px;
824 font-weight: 600;
825 cursor: pointer;
826 transition: all 0.2s ease;
827 border: none;
828}
829
830.btn-sm {
831 padding: 5px 10px;
832 font-size: 11px;
833}
834
835.btn-primary {
836 background: var(--azure-primary);
837 color: #ffffff;
838 box-shadow: 0 0 12px var(--azure-glow);
839}
840
841.btn-primary:hover {
842 background: var(--azure-bright);
843 box-shadow: 0 0 18px var(--azure-glow-intense);
844}
845
846.btn-secondary {
847 background: rgba(255, 255, 255, 0.08);
848 color: var(--text-main);
849 border: 1px solid var(--glass-border);
850}
851
852.btn-secondary:hover {
853 background: rgba(255, 255, 255, 0.14);
854}
855
856/* Sovereign Mail Pod Details */
857.mail-info-bar {
858 display: flex;
859 justify-content: space-between;
860 font-size: 11px;
861 font-family: var(--font-mono);
862 padding: 6px 10px;
863}
864
865.mail-inbox-scroll {
866 display: flex;
867 flex-direction: column;
868 gap: 8px;
869 max-height: 480px;
870 overflow-y: auto;
871}
872
873.mail-item {
874 display: flex;
875 flex-direction: column;
876 gap: 4px;
877 padding: 10px;
878 background: var(--glass-inset);
879 border: 1px solid var(--glass-border);
880 border-radius: var(--radius-sm);
881 cursor: pointer;
882 transition: all 0.15s ease;
883}
884
885.mail-item:hover {
886 border-color: var(--azure-bright);
887 background: rgba(0, 120, 212, 0.08);
888}
889
890.mail-meta {
891 display: flex;
892 justify-content: space-between;
893 font-size: 11px;
894 color: var(--azure-light);
895}
896
897.mail-subject {
898 font-weight: 600;
899 font-size: 12px;
900 color: #ffffff;
901}
902
903/* Artifact Empty State */
904.artifact-empty-state {
905 display: flex;
906 flex-direction: column;
907 align-items: center;
908 justify-content: center;
909 text-align: center;
910 padding: 40px 20px;
911 color: var(--text-dim);
912 gap: 12px;
913}
914
915.artifact-empty-state i {
916 width: 36px;
917 height: 36px;
918 color: var(--azure-bright);
919 opacity: 0.6;
920}
921
922/* Responsive adjustments */
923@media (max-width: 1024px) {
924 .avionics-telemetry { display: none; }
925 .satellite-pod { width: 90vw !important; right: 5vw !important; left: 5vw !important; }
926}