mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 14:47:26 +00:00
UI: gateway dashboard with glassmorphism theme system
Add a full-featured gateway dashboard UI built on Lit web components. Shell & plumbing: - App shell with router, controllers, and dependency wiring - Login gate, i18n keys, and base layout scaffolding Styles & theming: - Base styles, chat styles, and responsive layout CSS - 6-theme glassmorphism system (Obsidian, Aurora, Solar, etc.) - Glass card, glass panel, and glass input components - Favicon logo in expanded sidebar header Views & features: - Overview with attention cards, event log, quick actions, and log tail - Chat view with markdown rendering, tool-call collapse, and delete support - Command palette with fuzzy search - Agent overview with config display, slash commands, and sidebar filtering - Session list navigation and agent selector Privacy & polish: - Redact toggle with stream-mode default - Blur host/IP in Connected Instances with reveal toggle - Sensitive config value masking with count badge - Card accent borders, hover lift effects, and responsive grid
This commit is contained in:
@@ -1,108 +1,500 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");
|
||||
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;700&family=JetBrains+Mono:wght@400;500;700&display=swap");
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* ════════════════════════════════════════════════════════
|
||||
Theme System — 6 Glassmorphism Themes
|
||||
════════════════════════════════════════════════════════ */
|
||||
|
||||
/* ─── Design Tokens (shared across all themes) ─── */
|
||||
|
||||
:root {
|
||||
/* Background - Warmer dark with depth */
|
||||
--bg: #12141a;
|
||||
--bg-accent: #14161d;
|
||||
--bg-elevated: #1a1d25;
|
||||
--bg-hover: #262a35;
|
||||
--bg-muted: #262a35;
|
||||
--icon-size-xs: 0.9rem;
|
||||
--icon-size-sm: 1.05rem;
|
||||
--icon-size-md: 1.25rem;
|
||||
--icon-size-xl: 2.4rem;
|
||||
|
||||
/* Card / Surface - More contrast between levels */
|
||||
--card: #181b22;
|
||||
--card-foreground: #f4f4f5;
|
||||
--card-highlight: rgba(255, 255, 255, 0.05);
|
||||
--popover: #181b22;
|
||||
--popover-foreground: #f4f4f5;
|
||||
--font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
||||
--font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
|
||||
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
|
||||
/* Panel */
|
||||
--panel: #12141a;
|
||||
--panel-strong: #1a1d25;
|
||||
--panel-hover: #262a35;
|
||||
--chrome: rgba(18, 20, 26, 0.95);
|
||||
--chrome-strong: rgba(18, 20, 26, 0.98);
|
||||
|
||||
/* Text - Slightly warmer */
|
||||
--text: #e4e4e7;
|
||||
--text-strong: #fafafa;
|
||||
--chat-text: #e4e4e7;
|
||||
--muted: #71717a;
|
||||
--muted-strong: #52525b;
|
||||
--muted-foreground: #71717a;
|
||||
|
||||
/* Border - Subtle but defined */
|
||||
--border: #27272a;
|
||||
--border-strong: #3f3f46;
|
||||
--border-hover: #52525b;
|
||||
--input: #27272a;
|
||||
--ring: #ff5c5c;
|
||||
|
||||
/* Accent - Punchy signature red */
|
||||
--accent: #ff5c5c;
|
||||
--accent-hover: #ff7070;
|
||||
--accent-muted: #ff5c5c;
|
||||
--accent-subtle: rgba(255, 92, 92, 0.15);
|
||||
--accent-foreground: #fafafa;
|
||||
--accent-glow: rgba(255, 92, 92, 0.25);
|
||||
--primary: #ff5c5c;
|
||||
--primary-foreground: #ffffff;
|
||||
|
||||
/* Secondary - Teal accent for variety */
|
||||
--secondary: #1e2028;
|
||||
--secondary-foreground: #f4f4f5;
|
||||
--accent-2: #14b8a6;
|
||||
--accent-2-muted: rgba(20, 184, 166, 0.7);
|
||||
--accent-2-subtle: rgba(20, 184, 166, 0.15);
|
||||
|
||||
/* Semantic - More saturated */
|
||||
--ok: #22c55e;
|
||||
--ok-muted: rgba(34, 197, 94, 0.75);
|
||||
--ok-subtle: rgba(34, 197, 94, 0.12);
|
||||
--destructive: #ef4444;
|
||||
--destructive-foreground: #fafafa;
|
||||
--warn: #f59e0b;
|
||||
--warn-muted: rgba(245, 158, 11, 0.75);
|
||||
--warn-subtle: rgba(245, 158, 11, 0.12);
|
||||
--danger: #ef4444;
|
||||
--danger-muted: rgba(239, 68, 68, 0.75);
|
||||
--danger-subtle: rgba(239, 68, 68, 0.12);
|
||||
--info: #3b82f6;
|
||||
|
||||
/* Focus - With glow */
|
||||
--focus: rgba(255, 92, 92, 0.25);
|
||||
--focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--ring);
|
||||
--focus-glow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ring), 0 0 20px var(--accent-glow);
|
||||
|
||||
/* Grid */
|
||||
--grid-line: rgba(255, 255, 255, 0.04);
|
||||
|
||||
/* Theme transition */
|
||||
--theme-switch-x: 50%;
|
||||
--theme-switch-y: 50%;
|
||||
}
|
||||
|
||||
/* Typography - Space Grotesk for personality */
|
||||
--mono:
|
||||
"JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
|
||||
--font-body: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
--font-display:
|
||||
"Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
:root {
|
||||
--clay-duration-fast: 0ms;
|
||||
--clay-duration-normal: 0ms;
|
||||
--clay-duration-slow: 0ms;
|
||||
}
|
||||
|
||||
/* Shadows - Richer with subtle color */
|
||||
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.03);
|
||||
--shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03);
|
||||
--shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
|
||||
--shadow-glow: 0 0 30px var(--accent-glow);
|
||||
* {
|
||||
animation-duration: 0s !important;
|
||||
transition-duration: 0s !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Radii - Slightly larger for friendlier feel */
|
||||
/* ─── Theme: dark (Home) — Deep-sea Operations Console ─── */
|
||||
|
||||
:root,
|
||||
:root[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
|
||||
--vscode-bg: #040810;
|
||||
--vscode-sidebar: #06090f;
|
||||
--vscode-panel: #0a0e16;
|
||||
--vscode-panel-border: rgba(0, 212, 170, 0.08);
|
||||
--vscode-surface: #0e1420;
|
||||
--vscode-hover: #121a28;
|
||||
--vscode-contrast: #020408;
|
||||
--vscode-text: #d0d8e4;
|
||||
--vscode-muted: #6e7a8a;
|
||||
--vscode-subtle: #3a4454;
|
||||
--vscode-ghost: #0c1018;
|
||||
--vscode-accent: #ca3a29;
|
||||
--vscode-accent-alpha: rgba(202, 58, 41, 0.14);
|
||||
--vscode-selection: #3d1418;
|
||||
--vscode-success: #00d4aa;
|
||||
--vscode-danger: #ca3a29;
|
||||
|
||||
--kn-claw: #ca3a29;
|
||||
--kn-claw-bright: #fd8e2e;
|
||||
--kn-claw-dim: rgba(202, 58, 41, 0.12);
|
||||
--kn-claw-ember: #fb9231;
|
||||
--kn-claw-deep: #9a2d1f;
|
||||
--kn-ocean: #09181e;
|
||||
--kn-ocean-bright: #132a36;
|
||||
--kn-ocean-mid: #0c1e28;
|
||||
--kn-ocean-dim: rgba(9, 24, 30, 0.8);
|
||||
--kn-ocean-deep: #040810;
|
||||
--kn-silver: #8a9baa;
|
||||
--kn-silver-bright: #c0cdd6;
|
||||
--kn-silver-dim: rgba(138, 155, 170, 0.12);
|
||||
--kn-bioluminescence: #00d4aa;
|
||||
--kn-warm-dark: #221016;
|
||||
--kn-void: #221016;
|
||||
|
||||
--glass-blur: 8px;
|
||||
--glass-saturate: 120%;
|
||||
--glass-bg: rgba(10, 14, 22, 0.82);
|
||||
--glass-bg-elevated: rgba(14, 20, 32, 0.88);
|
||||
--glass-border: rgba(0, 212, 170, 0.08);
|
||||
--glass-border-hover: rgba(202, 58, 41, 0.3);
|
||||
--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
--glass-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
|
||||
--glass-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 170, 0.06);
|
||||
--glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 212, 170, 0.08);
|
||||
|
||||
--radius-xs: 4px;
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 12px;
|
||||
--radius-lg: 16px;
|
||||
--radius-xl: 20px;
|
||||
--radius-full: 9999px;
|
||||
}
|
||||
|
||||
/* ─── Theme: light (Docs) — Warm Editorial Dark ─── */
|
||||
|
||||
:root[data-theme="light"] {
|
||||
color-scheme: dark;
|
||||
|
||||
--vscode-bg: #0e0c0e;
|
||||
--vscode-sidebar: #131012;
|
||||
--vscode-panel: #161214;
|
||||
--vscode-panel-border: rgba(255, 255, 255, 0.06);
|
||||
--vscode-surface: #1a1618;
|
||||
--vscode-hover: #201c1e;
|
||||
--vscode-contrast: #080608;
|
||||
--vscode-text: #d5d0cf;
|
||||
--vscode-muted: #7a7472;
|
||||
--vscode-subtle: #4a4442;
|
||||
--vscode-ghost: #1a1616;
|
||||
--vscode-accent: #ca3a29;
|
||||
--vscode-accent-alpha: rgba(202, 58, 41, 0.14);
|
||||
--vscode-selection: #3d1418;
|
||||
--vscode-success: #00d4aa;
|
||||
--vscode-danger: #ca3a29;
|
||||
|
||||
--kn-claw: #ca3a29;
|
||||
--kn-claw-bright: #fd8e2e;
|
||||
--kn-claw-dim: rgba(202, 58, 41, 0.12);
|
||||
--kn-claw-ember: #fb9231;
|
||||
--kn-claw-deep: #9a2d1f;
|
||||
--kn-ocean: #0e0c0e;
|
||||
--kn-ocean-bright: #201c1e;
|
||||
--kn-ocean-mid: #161214;
|
||||
--kn-ocean-dim: rgba(14, 12, 14, 0.8);
|
||||
--kn-ocean-deep: #0e0c0e;
|
||||
--kn-silver: #8a7e72;
|
||||
--kn-silver-bright: #c0b4a8;
|
||||
--kn-silver-dim: rgba(138, 126, 114, 0.12);
|
||||
--kn-bioluminescence: #00d4aa;
|
||||
--kn-warm-dark: #1a1416;
|
||||
--kn-void: #1a1416;
|
||||
|
||||
--glass-blur: 0px;
|
||||
--glass-saturate: 100%;
|
||||
--glass-bg: rgba(22, 18, 20, 0.95);
|
||||
--glass-bg-elevated: rgba(26, 22, 24, 0.96);
|
||||
--glass-border: rgba(255, 255, 255, 0.06);
|
||||
--glass-border-hover: rgba(202, 58, 41, 0.25);
|
||||
--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
||||
--glass-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
--glass-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
|
||||
--glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
|
||||
|
||||
--radius-xs: 4px;
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 12px;
|
||||
--radius-lg: 16px;
|
||||
--radius-xl: 20px;
|
||||
--radius-full: 9999px;
|
||||
}
|
||||
|
||||
/* ─── Theme: openknot — Minimalist Premium Noir ─── */
|
||||
|
||||
:root[data-theme="openknot"] {
|
||||
color-scheme: dark;
|
||||
|
||||
--vscode-bg: #000000;
|
||||
--vscode-sidebar: #080808;
|
||||
--vscode-panel: #0c0c0c;
|
||||
--vscode-panel-border: rgba(167, 139, 250, 0.08);
|
||||
--vscode-surface: #111111;
|
||||
--vscode-hover: #181818;
|
||||
--vscode-contrast: #000000;
|
||||
--vscode-text: #e4e4e7;
|
||||
--vscode-muted: #71717a;
|
||||
--vscode-subtle: #3f3f46;
|
||||
--vscode-ghost: #18181b;
|
||||
--vscode-accent: #a78bfa;
|
||||
--vscode-accent-alpha: rgba(167, 139, 250, 0.14);
|
||||
--vscode-selection: #2e1a5e;
|
||||
--vscode-success: #a78bfa;
|
||||
--vscode-danger: #a78bfa;
|
||||
|
||||
--kn-claw: #a78bfa;
|
||||
--kn-claw-bright: #c4b5fd;
|
||||
--kn-claw-dim: rgba(167, 139, 250, 0.12);
|
||||
--kn-claw-ember: #c4b5fd;
|
||||
--kn-claw-deep: #7c3aed;
|
||||
--kn-ocean: #000000;
|
||||
--kn-ocean-bright: #1a1a1e;
|
||||
--kn-ocean-mid: #0e0e12;
|
||||
--kn-ocean-dim: rgba(0, 0, 0, 0.8);
|
||||
--kn-ocean-deep: #000000;
|
||||
--kn-silver: #71717a;
|
||||
--kn-silver-bright: #a1a1aa;
|
||||
--kn-silver-dim: rgba(113, 113, 122, 0.12);
|
||||
--kn-bioluminescence: #c4b5fd;
|
||||
--kn-warm-dark: #18181b;
|
||||
--kn-void: #18181b;
|
||||
|
||||
--glass-blur: 12px;
|
||||
--glass-saturate: 110%;
|
||||
--glass-bg: rgba(12, 12, 12, 0.85);
|
||||
--glass-bg-elevated: rgba(17, 17, 17, 0.9);
|
||||
--glass-border: rgba(167, 139, 250, 0.08);
|
||||
--glass-border-hover: rgba(167, 139, 250, 0.3);
|
||||
--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
--glass-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
|
||||
--glass-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(167, 139, 250, 0.06);
|
||||
--glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(167, 139, 250, 0.08);
|
||||
|
||||
--radius-xs: 4px;
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 12px;
|
||||
--radius-lg: 16px;
|
||||
--radius-xl: 20px;
|
||||
--radius-full: 9999px;
|
||||
}
|
||||
|
||||
/* ─── Theme: fieldmanual — Industrial Dossier ─── */
|
||||
|
||||
:root[data-theme="fieldmanual"] {
|
||||
color-scheme: dark;
|
||||
|
||||
--vscode-bg: #0e0e0e;
|
||||
--vscode-sidebar: #121212;
|
||||
--vscode-panel: #161616;
|
||||
--vscode-panel-border: rgba(255, 255, 255, 0.1);
|
||||
--vscode-surface: #1a1a1a;
|
||||
--vscode-hover: #222222;
|
||||
--vscode-contrast: #0a0a0a;
|
||||
--vscode-text: #d4d4d4;
|
||||
--vscode-muted: #737373;
|
||||
--vscode-subtle: #404040;
|
||||
--vscode-ghost: #1a1a1a;
|
||||
--vscode-accent: #ca3a29;
|
||||
--vscode-accent-alpha: rgba(202, 58, 41, 0.14);
|
||||
--vscode-selection: #3d1418;
|
||||
--vscode-success: #61d6ff;
|
||||
--vscode-danger: #ca3a29;
|
||||
|
||||
--kn-claw: #ca3a29;
|
||||
--kn-claw-bright: #ff6b4a;
|
||||
--kn-claw-dim: rgba(202, 58, 41, 0.12);
|
||||
--kn-claw-ember: #ff6b4a;
|
||||
--kn-claw-deep: #9a2d1f;
|
||||
--kn-ocean: #0e0e0e;
|
||||
--kn-ocean-bright: #222222;
|
||||
--kn-ocean-mid: #161616;
|
||||
--kn-ocean-dim: rgba(14, 14, 14, 0.8);
|
||||
--kn-ocean-deep: #0e0e0e;
|
||||
--kn-silver: #737373;
|
||||
--kn-silver-bright: #a3a3a3;
|
||||
--kn-silver-dim: rgba(115, 115, 115, 0.12);
|
||||
--kn-bioluminescence: #61d6ff;
|
||||
--kn-warm-dark: #1a1a1a;
|
||||
--kn-void: #1a1a1a;
|
||||
|
||||
--glass-blur: 0px;
|
||||
--glass-saturate: 100%;
|
||||
--glass-bg: rgba(22, 22, 22, 0.95);
|
||||
--glass-bg-elevated: rgba(26, 26, 26, 0.96);
|
||||
--glass-border: rgba(255, 255, 255, 0.1);
|
||||
--glass-border-hover: rgba(202, 58, 41, 0.35);
|
||||
--glass-highlight: none;
|
||||
--glass-shadow-sm: none;
|
||||
--glass-shadow-md: none;
|
||||
--glass-shadow-lg: none;
|
||||
|
||||
--radius-xs: 0px;
|
||||
--radius-sm: 0px;
|
||||
--radius-md: 0px;
|
||||
--radius-lg: 0px;
|
||||
--radius-xl: 0px;
|
||||
--radius-full: 0px;
|
||||
}
|
||||
|
||||
/* ─── Theme: openai — Crimson Glassmorphic ─── */
|
||||
|
||||
:root[data-theme="openai"] {
|
||||
color-scheme: dark;
|
||||
|
||||
--vscode-bg: #0c0606;
|
||||
--vscode-sidebar: #100808;
|
||||
--vscode-panel: #140a0a;
|
||||
--vscode-panel-border: rgba(202, 58, 41, 0.12);
|
||||
--vscode-surface: #1a0e0e;
|
||||
--vscode-hover: #221414;
|
||||
--vscode-contrast: #060202;
|
||||
--vscode-text: #e8d8d4;
|
||||
--vscode-muted: #8a6a64;
|
||||
--vscode-subtle: #4a3430;
|
||||
--vscode-ghost: #1a0e0e;
|
||||
--vscode-accent: #ca3a29;
|
||||
--vscode-accent-alpha: rgba(202, 58, 41, 0.18);
|
||||
--vscode-selection: #7d261c;
|
||||
--vscode-success: #fd8e2e;
|
||||
--vscode-danger: #ca3a29;
|
||||
|
||||
--kn-claw: #ca3a29;
|
||||
--kn-claw-bright: #ff4e41;
|
||||
--kn-claw-dim: rgba(202, 58, 41, 0.15);
|
||||
--kn-claw-ember: #fd8e2e;
|
||||
--kn-claw-deep: #9a2d1f;
|
||||
--kn-ocean: #0c0606;
|
||||
--kn-ocean-bright: #221414;
|
||||
--kn-ocean-mid: #140a0a;
|
||||
--kn-ocean-dim: rgba(12, 6, 6, 0.8);
|
||||
--kn-ocean-deep: #0c0606;
|
||||
--kn-silver: #8a6a64;
|
||||
--kn-silver-bright: #c0a49c;
|
||||
--kn-silver-dim: rgba(138, 106, 100, 0.12);
|
||||
--kn-bioluminescence: #fd8e2e;
|
||||
--kn-warm-dark: #221016;
|
||||
--kn-void: #221016;
|
||||
|
||||
--glass-blur: 14px;
|
||||
--glass-saturate: 130%;
|
||||
--glass-bg: rgba(20, 10, 10, 0.78);
|
||||
--glass-bg-elevated: rgba(26, 14, 14, 0.85);
|
||||
--glass-border: rgba(202, 58, 41, 0.12);
|
||||
--glass-border-hover: rgba(202, 58, 41, 0.4);
|
||||
--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
||||
--glass-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 4px rgba(202, 58, 41, 0.08);
|
||||
--glass-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 12px rgba(202, 58, 41, 0.1);
|
||||
--glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(202, 58, 41, 0.12);
|
||||
|
||||
--radius-xs: 4px;
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 12px;
|
||||
--radius-lg: 16px;
|
||||
--radius-xl: 20px;
|
||||
--radius-full: 9999px;
|
||||
}
|
||||
|
||||
/* ─── Theme: clawdash — Chrome Metallic ─── */
|
||||
|
||||
:root[data-theme="clawdash"] {
|
||||
color-scheme: dark;
|
||||
|
||||
--vscode-bg: #050507;
|
||||
--vscode-sidebar: #08080c;
|
||||
--vscode-panel: #0c0c10;
|
||||
--vscode-panel-border: rgba(192, 200, 212, 0.1);
|
||||
--vscode-surface: #101014;
|
||||
--vscode-hover: #161620;
|
||||
--vscode-contrast: #020204;
|
||||
--vscode-text: #e8ecf0;
|
||||
--vscode-muted: #8a94a4;
|
||||
--vscode-subtle: #4a5060;
|
||||
--vscode-ghost: #1a1a22;
|
||||
--vscode-accent: #ca3a29;
|
||||
--vscode-accent-alpha: rgba(202, 58, 41, 0.14);
|
||||
--vscode-selection: #3d1418;
|
||||
--vscode-success: #00d4aa;
|
||||
--vscode-danger: #ca3a29;
|
||||
|
||||
--kn-claw: #ca3a29;
|
||||
--kn-claw-bright: #ff4e41;
|
||||
--kn-claw-dim: rgba(202, 58, 41, 0.12);
|
||||
--kn-claw-ember: #fd8e2e;
|
||||
--kn-claw-deep: #9a2d1f;
|
||||
--kn-ocean: #08080c;
|
||||
--kn-ocean-bright: #161620;
|
||||
--kn-ocean-mid: #0c0c10;
|
||||
--kn-ocean-dim: rgba(8, 8, 12, 0.8);
|
||||
--kn-ocean-deep: #050507;
|
||||
--kn-silver: #7a8494;
|
||||
--kn-silver-bright: #c0c8d4;
|
||||
--kn-silver-dim: rgba(192, 200, 212, 0.12);
|
||||
--kn-bioluminescence: #00d4aa;
|
||||
--kn-warm-dark: #1a1a22;
|
||||
--kn-void: #1a1a22;
|
||||
|
||||
--glass-blur: 16px;
|
||||
--glass-saturate: 150%;
|
||||
--glass-bg: rgba(12, 12, 16, 0.8);
|
||||
--glass-bg-elevated: rgba(16, 16, 20, 0.88);
|
||||
--glass-border: rgba(192, 200, 212, 0.08);
|
||||
--glass-border-hover: rgba(192, 200, 212, 0.25);
|
||||
--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
--glass-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 4px rgba(192, 200, 212, 0.04);
|
||||
--glass-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 12px rgba(192, 200, 212, 0.06);
|
||||
--glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(192, 200, 212, 0.08);
|
||||
|
||||
--radius-xs: 3px;
|
||||
--radius-sm: 6px;
|
||||
--radius-md: 8px;
|
||||
--radius-lg: 12px;
|
||||
--radius-xl: 16px;
|
||||
--radius-lg: 10px;
|
||||
--radius-xl: 14px;
|
||||
--radius-full: 9999px;
|
||||
--radius: 8px;
|
||||
}
|
||||
|
||||
/* Transitions - Snappy but smooth */
|
||||
/* ─── Semantic Alias Layer ───
|
||||
Maps foundation vars to the short names used throughout
|
||||
component CSS, so themes work without per-component overrides. */
|
||||
|
||||
:root,
|
||||
:root[data-theme="dark"],
|
||||
:root[data-theme="light"],
|
||||
:root[data-theme="openknot"],
|
||||
:root[data-theme="fieldmanual"],
|
||||
:root[data-theme="openai"],
|
||||
:root[data-theme="clawdash"] {
|
||||
/* Core surfaces */
|
||||
--bg: var(--vscode-bg);
|
||||
--bg-accent: var(--vscode-sidebar);
|
||||
--bg-elevated: var(--vscode-surface);
|
||||
--bg-hover: var(--vscode-hover);
|
||||
--bg-muted: var(--vscode-sidebar);
|
||||
--bg-content: var(--vscode-bg);
|
||||
|
||||
/* Card/popover surfaces */
|
||||
--card: var(--vscode-panel);
|
||||
--card-foreground: var(--vscode-text);
|
||||
--card-highlight: rgba(255, 255, 255, 0.04);
|
||||
--popover: var(--vscode-panel);
|
||||
--popover-foreground: var(--vscode-text);
|
||||
|
||||
/* Panel/chrome surfaces */
|
||||
--panel: var(--vscode-sidebar);
|
||||
--panel-strong: var(--vscode-panel);
|
||||
--panel-hover: var(--vscode-hover);
|
||||
--chrome: var(--glass-bg);
|
||||
--chrome-strong: var(--glass-bg-elevated);
|
||||
|
||||
/* Typography */
|
||||
--text: var(--vscode-text);
|
||||
--text-strong: var(--vscode-text);
|
||||
--chat-text: var(--vscode-text);
|
||||
--muted: var(--vscode-muted);
|
||||
--muted-strong: var(--vscode-subtle);
|
||||
--muted-foreground: var(--vscode-muted);
|
||||
|
||||
/* Borders + controls */
|
||||
--border: var(--glass-border);
|
||||
--border-strong: var(--glass-border-hover);
|
||||
--border-hover: var(--glass-border-hover);
|
||||
--input: var(--glass-border);
|
||||
--ring: var(--vscode-accent);
|
||||
|
||||
/* Accent */
|
||||
--accent: var(--vscode-accent);
|
||||
--accent-strong: var(--kn-claw-deep);
|
||||
--accent-hover: var(--kn-claw-bright);
|
||||
--accent-muted: var(--vscode-accent);
|
||||
--accent-subtle: var(--vscode-accent-alpha);
|
||||
--accent-foreground: #fafafa;
|
||||
--accent-glow: var(--kn-claw-dim);
|
||||
--accent-soft: var(--vscode-accent-alpha);
|
||||
--primary: var(--vscode-accent);
|
||||
--primary-foreground: #ffffff;
|
||||
|
||||
/* Secondary */
|
||||
--secondary: var(--vscode-sidebar);
|
||||
--secondary-foreground: var(--vscode-text);
|
||||
--accent-2: var(--kn-bioluminescence);
|
||||
--accent-2-muted: var(--kn-silver);
|
||||
--accent-2-subtle: var(--kn-silver-dim);
|
||||
|
||||
/* Semantic */
|
||||
--ok: var(--vscode-success);
|
||||
--ok-muted: var(--vscode-success);
|
||||
--ok-subtle: var(--kn-silver-dim);
|
||||
--destructive: var(--vscode-danger);
|
||||
--destructive-foreground: #fafafa;
|
||||
--warn: var(--kn-claw-ember);
|
||||
--warn-muted: var(--kn-claw-ember);
|
||||
--warn-subtle: var(--kn-claw-dim);
|
||||
--danger: var(--vscode-danger);
|
||||
--danger-muted: var(--vscode-danger);
|
||||
--danger-subtle: var(--kn-claw-dim);
|
||||
--info: #3b82f6;
|
||||
--success: var(--vscode-success);
|
||||
|
||||
/* Focus */
|
||||
--focus: var(--kn-claw-dim);
|
||||
--focus-offset-color: var(--bg);
|
||||
--focus-ring-width: 2px;
|
||||
--focus-ring-offset-width: 2px;
|
||||
--focus-ring-color: var(--vscode-accent);
|
||||
--focus-ring:
|
||||
0 0 0 var(--focus-ring-offset-width) var(--focus-offset-color),
|
||||
0 0 0 calc(var(--focus-ring-offset-width) + var(--focus-ring-width)) var(--focus-ring-color);
|
||||
--focus-glow:
|
||||
0 0 0 var(--focus-ring-offset-width) var(--focus-offset-color),
|
||||
0 0 0 calc(var(--focus-ring-offset-width) + var(--focus-ring-width)) var(--focus-ring-color),
|
||||
0 0 18px var(--accent-glow);
|
||||
|
||||
--grid-line: rgba(255, 255, 255, 0.04);
|
||||
|
||||
/* Shadows */
|
||||
--shadow-sm: var(--glass-shadow-sm);
|
||||
--shadow-md: var(--glass-shadow-md);
|
||||
--shadow-lg: var(--glass-shadow-lg);
|
||||
--shadow-xl: var(--glass-shadow-lg);
|
||||
--shadow-glow: 0 0 30px var(--accent-glow);
|
||||
|
||||
/* Radii — aliased from foundation */
|
||||
--radius: var(--radius-md);
|
||||
|
||||
/* Timing */
|
||||
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
@@ -110,88 +502,68 @@
|
||||
--duration-normal: 200ms;
|
||||
--duration-slow: 350ms;
|
||||
|
||||
color-scheme: dark;
|
||||
/* Typography stacks */
|
||||
--mono:
|
||||
"JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
|
||||
--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
--font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
|
||||
/* Clay compat layer (dashboard-lit components) */
|
||||
--clay-bg: var(--vscode-bg);
|
||||
--clay-bg-card: var(--vscode-panel);
|
||||
--clay-bg-elevated: var(--vscode-surface);
|
||||
--clay-bg-button: var(--vscode-hover);
|
||||
--clay-bg-interactive: var(--vscode-accent-alpha);
|
||||
--clay-bg-pressed: var(--vscode-selection);
|
||||
--clay-bg-scrim: rgba(0, 0, 0, 0.6);
|
||||
--clay-border-color: var(--glass-border);
|
||||
--clay-border-subtle: var(--vscode-panel-border);
|
||||
--clay-shadow: var(--glass-shadow-sm);
|
||||
--clay-shadow-elevated: var(--glass-shadow-md);
|
||||
--clay-shadow-pressed: var(--glass-shadow-sm);
|
||||
--clay-shadow-subtle: var(--glass-shadow-sm);
|
||||
--clay-radius-sm: var(--radius-sm);
|
||||
--clay-radius: var(--radius-md);
|
||||
--clay-radius-md: var(--radius-md);
|
||||
--clay-radius-lg: var(--radius-lg);
|
||||
--clay-radius-xl: var(--radius-xl);
|
||||
--clay-radius-pill: var(--radius-full);
|
||||
--clay-duration-fast: 150ms;
|
||||
--clay-duration-normal: 250ms;
|
||||
--clay-duration-slow: 400ms;
|
||||
--clay-easing: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
|
||||
/* Layout semantic tokens */
|
||||
--topbar-bg: var(--vscode-sidebar);
|
||||
--topbar-shadow: none;
|
||||
--topbar-border: 1px solid var(--glass-border);
|
||||
--topbar-title-color: var(--vscode-text);
|
||||
--topbar-title-weight: 600;
|
||||
--sidebar-bg: var(--vscode-sidebar);
|
||||
--sidebar-border: none;
|
||||
--sidebar-nav-inactive: var(--vscode-muted);
|
||||
--sidebar-nav-active-bg: var(--vscode-accent-alpha);
|
||||
--sidebar-nav-active-bar: 3px solid var(--vscode-accent);
|
||||
--agent-header-bg: var(--vscode-panel);
|
||||
--agent-header-border: 1px solid var(--glass-border);
|
||||
--agent-tab-active-bg: var(--vscode-accent-alpha);
|
||||
--agent-tab-hover-bg: var(--vscode-accent-alpha);
|
||||
}
|
||||
|
||||
/* Light theme - Clean with subtle warmth */
|
||||
:root[data-theme="light"] {
|
||||
--bg: #fafafa;
|
||||
--bg-accent: #f5f5f5;
|
||||
--bg-elevated: #ffffff;
|
||||
--bg-hover: #f0f0f0;
|
||||
--bg-muted: #f0f0f0;
|
||||
--bg-content: #f5f5f5;
|
||||
/* ─── Accessibility: High Contrast ─── */
|
||||
|
||||
--card: #ffffff;
|
||||
--card-foreground: #18181b;
|
||||
--card-highlight: rgba(0, 0, 0, 0.03);
|
||||
--popover: #ffffff;
|
||||
--popover-foreground: #18181b;
|
||||
|
||||
--panel: #fafafa;
|
||||
--panel-strong: #f5f5f5;
|
||||
--panel-hover: #ebebeb;
|
||||
--chrome: rgba(250, 250, 250, 0.95);
|
||||
--chrome-strong: rgba(250, 250, 250, 0.98);
|
||||
|
||||
--text: #3f3f46;
|
||||
--text-strong: #18181b;
|
||||
--chat-text: #3f3f46;
|
||||
--muted: #71717a;
|
||||
--muted-strong: #52525b;
|
||||
--muted-foreground: #71717a;
|
||||
|
||||
--border: #e4e4e7;
|
||||
--border-strong: #d4d4d8;
|
||||
--border-hover: #a1a1aa;
|
||||
--input: #e4e4e7;
|
||||
|
||||
--accent: #dc2626;
|
||||
--accent-hover: #ef4444;
|
||||
--accent-muted: #dc2626;
|
||||
--accent-subtle: rgba(220, 38, 38, 0.12);
|
||||
--accent-foreground: #ffffff;
|
||||
--accent-glow: rgba(220, 38, 38, 0.15);
|
||||
--primary: #dc2626;
|
||||
--primary-foreground: #ffffff;
|
||||
|
||||
--secondary: #f4f4f5;
|
||||
--secondary-foreground: #3f3f46;
|
||||
--accent-2: #0d9488;
|
||||
--accent-2-muted: rgba(13, 148, 136, 0.75);
|
||||
--accent-2-subtle: rgba(13, 148, 136, 0.12);
|
||||
|
||||
--ok: #16a34a;
|
||||
--ok-muted: rgba(22, 163, 74, 0.75);
|
||||
--ok-subtle: rgba(22, 163, 74, 0.1);
|
||||
--destructive: #dc2626;
|
||||
--destructive-foreground: #fafafa;
|
||||
--warn: #d97706;
|
||||
--warn-muted: rgba(217, 119, 6, 0.75);
|
||||
--warn-subtle: rgba(217, 119, 6, 0.1);
|
||||
--danger: #dc2626;
|
||||
--danger-muted: rgba(220, 38, 38, 0.75);
|
||||
--danger-subtle: rgba(220, 38, 38, 0.1);
|
||||
--info: #2563eb;
|
||||
|
||||
--focus: rgba(220, 38, 38, 0.2);
|
||||
--focus-glow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ring), 0 0 16px var(--accent-glow);
|
||||
|
||||
--grid-line: rgba(0, 0, 0, 0.05);
|
||||
|
||||
/* Light shadows */
|
||||
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
|
||||
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
|
||||
--shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
|
||||
--shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
|
||||
--shadow-glow: 0 0 24px var(--accent-glow);
|
||||
|
||||
color-scheme: light;
|
||||
@media (prefers-contrast: more) {
|
||||
:root {
|
||||
--glass-shadow-sm: 0 0 0 2px var(--vscode-text);
|
||||
--glass-shadow-md: 0 0 0 2px var(--vscode-text);
|
||||
--glass-shadow-lg: 0 0 0 2px var(--vscode-text);
|
||||
--glass-border: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/* ════════════════════════════════════════════════════════
|
||||
Base Styles
|
||||
════════════════════════════════════════════════════════ */
|
||||
|
||||
html,
|
||||
body {
|
||||
@@ -200,8 +572,8 @@ body {
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font: 400 14px/1.55 var(--font-body);
|
||||
letter-spacing: -0.02em;
|
||||
font: 400 15px/1.55 var(--font-body);
|
||||
letter-spacing: -0.01em;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@@ -289,7 +661,170 @@ select {
|
||||
background: var(--border-strong);
|
||||
}
|
||||
|
||||
/* Animations - Polished with spring feel */
|
||||
/* ════════════════════════════════════════════════════════
|
||||
Theme-Specific Decorative Effects
|
||||
════════════════════════════════════════════════════════ */
|
||||
|
||||
/* ─── Dark — Star field + ambient gradients ─── */
|
||||
|
||||
:root[data-theme="dark"] body {
|
||||
background:
|
||||
radial-gradient(ellipse 80% 50% at 50% -5%, rgba(0, 212, 170, 0.06) 0%, transparent 60%),
|
||||
radial-gradient(ellipse 60% 40% at 60% 20%, rgba(202, 58, 41, 0.04) 0%, transparent 50%),
|
||||
var(--bg);
|
||||
}
|
||||
|
||||
@keyframes star-twinkle {
|
||||
0% {
|
||||
opacity: 0.35;
|
||||
}
|
||||
100% {
|
||||
opacity: 0.55;
|
||||
}
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] body::after {
|
||||
content: "";
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
opacity: 0.45;
|
||||
animation: star-twinkle 5s ease-in-out infinite alternate;
|
||||
box-shadow:
|
||||
120px 40px 0 0.4px rgba(0, 212, 170, 0.5),
|
||||
340px 90px 0 0.3px rgba(0, 212, 170, 0.3),
|
||||
580px 60px 0 0.5px rgba(0, 212, 170, 0.6),
|
||||
800px 130px 0 0.3px rgba(0, 212, 170, 0.4),
|
||||
1050px 50px 0 0.4px rgba(0, 212, 170, 0.3),
|
||||
90px 200px 0 0.5px rgba(0, 212, 170, 0.4),
|
||||
470px 220px 0 0.4px rgba(0, 212, 170, 0.5),
|
||||
900px 250px 0 0.5px rgba(0, 212, 170, 0.6),
|
||||
200px 420px 0 0.5px rgba(0, 212, 170, 0.5),
|
||||
640px 450px 0 0.4px rgba(0, 212, 170, 0.4),
|
||||
1060px 380px 0 0.5px rgba(0, 212, 170, 0.3),
|
||||
380px 580px 0 0.3px rgba(0, 212, 170, 0.4),
|
||||
780px 570px 0 0.3px rgba(0, 212, 170, 0.5),
|
||||
110px 680px 0 0.5px rgba(0, 212, 170, 0.4),
|
||||
520px 660px 0 0.4px rgba(0, 212, 170, 0.5);
|
||||
}
|
||||
|
||||
/* ─── openknot — Lavender stars ─── */
|
||||
|
||||
:root[data-theme="openknot"] body::after {
|
||||
content: "";
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
opacity: 0.35;
|
||||
animation: star-twinkle 8s ease-in-out infinite alternate;
|
||||
box-shadow:
|
||||
120px 40px 0 0.4px rgba(196, 181, 253, 0.5),
|
||||
340px 90px 0 0.3px rgba(196, 181, 253, 0.3),
|
||||
580px 60px 0 0.5px rgba(196, 181, 253, 0.6),
|
||||
800px 130px 0 0.3px rgba(196, 181, 253, 0.4),
|
||||
90px 200px 0 0.5px rgba(196, 181, 253, 0.4),
|
||||
470px 220px 0 0.4px rgba(196, 181, 253, 0.5),
|
||||
900px 250px 0 0.5px rgba(196, 181, 253, 0.6),
|
||||
200px 420px 0 0.5px rgba(196, 181, 253, 0.5),
|
||||
640px 450px 0 0.4px rgba(196, 181, 253, 0.4),
|
||||
380px 580px 0 0.3px rgba(196, 181, 253, 0.4),
|
||||
780px 570px 0 0.3px rgba(196, 181, 253, 0.5),
|
||||
520px 660px 0 0.4px rgba(196, 181, 253, 0.5);
|
||||
}
|
||||
|
||||
/* ─── fieldmanual — Industrial Dossier Overrides ─── */
|
||||
|
||||
:root[data-theme="fieldmanual"] .page-title,
|
||||
:root[data-theme="fieldmanual"] .panel-title,
|
||||
:root[data-theme="fieldmanual"] .agent-chat__welcome h2 {
|
||||
font-family: var(--font-mono);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
:root[data-theme="fieldmanual"] .sidebar-brand__title {
|
||||
font-family: var(--font-mono);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
:root[data-theme="fieldmanual"] .glass-dashboard-card,
|
||||
:root[data-theme="fieldmanual"] .stat-card,
|
||||
:root[data-theme="fieldmanual"] .agent-chat__starter {
|
||||
border-style: dashed;
|
||||
}
|
||||
|
||||
:root[data-theme="fieldmanual"] .sidebar {
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
background: var(--vscode-sidebar);
|
||||
}
|
||||
|
||||
:root[data-theme="fieldmanual"] .glass-dashboard-card {
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
background: var(--vscode-panel);
|
||||
}
|
||||
|
||||
:root[data-theme="fieldmanual"] body::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ─── openai — Crimson atmosphere ─── */
|
||||
|
||||
:root[data-theme="openai"] body {
|
||||
background:
|
||||
radial-gradient(ellipse 80% 50% at 50% -5%, rgba(202, 58, 41, 0.12) 0%, transparent 60%),
|
||||
radial-gradient(ellipse 60% 40% at 60% 20%, rgba(253, 142, 46, 0.04) 0%, transparent 50%),
|
||||
var(--bg);
|
||||
}
|
||||
|
||||
:root[data-theme="openai"] body::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ─── clawdash — Chrome Metallic Overrides ─── */
|
||||
|
||||
:root[data-theme="clawdash"] body {
|
||||
background:
|
||||
radial-gradient(ellipse 80% 50% at 40% -10%, rgba(192, 200, 212, 0.06) 0%, transparent 60%),
|
||||
radial-gradient(ellipse 60% 40% at 70% 30%, rgba(202, 58, 41, 0.04) 0%, transparent 50%),
|
||||
var(--bg);
|
||||
}
|
||||
|
||||
:root[data-theme="clawdash"] body::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root[data-theme="clawdash"] .nav-item--active {
|
||||
border-image: linear-gradient(to bottom, var(--kn-silver-bright), var(--kn-claw)) 1;
|
||||
border-image-slice: 1;
|
||||
}
|
||||
|
||||
/* ─── High Contrast Overrides (all themes) ─── */
|
||||
|
||||
@media (prefers-contrast: more) {
|
||||
.topbar,
|
||||
.sidebar,
|
||||
.nav-item--active,
|
||||
.stat-card,
|
||||
.callout,
|
||||
.pill,
|
||||
pre,
|
||||
input,
|
||||
button {
|
||||
box-shadow: 0 0 0 2px var(--text) !important;
|
||||
border-width: 1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ════════════════════════════════════════════════════════
|
||||
Animations
|
||||
════════════════════════════════════════════════════════ */
|
||||
|
||||
@keyframes rise {
|
||||
from {
|
||||
opacity: 0;
|
||||
@@ -361,6 +896,15 @@ select {
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes chrome-shimmer {
|
||||
0% {
|
||||
left: -100%;
|
||||
}
|
||||
100% {
|
||||
left: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Stagger animation delays for grouped elements */
|
||||
.stagger-1 {
|
||||
animation-delay: 0ms;
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
@import "./chat/grouped.css";
|
||||
@import "./chat/tool-cards.css";
|
||||
@import "./chat/sidebar.css";
|
||||
@import "./chat/agent-chat.css";
|
||||
|
||||
1287
ui/src/styles/chat/agent-chat.css
Normal file
1287
ui/src/styles/chat/agent-chat.css
Normal file
File diff suppressed because it is too large
Load Diff
@@ -83,14 +83,15 @@
|
||||
|
||||
/* Avatar Styles */
|
||||
.chat-avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 8px;
|
||||
background: var(--panel-strong);
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
background: color-mix(in srgb, var(--panel-strong) 95%, transparent);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-size: 13px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end; /* Align with last message in group */
|
||||
margin-bottom: 4px; /* Optical alignment */
|
||||
@@ -127,14 +128,15 @@ img.chat-avatar {
|
||||
.chat-bubble {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
border: 1px solid transparent;
|
||||
background: var(--card);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
background: color-mix(in srgb, var(--card) 97%, transparent);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 10px 14px;
|
||||
box-shadow: none;
|
||||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||||
transition:
|
||||
background 150ms ease-out,
|
||||
border-color 150ms ease-out;
|
||||
border-color 150ms ease-out,
|
||||
box-shadow 150ms ease-out;
|
||||
max-width: 100%;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
@@ -147,8 +149,8 @@ img.chat-avatar {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 8px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
background: color-mix(in srgb, var(--bg) 94%, transparent);
|
||||
color: var(--muted);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 4px 6px;
|
||||
@@ -159,7 +161,8 @@ img.chat-avatar {
|
||||
pointer-events: none;
|
||||
transition:
|
||||
opacity 120ms ease-out,
|
||||
background 120ms ease-out;
|
||||
background 120ms ease-out,
|
||||
border-color 120ms ease-out;
|
||||
}
|
||||
|
||||
.chat-copy-btn__icon {
|
||||
@@ -206,6 +209,7 @@ img.chat-avatar {
|
||||
|
||||
.chat-copy-btn:hover {
|
||||
background: var(--bg-hover);
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
|
||||
.chat-copy-btn[data-copying="1"] {
|
||||
@@ -243,29 +247,20 @@ img.chat-avatar {
|
||||
}
|
||||
}
|
||||
|
||||
/* Light mode: restore borders */
|
||||
:root[data-theme="light"] .chat-bubble {
|
||||
border-color: var(--border);
|
||||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||||
}
|
||||
|
||||
.chat-bubble:hover {
|
||||
background: var(--bg-hover);
|
||||
background: color-mix(in srgb, var(--card) 82%, var(--bg-hover));
|
||||
border-color: var(--border-strong);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
/* User bubbles have different styling */
|
||||
.chat-group.user .chat-bubble {
|
||||
background: var(--accent-subtle);
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-group.user .chat-bubble {
|
||||
border-color: rgba(234, 88, 12, 0.2);
|
||||
background: rgba(251, 146, 60, 0.12);
|
||||
background: color-mix(in srgb, var(--accent-subtle) 85%, var(--secondary));
|
||||
border-color: color-mix(in srgb, var(--accent) 30%, transparent);
|
||||
}
|
||||
|
||||
.chat-group.user .chat-bubble:hover {
|
||||
background: rgba(255, 77, 77, 0.15);
|
||||
background: var(--danger-subtle);
|
||||
}
|
||||
|
||||
/* Streaming animation */
|
||||
@@ -298,3 +293,59 @@ img.chat-avatar {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Delete button (appears on hover in group footer) */
|
||||
|
||||
.chat-group-delete {
|
||||
all: unset;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition:
|
||||
opacity 120ms ease-out,
|
||||
color 120ms ease-out,
|
||||
background 120ms ease-out;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.chat-group-delete svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 2px;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.chat-group:hover .chat-group-delete {
|
||||
opacity: 0.5;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.chat-group-delete:hover {
|
||||
opacity: 1 !important;
|
||||
color: var(--danger);
|
||||
background: var(--danger-subtle);
|
||||
}
|
||||
|
||||
.chat-group-delete:focus-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
@media (hover: none) {
|
||||
.chat-group-delete {
|
||||
opacity: 0.5;
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,11 +52,15 @@
|
||||
flex: 1 1 0; /* Grow, shrink, and use 0 base for proper scrolling */
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
padding: 12px 4px;
|
||||
padding: 14px 8px;
|
||||
margin: 0 -4px;
|
||||
min-height: 0; /* Allow shrinking for flex scroll behavior */
|
||||
border-radius: 12px;
|
||||
background: transparent;
|
||||
border-radius: var(--radius-lg);
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
color-mix(in srgb, var(--panel) 72%, transparent),
|
||||
transparent
|
||||
);
|
||||
}
|
||||
|
||||
/* Focus mode exit button */
|
||||
@@ -111,20 +115,22 @@
|
||||
font-size: 13px;
|
||||
font-family: var(--font-body);
|
||||
color: var(--text);
|
||||
background: var(--panel-strong);
|
||||
border: 1px solid var(--border);
|
||||
background: color-mix(in srgb, var(--panel-strong) 92%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
|
||||
border-radius: 999px;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
z-index: 10;
|
||||
transition:
|
||||
background 150ms ease-out,
|
||||
border-color 150ms ease-out;
|
||||
border-color 150ms ease-out,
|
||||
box-shadow 150ms ease-out;
|
||||
}
|
||||
|
||||
.chat-new-messages:hover {
|
||||
background: var(--panel);
|
||||
border-color: var(--accent);
|
||||
border-color: color-mix(in srgb, var(--accent) 36%, transparent);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.chat-new-messages svg {
|
||||
@@ -147,8 +153,9 @@
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
margin-top: auto; /* Push to bottom of flex container */
|
||||
padding: 12px 4px 4px;
|
||||
background: linear-gradient(to bottom, transparent, var(--bg) 20%);
|
||||
padding: 14px 6px 6px;
|
||||
background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 94%, black) 22%);
|
||||
backdrop-filter: blur(4px);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
@@ -218,21 +225,6 @@
|
||||
stroke-width: 2px;
|
||||
}
|
||||
|
||||
/* Light theme attachment overrides */
|
||||
:root[data-theme="light"] .chat-attachments {
|
||||
background: #f8fafc;
|
||||
border-color: rgba(16, 24, 40, 0.1);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-attachment {
|
||||
border-color: rgba(16, 24, 40, 0.15);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-attachment__remove {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* Message images (sent images displayed in chat) */
|
||||
.chat-message-images {
|
||||
display: flex;
|
||||
@@ -267,10 +259,6 @@
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-compose {
|
||||
background: linear-gradient(to bottom, transparent, var(--bg-content) 20%);
|
||||
}
|
||||
|
||||
.chat-compose__field {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
@@ -290,13 +278,16 @@
|
||||
min-height: 40px;
|
||||
max-height: 150px;
|
||||
padding: 9px 12px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-md);
|
||||
overflow-y: auto;
|
||||
resize: none;
|
||||
white-space: pre-wrap;
|
||||
font-family: var(--font-body);
|
||||
font-size: 14px;
|
||||
line-height: 1.45;
|
||||
border: 1px solid color-mix(in srgb, var(--input) 92%, transparent);
|
||||
background: color-mix(in srgb, var(--card) 98%, transparent);
|
||||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||||
}
|
||||
|
||||
.chat-compose__field textarea:disabled {
|
||||
@@ -351,25 +342,22 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
background: color-mix(in srgb, var(--secondary) 85%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
/* Controls separator */
|
||||
.chat-controls__separator {
|
||||
color: rgba(255, 255, 255, 0.4);
|
||||
color: var(--border);
|
||||
font-size: 18px;
|
||||
margin: 0 8px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-controls__separator {
|
||||
color: rgba(16, 24, 40, 0.3);
|
||||
}
|
||||
|
||||
.btn--icon:hover {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
background: var(--bg-hover);
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
|
||||
/* Ensure chat toolbar toggles have a clearly visible active state. */
|
||||
@@ -379,27 +367,6 @@
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
/* Light theme icon button overrides */
|
||||
:root[data-theme="light"] .btn--icon {
|
||||
background: #ffffff;
|
||||
border-color: var(--border);
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .btn--icon:hover {
|
||||
background: #ffffff;
|
||||
border-color: var(--border-strong);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-controls .btn--icon.active {
|
||||
border-color: var(--accent);
|
||||
background: var(--accent-subtle);
|
||||
color: var(--accent);
|
||||
box-shadow: 0 0 0 1px var(--accent-subtle);
|
||||
}
|
||||
|
||||
.btn--icon svg {
|
||||
display: block;
|
||||
width: 18px;
|
||||
@@ -425,15 +392,9 @@
|
||||
gap: 4px;
|
||||
font-size: 12px;
|
||||
padding: 4px 10px;
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
/* Light theme thinking indicator override */
|
||||
:root[data-theme="light"] .chat-controls__thinking {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
border-color: rgba(16, 24, 40, 0.15);
|
||||
background: color-mix(in srgb, var(--secondary) 90%, transparent);
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
|
||||
@@ -19,11 +19,12 @@
|
||||
.chat-sidebar {
|
||||
flex: 1;
|
||||
min-width: 300px;
|
||||
border-left: 1px solid var(--border);
|
||||
border-left: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
animation: slide-in 200ms ease-out;
|
||||
background: color-mix(in srgb, var(--panel) 94%, transparent);
|
||||
}
|
||||
|
||||
@keyframes slide-in {
|
||||
@@ -50,12 +51,13 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
flex-shrink: 0;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
background: var(--panel);
|
||||
background: color-mix(in srgb, var(--panel) 95%, transparent);
|
||||
backdrop-filter: blur(6px);
|
||||
}
|
||||
|
||||
/* Smaller close button for sidebar */
|
||||
@@ -79,12 +81,13 @@
|
||||
|
||||
.sidebar-markdown {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.sidebar-markdown pre {
|
||||
background: rgba(0, 0, 0, 0.12);
|
||||
border-radius: 4px;
|
||||
background: color-mix(in srgb, var(--secondary) 90%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
padding: 12px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@@ -5,17 +5,12 @@
|
||||
.chat-thinking {
|
||||
margin-bottom: 10px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 10px;
|
||||
border: 1px dashed rgba(255, 255, 255, 0.18);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px dashed color-mix(in srgb, var(--border) 84%, transparent);
|
||||
background: color-mix(in srgb, var(--secondary) 75%, transparent);
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-thinking {
|
||||
border-color: rgba(16, 24, 40, 0.25);
|
||||
background: rgba(16, 24, 40, 0.04);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.chat-text {
|
||||
@@ -57,14 +52,16 @@
|
||||
}
|
||||
|
||||
.chat-text :where(:not(pre) > code) {
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
background: color-mix(in srgb, var(--secondary) 82%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
|
||||
padding: 0.15em 0.42em;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.chat-text :where(pre) {
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
border-radius: 6px;
|
||||
background: color-mix(in srgb, var(--secondary) 82%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 10px 12px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
@@ -74,12 +71,50 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Collapsed JSON code blocks */
|
||||
|
||||
.chat-text :where(details.json-collapse) {
|
||||
background: color-mix(in srgb, var(--secondary) 82%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.chat-text :where(details.json-collapse > summary) {
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
font-family: var(--mono);
|
||||
user-select: none;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.chat-text :where(details.json-collapse > summary::-webkit-details-marker) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.chat-text :where(details.json-collapse > summary::before) {
|
||||
content: "▸ ";
|
||||
}
|
||||
|
||||
.chat-text :where(details.json-collapse[open] > summary::before) {
|
||||
content: "▾ ";
|
||||
}
|
||||
|
||||
.chat-text :where(details.json-collapse > pre) {
|
||||
background: none;
|
||||
border: none;
|
||||
border-top: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.chat-text :where(blockquote) {
|
||||
border-left: 3px solid var(--border-strong);
|
||||
border-left: 3px solid color-mix(in srgb, var(--border-strong) 88%, transparent);
|
||||
padding-left: 12px;
|
||||
margin-left: 0;
|
||||
color: var(--muted);
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
background: color-mix(in srgb, var(--secondary) 78%, transparent);
|
||||
padding: 8px 12px;
|
||||
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
||||
}
|
||||
@@ -87,34 +122,12 @@
|
||||
.chat-text :where(blockquote blockquote) {
|
||||
margin-top: 8px;
|
||||
border-left-color: var(--border-hover);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
background: color-mix(in srgb, var(--secondary) 55%, transparent);
|
||||
}
|
||||
|
||||
.chat-text :where(blockquote blockquote blockquote) {
|
||||
border-left-color: var(--muted-strong);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-text :where(blockquote) {
|
||||
background: rgba(0, 0, 0, 0.03);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-text :where(blockquote blockquote) {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-text :where(blockquote blockquote blockquote) {
|
||||
background: rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-text :where(:not(pre) > code) {
|
||||
background: rgba(0, 0, 0, 0.08);
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .chat-text :where(pre) {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
background: color-mix(in srgb, var(--secondary) 60%, transparent);
|
||||
}
|
||||
|
||||
.chat-text :where(hr) {
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
/* Tool Card Styles */
|
||||
.chat-tool-card {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 12px;
|
||||
margin-top: 8px;
|
||||
background: var(--card);
|
||||
background: color-mix(in srgb, var(--card) 97%, transparent);
|
||||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||||
transition:
|
||||
border-color 150ms ease-out,
|
||||
background 150ms ease-out;
|
||||
background 150ms ease-out,
|
||||
box-shadow 150ms ease-out;
|
||||
/* Fixed max-height to ensure cards don't expand too much */
|
||||
max-height: 120px;
|
||||
overflow: hidden;
|
||||
@@ -16,7 +17,8 @@
|
||||
|
||||
.chat-tool-card:hover {
|
||||
border-color: var(--border-strong);
|
||||
background: var(--bg-hover);
|
||||
background: color-mix(in srgb, var(--card) 82%, var(--bg-hover));
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
/* First tool card in a group - no top margin */
|
||||
@@ -128,13 +130,13 @@
|
||||
color: var(--muted);
|
||||
margin-top: 8px;
|
||||
padding: 8px 10px;
|
||||
background: var(--secondary);
|
||||
background: color-mix(in srgb, var(--secondary) 92%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
white-space: pre-wrap;
|
||||
overflow: hidden;
|
||||
max-height: 44px;
|
||||
line-height: 1.4;
|
||||
border: 1px solid var(--border);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
}
|
||||
|
||||
.chat-tool-card--clickable:hover .chat-tool-card__preview {
|
||||
@@ -148,16 +150,18 @@
|
||||
color: var(--text);
|
||||
margin-top: 6px;
|
||||
padding: 6px 8px;
|
||||
background: var(--secondary);
|
||||
background: color-mix(in srgb, var(--secondary) 92%, transparent);
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* Reading Indicator */
|
||||
.chat-reading-indicator {
|
||||
background: transparent;
|
||||
border: 1px solid var(--border);
|
||||
background: color-mix(in srgb, var(--secondary) 70%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 12px;
|
||||
display: inline-flex;
|
||||
}
|
||||
@@ -200,3 +204,176 @@
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
Collapsible Tool Cards
|
||||
=========================================== */
|
||||
|
||||
.chat-tools-collapse {
|
||||
margin-top: 8px;
|
||||
border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
background: color-mix(in srgb, var(--card) 94%, transparent);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.chat-tools-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--muted);
|
||||
user-select: none;
|
||||
list-style: none;
|
||||
transition:
|
||||
color 150ms ease,
|
||||
background 150ms ease;
|
||||
}
|
||||
|
||||
.chat-tools-summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.chat-tools-summary::before {
|
||||
content: "▸";
|
||||
font-size: 10px;
|
||||
flex-shrink: 0;
|
||||
transition: transform 150ms ease;
|
||||
}
|
||||
|
||||
.chat-tools-collapse[open] > .chat-tools-summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.chat-tools-summary:hover {
|
||||
color: var(--text);
|
||||
background: color-mix(in srgb, var(--bg-hover) 50%, transparent);
|
||||
}
|
||||
|
||||
.chat-tools-summary__icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
color: var(--accent);
|
||||
opacity: 0.7;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.chat-tools-summary__icon svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.chat-tools-summary__count {
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.chat-tools-summary__names {
|
||||
color: var(--muted);
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.chat-tools-collapse__body {
|
||||
padding: 4px 12px 12px;
|
||||
border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
|
||||
}
|
||||
|
||||
.chat-tools-collapse__body .chat-tool-card:first-child {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
Collapsible JSON Block
|
||||
=========================================== */
|
||||
|
||||
.chat-json-collapse {
|
||||
margin-top: 4px;
|
||||
border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
background: color-mix(in srgb, var(--secondary) 60%, transparent);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.chat-json-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px 10px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
user-select: none;
|
||||
list-style: none;
|
||||
transition:
|
||||
color 150ms ease,
|
||||
background 150ms ease;
|
||||
}
|
||||
|
||||
.chat-json-summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.chat-json-summary::before {
|
||||
content: "▸";
|
||||
font-size: 10px;
|
||||
flex-shrink: 0;
|
||||
transition: transform 150ms ease;
|
||||
}
|
||||
|
||||
.chat-json-collapse[open] > .chat-json-summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.chat-json-summary:hover {
|
||||
color: var(--text);
|
||||
background: color-mix(in srgb, var(--bg-hover) 50%, transparent);
|
||||
}
|
||||
|
||||
.chat-json-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 1px 5px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--accent) 15%, transparent);
|
||||
color: var(--accent);
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
line-height: 1.4;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.chat-json-label {
|
||||
font-family: var(--mono);
|
||||
font-size: 11px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.chat-json-content {
|
||||
margin: 0;
|
||||
padding: 10px 12px;
|
||||
border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
|
||||
font-family: var(--mono);
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
color: var(--text);
|
||||
overflow-x: auto;
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.chat-json-content code {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -27,10 +27,6 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-sidebar {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.config-sidebar__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -41,7 +37,7 @@
|
||||
|
||||
.config-sidebar__title {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-size: 15px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
@@ -75,7 +71,7 @@
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--bg-elevated);
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
transition:
|
||||
border-color var(--duration-fast) ease,
|
||||
@@ -93,14 +89,6 @@
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-search__input {
|
||||
background: white;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-search__input:focus {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.config-search__clear {
|
||||
position: absolute;
|
||||
right: 22px;
|
||||
@@ -145,7 +133,7 @@
|
||||
border-radius: var(--radius-md);
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
@@ -159,10 +147,6 @@
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-nav__item:hover {
|
||||
background: rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.config-nav__item.active {
|
||||
background: var(--accent-subtle);
|
||||
color: var(--accent);
|
||||
@@ -206,10 +190,6 @@
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-mode-toggle {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.config-mode-toggle__btn {
|
||||
flex: 1;
|
||||
padding: 9px 14px;
|
||||
@@ -260,10 +240,6 @@
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-actions {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.config-actions__left,
|
||||
.config-actions__right {
|
||||
display: flex;
|
||||
@@ -275,7 +251,7 @@
|
||||
padding: 6px 14px;
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--accent-subtle);
|
||||
border: 1px solid rgba(255, 77, 77, 0.3);
|
||||
border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
|
||||
color: var(--accent);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
@@ -289,7 +265,7 @@
|
||||
/* Diff Panel */
|
||||
.config-diff {
|
||||
margin: 18px 22px 0;
|
||||
border: 1px solid rgba(255, 77, 77, 0.25);
|
||||
border: 1px solid color-mix(in srgb, var(--danger) 25%, transparent);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--accent-subtle);
|
||||
overflow: hidden;
|
||||
@@ -343,10 +319,6 @@
|
||||
font-family: var(--mono);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-diff__item {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.config-diff__path {
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
@@ -384,10 +356,6 @@
|
||||
background: var(--bg-accent);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-section-hero {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.config-section-hero__icon {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
@@ -411,7 +379,7 @@
|
||||
}
|
||||
|
||||
.config-section-hero__title {
|
||||
font-size: 16px;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
white-space: nowrap;
|
||||
@@ -420,7 +388,7 @@
|
||||
}
|
||||
|
||||
.config-section-hero__desc {
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
@@ -434,10 +402,6 @@
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-subnav {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.config-subnav__item {
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-full);
|
||||
@@ -454,10 +418,6 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-subnav__item {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.config-subnav__item:hover {
|
||||
color: var(--text);
|
||||
border-color: var(--border);
|
||||
@@ -551,10 +511,6 @@
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-section-card {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.config-section-card__header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
@@ -564,10 +520,6 @@
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .config-section-card__header {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.config-section-card__icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
@@ -587,7 +539,7 @@
|
||||
|
||||
.config-section-card__title {
|
||||
margin: 0;
|
||||
font-size: 17px;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
white-space: nowrap;
|
||||
@@ -597,7 +549,7 @@
|
||||
|
||||
.config-section-card__desc {
|
||||
margin: 5px 0 0;
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
line-height: 1.45;
|
||||
}
|
||||
@@ -624,23 +576,23 @@
|
||||
padding: 14px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--danger-subtle);
|
||||
border: 1px solid rgba(239, 68, 68, 0.3);
|
||||
border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
|
||||
}
|
||||
|
||||
.cfg-field__label {
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.cfg-field__help {
|
||||
font-size: 12px;
|
||||
font-size: 13px;
|
||||
color: var(--muted);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.cfg-field__error {
|
||||
font-size: 12px;
|
||||
font-size: 13px;
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
@@ -675,14 +627,6 @@
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-input {
|
||||
background: white;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-input:focus {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.cfg-input--sm {
|
||||
padding: 9px 12px;
|
||||
font-size: 13px;
|
||||
@@ -733,10 +677,6 @@
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-textarea {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.cfg-textarea--sm {
|
||||
padding: 10px 12px;
|
||||
font-size: 12px;
|
||||
@@ -751,10 +691,6 @@
|
||||
background: var(--bg-accent);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-number {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.cfg-number__btn {
|
||||
width: 44px;
|
||||
border: none;
|
||||
@@ -775,14 +711,6 @@
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-number__btn {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-number__btn:hover:not(:disabled) {
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
.cfg-number__input {
|
||||
width: 85px;
|
||||
padding: 11px;
|
||||
@@ -825,10 +753,6 @@
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-select {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/* Segmented Control */
|
||||
.cfg-segmented {
|
||||
display: inline-flex;
|
||||
@@ -838,17 +762,13 @@
|
||||
background: var(--bg-accent);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-segmented {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.cfg-segmented__btn {
|
||||
padding: 9px 18px;
|
||||
border: none;
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
@@ -898,14 +818,6 @@
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-toggle-row {
|
||||
background: white;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-toggle-row:hover:not(.disabled) {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.cfg-toggle-row__content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
@@ -913,7 +825,7 @@
|
||||
|
||||
.cfg-toggle-row__label {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: var(--text);
|
||||
}
|
||||
@@ -921,7 +833,7 @@
|
||||
.cfg-toggle-row__help {
|
||||
display: block;
|
||||
margin-top: 3px;
|
||||
font-size: 12px;
|
||||
font-size: 13px;
|
||||
color: var(--muted);
|
||||
line-height: 1.45;
|
||||
}
|
||||
@@ -952,10 +864,6 @@
|
||||
border-color var(--duration-normal) ease;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-toggle__track {
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
.cfg-toggle__track::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
@@ -973,7 +881,7 @@
|
||||
|
||||
.cfg-toggle input:checked + .cfg-toggle__track {
|
||||
background: var(--ok-subtle);
|
||||
border-color: rgba(34, 197, 94, 0.4);
|
||||
border-color: color-mix(in srgb, var(--ok) 40%, transparent);
|
||||
}
|
||||
|
||||
.cfg-toggle input:checked + .cfg-toggle__track::after {
|
||||
@@ -993,10 +901,6 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-object {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.cfg-object__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1066,10 +970,6 @@
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-array__header {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.cfg-array__label {
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
@@ -1085,10 +985,6 @@
|
||||
border-radius: var(--radius-full);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-array__count {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.cfg-array__add {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -1156,10 +1052,6 @@
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-array__item-header {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.cfg-array__item-index {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
@@ -1220,10 +1112,6 @@
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .cfg-map__header {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.cfg-map__label {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
@@ -1320,7 +1208,7 @@
|
||||
}
|
||||
|
||||
.pill--ok {
|
||||
border-color: rgba(34, 197, 94, 0.35);
|
||||
border-color: color-mix(in srgb, var(--ok) 35%, transparent);
|
||||
color: var(--ok);
|
||||
}
|
||||
|
||||
@@ -1444,3 +1332,85 @@
|
||||
min-width: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
Environment Values Blur + Peek Toggle
|
||||
=========================================== */
|
||||
|
||||
.config-env-values--blurred .cfg-input,
|
||||
.config-env-values--blurred .cfg-number__input,
|
||||
.config-env-values--blurred textarea {
|
||||
color: transparent;
|
||||
text-shadow: 0 0 8px var(--text);
|
||||
}
|
||||
|
||||
.config-env-values--blurred .cfg-input::placeholder,
|
||||
.config-env-values--blurred textarea::placeholder {
|
||||
text-shadow: none;
|
||||
color: var(--muted);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.config-env-values--blurred .cfg-input:focus,
|
||||
.config-env-values--blurred .cfg-number__input:focus,
|
||||
.config-env-values--blurred textarea:focus {
|
||||
color: transparent;
|
||||
text-shadow: 0 0 8px var(--text);
|
||||
}
|
||||
|
||||
.config-env-values--visible.config-env-values--blurred .cfg-input,
|
||||
.config-env-values--visible.config-env-values--blurred .cfg-number__input,
|
||||
.config-env-values--visible.config-env-values--blurred textarea {
|
||||
color: var(--text);
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.config-env-values--visible.config-env-values--blurred .cfg-input:focus,
|
||||
.config-env-values--visible.config-env-values--blurred .cfg-number__input:focus,
|
||||
.config-env-values--visible.config-env-values--blurred textarea:focus {
|
||||
color: var(--text);
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.config-env-peek-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px 12px;
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid var(--border);
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all var(--duration-fast) ease;
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.config-env-peek-btn:hover {
|
||||
color: var(--text);
|
||||
border-color: var(--border-strong);
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.config-env-peek-btn--active {
|
||||
color: var(--accent);
|
||||
border-color: color-mix(in srgb, var(--accent) 40%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 8%, transparent);
|
||||
}
|
||||
|
||||
.config-env-peek-btn svg {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Raw JSON redaction blur */
|
||||
|
||||
.config-raw-redacted {
|
||||
color: transparent !important;
|
||||
text-shadow: 0 0 8px var(--text);
|
||||
transition:
|
||||
color var(--duration-normal, 250ms) ease,
|
||||
text-shadow var(--duration-normal, 250ms) ease;
|
||||
}
|
||||
|
||||
554
ui/src/styles/glass.css
Normal file
554
ui/src/styles/glass.css
Normal file
@@ -0,0 +1,554 @@
|
||||
/* ════════════════════════════════════════════════════════
|
||||
Glass Component System
|
||||
Glassmorphism primitives used across dashboard views.
|
||||
════════════════════════════════════════════════════════ */
|
||||
|
||||
/* ─── Animations ─── */
|
||||
|
||||
@keyframes glass-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.97) translateY(6px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes modal-overlay-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes modal-dialog-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.95) translateY(12px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes glass-dropdown-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes ambient-drift {
|
||||
0% {
|
||||
background-position: 0% 0%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 100%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 0%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes active-breathe {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0.5;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes card-rise {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.glass-animate-in {
|
||||
animation: glass-enter var(--clay-duration-normal) var(--clay-easing) both;
|
||||
}
|
||||
|
||||
/* ─── Glass Buttons ─── */
|
||||
|
||||
.glass-btn-primary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.4rem;
|
||||
padding: 10px 18px;
|
||||
border: none;
|
||||
border-radius: var(--radius-sm);
|
||||
background: linear-gradient(135deg, var(--kn-claw), var(--kn-claw-deep));
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
font-size: 0.88rem;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition:
|
||||
transform 0.15s ease,
|
||||
box-shadow 0.2s ease,
|
||||
filter 0.15s ease;
|
||||
}
|
||||
|
||||
.glass-btn-primary:hover {
|
||||
transform: translateY(-1px);
|
||||
filter: brightness(1.1);
|
||||
box-shadow: 0 4px 16px rgba(202, 58, 41, 0.3);
|
||||
}
|
||||
|
||||
.glass-btn-primary:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.glass-btn-secondary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.4rem;
|
||||
padding: 10px 18px;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||||
-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||||
color: var(--text);
|
||||
font-weight: 500;
|
||||
font-size: 0.88rem;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
border-color 0.2s ease,
|
||||
background 0.15s ease;
|
||||
}
|
||||
|
||||
.glass-btn-secondary:hover {
|
||||
border-color: var(--glass-border-hover);
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.glass-btn-ocean {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.4rem;
|
||||
padding: 10px 18px;
|
||||
border: 1px solid rgba(0, 212, 170, 0.2);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(0, 212, 170, 0.08);
|
||||
color: var(--kn-bioluminescence);
|
||||
font-weight: 600;
|
||||
font-size: 0.88rem;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
border-color 0.2s ease,
|
||||
background 0.15s ease;
|
||||
}
|
||||
|
||||
.glass-btn-ocean:hover {
|
||||
border-color: rgba(0, 212, 170, 0.35);
|
||||
background: rgba(0, 212, 170, 0.14);
|
||||
}
|
||||
|
||||
/* ─── Glass Input ─── */
|
||||
|
||||
.glass-input {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
color: var(--text);
|
||||
font-size: 0.92rem;
|
||||
font-family: inherit;
|
||||
transition:
|
||||
border-color 0.2s ease,
|
||||
box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.glass-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
border-width: 2px;
|
||||
box-shadow: 0 0 0 3px var(--accent-subtle);
|
||||
}
|
||||
|
||||
.glass-input::placeholder {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
/* ─── Glass Tabs ─── */
|
||||
|
||||
.glass-tab {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 6px 14px;
|
||||
border: none;
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: 0.82rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
transition:
|
||||
color 0.15s ease,
|
||||
background 0.15s ease;
|
||||
}
|
||||
|
||||
.glass-tab:hover {
|
||||
color: var(--text);
|
||||
background: var(--accent-subtle);
|
||||
}
|
||||
|
||||
.glass-tab-active {
|
||||
color: var(--text);
|
||||
background: var(--accent-subtle);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.glass-tab-active::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 20%;
|
||||
width: 60%;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, transparent, var(--accent), transparent);
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.glass-segmented-control {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
padding: 3px;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--glass-bg);
|
||||
}
|
||||
|
||||
/* ─── Glass Dialog ─── */
|
||||
|
||||
.glass-dialog {
|
||||
background: var(--glass-bg-elevated);
|
||||
backdrop-filter: blur(40px) saturate(var(--glass-saturate));
|
||||
-webkit-backdrop-filter: blur(40px) saturate(var(--glass-saturate));
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ─── Glass Select Panel (Dropdown) ─── */
|
||||
|
||||
.glass-select-panel {
|
||||
background: var(--glass-bg-elevated);
|
||||
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||||
-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-lg);
|
||||
animation: glass-dropdown-in 0.15s ease-out both;
|
||||
}
|
||||
|
||||
/* ─── Glass Overlay (Modal Backdrop) ─── */
|
||||
|
||||
.glass-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
z-index: 100;
|
||||
animation: modal-overlay-in 0.25s ease-out both;
|
||||
}
|
||||
|
||||
/* ─── Glass Depth Layers ─── */
|
||||
|
||||
.glass-layer-1 {
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(8px) saturate(120%);
|
||||
-webkit-backdrop-filter: blur(8px) saturate(120%);
|
||||
}
|
||||
|
||||
.glass-layer-2 {
|
||||
background: var(--glass-bg-elevated);
|
||||
backdrop-filter: blur(16px) saturate(140%);
|
||||
-webkit-backdrop-filter: blur(16px) saturate(140%);
|
||||
}
|
||||
|
||||
.glass-layer-3 {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
backdrop-filter: blur(32px) saturate(160%);
|
||||
-webkit-backdrop-filter: blur(32px) saturate(160%);
|
||||
}
|
||||
|
||||
/* ─── Glass Card Variants ─── */
|
||||
|
||||
.glass-card {
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||||
-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition:
|
||||
border-color 0.2s ease,
|
||||
box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.glass-card:hover {
|
||||
border-color: var(--glass-border-hover);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.glass-card-active {
|
||||
border-color: var(--accent);
|
||||
box-shadow:
|
||||
0 0 0 1px var(--accent),
|
||||
var(--shadow-md);
|
||||
}
|
||||
|
||||
.glass-card-active-ocean {
|
||||
border-color: var(--kn-bioluminescence);
|
||||
box-shadow:
|
||||
0 0 0 1px var(--kn-bioluminescence),
|
||||
var(--shadow-md);
|
||||
}
|
||||
|
||||
/* ─── Glass Noise Texture ─── */
|
||||
|
||||
.glass-noise::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
||||
opacity: 0.05;
|
||||
mix-blend-mode: overlay;
|
||||
pointer-events: none;
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
/* ─── Glass Border Gradient ─── */
|
||||
|
||||
.glass-border-gradient {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.glass-border-gradient::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
padding: 1px;
|
||||
background: linear-gradient(135deg, var(--glass-border-hover), transparent 60%);
|
||||
mask:
|
||||
linear-gradient(#fff 0 0) content-box,
|
||||
linear-gradient(#fff 0 0);
|
||||
mask-composite: exclude;
|
||||
-webkit-mask-composite: xor;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.glass-border-gradient:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ─── Ambient Background ─── */
|
||||
|
||||
.ambient-bg {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ambient-bg::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
background:
|
||||
radial-gradient(ellipse 80% 50% at 20% 80%, var(--kn-claw-dim) 0%, transparent 60%),
|
||||
radial-gradient(ellipse 60% 40% at 80% 20%, var(--kn-ocean-dim) 0%, transparent 50%);
|
||||
}
|
||||
|
||||
.ambient-bg::after {
|
||||
content: "";
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
background:
|
||||
radial-gradient(ellipse 50% 30% at 60% 60%, var(--kn-claw-dim) 0%, transparent 50%),
|
||||
radial-gradient(ellipse 40% 50% at 30% 30%, rgba(0, 212, 170, 0.03) 0%, transparent 50%);
|
||||
animation: ambient-drift 120s ease-in-out infinite alternate;
|
||||
background-size: 200% 200%;
|
||||
}
|
||||
|
||||
/* ─── Typography Utilities ─── */
|
||||
|
||||
.text-display {
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.04em;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
/* ─── Glass Dashboard Card ─── */
|
||||
|
||||
.glass-dashboard-card {
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||||
-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 1.25rem;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
box-shadow: var(--shadow-sm), var(--glass-highlight);
|
||||
transition:
|
||||
border-color 0.2s ease,
|
||||
box-shadow 0.2s ease;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.glass-dashboard-card::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, transparent, var(--accent), transparent);
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.glass-dashboard-card:hover {
|
||||
border-color: var(--glass-border-hover);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.glass-dashboard-card:hover::after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
/* ─── Card Header Convention ─── */
|
||||
|
||||
.card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
margin-bottom: 0.875rem;
|
||||
min-height: 28px;
|
||||
}
|
||||
|
||||
.card-header__prefix {
|
||||
color: var(--accent);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.82rem;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.card-header__title {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
letter-spacing: -0.01em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.card-header__actions {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.card-header__link {
|
||||
font-size: 0.75rem;
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.card-header__link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* ─── Count Badge ─── */
|
||||
|
||||
.count-badge {
|
||||
font-size: 0.72rem;
|
||||
font-family: var(--mono);
|
||||
font-variant-numeric: tabular-nums;
|
||||
background: var(--clay-bg-card);
|
||||
color: var(--muted);
|
||||
padding: 1px 7px;
|
||||
border-radius: 9999px;
|
||||
line-height: 1.4;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.count-badge--accent {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.count-badge--emerald {
|
||||
color: var(--success);
|
||||
}
|
||||
|
||||
.count-badge--amber {
|
||||
color: var(--warn);
|
||||
}
|
||||
|
||||
.count-badge--red {
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
/* ─── Glass Divider ─── */
|
||||
|
||||
.glass-divider {
|
||||
height: 1px;
|
||||
background: var(--clay-border-subtle);
|
||||
margin: 1.25rem 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* ─── Glass Event Row ─── */
|
||||
|
||||
.glass-event-row {
|
||||
padding: 6px 8px;
|
||||
border-radius: var(--clay-radius-sm);
|
||||
cursor: pointer;
|
||||
transition: background var(--clay-duration-fast) ease;
|
||||
}
|
||||
|
||||
.glass-event-row:hover {
|
||||
background: var(--clay-bg-interactive);
|
||||
}
|
||||
@@ -5,8 +5,8 @@
|
||||
.shell {
|
||||
--shell-pad: 16px;
|
||||
--shell-gap: 16px;
|
||||
--shell-nav-width: 220px;
|
||||
--shell-topbar-height: 56px;
|
||||
--shell-nav-width: 240px;
|
||||
--shell-topbar-height: 62px;
|
||||
--shell-focus-duration: 200ms;
|
||||
--shell-focus-ease: var(--ease-out);
|
||||
height: 100vh;
|
||||
@@ -14,7 +14,7 @@
|
||||
grid-template-columns: var(--shell-nav-width) minmax(0, 1fr);
|
||||
grid-template-rows: var(--shell-topbar-height) 1fr;
|
||||
grid-template-areas:
|
||||
"topbar topbar"
|
||||
"nav topbar"
|
||||
"nav content";
|
||||
gap: 0;
|
||||
animation: dashboard-enter 0.4s var(--ease-out);
|
||||
@@ -41,7 +41,7 @@
|
||||
}
|
||||
|
||||
.shell--nav-collapsed {
|
||||
grid-template-columns: 0px minmax(0, 1fr);
|
||||
grid-template-columns: 60px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.shell--chat-focus {
|
||||
@@ -80,139 +80,262 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
gap: 12px;
|
||||
padding: 0 20px;
|
||||
height: var(--shell-topbar-height);
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: var(--bg);
|
||||
background: var(--topbar-bg);
|
||||
backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
|
||||
-webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
|
||||
border-bottom: var(--topbar-border);
|
||||
}
|
||||
|
||||
.topbar-left {
|
||||
/* --- Left: Dashboard Header --- */
|
||||
|
||||
.dashboard-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: 0.5rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.topbar .nav-collapse-toggle {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.topbar .nav-collapse-toggle__icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.topbar .nav-collapse-toggle__icon svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
/* Brand */
|
||||
.brand {
|
||||
.dashboard-header__breadcrumb {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: 6px;
|
||||
font-size: 0.82rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.brand-logo img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.brand-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.1;
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.brand-sub {
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
.dashboard-header__breadcrumb-link {
|
||||
color: var(--muted);
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Topbar status */
|
||||
.topbar-status {
|
||||
.dashboard-header__breadcrumb-link:hover {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.dashboard-header__breadcrumb-sep {
|
||||
color: var(--muted);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.dashboard-header__breadcrumb-current {
|
||||
color: var(--text);
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.dashboard-header__actions {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.topbar-status .pill {
|
||||
padding: 6px 10px;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
height: 32px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/* --- Center: Search / Command Palette Trigger --- */
|
||||
|
||||
.topbar-status .pill .mono {
|
||||
.topbar-search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 1;
|
||||
margin-top: 0px;
|
||||
gap: 8px;
|
||||
padding: 6px 12px;
|
||||
min-width: 200px;
|
||||
max-width: 340px;
|
||||
flex: 1;
|
||||
height: 34px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-full);
|
||||
background: color-mix(in srgb, var(--secondary) 60%, transparent);
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-family: var(--font-body);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
border-color 180ms ease,
|
||||
background 180ms ease,
|
||||
box-shadow 180ms ease;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.topbar-status .statusDot {
|
||||
.topbar-search:hover {
|
||||
border-color: var(--border-strong);
|
||||
background: color-mix(in srgb, var(--secondary) 85%, transparent);
|
||||
}
|
||||
|
||||
.topbar-search:focus-visible {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px var(--accent-subtle);
|
||||
}
|
||||
|
||||
.topbar-search__label {
|
||||
flex: 1;
|
||||
text-align: left;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.topbar-search__kbd {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1px 6px;
|
||||
min-width: 22px;
|
||||
height: 20px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--bg) 70%, transparent);
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-family: var(--font-body);
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
pointer-events: none;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* --- Right: Status area --- */
|
||||
|
||||
.topbar-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.topbar-divider {
|
||||
width: 1px;
|
||||
height: 20px;
|
||||
background: var(--border);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Connection indicator */
|
||||
|
||||
.topbar-connection {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 10px;
|
||||
border-radius: var(--radius-full);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--danger);
|
||||
background: var(--danger-subtle);
|
||||
transition:
|
||||
color 250ms ease,
|
||||
background 250ms ease;
|
||||
}
|
||||
|
||||
.topbar-connection--ok {
|
||||
color: var(--ok);
|
||||
background: var(--ok-subtle);
|
||||
}
|
||||
|
||||
.topbar-connection__dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: var(--radius-full);
|
||||
background: currentColor;
|
||||
box-shadow: 0 0 6px currentColor;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.topbar-connection:not(.topbar-connection--ok) .topbar-connection__dot {
|
||||
animation: pulse-subtle 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.topbar-connection__label {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* Redact / stream-mode toggle */
|
||||
|
||||
.topbar-redact {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius);
|
||||
background: none;
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color 180ms ease,
|
||||
background 180ms ease,
|
||||
border-color 180ms ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.topbar-redact svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.topbar-redact:hover {
|
||||
color: var(--text);
|
||||
background: color-mix(in srgb, var(--secondary) 80%, transparent);
|
||||
border-color: var(--border);
|
||||
}
|
||||
|
||||
.topbar-redact--active {
|
||||
color: var(--warn);
|
||||
}
|
||||
|
||||
.topbar-redact--active:hover {
|
||||
color: var(--warn);
|
||||
background: var(--warn-subtle);
|
||||
border-color: color-mix(in srgb, var(--warn) 30%, transparent);
|
||||
}
|
||||
|
||||
/* Topbar theme toggle sizing */
|
||||
|
||||
.topbar-status .theme-toggle {
|
||||
--theme-item: 24px;
|
||||
--theme-gap: 2px;
|
||||
--theme-pad: 3px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.topbar-status .theme-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
.topbar-status .theme-btn svg {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
Navigation Sidebar
|
||||
=========================================== */
|
||||
|
||||
.nav {
|
||||
.sidebar {
|
||||
grid-area: nav;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
padding: 16px 12px;
|
||||
background: var(--bg);
|
||||
scrollbar-width: none; /* Firefox */
|
||||
scrollbar-width: none;
|
||||
background: var(--sidebar-bg);
|
||||
backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
|
||||
-webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
|
||||
transition:
|
||||
width var(--shell-focus-duration) var(--shell-focus-ease),
|
||||
padding var(--shell-focus-duration) var(--shell-focus-ease),
|
||||
opacity var(--shell-focus-duration) var(--shell-focus-ease);
|
||||
min-height: 0;
|
||||
border-right: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
.nav::-webkit-scrollbar {
|
||||
display: none; /* Chrome/Safari */
|
||||
.sidebar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.shell--chat-focus .nav {
|
||||
.shell--chat-focus .sidebar {
|
||||
width: 0;
|
||||
padding: 0;
|
||||
border-width: 0;
|
||||
@@ -221,51 +344,141 @@
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.nav--collapsed {
|
||||
width: 0;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
.sidebar--collapsed {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* Nav collapse toggle */
|
||||
.nav-collapse-toggle {
|
||||
width: 32px;
|
||||
.sidebar--collapsed .sidebar-header {
|
||||
justify-content: center;
|
||||
padding: 10px 8px;
|
||||
min-height: 54px;
|
||||
}
|
||||
|
||||
.sidebar--collapsed .nav-group__items {
|
||||
padding: 4px 0;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sidebar--collapsed .nav-item {
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.sidebar--collapsed .nav-item__icon {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.sidebar--collapsed .nav-item__icon svg {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
stroke-width: 1.75px;
|
||||
}
|
||||
|
||||
.sidebar--collapsed .nav-item--active {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.sidebar--collapsed .sidebar-footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.sidebar--collapsed .sidebar-footer .nav-item {
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
/* Sidebar header (brand + collapse) */
|
||||
.sidebar-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
padding: 10px 8px;
|
||||
gap: 0;
|
||||
flex-shrink: 0;
|
||||
min-height: 54px;
|
||||
}
|
||||
|
||||
.sidebar-brand {
|
||||
flex: 2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
|
||||
max-height: 28px;
|
||||
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-brand__logo {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex-shrink: 0;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.sidebar-brand__title {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.1;
|
||||
color: var(--text-strong);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sidebar-collapse-btn {
|
||||
flex: 1;
|
||||
height: 32px;
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: transparent;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--bg);
|
||||
border: var(--border) 1px solid transparent;
|
||||
border-radius: var(--radius-sm);
|
||||
cursor: pointer;
|
||||
color: var(--muted);
|
||||
flex-shrink: 0;
|
||||
transition:
|
||||
background var(--duration-fast) ease,
|
||||
border-color var(--duration-fast) ease;
|
||||
margin-bottom: 16px;
|
||||
border-color var(--duration-fast) ease,
|
||||
color var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.nav-collapse-toggle:hover {
|
||||
background: var(--bg-hover);
|
||||
.sidebar--collapsed .sidebar-collapse-btn {
|
||||
flex: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sidebar-collapse-btn:hover {
|
||||
background: var(--bg);
|
||||
border-color: var(--border);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.nav-collapse-toggle__icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: var(--muted);
|
||||
transition: color var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.nav-collapse-toggle__icon svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
.sidebar-collapse-btn svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 1.5px;
|
||||
@@ -273,13 +486,22 @@
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.nav-collapse-toggle:hover .nav-collapse-toggle__icon {
|
||||
color: var(--text);
|
||||
/* Sidebar nav section */
|
||||
.sidebar-nav {
|
||||
flex: 1;
|
||||
padding: 4px 8px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.sidebar-nav::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Nav groups */
|
||||
.nav-group {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 16px;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
}
|
||||
@@ -297,16 +519,16 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Nav label */
|
||||
.nav-label {
|
||||
/* Nav group label */
|
||||
.nav-group__label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
padding: 6px 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--muted);
|
||||
margin-bottom: 4px;
|
||||
background: transparent;
|
||||
@@ -314,37 +536,40 @@
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
border-radius: var(--radius-sm);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
transition:
|
||||
color var(--duration-fast) ease,
|
||||
background var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.nav-label:hover {
|
||||
.nav-group__label:hover {
|
||||
color: var(--text);
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.nav-label--static {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.nav-label--static:hover {
|
||||
color: var(--muted);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.nav-label__text {
|
||||
.nav-group__label-text {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.nav-label__chevron {
|
||||
font-size: 10px;
|
||||
.nav-group__chevron {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
opacity: 0.5;
|
||||
transition: transform var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.nav-group--collapsed .nav-label__chevron {
|
||||
transform: rotate(-90deg);
|
||||
.nav-group__chevron svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 2px;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
/* Nav items */
|
||||
@@ -354,7 +579,7 @@
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 10px;
|
||||
padding: 8px 10px;
|
||||
padding: 9px 12px;
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid transparent;
|
||||
background: transparent;
|
||||
@@ -364,12 +589,13 @@
|
||||
transition:
|
||||
border-color var(--duration-fast) ease,
|
||||
background var(--duration-fast) ease,
|
||||
color var(--duration-fast) ease;
|
||||
color var(--duration-fast) ease,
|
||||
box-shadow var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.nav-item__icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -379,8 +605,8 @@
|
||||
}
|
||||
|
||||
.nav-item__icon svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 1.5px;
|
||||
@@ -389,14 +615,32 @@
|
||||
}
|
||||
|
||||
.nav-item__text {
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nav-item__external-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: auto;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.nav-item__external-icon svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 1.5px;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.nav-item:hover {
|
||||
color: var(--text);
|
||||
background: var(--bg-hover);
|
||||
background: color-mix(in srgb, var(--secondary) 90%, transparent);
|
||||
border-color: color-mix(in srgb, var(--border) 75%, transparent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -404,23 +648,55 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.nav-item.active {
|
||||
.nav-item--active {
|
||||
color: var(--text-strong);
|
||||
background: var(--accent-subtle);
|
||||
background: color-mix(in srgb, var(--accent-subtle) 70%, var(--secondary));
|
||||
border-color: color-mix(in srgb, var(--accent) 34%, transparent);
|
||||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
|
||||
}
|
||||
|
||||
.nav-item.active .nav-item__icon {
|
||||
.nav-item--active .nav-item__icon {
|
||||
opacity: 1;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
/* Sidebar footer — aligned with chat compose bar */
|
||||
.sidebar-footer {
|
||||
padding: 14px 8px 6px;
|
||||
border-top: 1px solid var(--border);
|
||||
flex-shrink: 0;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sidebar-version {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
|
||||
.sidebar-version__text {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--muted);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.sidebar-version__dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--muted);
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
Content Area
|
||||
=========================================== */
|
||||
|
||||
.content {
|
||||
grid-area: content;
|
||||
padding: 12px 16px 32px;
|
||||
padding: 14px 18px 36px;
|
||||
display: block;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
@@ -431,10 +707,6 @@
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .content {
|
||||
background: var(--bg-content);
|
||||
}
|
||||
|
||||
.content--chat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -453,7 +725,7 @@
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 4px 8px;
|
||||
padding: 4px 0;
|
||||
overflow: hidden;
|
||||
transform-origin: top center;
|
||||
transition:
|
||||
@@ -473,7 +745,7 @@
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 26px;
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.035em;
|
||||
line-height: 1.15;
|
||||
@@ -482,7 +754,7 @@
|
||||
|
||||
.page-sub {
|
||||
color: var(--muted);
|
||||
font-size: 14px;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
margin-top: 6px;
|
||||
letter-spacing: -0.01em;
|
||||
@@ -577,16 +849,31 @@
|
||||
"content";
|
||||
}
|
||||
|
||||
.nav {
|
||||
.sidebar {
|
||||
position: static;
|
||||
max-height: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 6px;
|
||||
overflow-x: auto;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.sidebar-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-nav {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 6px;
|
||||
padding: 10px 14px;
|
||||
background: var(--bg);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.nav-group {
|
||||
@@ -606,8 +893,12 @@
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.topbar-search__kbd {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topbar-status {
|
||||
flex-wrap: wrap;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.table-head,
|
||||
|
||||
@@ -4,7 +4,22 @@
|
||||
|
||||
/* Tablet: Horizontal nav */
|
||||
@media (max-width: 1100px) {
|
||||
.nav {
|
||||
.sidebar {
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.sidebar-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-nav {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
@@ -15,7 +30,7 @@
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.nav::-webkit-scrollbar {
|
||||
.sidebar-nav::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -27,7 +42,7 @@
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
.nav-group__label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -56,53 +71,56 @@
|
||||
padding: 10px 12px;
|
||||
gap: 8px;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.brand {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
.sidebar-brand__title {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.brand-sub {
|
||||
.dashboard-header__breadcrumb-link,
|
||||
.dashboard-header__breadcrumb-sep {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topbar-search {
|
||||
min-width: 0;
|
||||
max-width: none;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.topbar-search__label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topbar-search__kbd {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topbar-connection__label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topbar-divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topbar-status {
|
||||
gap: 6px;
|
||||
width: auto;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.topbar-status .pill {
|
||||
padding: 4px 8px;
|
||||
font-size: 11px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.topbar-status .pill .mono {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topbar-status .pill span:nth-child(2) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Nav */
|
||||
.nav {
|
||||
.sidebar-nav {
|
||||
padding: 8px 10px;
|
||||
gap: 4px;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.nav::-webkit-scrollbar {
|
||||
.sidebar-nav::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -110,7 +128,7 @@
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
.nav-group__label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -288,11 +306,13 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/* Theme toggle */
|
||||
.theme-toggle {
|
||||
--theme-item: 24px;
|
||||
--theme-gap: 2px;
|
||||
--theme-pad: 3px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.theme-btn svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.theme-icon {
|
||||
@@ -311,11 +331,11 @@
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
.sidebar-brand__title {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.nav {
|
||||
.sidebar-nav {
|
||||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
@@ -356,15 +376,12 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.topbar-status .pill {
|
||||
.topbar-connection {
|
||||
padding: 3px 6px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
--theme-item: 22px;
|
||||
--theme-gap: 2px;
|
||||
--theme-pad: 2px;
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
.theme-icon {
|
||||
|
||||
Reference in New Issue
Block a user