Spaces:
Runtime error
Runtime error
Claude Opus 4.6
Design system overhaul: neutral monochrome theme, Geist Variable font, new chart palette
d933a8b Download static/css/main.css from StrategyForge/PRISM-Marketing-Mix-Intelligence: direct link, hf CLI and curl.
- Browser
- Download file 16.8 kB
-
https://huggingface.co/spaces/StrategyForge/PRISM-Marketing-Mix-Intelligence/resolve/main/static/css/main.css
- Command line
-
hf download hf://spaces/StrategyForge/PRISM-Marketing-Mix-Intelligence/static/css/main.css
-
curl -L -o main.css https://huggingface.co/spaces/StrategyForge/PRISM-Marketing-Mix-Intelligence/resolve/main/static/css/main.css
16.8 kB
| /* ===== CSS Variables — Neutral Monochrome Design System ===== */ | |
| :root { | |
| --bg-primary: oklch(0.145 0 0); | |
| --bg-secondary: oklch(0.205 0 0); | |
| --bg-card: oklch(0.205 0 0); | |
| --bg-card-solid: oklch(0.205 0 0); | |
| --bg-card-hover: oklch(0.269 0 0); | |
| --bg-input: oklch(1 0 0 / 15%); | |
| --bg-glass: oklch(0.269 0 0); | |
| --border-card: oklch(1 0 0 / 10%); | |
| --border-subtle: oklch(1 0 0 / 5%); | |
| --border-glass: oklch(1 0 0 / 10%); | |
| --accent-blue: oklch(0.488 0.243 264.376); | |
| --accent-teal: oklch(0.488 0.243 264.376); | |
| --accent-lime: oklch(0.708 0 0); | |
| --accent-gold: oklch(0.488 0.243 264.376); | |
| --accent-gold-dim: oklch(0.488 0.243 264.376 / 12%); | |
| --accent-gold-glow: oklch(0.488 0.243 264.376 / 20%); | |
| --accent-secondary: oklch(0.708 0 0); | |
| --accent-gradient: oklch(0.922 0 0); | |
| --accent-gradient-fg: oklch(0.205 0 0); | |
| --accent-gradient-soft: linear-gradient(135deg, oklch(0.269 0 0), oklch(0.205 0 0)); | |
| --text-primary: oklch(0.985 0 0); | |
| --text-secondary: oklch(0.708 0 0); | |
| --text-muted: oklch(0.556 0 0); | |
| --positive: #16a34a; | |
| --positive-bg: rgba(22, 163, 74, 0.12); | |
| --negative: #dc2626; | |
| --negative-bg: rgba(220, 38, 38, 0.12); | |
| --warning: #eab308; | |
| --info: #3b82f6; | |
| --radius-sm: 0.375rem; | |
| --radius-md: 0.5rem; | |
| --radius-lg: 0.625rem; | |
| --radius-xl: 0.875rem; | |
| --shadow-card: 0 1px 3px oklch(0 0 0 / 20%); | |
| --shadow-glow: 0 4px 14px oklch(0 0 0 / 18%); | |
| --shadow-glass: 0 1px 3px oklch(0 0 0 / 20%); | |
| --font: 'Geist Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| --chart-1: #3987e5; | |
| --chart-2: #d95926; | |
| --chart-3: #199e70; | |
| --chart-4: #c98500; | |
| --chart-5: #d55181; | |
| --sidebar-width: 260px; | |
| --sidebar-collapsed: 70px; | |
| --topbar-height: 64px; | |
| } | |
| /* ===== Light Theme ===== */ | |
| [data-theme="light"] { | |
| --bg-primary: oklch(1 0 0); | |
| --bg-secondary: oklch(0.985 0 0); | |
| --bg-card: oklch(1 0 0); | |
| --bg-card-solid: oklch(1 0 0); | |
| --bg-card-hover: oklch(0.97 0 0); | |
| --bg-input: oklch(0.922 0 0); | |
| --bg-glass: oklch(0.97 0 0); | |
| --border-card: oklch(0.922 0 0); | |
| --border-subtle: oklch(0.922 0 0 / 60%); | |
| --border-glass: oklch(0.922 0 0); | |
| --accent-gold: oklch(0.205 0 0); | |
| --accent-teal: oklch(0.205 0 0); | |
| --accent-blue: oklch(0.205 0 0); | |
| --accent-lime: oklch(0.556 0 0); | |
| --accent-gold-dim: oklch(0.205 0 0 / 8%); | |
| --accent-gold-glow: oklch(0.205 0 0 / 12%); | |
| --accent-secondary: oklch(0.556 0 0); | |
| --accent-gradient: oklch(0.205 0 0); | |
| --accent-gradient-fg: oklch(0.985 0 0); | |
| --accent-gradient-soft: linear-gradient(135deg, oklch(0.97 0 0), oklch(0.985 0 0)); | |
| --text-primary: oklch(0.145 0 0); | |
| --text-secondary: oklch(0.556 0 0); | |
| --text-muted: oklch(0.556 0 0); | |
| --positive: #16a34a; | |
| --positive-bg: rgba(22, 163, 74, 0.08); | |
| --negative: #dc2626; | |
| --negative-bg: rgba(220, 38, 38, 0.08); | |
| --shadow-card: 0 1px 3px oklch(0 0 0 / 6%); | |
| --shadow-glow: 0 4px 14px oklch(0 0 0 / 8%); | |
| --shadow-glass: 0 1px 3px oklch(0 0 0 / 6%); | |
| --chart-1: #2a78d6; | |
| --chart-2: #eb6834; | |
| --chart-3: #1baf7a; | |
| --chart-4: #eda100; | |
| --chart-5: #e87ba4; | |
| } | |
| [data-theme="light"] ::-webkit-scrollbar-track { background: oklch(0.97 0 0); } | |
| [data-theme="light"] ::-webkit-scrollbar-thumb { background: oklch(0.85 0 0); } | |
| /* ===== Reset & Base ===== */ | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| html { scroll-behavior: smooth; } | |
| body { | |
| font-family: var(--font); | |
| background: var(--bg-primary); | |
| color: var(--text-secondary); | |
| font-size: 14px; | |
| line-height: 1.6; | |
| overflow-x: hidden; | |
| min-height: 100vh; | |
| } | |
| ::-webkit-scrollbar { width: 6px; height: 6px; } | |
| ::-webkit-scrollbar-track { background: var(--bg-secondary); } | |
| ::-webkit-scrollbar-thumb { background: oklch(0.5 0 0 / 25%); border-radius: 3px; } | |
| ::-webkit-scrollbar-thumb:hover { background: oklch(0.5 0 0 / 40%); } | |
| /* ===== Layout ===== */ | |
| .app-container { display: flex; min-height: 100vh; } | |
| /* ===== Sidebar ===== */ | |
| .sidebar { | |
| width: var(--sidebar-width); | |
| background: var(--bg-secondary); | |
| border-right: 1px solid var(--border-glass); | |
| display: flex; | |
| flex-direction: column; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| height: 100vh; | |
| z-index: 100; | |
| transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .sidebar.collapsed { width: var(--sidebar-collapsed); } | |
| .sidebar.collapsed .nav-label, | |
| .sidebar.collapsed .sidebar-brand span, | |
| .sidebar.collapsed .sidebar-section-title { display: none; } | |
| .sidebar-brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 20px 20px 16px; | |
| border-bottom: 1px solid var(--border-glass); | |
| background: var(--bg-secondary); | |
| position: relative; | |
| } | |
| .sidebar-brand::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 0; | |
| left: 20px; | |
| right: 20px; | |
| height: 1px; | |
| background: var(--border-glass); | |
| } | |
| .sidebar-brand .brand-icon { | |
| width: 42px; | |
| height: 42px; | |
| background: transparent; | |
| border-radius: var(--radius-sm); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| flex-shrink: 0; | |
| overflow: hidden; | |
| } | |
| .sidebar-brand .brand-icon img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: contain; | |
| } | |
| .sidebar-brand span { | |
| font-size: 15px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| white-space: nowrap; | |
| letter-spacing: -0.2px; | |
| } | |
| .sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; } | |
| .sidebar-section-title { | |
| font-size: 10px; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 1.5px; | |
| color: var(--text-muted); | |
| padding: 16px 12px 8px; | |
| } | |
| .nav-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 10px 12px; | |
| border-radius: var(--radius-sm); | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| font-size: 13px; | |
| font-weight: 500; | |
| transition: all 0.2s ease; | |
| position: relative; | |
| margin-bottom: 2px; | |
| cursor: pointer; | |
| } | |
| .nav-item:hover { | |
| background: var(--bg-glass); | |
| color: var(--text-primary); | |
| } | |
| .nav-item.active { | |
| background: var(--accent-gold-dim); | |
| color: var(--accent-gold); | |
| } | |
| .nav-item.active::before { | |
| content: ''; | |
| position: absolute; | |
| left: 0; | |
| top: 4px; | |
| bottom: 4px; | |
| width: 3px; | |
| background: var(--accent-gold); | |
| border-radius: 0 3px 3px 0; | |
| } | |
| .nav-item.disabled { opacity: 0.4; pointer-events: none; } | |
| .nav-item .nav-icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; } | |
| .nav-label { white-space: nowrap; } | |
| .sidebar-toggle { | |
| padding: 16px; | |
| border-top: 1px solid var(--border-glass); | |
| display: flex; | |
| justify-content: center; | |
| } | |
| .sidebar-toggle button { | |
| background: var(--bg-glass); | |
| border: 1px solid var(--border-glass); | |
| color: var(--text-secondary); | |
| width: 36px; | |
| height: 36px; | |
| border-radius: var(--radius-sm); | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: all 0.2s; | |
| } | |
| .sidebar-toggle button:hover { background: var(--bg-card-hover); color: var(--text-primary); } | |
| /* ===== Main Content ===== */ | |
| .main-content { | |
| flex: 1; | |
| margin-left: var(--sidebar-width); | |
| transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 100vh; | |
| } | |
| .sidebar.collapsed ~ .main-content { margin-left: var(--sidebar-collapsed); } | |
| /* ===== Top Bar ===== */ | |
| .topbar { | |
| height: var(--topbar-height); | |
| background: var(--bg-secondary); | |
| border-bottom: 1px solid var(--border-glass); | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 0 28px; | |
| position: sticky; | |
| top: 0; | |
| z-index: 50; | |
| } | |
| .topbar-left { display: flex; align-items: center; gap: 16px; } | |
| .topbar-left h1 { | |
| font-size: 18px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| letter-spacing: -0.3px; | |
| } | |
| .topbar-left .breadcrumb { | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| } | |
| .topbar-right { display: flex; align-items: center; gap: 10px; } | |
| .topbar-btn { | |
| background: var(--bg-glass); | |
| border: 1px solid var(--border-glass); | |
| color: var(--text-secondary); | |
| padding: 8px 14px; | |
| border-radius: var(--radius-sm); | |
| font-size: 12px; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| transition: all 0.2s ease; | |
| font-family: var(--font); | |
| } | |
| .topbar-btn:hover { | |
| background: var(--bg-card-hover); | |
| color: var(--text-primary); | |
| border-color: var(--border-card); | |
| } | |
| .topbar-user { | |
| display: flex; | |
| align-items: center; | |
| gap: 5px; | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| padding: 5px 10px; | |
| border-radius: 6px; | |
| background: var(--bg-glass); | |
| border: 1px solid var(--border-glass); | |
| } | |
| .topbar-logout { | |
| text-decoration: none; | |
| color: var(--text-secondary); | |
| } | |
| .topbar-logout:hover { | |
| color: #ef4444; | |
| border-color: rgba(239,68,68,0.4); | |
| background: rgba(239,68,68,0.06); | |
| box-shadow: none; | |
| } | |
| /* ===== Filter Bar ===== */ | |
| .filter-bar { | |
| background: var(--bg-secondary); | |
| border-bottom: 1px solid var(--border-glass); | |
| padding: 12px 28px; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| flex-wrap: wrap; | |
| } | |
| .filter-group { display: flex; flex-direction: column; gap: 4px; } | |
| .filter-group label { | |
| font-size: 10px; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| color: var(--text-muted); | |
| } | |
| .filter-group select, | |
| .filter-group input { | |
| background: var(--bg-input); | |
| border: 1px solid var(--border-glass); | |
| color: var(--text-primary); | |
| padding: 6px 10px; | |
| border-radius: var(--radius-sm); | |
| font-size: 12px; | |
| font-family: var(--font); | |
| min-width: 130px; | |
| outline: none; | |
| transition: all 0.2s ease; | |
| } | |
| .filter-group select:focus, | |
| .filter-group input:focus { | |
| border-color: var(--accent-gold); | |
| box-shadow: 0 0 0 2px var(--accent-gold-dim); | |
| } | |
| .filter-group select option { background: var(--bg-card-solid); color: var(--text-primary); } | |
| .filter-actions { display: flex; gap: 8px; align-items: flex-end; margin-left: auto; } | |
| .btn-apply { | |
| background: var(--accent-gradient); | |
| color: var(--accent-gradient-fg); | |
| border: none; | |
| padding: 7px 22px; | |
| border-radius: var(--radius-sm); | |
| font-size: 12px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| font-family: var(--font); | |
| transition: all 0.2s ease; | |
| letter-spacing: 0.3px; | |
| } | |
| .btn-apply:hover { | |
| opacity: 0.9; | |
| transform: translateY(-1px); | |
| } | |
| .btn-reset { | |
| background: transparent; | |
| color: var(--text-secondary); | |
| border: 1px solid var(--border-glass); | |
| padding: 7px 16px; | |
| border-radius: var(--radius-sm); | |
| font-size: 12px; | |
| cursor: pointer; | |
| font-family: var(--font); | |
| transition: all 0.2s; | |
| } | |
| .btn-reset:hover { border-color: var(--text-muted); color: var(--text-primary); } | |
| /* ===== Custom Multi-Select Component ===== */ | |
| .ms-wrapper { | |
| position: relative; | |
| min-width: 140px; | |
| } | |
| .ms-trigger { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| background: var(--bg-input); | |
| border: 1px solid var(--border-glass); | |
| border-radius: var(--radius-sm); | |
| padding: 5px 8px; | |
| min-height: 32px; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| font-size: 12px; | |
| font-family: var(--font); | |
| color: var(--text-primary); | |
| } | |
| .ms-trigger:hover { border-color: var(--accent-gold); } | |
| .ms-wrapper.open .ms-trigger { | |
| border-color: var(--accent-gold); | |
| box-shadow: 0 0 0 2px var(--accent-gold-dim); | |
| } | |
| .ms-trigger-content { | |
| flex: 1; | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| flex-wrap: wrap; | |
| min-height: 20px; | |
| overflow: hidden; | |
| } | |
| .ms-arrow { | |
| flex-shrink: 0; | |
| display: flex; | |
| align-items: center; | |
| color: var(--text-muted); | |
| transition: transform 0.2s; | |
| } | |
| .ms-wrapper.open .ms-arrow { transform: rotate(180deg); } | |
| .ms-placeholder { | |
| color: var(--text-muted); | |
| font-size: 12px; | |
| } | |
| .ms-chip { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 3px; | |
| background: var(--accent-gold-dim); | |
| color: var(--accent-gold); | |
| border: 1px solid var(--accent-gold-glow); | |
| padding: 1px 8px; | |
| border-radius: 12px; | |
| font-size: 11px; | |
| font-weight: 500; | |
| white-space: nowrap; | |
| line-height: 18px; | |
| } | |
| .ms-chip-count { | |
| background: var(--accent-gold-dim); | |
| color: var(--accent-gold); | |
| font-weight: 600; | |
| } | |
| .ms-chip-remove { | |
| background: none; | |
| border: none; | |
| color: var(--accent-gold); | |
| font-size: 13px; | |
| cursor: pointer; | |
| padding: 0 1px; | |
| line-height: 1; | |
| opacity: 0.7; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .ms-chip-remove:hover { opacity: 1; color: var(--negative); } | |
| /* Dropdown */ | |
| .ms-dropdown { | |
| position: absolute; | |
| top: calc(100% + 4px); | |
| left: 0; | |
| right: 0; | |
| min-width: 200px; | |
| background: var(--bg-card-solid); | |
| border: 1px solid var(--border-card); | |
| border-radius: var(--radius-md); | |
| box-shadow: 0 12px 36px oklch(0 0 0 / 30%); | |
| z-index: 1000; | |
| display: none; | |
| overflow: hidden; | |
| } | |
| .ms-wrapper.open .ms-dropdown { display: block; } | |
| /* Search */ | |
| .ms-search-wrap { | |
| padding: 8px 10px 6px; | |
| border-bottom: 1px solid var(--border-subtle); | |
| } | |
| .ms-search { | |
| width: 100%; | |
| background: var(--bg-input); | |
| border: 1px solid var(--border-glass); | |
| border-radius: var(--radius-sm); | |
| padding: 6px 10px; | |
| font-size: 12px; | |
| color: var(--text-primary); | |
| font-family: var(--font); | |
| outline: none; | |
| box-sizing: border-box; | |
| } | |
| .ms-search:focus { border-color: var(--accent-gold); } | |
| .ms-search::placeholder { color: var(--text-muted); } | |
| /* Actions bar */ | |
| .ms-actions { | |
| display: flex; | |
| gap: 4px; | |
| padding: 6px 10px; | |
| border-bottom: 1px solid var(--border-subtle); | |
| } | |
| .ms-action-btn { | |
| background: none; | |
| border: none; | |
| color: var(--accent-teal); | |
| font-size: 11px; | |
| font-weight: 500; | |
| cursor: pointer; | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| font-family: var(--font); | |
| transition: background 0.15s; | |
| } | |
| .ms-action-btn:hover { background: var(--accent-gold-dim); } | |
| /* Options list */ | |
| .ms-options { | |
| max-height: 200px; | |
| overflow-y: auto; | |
| padding: 4px 0; | |
| } | |
| .ms-options::-webkit-scrollbar { width: 5px; } | |
| .ms-options::-webkit-scrollbar-track { background: transparent; } | |
| .ms-options::-webkit-scrollbar-thumb { background: oklch(0.5 0 0 / 20%); border-radius: 3px; } | |
| .ms-option { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 7px 12px; | |
| cursor: pointer; | |
| font-size: 12px; | |
| color: var(--text-primary); | |
| transition: background 0.12s; | |
| user-select: none; | |
| } | |
| .ms-option:hover { background: var(--bg-card-hover); } | |
| .ms-option.selected { background: var(--accent-gold-dim); } | |
| .ms-checkbox { | |
| width: 16px; | |
| height: 16px; | |
| border: 1.5px solid var(--border-card); | |
| border-radius: 4px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| flex-shrink: 0; | |
| transition: all 0.15s; | |
| color: transparent; | |
| } | |
| .ms-checkbox.checked { | |
| background: var(--accent-teal); | |
| border-color: var(--accent-teal); | |
| color: #fff; | |
| } | |
| .ms-option-label { flex: 1; } | |
| .ms-empty { | |
| padding: 16px; | |
| text-align: center; | |
| color: var(--text-muted); | |
| font-size: 12px; | |
| } | |
| /* Filter bar single selects */ | |
| .filter-group select:not([multiple]) { | |
| appearance: none; | |
| -webkit-appearance: none; | |
| background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); | |
| background-repeat: no-repeat; | |
| background-position: right 10px center; | |
| padding-right: 28px; | |
| } | |
| /* ===== Page Content ===== */ | |
| .page-content { flex: 1; padding: 24px 28px; } | |
| .page-header { | |
| margin-bottom: 24px; | |
| } | |
| .page-header h2 { | |
| font-size: 22px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| margin-bottom: 4px; | |
| letter-spacing: -0.3px; | |
| } | |
| .page-header p { | |
| font-size: 13px; | |
| color: var(--text-muted); | |
| } | |
| /* ===== Footer ===== */ | |
| .footer { | |
| padding: 16px 28px; | |
| border-top: 1px solid var(--border-glass); | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| } | |
| /* ===== Responsive ===== */ | |
| @media (max-width: 1200px) { | |
| .filter-bar { padding: 12px 16px; } | |
| .page-content { padding: 20px 16px; } | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { width: var(--sidebar-collapsed); } | |
| .sidebar .nav-label, .sidebar .sidebar-brand span, .sidebar .sidebar-section-title { display: none; } | |
| .main-content { margin-left: var(--sidebar-collapsed); } | |
| } | |