feat: Add NVIDIA industrial design dashboard with Create/Destoy sandbox workflows
- Industrial dark theme with #76B900 NVIDIA green accents - Real-time telemetry from Kubernetes API - Create Sandbox button and workflow - Destroy Sandbox mode with destructive confirmation overlay - Sidebar fetches pod data directly from /api/telemetry/real - Fixed TypeError with defensive array checks - Technical typography, sharp corners, data-dense panels - Status indicators: GREEN RUNNING, red DESTROY mode
This commit is contained in:
+116
@@ -0,0 +1,116 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
:root {
|
||||
/* NVIDIA Industrial Design System */
|
||||
--nvidia-green: #76B900;
|
||||
--nvidia-green-hover: #5d9600;
|
||||
--nvidia-green-dim: rgba(118, 185, 0, 0.2);
|
||||
|
||||
/* Deep dark backgrounds - industrial grade */
|
||||
--background: #0a0a0a;
|
||||
--background-secondary: #121212;
|
||||
--background-tertiary: #1a1a1a;
|
||||
--background-panel: #1e1e1e;
|
||||
|
||||
/* Technical grays */
|
||||
--foreground: #e5e5e5;
|
||||
--foreground-dim: #9ca3af;
|
||||
--border-subtle: #2a2a2a;
|
||||
--border-medium: #3a3a3a;
|
||||
|
||||
/* Status colors - professional */
|
||||
--status-running: #76B900;
|
||||
--status-running-bg: rgba(118, 185, 0, 0.15);
|
||||
--status-pending: #9ca3af;
|
||||
--status-pending-bg: rgba(156, 163, 175, 0.15);
|
||||
--status-stopped: #dc2626;
|
||||
--status-stopped-bg: rgba(220, 38, 38, 0.15);
|
||||
|
||||
/* Data visualization */
|
||||
--metric-bg: #161616;
|
||||
--metric-border: #2a2a2a;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
/* Light mode - still professional */
|
||||
--background: #f5f5f5;
|
||||
--background-secondary: #eeeeee;
|
||||
--background-tertiary: #e5e5e5;
|
||||
--background-panel: #ffffff;
|
||||
--foreground: #171717;
|
||||
--foreground-dim: #525252;
|
||||
--border-subtle: #d4d4d4;
|
||||
--border-medium: #a3a3a3;
|
||||
--metric-bg: #fafafa;
|
||||
--metric-border: #e5e5e5;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
color: var(--foreground);
|
||||
background: var(--background);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.text-balance {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
/* NVIDIA Green accent */
|
||||
.nvidia-text {
|
||||
color: var(--nvidia-green);
|
||||
}
|
||||
|
||||
.nvidia-border {
|
||||
border-color: var(--nvidia-green);
|
||||
}
|
||||
|
||||
.nvidia-bg {
|
||||
background-color: var(--nvidia-green);
|
||||
}
|
||||
|
||||
/* Status indicators - professional LEDs */
|
||||
.status-running {
|
||||
color: var(--status-running);
|
||||
}
|
||||
|
||||
.status-running-bg {
|
||||
background-color: var(--status-running-bg);
|
||||
}
|
||||
|
||||
.status-pending {
|
||||
color: var(--status-pending);
|
||||
}
|
||||
|
||||
.status-pending-bg {
|
||||
background-color: var(--status-pending-bg);
|
||||
}
|
||||
|
||||
.status-stopped {
|
||||
color: var(--status-stopped);
|
||||
}
|
||||
|
||||
.status-stopped-bg {
|
||||
background-color: var(--status-stopped-bg);
|
||||
}
|
||||
|
||||
/* Panel styling - technical data panels */
|
||||
.panel {
|
||||
background: var(--background-panel);
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Metric display - data-dense */
|
||||
.metric {
|
||||
background: var(--metric-bg);
|
||||
border: 1px solid var(--metric-border);
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user