3780 lines
113 KiB
CSS
3780 lines
113 KiB
CSS
/* ╔══════════════════════════════════════════════════════════════════╗
|
|
║ PHOENIX · LIQUID API SUITE ║
|
|
║ Design System v11.0 — "OBSIDIAN GLASS" ║
|
|
║ Pure black void · Smoked liquid glass · Specular rim lights ║
|
|
╚══════════════════════════════════════════════════════════════════╝ */
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&family=JetBrains+Mono:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800;900&display=swap');
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
1 · DESIGN TOKENS · OBSIDIAN GLASS
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
:root {
|
|
/* ── Pure black void ── */
|
|
--void: #000000;
|
|
--void-deep: #030308;
|
|
--void-base: #06060c;
|
|
--void-elevated: #0a0a14;
|
|
|
|
/* ── Liquid Glass Material Tokens — Hardware accelerated, silky 60-120fps ── */
|
|
--lg-refract: url("#liquid-glass-panel");
|
|
--lg-refract-bar: url("#liquid-glass-bar");
|
|
--lg-refract-lens: url("#magnifying-glass-filter");
|
|
--lg-blur-thin: blur(14px) saturate(180%);
|
|
--lg-blur-regular: blur(20px) saturate(190%);
|
|
--lg-blur-thick: blur(28px) saturate(200%);
|
|
--lg-blur-ultra: blur(36px) saturate(210%);
|
|
|
|
/* ── Crystalline Liquid Glass Surfaces (Obsidian Smoked Glass) ── */
|
|
--smoke-1: rgba(255, 255, 255, 0.04);
|
|
--smoke-2: rgba(255, 255, 255, 0.06);
|
|
--smoke-3: rgba(255, 255, 255, 0.09);
|
|
--smoke-4: rgba(255, 255, 255, 0.13);
|
|
--smoke-5: rgba(255, 255, 255, 0.18);
|
|
|
|
/* Crystalline glass gradient recipes — Obsidian Smoked Glass */
|
|
--bg-glass-card: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 35%, rgba(10, 13, 22, 0.80) 100%);
|
|
--bg-glass-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(12, 16, 26, 0.86) 100%);
|
|
--bg-glass-elevated: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.025) 45%, rgba(14, 18, 30, 0.90) 100%);
|
|
--bg-glass-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(18, 24, 38, 0.80) 100%);
|
|
|
|
/* Legacy aliases (JS compatibility — DO NOT REMOVE) */
|
|
--bg-void: var(--void);
|
|
--bg-base: var(--void-base);
|
|
--bg-app: transparent;
|
|
--bg-elevated: var(--bg-glass-elevated);
|
|
--bg-surface: var(--bg-glass-surface);
|
|
--bg-raised: var(--bg-glass-elevated);
|
|
--bg-panel: rgba(10, 13, 22, 0.92);
|
|
--bg-overlay: rgba(4, 6, 12, 0.94);
|
|
--bg-card: var(--bg-glass-card);
|
|
--bg-input: rgba(4, 6, 12, 0.90);
|
|
--bg-sidebar: linear-gradient(180deg, rgba(11, 14, 24, 0.85) 0%, rgba(5, 7, 13, 0.92) 100%);
|
|
--bg-header: linear-gradient(180deg, rgba(13, 17, 28, 0.88) 0%, rgba(7, 9, 16, 0.94) 100%);
|
|
|
|
/* ── Legacy glass tokens ── */
|
|
--glass-1: rgba(255, 255, 255, 0.04);
|
|
--glass-2: rgba(255, 255, 255, 0.08);
|
|
--glass-3: rgba(255, 255, 255, 0.13);
|
|
--glass-4: rgba(255, 255, 255, 0.18);
|
|
--glass-5: rgba(255, 255, 255, 0.26);
|
|
--glass-tint: var(--smoke-2);
|
|
--glass-tint-2: var(--smoke-3);
|
|
--glass-tint-3: var(--smoke-4);
|
|
--glass-tint-4: var(--smoke-5);
|
|
--glass-tint-5: var(--smoke-5);
|
|
|
|
/* ── Specular rim & Opposing Refraction Inset Highlights (Apple / kube.io) ── */
|
|
--lg-rim-top: rgba(255, 255, 255, 0.85);
|
|
--lg-rim-bot: rgba(0, 0, 0, 0.65);
|
|
--lg-rim-side: rgba(255, 255, 255, 0.35);
|
|
|
|
/* ── Borders — crisp crystal bevels ── */
|
|
--border-hair: rgba(255, 255, 255, 0.08);
|
|
--border-1: rgba(255, 255, 255, 0.18);
|
|
--border-2: rgba(255, 255, 255, 0.28);
|
|
--border-3: rgba(255, 255, 255, 0.42);
|
|
--border-4: rgba(255, 255, 255, 0.65);
|
|
--border-focus: var(--accent);
|
|
--border: var(--border-2);
|
|
|
|
/* ── Accent — Indigo Aurora (default theme) ── */
|
|
--accent: #7C9CFF;
|
|
--accent-soft: #B4C5FF;
|
|
--accent-deep: #4A6AE8;
|
|
--accent-rgb: 124, 156, 255;
|
|
--accent-glow: rgba(124, 156, 255, 0.45);
|
|
|
|
/* ── Phoenix brand — aliased to accent (no more orange) ── */
|
|
--ph: var(--accent);
|
|
--ph-light: var(--accent-soft);
|
|
--ph-bright: #C5D5FF;
|
|
--ph-dim: var(--accent-deep);
|
|
--ph-rgb: var(--accent-rgb);
|
|
--ph-alpha: rgba(124, 156, 255, 0.14);
|
|
--ph-alpha2: rgba(124, 156, 255, 0.26);
|
|
--ph-glow: rgba(124, 156, 255, 0.42);
|
|
--ph-shine: rgba(180, 197, 255, 0.62);
|
|
--brand-grad: linear-gradient(135deg, #E8EEFF 0%, #B4C5FF 38%, #7C9CFF 78%, #4A6AE8 100%);
|
|
--brand-grad-soft: linear-gradient(135deg, rgba(180,197,255,0.18) 0%, rgba(74,106,232,0.08) 100%);
|
|
|
|
/* ── Semantic ── */
|
|
--success: #36D9B2;
|
|
--success-rgb: 54, 217, 178;
|
|
--success-dim: rgba(54, 217, 178, 0.12);
|
|
--success-border: rgba(54, 217, 178, 0.32);
|
|
--success-glow: rgba(54, 217, 178, 0.42);
|
|
|
|
--danger: #FF5C7A;
|
|
--danger-rgb: 255, 92, 122;
|
|
--danger-dim: rgba(255, 92, 122, 0.12);
|
|
--danger-border: rgba(255, 92, 122, 0.32);
|
|
--danger-glow: rgba(255, 92, 122, 0.42);
|
|
|
|
--warning: #FFC859;
|
|
--warning-rgb: 255, 200, 89;
|
|
--warning-dim: rgba(255, 200, 89, 0.12);
|
|
--warning-border: rgba(255, 200, 89, 0.32);
|
|
|
|
--info: #62B5FF;
|
|
--info-dim: rgba(98, 181, 255, 0.12);
|
|
|
|
/* ── HTTP methods ── */
|
|
--m-get: #36D9B2;
|
|
--m-post: #FFC859;
|
|
--m-put: #62B5FF;
|
|
--m-delete: #FF5C7A;
|
|
--m-patch: #C084FC;
|
|
|
|
/* ── High-Contrast Text Hierarchy (Crisp, effortless reading over glass) ── */
|
|
--text-1: #FFFFFF;
|
|
--text-2: #E6ECFA;
|
|
--text-3: #B4BFD8;
|
|
--text-4: #828DA8;
|
|
--text-main: var(--text-1);
|
|
--text-muted: var(--text-2);
|
|
--text-shadow-glass: 0 1px 3px rgba(0, 0, 0, 0.75);
|
|
|
|
/* Legacy aliases (JS compatibility — DO NOT REMOVE) */
|
|
--primary: var(--accent);
|
|
--input-bg: var(--bg-input);
|
|
|
|
/* ── Typography ── */
|
|
--font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
|
|
--font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
|
|
--font-mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', Consolas, monospace;
|
|
--font-code: var(--font-mono);
|
|
|
|
/* ── Radius scale ── */
|
|
--r-2xs: 6px;
|
|
--r-xs: 8px;
|
|
--r-sm: 10px;
|
|
--r-md: 14px;
|
|
--r-lg: 18px;
|
|
--r-xl: 24px;
|
|
--r-2xl: 30px;
|
|
--r-3xl: 38px;
|
|
--r-full: 9999px;
|
|
|
|
/* ── Shadow scale — deep, layered, dramatic ── */
|
|
--sh-xs: 0 1px 2px rgba(0,0,0,0.45);
|
|
--sh-sm: 0 2px 8px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.32);
|
|
--sh-md: 0 8px 22px rgba(0,0,0,0.50), 0 3px 8px rgba(0,0,0,0.32);
|
|
--sh-lg: 0 14px 40px rgba(0,0,0,0.55), 0 6px 16px rgba(0,0,0,0.35);
|
|
--sh-xl: 0 24px 60px rgba(0,0,0,0.62), 0 10px 24px rgba(0,0,0,0.42);
|
|
--sh-2xl: 0 40px 100px rgba(0,0,0,0.72), 0 16px 40px rgba(0,0,0,0.50);
|
|
|
|
/* Liquid Glass layered shadows with dual opposing specular lights */
|
|
--sh-glass:
|
|
inset 0 1.5px 0.5px 0 rgba(255, 255, 255, 0.70),
|
|
inset 0 0.5px 1.5px 0 rgba(255, 255, 255, 0.35),
|
|
inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.60),
|
|
0 16px 40px -8px rgba(0, 0, 0, 0.55),
|
|
0 0 0 1px rgba(255, 255, 255, 0.12);
|
|
--sh-glass-lg:
|
|
inset 0 2px 1px 0 rgba(255, 255, 255, 0.82),
|
|
inset 0 1px 2px 0 rgba(255, 255, 255, 0.42),
|
|
inset 0 -2px 3px 0 rgba(0, 0, 0, 0.65),
|
|
0 24px 56px -12px rgba(0, 0, 0, 0.65),
|
|
0 0 0 1px rgba(255, 255, 255, 0.16);
|
|
--sh-glass-xl:
|
|
inset 0 2px 1px 0 rgba(255, 255, 255, 0.92),
|
|
inset 0 1px 2px 0 rgba(255, 255, 255, 0.48),
|
|
inset 0 -2.5px 4px 0 rgba(0, 0, 0, 0.70),
|
|
0 32px 72px -16px rgba(0, 0, 0, 0.75),
|
|
0 0 0 1px rgba(255, 255, 255, 0.20);
|
|
|
|
/* Kube.io Magnifying Glass depth formula */
|
|
--sh-magnify-lens:
|
|
0px 4px 9px rgba(0, 0, 0, 0.35),
|
|
inset 0px 2px 24px rgba(0, 0, 0, 0.45),
|
|
inset 0px -2px 24px rgba(255, 255, 255, 0.25);
|
|
|
|
--sh-accent: 0 6px 22px var(--accent-glow), 0 0 14px rgba(var(--accent-rgb),0.18);
|
|
--sh-success: 0 0 22px rgba(var(--success-rgb),0.40);
|
|
--sh-danger: 0 0 22px rgba(var(--danger-rgb),0.40);
|
|
--sh-ph: var(--sh-accent);
|
|
|
|
/* ── Motion — liquid spring physics ── */
|
|
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
--ease-in: cubic-bezier(0.7, 0, 0.84, 0);
|
|
--ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
|
|
--spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
--spring-soft: cubic-bezier(0.22, 1.2, 0.36, 1);
|
|
--bounce: cubic-bezier(0.34, 1.80, 0.64, 1);
|
|
--liquid: cubic-bezier(0.20, 0.9, 0.30, 1);
|
|
|
|
--t-instant: 60ms;
|
|
--t-fast: 200ms;
|
|
--t-normal: 320ms;
|
|
--t-slow: 480ms;
|
|
--t-slower: 680ms;
|
|
--t-liquid: 880ms;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
2 · THEME ENGINE — 7 themes, all over pure black
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.workspace.theme-violet {
|
|
--accent: #9C7BFF; --accent-soft: #C6B0FF; --accent-deep: #6A4DE0;
|
|
--accent-rgb: 156,123,255; --accent-glow: rgba(156,123,255,0.45);
|
|
--ph: var(--accent); --ph-light: var(--accent-soft); --ph-bright: #D8C5FF;
|
|
--ph-dim: var(--accent-deep); --ph-rgb: var(--accent-rgb);
|
|
--ph-alpha: rgba(156,123,255,0.14); --ph-alpha2: rgba(156,123,255,0.28);
|
|
--ph-glow: rgba(156,123,255,0.45); --ph-shine: rgba(198,176,255,0.62);
|
|
--brand-grad: linear-gradient(135deg, #ECE3FF 0%, #C6B0FF 38%, #9C7BFF 78%, #6A4DE0 100%);
|
|
--brand-grad-soft: linear-gradient(135deg, rgba(198,176,255,0.18) 0%, rgba(106,77,224,0.08) 100%);
|
|
}
|
|
.workspace.theme-cobalt {
|
|
--accent: #62A8FF; --accent-soft: #9CC5FF; --accent-deep: #2E6FE0;
|
|
--accent-rgb: 98,168,255; --accent-glow: rgba(98,168,255,0.45);
|
|
--ph: var(--accent); --ph-light: var(--accent-soft); --ph-bright: #B5D5FF;
|
|
--ph-dim: var(--accent-deep); --ph-rgb: var(--accent-rgb);
|
|
--ph-alpha: rgba(98,168,255,0.14); --ph-alpha2: rgba(98,168,255,0.28);
|
|
--ph-glow: rgba(98,168,255,0.45); --ph-shine: rgba(156,197,255,0.62);
|
|
--brand-grad: linear-gradient(135deg, #E5F0FF 0%, #9CC5FF 38%, #62A8FF 78%, #2E6FE0 100%);
|
|
--brand-grad-soft: linear-gradient(135deg, rgba(156,197,255,0.18) 0%, rgba(46,111,224,0.08) 100%);
|
|
}
|
|
.workspace.theme-rose {
|
|
--accent: #FF6FBE; --accent-soft: #FFA0D5; --accent-deep: #E03E8A;
|
|
--accent-rgb: 255,111,190; --accent-glow: rgba(255,111,190,0.45);
|
|
--ph: var(--accent); --ph-light: var(--accent-soft); --ph-bright: #FFC5E5;
|
|
--ph-dim: var(--accent-deep); --ph-rgb: var(--accent-rgb);
|
|
--ph-alpha: rgba(255,111,190,0.14); --ph-alpha2: rgba(255,111,190,0.28);
|
|
--ph-glow: rgba(255,111,190,0.45); --ph-shine: rgba(255,160,213,0.62);
|
|
--brand-grad: linear-gradient(135deg, #FFE5F2 0%, #FFA0D5 38%, #FF6FBE 78%, #E03E8A 100%);
|
|
--brand-grad-soft: linear-gradient(135deg, rgba(255,160,213,0.18) 0%, rgba(224,62,138,0.08) 100%);
|
|
}
|
|
.workspace.theme-emerald {
|
|
--accent: #3CD9A0; --accent-soft: #80EBC0; --accent-deep: #16A06A;
|
|
--accent-rgb: 60,217,160; --accent-glow: rgba(60,217,160,0.45);
|
|
--ph: var(--accent); --ph-light: var(--accent-soft); --ph-bright: #B5F0D5;
|
|
--ph-dim: var(--accent-deep); --ph-rgb: var(--accent-rgb);
|
|
--ph-alpha: rgba(60,217,160,0.14); --ph-alpha2: rgba(60,217,160,0.28);
|
|
--ph-glow: rgba(60,217,160,0.45); --ph-shine: rgba(128,235,192,0.62);
|
|
--brand-grad: linear-gradient(135deg, #E0F8EC 0%, #80EBC0 38%, #3CD9A0 78%, #16A06A 100%);
|
|
--brand-grad-soft: linear-gradient(135deg, rgba(128,235,192,0.18) 0%, rgba(22,160,106,0.08) 100%);
|
|
}
|
|
.workspace.theme-amber {
|
|
--accent: #FFB547; --accent-soft: #FFD390; --accent-deep: #D68A12;
|
|
--accent-rgb: 255,181,71; --accent-glow: rgba(255,181,71,0.45);
|
|
--ph: var(--accent); --ph-light: var(--accent-soft); --ph-bright: #FFE0B5;
|
|
--ph-dim: var(--accent-deep); --ph-rgb: var(--accent-rgb);
|
|
--ph-alpha: rgba(255,181,71,0.16); --ph-alpha2: rgba(255,181,71,0.30);
|
|
--ph-glow: rgba(255,181,71,0.45); --ph-shine: rgba(255,211,144,0.62);
|
|
--brand-grad: linear-gradient(135deg, #FFF1DD 0%, #FFD390 38%, #FFB547 78%, #D68A12 100%);
|
|
--brand-grad-soft: linear-gradient(135deg, rgba(255,211,144,0.20) 0%, rgba(214,138,18,0.08) 100%);
|
|
}
|
|
/* Light theme — inverted (still rare; user wanted dark preserved) */
|
|
.workspace.theme-light {
|
|
--void: #e8eaf2;
|
|
--void-deep: #d0d4e2;
|
|
--void-base: #d8dbee;
|
|
--void-elevated: #c8cde0;
|
|
--smoke-1: rgba(255, 255, 255, 0.62);
|
|
--smoke-2: rgba(255, 255, 255, 0.75);
|
|
--smoke-3: rgba(255, 255, 255, 0.84);
|
|
--smoke-4: rgba(255, 255, 255, 0.90);
|
|
--smoke-5: rgba(255, 255, 255, 0.95);
|
|
--bg-input: rgba(255, 255, 255, 0.62);
|
|
--bg-sidebar: rgba(255, 255, 255, 0.70);
|
|
--bg-header: rgba(255, 255, 255, 0.78);
|
|
--bg-elevated: rgba(255, 255, 255, 0.62);
|
|
--bg-surface: rgba(255, 255, 255, 0.75);
|
|
--bg-raised: rgba(255, 255, 255, 0.84);
|
|
--bg-panel: rgba(255, 255, 255, 0.88);
|
|
--bg-overlay: rgba(255, 255, 255, 0.94);
|
|
--bg-card: rgba(255, 255, 255, 0.78);
|
|
--border-1: rgba(0, 0, 0, 0.06);
|
|
--border-2: rgba(0, 0, 0, 0.10);
|
|
--border-3: rgba(0, 0, 0, 0.16);
|
|
--border-4: rgba(0, 0, 0, 0.22);
|
|
--border-hair: rgba(0, 0, 0, 0.04);
|
|
--text-1: #0E1020;
|
|
--text-2: #2D3050;
|
|
--text-3: #6B7390;
|
|
--text-4: #9CA0BA;
|
|
--lg-rim-top: rgba(255, 255, 255, 0.95);
|
|
--lg-rim-bot: rgba(0, 0, 0, 0.12);
|
|
--accent: #2E6FE0; --accent-soft: #62A8FF; --accent-deep: #1549B5;
|
|
--accent-rgb: 46,111,224; --accent-glow: rgba(46,111,224,0.35);
|
|
--ph: var(--accent); --ph-light: var(--accent-soft); --ph-bright: #9CC5FF;
|
|
--ph-dim: var(--accent-deep); --ph-rgb: var(--accent-rgb);
|
|
--ph-alpha: rgba(46,111,224,0.12); --ph-alpha2: rgba(46,111,224,0.24);
|
|
--ph-glow: rgba(46,111,224,0.35); --ph-shine: rgba(156,197,255,0.62);
|
|
--brand-grad: linear-gradient(135deg, #E5F0FF 0%, #9CC5FF 38%, #2E6FE0 78%, #1549B5 100%);
|
|
--brand-grad-soft: linear-gradient(135deg, rgba(156,197,255,0.30) 0%, rgba(21,73,181,0.15) 100%);
|
|
}
|
|
/* ── Black Obsidian Theme — deep smoked obsidian liquid glass ── */
|
|
.workspace.theme-dark,
|
|
body.theme-dark {
|
|
--void: #000000;
|
|
--void-deep: #020306;
|
|
--void-base: #05070c;
|
|
--void-elevated: #090c14;
|
|
|
|
--accent: #94B8FF;
|
|
--accent-soft: #C5D8FF;
|
|
--accent-deep: #4E78E6;
|
|
--accent-rgb: 148, 184, 255;
|
|
--accent-glow: rgba(148, 184, 255, 0.35);
|
|
|
|
--ph: var(--accent);
|
|
--ph-light: var(--accent-soft);
|
|
--ph-bright: #E5EFFF;
|
|
--ph-dim: var(--accent-deep);
|
|
--ph-rgb: var(--accent-rgb);
|
|
--ph-alpha: rgba(148, 184, 255, 0.12);
|
|
--ph-alpha2: rgba(148, 184, 255, 0.24);
|
|
--ph-glow: rgba(148, 184, 255, 0.35);
|
|
--ph-shine: rgba(194, 214, 255, 0.55);
|
|
--brand-grad: linear-gradient(135deg, #F0F4FF 0%, #C5D8FF 38%, #94B8FF 78%, #4E78E6 100%);
|
|
--brand-grad-soft: linear-gradient(135deg, rgba(194, 214, 255, 0.16) 0%, rgba(78, 120, 230, 0.08) 100%);
|
|
|
|
--bg-sidebar: linear-gradient(180deg, rgba(10, 13, 22, 0.88) 0%, rgba(5, 7, 12, 0.94) 100%);
|
|
--bg-header: linear-gradient(180deg, rgba(12, 16, 26, 0.90) 0%, rgba(7, 9, 16, 0.95) 100%);
|
|
--bg-panel: rgba(9, 12, 20, 0.92);
|
|
--bg-overlay: rgba(3, 4, 8, 0.95);
|
|
--bg-input: rgba(4, 6, 12, 0.92);
|
|
|
|
--bg-glass-card: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 35%, rgba(10, 13, 22, 0.82) 100%);
|
|
--bg-glass-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(12, 16, 26, 0.88) 100%);
|
|
--bg-glass-elevated: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.025) 45%, rgba(14, 18, 30, 0.92) 100%);
|
|
--bg-glass-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(18, 24, 38, 0.82) 100%);
|
|
|
|
--lg-rim-top: rgba(255, 255, 255, 0.75);
|
|
--lg-rim-bot: rgba(0, 0, 0, 0.80);
|
|
--lg-rim-side: rgba(255, 255, 255, 0.28);
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
3 · RESET & BASE
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
|
|
|
|
html { font-size: 14px; }
|
|
|
|
body {
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
background: var(--void);
|
|
color: var(--text-1);
|
|
font-family: var(--font-ui);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
letter-spacing: -0.013em;
|
|
text-rendering: optimizeLegibility;
|
|
font-feature-settings: "ss01" on, "cv01" on, "cv11" on;
|
|
position: relative;
|
|
}
|
|
|
|
::selection { background: rgba(var(--accent-rgb), 0.36); color: #fff; }
|
|
|
|
input:focus-visible,
|
|
select:focus-visible,
|
|
textarea:focus-visible,
|
|
button:focus-visible {
|
|
outline: 2px solid rgba(var(--accent-rgb), 0.55);
|
|
outline-offset: 1px;
|
|
border-radius: var(--r-xs);
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
4 · AMBIENT BACKDROP — Black Obsidian Glass Void & Chromatic Caustics
|
|
Pitch-black void (#000000) with deep obsidian depth and crystalline caustics
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.aurora-wall {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -2;
|
|
background:
|
|
radial-gradient(ellipse 90vw 50vh at 50% -12%, rgba(255, 255, 255, 0.035) 0%, transparent 60%),
|
|
radial-gradient(ellipse at 50% 18%, #080b14 0%, #030408 55%, #000000 100%);
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
/* ── Contextual Theme Ambient Caustics (all over pitch black void) ── */
|
|
:root:has(.theme-dark) .aurora-wall,
|
|
body.theme-dark .aurora-wall {
|
|
background:
|
|
radial-gradient(ellipse 90vw 50vh at 50% -12%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
|
|
radial-gradient(ellipse at 50% 18%, #060810 0%, #020306 55%, #000000 100%);
|
|
}
|
|
|
|
:root:has(.theme-violet) .aurora-wall,
|
|
body.theme-violet .aurora-wall {
|
|
background:
|
|
radial-gradient(ellipse 65vw 55vh at 20% 15%, rgba(156, 123, 255, 0.12) 0%, transparent 65%),
|
|
radial-gradient(ellipse at 50% 25%, #0b0918 0%, #030206 60%, #000000 100%);
|
|
}
|
|
|
|
:root:has(.theme-cobalt) .aurora-wall,
|
|
body.theme-cobalt .aurora-wall {
|
|
background:
|
|
radial-gradient(ellipse 65vw 55vh at 20% 15%, rgba(98, 168, 255, 0.12) 0%, transparent 65%),
|
|
radial-gradient(ellipse at 50% 25%, #060e1a 0%, #020408 60%, #000000 100%);
|
|
}
|
|
|
|
:root:has(.theme-emerald) .aurora-wall,
|
|
body.theme-emerald .aurora-wall {
|
|
background:
|
|
radial-gradient(ellipse 65vw 55vh at 20% 15%, rgba(60, 217, 160, 0.10) 0%, transparent 65%),
|
|
radial-gradient(ellipse at 50% 25%, #06140e 0%, #020503 60%, #000000 100%);
|
|
}
|
|
|
|
:root:has(.theme-amber) .aurora-wall,
|
|
body.theme-amber .aurora-wall {
|
|
background:
|
|
radial-gradient(ellipse 65vw 55vh at 20% 15%, rgba(255, 181, 71, 0.10) 0%, transparent 65%),
|
|
radial-gradient(ellipse at 50% 25%, #140e06 0%, #050402 60%, #000000 100%);
|
|
}
|
|
|
|
:root:has(.theme-rose) .aurora-wall,
|
|
body.theme-rose .aurora-wall {
|
|
background:
|
|
radial-gradient(ellipse 65vw 55vh at 20% 15%, rgba(255, 111, 190, 0.10) 0%, transparent 65%),
|
|
radial-gradient(ellipse at 50% 25%, #160812 0%, #050204 60%, #000000 100%);
|
|
}
|
|
|
|
:root:has(.theme-light) .aurora-wall,
|
|
body.theme-light .aurora-wall {
|
|
background:
|
|
radial-gradient(ellipse 70vw 60vh at 20% 15%, rgba(46, 111, 224, 0.10) 0%, transparent 70%),
|
|
radial-gradient(ellipse at 50% 25%, #eef1f8 0%, #dbe0ee 65%, #cbd2e4 100%);
|
|
}
|
|
|
|
.aurora-mesh-lines {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0.12;
|
|
background-image:
|
|
linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
|
|
linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
|
|
background-size: 28px 28px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.aurora-grain {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0.16;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
pointer-events: none;
|
|
}
|
|
|
|
.aurora-vignette {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.50) 70%, #000000 100%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
5 · LIQUID GLASS MATERIAL MIXINS (kube.io Snell's Law Refraction)
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.glass {
|
|
background: var(--bg-glass-card);
|
|
backdrop-filter: var(--lg-blur-regular);
|
|
-webkit-backdrop-filter: var(--lg-blur-regular);
|
|
border: 1px solid var(--border-2);
|
|
box-shadow: var(--sh-glass);
|
|
position: relative;
|
|
}
|
|
.glass::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: radial-gradient(ellipse 130% 60% at 50% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 75%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.glass-thin {
|
|
background: var(--bg-glass-card);
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
border: 1px solid var(--border-1);
|
|
box-shadow: var(--sh-glass);
|
|
position: relative;
|
|
}
|
|
|
|
.glass-thick {
|
|
background: var(--bg-glass-surface);
|
|
backdrop-filter: var(--lg-blur-thick);
|
|
-webkit-backdrop-filter: var(--lg-blur-thick);
|
|
border: 1px solid var(--border-2);
|
|
box-shadow: var(--sh-glass-lg);
|
|
position: relative;
|
|
}
|
|
.glass-thick::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: radial-gradient(ellipse 140% 65% at 50% 0%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.03) 48%, transparent 80%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.glass-ultra {
|
|
background: var(--bg-glass-elevated);
|
|
backdrop-filter: var(--lg-blur-ultra);
|
|
-webkit-backdrop-filter: var(--lg-blur-ultra);
|
|
border: 1px solid var(--border-3);
|
|
box-shadow: var(--sh-glass-xl);
|
|
position: relative;
|
|
}
|
|
.glass-ultra::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: radial-gradient(ellipse 140% 70% at 50% 0%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.04) 50%, transparent 82%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
/* Kube.io Magnifying Lens (Precision Liquid Glass Capsule) */
|
|
.glass-lens,
|
|
.kube-magnifying-lens {
|
|
backdrop-filter: url("#magnifying-glass-filter") blur(10px) saturate(180%);
|
|
-webkit-backdrop-filter: url("#magnifying-glass-filter") blur(10px) saturate(180%);
|
|
box-shadow: var(--sh-magnify-lens);
|
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════════════
|
|
KUBE.IO MAGNIFYING GLASS SECTION IMPLEMENTATION
|
|
Refraction lens with magnification zoom, edge deflection & specular bloom
|
|
══════════════════════════════════════════════════════════════════ */
|
|
.kube-lens-capsule {
|
|
position: fixed;
|
|
top: 180px;
|
|
left: 360px;
|
|
width: 220px;
|
|
height: 150px;
|
|
border-radius: 75px;
|
|
z-index: 9999;
|
|
cursor: grab;
|
|
backdrop-filter: url("#magnifying-glass-filter");
|
|
-webkit-backdrop-filter: url("#magnifying-glass-filter");
|
|
box-shadow:
|
|
0px 14px 44px rgba(0, 0, 0, 0.85),
|
|
inset 0px 2px 24px rgba(0, 0, 0, 0.45),
|
|
inset 0px -2px 24px rgba(255, 255, 255, 0.30);
|
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
touch-action: none;
|
|
transform: translateZ(0);
|
|
transition: transform 0.15s ease-out, box-shadow 0.2s ease;
|
|
}
|
|
.kube-lens-capsule:active {
|
|
cursor: grabbing;
|
|
transform: scale(1.05) translateZ(0);
|
|
box-shadow:
|
|
0px 24px 68px rgba(0, 0, 0, 0.95),
|
|
inset 0px 2px 28px rgba(0, 0, 0, 0.55),
|
|
inset 0px -2px 28px rgba(255, 255, 255, 0.40);
|
|
}
|
|
.kube-lens-drag-handle {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 14px;
|
|
right: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
pointer-events: auto;
|
|
}
|
|
.kube-lens-badge {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
background: rgba(0, 0, 0, 0.65);
|
|
padding: 3px 10px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
backdrop-filter: blur(8px);
|
|
pointer-events: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
text-shadow: 0 1px 2px rgba(0,0,0,0.8);
|
|
}
|
|
.kube-lens-close {
|
|
background: rgba(0, 0, 0, 0.65);
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
color: #fff;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
.kube-lens-close:hover {
|
|
background: rgba(239, 68, 68, 0.85);
|
|
border-color: rgba(239, 68, 68, 1);
|
|
transform: scale(1.1);
|
|
}
|
|
.lens-toggle-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: all 0.25s;
|
|
}
|
|
.lens-toggle-btn.on {
|
|
background: rgba(124, 156, 255, 0.25) !important;
|
|
border-color: rgba(124, 156, 255, 0.65) !important;
|
|
color: #c5d5ff !important;
|
|
box-shadow: 0 0 16px rgba(124, 156, 255, 0.35);
|
|
}
|
|
|
|
/* Specular rim — bright top edge + dark bottom edge (Apple signature) */
|
|
.glass-rim { position: relative; }
|
|
.glass-rim::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
padding: 1px;
|
|
background: linear-gradient(180deg,
|
|
var(--lg-rim-top) 0%,
|
|
var(--lg-rim-side) 28%,
|
|
transparent 48%,
|
|
rgba(0,0,0,0.20) 78%,
|
|
var(--lg-rim-bot) 100%);
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Specular light sweep on hover */
|
|
.glass-sweep { position: relative; overflow: hidden; }
|
|
.glass-sweep::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: -150%;
|
|
width: 100%; height: 100%;
|
|
background: linear-gradient(105deg,
|
|
transparent 28%,
|
|
rgba(255,255,255,0.22) 50%,
|
|
transparent 72%);
|
|
transform: skewX(-18deg);
|
|
transition: left var(--t-slow) var(--ease-out);
|
|
pointer-events: none;
|
|
}
|
|
.glass-sweep:hover::after { left: 150%; }
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
6 · SCROLLBARS
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
::-webkit-scrollbar { width: 11px; height: 11px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: var(--r-full);
|
|
border: 3px solid transparent;
|
|
background-clip: padding-box;
|
|
transition: background var(--t-fast);
|
|
}
|
|
::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb),0.40); border: 3px solid transparent; background-clip: padding-box; }
|
|
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.14) transparent; }
|
|
|
|
.custom-scroll::-webkit-scrollbar { width: 7px; }
|
|
.custom-scroll { scrollbar-width: thin; }
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
7 · WORKSPACE SHELL — LAYOUT OVERHAUL
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.workspace {
|
|
position: relative;
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
animation: wsFadeIn 0.65s var(--ease-out) both;
|
|
}
|
|
@keyframes wsFadeIn { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: scale(1); } }
|
|
|
|
.resizing * { transition: none !important; }
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
8 · GLOBAL ERROR DISPLAY
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
#error-display {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0;
|
|
background: rgba(255, 92, 122, 0.88);
|
|
color: #ffffff;
|
|
padding: 14px 22px;
|
|
z-index: 99999;
|
|
font-family: var(--font-ui);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
backdrop-filter: blur(22px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(22px) saturate(180%);
|
|
box-shadow: 0 8px 32px rgba(0,0,0,0.55);
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
9 · LOADING OVERLAY — Liquid orb ignition
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
#loading-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.86);
|
|
backdrop-filter: blur(48px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(48px) saturate(180%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
transition: opacity 0.55s var(--ease-out), visibility 0.55s var(--ease-out);
|
|
}
|
|
|
|
.loader-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 40px;
|
|
animation: loaderFadeUp 0.75s var(--ease-out) both;
|
|
}
|
|
@keyframes loaderFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
|
|
|
|
.loader-orb {
|
|
position: relative;
|
|
width: 104px;
|
|
height: 104px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.loader-orb-inner {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
background: var(--brand-grad);
|
|
filter: blur(22px);
|
|
opacity: 0.62;
|
|
animation: loaderPulse 2.4s ease-in-out infinite;
|
|
}
|
|
.loader-orb-glow {
|
|
position: absolute;
|
|
inset: -10px;
|
|
border-radius: 50%;
|
|
background: conic-gradient(from 0deg, transparent 0%, var(--accent) 25%, transparent 50%, var(--accent-soft) 75%, transparent 100%);
|
|
filter: blur(14px);
|
|
opacity: 0.82;
|
|
animation: loaderSpin 2.6s linear infinite;
|
|
}
|
|
.loader-orb-icon {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
background: var(--smoke-5);
|
|
backdrop-filter: blur(24px) saturate(200%);
|
|
-webkit-backdrop-filter: blur(24px) saturate(200%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
color: var(--accent);
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.45) inset,
|
|
0 -1px 0 rgba(0,0,0,0.20) inset,
|
|
0 14px 32px rgba(0,0,0,0.42);
|
|
}
|
|
@keyframes loaderPulse {
|
|
0%, 100% { transform: scale(1); opacity: 0.62; }
|
|
50% { transform: scale(1.20); opacity: 0.85; }
|
|
}
|
|
@keyframes loaderSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
|
|
|
.loader-brand {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.loader-brand-name {
|
|
font-family: var(--font-display);
|
|
font-size: 34px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.42em;
|
|
margin-left: 0.42em;
|
|
text-transform: uppercase;
|
|
background: var(--brand-grad);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
.loader-brand-sub {
|
|
font-family: var(--font-ui);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.38em;
|
|
margin-left: 0.38em;
|
|
text-transform: uppercase;
|
|
color: var(--text-3);
|
|
}
|
|
.loader-pulse { display: flex; gap: 10px; align-items: center; }
|
|
.loader-pulse-dot {
|
|
width: 8px; height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
box-shadow: 0 0 12px var(--accent-glow);
|
|
}
|
|
.loader-pulse-dot:nth-child(1) { animation: dotWave 1.5s ease-in-out 0.0s infinite; }
|
|
.loader-pulse-dot:nth-child(2) { animation: dotWave 1.5s ease-in-out 0.2s infinite; }
|
|
.loader-pulse-dot:nth-child(3) { animation: dotWave 1.5s ease-in-out 0.4s infinite; }
|
|
@keyframes dotWave {
|
|
0%, 100% { transform: scale(1); opacity: 0.42; }
|
|
50% { transform: scale(1.7); opacity: 1; }
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
10 · SIDEBAR — Floating smoked glass navigator (NEW LAYOUT)
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.sidebar {
|
|
width: 300px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--bg-sidebar);
|
|
backdrop-filter: var(--lg-blur-thick);
|
|
-webkit-backdrop-filter: var(--lg-blur-thick);
|
|
border-right: 1px solid var(--border-1);
|
|
overflow: hidden;
|
|
position: relative;
|
|
z-index: 2;
|
|
box-shadow:
|
|
1px 0 0 var(--lg-rim-top) inset,
|
|
-1px 0 0 rgba(0,0,0,0.42) inset;
|
|
}
|
|
.sidebar::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0;
|
|
height: 280px;
|
|
background: linear-gradient(180deg, rgba(var(--accent-rgb),0.05) 0%, transparent 100%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
.sidebar > * { position: relative; z-index: 1; }
|
|
|
|
.sidebar-resize-handle {
|
|
width: 5px;
|
|
cursor: col-resize;
|
|
background: transparent;
|
|
flex-shrink: 0;
|
|
z-index: 10;
|
|
transition: background var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
|
|
}
|
|
.sidebar-resize-handle:hover,
|
|
.sidebar-resize-handle.active {
|
|
background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb),0.7), transparent);
|
|
box-shadow: 0 0 16px var(--accent-glow);
|
|
}
|
|
|
|
/* ── Sidebar top row ── */
|
|
.sidebar-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 22px 20px 14px;
|
|
}
|
|
.sidebar-eyebrow {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-family: var(--font-display);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.22em;
|
|
color: var(--text-3);
|
|
}
|
|
.sidebar-eyebrow i {
|
|
color: var(--accent);
|
|
font-size: 11px;
|
|
filter: drop-shadow(0 0 8px var(--accent-glow));
|
|
}
|
|
|
|
/* ── Workspace switcher ── */
|
|
.space-switcher-wrap { position: relative; padding: 0 16px 14px; }
|
|
|
|
.space-switcher-select {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
width: 100%;
|
|
padding: 13px 36px 13px 16px;
|
|
background: var(--bg-input);
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-md);
|
|
color: var(--text-1);
|
|
font-size: 13.5px;
|
|
font-weight: 600;
|
|
font-family: var(--font-ui);
|
|
cursor: pointer;
|
|
transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--spring-soft);
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.10) inset,
|
|
0 -1px 0 rgba(0,0,0,0.22) inset,
|
|
var(--sh-sm);
|
|
}
|
|
.space-switcher-select:hover {
|
|
border-color: var(--border-3);
|
|
transform: translateY(-1px);
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.14) inset,
|
|
0 -1px 0 rgba(0,0,0,0.24) inset,
|
|
var(--sh-md);
|
|
}
|
|
.space-switcher-select:active { transform: translateY(0); }
|
|
.space-switcher-select:focus {
|
|
border-color: rgba(var(--accent-rgb),0.6);
|
|
box-shadow: 0 0 0 3px var(--ph-alpha);
|
|
}
|
|
.space-switcher-select option { background: var(--bg-panel); color: var(--text-1); }
|
|
|
|
/* ── Notifications banner ── */
|
|
.notifications-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
margin: 0 16px 12px;
|
|
padding: 12px 16px;
|
|
background: var(--warning-dim);
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
border: 1px solid var(--warning-border);
|
|
border-radius: var(--r-md);
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
color: var(--warning);
|
|
cursor: pointer;
|
|
transition: background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--spring-soft);
|
|
position: relative;
|
|
z-index: 1;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, var(--sh-sm);
|
|
}
|
|
.notifications-banner:hover {
|
|
background: rgba(var(--warning-rgb),0.22);
|
|
transform: translateX(3px);
|
|
}
|
|
.notifications-banner i { animation: bellShake 3.2s ease infinite; }
|
|
|
|
/* ── Collections header row ── */
|
|
.sidebar-collections-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 8px 16px 10px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.sidebar-section-label {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
font-family: var(--font-display);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.18em;
|
|
color: var(--text-3);
|
|
cursor: pointer;
|
|
transition: color var(--t-fast);
|
|
min-width: 0;
|
|
}
|
|
.sidebar-section-label:hover { color: var(--text-2); }
|
|
.sidebar-section-label i { font-size: 10px; }
|
|
|
|
/* ── Search (floating glass pill) ── */
|
|
.sidebar-search-container {
|
|
padding: 0 16px 14px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.sidebar-search-input {
|
|
width: 100%;
|
|
padding: 11px 36px 11px 36px;
|
|
background: var(--bg-input);
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-md);
|
|
color: var(--text-1);
|
|
font-size: 13px;
|
|
font-family: var(--font-ui);
|
|
transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
|
|
}
|
|
.sidebar-search-input::placeholder { color: var(--text-4); }
|
|
.sidebar-search-input:focus {
|
|
border-color: rgba(var(--accent-rgb),0.55);
|
|
background: var(--smoke-2);
|
|
box-shadow: 0 0 0 3px var(--ph-alpha);
|
|
}
|
|
.search-clear-btn {
|
|
position: absolute;
|
|
right: 24px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-3);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
padding: 4px;
|
|
border-radius: var(--r-2xs);
|
|
transition: color var(--t-fast), background var(--t-fast);
|
|
z-index: 2;
|
|
}
|
|
.search-clear-btn:hover { color: var(--text-1); background: var(--glass-3); }
|
|
|
|
/* ── Ultra-Fast Obsidian Liquid Search Elements ── */
|
|
.search-highlight {
|
|
background: rgba(124, 77, 255, 0.35);
|
|
color: #ffffff;
|
|
border-radius: 3px;
|
|
padding: 0 3px;
|
|
font-weight: 700;
|
|
box-shadow: 0 0 10px rgba(124, 77, 255, 0.4);
|
|
text-decoration: none;
|
|
display: inline;
|
|
}
|
|
|
|
.search-results-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 6px 12px;
|
|
margin-bottom: 8px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: var(--r-sm);
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
animation: fadeIn 0.15s ease-out;
|
|
}
|
|
.search-results-count {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-weight: 600;
|
|
color: var(--text-2);
|
|
}
|
|
.search-results-clear {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--primary);
|
|
cursor: pointer;
|
|
font-size: 10.5px;
|
|
font-weight: 600;
|
|
padding: 2px 6px;
|
|
border-radius: var(--r-2xs);
|
|
transition: background var(--t-fast), color var(--t-fast);
|
|
}
|
|
.search-results-clear:hover {
|
|
background: rgba(124, 77, 255, 0.18);
|
|
color: #fff;
|
|
}
|
|
|
|
.search-empty-state {
|
|
padding: 36px 16px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: fadeIn 0.2s ease-out;
|
|
}
|
|
.search-empty-icon-wrap {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.07);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
.search-empty-icon-wrap i {
|
|
font-size: 17px;
|
|
color: var(--text-4);
|
|
opacity: 0.7;
|
|
}
|
|
.search-empty-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-2);
|
|
margin-bottom: 4px;
|
|
}
|
|
.search-empty-desc {
|
|
font-size: 11.5px;
|
|
color: var(--text-4);
|
|
line-height: 1.45;
|
|
max-width: 210px;
|
|
}
|
|
.search-empty-query {
|
|
color: var(--text-1);
|
|
font-weight: 600;
|
|
word-break: break-all;
|
|
}
|
|
.search-empty-clear-btn {
|
|
margin-top: 14px;
|
|
font-size: 11px;
|
|
padding: 5px 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.search-more-reqs {
|
|
padding: 6px 10px;
|
|
font-size: 10.5px;
|
|
font-weight: 600;
|
|
color: var(--text-3);
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: color var(--t-fast), background var(--t-fast);
|
|
border-top: 1px dashed rgba(255, 255, 255, 0.06);
|
|
border-radius: 0 0 var(--r-md) var(--r-md);
|
|
}
|
|
.search-more-reqs:hover {
|
|
color: var(--primary);
|
|
background: rgba(124, 77, 255, 0.06);
|
|
}
|
|
|
|
/* ── Collections tree ── */
|
|
.history-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 4px 12px 16px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.collection-group {
|
|
overflow: hidden;
|
|
margin-bottom: 5px;
|
|
border-radius: var(--r-md);
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
background: rgba(255, 255, 255, 0.015);
|
|
transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--spring-soft), box-shadow var(--t-fast);
|
|
}
|
|
.collection-group:hover {
|
|
border-color: rgba(255, 255, 255, 0.09);
|
|
background: rgba(255, 255, 255, 0.035);
|
|
transform: translateY(-1px);
|
|
}
|
|
.collection-group.expanded {
|
|
background: rgba(255, 255, 255, 0.025);
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
|
|
}
|
|
|
|
.collection-header {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 10px;
|
|
cursor: pointer;
|
|
gap: 8px;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
color: var(--text-2);
|
|
transition: background var(--t-fast), color var(--t-fast);
|
|
user-select: none;
|
|
min-height: 38px;
|
|
border-radius: var(--r-sm);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.collection-header:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-1);
|
|
}
|
|
.col-chevron {
|
|
font-size: 10px;
|
|
width: 12px;
|
|
color: var(--text-3);
|
|
flex-shrink: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
|
|
}
|
|
.col-chevron.rotated {
|
|
transform: rotate(90deg);
|
|
color: var(--accent);
|
|
}
|
|
.col-folder {
|
|
color: #ffb547;
|
|
font-size: 13px;
|
|
flex-shrink: 0;
|
|
opacity: 0.9;
|
|
transition: transform var(--t-fast) var(--spring), filter var(--t-fast);
|
|
}
|
|
.collection-group.expanded .col-folder {
|
|
filter: drop-shadow(0 0 8px rgba(255, 181, 71, 0.5));
|
|
color: #ffca28;
|
|
}
|
|
|
|
/* 100% SINGLE LINE COLLECTION TITLE */
|
|
.col-title {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: block;
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
color: var(--text-1);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.col-count-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2px 7px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-3);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: var(--r-full);
|
|
flex-shrink: 0;
|
|
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
}
|
|
.collection-header:hover .col-count-pill {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: scale(0.85);
|
|
}
|
|
|
|
/* Floating Actions Bar for Collection (Smooth hover reveal) */
|
|
.col-actions-bar {
|
|
position: absolute;
|
|
right: 6px;
|
|
top: 50%;
|
|
transform: translateY(-50%) translateX(6px);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding: 2px 4px;
|
|
background: rgba(14, 18, 28, 0.94);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-sm);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
|
|
z-index: 5;
|
|
}
|
|
.collection-header:hover .col-actions-bar {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
transform: translateY(-50%) translateX(0);
|
|
}
|
|
|
|
.col-action-btn {
|
|
width: 22px;
|
|
height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-2);
|
|
font-size: 10px;
|
|
cursor: pointer;
|
|
transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
|
|
}
|
|
.col-action-btn:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: var(--text-1);
|
|
transform: translateY(-1px);
|
|
}
|
|
.col-action-btn.danger:hover {
|
|
background: var(--danger-dim);
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* Tree-guided child items */
|
|
.collection-items {
|
|
background: transparent;
|
|
padding: 3px 4px 6px 14px;
|
|
margin-left: 14px;
|
|
border-left: 1.5px solid rgba(255, 255, 255, 0.08);
|
|
position: relative;
|
|
}
|
|
|
|
.collection-space-badge {
|
|
font-size: 9.5px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
color: var(--accent);
|
|
background: var(--ph-alpha);
|
|
border: 1px solid var(--ph-alpha2);
|
|
padding: 2px 7px;
|
|
border-radius: var(--r-full);
|
|
max-width: 80px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
.collection-header:hover .collection-space-badge {
|
|
opacity: 0;
|
|
}
|
|
|
|
/* History items with modern sleek cards */
|
|
.history-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 8px;
|
|
border-radius: var(--r-sm);
|
|
cursor: pointer;
|
|
transition: background var(--t-fast), transform var(--t-fast) var(--spring-soft);
|
|
position: relative;
|
|
margin-bottom: 2px;
|
|
}
|
|
.history-item:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
transform: translateX(3px);
|
|
}
|
|
.history-item.active-request {
|
|
background: var(--ph-alpha);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.10) inset,
|
|
inset 3px 0 0 var(--accent);
|
|
}
|
|
.history-item-content {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
.history-item-name {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-1);
|
|
}
|
|
.history-item-url {
|
|
font-size: 10px;
|
|
color: var(--text-3);
|
|
font-family: var(--font-mono);
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
margin-top: 1px;
|
|
}
|
|
.history-item-actions {
|
|
position: absolute;
|
|
right: 6px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity var(--t-fast);
|
|
background: rgba(14, 18, 28, 0.92);
|
|
backdrop-filter: blur(8px);
|
|
padding: 2px;
|
|
border-radius: var(--r-xs);
|
|
border: 1px solid var(--border-2);
|
|
}
|
|
.history-item:hover .history-item-actions {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.empty-collection-box {
|
|
padding: 8px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: var(--r-sm);
|
|
border: 1px dashed rgba(255, 255, 255, 0.08);
|
|
}
|
|
.empty-col-text {
|
|
color: var(--text-3);
|
|
font-size: 11px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.method-badge, .main-tab-method {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: var(--font-mono);
|
|
font-size: 9px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.06em;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
min-width: 40px;
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
background: rgba(255,255,255,0.06);
|
|
border: 1px solid rgba(255,255,255,0.10);
|
|
color: var(--text-2);
|
|
}
|
|
.m-get { color: var(--m-get); border-color: rgba(54,217,178,0.34); background: rgba(54,217,178,0.10); }
|
|
.m-post { color: var(--m-post); border-color: rgba(255,200,89,0.34); background: rgba(255,200,89,0.10); }
|
|
.m-put { color: var(--m-put); border-color: rgba(98,181,255,0.34); background: rgba(98,181,255,0.10); }
|
|
.m-delete { color: var(--m-delete); border-color: rgba(255,92,122,0.34); background: rgba(255,92,122,0.10); }
|
|
.m-patch { color: var(--m-patch); border-color: rgba(192,132,252,0.34); background: rgba(192,132,252,0.10); }
|
|
|
|
/* Sidebar footer */
|
|
.sidebar-footer {
|
|
padding: 14px 16px 20px;
|
|
border-top: 1px solid var(--border-hair);
|
|
background: var(--glass-1);
|
|
flex-shrink: 0;
|
|
}
|
|
.sidebar-footer-btn { width: 100%; justify-content: flex-start; gap: 10px; }
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
11 · MAIN PANEL — floating glass cards layout
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.main-panel {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
position: relative;
|
|
padding: 14px 14px 14px 0;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
12 · APP HEADER — floating glass dock (NEW LAYOUT)
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.app-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 18px;
|
|
background: var(--bg-header);
|
|
backdrop-filter: var(--lg-blur-thick);
|
|
-webkit-backdrop-filter: var(--lg-blur-thick);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-xl);
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
z-index: 5;
|
|
box-shadow:
|
|
0 1px 0 var(--lg-rim-top) inset,
|
|
0 -1px 0 rgba(0,0,0,0.32) inset,
|
|
var(--sh-lg);
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border-radius: var(--r-md);
|
|
flex-shrink: 0;
|
|
transition: background var(--t-fast), transform var(--t-fast) var(--spring-soft);
|
|
}
|
|
.brand:hover { background: var(--glass-2); transform: translateY(-1px); }
|
|
.brand:active { transform: translateY(0); }
|
|
|
|
.brand-flame {
|
|
width: 34px; height: 34px;
|
|
border-radius: 50%;
|
|
background: var(--brand-grad);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 13px;
|
|
color: #fff;
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.50) inset,
|
|
0 -1px 0 rgba(0,0,0,0.22) inset,
|
|
0 8px 22px rgba(var(--accent-rgb),0.50),
|
|
0 3px 8px rgba(0,0,0,0.30);
|
|
text-shadow: 0 1px 2px rgba(0,0,0,0.22);
|
|
}
|
|
|
|
.brand-text {
|
|
font-family: var(--font-display);
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.18em;
|
|
margin-left: 0.1em;
|
|
text-transform: uppercase;
|
|
background: var(--brand-grad);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.ws-badge-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 6px 12px;
|
|
background: var(--glass-3);
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-full);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-1);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--spring-soft);
|
|
}
|
|
.ws-badge-pill:hover {
|
|
background: var(--glass-4);
|
|
border-color: var(--border-3);
|
|
transform: translateY(-1px);
|
|
}
|
|
.ws-badge-pill > i:first-child { color: var(--accent); font-size: 11px; }
|
|
.ws-badge-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
/* Theme selector */
|
|
.theme-select {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
padding: 6px 24px 6px 10px;
|
|
background: var(--glass-2);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-full);
|
|
color: var(--text-2);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
font-family: var(--font-ui);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
transition: all var(--t-fast);
|
|
}
|
|
.theme-select:hover { color: var(--text-1); border-color: var(--border-3); }
|
|
.theme-select option { background: var(--bg-panel); color: var(--text-1); }
|
|
|
|
/* URL + method input group — central floating glass pill */
|
|
.input-group {
|
|
display: flex;
|
|
align-items: stretch;
|
|
flex: 1 1 auto;
|
|
max-width: 900px;
|
|
min-width: 280px;
|
|
height: 44px;
|
|
min-height: 44px;
|
|
margin: 0 12px;
|
|
background: var(--bg-input, rgba(8, 12, 22, 0.85));
|
|
border: 1.5px solid var(--border-2);
|
|
border-radius: var(--r-md);
|
|
overflow: hidden;
|
|
transition: border-color var(--t-fast), box-shadow var(--t-fast);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
|
transform: translateZ(0);
|
|
}
|
|
.input-group:focus-within {
|
|
border-color: rgba(var(--accent-rgb), 0.75);
|
|
box-shadow: 0 0 0 3px var(--ph-alpha), 0 4px 18px rgba(var(--accent-rgb), 0.25);
|
|
}
|
|
|
|
.method-select {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
padding: 0 18px;
|
|
height: 100%;
|
|
background: var(--glass-3);
|
|
border: none;
|
|
border-right: 1.5px solid var(--border-2);
|
|
color: var(--text-1);
|
|
font-size: 13.5px;
|
|
font-weight: 800;
|
|
font-family: var(--font-mono);
|
|
letter-spacing: 0.06em;
|
|
cursor: pointer;
|
|
transition: background var(--t-fast);
|
|
min-width: 95px;
|
|
text-align: center;
|
|
}
|
|
.method-select:hover { background: var(--glass-4); }
|
|
.method-select option { background: var(--bg-panel); color: var(--text-1); }
|
|
|
|
.url-input {
|
|
flex: 1;
|
|
height: 100%;
|
|
padding: 0 18px;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-1);
|
|
font-size: 14px;
|
|
font-family: var(--font-mono);
|
|
min-width: 0;
|
|
}
|
|
.url-input::placeholder { color: var(--text-4); }
|
|
|
|
/* Prominent Action Buttons Dock */
|
|
#action-btns {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
margin-left: auto;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Single Main Action Button (POST / GET / PUT / DELETE / PATCH) */
|
|
.btn-main-action,
|
|
.btn-run-batch {
|
|
height: 44px;
|
|
padding: 0 20px;
|
|
font-weight: 800;
|
|
font-size: 13.5px;
|
|
letter-spacing: 0.04em;
|
|
color: #ffffff !important;
|
|
border-radius: var(--r-md);
|
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
box-shadow:
|
|
inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
|
|
inset 0 -1.5px 0 rgba(0, 0, 0, 0.35),
|
|
0 4px 18px rgba(0, 0, 0, 0.4);
|
|
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 9px;
|
|
transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
/* Method-specific distinct vibrant backgrounds */
|
|
.btn-main-action.method-post {
|
|
background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -1px 0 rgba(0,0,0,0.3) inset, 0 6px 22px rgba(16, 185, 129, 0.48), 0 2px 6px rgba(0,0,0,0.4);
|
|
}
|
|
.btn-main-action.method-post:hover {
|
|
background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 28px rgba(16, 185, 129, 0.65), 0 3px 10px rgba(0,0,0,0.45);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-main-action.method-get {
|
|
background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #075985 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -1px 0 rgba(0,0,0,0.3) inset, 0 6px 22px rgba(2, 132, 199, 0.48), 0 2px 6px rgba(0,0,0,0.4);
|
|
}
|
|
.btn-main-action.method-get:hover {
|
|
background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 28px rgba(2, 132, 199, 0.65), 0 3px 10px rgba(0,0,0,0.45);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-main-action.method-put {
|
|
background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -1px 0 rgba(0,0,0,0.3) inset, 0 6px 22px rgba(217, 119, 6, 0.48), 0 2px 6px rgba(0,0,0,0.4);
|
|
}
|
|
.btn-main-action.method-put:hover {
|
|
background: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #b45309 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 28px rgba(217, 119, 6, 0.65), 0 3px 10px rgba(0,0,0,0.45);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-main-action.method-delete {
|
|
background: linear-gradient(135deg, #e11d48 0%, #be123c 50%, #9f1239 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -1px 0 rgba(0,0,0,0.3) inset, 0 6px 22px rgba(225, 29, 72, 0.48), 0 2px 6px rgba(0,0,0,0.4);
|
|
}
|
|
.btn-main-action.method-delete:hover {
|
|
background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 28px rgba(225, 29, 72, 0.65), 0 3px 10px rgba(0,0,0,0.45);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-main-action.method-patch {
|
|
background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -1px 0 rgba(0,0,0,0.3) inset, 0 6px 22px rgba(124, 58, 237, 0.48), 0 2px 6px rgba(0,0,0,0.4);
|
|
}
|
|
.btn-main-action.method-patch:hover {
|
|
background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6d28d9 100%) !important;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 28px rgba(124, 58, 237, 0.65), 0 3px 10px rgba(0,0,0,0.45);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-main-action:active,
|
|
.btn-main-action.keyboard-trigger-active,
|
|
.btn-run-batch:active,
|
|
.btn-run-batch.keyboard-trigger-active {
|
|
transform: scale(0.97) translateY(1px);
|
|
filter: brightness(1.25);
|
|
box-shadow: 0 0 22px rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.btn-main-action .btn-text,
|
|
.btn-run-batch .btn-text {
|
|
color: #ffffff !important;
|
|
font-weight: 800;
|
|
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.btn-main-action i,
|
|
.btn-run-batch i {
|
|
color: #ffffff !important;
|
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
|
|
}
|
|
|
|
.btn-main-action .kbd-pill,
|
|
.btn-run-batch .kbd-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 7px;
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
color: #ffffff !important;
|
|
background: rgba(0, 0, 0, 0.38);
|
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
border-radius: 4px;
|
|
margin-left: 5px;
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
|
|
text-shadow: none;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
13 · BUTTONS — Liquid glass pills with specular sweep
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 9px;
|
|
padding: 0 18px;
|
|
height: 40px;
|
|
border-radius: var(--r-md);
|
|
font-family: var(--font-ui);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.005em;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition:
|
|
background var(--t-fast),
|
|
border-color var(--t-fast),
|
|
color var(--t-fast),
|
|
box-shadow var(--t-fast),
|
|
transform var(--t-fast) var(--spring-soft);
|
|
}
|
|
.btn:active { transform: translateY(1px) scale(0.985); }
|
|
.btn-sm { height: 30px; padding: 0 12px; font-size: 11.5px; border-radius: var(--r-sm); }
|
|
|
|
.btn-primary {
|
|
background: var(--brand-grad);
|
|
color: #fff;
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.35) inset,
|
|
0 -1px 0 rgba(0,0,0,0.22) inset,
|
|
0 8px 22px rgba(var(--accent-rgb),0.45),
|
|
0 3px 8px rgba(0,0,0,0.28);
|
|
text-shadow: 0 1px 2px rgba(0,0,0,0.22);
|
|
}
|
|
.btn-primary::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: -120%;
|
|
width: 100%; height: 100%;
|
|
background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
|
|
transform: skewX(-18deg);
|
|
transition: left var(--t-slow) var(--ease-out);
|
|
pointer-events: none;
|
|
}
|
|
.btn-primary:hover {
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.48) inset,
|
|
0 -1px 0 rgba(0,0,0,0.26) inset,
|
|
0 14px 32px rgba(var(--accent-rgb),0.58),
|
|
0 6px 14px rgba(0,0,0,0.32);
|
|
transform: translateY(-2px);
|
|
}
|
|
.btn-primary:hover::after { left: 120%; }
|
|
|
|
.btn-ghost {
|
|
background: var(--glass-2);
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
border-color: var(--border-2);
|
|
color: var(--text-2);
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset;
|
|
}
|
|
.btn-ghost:hover {
|
|
background: var(--glass-3);
|
|
color: var(--text-1);
|
|
border-color: var(--border-3);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-success {
|
|
background: linear-gradient(135deg, #4FE0BB 0%, #28C99B 100%);
|
|
color: #04231D;
|
|
font-weight: 700;
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.50) inset,
|
|
0 -1px 0 rgba(0,0,0,0.18) inset,
|
|
0 8px 22px rgba(var(--success-rgb),0.42);
|
|
}
|
|
.btn-success:hover {
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.60) inset,
|
|
0 -1px 0 rgba(0,0,0,0.22) inset,
|
|
0 14px 32px rgba(var(--success-rgb),0.58);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: linear-gradient(135deg, #FF6F8A 0%, #E0405E 100%);
|
|
color: #fff;
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.35) inset,
|
|
0 -1px 0 rgba(0,0,0,0.24) inset,
|
|
0 8px 22px rgba(var(--danger-rgb),0.42);
|
|
text-shadow: 0 1px 2px rgba(0,0,0,0.22);
|
|
}
|
|
.btn-danger:hover {
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.48) inset,
|
|
0 -1px 0 rgba(0,0,0,0.28) inset,
|
|
0 14px 32px rgba(var(--danger-rgb),0.58);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-warning {
|
|
background: linear-gradient(135deg, #FFD976 0%, #E0A020 100%);
|
|
color: #2A1A05;
|
|
font-weight: 700;
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.50) inset,
|
|
0 -1px 0 rgba(0,0,0,0.18) inset,
|
|
0 8px 22px rgba(var(--warning-rgb),0.42);
|
|
}
|
|
.btn-warning:hover { transform: translateY(-2px); }
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
14 · TAB STRIP — floating glass pill dock (NEW LAYOUT)
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.main-tab-strip {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 3px;
|
|
padding: 6px 6px;
|
|
background: var(--smoke-2);
|
|
backdrop-filter: var(--lg-blur-regular);
|
|
-webkit-backdrop-filter: var(--lg-blur-regular);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-lg);
|
|
flex-shrink: 0;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
position: relative;
|
|
z-index: 4;
|
|
box-shadow: var(--sh-glass);
|
|
}
|
|
.main-tab-strip::-webkit-scrollbar { display: none; }
|
|
|
|
.main-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 16px 10px 13px;
|
|
background: transparent;
|
|
border-radius: var(--r-md);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: var(--text-2);
|
|
border: 1px solid transparent;
|
|
position: relative;
|
|
transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--spring-soft);
|
|
white-space: nowrap;
|
|
max-width: 260px;
|
|
min-width: 110px;
|
|
}
|
|
.main-tab:hover {
|
|
background: var(--glass-2);
|
|
color: var(--text-1);
|
|
}
|
|
.main-tab.active {
|
|
background: var(--smoke-4);
|
|
color: var(--text-1);
|
|
border-color: var(--border-2);
|
|
box-shadow:
|
|
0 1px 0 var(--lg-rim-top) inset,
|
|
0 -1px 0 rgba(0,0,0,0.32) inset,
|
|
var(--sh-sm);
|
|
}
|
|
.main-tab.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 3px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60%;
|
|
height: 2px;
|
|
background: var(--brand-grad);
|
|
border-radius: var(--r-full);
|
|
filter: drop-shadow(0 0 6px var(--accent-glow));
|
|
}
|
|
.main-tab-method { font-size: 9px; padding: 2px 6px; min-width: 38px; }
|
|
.main-tab-name {
|
|
flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
font-weight: 500;
|
|
}
|
|
.main-tab-close {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-3);
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: var(--r-2xs);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all var(--t-fast);
|
|
line-height: 1;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
.main-tab-close:hover {
|
|
background: var(--danger-dim);
|
|
color: var(--danger);
|
|
}
|
|
.main-tab-add {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-3);
|
|
cursor: pointer;
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: var(--r-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all var(--t-fast) var(--spring-soft);
|
|
align-self: center;
|
|
margin-left: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
.main-tab-add:hover {
|
|
background: var(--ph-alpha);
|
|
color: var(--accent);
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
15 · REQUEST META — compact single-line glass strip
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.request-meta-section {
|
|
padding: 3px 14px;
|
|
background: var(--glass-2);
|
|
backdrop-filter: var(--lg-blur-regular);
|
|
-webkit-backdrop-filter: var(--lg-blur-regular);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-md);
|
|
flex-shrink: 0;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
|
margin-bottom: 2px;
|
|
}
|
|
.meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 28px;
|
|
}
|
|
.meta-icon {
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
flex-shrink: 0;
|
|
opacity: 0.75;
|
|
}
|
|
.meta-divider {
|
|
width: 1px;
|
|
height: 14px;
|
|
background: var(--border-2);
|
|
margin: 0 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
.req-name-input {
|
|
flex: 0 1 240px;
|
|
min-width: 120px;
|
|
height: 24px;
|
|
padding: 0 6px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--r-2xs);
|
|
color: var(--text-1);
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
font-family: var(--font-ui);
|
|
transition: border-color var(--t-fast), background var(--t-fast);
|
|
}
|
|
.req-name-input:focus {
|
|
border-color: rgba(var(--accent-rgb), 0.5);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
.req-desc-input {
|
|
flex: 1 1 auto;
|
|
min-width: 140px;
|
|
height: 24px;
|
|
padding: 0 6px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--r-2xs);
|
|
color: var(--text-2);
|
|
font-size: 11.5px;
|
|
font-family: var(--font-ui);
|
|
transition: border-color var(--t-fast), background var(--t-fast);
|
|
}
|
|
.req-desc-input:focus {
|
|
border-color: rgba(var(--accent-rgb), 0.5);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text-1);
|
|
}
|
|
.req-name-input::placeholder, .req-desc-input::placeholder {
|
|
color: var(--text-4);
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
16 · CONTENT TABS + CONTENT AREA — floating glass workspace card
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.tabs {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
padding: 0 22px;
|
|
background: var(--bg-glass-card);
|
|
backdrop-filter: var(--lg-blur-regular);
|
|
-webkit-backdrop-filter: var(--lg-blur-regular);
|
|
border: 1px solid var(--border-2);
|
|
border-bottom: none;
|
|
border-radius: var(--r-lg) var(--r-lg) 0 0;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 1.5px 0 var(--lg-rim-top) inset;
|
|
position: relative;
|
|
}
|
|
.tabs::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: radial-gradient(ellipse 130% 60% at 50% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 75%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
.tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 13px 20px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
font-family: var(--font-display);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--text-2);
|
|
border-bottom: 2px solid transparent;
|
|
transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
|
|
position: relative;
|
|
z-index: 1;
|
|
user-select: none;
|
|
}
|
|
.tab i { font-size: 12px; }
|
|
.tab:hover { color: var(--text-1); background: var(--glass-1); }
|
|
.tab.active {
|
|
color: var(--accent);
|
|
border-bottom-color: var(--accent);
|
|
}
|
|
.tab.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -1px; left: 16px; right: 16px;
|
|
height: 2px;
|
|
background: var(--brand-grad);
|
|
border-radius: var(--r-full);
|
|
filter: drop-shadow(0 0 6px var(--accent-glow));
|
|
}
|
|
|
|
.bulk-controls-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 5px 0 5px 16px;
|
|
margin-left: auto;
|
|
border-left: 1px solid var(--border-1);
|
|
}
|
|
.bulk-control-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-size: 12px;
|
|
color: var(--text-2);
|
|
}
|
|
.bulk-control-label {
|
|
font-family: var(--font-display);
|
|
font-size: 9.5px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
color: var(--text-3);
|
|
}
|
|
.bulk-strategy-group { gap: 12px; }
|
|
.bulk-num-input {
|
|
padding: 7px 10px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-2xs);
|
|
color: var(--text-1);
|
|
font-family: var(--font-mono);
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
transition: border-color var(--t-fast), box-shadow var(--t-fast);
|
|
}
|
|
.bulk-num-input:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 2px var(--ph-alpha);
|
|
}
|
|
|
|
/* Content area — main glass card body (NEW LAYOUT: shares border with tabs-bar above) */
|
|
.content-area {
|
|
flex: 1;
|
|
overflow: auto;
|
|
background: var(--bg-glass-card);
|
|
backdrop-filter: var(--lg-blur-regular);
|
|
-webkit-backdrop-filter: var(--lg-blur-regular);
|
|
border: 1px solid var(--border-2);
|
|
border-top: none;
|
|
border-radius: 0 0 var(--r-lg) var(--r-lg);
|
|
min-height: 100px;
|
|
position: relative;
|
|
box-shadow:
|
|
0 -1px 0 rgba(0,0,0,0.32) inset,
|
|
var(--sh-glass);
|
|
contain: paint layout;
|
|
transform: translateZ(0);
|
|
will-change: scroll-position;
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
.data-table th {
|
|
text-align: left;
|
|
padding: 12px 14px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(8, 11, 20, 0.88) 100%);
|
|
color: #FFFFFF;
|
|
font-family: var(--font-display);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.16);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 5;
|
|
box-shadow:
|
|
0px 4px 14px rgba(0, 0, 0, 0.55),
|
|
inset 0px 2px 18px rgba(0, 0, 0, 0.50),
|
|
inset 0px -2px 18px rgba(255, 255, 255, 0.18),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.40);
|
|
transform: translateZ(0);
|
|
transition: background var(--t-fast);
|
|
}
|
|
.theme-light .data-table th {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(235, 240, 252, 0.92) 100%);
|
|
color: #111827;
|
|
text-shadow: none;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
box-shadow:
|
|
0px 4px 9px rgba(0, 0, 0, 0.08),
|
|
inset 0px 2px 18px rgba(0, 0, 0, 0.06),
|
|
inset 0px -2px 18px rgba(255, 255, 255, 0.75);
|
|
}
|
|
.data-table td {
|
|
padding: 9px 14px;
|
|
border-bottom: 1px solid var(--border-hair);
|
|
color: var(--text-2);
|
|
vertical-align: middle;
|
|
}
|
|
.data-table tr:hover td { background: var(--glass-1); }
|
|
.data-table tr:last-child td { border-bottom: none; }
|
|
.action-col { width: 42px; text-align: right; }
|
|
|
|
.cell-input, .key-input, .val-input {
|
|
width: 100%;
|
|
padding: 8px 11px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-2xs);
|
|
color: var(--text-1);
|
|
font-family: var(--font-mono);
|
|
font-size: 12.5px;
|
|
transition: border-color var(--t-fast), box-shadow var(--t-fast);
|
|
}
|
|
.cell-input:focus, .key-input:focus, .val-input:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 2px var(--ph-alpha);
|
|
}
|
|
.key-input { font-weight: 600; }
|
|
|
|
.type-select {
|
|
padding: 8px 10px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-2xs);
|
|
color: var(--text-2);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: border-color var(--t-fast);
|
|
margin-right: 8px;
|
|
}
|
|
.type-select:focus { border-color: var(--accent); }
|
|
.type-select option { background: var(--bg-panel); }
|
|
|
|
.file-trigger {
|
|
padding: 8px 14px;
|
|
background: var(--glass-3);
|
|
border: 1px dashed var(--border-3);
|
|
border-radius: var(--r-2xs);
|
|
color: var(--text-2);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: all var(--t-fast);
|
|
}
|
|
.file-trigger:hover {
|
|
background: var(--glass-4);
|
|
color: var(--text-1);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
/* Body type pills */
|
|
.body-type-row { display: flex; gap: 9px; }
|
|
.body-type-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 9px 18px;
|
|
background: var(--glass-2);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-full);
|
|
color: var(--text-2);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all var(--t-fast) var(--spring-soft);
|
|
}
|
|
.body-type-pill:hover {
|
|
background: var(--glass-3);
|
|
color: var(--text-1);
|
|
transform: translateY(-1px);
|
|
}
|
|
.body-type-pill:has(input:checked) {
|
|
background: var(--ph-alpha);
|
|
border-color: var(--accent);
|
|
color: var(--accent);
|
|
box-shadow: 0 0 0 1px var(--ph-alpha2), 0 6px 14px rgba(var(--accent-rgb),0.22);
|
|
}
|
|
.body-type-pill input { display: none; }
|
|
|
|
/* Code editor + code blocks */
|
|
.code-editor, .code-block {
|
|
width: 100%;
|
|
padding: 16px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-md);
|
|
color: var(--text-1);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
resize: vertical;
|
|
min-height: 220px;
|
|
transition: border-color var(--t-fast), box-shadow var(--t-fast);
|
|
}
|
|
.code-editor:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--ph-alpha);
|
|
outline: none;
|
|
}
|
|
.code-block {
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
margin: 0;
|
|
min-height: auto;
|
|
}
|
|
|
|
/* Empty state */
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 14px;
|
|
height: 100%;
|
|
min-height: 260px;
|
|
color: var(--text-3);
|
|
font-size: 14px;
|
|
text-align: center;
|
|
padding: 36px;
|
|
}
|
|
.empty-state i {
|
|
font-size: 36px;
|
|
opacity: 0.50;
|
|
color: var(--accent);
|
|
filter: drop-shadow(0 0 14px var(--accent-glow));
|
|
}
|
|
|
|
/* Status badge */
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4px 11px;
|
|
border-radius: var(--r-2xs);
|
|
font-family: var(--font-mono);
|
|
font-size: 12.5px;
|
|
font-weight: 800;
|
|
color: #04121b;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 -1px 0 rgba(0,0,0,0.20) inset;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
17 · BOTTOM PANEL — floating glass dock (NEW LAYOUT)
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.bottom-results-panel {
|
|
height: 320px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--bg-glass-surface);
|
|
backdrop-filter: var(--lg-blur-thick);
|
|
-webkit-backdrop-filter: var(--lg-blur-thick);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-xl);
|
|
position: relative;
|
|
z-index: 3;
|
|
box-shadow:
|
|
inset 0 1.5px 0.5px 0 rgba(255, 255, 255, 0.70),
|
|
inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.55),
|
|
var(--sh-glass-lg);
|
|
overflow: hidden;
|
|
}
|
|
.bottom-results-panel::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: radial-gradient(ellipse 130% 50% at 50% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 75%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
.results-resize-handle {
|
|
height: 5px;
|
|
cursor: row-resize;
|
|
background: transparent;
|
|
flex-shrink: 0;
|
|
transition: background var(--t-fast);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.results-resize-handle:hover {
|
|
background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb),0.65), transparent);
|
|
}
|
|
|
|
.panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 18px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-bottom: 1px solid var(--border-1);
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.panel-tabs-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
flex: 1;
|
|
}
|
|
.panel-tab {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--r-md);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-3);
|
|
transition: all var(--t-fast) var(--spring-soft);
|
|
}
|
|
.panel-tab:hover { background: var(--glass-2); color: var(--text-2); }
|
|
.panel-tab.active {
|
|
background: var(--smoke-4);
|
|
color: var(--text-1);
|
|
border-color: var(--border-2);
|
|
box-shadow: 0 1px 0 var(--lg-rim-top) inset, var(--sh-sm);
|
|
}
|
|
.panel-tab.active i { color: var(--accent); }
|
|
|
|
.result-count-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 7px;
|
|
background: var(--accent);
|
|
color: #fff;
|
|
font-size: 10.5px;
|
|
font-weight: 800;
|
|
border-radius: var(--r-full);
|
|
margin-left: 4px;
|
|
box-shadow: 0 0 12px rgba(var(--accent-rgb),0.50);
|
|
}
|
|
|
|
.stat-capsule {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 11px;
|
|
background: var(--glass-3);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-full);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-2);
|
|
font-family: var(--font-mono);
|
|
}
|
|
.stat-capsule.success {
|
|
color: var(--success);
|
|
background: var(--success-dim);
|
|
border-color: var(--success-border);
|
|
}
|
|
.stat-capsule.error {
|
|
color: var(--danger);
|
|
background: var(--danger-dim);
|
|
border-color: var(--danger-border);
|
|
}
|
|
|
|
.bottom-panel-body {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Progress bar */
|
|
.progress-track {
|
|
height: 7px;
|
|
background: var(--bg-input);
|
|
border-radius: var(--r-full);
|
|
overflow: hidden;
|
|
position: relative;
|
|
margin: 0 18px 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
border-radius: var(--r-full);
|
|
transition: width var(--t-normal) var(--ease-out), background var(--t-normal);
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 0 14px rgba(var(--accent-rgb),0.62);
|
|
}
|
|
.progress-fill::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.42) 50%, transparent 100%);
|
|
animation: progressShine 1.4s linear infinite;
|
|
}
|
|
@keyframes progressShine {
|
|
from { transform: translateX(-100%); }
|
|
to { transform: translateX(100%); }
|
|
}
|
|
|
|
/* Results grid — spacious cards for clear visual inspection */
|
|
.results-grid {
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
grid-auto-rows: max-content;
|
|
gap: 16px;
|
|
padding: 16px 20px;
|
|
overflow-y: auto;
|
|
align-content: start;
|
|
}
|
|
|
|
/* Result card — crystal liquid glass tile with specular rim (kube.io refraction) */
|
|
.result-card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: fit-content;
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
background: var(--bg-glass-card);
|
|
border: 1px solid var(--border-2);
|
|
box-shadow: var(--sh-glass);
|
|
transition: transform var(--t-fast) var(--spring-soft), box-shadow var(--t-fast), border-color var(--t-fast), background var(--t-fast);
|
|
transform: translateZ(0);
|
|
}
|
|
.result-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: radial-gradient(ellipse 130% 60% at 50% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 75%);
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
.result-card:hover {
|
|
transform: translateY(-4px) scale(1.02) translateZ(0);
|
|
border-color: rgba(255, 255, 255, 0.55);
|
|
background: var(--bg-glass-hover);
|
|
box-shadow:
|
|
inset 0 2px 1px 0 rgba(255, 255, 255, 0.90),
|
|
inset 0 -2px 3px 0 rgba(0, 0, 0, 0.60),
|
|
0 24px 52px rgba(0, 0, 0, 0.65),
|
|
0 8px 24px rgba(var(--accent-rgb), 0.45);
|
|
}
|
|
.result-card.success { border-left: 3px solid var(--success); }
|
|
.result-card.error { border-left: 3px solid var(--danger); }
|
|
.result-card.warning { border-left: 3px solid var(--warning); }
|
|
|
|
.card-preview-area {
|
|
position: relative;
|
|
aspect-ratio: 4 / 3;
|
|
min-height: 195px;
|
|
background: var(--bg-input);
|
|
overflow: hidden;
|
|
}
|
|
.card-thumb {
|
|
width: 100%; height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
transition: transform var(--t-slow) var(--ease-out);
|
|
}
|
|
.result-card:hover .card-thumb { transform: scale(1.08); }
|
|
|
|
.card-text-fallback {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
height: 100%;
|
|
padding: 14px;
|
|
text-align: center;
|
|
}
|
|
.fallback-icon { font-size: 28px; color: var(--text-3); opacity: 0.62; }
|
|
.fallback-type { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; color: var(--text-3); letter-spacing: 0.10em; }
|
|
.fallback-snippet {
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
color: var(--text-3);
|
|
max-width: 100%;
|
|
max-height: 30px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
.card-icon-fallback {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
height: 100%;
|
|
color: var(--danger);
|
|
}
|
|
|
|
.card-action-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.65) 100%);
|
|
opacity: 0;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
padding: 11px;
|
|
transition: opacity var(--t-fast) var(--ease-out);
|
|
}
|
|
.result-card:hover .card-action-overlay { opacity: 1; }
|
|
.action-overlay-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
border: none;
|
|
color: #04121b;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: transform var(--t-fast) var(--spring);
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.60) inset,
|
|
0 -1px 0 rgba(0,0,0,0.12) inset,
|
|
0 6px 16px rgba(0,0,0,0.40);
|
|
}
|
|
.action-overlay-btn:hover { transform: scale(1.15) translateY(-2px); }
|
|
|
|
.card-tiny-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
font-family: var(--font-mono);
|
|
}
|
|
.tiny-status {
|
|
width: 7px; height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--success);
|
|
box-shadow: 0 0 7px rgba(var(--success-rgb),0.62);
|
|
}
|
|
.tiny-status.err { background: var(--danger); box-shadow: 0 0 7px rgba(var(--danger-rgb),0.62); }
|
|
|
|
.card-info-area {
|
|
padding: 9px 11px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
.card-meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
color: var(--text-3);
|
|
}
|
|
.card-index { font-weight: 700; color: var(--text-2); }
|
|
.card-status-badge {
|
|
margin-left: auto;
|
|
padding: 2px 7px;
|
|
border-radius: var(--r-2xs);
|
|
font-weight: 700;
|
|
font-size: 9.5px;
|
|
color: #04121b;
|
|
}
|
|
.card-status-badge.success { background: var(--success); }
|
|
.card-status-badge.error { background: var(--danger); }
|
|
.card-status-badge.warning { background: var(--warning); }
|
|
.card-status-badge.info { background: var(--info); }
|
|
.card-latency { color: var(--text-4); }
|
|
.card-filename {
|
|
font-size: 11px;
|
|
color: var(--text-2);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Folder selector */
|
|
.folder-selector-container {
|
|
display: flex;
|
|
align-items: stretch;
|
|
height: 32px;
|
|
background: var(--glass-2);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-md);
|
|
overflow: hidden;
|
|
}
|
|
.folder-path-display {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 0 13px;
|
|
font-family: var(--font-mono);
|
|
font-size: 11.5px;
|
|
color: var(--text-2);
|
|
max-width: 260px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
18 · DASHBOARD — Hero workspace picker (NEW LAYOUT)
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.spaces-dashboard {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 60px 6vw 80px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 50px;
|
|
}
|
|
.spaces-dash-header {
|
|
text-align: center;
|
|
max-width: 680px;
|
|
animation: dashHeaderIn 0.75s var(--ease-out) both;
|
|
}
|
|
@keyframes dashHeaderIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
|
|
.spaces-dash-eyebrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 7px 16px;
|
|
background: var(--ph-alpha);
|
|
border: 1px solid var(--ph-alpha2);
|
|
border-radius: var(--r-full);
|
|
color: var(--accent);
|
|
font-family: var(--font-display);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
margin-bottom: 22px;
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
box-shadow: 0 0 14px rgba(var(--accent-rgb),0.20);
|
|
}
|
|
.spaces-dash-eyebrow i { font-size: 11px; }
|
|
.spaces-dash-header h2 {
|
|
font-family: var(--font-display);
|
|
font-size: 52px;
|
|
font-weight: 900;
|
|
line-height: 1.04;
|
|
letter-spacing: -0.030em;
|
|
color: var(--text-1);
|
|
margin-bottom: 18px;
|
|
}
|
|
.spaces-dash-header h2 .grad {
|
|
background: var(--brand-grad);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
.spaces-dash-header p {
|
|
font-size: 15.5px;
|
|
color: var(--text-2);
|
|
line-height: 1.6;
|
|
max-width: 560px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.spaces-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 20px;
|
|
width: 100%;
|
|
max-width: 1180px;
|
|
}
|
|
|
|
.space-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 22px;
|
|
background: var(--smoke-2);
|
|
backdrop-filter: var(--lg-blur-regular);
|
|
-webkit-backdrop-filter: var(--lg-blur-regular);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-xl);
|
|
cursor: pointer;
|
|
transition: transform var(--t-slow) var(--spring-soft), border-color var(--t-slow), box-shadow var(--t-slow), background var(--t-slow);
|
|
position: relative;
|
|
overflow: hidden;
|
|
animation: cardEnter 0.55s var(--spring-soft) both;
|
|
box-shadow: var(--sh-glass);
|
|
}
|
|
.space-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, transparent 0%, rgba(var(--accent-rgb),0.08) 100%);
|
|
opacity: 0;
|
|
transition: opacity var(--t-slow);
|
|
pointer-events: none;
|
|
}
|
|
.space-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: -150%;
|
|
width: 100%; height: 100%;
|
|
background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
|
|
transform: skewX(-18deg);
|
|
transition: left var(--t-slow) var(--ease-out);
|
|
pointer-events: none;
|
|
}
|
|
.space-card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: var(--accent);
|
|
background: var(--smoke-3);
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.32) inset,
|
|
0 -1px 0 rgba(0,0,0,0.40) inset,
|
|
0 28px 56px rgba(0,0,0,0.55),
|
|
0 12px 28px rgba(var(--accent-rgb),0.42);
|
|
}
|
|
.space-card:hover::before { opacity: 1; }
|
|
.space-card:hover::after { left: 150%; }
|
|
|
|
.space-card-icon {
|
|
width: 56px; height: 56px;
|
|
border-radius: var(--r-lg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--brand-grad);
|
|
color: #fff;
|
|
font-size: 20px;
|
|
flex-shrink: 0;
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.50) inset,
|
|
0 -1px 0 rgba(0,0,0,0.22) inset,
|
|
0 8px 22px rgba(var(--accent-rgb),0.50);
|
|
position: relative;
|
|
}
|
|
.space-card-notif-badge {
|
|
position: absolute;
|
|
top: -5px; right: -5px;
|
|
min-width: 20px; height: 20px;
|
|
padding: 0 6px;
|
|
border-radius: var(--r-full);
|
|
background: var(--danger);
|
|
color: #fff;
|
|
font-size: 10.5px;
|
|
font-weight: 800;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 0 0 2px var(--bg-sidebar), 0 0 12px rgba(var(--danger-rgb),0.65);
|
|
}
|
|
.space-card-info { flex: 1; min-width: 0; }
|
|
.space-card-info h3 {
|
|
font-family: var(--font-display);
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
color: var(--text-1);
|
|
margin: 0 0 4px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.space-card-info span {
|
|
font-size: 12px;
|
|
color: var(--text-3);
|
|
font-weight: 500;
|
|
text-transform: capitalize;
|
|
}
|
|
.space-card-actions {
|
|
display: flex;
|
|
gap: 5px;
|
|
opacity: 0;
|
|
transition: opacity var(--t-fast);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.space-card:hover .space-card-actions { opacity: 1; }
|
|
|
|
.create-space-card {
|
|
background: transparent;
|
|
border: 1.5px dashed var(--border-3);
|
|
}
|
|
.create-space-card:hover {
|
|
background: var(--ph-alpha);
|
|
border-color: var(--accent);
|
|
border-style: solid;
|
|
}
|
|
.create-space-card .space-card-icon {
|
|
background: var(--ph-alpha);
|
|
color: var(--accent);
|
|
box-shadow: 0 0 0 1px var(--ph-alpha2);
|
|
}
|
|
|
|
/* Theme-specific space-card accent stripes (decorative) */
|
|
.space-card-violet .space-card-icon { background: linear-gradient(135deg, #ECE3FF, #9C7BFF, #6A4DE0); }
|
|
.space-card-cobalt .space-card-icon { background: linear-gradient(135deg, #E5F0FF, #62A8FF, #2E6FE0); }
|
|
.space-card-rose .space-card-icon { background: linear-gradient(135deg, #FFE5F2, #FF6FBE, #E03E8A); }
|
|
.space-card-emerald .space-card-icon { background: linear-gradient(135deg, #E0F8EC, #3CD9A0, #16A06A); }
|
|
.space-card-amber .space-card-icon { background: linear-gradient(135deg, #FFF1DD, #FFB547, #D68A12); }
|
|
.space-card-light .space-card-icon { background: linear-gradient(135deg, #E5F0FF, #2E6FE0, #1549B5); }
|
|
.space-card-dark .space-card-icon { background: linear-gradient(135deg, #F0F2F8, #6F7791, #2A2E3C); }
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
19 · PREMIUM MODALS — Liquid Glass cards (kube.io refraction)
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.premium-modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.65);
|
|
backdrop-filter: blur(28px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(28px) saturate(180%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
padding: 32px;
|
|
animation: modalOverlayIn 0.36s var(--ease-out) both;
|
|
}
|
|
@keyframes modalOverlayIn { from { opacity: 0; } to { opacity: 1; } }
|
|
|
|
.premium-modal-card {
|
|
background: var(--bg-glass-elevated);
|
|
backdrop-filter: var(--lg-blur-ultra);
|
|
-webkit-backdrop-filter: var(--lg-blur-ultra);
|
|
border: 1px solid var(--border-3);
|
|
border-radius: var(--r-2xl);
|
|
box-shadow:
|
|
inset 0 2px 1px 0 rgba(255, 255, 255, 0.90),
|
|
inset 0 1px 2px 0 rgba(255, 255, 255, 0.45),
|
|
inset 0 -2.5px 4px 0 rgba(0, 0, 0, 0.70),
|
|
0 38px 96px rgba(0, 0, 0, 0.75),
|
|
0 16px 36px rgba(0, 0, 0, 0.55);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
animation: modalCardIn 0.50s var(--spring) both;
|
|
position: relative;
|
|
}
|
|
.premium-modal-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: radial-gradient(ellipse 130% 50% at 50% 0%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 75%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
@keyframes modalCardIn {
|
|
from { opacity: 0; transform: scale(0.94) translateY(22px); }
|
|
to { opacity: 1; transform: scale(1) translateY(0); }
|
|
}
|
|
|
|
.premium-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding: 18px 24px;
|
|
background: var(--glass-2);
|
|
border-bottom: 1px solid var(--border-1);
|
|
flex-shrink: 0;
|
|
}
|
|
.premium-modal-header h3 {
|
|
font-family: var(--font-display);
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
color: var(--text-1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
margin: 0;
|
|
}
|
|
.premium-modal-header h3 i { color: var(--accent); font-size: 15px; }
|
|
.premium-modal-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
}
|
|
.modal-title-filename {
|
|
display: block;
|
|
font-family: var(--font-mono);
|
|
font-size: 13.5px;
|
|
font-weight: 600;
|
|
color: var(--text-1);
|
|
max-width: 380px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.modal-title-sub {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
font-weight: 600;
|
|
margin-top: 2px;
|
|
}
|
|
.modal-close-btn {
|
|
width: 30px; height: 30px;
|
|
background: var(--glass-2);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-full);
|
|
color: var(--text-2);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all var(--t-fast);
|
|
}
|
|
.modal-close-btn:hover {
|
|
background: var(--danger-dim);
|
|
color: var(--danger);
|
|
border-color: var(--danger-border);
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.premium-modal-body {
|
|
padding: 24px;
|
|
overflow: auto;
|
|
flex: 1;
|
|
color: var(--text-2);
|
|
}
|
|
|
|
.premium-modal-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 11px;
|
|
padding: 16px 24px;
|
|
background: var(--glass-2);
|
|
border-top: 1px solid var(--border-1);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Notifications modal items */
|
|
.notif-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 15px 18px;
|
|
background: var(--glass-2);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-md);
|
|
transition: background var(--t-fast), border-color var(--t-fast);
|
|
}
|
|
.notif-item:hover { background: var(--glass-3); border-color: var(--border-3); }
|
|
.notif-details { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; }
|
|
.notif-icon { color: var(--accent); font-size: 17px; flex-shrink: 0; }
|
|
.notif-title { font-size: 13px; color: var(--text-1); font-weight: 600; }
|
|
.notif-title strong { color: var(--accent); }
|
|
.notif-col-name {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
color: var(--text-2);
|
|
margin-top: 3px;
|
|
}
|
|
.notif-col-meta {
|
|
font-size: 11px;
|
|
color: var(--text-3);
|
|
margin-top: 2px;
|
|
}
|
|
.notif-actions { display: flex; gap: 9px; }
|
|
|
|
/* Modal result preview */
|
|
.modal-zoom-image {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: 60vh;
|
|
margin: 0 auto;
|
|
border-radius: var(--r-md);
|
|
box-shadow: var(--sh-lg);
|
|
}
|
|
.modal-zoom-code {
|
|
padding: 16px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-md);
|
|
font-family: var(--font-mono);
|
|
font-size: 12.5px;
|
|
color: var(--text-1);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
max-height: 60vh;
|
|
overflow: auto;
|
|
}
|
|
.modal-error-fallback {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 44px;
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
20 · FULLSCREEN RESULTS
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.fullscreen-results-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.78);
|
|
backdrop-filter: blur(40px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(40px) saturate(180%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 9998;
|
|
padding: 24px;
|
|
animation: modalOverlayIn 0.45s var(--ease-out) both;
|
|
}
|
|
.fullscreen-results-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 18px 22px;
|
|
background: var(--smoke-3);
|
|
backdrop-filter: var(--lg-blur-regular);
|
|
-webkit-backdrop-filter: var(--lg-blur-regular);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-lg);
|
|
margin-bottom: 16px;
|
|
flex-shrink: 0;
|
|
flex-wrap: wrap;
|
|
box-shadow: var(--sh-glass);
|
|
}
|
|
.fullscreen-results-title { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
|
|
.results-stats-row {
|
|
display: flex;
|
|
gap: 7px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.fullscreen-results-grid {
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
grid-auto-rows: max-content;
|
|
gap: 18px;
|
|
padding: 8px;
|
|
overflow-y: auto;
|
|
align-content: start;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
21 · TOASTS — Liquid Glass pills
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
#toast-container {
|
|
position: fixed;
|
|
bottom: 28px;
|
|
right: 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 11px;
|
|
z-index: 10001;
|
|
pointer-events: none;
|
|
}
|
|
#toast-container > div {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 12px 18px 12px 15px;
|
|
min-width: 300px;
|
|
max-width: 400px;
|
|
background: var(--smoke-4);
|
|
backdrop-filter: var(--lg-blur-thick);
|
|
-webkit-backdrop-filter: var(--lg-blur-thick);
|
|
border: 1px solid var(--border-3);
|
|
border-radius: var(--r-full);
|
|
color: var(--text-1);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
box-shadow:
|
|
0 1px 0 var(--lg-rim-top) inset,
|
|
0 -1px 0 rgba(0,0,0,0.40) inset,
|
|
0 16px 36px rgba(0,0,0,0.50);
|
|
pointer-events: auto;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
#toast-container > div::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
padding: 1.5px;
|
|
background: linear-gradient(180deg, var(--lg-rim-top), transparent 50%, var(--lg-rim-bot));
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
}
|
|
.ph-toast-success { border-left: 3px solid var(--success); }
|
|
.ph-toast-error { border-left: 3px solid var(--danger); }
|
|
.ph-toast-warning { border-left: 3px solid var(--warning); }
|
|
.ph-toast-info { border-left: 3px solid var(--info); }
|
|
|
|
@keyframes toastSlideIn {
|
|
from { opacity: 0; transform: translateX(120%) scale(0.95); }
|
|
to { opacity: 1; transform: translateX(0) scale(1); }
|
|
}
|
|
@keyframes toastFadeOut {
|
|
from { opacity: 1; transform: translateX(0) scale(1); }
|
|
to { opacity: 0; transform: translateX(120%) scale(0.95); }
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
22 · KEYFRAME LIBRARY
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
@keyframes bellShake {
|
|
0%, 92%, 100% { transform: rotate(0deg); }
|
|
94% { transform: rotate(14deg); }
|
|
96% { transform: rotate(-12deg); }
|
|
98% { transform: rotate(8deg); }
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
22b · IMPORT-FROM-DOC MODAL — Liquid Glass API cards
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.doc-cat-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 7px 16px;
|
|
background: var(--glass-2);
|
|
backdrop-filter: var(--lg-blur-thin);
|
|
-webkit-backdrop-filter: var(--lg-blur-thin);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-full);
|
|
color: var(--text-2);
|
|
font-size: 11.5px;
|
|
font-weight: 600;
|
|
font-family: var(--font-display);
|
|
letter-spacing: 0.04em;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
transition: all var(--t-fast) var(--spring-soft);
|
|
}
|
|
.doc-cat-pill:hover {
|
|
background: var(--glass-3);
|
|
color: var(--text-1);
|
|
border-color: var(--border-3);
|
|
transform: translateY(-1px);
|
|
}
|
|
.doc-cat-pill.active {
|
|
background: var(--ph-alpha);
|
|
color: var(--accent);
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 1px var(--ph-alpha2), 0 6px 14px rgba(var(--accent-rgb),0.22);
|
|
}
|
|
|
|
#doc-modal-list {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 12px !important;
|
|
overflow-y: auto !important;
|
|
flex: 1 1 auto !important;
|
|
min-height: 0 !important;
|
|
padding: 16px 22px !important;
|
|
overscroll-behavior: contain;
|
|
}
|
|
|
|
.doc-import-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 16px 20px;
|
|
background: var(--smoke-2);
|
|
backdrop-filter: var(--lg-blur-regular);
|
|
-webkit-backdrop-filter: var(--lg-blur-regular);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-md);
|
|
cursor: pointer;
|
|
transition: all var(--t-fast) var(--spring-soft);
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: var(--sh-glass);
|
|
flex-shrink: 0 !important;
|
|
min-height: -webkit-fit-content !important;
|
|
min-height: fit-content !important;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.doc-import-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: -150%;
|
|
width: 100%; height: 100%;
|
|
background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
|
|
transform: skewX(-18deg);
|
|
transition: left var(--t-slow) var(--ease-out);
|
|
pointer-events: none;
|
|
}
|
|
.doc-import-card:hover {
|
|
background: var(--smoke-3);
|
|
border-color: var(--accent);
|
|
transform: translateY(-2px);
|
|
box-shadow:
|
|
0 1px 0 var(--lg-rim-top) inset,
|
|
0 -1px 0 rgba(0,0,0,0.40) inset,
|
|
0 14px 32px rgba(0,0,0,0.45),
|
|
0 6px 14px rgba(var(--accent-rgb),0.32);
|
|
}
|
|
.doc-import-card:hover::before { left: 150%; }
|
|
|
|
.doc-import-card .method-badge {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.doc-param-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 4px 10px;
|
|
background: var(--glass-2);
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-2xs);
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
color: var(--text-2);
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
.doc-param-chip i { font-size: 9.5px; opacity: 0.7; }
|
|
.doc-param-chip.param-file {
|
|
color: var(--warning);
|
|
background: var(--warning-dim);
|
|
border-color: var(--warning-border);
|
|
}
|
|
.doc-param-chip.param-preset {
|
|
color: var(--accent);
|
|
background: var(--ph-alpha);
|
|
border-color: var(--ph-alpha2);
|
|
}
|
|
|
|
.doc-routes-container {
|
|
margin-top: 6px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid var(--border-1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.doc-sub-route-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 11px;
|
|
padding: 9px 13px;
|
|
background: var(--glass-1);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-sm);
|
|
transition: all var(--t-fast);
|
|
flex-shrink: 0;
|
|
min-width: 0;
|
|
}
|
|
.doc-sub-route-item:hover {
|
|
background: var(--glass-3);
|
|
border-color: var(--border-2);
|
|
transform: translateX(3px);
|
|
}
|
|
.doc-sub-route-item code {
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
23 · REDUCED MOTION
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
.aurora-blob { animation: none; }
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
24 · RESPONSIVE TWEAKS & HEADER OPTIMIZATION
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
@media (max-width: 1400px) {
|
|
.brand-text { display: none; }
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.ws-badge-name { max-width: 90px; }
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.ws-badge-name { max-width: 80px; }
|
|
.app-header { padding: 10px 14px; gap: 8px; }
|
|
.sidebar { width: 248px; }
|
|
.spaces-dash-header h2 { font-size: 36px; }
|
|
.spaces-dashboard { padding: 32px 4vw 60px; }
|
|
.main-panel { padding: 10px 10px 10px 0; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.theme-select { display: none; }
|
|
.ws-badge-pill { display: none; }
|
|
.btn-main-action .kbd-pill { display: none; }
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════
|
|
25 · BEFORE / AFTER IMAGE COMPARISON STUDIO
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
.ba-comparator-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.ba-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
padding: 6px 12px;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-md);
|
|
}
|
|
|
|
.ba-mode-tabs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
padding: 3px;
|
|
border-radius: var(--r-sm);
|
|
border: 1px solid var(--border-1);
|
|
}
|
|
|
|
.ba-mode-tab {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 12px;
|
|
font-family: var(--font-ui);
|
|
font-size: 11.5px;
|
|
font-weight: 600;
|
|
color: var(--text-3);
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: var(--r-xs);
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.ba-mode-tab:hover {
|
|
color: var(--text-1);
|
|
}
|
|
|
|
.ba-mode-tab.active {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.45);
|
|
}
|
|
|
|
.ba-stats-strip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 11.5px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ba-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 10px;
|
|
border-radius: var(--r-full);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.ba-pill.before-pill {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
border: 1px solid rgba(245, 158, 11, 0.35);
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.ba-pill.after-pill {
|
|
background: rgba(16, 185, 129, 0.15);
|
|
border: 1px solid rgba(16, 185, 129, 0.35);
|
|
color: #10b981;
|
|
}
|
|
|
|
.ba-pill.split-ratio-badge {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: var(--text-1);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Stage container */
|
|
.ba-stage {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 56vh;
|
|
min-height: 360px;
|
|
background: #06090e;
|
|
border: 1px solid var(--border-2);
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
user-select: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
|
|
}
|
|
|
|
.ba-stage.mode-split {
|
|
cursor: ew-resize;
|
|
}
|
|
|
|
/* Layers */
|
|
.ba-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ba-layer-before {
|
|
z-index: 1;
|
|
}
|
|
|
|
.ba-layer-after {
|
|
z-index: 2;
|
|
transition: opacity 0.12s ease;
|
|
}
|
|
|
|
.ba-img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Floating labels */
|
|
.ba-floating-tag {
|
|
position: absolute;
|
|
top: 14px;
|
|
padding: 5px 12px;
|
|
border-radius: var(--r-full);
|
|
font-size: 10.5px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.06em;
|
|
font-family: var(--font-display);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.tag-before {
|
|
left: 14px;
|
|
background: rgba(245, 158, 11, 0.22);
|
|
border: 1px solid rgba(245, 158, 11, 0.45);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.tag-after {
|
|
right: 14px;
|
|
background: rgba(16, 185, 129, 0.22);
|
|
border: 1px solid rgba(16, 185, 129, 0.45);
|
|
color: #34d399;
|
|
}
|
|
|
|
/* Draggable divider */
|
|
.ba-divider {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
background: #ffffff;
|
|
box-shadow: 0 0 12px rgba(255, 255, 255, 0.7), 0 0 24px rgba(var(--accent-rgb), 0.6);
|
|
z-index: 15;
|
|
transform: translateX(-50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ba-handle {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 50%;
|
|
background: rgba(18, 22, 34, 0.95);
|
|
border: 2px solid #ffffff;
|
|
box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.7), 0 6px 20px rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
color: #ffffff;
|
|
font-size: 10px;
|
|
cursor: ew-resize;
|
|
pointer-events: auto;
|
|
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.ba-handle:hover,
|
|
.ba-stage:active .ba-handle {
|
|
transform: translate(-50%, -50%) scale(1.12);
|
|
box-shadow: 0 0 24px var(--accent), 0 8px 26px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.handle-grip {
|
|
font-size: 8px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Side by side mode */
|
|
.ba-stage.mode-side {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
cursor: default;
|
|
}
|
|
|
|
.ba-stage.mode-side .ba-layer {
|
|
position: relative;
|
|
inset: auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-md);
|
|
}
|
|
|
|
.ba-stage.mode-side .ba-layer-after {
|
|
clip-path: none !important;
|
|
}
|
|
|
|
.ba-stage.mode-side .ba-divider {
|
|
display: none;
|
|
}
|
|
|
|
/* Blink diff mode */
|
|
.ba-stage.mode-blink {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ba-stage.mode-blink .ba-layer-after {
|
|
clip-path: none !important;
|
|
}
|
|
|
|
.ba-stage.mode-blink .ba-divider {
|
|
display: none;
|
|
}
|
|
|
|
/* Slider Controls Bar */
|
|
.ba-slider-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
background: rgba(0, 0, 0, 0.28);
|
|
border: 1px solid var(--border-1);
|
|
border-radius: var(--r-md);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ba-range {
|
|
flex: 1;
|
|
max-width: 420px;
|
|
min-width: 140px;
|
|
accent-color: var(--accent);
|
|
cursor: pointer;
|
|
height: 6px;
|
|
}
|
|
|
|
.ba-load-reference-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 16px 24px;
|
|
background: var(--glass-2);
|
|
border: 1px dashed var(--border-3);
|
|
border-radius: var(--r-md);
|
|
}
|