| |
|
|
| |
| :root { |
| color-scheme: light dark; |
|
|
| |
| --primary-50: #f0f7ff; |
| --primary-100: #e0efff; |
| --primary-200: #b8dcff; |
| --primary-300: #7cc3ff; |
| --primary-400: #3ca3ff; |
| --primary-500: #3b82f6; |
| --primary-600: #2563eb; |
| --primary-700: #1d4ed8; |
| --primary-800: #1e40af; |
| --primary-900: #1e3a8a; |
|
|
| |
| --neutral-50: #f9fafb; |
| --neutral-100: #f3f4f6; |
| --neutral-200: #e5e7eb; |
| --neutral-300: #d1d5db; |
| --neutral-400: #9ca3af; |
| --neutral-500: #6b7280; |
| --neutral-600: #4b5563; |
| --neutral-700: #374151; |
| --neutral-800: #1f2937; |
| --neutral-900: #111827; |
|
|
| |
| --filter-dropdown-bg: #ffffff; |
| --filter-dropdown-border: var(--neutral-200); |
| --filter-dropdown-item-fg: var(--neutral-900); |
| --filter-dropdown-item-hover-bg: var(--neutral-50); |
| --filter-dropdown-item-active-bg: var(--neutral-100); |
| --filter-dropdown-item-highlight-bg: var(--primary-500); |
| --filter-dropdown-item-highlight-fg: #fff; |
|
|
| |
| --success-50: #ecfdf5; |
| --success-400: #34d399; |
| --success-500: #10b981; |
| --success-600: #059669; |
| --warning-50: #fffbeb; |
| --warning-400: #fbbf24; |
| --warning-500: #f59e0b; |
| --warning-600: #d97706; |
| --error-50: #fef2f2; |
| --error-400: #f87171; |
| --error-500: #ef4444; |
| --error-600: #dc2626; |
| --info-50: #f0f9ff; |
| --info-500: #06b6d4; |
| --info-600: #0891b2; |
|
|
| |
| --glass-bg: rgba(255, 255, 255, 0.95); |
| --glass-border: rgba(255, 255, 255, 0.2); |
| --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); |
| --glass-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15); |
|
|
| |
| --neumorphism-light: #ffffff; |
| --neumorphism-dark: #d1d5db; |
| --neumorphism-shadow-1: 8px 8px 16px var(--neumorphism-dark); |
| --neumorphism-shadow-2: -8px -8px 16px var(--neumorphism-light); |
|
|
| |
| --font-family-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; |
| --font-family-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace; |
|
|
| --text-xs: 0.75rem; |
| |
| --text-sm: 0.875rem; |
| |
| --text-base: 1rem; |
| |
| --text-lg: 1.125rem; |
| |
| --text-xl: 1.25rem; |
| |
| --text-2xl: 1.5rem; |
| |
| --text-3xl: 1.875rem; |
| |
| --text-4xl: 2.25rem; |
| |
|
|
| --leading-tight: 1.25; |
| --leading-normal: 1.5; |
| --leading-relaxed: 1.75; |
|
|
| --font-normal: 400; |
| --font-medium: 500; |
| --font-semibold: 600; |
| --font-bold: 700; |
|
|
| |
| --space-1: 0.25rem; |
| |
| --space-2: 0.5rem; |
| |
| --space-3: 0.75rem; |
| |
| --space-4: 1rem; |
| |
| --space-5: 1.25rem; |
| |
| --space-6: 1.5rem; |
| |
| --space-8: 2rem; |
| |
| --space-10: 2.5rem; |
| |
| --space-12: 3rem; |
| |
| --space-16: 4rem; |
| |
| --space-20: 5rem; |
| |
|
|
| |
| --radius-sm: 0.375rem; |
| |
| --radius-base: 0.5rem; |
| |
| --radius-lg: 0.75rem; |
| |
| --radius-xl: 1rem; |
| |
| --radius-2xl: 1.5rem; |
| |
| --radius-full: 9999px; |
|
|
| |
| --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05); |
| --shadow-base: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); |
| --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06); |
| --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); |
| --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04); |
|
|
| |
| --duration-fast: 0.15s; |
| --duration-normal: 0.3s; |
| --duration-slow: 0.5s; |
| --timing-function: cubic-bezier(0.4, 0, 0.2, 1); |
|
|
| |
| --topbar-height: 64px; |
| --topbar-offset: var(--topbar-height); |
| --container-max-width: 100%; |
|
|
| |
| --topbar-fg: var(--neutral-900); |
| --topbar-fg-muted: var(--neutral-700); |
| } |
|
|
| @media (prefers-color-scheme: dark) { |
| :root { |
| --filter-dropdown-bg: rgb(31, 41, 55); |
| --filter-dropdown-border: rgba(255, 255, 255, 0.12); |
| --filter-dropdown-item-fg: var(--neutral-50); |
| --filter-dropdown-item-hover-bg: rgba(255, 255, 255, 0.08); |
| --filter-dropdown-item-active-bg: rgba(255, 255, 255, 0.12); |
| --filter-dropdown-item-highlight-bg: var(--primary-500); |
| --filter-dropdown-item-highlight-fg: #fff; |
| } |
| } |
|
|
| @media (forced-colors: active) { |
| :root { |
| --filter-dropdown-bg: Canvas; |
| --filter-dropdown-border: CanvasText; |
| --filter-dropdown-item-fg: CanvasText; |
| --filter-dropdown-item-hover-bg: Highlight; |
| --filter-dropdown-item-active-bg: Highlight; |
| --filter-dropdown-item-highlight-bg: Highlight; |
| --filter-dropdown-item-highlight-fg: HighlightText; |
| } |
| } |
|
|
|
|
| |
| * { |
| box-sizing: border-box; |
| margin: 0; |
| padding: 0; |
| } |
|
|
| *:focus-visible { |
| outline: 2px solid var(--primary-500); |
| outline-offset: 2px; |
| } |
|
|
| |
| input[type="checkbox"], |
| input[type="radio"] { |
| -webkit-appearance: none; |
| appearance: none; |
| width: 16px; |
| height: 16px; |
| margin: 0; |
| border: 1.5px solid var(--neutral-300); |
| background: var(--white, #fff) no-repeat center; |
| background-size: 10px; |
| cursor: pointer; |
| vertical-align: middle; |
| flex-shrink: 0; |
| transition: all var(--duration-fast, 0.15s); |
| } |
|
|
| input[type="checkbox"] { |
| border-radius: 4px; |
| } |
|
|
| input[type="radio"] { |
| border-radius: 50%; |
| } |
|
|
| input[type="checkbox"]:hover, |
| input[type="radio"]:hover { |
| border-color: var(--primary-400); |
| } |
|
|
| input[type="checkbox"]:checked { |
| background: var(--primary-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; |
| background-size: 10px; |
| border-color: var(--primary-500); |
| } |
|
|
| input[type="checkbox"]:indeterminate { |
| background: var(--primary-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 2'%3E%3Cpath d='M1 1h8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center; |
| background-size: 10px; |
| border-color: var(--primary-500); |
| } |
|
|
| input[type="radio"]:checked { |
| background: var(--primary-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Ccircle cx='5' cy='5' r='3' fill='%23fff'/%3E%3C/svg%3E") no-repeat center; |
| background-size: 10px; |
| border-color: var(--primary-500); |
| } |
|
|
| input[type="checkbox"]:focus-visible, |
| input[type="radio"]:focus-visible { |
| outline: 2px solid var(--primary-500); |
| outline-offset: 2px; |
| } |
|
|
| html { |
| scroll-behavior: smooth; |
| font-size: 16px; |
| } |
|
|
| body { |
| font-family: var(--font-family-sans); |
| font-size: var(--text-base); |
| line-height: var(--leading-normal); |
| color: var(--neutral-800); |
| background: |
| radial-gradient(1200px 600px at -10% -10%, rgba(213, 205, 194, 0.10), transparent 60%), |
| radial-gradient(900px 600px at 110% -10%, rgba(241, 238, 233, 0.16), transparent 60%), |
| linear-gradient(180deg, #fcfbf9 0%, #f3f1ed 100%); |
| min-height: 100vh; |
| overflow-x: hidden; |
| } |
|
|
| |
| ::selection { |
| background-color: var(--primary-200); |
| color: var(--primary-800); |
| } |
|
|
| |
| @keyframes slideInUp { |
| from { |
| opacity: 0; |
| transform: translateY(30px); |
| } |
|
|
| to { |
| opacity: 1; |
| transform: translateY(0); |
| } |
| } |
|
|
| @keyframes slideInRight { |
| from { |
| opacity: 0; |
| transform: translateX(-30px); |
| } |
|
|
| to { |
| opacity: 1; |
| transform: translateX(0); |
| } |
| } |
|
|
| @keyframes fadeIn { |
| from { |
| opacity: 0; |
| } |
|
|
| to { |
| opacity: 1; |
| } |
| } |
|
|
| @keyframes pulse { |
|
|
| 0%, |
| 100% { |
| opacity: 1; |
| } |
|
|
| 50% { |
| opacity: 0.7; |
| } |
| } |
|
|
| @keyframes float { |
|
|
| 0%, |
| 100% { |
| transform: translateY(0px); |
| } |
|
|
| 50% { |
| transform: translateY(-10px); |
| } |
| } |
|
|
| |
| .animate-slide-up { |
| animation: slideInUp 0.6s var(--timing-function); |
| } |
|
|
| .animate-slide-right { |
| animation: slideInRight 0.6s var(--timing-function); |
| } |
|
|
| .animate-fade-in { |
| animation: fadeIn 0.4s ease-out; |
| } |
|
|
| .animate-pulse { |
| animation: pulse 2s infinite; |
| } |
|
|
| .animate-float { |
| animation: float 3s ease-in-out infinite; |
| } |
|
|
| |
| .app-container { |
| display: flex; |
| min-height: 100vh; |
| position: relative; |
| } |
|
|
| .main-content { |
| flex: 1; |
| margin-left: 0; |
| min-width: 0; |
| min-height: 100vh; |
| padding: var(--space-3); |
| transition: margin-left var(--duration-normal) var(--timing-function); |
| } |
|
|
| .content-area { |
| max-width: var(--container-max-width); |
| width: 100%; |
| min-width: 0; |
| margin: 0 auto; |
| } |
|
|
| |
| .top-layout .main-content { |
| margin-left: 0 !important; |
| padding-top: var(--topbar-offset); |
| } |
|
|
| .top-layout .main-content.index-main-content { |
| padding-top: calc(var(--topbar-offset) + 10px); |
| } |
|
|
| .topbar { |
| position: fixed; |
| top: 0; |
| left: 0; |
| right: 0; |
| height: var(--topbar-height); |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding: 0 var(--space-6); |
| background: var(--glass-bg); |
| backdrop-filter: blur(18px) saturate(160%); |
| border-bottom: 1px solid var(--glass-border); |
| z-index: 300; |
| } |
|
|
| .topbar-left { |
| display: flex; |
| align-items: center; |
| gap: var(--space-4); |
| } |
|
|
| .brand { |
| display: flex; |
| align-items: center; |
| gap: var(--space-3); |
| text-decoration: none; |
| } |
|
|
| .brand:hover { |
| opacity: 0.8; |
| } |
|
|
| .brand-icon { |
| width: 36px; |
| height: 36px; |
| border-radius: var(--radius-lg); |
| box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35); |
| } |
|
|
| .brand-text { |
| color: var(--topbar-fg); |
| font-weight: var(--font-semibold); |
| letter-spacing: .2px; |
| } |
|
|
| .topnav { |
| display: flex; |
| align-items: center; |
| gap: var(--space-2); |
| flex: 1; |
| justify-content: center; |
| } |
|
|
| .topnav-link { |
| display: inline-flex; |
| align-items: center; |
| gap: .5rem; |
| padding: .5rem .75rem; |
| border-radius: var(--radius-lg); |
| color: var(--topbar-fg); |
| text-decoration: none; |
| font-weight: var(--font-medium); |
| white-space: nowrap; |
| transition: background var(--duration-fast) var(--timing-function), color var(--duration-fast); |
| } |
|
|
| .topnav-link:hover { |
| background: rgba(17, 24, 39, 0.06); |
| color: var(--topbar-fg); |
| } |
|
|
| .topnav-link.active { |
| background: rgba(17, 24, 39, 0.10); |
| color: var(--topbar-fg); |
| border: 1px solid rgba(17, 24, 39, 0.12); |
| } |
|
|
| .topbar-right { |
| display: flex; |
| align-items: center; |
| gap: var(--space-3); |
| } |
|
|
| |
| .version-group { |
| display: flex; |
| align-items: center; |
| gap: 2px; |
| } |
|
|
| |
| .version-badge { |
| display: inline-flex; |
| align-items: center; |
| padding: 4px 6px; |
| cursor: pointer; |
| font-size: 12px; |
| font-family: monospace; |
| color: var(--neutral-500); |
| margin-right: 0; |
| position: relative; |
| transition: color 0.2s; |
| text-decoration: none; |
| } |
|
|
| .version-badge:hover { |
| color: var(--neutral-700); |
| } |
|
|
| |
| .version-badge.has-update::after { |
| content: ''; |
| position: absolute; |
| top: 2px; |
| right: 0; |
| width: 6px; |
| height: 6px; |
| background: var(--success-500); |
| border-radius: 50%; |
| } |
|
|
| |
| .github-link { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| width: 32px; |
| height: 32px; |
| border-radius: var(--radius-md); |
| color: var(--neutral-500); |
| transition: color 0.2s, background 0.2s; |
| } |
|
|
| .github-link:hover { |
| background: var(--neutral-100); |
| color: var(--neutral-900); |
| } |
|
|
| |
| .bg-anim { |
| position: fixed; |
| inset: 0; |
| z-index: 0; |
| pointer-events: none; |
| background: |
| radial-gradient(550px 300px at 20% 10%, rgba(59, 130, 246, 0.14), transparent 60%), |
| radial-gradient(650px 320px at 80% 5%, rgba(236, 72, 153, 0.12), transparent 60%), |
| radial-gradient(420px 260px at 70% 60%, rgba(16, 185, 129, 0.10), transparent 60%); |
| } |
|
|
| |
| .glass-card { |
| background: var(--glass-bg); |
| backdrop-filter: blur(16px) saturate(180%); |
| border: 1px solid var(--glass-border); |
| border-radius: var(--radius-xl); |
| |
| padding: var(--space-3); |
| transition: all var(--duration-normal) var(--timing-function); |
| position: relative; |
| overflow: hidden; |
| min-width: 0; |
| } |
|
|
| .glass-card::before { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 0; |
| height: 1px; |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); |
| opacity: 0; |
| transition: opacity var(--duration-normal); |
| } |
|
|
| .glass-card:hover { |
| transform: none; |
| box-shadow: var(--glass-shadow-hover); |
| border-color: rgba(255, 255, 255, 0.3); |
| } |
|
|
| .glass-card:hover::before { |
| opacity: 1; |
| } |
|
|
| |
| .hero-header { |
| background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)); |
| backdrop-filter: blur(20px) saturate(180%); |
| border: 1px solid rgba(255, 255, 255, 0.3); |
| border-radius: var(--radius-2xl); |
| padding: var(--space-6); |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); |
| display: flex; |
| align-items: center; |
| gap: var(--space-4); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .hero-header > div:last-child { |
| flex: 1 1 auto; |
| min-width: 0; |
| } |
|
|
|
|
| .hero-icon { |
| width: 56px; |
| height: 56px; |
| background: linear-gradient(135deg, #6366f1, #8b5cf6); |
| border-radius: var(--radius-xl); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: white; |
| box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3); |
| flex-shrink: 0; |
| } |
|
|
| .hero-title { |
| font-size: var(--text-3xl); |
| font-weight: var(--font-bold); |
| color: var(--neutral-900); |
| margin: 0; |
| letter-spacing: -0.02em; |
| line-height: 1.2; |
| overflow-wrap: anywhere; |
| } |
|
|
| .hero-subtitle { |
| font-size: var(--text-base); |
| color: var(--neutral-600); |
| margin: var(--space-1) 0 0 0; |
| font-weight: var(--font-medium); |
| } |
|
|
| |
| .channel-card { |
| background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)); |
| backdrop-filter: blur(20px) saturate(180%); |
| border: 1px solid rgba(255, 255, 255, 0.3); |
| border-radius: var(--radius-xl); |
| padding: var(--space-5); |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04); |
| transition: all var(--duration-normal) var(--timing-function); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .channel-card:hover { |
| transform: none; |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06); |
| border-color: rgba(255, 255, 255, 0.4); |
| } |
|
|
| .channel-card-header { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| margin-bottom: var(--space-4); |
| padding-bottom: var(--space-3); |
| border-bottom: 2px solid rgba(0, 0, 0, 0.05); |
| } |
|
|
| .channel-card-title { |
| display: flex; |
| align-items: center; |
| gap: var(--space-2); |
| font-size: var(--text-lg); |
| font-weight: var(--font-semibold); |
| color: var(--neutral-800); |
| } |
|
|
| .channel-icon { |
| width: 32px; |
| height: 32px; |
| border-radius: var(--radius-lg); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: white; |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| flex-shrink: 0; |
| } |
|
|
| .channel-icon--anthropic { |
| background: linear-gradient(135deg, #cc9b7a, #d4a574); |
| } |
|
|
| .channel-icon--codex, |
| .channel-icon--openai { |
| background: linear-gradient(135deg, #10a37f, #0d8a6a); |
| } |
|
|
| .channel-icon--gemini { |
| background: linear-gradient(135deg, #4285f4, #1a73e8); |
| } |
|
|
| .channel-cost { |
| text-align: right; |
| } |
|
|
| .cost-label { |
| display: block; |
| font-size: var(--text-xs); |
| color: var(--neutral-500); |
| margin-bottom: 2px; |
| font-weight: var(--font-medium); |
| } |
|
|
| .cost-value { |
| display: block; |
| font-size: var(--text-xl); |
| font-weight: var(--font-bold); |
| color: var(--warning-600); |
| font-family: var(--font-family-mono); |
| } |
|
|
| .channel-metrics { |
| display: grid; |
| grid-template-columns: repeat(4, 1fr); |
| gap: var(--space-3); |
| margin-bottom: var(--space-4); |
| } |
|
|
| .metric-item { |
| text-align: center; |
| } |
|
|
| .metric-value { |
| font-size: var(--text-2xl); |
| font-weight: var(--font-bold); |
| line-height: 1.2; |
| margin-bottom: var(--space-1); |
| } |
|
|
| .metric-label { |
| font-size: var(--text-xs); |
| color: var(--neutral-600); |
| font-weight: var(--font-medium); |
| } |
|
|
| .token-stats { |
| display: grid; |
| grid-template-columns: repeat(4, 1fr); |
| gap: var(--space-2); |
| padding-top: var(--space-3); |
| border-top: 1px solid rgba(0, 0, 0, 0.06); |
| } |
|
|
| .token-item { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| gap: 4px; |
| } |
|
|
| .token-label { |
| font-size: 11px; |
| color: var(--neutral-500); |
| font-weight: var(--font-medium); |
| } |
|
|
| .token-value { |
| font-size: var(--text-base); |
| font-weight: var(--font-semibold); |
| color: var(--neutral-700); |
| font-family: var(--font-family-mono); |
| } |
|
|
| .token-cache { |
| color: var(--success-600); |
| } |
|
|
| |
| .summary-card { |
| background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)); |
| backdrop-filter: blur(20px) saturate(180%); |
| border: 1px solid rgba(255, 255, 255, 0.3); |
| border-radius: var(--radius-xl); |
| padding: var(--space-5); |
| display: flex; |
| align-items: center; |
| gap: var(--space-4); |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04); |
| transition: all var(--duration-normal) var(--timing-function); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .summary-card::before { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: 0; |
| width: 4px; |
| height: 100%; |
| background: currentColor; |
| opacity: 0.8; |
| } |
|
|
| .summary-card:hover { |
| transform: none; |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06); |
| } |
|
|
| .summary-icon { |
| width: 48px; |
| height: 48px; |
| border-radius: var(--radius-lg); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| flex-shrink: 0; |
| background: rgba(0, 0, 0, 0.04); |
| color: currentColor; |
| } |
|
|
| .summary-content { |
| flex: 1; |
| } |
|
|
| .summary-value { |
| font-size: var(--text-3xl); |
| font-weight: var(--font-bold); |
| line-height: 1.2; |
| margin-bottom: 4px; |
| } |
|
|
| .summary-label { |
| font-size: var(--text-sm); |
| color: var(--neutral-600); |
| font-weight: var(--font-medium); |
| } |
|
|
| .summary-card-primary { |
| color: var(--primary-600); |
| } |
|
|
| .summary-card-success { |
| color: var(--success-600); |
| } |
|
|
| .summary-card-error { |
| color: var(--error-600); |
| } |
|
|
| .summary-card-rate { |
| color: var(--primary-600); |
| } |
|
|
| .index-summary-grid .summary-card { |
| flex: 1 1 0; |
| min-width: 0; |
| } |
|
|
| .summary-value-note { |
| font-size: 0.7em; |
| color: var(--neutral-500); |
| } |
|
|
| .index-api-list { |
| display: flex; |
| flex-direction: column; |
| gap: 12px; |
| } |
|
|
| .index-api-entry { |
| background: rgba(243, 244, 246, 0.9); |
| border: 1px solid var(--neutral-200); |
| border-radius: var(--radius-lg); |
| padding: 12px; |
| } |
|
|
| .index-api-method { |
| font-size: var(--text-xs); |
| font-family: var(--font-family-mono); |
| font-weight: var(--font-semibold); |
| } |
|
|
| .index-api-method--post { |
| color: var(--success-600); |
| } |
|
|
| .index-api-method--get { |
| color: var(--primary-600); |
| } |
|
|
| .index-api-path { |
| font-family: var(--font-family-mono); |
| font-size: var(--text-sm); |
| font-weight: var(--font-medium); |
| color: var(--neutral-800); |
| } |
|
|
| .index-api-desc { |
| margin-top: 4px; |
| font-size: var(--text-xs); |
| color: var(--neutral-600); |
| } |
|
|
| .index-api-tip { |
| margin-top: var(--space-6); |
| padding: 12px; |
| background: var(--info-50); |
| border: 1px solid rgba(6, 182, 212, 0.2); |
| border-radius: var(--radius-lg); |
| } |
|
|
| .index-api-tip-title { |
| color: var(--info-600); |
| font-size: var(--text-xs); |
| font-weight: var(--font-semibold); |
| } |
|
|
| .index-api-tip-body { |
| margin-top: 4px; |
| font-size: var(--text-sm); |
| color: var(--neutral-700); |
| } |
|
|
| .metric-card { |
| background: var(--glass-bg); |
| backdrop-filter: blur(12px); |
| border: 1px solid var(--glass-border); |
| border-radius: var(--radius-xl); |
| padding: var(--space-6); |
| text-align: center; |
| position: relative; |
| overflow: hidden; |
| transition: all var(--duration-normal) var(--timing-function); |
| } |
|
|
| .metric-card::after { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 0; |
| bottom: 0; |
| background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%); |
| opacity: 0; |
| transition: opacity var(--duration-normal); |
| } |
|
|
| .metric-card:hover::after { |
| opacity: 1; |
| } |
|
|
| .metric-number { |
| font-size: var(--text-3xl); |
| font-weight: var(--font-bold); |
| color: var(--primary-600); |
| margin-bottom: var(--space-2); |
| display: block; |
| } |
|
|
| .metric-label { |
| font-size: var(--text-sm); |
| color: var(--neutral-600); |
| font-weight: var(--font-medium); |
| } |
|
|
| |
| .btn { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| gap: var(--space-2); |
| padding: var(--space-3) var(--space-6); |
| border-radius: var(--radius-lg); |
| font-size: var(--text-sm); |
| font-weight: var(--font-medium); |
| text-decoration: none; |
| border: none; |
| cursor: pointer; |
| transition: all var(--duration-fast) var(--timing-function); |
| position: relative; |
| overflow: hidden; |
| user-select: none; |
| white-space: nowrap; |
| min-width: fit-content; |
| } |
|
|
| |
| .toggle-group { |
| display: inline-flex; |
| gap: 2px; |
| background: rgba(255, 255, 255, 0.25); |
| padding: 2px; |
| border-radius: 10px; |
| border: 1px solid rgba(255, 255, 255, 0.3); |
| backdrop-filter: blur(30px) saturate(1.8); |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); |
| } |
|
|
| .toggle-btn { |
| padding: 7px 14px; |
| border-radius: 7px; |
| color: rgba(0, 0, 0, 0.7); |
| font-weight: 600; |
| font-size: 13px; |
| line-height: 1; |
| cursor: pointer; |
| user-select: none; |
| transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); |
| border: none; |
| background: rgba(255, 255, 255, 0.1); |
| position: relative; |
| overflow: hidden; |
| letter-spacing: -0.01em; |
| text-shadow: none; |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| min-height: 32px; |
| } |
|
|
| .toggle-btn:hover { |
| color: rgba(0, 0, 0, 0.85); |
| background: rgba(255, 255, 255, 0.18); |
| transform: none; |
| } |
|
|
| .toggle-btn.active { |
| background: rgba(255, 255, 255, 0.95); |
| color: #4f46e5; |
| font-weight: 650; |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1); |
| transform: none; |
| text-shadow: none; |
| } |
|
|
| |
| .time-range-container { |
| display: flex; |
| justify-content: flex-end; |
| width: 100%; |
| position: relative; |
| } |
|
|
| .time-range-selector { |
| display: inline-flex; |
| gap: 0; |
| background: #ffffff; |
| padding: 4px; |
| border-radius: 8px; |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| max-width: 100%; |
| } |
|
|
| .time-range-btn { |
| padding: 6px 16px; |
| border-radius: 6px; |
| color: #666666; |
| font-weight: 400; |
| font-size: 14px; |
| line-height: 1.5; |
| cursor: pointer; |
| user-select: none; |
| transition: all 0.15s ease; |
| border: none; |
| background: transparent; |
| position: relative; |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| min-height: 32px; |
| white-space: nowrap; |
| } |
|
|
| .time-range-btn:hover { |
| color: #333333; |
| background: rgba(0, 0, 0, 0.03); |
| } |
|
|
| .time-range-btn.active { |
| background: transparent; |
| color: #4f46e5; |
| font-weight: 500; |
| } |
|
|
| .filter-custom-range-host { |
| position: relative; |
| width: 100%; |
| } |
|
|
| .filter-custom-range-host .custom-range-picker { |
| left: 0; |
| right: auto; |
| } |
|
|
| .custom-range-picker { |
| position: absolute; |
| top: calc(100% + 8px); |
| right: 0; |
| width: min(720px, calc(100vw - 32px)); |
| padding: 0; |
| background: #ffffff; |
| border: 1px solid rgba(0, 0, 0, 0.08); |
| border-radius: 8px; |
| box-shadow: 0 16px 42px rgba(15, 23, 42, 0.18); |
| z-index: 50; |
| overflow: hidden; |
| } |
|
|
| .custom-range-picker-head { |
| display: grid; |
| grid-template-columns: 40px minmax(0, 1fr) 40px; |
| align-items: center; |
| gap: 8px; |
| padding: 14px 16px; |
| border-bottom: 1px solid rgba(0, 0, 0, 0.08); |
| } |
|
|
| .custom-range-summary { |
| text-align: center; |
| color: #4b5563; |
| font-size: 14px; |
| line-height: 1.3; |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
|
|
| .custom-range-nav-btn { |
| width: 32px; |
| height: 32px; |
| border: none; |
| border-radius: 6px; |
| background: transparent; |
| color: #9ca3af; |
| font-family: inherit; |
| font-size: 24px; |
| line-height: 1; |
| cursor: pointer; |
| } |
|
|
| .custom-range-nav-btn:hover { |
| color: #4b5563; |
| background: rgba(0, 0, 0, 0.04); |
| } |
|
|
| .custom-range-calendars { |
| display: grid; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| gap: 24px; |
| padding: 16px 22px 12px; |
| } |
|
|
| .custom-range-calendar-title { |
| margin-bottom: 10px; |
| color: #222222; |
| font-size: 16px; |
| font-weight: 650; |
| text-align: center; |
| } |
|
|
| .custom-range-weekdays, |
| .custom-range-days { |
| display: grid; |
| grid-template-columns: repeat(7, minmax(0, 1fr)); |
| } |
|
|
| .custom-range-weekdays { |
| margin-bottom: 6px; |
| } |
|
|
| .custom-range-weekdays span { |
| color: #555555; |
| font-size: 13px; |
| line-height: 26px; |
| text-align: center; |
| } |
|
|
| .custom-range-day { |
| width: 100%; |
| min-width: 0; |
| height: 32px; |
| border: none; |
| border-radius: 4px; |
| background: transparent; |
| color: #555555; |
| font-family: inherit; |
| font-size: 14px; |
| cursor: pointer; |
| } |
|
|
| .custom-range-day:hover { |
| background: rgba(59, 130, 246, 0.09); |
| color: #1f2937; |
| } |
|
|
| .custom-range-day.muted { |
| color: #b8b8b8; |
| } |
|
|
| .custom-range-day.disabled, |
| .custom-range-day:disabled { |
| color: #d1d5db; |
| cursor: not-allowed; |
| } |
|
|
| .custom-range-day.disabled:hover, |
| .custom-range-day:disabled:hover { |
| background: transparent; |
| color: #d1d5db; |
| } |
|
|
| .custom-range-day.in-range { |
| background: rgba(59, 130, 246, 0.12); |
| color: #1d4ed8; |
| } |
|
|
| .custom-range-day.selected-start, |
| .custom-range-day.selected-end { |
| background: #1e90ff; |
| color: #ffffff; |
| font-weight: 700; |
| } |
|
|
| .custom-range-time-row { |
| display: grid; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| gap: 12px; |
| padding: 8px 22px 14px; |
| } |
|
|
| .custom-range-time-row label { |
| display: grid; |
| gap: 6px; |
| color: #4b5563; |
| font-size: 12px; |
| } |
|
|
| .custom-range-time-row input { |
| height: 32px; |
| padding: 4px 8px; |
| border: 1px solid #d1d5db; |
| border-radius: 6px; |
| background: #ffffff; |
| color: #111827; |
| font-family: inherit; |
| font-size: 13px; |
| letter-spacing: 0; |
| } |
|
|
| .custom-range-picker-footer { |
| display: flex; |
| justify-content: flex-end; |
| gap: 12px; |
| padding: 10px 16px 14px; |
| border-top: 1px solid rgba(0, 0, 0, 0.08); |
| } |
|
|
| .custom-range-link-btn, |
| .custom-range-confirm-btn { |
| min-height: 32px; |
| padding: 5px 13px; |
| border-radius: 6px; |
| font-family: inherit; |
| font-size: 13px; |
| font-weight: 650; |
| cursor: pointer; |
| } |
|
|
| .custom-range-link-btn { |
| border: none; |
| background: transparent; |
| color: #1e90ff; |
| } |
|
|
| .custom-range-link-btn:hover { |
| background: rgba(30, 144, 255, 0.08); |
| } |
|
|
| .custom-range-confirm-btn { |
| border: none; |
| background: #1e90ff; |
| color: #ffffff; |
| } |
|
|
| .custom-range-confirm-btn:hover { |
| background: #1878d6; |
| } |
|
|
| .btn::before { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: -100%; |
| width: 100%; |
| height: 100%; |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); |
| transition: left var(--duration-slow); |
| } |
|
|
| .btn:hover::before { |
| left: 100%; |
| } |
|
|
| .btn-primary { |
| background: linear-gradient(135deg, var(--primary-500), var(--primary-600)); |
| color: white; |
| box-shadow: var(--shadow-md); |
| } |
|
|
| .btn-primary:hover { |
| transform: none; |
| box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4); |
| } |
|
|
| .btn-warning { |
| background: linear-gradient(135deg, #f59e0b, #d97706); |
| color: white; |
| box-shadow: var(--shadow-md); |
| } |
|
|
| .btn-warning:hover { |
| transform: none; |
| box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); |
| } |
|
|
| .btn-secondary { |
| background: var(--glass-bg); |
| backdrop-filter: blur(8px); |
| color: var(--neutral-800); |
| border: 1px solid var(--glass-border); |
| } |
|
|
| .btn-secondary:hover { |
| background: rgba(255, 255, 255, 0.9); |
| transform: none; |
| box-shadow: var(--shadow-lg); |
| } |
|
|
| .btn-success { |
| background: linear-gradient(135deg, var(--success-500), var(--success-600)); |
| color: white; |
| } |
|
|
| .btn-success:hover { |
| transform: none; |
| box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); |
| } |
|
|
| .btn-danger { |
| background: #ef4444; |
| color: white; |
| transition: all 0.2s; |
| } |
|
|
| .btn-danger:hover { |
| background: #dc2626; |
| transform: none; |
| box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4); |
| } |
|
|
| |
| .btn-danger-active { |
| background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%); |
| border-color: #fca5a5; |
| color: #dc2626; |
| cursor: pointer; |
| opacity: 1; |
| } |
|
|
| .btn-danger-active:disabled { |
| cursor: not-allowed; |
| opacity: 0.5; |
| background: none; |
| border-color: inherit; |
| color: inherit; |
| } |
|
|
| .btn-sm { |
| padding: var(--space-2) var(--space-4); |
| font-size: var(--text-xs); |
| } |
|
|
| .btn-lg { |
| padding: var(--space-4) var(--space-8); |
| font-size: var(--text-lg); |
| } |
|
|
| |
| .form-group { |
| margin-bottom: var(--space-4); |
| } |
|
|
| .form-label { |
| display: block; |
| margin-bottom: var(--space-2); |
| font-size: var(--text-sm); |
| font-weight: var(--font-medium); |
| color: var(--neutral-700); |
| } |
|
|
| .form-input { |
| width: 100%; |
| padding: var(--space-2) var(--space-2); |
| border: 2px solid var(--neutral-200); |
| border-radius: var(--radius-lg); |
| font-size: var(--text-base); |
| color: var(--neutral-900); |
| background: rgba(255, 255, 255, 0.9); |
| backdrop-filter: blur(8px); |
| transition: all var(--duration-fast) var(--timing-function); |
| } |
|
|
| .form-input:focus { |
| outline: none; |
| border-color: var(--primary-500); |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); |
| transform: none; |
| background: white; |
| } |
|
|
| .form-input::placeholder { |
| color: var(--neutral-400); |
| } |
|
|
| |
| .logo { |
| display: flex; |
| align-items: center; |
| gap: var(--space-3); |
| margin-bottom: var(--space-8); |
| padding: var(--space-4); |
| background: rgba(255, 255, 255, 0.1); |
| backdrop-filter: blur(8px); |
| border-radius: var(--radius-xl); |
| border: 1px solid rgba(255, 255, 255, 0.2); |
| } |
|
|
| .logo-icon { |
| width: 36px; |
| height: 36px; |
| border-radius: var(--radius-lg); |
| } |
|
|
| .logo-text { |
| font-size: var(--text-lg); |
| font-weight: var(--font-bold); |
| color: var(--neutral-700); |
| } |
|
|
| .nav-list { |
| list-style: none; |
| margin-bottom: var(--space-8); |
| } |
|
|
| .nav-item { |
| margin-bottom: var(--space-1); |
| } |
|
|
| .nav-link { |
| display: flex; |
| align-items: center; |
| gap: var(--space-3); |
| padding: var(--space-3) var(--space-4); |
| color: var(--neutral-700); |
| text-decoration: none; |
| border-radius: var(--radius-lg); |
| font-weight: var(--font-medium); |
| transition: all var(--duration-fast) var(--timing-function); |
| position: relative; |
| } |
|
|
| .nav-link::before { |
| content: ''; |
| position: absolute; |
| left: 0; |
| top: 50%; |
| transform: translateY(-50%); |
| width: 3px; |
| height: 0; |
| background: var(--primary-600); |
| border-radius: var(--radius-full); |
| transition: height var(--duration-fast) var(--timing-function); |
| } |
|
|
| .nav-link:hover { |
| background: rgba(59, 130, 246, 0.15); |
| color: var(--primary-700); |
| transform: none; |
| } |
|
|
| .nav-link:hover::before { |
| height: 20px; |
| } |
|
|
| .nav-link.active { |
| background: rgba(59, 130, 246, 0.25); |
| color: var(--primary-700); |
| box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.2); |
| } |
|
|
| .nav-link.active::before { |
| height: 20px; |
| } |
|
|
| .nav-icon { |
| width: 16px; |
| height: 16px; |
| opacity: 0.8; |
| transition: opacity var(--duration-fast); |
| } |
|
|
| .nav-link:hover .nav-icon, |
| .nav-link.active .nav-icon { |
| opacity: 1; |
| } |
|
|
| |
| .status-online { |
| color: var(--success-500); |
| } |
|
|
| .status-offline { |
| color: var(--error-500); |
| } |
|
|
| .status-warning { |
| color: var(--warning-500); |
| } |
|
|
| |
| .metric-total { |
| color: var(--primary-600); |
| } |
|
|
| .metric-success { |
| color: var(--success-500); |
| } |
|
|
| .metric-error { |
| color: var(--error-500); |
| } |
|
|
| .metric-rate { |
| color: var(--primary-600); |
| } |
|
|
| |
| .metric-rate.high-performance { |
| color: var(--success-500); |
| } |
|
|
| .metric-rate.medium-performance { |
| color: var(--warning-500); |
| } |
|
|
| .metric-rate.low-performance { |
| color: var(--error-500); |
| } |
|
|
| .status-dot { |
| display: inline-block; |
| width: 8px; |
| height: 8px; |
| border-radius: var(--radius-full); |
| margin-right: var(--space-2); |
| } |
|
|
| .status-dot.online { |
| background: var(--success-500); |
| animation: pulse 2s infinite; |
| } |
|
|
| .status-dot.offline { |
| background: var(--error-500); |
| } |
|
|
| .status-dot.warning { |
| background: var(--warning-500); |
| animation: pulse 2s infinite; |
| } |
|
|
| |
| .grid { |
| display: grid; |
| gap: var(--space-4); |
| } |
|
|
| .grid-cols-1 { |
| grid-template-columns: repeat(1, 1fr); |
| } |
|
|
| .grid-cols-2 { |
| grid-template-columns: repeat(2, 1fr); |
| } |
|
|
| .grid-cols-3 { |
| grid-template-columns: repeat(3, 1fr); |
| } |
|
|
| .grid-cols-4 { |
| grid-template-columns: repeat(4, 1fr); |
| } |
|
|
| |
| .loading-skeleton { |
| background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); |
| background-size: 200% 100%; |
| animation: shimmerBg 1.5s infinite; |
| border-radius: var(--radius-base); |
| } |
|
|
| @keyframes shimmerBg { |
| 0% { |
| background-position: -200% 0; |
| } |
|
|
| 100% { |
| background-position: 200% 0; |
| } |
| } |
|
|
| .loading-spinner { |
| width: 20px; |
| height: 20px; |
| border: 2px solid var(--neutral-300); |
| border-top: 2px solid var(--primary-500); |
| border-radius: var(--radius-full); |
| animation: spin 1s linear infinite; |
| } |
|
|
| @keyframes spin { |
| 0% { |
| transform: rotate(0deg); |
| } |
|
|
| 100% { |
| transform: rotate(360deg); |
| } |
| } |
|
|
| |
| @media (max-width: 768px) { |
| :root { |
| --topbar-offset: 144px; |
| } |
|
|
| .topbar { |
| height: auto; |
| min-height: var(--topbar-height); |
| padding: 8px var(--space-3); |
| gap: var(--space-2); |
| align-items: center; |
| flex-wrap: wrap; |
| } |
|
|
| .topbar-left { |
| min-width: 0; |
| order: 1; |
| flex: 1 1 0; |
| gap: var(--space-2); |
| } |
|
|
| .brand { |
| min-width: 0; |
| gap: var(--space-2); |
| max-width: 100%; |
| } |
|
|
| .brand-icon { |
| width: 32px; |
| height: 32px; |
| } |
|
|
| .brand-text { |
| font-size: var(--text-sm); |
| line-height: 1.2; |
| max-width: 104px; |
| display: -webkit-box; |
| -webkit-line-clamp: 2; |
| -webkit-box-orient: vertical; |
| overflow: hidden; |
| } |
|
|
| .topnav { |
| order: 3; |
| flex: 0 0 100%; |
| width: 100%; |
| justify-content: flex-start; |
| flex-wrap: wrap; |
| overflow-x: visible; |
| white-space: normal; |
| gap: 6px 4px; |
| padding-bottom: 0; |
| } |
|
|
| .topnav::-webkit-scrollbar { |
| display: none; |
| } |
|
|
| .topnav-link { |
| gap: 4px; |
| padding: 6px 8px; |
| font-size: 13px; |
| white-space: nowrap; |
| } |
|
|
| .topnav-link svg { |
| width: 16px; |
| height: 16px; |
| flex: 0 0 auto; |
| } |
|
|
| .topbar-right { |
| order: 2; |
| margin-left: 0; |
| flex: 0 0 auto; |
| gap: 4px; |
| flex-wrap: nowrap; |
| justify-content: flex-end; |
| } |
|
|
| .topbar-right .btn { |
| padding: 6px 8px; |
| font-size: var(--text-xs); |
| white-space: nowrap; |
| } |
|
|
| .version-group { |
| gap: 0; |
| } |
|
|
| .lang-dropdown-trigger { |
| padding: 6px; |
| } |
|
|
| .main-content { |
| padding: var(--space-3); |
| } |
|
|
| .grid-cols-4 { |
| grid-template-columns: repeat(2, 1fr); |
| } |
|
|
| .grid-cols-3 { |
| grid-template-columns: repeat(2, 1fr); |
| } |
|
|
| .grid-cols-2 { |
| grid-template-columns: repeat(1, 1fr); |
| } |
|
|
| .hero-header { |
| padding: var(--space-4); |
| } |
|
|
| .hero-icon { |
| width: 48px; |
| height: 48px; |
| } |
|
|
| .hero-title { |
| font-size: var(--text-2xl); |
| } |
|
|
| .channel-card { |
| padding: var(--space-4); |
| } |
|
|
| .channel-metrics { |
| grid-template-columns: repeat(2, 1fr); |
| gap: var(--space-2); |
| } |
|
|
| .metric-item { |
| display: flex; |
| flex-direction: row-reverse; |
| justify-content: space-between; |
| align-items: center; |
| text-align: left; |
| } |
|
|
| .metric-value { |
| font-size: var(--text-lg); |
| margin-bottom: 0; |
| } |
|
|
| .token-stats { |
| grid-template-columns: repeat(2, 1fr); |
| } |
|
|
| .token-item { |
| flex-direction: row; |
| justify-content: space-between; |
| align-items: center; |
| } |
|
|
| .summary-card { |
| padding: var(--space-4); |
| } |
|
|
| .summary-icon { |
| width: 40px; |
| height: 40px; |
| } |
|
|
| .summary-value { |
| font-size: var(--text-2xl); |
| } |
|
|
| .time-range-container { |
| justify-content: flex-start; |
| } |
|
|
| .time-range-selector { |
| width: 100%; |
| overflow-x: auto; |
| white-space: nowrap; |
| justify-content: flex-start; |
| } |
|
|
| .time-range-selector::-webkit-scrollbar { |
| display: none; |
| } |
|
|
| .time-range-btn { |
| flex: 0 0 auto; |
| padding: 6px 12px; |
| } |
|
|
| .custom-range-picker { |
| position: fixed; |
| top: calc(var(--topbar-offset, 0px) + 8px); |
| left: 50%; |
| right: auto; |
| transform: translateX(-50%); |
| width: calc(100vw - 24px); |
| max-width: 420px; |
| max-height: calc(100vh - var(--topbar-offset, 0px) - 20px); |
| overflow-y: auto; |
| z-index: 350; |
| } |
|
|
| .filter-custom-range-host .custom-range-picker { |
| top: 8px; |
| left: 50%; |
| right: auto; |
| } |
|
|
| .custom-range-picker-head { |
| grid-template-columns: 34px minmax(0, 1fr) 34px; |
| padding: 12px; |
| } |
|
|
| .custom-range-summary { |
| font-size: 13px; |
| } |
|
|
| .custom-range-calendars { |
| grid-template-columns: 1fr; |
| gap: 14px; |
| padding: 14px 12px 10px; |
| } |
|
|
| .custom-range-calendar:nth-child(2) { |
| display: none; |
| } |
|
|
| .custom-range-time-row { |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| padding: 8px 12px 12px; |
| } |
|
|
| .custom-range-day { |
| height: 32px; |
| font-size: 14px; |
| } |
|
|
| .toggle-group, |
| .view-toggle-group { |
| max-width: 100%; |
| overflow-x: auto; |
| white-space: nowrap; |
| } |
|
|
| .toggle-group::-webkit-scrollbar, |
| .view-toggle-group::-webkit-scrollbar { |
| display: none; |
| } |
|
|
| .filter-controls { |
| display: grid; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| gap: 10px 12px; |
| align-items: start; |
| } |
|
|
| .filter-group { |
| display: grid; |
| grid-template-columns: 88px minmax(0, 1fr); |
| align-items: center; |
| width: 100%; |
| min-width: 0; |
| } |
|
|
| .filter-controls > .channel-filter-summary, |
| .filter-controls > .logs-filter-summary-row, |
| .filter-controls > .stats-filter-summary-row, |
| .filter-controls > .filter-actions--page { |
| grid-column: 1 / -1; |
| } |
|
|
| .filter-controls > .filter-actions--page { |
| display: flex; |
| justify-content: flex-end; |
| } |
|
|
| .filter-group--checkbox { |
| display: flex; |
| } |
|
|
| .filter-label { |
| margin-right: 0; |
| text-align: right; |
| } |
|
|
| .filter-input, |
| .filter-select, |
| .filter-combobox-wrapper, |
| .filter-field-wrap, |
| .filter-control--narrow, |
| .filter-control--compact, |
| .filter-control--wide { |
| width: 100%; |
| min-width: 0 !important; |
| max-width: none !important; |
| } |
|
|
| .filter-info { |
| margin-left: 0; |
| margin-top: 0; |
| width: 100%; |
| text-align: center; |
| } |
|
|
| .filter-controls .btn, |
| .channel-toolbar-actions .btn { |
| width: 100%; |
| } |
|
|
| .filter-controls > .filter-actions--page .btn { |
| width: auto; |
| } |
|
|
| .pagination-controls { |
| flex-wrap: wrap; |
| justify-content: center; |
| } |
|
|
| .channel-filter-container { |
| width: 100%; |
| } |
|
|
| .channel-filter-dropdown { |
| position: fixed; |
| left: 12px; |
| right: 12px; |
| min-width: 0; |
| max-width: none; |
| } |
|
|
| .modal { |
| padding: 12px; |
| } |
|
|
| .modal-content { |
| width: min(720px, calc(100vw - 24px)); |
| max-width: none; |
| max-height: calc(100vh - 24px); |
| padding: 12px; |
| } |
|
|
| .modal-content--tall { |
| min-height: auto; |
| } |
|
|
| .modal-header, |
| .form-actions, |
| .confirm-actions { |
| flex-wrap: wrap; |
| } |
|
|
| .form-actions .btn, |
| .confirm-actions .btn { |
| flex: 1 1 140px; |
| } |
|
|
| .form-row-inline { |
| flex-direction: column; |
| align-items: stretch; |
| } |
|
|
| .form-row-inline__label { |
| min-width: 0; |
| flex-basis: auto; |
| } |
|
|
| .form-row-inline__content, |
| .field-grow, |
| .settings-input--number, |
| .settings-input--text { |
| width: 100%; |
| } |
|
|
| .model-test-tabs { |
| align-items: stretch; |
| } |
|
|
| .model-test-progress { |
| grid-column: 1 / -1; |
| width: 100%; |
| } |
|
|
| #runTestBtn { |
| width: 100%; |
| grid-column: 1 / -1; |
| } |
|
|
| .settings-save-actions { |
| justify-content: stretch; |
| } |
|
|
| .settings-save-btn { |
| width: 100%; |
| } |
| } |
|
|
| @media (max-width: 480px) { |
| :root { |
| --topbar-offset: 144px; |
| } |
|
|
| .grid-cols-4, |
| .grid-cols-3, |
| .grid-cols-2 { |
| grid-template-columns: repeat(1, 1fr); |
| } |
|
|
| .glass-card { |
| padding: var(--space-4); |
| } |
|
|
| .metric-card { |
| padding: var(--space-4); |
| } |
|
|
| .hero-header { |
| flex-direction: column; |
| text-align: center; |
| } |
|
|
| .hero-title { |
| font-size: var(--text-xl); |
| } |
|
|
| .channel-metrics { |
| grid-template-columns: repeat(2, 1fr); |
| } |
|
|
| .summary-card { |
| flex-direction: column; |
| text-align: center; |
| } |
|
|
| .summary-card::before { |
| width: 100%; |
| height: 4px; |
| top: 0; |
| left: 0; |
| } |
|
|
| .filter-group { |
| grid-template-columns: 1fr; |
| } |
|
|
| .filter-label { |
| text-align: left; |
| } |
| } |
|
|
| |
| @media (prefers-reduced-motion: reduce) { |
|
|
| *, |
| *::before, |
| *::after { |
| animation-duration: 0.01ms !important; |
| animation-iteration-count: 1 !important; |
| transition-duration: 0.01ms !important; |
| } |
| } |
|
|
|
|
| |
| .modal { |
| display: none; |
| position: fixed; |
| z-index: 1000; |
| left: 0; |
| top: 0; |
| width: 100%; |
| height: 100%; |
| background-color: rgba(0, 0, 0, 0.5); |
| backdrop-filter: blur(4px); |
| } |
|
|
| .modal.show { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
|
|
| .modal-content { |
| background: var(--glass-bg); |
| backdrop-filter: blur(10px); |
| border: 1px solid var(--glass-border); |
| border-radius: 12px; |
| padding: 16px; |
| width: 70%; |
| max-width: none; |
| max-height: 90vh; |
| overflow-y: auto; |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); |
| } |
|
|
| .modal-content--sm { |
| max-width: 500px; |
| } |
|
|
| .modal-content--md { |
| max-width: 600px; |
| } |
|
|
| .modal-content--lg { |
| max-width: 760px; |
| } |
|
|
| .modal-content--xl { |
| max-width: 800px; |
| } |
|
|
| .modal-content--tall { |
| display: flex; |
| flex-direction: column; |
| min-height: min(680px, calc(100vh - 32px)); |
| } |
|
|
| .modal-header { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| margin-bottom: 10px; |
| } |
|
|
| .modal-title { |
| font-size: 1.25rem; |
| font-weight: 600; |
| color: var(--neutral-800); |
| } |
|
|
| .close-btn { |
| background: none; |
| border: none; |
| font-size: 1.5rem; |
| cursor: pointer; |
| color: var(--neutral-500); |
| padding: 0; |
| width: 32px; |
| height: 32px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| border-radius: 6px; |
| transition: all 0.2s; |
| } |
|
|
| .close-btn:hover { |
| background: var(--neutral-100); |
| color: var(--neutral-700); |
| } |
|
|
| .form-actions { |
| display: flex; |
| gap: 12px; |
| justify-content: flex-end; |
| margin-top: 24px; |
| } |
|
|
| .form-row-inline { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| } |
|
|
| .form-row-inline__label { |
| flex: 0 0 60px; |
| min-width: 60px; |
| margin: 0; |
| white-space: nowrap; |
| } |
|
|
| .form-row-inline__content { |
| flex: 1 1 auto; |
| min-width: 0; |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| } |
|
|
| .field-grow { |
| flex: 1 1 auto; |
| min-width: 0; |
| } |
|
|
| .scroll-pane { |
| overflow-y: auto; |
| border: 1px solid var(--neutral-200); |
| border-radius: 6px; |
| } |
|
|
| .scroll-pane--sm { |
| max-height: 300px; |
| } |
|
|
| .control-checkbox { |
| width: 18px; |
| height: 18px; |
| } |
|
|
| .control-checkbox--sm { |
| width: 16px; |
| height: 16px; |
| } |
|
|
| .confirm-modal { |
| text-align: center; |
| width: auto !important; |
| max-width: 460px !important; |
| min-width: 300px; |
| } |
|
|
| .confirm-modal p { |
| margin: 20px 0; |
| color: var(--neutral-600); |
| } |
|
|
| .confirm-actions { |
| display: flex; |
| gap: 12px; |
| justify-content: center; |
| margin-top: 24px; |
| } |
|
|
| .modal-header--compact { |
| margin-bottom: 8px; |
| } |
|
|
| .modal-description { |
| margin: 0; |
| color: var(--color-text-secondary); |
| font-size: 13px; |
| } |
|
|
| .confirm-actions--end { |
| justify-content: flex-end; |
| margin-top: 16px; |
| } |
|
|
| |
| .filter-bar { |
| background: var(--glass-bg); |
| backdrop-filter: blur(10px); |
| border: 1px solid var(--glass-border); |
| border-radius: 12px; |
| padding: var(--space-4); |
| margin-bottom: var(--space-2); |
| position: relative; |
| z-index: 20; |
| overflow: visible; |
| } |
|
|
| .filter-controls { |
| display: flex; |
| gap: 12px; |
| align-items: center; |
| flex-wrap: wrap; |
| } |
|
|
| .filter-group { |
| flex: 1; |
| |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| } |
|
|
| .filter-group--checkbox { |
| flex: 0 1 auto; |
| align-items: center; |
| } |
|
|
| .filter-input, |
| .filter-select { |
| flex: 1; |
| padding: var(--space-2) var(--space-3); |
| border: 1px solid var(--neutral-300); |
| border-radius: var(--radius-base); |
| font-size: var(--text-sm); |
| color: var(--neutral-900); |
| background: rgba(255, 255, 255, 0.9); |
| transition: all var(--duration-fast); |
| } |
|
|
| .filter-input:focus, |
| .filter-select:focus { |
| outline: none; |
| border-color: var(--primary-500); |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); |
| } |
|
|
| .filter-combobox { |
| width: 100%; |
| background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); |
| background-repeat: no-repeat; |
| background-position: right 10px center; |
| background-size: 14px 14px; |
| padding-right: 32px; |
| } |
|
|
| .filter-combobox-wrapper { |
| position: relative; |
| flex: 1; |
| } |
|
|
| .filter-control--narrow { |
| max-width: 110px; |
| } |
|
|
| .filter-control--compact { |
| min-width: 120px; |
| max-width: 160px; |
| } |
|
|
| .filter-control--time-range { |
| min-width: 60px; |
| max-width: 90px; |
| } |
|
|
| .filter-control--wide { |
| min-width: 150px; |
| } |
|
|
| .filter-field-wrap { |
| position: relative; |
| flex: 1 1 auto; |
| min-width: 140px; |
| } |
|
|
| .filter-dropdown { |
| position: fixed; |
| left: 0; |
| top: 0; |
| width: 240px; |
| display: none; |
| background: var(--filter-dropdown-bg); |
| border: 1px solid var(--filter-dropdown-border); |
| border-radius: var(--radius-base); |
| box-shadow: var(--shadow-lg); |
| padding: 6px 0; |
| max-height: 640px; |
| overflow: auto; |
| z-index: 99999; |
| } |
|
|
| .filter-dropdown-item { |
| display: flex; |
| align-items: center; |
| gap: 0; |
| padding: 10px 14px; |
| font-size: var(--text-sm); |
| color: var(--filter-dropdown-item-fg); |
| cursor: pointer; |
| user-select: none; |
| } |
|
|
| .filter-dropdown-item::before { |
| content: ""; |
| display: none; |
| } |
|
|
| .filter-dropdown-item:hover { |
| background: var(--filter-dropdown-item-highlight-bg); |
| color: var(--filter-dropdown-item-highlight-fg); |
| } |
|
|
| .filter-dropdown-item.selected { |
| background: transparent; |
| color: var(--filter-dropdown-item-fg); |
| font-weight: var(--font-semibold); |
| } |
|
|
| .filter-dropdown-item.selected::before { |
| display: none; |
| } |
|
|
| .filter-dropdown-item.active:not(.selected) { |
| background: var(--filter-dropdown-item-highlight-bg); |
| color: var(--filter-dropdown-item-highlight-fg); |
| } |
|
|
| .filter-label { |
| flex-shrink: 0; |
| font-size: var(--text-xs); |
| font-weight: 500; |
| color: var(--neutral-600); |
| white-space: nowrap; |
| margin-right: 4px; |
| } |
|
|
| .filter-info { |
| margin-left: auto; |
| font-size: var(--text-sm); |
| color: var(--neutral-600); |
| white-space: nowrap; |
| } |
|
|
| .filter-checkbox-label { |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| cursor: pointer; |
| font-size: var(--text-xs); |
| color: var(--neutral-600); |
| user-select: none; |
| white-space: nowrap; |
| } |
|
|
| .filter-checkbox-label input[type="checkbox"] { |
| width: 14px; |
| height: 14px; |
| } |
|
|
| .filter-checkbox-label span { |
| font-weight: 500; |
| } |
|
|
| |
| .table-container { |
| overflow-x: auto; |
| -webkit-overflow-scrolling: touch; |
| border-radius: var(--radius-lg); |
| border: 1px solid var(--neutral-200); |
| background: rgba(255, 255, 255, 0.9); |
| } |
|
|
| .modern-table { |
| width: 100%; |
| border-collapse: collapse; |
| font-size: var(--text-sm); |
| color: var(--neutral-800); |
| } |
|
|
| .modern-table thead { |
| background: var(--neutral-100); |
| } |
|
|
| .modern-table th { |
| padding: var(--space-4); |
| text-align: left; |
| font-weight: var(--font-semibold); |
| color: var(--neutral-800); |
| border-bottom: 2px solid var(--neutral-200); |
| } |
|
|
| .modern-table td { |
| padding: var(--space-3) var(--space-4); |
| border-bottom: 1px solid var(--neutral-200); |
| transition: background-color var(--duration-fast); |
| } |
|
|
| .modern-table tbody tr:hover { |
| background: rgba(0, 0, 0, 0.02); |
| } |
|
|
| |
| .stats-table th { |
| padding: var(--space-3) var(--space-3); |
| } |
|
|
| .stats-table td { |
| padding: var(--space-2) var(--space-3); |
| } |
|
|
| |
| .stats-filter-controls .filter-group { |
| flex: 0 1 auto; |
| } |
|
|
| .stats-filter-controls .filter-combobox-wrapper { |
| min-width: 120px; |
| } |
|
|
| |
| .stats-detail-card:hover { |
| transform: none; |
| } |
|
|
| .stats-filter-summary-row { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| margin-left: auto; |
| flex-shrink: 0; |
| } |
|
|
| .stats-filter-summary-row .stats-filter-info { |
| white-space: nowrap; |
| } |
|
|
| .stats-filter-summary-row .stats-filter-actions { |
| flex: none; |
| } |
|
|
| .stats-filter-summary-row .stats-filter-actions .btn { |
| white-space: nowrap; |
| } |
|
|
| |
| .logs-filter-controls .filter-group { |
| flex: 0 1 auto; |
| } |
|
|
| .logs-filter-controls .filter-combobox-wrapper { |
| min-width: 120px; |
| } |
|
|
| .logs-filter-summary-row { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| margin-left: auto; |
| flex-shrink: 0; |
| } |
|
|
| .logs-filter-summary-row .logs-filter-info { |
| white-space: nowrap; |
| } |
|
|
| .logs-filter-summary-row .logs-filter-actions { |
| flex: none; |
| } |
|
|
| .logs-filter-summary-row .logs-filter-actions .btn { |
| white-space: nowrap; |
| } |
|
|
| |
| .inline-table-container { |
| max-height: 160px; |
| overflow-y: auto; |
| overscroll-behavior: contain; |
| border: 1px solid var(--neutral-200); |
| border-radius: 8px; |
| background: white; |
| } |
|
|
| |
| .inline-table-container:has(.inline-url-table) { |
| max-height: 120px; |
| } |
|
|
| .inline-table-container.tall { |
| max-height: 320px; |
| min-height: 320px; |
| } |
|
|
| .inline-table { |
| width: 100%; |
| border-collapse: collapse; |
| } |
|
|
| .inline-table thead { |
| position: sticky; |
| top: 0; |
| z-index: 1; |
| background: var(--neutral-100); |
| } |
|
|
| .inline-table th { |
| padding: 6px 10px; |
| text-align: left; |
| font-weight: 600; |
| font-size: 13px; |
| border-bottom: 2px solid var(--neutral-300); |
| } |
|
|
| .inline-table td { |
| padding: 4px 8px; |
| border-bottom: 1px solid var(--neutral-100); |
| } |
|
|
| .inline-table tbody tr:hover { |
| background: var(--neutral-50); |
| } |
|
|
| |
| .table-filter-input { |
| width: 100%; |
| padding: 4px 8px; |
| border: 1px solid var(--neutral-300); |
| border-radius: 6px; |
| font-size: 13px; |
| font-weight: 400; |
| background: white; |
| transition: border-color 0.2s, box-shadow 0.2s; |
| } |
|
|
| .table-filter-input:focus { |
| outline: none; |
| border-color: var(--primary-500); |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); |
| } |
|
|
| .table-filter-input::placeholder { |
| color: var(--neutral-400); |
| } |
|
|
| .settings-input { |
| padding: 6px 10px; |
| border: 1px solid var(--color-border); |
| border-radius: 6px; |
| background: var(--color-bg-secondary); |
| color: var(--color-text); |
| font-size: 13px; |
| max-width: 100%; |
| } |
|
|
| .settings-input--number { |
| width: 100px; |
| text-align: right; |
| } |
|
|
| .settings-input--text { |
| width: min(280px, 100%); |
| } |
|
|
| .settings-bool-option { |
| display: inline-flex; |
| align-items: center; |
| gap: 6px; |
| cursor: pointer; |
| } |
|
|
| .settings-bool-option + .settings-bool-option { |
| margin-left: 16px; |
| } |
|
|
| .settings-group-nav-section[hidden] { |
| display: none !important; |
| } |
|
|
| .settings-group-nav-container { |
| justify-content: flex-end; |
| } |
|
|
| .settings-group-nav { |
| width: auto; |
| } |
|
|
| .table-col-select { |
| width: 30px; |
| } |
|
|
| .table-col-name { |
| width: 200px; |
| } |
|
|
| .table-col-channel { |
| width: 280px; |
| } |
|
|
| .table-col-duration { |
| width: 76px; |
| } |
|
|
| .table-col-metric { |
| width: 65px; |
| } |
|
|
| .table-col-priority { |
| width: 76px; |
| } |
|
|
| .table-col-speed { |
| width: 96px; |
| } |
|
|
| .table-col-cost { |
| width: 80px; |
| } |
|
|
| .table-col-actions { |
| width: 260px; |
| } |
|
|
| .mode-tab-btn { |
| padding: 8px 14px; |
| font-size: 13px; |
| border: 1px solid var(--color-border); |
| border-radius: 8px; |
| background: var(--color-bg-secondary); |
| color: var(--color-text-secondary); |
| cursor: pointer; |
| } |
|
|
| .mode-tab-btn.active { |
| background: var(--primary-500); |
| border-color: var(--primary-500); |
| color: white; |
| } |
|
|
| .model-test-tabs { |
| display: flex; |
| gap: 8px; |
| margin-bottom: 12px; |
| } |
|
|
| .model-test-toolbar { |
| display: flex; |
| gap: 8px; |
| margin-bottom: 16px; |
| flex-wrap: wrap; |
| align-items: center; |
| } |
|
|
| .model-test-toolbar-section { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| flex-wrap: wrap; |
| min-width: 0; |
| } |
|
|
| .model-test-toolbar-section--filters { |
| flex: 1 1 auto; |
| flex-wrap: nowrap; |
| align-items: center; |
| gap: 6px; |
| } |
|
|
| .model-test-toolbar-section--actions { |
| flex: 0 0 auto; |
| margin-left: auto; |
| justify-content: flex-end; |
| gap: 6px; |
| } |
|
|
| .model-test-toolbar-section--meta { |
| flex: 1 1 220px; |
| justify-content: flex-start; |
| } |
|
|
| .model-test-response-head-inner { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: 8px; |
| width: 100%; |
| min-width: 0; |
| } |
|
|
| .model-test-response-head-line { |
| display: flex; |
| align-items: center; |
| gap: 4px; |
| min-width: 0; |
| } |
|
|
| .model-test-head-actions { |
| margin-left: auto; |
| } |
|
|
| .model-test-control { |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| font-size: 13px; |
| min-width: 0; |
| } |
|
|
| .model-test-control--model { |
| min-width: 280px; |
| } |
|
|
| .model-test-control--type { |
| min-width: 160px; |
| } |
|
|
| .model-test-control--protocol { |
| flex: 0 0 auto; |
| } |
|
|
| .model-test-control--protocol .model-test-control__label { |
| white-space: nowrap; |
| } |
|
|
| .model-test-control--protocol .channel-editor-radio-group { |
| flex-wrap: nowrap; |
| } |
|
|
| .model-test-control--protocol .channel-editor-radio-option { |
| white-space: nowrap; |
| } |
|
|
| .model-test-control--content { |
| flex: 1 1 360px; |
| min-width: 220px; |
| } |
|
|
| .model-test-control--name-filter { |
| display: none; |
| } |
|
|
| .model-test-control__label, |
| .model-test-progress { |
| color: var(--color-text-secondary); |
| font-size: 13px; |
| } |
|
|
| .model-test-model-combobox { |
| min-width: 220px; |
| flex: 1 1 auto; |
| } |
|
|
| .model-test-inline-select, |
| .model-test-inline-input, |
| .model-test-concurrency-input, |
| .settings-input { |
| border: 1px solid var(--color-border); |
| border-radius: 6px; |
| background: var(--color-bg-secondary); |
| color: var(--color-text); |
| font-size: 13px; |
| } |
|
|
| .model-test-inline-select { |
| padding: 6px 8px; |
| } |
|
|
| .model-test-inline-input { |
| flex: 1 1 auto; |
| min-width: 0; |
| padding: 6px 10px; |
| } |
|
|
| .model-test-toolbar-btn { |
| padding: 8px 14px; |
| font-size: 13px; |
| } |
|
|
| .model-test-head-actions .model-test-toolbar-btn { |
| flex: 0 0 auto; |
| width: auto; |
| min-width: 96px; |
| } |
|
|
| .model-test-toolbar-btn--danger { |
| color: var(--error-500); |
| } |
|
|
| .model-test-toolbar-toggles { |
| display: flex; |
| align-items: center; |
| gap: 8px 12px; |
| flex-wrap: nowrap; |
| flex: 0 0 auto; |
| } |
|
|
| .model-test-toggle { |
| display: flex; |
| align-items: center; |
| gap: 4px; |
| font-size: 13px; |
| cursor: pointer; |
| } |
|
|
| .model-test-concurrency-input { |
| width: 50px; |
| padding: 4px; |
| text-align: center; |
| } |
|
|
| #runTestBtn:disabled, |
| #runTestBtn.is-disabled { |
| opacity: 0.62; |
| filter: saturate(60%); |
| background: var(--color-border); |
| border-color: var(--color-border); |
| color: var(--color-text-secondary); |
| cursor: not-allowed; |
| pointer-events: none; |
| } |
|
|
| .model-test-table { |
| width: 100%; |
| table-layout: fixed; |
| font-size: 13px; |
| min-width: 900px; |
| } |
|
|
| .model-test-table .channel-link { |
| padding: 0; |
| border: none; |
| background: transparent; |
| font: inherit; |
| cursor: pointer; |
| display: inline; |
| } |
|
|
| .model-test-empty-row td { |
| text-align: center; |
| color: var(--color-text-secondary); |
| padding: 40px; |
| } |
|
|
| @media (max-width: 1680px) and (min-width: 1281px) { |
| .model-test-toolbar { |
| display: grid; |
| grid-template-columns: minmax(0, 1fr) auto; |
| gap: 12px; |
| align-items: start; |
| } |
|
|
| .model-test-toolbar-section--filters { |
| grid-column: 1 / -1; |
| grid-row: 1; |
| width: auto; |
| min-width: 0; |
| flex-wrap: wrap; |
| } |
|
|
| .model-test-toolbar-section--meta { |
| grid-column: 1; |
| grid-row: 2; |
| width: auto; |
| min-width: 0; |
| margin-left: 0; |
| justify-content: flex-start; |
| align-items: center; |
| } |
|
|
| .model-test-control--content { |
| flex: 1 1 420px; |
| min-width: 240px; |
| } |
|
|
| .model-test-progress { |
| flex: 1 1 auto; |
| min-width: 0; |
| text-align: left; |
| } |
| } |
|
|
| @media (max-width: 1280px) and (min-width: 960px) { |
| .model-test-toolbar { |
| display: grid; |
| grid-template-columns: minmax(0, 1fr) auto; |
| gap: 12px; |
| align-items: start; |
| } |
|
|
| .model-test-toolbar-section--filters { |
| grid-column: 1 / -1; |
| grid-row: 1; |
| width: 100%; |
| min-width: 0; |
| flex-wrap: wrap; |
| } |
|
|
| .model-test-toolbar-section--meta { |
| min-width: 0; |
| } |
|
|
| .model-test-toolbar-section--meta { |
| grid-column: 1; |
| grid-row: 2; |
| width: auto; |
| margin-left: 0; |
| justify-content: flex-start; |
| align-items: center; |
| } |
|
|
| .model-test-control--content { |
| flex: 1 1 360px; |
| min-width: 220px; |
| } |
|
|
| .model-test-progress { |
| flex: 1 1 auto; |
| min-width: 0; |
| text-align: left; |
| } |
| } |
|
|
| @media (max-width: 959px) and (min-width: 769px) { |
| .model-test-toolbar { |
| display: grid; |
| grid-template-columns: minmax(0, 1fr); |
| gap: 12px; |
| align-items: stretch; |
| } |
|
|
| .model-test-toolbar-section--filters, |
| .model-test-toolbar-section--meta { |
| width: 100%; |
| min-width: 0; |
| margin-left: 0; |
| } |
|
|
| .model-test-toolbar-section--filters { |
| flex-wrap: wrap; |
| } |
|
|
| .model-test-toolbar-section--meta { |
| justify-content: flex-start; |
| align-items: center; |
| } |
|
|
| .model-test-progress { |
| flex: 1 1 auto; |
| min-width: 0; |
| text-align: left; |
| } |
| } |
|
|
| .delete-preview-text { |
| margin: 10px 0 0; |
| white-space: pre-wrap; |
| font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
| font-size: 12px; |
| line-height: 1.5; |
| color: var(--color-text-secondary); |
| background: var(--color-bg-secondary); |
| border: 1px solid var(--color-border); |
| border-radius: 8px; |
| padding: 10px; |
| max-height: 260px; |
| overflow: auto; |
| } |
|
|
| .model-test-add-field { |
| display: flex; |
| flex-direction: column; |
| gap: 8px; |
| } |
|
|
| .model-test-add-label { |
| color: var(--color-text-secondary); |
| font-size: 14px; |
| font-weight: 600; |
| } |
|
|
| .model-test-batch-textarea { |
| width: 100%; |
| min-height: 220px; |
| resize: vertical; |
| border: 1px solid var(--color-border); |
| border-radius: 8px; |
| background: var(--color-bg-secondary); |
| color: var(--color-text); |
| font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
| font-size: 14px; |
| line-height: 1.55; |
| padding: 12px 14px; |
| outline: none; |
| } |
|
|
| .model-test-batch-textarea:focus { |
| border-color: var(--primary-500); |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18); |
| } |
|
|
| .model-test-add-help { |
| margin-top: 12px; |
| padding: 14px 16px; |
| border: 1px solid rgba(6, 182, 212, 0.45); |
| border-radius: 8px; |
| background: rgba(6, 182, 212, 0.08); |
| color: var(--color-text-secondary); |
| font-size: 13px; |
| } |
|
|
| .model-test-add-help-title { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| margin-bottom: 8px; |
| color: var(--color-text); |
| } |
|
|
| .model-test-add-help-icon { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| width: 18px; |
| height: 18px; |
| border: 2px solid currentColor; |
| border-radius: 50%; |
| font-size: 12px; |
| font-weight: 700; |
| line-height: 1; |
| } |
|
|
| .model-test-add-help ul { |
| margin: 0; |
| padding-left: 32px; |
| } |
|
|
| .model-test-add-help li + li { |
| margin-top: 4px; |
| } |
|
|
| .model-test-add-help code { |
| padding: 2px 6px; |
| border-radius: 5px; |
| background: rgba(148, 163, 184, 0.18); |
| color: var(--color-text); |
| } |
|
|
| .settings-save-actions { |
| display: flex; |
| justify-content: flex-end; |
| padding: 16px 0 0 0; |
| } |
|
|
| .settings-save-btn { |
| min-width: 120px; |
| } |
|
|
| .settings-head-item { |
| width: 60%; |
| } |
|
|
| .settings-head-value { |
| width: 30%; |
| text-align: right; |
| } |
|
|
| .settings-head-actions { |
| width: 10%; |
| } |
|
|
| .settings-table td.setting-col-value { |
| text-align: right; |
| } |
|
|
| .setting-group-cell { |
| background: var(--neutral-100); |
| color: var(--neutral-700); |
| font-weight: 700; |
| letter-spacing: 0.2px; |
| } |
|
|
| |
| .channel-actions { |
| display: flex; |
| gap: 8px; |
| } |
|
|
| .btn-icon { |
| background: white; |
| border: 1px solid var(--neutral-300); |
| color: var(--neutral-600); |
| padding: 6px 10px; |
| border-radius: 6px; |
| cursor: pointer; |
| font-size: 0.875rem; |
| transition: all 0.2s; |
| } |
|
|
| .btn-icon:hover { |
| background: var(--neutral-50); |
| border-color: var(--neutral-400); |
| color: var(--neutral-700); |
| } |
|
|
| .add-channel-btn { |
| position: fixed; |
| bottom: 24px; |
| right: 24px; |
| width: 56px; |
| height: 56px; |
| border-radius: 50%; |
| background: var(--primary-500); |
| color: white; |
| border: none; |
| font-size: 24px; |
| cursor: pointer; |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); |
| transition: all 0.2s; |
| z-index: 100; |
| } |
|
|
| .add-channel-btn:hover { |
| background: var(--primary-600); |
| transform: none; |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); |
| } |
|
|
| .models-input-wrapper { |
| position: relative; |
| } |
|
|
| .models-hint { |
| font-size: 0.75rem; |
| color: var(--neutral-500); |
| margin-top: 4px; |
| } |
|
|
| |
| .cooldown-badge { |
| margin-top: 8px; |
| padding: 6px 12px; |
| border-radius: 6px; |
| display: inline-flex; |
| align-items: center; |
| gap: 6px; |
| font-size: 0.75rem; |
| font-weight: 500; |
| background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); |
| color: #dc2626; |
| border: 1px solid #fca5a5; |
| box-shadow: 0 1px 3px rgba(220, 38, 38, 0.1); |
| animation: cooldown-pulse 2s infinite; |
| } |
|
|
| .cooldown-icon { |
| font-size: 0.875rem; |
| animation: cooldown-spin 3s linear infinite; |
| } |
|
|
| .channel-card-cooldown { |
| border-color: #fca5a5 !important; |
| position: relative; |
| } |
|
|
| .channel-card-cooldown::before { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 0; |
| height: 3px; |
| background: linear-gradient(90deg, #dc2626, #ef4444, #dc2626); |
| border-radius: 12px 12px 0 0; |
| animation: cooldown-bar 2s ease-in-out infinite; |
| } |
|
|
| @keyframes cooldown-pulse { |
|
|
| 0%, |
| 100% { |
| transform: scale(1); |
| opacity: 1; |
| } |
|
|
| 50% { |
| transform: scale(1.02); |
| opacity: 0.95; |
| } |
| } |
|
|
| @keyframes cooldown-spin { |
| from { |
| transform: rotate(0deg); |
| } |
|
|
| to { |
| transform: rotate(360deg); |
| } |
| } |
|
|
| @keyframes cooldown-bar { |
|
|
| 0%, |
| 100% { |
| opacity: 0.8; |
| } |
|
|
| 50% { |
| opacity: 1; |
| box-shadow: 0 0 8px rgba(220, 38, 38, 0.3); |
| } |
| } |
|
|
| |
| .test-modal-content { |
| max-width: 600px; |
| } |
|
|
| .model-select { |
| width: 100%; |
| padding: 8px 12px; |
| border: 1px solid var(--neutral-300); |
| border-radius: 6px; |
| font-size: 0.875rem; |
| background: white; |
| transition: all 0.2s; |
| margin-bottom: 8px; |
| } |
|
|
| .model-select:focus { |
| outline: none; |
| border-color: var(--primary-500); |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); |
| } |
|
|
| .test-progress { |
| display: none; |
| align-items: center; |
| gap: 8px; |
| margin: 8px 0; |
| padding: 12px; |
| background: rgba(59, 130, 246, 0.1); |
| border: 1px solid rgba(59, 130, 246, 0.2); |
| border-radius: 6px; |
| } |
|
|
| .test-progress.show { |
| display: flex; |
| } |
|
|
| .test-spinner { |
| width: 20px; |
| height: 20px; |
| border: 2px solid #e5e7eb; |
| border-top: 2px solid var(--primary-500); |
| border-radius: 50%; |
| animation: spin 1s linear infinite; |
| } |
|
|
| .test-result { |
| margin: 16px 0; |
| padding: 12px; |
| border-radius: 6px; |
| display: none; |
| } |
|
|
| .test-result.show { |
| display: block; |
| } |
|
|
| .test-result.success { |
| background: rgba(34, 197, 94, 0.1); |
| border: 1px solid rgba(34, 197, 94, 0.2); |
| color: #059669; |
| } |
|
|
| .test-result.error { |
| background: rgba(239, 68, 68, 0.1); |
| border: 1px solid rgba(239, 68, 68, 0.2); |
| color: #dc2626; |
| } |
|
|
| .test-details { |
| margin-top: 8px; |
| font-size: 0.75rem; |
| opacity: 0.8; |
| } |
|
|
| .response-section { |
| margin-top: 12px; |
| padding: 12px; |
| background: rgba(255, 255, 255, 0.5); |
| border: 1px solid rgba(0, 0, 0, 0.1); |
| border-radius: 6px; |
| max-height: 300px; |
| overflow-y: auto; |
| } |
|
|
| .response-section h4 { |
| margin: 0 0 8px 0; |
| font-size: 0.875rem; |
| font-weight: 600; |
| color: var(--neutral-700); |
| } |
|
|
| .response-content { |
| font-size: 0.8rem; |
| font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; |
| line-height: 1.4; |
| white-space: pre-wrap; |
| word-break: break-word; |
| background: rgba(0, 0, 0, 0.05); |
| padding: 8px; |
| border-radius: 4px; |
| border: 1px solid rgba(0, 0, 0, 0.1); |
| } |
|
|
| |
| .upstream-detail-modal-content { |
| width: 90vw; |
| max-width: 90vw; |
| height: 90vh; |
| max-height: 90vh; |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| .upstream-detail-modal-content .upstream-tab-panel.active { |
| flex: 1; |
| overflow-y: auto; |
| } |
|
|
| .upstream-detail-tabs { |
| display: flex; |
| gap: 0; |
| align-items: center; |
| border-bottom: 2px solid var(--neutral-200); |
| margin-bottom: 16px; |
| } |
|
|
| .upstream-tab { |
| padding: 8px 20px; |
| border: none; |
| background: none; |
| font-size: 0.875rem; |
| font-weight: 500; |
| color: var(--neutral-500); |
| cursor: pointer; |
| border-bottom: 2px solid transparent; |
| margin-bottom: -2px; |
| transition: color 0.15s, border-color 0.15s; |
| } |
|
|
| .upstream-tab:hover { |
| color: var(--neutral-700); |
| } |
|
|
| .upstream-tab.active { |
| color: var(--primary-600); |
| border-bottom-color: var(--primary-600); |
| } |
|
|
| .upstream-tab-panel { |
| display: none; |
| } |
|
|
| .upstream-tab-panel.active { |
| display: block; |
| } |
|
|
| .upstream-field { |
| margin-bottom: 12px; |
| } |
|
|
| .upstream-field-header { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| margin-bottom: 4px; |
| } |
|
|
| .upstream-field label { |
| display: block; |
| font-size: 0.75rem; |
| font-weight: 600; |
| color: var(--neutral-500); |
| text-transform: uppercase; |
| letter-spacing: 0.05em; |
| margin-bottom: 4px; |
| } |
|
|
| .upstream-field-header label { |
| margin-bottom: 0; |
| } |
|
|
| .upstream-copy-btn { |
| padding: 2px 10px; |
| font-size: 12px; |
| color: var(--neutral-500); |
| background: transparent; |
| border: 1px solid var(--neutral-300); |
| border-radius: 4px; |
| cursor: pointer; |
| transition: color 0.15s, border-color 0.15s; |
| } |
|
|
| .upstream-copy-btn:hover { |
| color: var(--primary-600); |
| border-color: var(--primary-600); |
| } |
|
|
| .upstream-copy-btn.copied { |
| color: #16a34a; |
| border-color: #16a34a; |
| } |
|
|
| .upstream-copy-btn--tabs { |
| margin-left: auto; |
| margin-bottom: 4px; |
| } |
|
|
| .upstream-merge-btn { |
| margin-left: 6px; |
| margin-bottom: 4px; |
| } |
|
|
| .upstream-merge-btn.active { |
| color: var(--primary-600); |
| border-color: var(--primary-600); |
| background: var(--primary-50); |
| } |
|
|
| .upstream-pre { |
| margin: 0; |
| padding: 8px 0; |
| font-size: 13px; |
| font-family: 'Monaco', 'Menlo', 'Consolas', 'Ubuntu Mono', monospace; |
| line-height: 1.6; |
| white-space: pre-wrap; |
| word-break: break-all; |
| background: var(--neutral-50); |
| color: var(--color-text); |
| border: 1px solid var(--neutral-200); |
| border-radius: 6px; |
| max-height: 200px; |
| overflow-y: auto; |
| counter-reset: line-number; |
| } |
|
|
| .upstream-pre .code-line { |
| display: block; |
| counter-increment: line-number; |
| padding: 0 12px 0 calc(3.5ch + 30px); |
| min-height: 1.6em; |
| position: relative; |
| } |
|
|
| .upstream-pre .code-line:hover { |
| background: rgba(0, 0, 0, 0.03); |
| } |
|
|
| .upstream-pre .code-line--foldable { |
| padding-left: calc(3.5ch + 30px + 18px); |
| } |
|
|
| .upstream-pre .code-fold-toggle { |
| position: absolute; |
| left: calc(3.5ch + 12px); |
| top: 0; |
| width: 18px; |
| height: 1.6em; |
| padding: 0; |
| margin: 0; |
| border: none; |
| background: transparent; |
| color: var(--neutral-500); |
| font-size: 13px; |
| line-height: 1.6em; |
| text-align: center; |
| cursor: pointer; |
| user-select: none; |
| -webkit-user-select: none; |
| transition: color 0.15s, transform 0.15s; |
| } |
|
|
| .upstream-pre .code-fold-toggle:hover { |
| color: var(--primary-600); |
| } |
|
|
| .upstream-pre .code-line--collapsed .code-fold-toggle { |
| color: var(--primary-600); |
| } |
|
|
| .upstream-pre .code-fold-summary { |
| display: none; |
| margin-left: 6px; |
| padding: 0 6px; |
| background: var(--neutral-100); |
| border-radius: 3px; |
| color: var(--neutral-500); |
| font-style: italic; |
| font-size: 12px; |
| } |
|
|
| .upstream-pre .code-line--collapsed .code-fold-summary { |
| display: inline; |
| } |
|
|
| .upstream-pre .code-line--hidden { |
| display: none; |
| } |
|
|
| .upstream-pre .code-line::before { |
| content: counter(line-number); |
| position: absolute; |
| left: 0; |
| width: calc(3.5ch + 8px); |
| text-align: right; |
| padding-right: 10px; |
| color: var(--neutral-400); |
| border-right: 1px solid var(--neutral-200); |
| user-select: none; |
| -webkit-user-select: none; |
| } |
|
|
| .upstream-token--method, |
| .upstream-token--protocol { |
| color: var(--primary-600); |
| font-weight: 600; |
| } |
|
|
| .upstream-token--url { |
| color: var(--info-600); |
| } |
|
|
| .upstream-token--header-key { |
| color: var(--neutral-700); |
| font-weight: 600; |
| } |
|
|
| .upstream-token--header-value { |
| color: var(--neutral-500); |
| } |
|
|
| .upstream-token--status-success { |
| color: var(--success-600); |
| font-weight: 600; |
| } |
|
|
| .upstream-token--status-client-error { |
| color: var(--warning-600); |
| font-weight: 600; |
| } |
|
|
| .upstream-token--status-server-error { |
| color: var(--error-600); |
| font-weight: 600; |
| } |
|
|
| .upstream-token--status-neutral, |
| .upstream-token--status-unknown { |
| color: var(--neutral-600); |
| font-weight: 600; |
| } |
|
|
| .upstream-token--json-key { |
| color: var(--primary-700); |
| } |
|
|
| .upstream-token--json-string { |
| color: var(--success-600); |
| } |
|
|
| .upstream-token--json-number { |
| color: var(--warning-600); |
| } |
|
|
| .upstream-token--json-boolean { |
| color: var(--info-600); |
| font-weight: 600; |
| } |
|
|
| .upstream-token--json-null { |
| color: var(--neutral-500); |
| font-style: italic; |
| } |
|
|
| .upstream-token--sse-field { |
| color: var(--primary-600); |
| font-weight: 600; |
| } |
|
|
| .upstream-token--sse-event-name { |
| color: var(--info-600); |
| } |
|
|
| .upstream-token--sse-comment { |
| color: var(--neutral-400); |
| font-style: italic; |
| } |
|
|
| .upstream-pre--tall { |
| max-height: none; |
| flex: 1; |
| } |
|
|
| .upstream-pre--full { |
| max-height: none; |
| flex: 1; |
| min-height: 0; |
| } |
|
|
| .upstream-field--full { |
| display: flex; |
| flex-direction: column; |
| flex: 1; |
| min-height: 0; |
| } |
|
|
| .upstream-detail-modal-content .upstream-tab-panel.active { |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| .has-upstream-detail { |
| cursor: pointer; |
| color: var(--primary-600); |
| text-decoration: underline; |
| text-decoration-style: dashed; |
| text-underline-offset: 3px; |
| } |
|
|
| .has-upstream-detail:hover { |
| color: var(--primary-700); |
| text-decoration-style: solid; |
| } |
|
|
| .upstream-detail-btn { |
| display: inline-flex; |
| align-items: center; |
| gap: 4px; |
| margin-top: 8px; |
| padding: 4px 10px; |
| font-size: 0.75rem; |
| color: var(--primary-600); |
| background: none; |
| border: 1px solid var(--primary-200); |
| border-radius: 4px; |
| cursor: pointer; |
| transition: background 0.15s; |
| } |
|
|
| .upstream-detail-btn:hover { |
| background: var(--primary-50); |
| } |
|
|
|
|
| |
| .status-error { |
| color: var(--error-400); |
| font-weight: var(--font-medium); |
| } |
|
|
| .status-success { |
| color: var(--success-400); |
| font-weight: var(--font-medium); |
| } |
|
|
| .config-info { |
| font-family: var(--font-family-mono); |
| font-size: var(--text-xs); |
| background: var(--neutral-100); |
| padding: var(--space-1) var(--space-2); |
| border-radius: var(--radius-sm); |
| border: 1px solid var(--neutral-200); |
| } |
|
|
| .channel-link { |
| color: var(--primary-600); |
| text-decoration: none; |
| } |
|
|
| .channel-link:hover { |
| text-decoration: underline; |
| } |
|
|
| .model-tag { |
| display: inline-block; |
| background: rgba(59, 130, 246, 0.2); |
| color: var(--primary-400); |
| padding: var(--space-1) var(--space-2); |
| border-radius: var(--radius-sm); |
| font-size: var(--text-xs); |
| font-weight: var(--font-medium); |
| border: 1px solid rgba(59, 130, 246, 0.3); |
| } |
|
|
| a.model-tag.model-link { |
| text-decoration: none; |
| cursor: pointer; |
| transition: all 0.15s ease; |
| } |
|
|
| a.model-tag.model-link:hover { |
| background: rgba(59, 130, 246, 0.35); |
| border-color: rgba(59, 130, 246, 0.5); |
| } |
|
|
| |
| .model-tag.model-redirected { |
| position: relative; |
| } |
|
|
| .redirect-badge { |
| font-size: 10px; |
| color: var(--primary-400); |
| margin-left: 2px; |
| font-weight: bold; |
| } |
|
|
| .stream-tag { |
| display: inline-block; |
| background: rgba(34, 197, 94, 0.2); |
| color: var(--success-400); |
| padding: var(--space-1) var(--space-2); |
| border-radius: var(--radius-sm); |
| font-size: var(--text-xs); |
| font-weight: var(--font-medium); |
| border: 1px solid rgba(34, 197, 94, 0.3); |
| } |
|
|
| .batch-tag { |
| display: inline-block; |
| background: rgba(156, 163, 175, 0.2); |
| color: var(--neutral-500); |
| padding: var(--space-1) var(--space-2); |
| border-radius: var(--radius-sm); |
| font-size: var(--text-xs); |
| font-weight: var(--font-medium); |
| border: 1px solid rgba(156, 163, 175, 0.3); |
| } |
|
|
| .pagination-controls { |
| display: flex; |
| align-items: center; |
| gap: var(--space-2); |
| } |
|
|
| .pagination-info { |
| font-weight: var(--font-medium); |
| white-space: nowrap; |
| color: var(--neutral-800); |
| } |
|
|
| .empty-state { |
| text-align: center; |
| padding: var(--space-12) var(--space-6); |
| color: var(--neutral-600); |
| } |
|
|
| .loading-state { |
| text-align: center; |
| padding: var(--space-8); |
| color: var(--neutral-700); |
| } |
|
|
| .loading-spinner--block { |
| margin: 0 auto var(--space-2); |
| } |
|
|
| .empty-state-icon--neutral { |
| color: var(--neutral-400); |
| } |
|
|
| .empty-state-icon--error { |
| color: var(--error-400); |
| } |
|
|
| .empty-state-title { |
| font-weight: var(--font-medium); |
| margin-bottom: var(--space-1); |
| color: var(--neutral-700); |
| } |
|
|
| .empty-state-title--error { |
| color: var(--error-400); |
| } |
|
|
| |
| .config-name { |
| font-weight: var(--font-medium); |
| color: var(--neutral-800); |
| } |
|
|
| .stats-view-init-chart #stats-table-view { |
| display: none !important; |
| } |
|
|
| .stats-view-init-chart #stats-chart-view { |
| display: block !important; |
| } |
|
|
| .stats-view-init-chart .view-toggle-btn[data-view="table"] { |
| background: transparent; |
| color: var(--neutral-600); |
| box-shadow: none; |
| } |
|
|
| .stats-view-init-chart .view-toggle-btn[data-view="chart"] { |
| background: var(--white); |
| color: var(--primary-600); |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| } |
|
|
| .stats-detail-heading { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| } |
|
|
| .stats-detail-heading-main { |
| display: flex; |
| align-items: center; |
| } |
|
|
| .stats-detail-sort-hint { |
| color: var(--neutral-600); |
| font-weight: var(--font-normal); |
| margin-left: var(--space-2); |
| } |
|
|
| .stats-header-accent--success { |
| color: var(--success-400); |
| } |
|
|
| .stats-header-accent--error { |
| color: var(--error-400); |
| } |
|
|
| .stats-header-accent--cache-read { |
| color: var(--success-600); |
| } |
|
|
| .stats-header-accent--cache-create { |
| color: var(--primary-600); |
| } |
|
|
| .stats-header-accent--cost { |
| color: var(--warning-600); |
| } |
|
|
| .stats-table .stats-col-timing { |
| text-align: center; |
| } |
|
|
| .stats-table .stats-col-speed, |
| .stats-table .stats-col-rpm, |
| .stats-table .stats-col-input, |
| .stats-table .stats-col-output, |
| .stats-table .stats-col-cache-read, |
| .stats-table .stats-col-cache-create, |
| .stats-table .stats-col-cache-util, |
| .stats-table .stats-col-cost { |
| text-align: right; |
| } |
|
|
| .stats-table .stats-total-row { |
| background-color: var(--primary-50); |
| font-weight: var(--font-bold); |
| border-top: 2px solid var(--primary-200); |
| } |
|
|
| .stats-table .stats-col-total-label { |
| text-align: center; |
| font-size: 15px; |
| color: var(--primary-700); |
| } |
|
|
| .stats-value-muted { |
| color: var(--neutral-500); |
| } |
|
|
| .stats-value-success { |
| color: var(--success-600); |
| } |
|
|
| .stats-value-primary { |
| color: var(--primary-600); |
| } |
|
|
| .stats-value-warning { |
| color: var(--warning-600); |
| font-weight: 500; |
| } |
|
|
| .cost-stack { |
| display: inline-flex; |
| flex-direction: column; |
| align-items: flex-end; |
| gap: 2px; |
| line-height: 1.15; |
| text-align: right; |
| } |
|
|
| .cost-stack--inline { |
| flex-direction: row; |
| align-items: baseline; |
| gap: 4px; |
| } |
|
|
| .cost-stack-standard { |
| color: var(--neutral-500); |
| font-size: 12px; |
| } |
|
|
| .cost-stack-effective { |
| font-weight: 600; |
| } |
|
|
| .cost-stack--warning .cost-stack-effective { |
| color: var(--warning-600); |
| } |
|
|
| .cost-stack--success .cost-stack-effective { |
| color: var(--success-600); |
| } |
|
|
| .cell-multiplier-badge { |
| position: absolute; |
| top: -6px; |
| right: 0; |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| padding: 1px 5px; |
| border-radius: 999px; |
| font-size: 0.68em; |
| line-height: 1; |
| font-weight: 700; |
| letter-spacing: 0.01em; |
| color: var(--warning-700); |
| background: var(--warning-100); |
| box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04); |
| pointer-events: none; |
| } |
|
|
| .stats-model-cell { |
| position: relative; |
| display: flex; |
| align-items: center; |
| width: 100%; |
| min-width: 0; |
| flex: 1 1 auto; |
| padding-right: 42px; |
| } |
|
|
| .stats-model-cell .model-tag { |
| min-width: 0; |
| max-width: 100%; |
| } |
|
|
| .stats-value-dynamic { |
| color: var(--stats-accent, currentColor); |
| } |
|
|
| .channel-id { |
| color: var(--neutral-500); |
| font-size: var(--text-xs); |
| font-weight: var(--font-normal); |
| margin-left: var(--space-2); |
| } |
|
|
| .success-count { |
| color: var(--success-400); |
| font-weight: var(--font-semibold); |
| } |
|
|
| .error-count { |
| color: var(--error-400); |
| font-weight: var(--font-semibold); |
| } |
|
|
| .success-rate { |
| font-weight: var(--font-medium); |
| color: var(--neutral-800); |
| } |
|
|
| .success-rate.high { |
| color: var(--success-400); |
| } |
|
|
| .success-rate.low { |
| color: var(--error-400); |
| } |
|
|
| .stats-success-inline, |
| .stats-rpm-inline { |
| display: inline-flex; |
| align-items: center; |
| gap: 2px; |
| flex-wrap: nowrap; |
| white-space: nowrap; |
| } |
|
|
| .stats-success-separator, |
| .stats-rpm-separator { |
| color: var(--neutral-400); |
| font-weight: var(--font-medium); |
| } |
|
|
| .stats-rpm-value { |
| color: var(--stats-rpm-color, inherit); |
| font-weight: 500; |
| } |
|
|
| .health-rate { |
| color: var(--health-rate-color, var(--neutral-700)); |
| } |
|
|
| |
| .sortable { |
| cursor: pointer; |
| user-select: none; |
| position: relative; |
| transition: background-color 0.2s ease; |
| } |
|
|
| .sortable:hover { |
| background: rgba(0, 0, 0, 0.05) !important; |
| } |
|
|
| .sort-indicator { |
| position: absolute; |
| right: 8px; |
| top: 50%; |
| transform: translateY(-50%); |
| font-size: 12px; |
| color: var(--neutral-400); |
| opacity: 0; |
| transition: all 0.2s ease; |
| } |
|
|
| .sortable:hover .sort-indicator { |
| opacity: 0.5; |
| } |
|
|
| .sortable.sorted .sort-indicator { |
| opacity: 1; |
| color: var(--primary-500); |
| } |
|
|
| .sortable.sorted:hover .sort-indicator { |
| opacity: 1; |
| } |
|
|
| .sort-indicator::after { |
| content: '⇅'; |
| } |
|
|
| .sortable[data-sort-order="asc"] .sort-indicator::after { |
| content: '↑'; |
| } |
|
|
| .sortable[data-sort-order="desc"] .sort-indicator::after { |
| content: '↓'; |
| } |
|
|
| .progress-bar { |
| height: 4px; |
| background: rgba(255, 255, 255, 0.1); |
| border-radius: var(--radius-full); |
| overflow: hidden; |
| margin-top: var(--space-1); |
| } |
|
|
| .progress-fill { |
| height: 100%; |
| background: linear-gradient(90deg, var(--success-400), var(--success-500)); |
| border-radius: var(--radius-full); |
| transition: width var(--duration-normal); |
| } |
|
|
| |
| .chart-container { |
| position: relative; |
| width: 100%; |
| height: 500px; |
| background: rgba(255, 255, 255, 0.95); |
| border-radius: var(--radius-lg); |
| border: 1px solid var(--neutral-200); |
| overflow: hidden; |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); |
| } |
|
|
| |
| body.trend-page .main-content { |
| height: 100vh; |
| min-height: 100vh; |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| body.trend-page .content-area { |
| flex: 1; |
| min-height: 0; |
| display: flex; |
| flex-direction: column; |
| max-width: none; |
| width: 100%; |
| } |
|
|
| body.trend-page .trend-chart-section { |
| flex: 1; |
| min-height: 0; |
| margin-bottom: 0 !important; |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| body.trend-page .trend-chart-card { |
| flex: 1; |
| min-height: 0; |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| body.trend-page .chart-container { |
| height: auto; |
| flex: 1; |
| min-height: 260px; |
| } |
|
|
| body.trend-page .chart-info { |
| flex: 0 0 auto; |
| } |
|
|
| .chart-loading, |
| .chart-error { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| height: 100%; |
| color: var(--neutral-700); |
| text-align: center; |
| } |
|
|
| .chart-error { |
| color: var(--neutral-600); |
| } |
|
|
| .error-title { |
| color: var(--error-400); |
| font-weight: var(--font-medium); |
| margin: var(--space-2) 0 var(--space-1) 0; |
| } |
|
|
| .error-message { |
| font-size: var(--text-sm); |
| } |
|
|
| .chart-info { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| margin-top: var(--space-4); |
| padding-top: var(--space-4); |
| border-top: 1px solid var(--neutral-200); |
| font-size: var(--text-sm); |
| color: var(--neutral-700); |
| } |
|
|
| .info-item { |
| display: flex; |
| align-items: center; |
| gap: var(--space-2); |
| } |
|
|
| |
| .channel-filter-container { |
| position: relative; |
| display: inline-block; |
| } |
|
|
| .channel-filter-dropdown { |
| position: absolute; |
| top: 100%; |
| right: 0; |
| min-width: 250px; |
| max-width: 350px; |
| background: white; |
| border: 1px solid var(--neutral-200); |
| border-radius: var(--radius-md); |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); |
| z-index: 1000; |
| margin-top: 4px; |
| } |
|
|
| .filter-header { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| padding: var(--space-3) var(--space-4); |
| border-bottom: 1px solid var(--neutral-200); |
| font-weight: var(--font-medium); |
| color: var(--neutral-800); |
| } |
|
|
| .filter-actions { |
| display: flex; |
| gap: var(--space-2); |
| } |
|
|
| .filter-actions--page { |
| flex: none; |
| } |
|
|
| .filter-btn { |
| padding: 8px 16px; |
| font-size: 14px; |
| } |
|
|
| .filter-action { |
| background: none; |
| border: none; |
| color: var(--primary-600); |
| cursor: pointer; |
| font-size: var(--text-sm); |
| padding: 2px 4px; |
| border-radius: var(--radius-sm); |
| transition: background-color 0.2s; |
| } |
|
|
| .filter-action:hover { |
| background-color: var(--primary-50); |
| } |
|
|
| .filter-content { |
| max-height: 300px; |
| overflow-y: auto; |
| padding: var(--space-2); |
| } |
|
|
| .channel-filter-item { |
| display: flex; |
| align-items: center; |
| gap: var(--space-2); |
| padding: var(--space-2) var(--space-3); |
| border-radius: var(--radius-sm); |
| cursor: pointer; |
| transition: background-color 0.2s; |
| } |
|
|
| .channel-filter-item:hover { |
| background-color: var(--neutral-50); |
| } |
|
|
| .channel-checkbox { |
| width: 16px; |
| height: 16px; |
| border: 1.5px solid var(--neutral-300); |
| border-radius: 3px; |
| background: white; |
| cursor: pointer; |
| position: relative; |
| transition: all 0.2s; |
| } |
|
|
| .channel-checkbox.checked { |
| background: var(--primary-500); |
| border-color: var(--primary-500); |
| } |
|
|
| .channel-checkbox.checked::after { |
| content: '✓'; |
| position: absolute; |
| color: white; |
| font-size: 12px; |
| font-weight: bold; |
| top: -1px; |
| left: 2px; |
| } |
|
|
| .channel-color-indicator { |
| width: 12px; |
| height: 12px; |
| border-radius: 50%; |
| border: 1px solid rgba(0, 0, 0, 0.1); |
| } |
|
|
| .channel-name { |
| flex: 1; |
| font-size: var(--text-sm); |
| color: var(--neutral-700); |
| } |
|
|
| |
| .login-background { |
| position: fixed; |
| top: 0; |
| left: 0; |
| right: 0; |
| bottom: 0; |
| background: |
| radial-gradient(1200px 600px at -10% -10%, rgba(213, 205, 194, 0.10), transparent 60%), |
| radial-gradient(900px 600px at 110% -10%, rgba(241, 238, 233, 0.16), transparent 60%), |
| linear-gradient(180deg, #fcfbf9 0%, #f3f1ed 100%); |
| z-index: -1; |
| } |
|
|
| .floating-shapes { |
| position: absolute; |
| width: 100%; |
| height: 100%; |
| overflow: hidden; |
| } |
|
|
| .shape { |
| position: absolute; |
| background: rgba(255, 255, 255, 0.1); |
| border-radius: var(--radius-full); |
| animation: float 6s ease-in-out infinite; |
| } |
|
|
| .shape-1 { |
| width: 120px; |
| height: 120px; |
| top: 10%; |
| left: 10%; |
| animation-delay: 0s; |
| } |
|
|
| .shape-2 { |
| width: 80px; |
| height: 80px; |
| top: 20%; |
| right: 15%; |
| animation-delay: -2s; |
| } |
|
|
| .shape-3 { |
| width: 100px; |
| height: 100px; |
| bottom: 20%; |
| left: 20%; |
| animation-delay: -4s; |
| } |
|
|
| .shape-4 { |
| width: 60px; |
| height: 60px; |
| bottom: 30%; |
| right: 20%; |
| animation-delay: -1s; |
| } |
|
|
| .shape-5 { |
| width: 40px; |
| height: 40px; |
| top: 50%; |
| left: 5%; |
| animation-delay: -3s; |
| } |
|
|
| .login-page { |
| min-height: 100vh; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| gap: var(--space-12); |
| padding: var(--space-6); |
| position: relative; |
| } |
|
|
| .login-container { |
| background: rgba(255, 255, 255, 0.96); |
| backdrop-filter: blur(20px) saturate(180%); |
| border: 1px solid rgba(0, 0, 0, 0.06); |
| border-radius: var(--radius-2xl); |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); |
| padding: var(--space-10); |
| width: 100%; |
| max-width: 420px; |
| position: relative; |
| overflow: hidden; |
| color: var(--neutral-900); |
| } |
|
|
| .login-container::before { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 0; |
| height: 2px; |
| background: linear-gradient(90deg, var(--primary-400), var(--primary-600), var(--primary-400)); |
| } |
|
|
| .login-brand { |
| text-align: center; |
| margin-bottom: var(--space-10); |
| } |
|
|
| .brand-logo { |
| margin-bottom: var(--space-4); |
| } |
|
|
| .logo-icon { |
| width: 64px; |
| height: 64px; |
| border-radius: var(--radius-xl); |
| box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3); |
| } |
|
|
| .brand-title { |
| font-size: var(--text-2xl); |
| font-weight: var(--font-bold); |
| color: var(--neutral-900); |
| margin: var(--space-4) 0 var(--space-2) 0; |
| letter-spacing: -0.01em; |
| } |
|
|
| .brand-subtitle { |
| color: var(--neutral-600); |
| font-size: var(--text-sm); |
| margin: 0; |
| font-weight: var(--font-medium); |
| letter-spacing: 0.01em; |
| } |
|
|
| .login-form-container { |
| margin-bottom: var(--space-8); |
| } |
|
|
| .login-header { |
| text-align: center; |
| margin-bottom: var(--space-8); |
| } |
|
|
| .login-header h2 { |
| font-size: var(--text-xl); |
| font-weight: var(--font-semibold); |
| color: var(--neutral-900); |
| margin: 0 0 var(--space-2) 0; |
| } |
|
|
| .login-header p { |
| color: var(--neutral-600); |
| font-size: var(--text-sm); |
| margin: 0; |
| } |
|
|
| .error-notification { |
| display: flex; |
| align-items: center; |
| gap: var(--space-3); |
| background: #DC2626; |
| border: 1px solid #B91C1C; |
| border-radius: var(--radius-lg); |
| padding: var(--space-4); |
| margin-bottom: var(--space-6); |
| color: #FFFFFF; |
| font-size: var(--text-sm); |
| font-weight: var(--font-semibold); |
| animation: slideInUp 0.3s ease-out; |
| box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25); |
| } |
|
|
| .error-icon { |
| width: 20px; |
| height: 20px; |
| flex-shrink: 0; |
| color: #FFFFFF; |
| } |
|
|
| .login-form { |
| margin-bottom: var(--space-8); |
| } |
|
|
| .label-icon { |
| width: 16px; |
| height: 16px; |
| margin-right: var(--space-2); |
| } |
|
|
| .input-container { |
| position: relative; |
| } |
|
|
| .input-decoration { |
| position: absolute; |
| bottom: 0; |
| left: 0; |
| height: 2px; |
| background: linear-gradient(90deg, var(--primary-400), var(--primary-600)); |
| transform: scaleX(0); |
| transition: transform var(--duration-normal) var(--timing-function); |
| border-radius: var(--radius-full); |
| } |
|
|
| .form-input:focus+.input-decoration { |
| transform: scaleX(1); |
| } |
|
|
| .login-button { |
| width: 100%; |
| padding: var(--space-4) var(--space-6); |
| background: linear-gradient(135deg, #0A84FF, #0060DF); |
| color: #ffffff; |
| border: none; |
| border-radius: var(--radius-xl); |
| font-size: var(--text-base); |
| font-weight: var(--font-medium); |
| cursor: pointer; |
| transition: all var(--duration-normal) var(--timing-function); |
| position: relative; |
| overflow: hidden; |
| margin-top: var(--space-6); |
| box-shadow: 0 10px 28px rgba(10, 132, 255, 0.32); |
| } |
|
|
| .login-button::before { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: -100%; |
| width: 100%; |
| height: 100%; |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); |
| transition: left var(--duration-slow); |
| } |
|
|
| .login-button:hover::before { |
| left: 100%; |
| } |
|
|
| .login-button:hover { |
| transform: none; |
| box-shadow: 0 12px 36px rgba(10, 132, 255, 0.35); |
| } |
|
|
| .login-button:active { |
| transform: none; |
| } |
|
|
| .login-button:disabled { |
| opacity: 0.7; |
| cursor: not-allowed; |
| transform: none !important; |
| } |
|
|
| .button-content { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| gap: var(--space-2); |
| transition: opacity var(--duration-normal); |
| } |
|
|
| .button-icon { |
| width: 18px; |
| height: 18px; |
| } |
|
|
| .button-loader { |
| position: absolute; |
| top: 50%; |
| left: 50%; |
| transform: translate(-50%, -50%); |
| opacity: 0; |
| transition: opacity var(--duration-normal); |
| } |
|
|
| .login-button.loading .button-content { |
| opacity: 0; |
| } |
|
|
| .login-button.loading .button-loader { |
| opacity: 1; |
| } |
|
|
| .spinner { |
| width: 20px; |
| height: 20px; |
| border: 2px solid rgba(255, 255, 255, 0.35); |
| border-top: 2px solid #fff; |
| border-radius: var(--radius-full); |
| animation: spin 1s linear infinite; |
| } |
|
|
| .security-notice { |
| display: flex; |
| align-items: flex-start; |
| gap: var(--space-3); |
| padding: var(--space-4); |
| background: #F0F9FF; |
| border: 1px solid #BAE6FD; |
| border-radius: var(--radius-lg); |
| color: var(--neutral-800); |
| } |
|
|
| .notice-icon { |
| width: 20px; |
| height: 20px; |
| color: #0284C7; |
| flex-shrink: 0; |
| margin-top: 2px; |
| } |
|
|
| .notice-title { |
| font-size: var(--text-sm); |
| font-weight: var(--font-medium); |
| margin-bottom: var(--space-1); |
| color: var(--neutral-900); |
| } |
|
|
| .notice-desc { |
| font-size: var(--text-xs); |
| color: var(--neutral-600); |
| } |
|
|
| .features-showcase { |
| background: rgba(255, 255, 255, 0.96); |
| backdrop-filter: blur(16px) saturate(180%); |
| border: 1px solid rgba(0, 0, 0, 0.06); |
| border-radius: var(--radius-2xl); |
| padding: var(--space-8); |
| width: 100%; |
| max-width: 380px; |
| height: fit-content; |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); |
| color: var(--neutral-900); |
| } |
|
|
| .features-showcase h3 { |
| font-size: var(--text-xl); |
| font-weight: var(--font-semibold); |
| color: var(--neutral-900); |
| margin: 0 0 var(--space-6) 0; |
| text-align: center; |
| } |
|
|
| .features-grid { |
| display: flex; |
| flex-direction: column; |
| gap: var(--space-6); |
| } |
|
|
| .feature-item { |
| display: flex; |
| align-items: flex-start; |
| gap: var(--space-4); |
| } |
|
|
| .feature-icon { |
| width: 40px; |
| height: 40px; |
| background: linear-gradient(135deg, rgba(10, 132, 255, 0.12), rgba(10, 132, 255, 0.08)); |
| border-radius: var(--radius-lg); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #0A84FF; |
| flex-shrink: 0; |
| } |
|
|
| .feature-icon svg { |
| width: 20px; |
| height: 20px; |
| } |
|
|
| .feature-content h4 { |
| font-size: var(--text-base); |
| font-weight: var(--font-medium); |
| color: var(--neutral-900); |
| margin: 0 0 var(--space-1) 0; |
| } |
|
|
| .feature-content p { |
| font-size: var(--text-sm); |
| color: var(--neutral-600); |
| margin: 0; |
| line-height: var(--leading-relaxed); |
| font-weight: var(--font-normal); |
| } |
|
|
| |
| @media (max-width: 768px) { |
| .filter-controls { |
| display: grid; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| gap: 10px 12px; |
| align-items: start; |
| } |
|
|
| .filter-group { |
| min-width: 0; |
| } |
|
|
| .filter-info { |
| margin-left: 0; |
| text-align: center; |
| margin-top: 0; |
| } |
|
|
| .chart-container { |
| height: 400px; |
| } |
|
|
| .chart-info { |
| flex-direction: column; |
| gap: var(--space-2); |
| align-items: flex-start; |
| } |
|
|
| .grid-cols-4 { |
| grid-template-columns: repeat(2, 1fr); |
| } |
|
|
| .pagination-controls { |
| flex-direction: column; |
| gap: var(--space-2); |
| } |
|
|
| .login-page { |
| flex-direction: column; |
| gap: var(--space-8); |
| padding: var(--space-4); |
| } |
|
|
| .features-showcase { |
| max-width: 420px; |
| order: -1; |
| padding: var(--space-6); |
| } |
|
|
| .login-container { |
| padding: var(--space-6); |
| } |
|
|
| .features-grid { |
| display: grid; |
| grid-template-columns: 1fr; |
| gap: var(--space-4); |
| } |
|
|
| .feature-item { |
| gap: var(--space-3); |
| } |
|
|
| .feature-icon { |
| width: 36px; |
| height: 36px; |
| } |
|
|
| .modal-content { |
| width: 100%; |
| padding: var(--space-2); |
| } |
| } |
|
|
| @media (max-width: 480px) { |
| .chart-container { |
| height: 320px; |
| } |
|
|
| .login-container { |
| padding: var(--space-5); |
| } |
|
|
| .brand-title { |
| font-size: var(--text-xl); |
| } |
|
|
| .logo-icon { |
| width: 56px; |
| height: 56px; |
| } |
|
|
| .modal-content { |
| width: 90%; |
| padding: var(--space-3); |
| } |
| } |
|
|
| @media (max-width: 1400px) { |
| .brand-text { |
| display: none; |
| } |
| } |
|
|
| @media (max-width: 1024px) { |
|
|
| .login-page { |
| flex-direction: column; |
| gap: var(--space-8); |
| } |
|
|
| .features-showcase { |
| max-width: 420px; |
| } |
| } |
|
|
| |
| .filter-container { |
| display: flex; |
| gap: var(--space-3); |
| margin-bottom: var(--space-6); |
| flex-wrap: wrap; |
| } |
|
|
| .filter-container .form-group { |
| flex: 1 1 auto; |
| min-width: 140px; |
| } |
|
|
| .filter-container .form-group:first-child, |
| .filter-container .form-group:nth-child(2) { |
| flex: 0 0 auto; |
| min-width: 120px; |
| } |
|
|
| .filter-container .form-group:last-child { |
| flex: 0 0 auto; |
| min-width: 100px; |
| display: flex; |
| align-items: end; |
| } |
|
|
| .filter-container .form-input, |
| .filter-container .btn { |
| width: 100%; |
| } |
|
|
| |
| .animate-slide-up[style*="animation-delay: 0.1s"] { |
| animation-delay: 0.1s; |
| } |
|
|
| .animate-slide-up[style*="animation-delay: 0.2s"] { |
| animation-delay: 0.2s; |
| } |
|
|
| .animate-slide-up[style*="animation-delay: 0.3s"] { |
| animation-delay: 0.3s; |
| } |
|
|
| .animate-slide-up[style*="animation-delay: 0.4s"] { |
| animation-delay: 0.4s; |
| } |
|
|
| |
| .text-align-center { |
| text-align: center; |
| } |
|
|
| .text-align-right { |
| text-align: right; |
| } |
|
|
| .white-space-nowrap { |
| white-space: nowrap; |
| } |
|
|
| .word-break-break-word { |
| word-break: break-word; |
| } |
|
|
| .max-width-300 { |
| max-width: 300px; |
| } |
|
|
| .display-none { |
| display: none; |
| } |
|
|
| .display-flex { |
| display: flex; |
| } |
|
|
| .align-items-center { |
| align-items: center; |
| } |
|
|
| .align-items-end { |
| align-items: end; |
| } |
|
|
| .gap-3 { |
| gap: 3px; |
| } |
|
|
| .gap-4 { |
| gap: 4px; |
| } |
|
|
| .gap-6 { |
| gap: 6px; |
| } |
|
|
| .gap-8 { |
| gap: 8px; |
| } |
|
|
| .gap-12 { |
| gap: 12px; |
| } |
|
|
| .margin-auto { |
| margin: 0 auto var(--space-2); |
| } |
|
|
| .margin-top-1 { |
| margin-top: 4px; |
| } |
|
|
| .margin-bottom-1 { |
| margin-bottom: var(--space-1); |
| } |
|
|
| .padding-right-36 { |
| padding-right: 36px; |
| } |
|
|
| .padding-right-45 { |
| padding-right: 45px; |
| } |
|
|
| .resize-vertical { |
| resize: vertical; |
| } |
|
|
| .min-height-80 { |
| min-height: 80px; |
| } |
|
|
| |
| .color-error { |
| color: var(--error-400); |
| } |
|
|
| .color-success { |
| color: var(--success-600); |
| } |
|
|
| .color-neutral-500 { |
| color: var(--neutral-500); |
| } |
|
|
| .color-neutral-600 { |
| color: var(--neutral-600); |
| } |
|
|
| .color-neutral-700 { |
| color: var(--neutral-700); |
| } |
|
|
| .color-neutral-800 { |
| color: var(--neutral-800); |
| } |
|
|
| .color-primary-500 { |
| color: var(--primary-500); |
| } |
|
|
| .color-info-500 { |
| color: var(--info-500); |
| } |
|
|
| |
| .font-weight-medium { |
| font-weight: var(--font-medium); |
| } |
|
|
| .font-weight-semibold { |
| font-weight: var(--font-semibold); |
| } |
|
|
| .font-mono { |
| font-family: var(--font-family-mono); |
| } |
|
|
| |
| .font-size-14 { |
| font-size: 14px; |
| } |
|
|
| .font-size-18 { |
| font-size: 18px; |
| } |
|
|
| |
| .position-absolute { |
| position: absolute; |
| } |
|
|
| .position-relative { |
| position: relative; |
| } |
|
|
| .right-8 { |
| right: 8px; |
| } |
|
|
| .top-50 { |
| top: 50%; |
| } |
|
|
| .transform-translateY-50 { |
| transform: translateY(-50%); |
| } |
|
|
| |
| .background-none { |
| background: none; |
| } |
|
|
| .border-none { |
| border: none; |
| } |
|
|
| |
| .js-inline-cooldown { |
| color: #dc2626; |
| font-size: 0.875rem; |
| font-weight: 500; |
| background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); |
| padding: 2px 8px; |
| border-radius: 4px; |
| border: 1px solid #fca5a5; |
| } |
|
|
| .js-test-success-icon { |
| font-size: 18px; |
| } |
|
|
| .js-test-error-icon { |
| font-size: 18px; |
| } |
|
|
| |
| @media (max-width: 768px) { |
| .filter-container { |
| flex-direction: column !important; |
| gap: var(--space-3) !important; |
| } |
|
|
| .filter-container .form-group { |
| flex: 1 1 100% !important; |
| min-width: unset !important; |
| } |
|
|
| .table-container { |
| font-size: var(--text-xs); |
| } |
|
|
| .modern-table th, |
| .modern-table td { |
| padding: var(--space-2) var(--space-3); |
| } |
|
|
| .page-title { |
| font-size: var(--text-lg); |
| } |
|
|
| .page-subtitle { |
| font-size: var(--text-xs); |
| line-height: 1.5; |
| } |
|
|
| .filter-label, |
| .filter-checkbox-label, |
| .filter-checkbox-label span { |
| font-size: 0.72rem; |
| } |
|
|
| .filter-input, |
| .filter-select { |
| font-size: 0.8rem; |
| padding: 6px 10px; |
| } |
|
|
| .filter-info { |
| font-size: 0.72rem; |
| } |
|
|
| .filter-btn { |
| font-size: 0.82rem; |
| padding: 6px 12px; |
| } |
|
|
| .filter-combobox { |
| background-position: right 8px center; |
| padding-right: 26px; |
| } |
|
|
| .filter-dropdown-item { |
| font-size: 0.78rem; |
| padding: 8px 12px; |
| } |
| } |
|
|
| |
| .text-center { |
| text-align: center; |
| } |
|
|
| .text-left { |
| text-align: left; |
| } |
|
|
| .text-right { |
| text-align: right; |
| } |
|
|
| .font-medium { |
| font-weight: var(--font-medium); |
| } |
|
|
| .font-semibold { |
| font-weight: var(--font-semibold); |
| } |
|
|
| .font-bold { |
| font-weight: var(--font-bold); |
| } |
|
|
| .text-xs { |
| font-size: var(--text-xs); |
| } |
|
|
| .text-sm { |
| font-size: var(--text-sm); |
| } |
|
|
| .text-base { |
| font-size: var(--text-base); |
| } |
|
|
| .text-lg { |
| font-size: var(--text-lg); |
| } |
|
|
| .text-xl { |
| font-size: var(--text-xl); |
| } |
|
|
| .text-2xl { |
| font-size: var(--text-2xl); |
| } |
|
|
| .text-3xl { |
| font-size: var(--text-3xl); |
| } |
|
|
| .inline-block { |
| display: inline-block; |
| } |
|
|
| .w-12 { |
| width: 48px; |
| } |
|
|
| .h-12 { |
| height: 48px; |
| } |
|
|
| .w-5 { |
| width: 20px; |
| } |
|
|
| .h-5 { |
| height: 20px; |
| } |
|
|
| .w-4 { |
| width: 16px; |
| } |
|
|
| .h-4 { |
| height: 16px; |
| } |
|
|
| .page-title { |
| font-size: var(--text-2xl); |
| color: var(--neutral-900); |
| font-weight: var(--font-bold); |
| } |
|
|
| .page-subtitle { |
| font-size: var(--text-base); |
| color: var(--neutral-600); |
| } |
|
|
| .section-title { |
| font-size: var(--text-xl); |
| color: var(--neutral-800); |
| font-weight: var(--font-semibold); |
| } |
|
|
|
|
| .mb-2 { |
| margin-bottom: var(--space-2); |
| } |
|
|
| .mb-4 { |
| margin-bottom: var(--space-4); |
| } |
|
|
| .mb-6 { |
| margin-bottom: var(--space-6); |
| } |
|
|
| .mb-8 { |
| margin-bottom: var(--space-8); |
| } |
|
|
| .mt-2 { |
| margin-top: var(--space-2); |
| } |
|
|
| .mt-4 { |
| margin-top: var(--space-4); |
| } |
|
|
| .mt-6 { |
| margin-top: var(--space-6); |
| } |
|
|
| .mt-8 { |
| margin-top: var(--space-8); |
| } |
|
|
| .mr-2 { |
| margin-right: var(--space-2); |
| } |
|
|
| .hidden { |
| display: none; |
| } |
|
|
| .block { |
| display: block; |
| } |
|
|
| .flex { |
| display: flex; |
| } |
|
|
| .flex-wrap { |
| flex-wrap: wrap; |
| } |
|
|
| .flex-nowrap { |
| flex-wrap: nowrap; |
| } |
|
|
| .inline-flex { |
| display: inline-flex; |
| } |
|
|
| .grid { |
| display: grid; |
| } |
|
|
| .items-center { |
| align-items: center; |
| } |
|
|
| .justify-center { |
| justify-content: center; |
| } |
|
|
| .justify-between { |
| justify-content: space-between; |
| } |
|
|
| .w-full { |
| width: 100%; |
| } |
|
|
| .h-full { |
| height: 100%; |
| } |
|
|
| .gap-space-3 { |
| gap: var(--space-3); |
| } |
|
|
| .overflow-visible { |
| overflow: visible; |
| } |
|
|
| .animate-delay-1 { |
| animation-delay: 0.1s; |
| } |
|
|
| .animate-delay-2 { |
| animation-delay: 0.2s; |
| } |
|
|
| .animate-delay-3 { |
| animation-delay: 0.3s; |
| } |
|
|
| .animate-delay-4 { |
| animation-delay: 0.4s; |
| } |
|
|
| .table-head-sticky { |
| position: sticky; |
| top: 0; |
| background: var(--glass-bg); |
| z-index: 1; |
| } |
|
|
| .truncate-cell { |
| overflow: hidden; |
| text-overflow: ellipsis; |
| white-space: nowrap; |
| } |
|
|
| .model-test-delete-preview-progress { |
| margin: 10px 0 0; |
| font-size: 13px; |
| color: var(--color-text-secondary); |
| } |
|
|
| .model-test-delete-preview-log { |
| max-height: 180px; |
| } |
|
|
| .opacity-50 { |
| opacity: 0.5; |
| } |
|
|
| .opacity-75 { |
| opacity: 0.75; |
| } |
|
|
| .cursor-pointer { |
| cursor: pointer; |
| } |
|
|
| .cursor-not-allowed { |
| cursor: not-allowed; |
| } |
|
|
| |
| .stats-table th { |
| text-align: center; |
| } |
|
|
| @media (max-width: 768px) { |
| .mobile-card-table-container { |
| overflow-x: visible; |
| border: none; |
| background: transparent; |
| box-shadow: none; |
| padding: 0; |
| } |
|
|
| .mobile-card-table { |
| width: 100%; |
| table-layout: auto; |
| border-collapse: separate; |
| border-spacing: 0; |
| } |
|
|
| .mobile-card-table thead { |
| display: none; |
| } |
|
|
| .mobile-card-table tbody { |
| display: grid; |
| gap: 12px; |
| } |
|
|
| .mobile-card-table tbody .mobile-card-row { |
| display: grid; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| gap: 10px 12px; |
| height: auto; |
| padding: 14px; |
| border: 1px solid rgba(148, 163, 184, 0.22); |
| border-radius: 16px; |
| background: rgba(255, 255, 255, 0.98); |
| box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); |
| position: relative; |
| } |
|
|
| .mobile-card-table tbody tr:not(.mobile-card-row) { |
| display: block; |
| width: 100%; |
| } |
|
|
| .mobile-card-table tbody tr:not(.mobile-card-row) td { |
| display: block; |
| width: 100% !important; |
| } |
|
|
| .mobile-card-table tbody .mobile-card-row td { |
| display: block; |
| width: auto !important; |
| min-width: 0 !important; |
| max-width: none !important; |
| height: auto; |
| padding: 0; |
| border: none; |
| text-align: left !important; |
| background: transparent !important; |
| } |
|
|
| .mobile-card-table td[data-mobile-label]::before { |
| content: attr(data-mobile-label); |
| display: block; |
| width: 100%; |
| margin-bottom: 6px; |
| color: var(--neutral-500); |
| font-size: 12px; |
| font-weight: 700; |
| letter-spacing: 0.02em; |
| } |
|
|
| .mobile-card-table td.mobile-card-no-label::before { |
| content: none; |
| display: none; |
| } |
|
|
| .mobile-card-table td.mobile-card-actions { |
| display: flex; |
| justify-content: center; |
| align-items: center; |
| padding-top: 8px; |
| border-top: 1px solid var(--neutral-200); |
| } |
|
|
| .mobile-card-table td.mobile-card-actions::before { |
| content: none; |
| display: none; |
| } |
|
|
| .mobile-card-table td.mobile-empty-cell { |
| display: none; |
| } |
|
|
| .mobile-card-table td.mobile-card-span-full, |
| .mobile-card-table td[colspan] { |
| grid-column: 1 / -1; |
| } |
|
|
| .mobile-inline-table-container { |
| max-height: none; |
| overflow: visible; |
| border: none; |
| background: transparent; |
| box-shadow: none; |
| padding: 0; |
| } |
|
|
| .mobile-inline-table { |
| width: 100%; |
| table-layout: auto; |
| border-collapse: separate; |
| border-spacing: 0; |
| } |
|
|
| .mobile-inline-table thead { |
| display: none; |
| } |
|
|
| .mobile-inline-table tbody { |
| display: block; |
| } |
|
|
| .mobile-inline-table tbody .mobile-inline-row { |
| display: grid; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| gap: 10px 12px; |
| margin-bottom: 12px; |
| padding: 14px; |
| border: 1px solid rgba(148, 163, 184, 0.22); |
| border-radius: 16px; |
| background: rgba(255, 255, 255, 0.98); |
| box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); |
| position: relative; |
| } |
|
|
| .mobile-inline-table tbody tr:not(.mobile-inline-row) { |
| display: block; |
| width: 100%; |
| } |
|
|
| .mobile-inline-table tbody tr:not(.mobile-inline-row) td { |
| display: block; |
| width: 100% !important; |
| } |
|
|
| .mobile-inline-table tbody .mobile-inline-row td { |
| display: block; |
| width: auto !important; |
| min-width: 0 !important; |
| max-width: none !important; |
| height: auto; |
| padding: 0; |
| border: none; |
| text-align: left !important; |
| background: transparent !important; |
| } |
|
|
| .mobile-inline-table tbody .mobile-inline-row td[data-mobile-label]::before { |
| content: attr(data-mobile-label); |
| display: block; |
| width: 100%; |
| margin-bottom: 6px; |
| color: var(--neutral-500); |
| font-size: 12px; |
| font-weight: 700; |
| letter-spacing: 0.02em; |
| } |
|
|
| .mobile-inline-table tbody .mobile-inline-row td.mobile-inline-no-label::before { |
| content: none; |
| display: none; |
| } |
|
|
| .mobile-card-table--selectable thead { |
| display: block; |
| margin-bottom: 8px; |
| } |
|
|
| .mobile-card-table--selectable thead tr { |
| display: block; |
| } |
|
|
| .mobile-card-table--selectable thead th:not(.mobile-card-select-header) { |
| display: none; |
| } |
|
|
| .mobile-card-table--selectable thead th.mobile-card-select-header { |
| display: block; |
| width: 100% !important; |
| min-width: 0 !important; |
| max-width: none !important; |
| padding: 0; |
| border: none; |
| background: transparent; |
| text-align: left; |
| } |
|
|
| .mobile-card-table--selectable tbody .mobile-card-row { |
| padding-top: 18px; |
| } |
|
|
| .stats-table .stats-col-channel, |
| .stats-table .stats-col-model, |
| .stats-table .stats-col-total-label { |
| grid-column: 1 / -1; |
| } |
|
|
| .stats-table .stats-col-success { |
| order: 10; |
| } |
|
|
| .stats-table .stats-col-error { |
| order: 11; |
| } |
|
|
| .stats-table .stats-col-timing { |
| order: 12; |
| } |
|
|
| .stats-table .stats-col-speed { |
| order: 13; |
| grid-column: 1 / -1; |
| } |
|
|
| .stats-table .stats-col-rpm { |
| order: 14; |
| } |
|
|
| .stats-table .stats-col-input { |
| order: 20; |
| } |
|
|
| .stats-table .stats-col-output { |
| order: 21; |
| } |
|
|
| .stats-table .stats-col-cache-read { |
| order: 22; |
| } |
|
|
| .stats-table .stats-col-cache-create { |
| order: 23; |
| } |
|
|
| .stats-table .stats-col-cache-util { |
| order: 24; |
| } |
|
|
| .stats-table .stats-col-cost { |
| order: 25; |
| } |
|
|
| .stats-table .stats-total-row { |
| background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%); |
| } |
|
|
| .stats-table .stats-col-total-label { |
| order: 1; |
| text-align: left !important; |
| } |
|
|
| .stats-filter-summary-row { |
| display: grid; |
| grid-template-columns: minmax(0, 1fr) auto auto; |
| gap: 8px; |
| align-items: center; |
| } |
|
|
| .stats-filter-summary-row .stats-filter-group--checkbox { |
| min-width: 0; |
| } |
|
|
| .stats-filter-summary-row .stats-filter-info { |
| width: auto; |
| min-width: 0; |
| justify-self: center; |
| } |
|
|
| .stats-filter-summary-row .stats-filter-actions { |
| margin-left: 0; |
| justify-self: end; |
| } |
|
|
| .stats-filter-summary-row .stats-filter-actions .btn { |
| width: auto; |
| padding: 8px 12px; |
| } |
|
|
| .stats-detail-heading { |
| align-items: stretch !important; |
| flex-direction: column; |
| gap: 10px; |
| } |
|
|
| .stats-detail-heading-main { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| min-width: 0; |
| flex-wrap: wrap; |
| } |
|
|
| .stats-detail-sort-hint { |
| margin-left: 0 !important; |
| } |
|
|
| .stats-detail-heading .view-toggle-group { |
| align-self: flex-start; |
| } |
|
|
| .stats-table .stats-col-channel, |
| .stats-table .stats-col-model { |
| display: flex !important; |
| align-items: center; |
| gap: 8px 12px; |
| } |
|
|
| .stats-table .stats-col-channel::before, |
| .stats-table .stats-col-model::before { |
| width: auto !important; |
| margin-bottom: 0 !important; |
| flex: 0 0 auto; |
| white-space: nowrap; |
| } |
|
|
| .stats-table .stats-col-channel { |
| flex-wrap: wrap; |
| } |
|
|
| .stats-table .stats-col-channel .channel-link { |
| display: block; |
| flex: 1 1 auto; |
| min-width: 0; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| white-space: nowrap; |
| } |
|
|
| .stats-table .stats-col-channel .channel-id { |
| margin-left: 0; |
| white-space: nowrap; |
| flex: 0 0 auto; |
| } |
|
|
| .stats-table .stats-col-channel .health-indicator { |
| flex: 0 0 100%; |
| margin-top: 2px; |
| } |
|
|
| .stats-table .stats-col-model .model-tag { |
| max-width: 100%; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| white-space: nowrap; |
| } |
|
|
| .stats-table .stats-model-cell { |
| flex: 1 1 auto; |
| min-width: 0; |
| } |
|
|
| .stats-table .stats-col-success, |
| .stats-table .stats-col-error, |
| .stats-table .stats-col-timing, |
| .stats-table .stats-col-speed, |
| .stats-table .stats-col-rpm, |
| .stats-table .stats-col-input, |
| .stats-table .stats-col-output, |
| .stats-table .stats-col-cache-read, |
| .stats-table .stats-col-cache-create, |
| .stats-table .stats-col-cache-util, |
| .stats-table .stats-col-cost { |
| display: flex !important; |
| align-items: center; |
| justify-content: space-between; |
| gap: 12px; |
| text-align: right !important; |
| } |
|
|
| .stats-table .stats-col-success::before, |
| .stats-table .stats-col-error::before, |
| .stats-table .stats-col-timing::before, |
| .stats-table .stats-col-speed::before, |
| .stats-table .stats-col-rpm::before, |
| .stats-table .stats-col-input::before, |
| .stats-table .stats-col-output::before, |
| .stats-table .stats-col-cache-read::before, |
| .stats-table .stats-col-cache-create::before, |
| .stats-table .stats-col-cache-util::before, |
| .stats-table .stats-col-cost::before { |
| width: auto !important; |
| margin-bottom: 0 !important; |
| flex: 0 0 auto; |
| white-space: nowrap; |
| } |
|
|
| .stats-table .health-indicator { |
| max-width: 100%; |
| overflow: hidden; |
| } |
|
|
| .stats-table .health-track { |
| width: min(100%, 335px); |
| min-width: 0; |
| flex: 1 1 auto; |
| } |
|
|
| .stats-table .health-rate { |
| display: none; |
| } |
|
|
| body.trend-page .main-content { |
| height: auto; |
| } |
|
|
| body.trend-page .trend-chart-section, |
| body.trend-page .trend-chart-card { |
| flex: 0 0 auto; |
| } |
|
|
| .trend-chart-header { |
| display: grid; |
| grid-template-columns: minmax(0, 1fr) auto; |
| align-items: center; |
| gap: 12px; |
| } |
|
|
| .trend-chart-title { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| min-width: 0; |
| font-size: var(--text-base); |
| line-height: 1.3; |
| } |
|
|
| .trend-chart-title svg { |
| flex: 0 0 auto; |
| } |
|
|
| .trend-chart-toolbar { |
| display: contents; |
| } |
|
|
| .trend-chart-toolbar .toggle-group { |
| grid-column: 1 / -1; |
| grid-row: 2; |
| width: 100%; |
| max-width: 100%; |
| padding-bottom: 2px; |
| } |
|
|
| .trend-chart-toolbar .toggle-btn { |
| flex: 0 0 auto; |
| white-space: nowrap; |
| } |
|
|
| .trend-chart-toolbar .channel-filter-container { |
| grid-column: 2; |
| grid-row: 1; |
| justify-self: end; |
| width: auto; |
| } |
|
|
| .trend-chart-toolbar #btn-channel-filter-toggle { |
| width: auto; |
| justify-content: center; |
| white-space: nowrap; |
| } |
|
|
| .trend-chart-toolbar .channel-filter-dropdown { |
| left: 0; |
| right: auto; |
| width: min(100%, 360px); |
| max-width: 100%; |
| } |
|
|
| body.trend-page .chart-container { |
| height: clamp(320px, 54vh, 420px); |
| min-height: 320px; |
| flex: 0 0 auto; |
| } |
|
|
| .settings-group-nav-container { |
| padding: 0 2px 2px; |
| } |
|
|
| .settings-group-nav-section { |
| display: none !important; |
| } |
|
|
| .settings-table .setting-data-row { |
| grid-template-columns: minmax(0, 1fr) auto; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-description { |
| grid-column: 1 / -1; |
| order: 10; |
| display: flex; |
| flex-wrap: wrap; |
| align-items: baseline; |
| gap: 0; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-value { |
| grid-column: 1 / 2; |
| order: 20; |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| flex-wrap: wrap; |
| min-width: 0; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-description::before, |
| .settings-table.mobile-card-table td.setting-col-value::before { |
| display: inline-block; |
| width: auto; |
| margin: 0 8px 0 0; |
| flex: 0 0 auto; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-actions { |
| grid-column: 2 / 3; |
| order: 21; |
| display: flex; |
| align-items: center; |
| justify-content: flex-end; |
| padding-top: 0; |
| border-top: none; |
| min-width: 56px; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-actions::before { |
| content: none; |
| display: none; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-value .settings-input, |
| .settings-table.mobile-card-table td.setting-col-value .form-input, |
| .settings-table.mobile-card-table td.setting-col-value select, |
| .settings-table.mobile-card-table td.setting-col-value textarea { |
| width: auto; |
| flex: 1 1 auto; |
| max-width: none; |
| min-width: 0; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-value textarea { |
| flex-basis: 100%; |
| width: 100%; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-value .settings-input--number { |
| flex: 0 1 96px; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-value .settings-bool-group { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| flex-wrap: nowrap; |
| min-width: 0; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-value .settings-bool-option { |
| display: inline-flex; |
| align-items: center; |
| gap: 6px; |
| flex: 0 0 auto; |
| white-space: nowrap; |
| } |
|
|
| .settings-table.mobile-card-table td.setting-col-value .settings-bool-option + .settings-bool-option { |
| margin-left: 0; |
| } |
|
|
| .settings-table .setting-group-row { |
| display: block; |
| grid-column: 1 / -1; |
| margin-top: 4px; |
| } |
|
|
| .settings-table .setting-group-row td { |
| display: block; |
| padding: 12px 14px !important; |
| border: 1px solid var(--neutral-200); |
| border-radius: 14px; |
| background: var(--neutral-100) !important; |
| } |
|
|
| .model-test-toolbar { |
| display: grid; |
| grid-template-columns: 1fr; |
| gap: 12px; |
| align-items: stretch; |
| } |
|
|
| .model-test-toolbar-section { |
| display: grid; |
| gap: 10px; |
| } |
|
|
| .model-test-toolbar-section--filters { |
| grid-template-columns: minmax(0, 1fr); |
| align-items: stretch; |
| } |
|
|
| #channelSelectorLabel, |
| #modelTypeLabel, |
| #modelSelectorLabel, |
| #protocolTransformContainer, |
| .model-test-toolbar-toggles, |
| .model-test-control--content { |
| grid-column: 1 / -1; |
| } |
|
|
| .model-test-control--name-filter { |
| display: flex; |
| flex: 2 1 auto; |
| width: auto; |
| min-width: 0; |
| flex-direction: row; |
| align-items: center; |
| gap: 8px; |
| } |
|
|
| .model-test-toolbar-section--actions { |
| display: flex; |
| gap: 4px; |
| flex-wrap: nowrap; |
| justify-content: flex-end; |
| margin-left: 0; |
| } |
|
|
| .model-test-toolbar-section--meta { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| flex-wrap: nowrap; |
| margin-left: 0; |
| } |
|
|
| .model-test-toolbar-toggles { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| flex-wrap: nowrap; |
| flex: 0 0 auto; |
| } |
|
|
| .model-test-control, |
| .model-test-control--model, |
| .model-test-control--content, |
| .model-test-model-combobox { |
| width: 100%; |
| min-width: 0; |
| } |
|
|
| .model-test-control { |
| display: grid; |
| grid-template-columns: max-content minmax(0, 1fr); |
| align-items: center; |
| gap: 8px; |
| } |
|
|
| .model-test-control__label { |
| margin: 0; |
| white-space: nowrap; |
| } |
|
|
| .model-test-control > :not(.model-test-control__label) { |
| min-width: 0; |
| } |
|
|
| .model-test-control--name-filter { |
| display: flex; |
| flex: 2 1 auto; |
| width: auto; |
| min-width: 0; |
| flex-direction: row; |
| align-items: center; |
| gap: 8px; |
| } |
|
|
| .model-test-control--name-filter .model-test-control__label { |
| flex: 0 0 auto; |
| margin: 0; |
| white-space: nowrap; |
| } |
|
|
| .model-test-control--name-filter .model-test-inline-input { |
| flex: 1 1 auto; |
| width: auto; |
| min-width: 0; |
| } |
|
|
| .model-test-control__label, |
| .model-test-toggle, |
| .model-test-progress { |
| font-size: 0.78rem; |
| } |
|
|
| .model-test-progress { |
| display: none; |
| } |
|
|
| .model-test-progress:not(:empty) { |
| display: block; |
| flex: 0 0 auto; |
| min-width: 0; |
| } |
|
|
| .model-test-inline-select, |
| .model-test-inline-input, |
| .model-test-toolbar-btn { |
| width: 100%; |
| min-width: 0; |
| font-size: 0.8rem; |
| } |
|
|
| .model-test-toolbar-section--actions .model-test-toolbar-btn { |
| flex: 1 1 0; |
| padding: 8px 2px; |
| font-size: 11px; |
| white-space: nowrap; |
| } |
|
|
| .model-test-table.mobile-card-table thead { |
| display: table-header-group; |
| } |
|
|
| .model-test-table.mobile-card-table thead th:not(.model-test-response-head) { |
| display: none; |
| } |
|
|
| .model-test-table.mobile-card-table thead .model-test-response-head { |
| display: table-cell; |
| width: 100% !important; |
| min-width: 0 !important; |
| max-width: none !important; |
| padding: 0 2px 12px; |
| border: none; |
| background: transparent; |
| text-align: left; |
| } |
|
|
| .model-test-table.mobile-card-table thead .model-test-response-head-inner { |
| flex-wrap: wrap; |
| align-items: flex-start; |
| } |
|
|
| .model-test-table.mobile-card-table thead .model-test-response-head-line { |
| width: 100%; |
| } |
|
|
| .model-test-table.mobile-card-table thead .model-test-head-actions { |
| width: 100%; |
| margin-left: 0; |
| } |
|
|
| .model-test-toggle { |
| flex: 0 0 auto; |
| justify-content: flex-start; |
| min-height: auto; |
| padding: 0; |
| border: none; |
| border-radius: 0; |
| background: transparent; |
| } |
|
|
| .model-test-concurrency-input { |
| width: 44px; |
| min-width: 44px; |
| padding: 4px 2px; |
| } |
|
|
| .model-test-table .model-test-col-select { |
| position: absolute; |
| top: 14px; |
| right: 14px; |
| width: auto !important; |
| text-align: right !important; |
| } |
|
|
| .model-test-table { |
| min-width: 0; |
| } |
|
|
| .model-test-table .model-test-col-select input { |
| width: 18px; |
| height: 18px; |
| margin: 0; |
| } |
|
|
| .model-test-table .model-test-col-name, |
| .model-test-table .model-test-col-response { |
| grid-column: 1 / -1; |
| } |
|
|
| .model-test-table .model-test-col-name { |
| display: flex !important; |
| align-items: flex-start; |
| justify-content: flex-start; |
| gap: 12px; |
| padding-right: 30px; |
| text-align: left !important; |
| white-space: normal !important; |
| overflow: visible !important; |
| text-overflow: unset !important; |
| word-break: break-word; |
| } |
|
|
| .model-test-table .model-test-col-name::before { |
| width: auto !important; |
| margin-bottom: 0 !important; |
| flex: 0 0 auto; |
| white-space: nowrap; |
| text-align: left !important; |
| } |
|
|
| .model-test-table .model-test-col-first-byte, |
| .model-test-table .model-test-col-duration, |
| .model-test-table .model-test-col-priority, |
| .model-test-table .model-test-col-speed, |
| .model-test-table .model-test-col-input, |
| .model-test-table .model-test-col-output, |
| .model-test-table .model-test-col-cache-read, |
| .model-test-table .model-test-col-cache-create, |
| .model-test-table .model-test-col-cost { |
| display: flex !important; |
| align-items: center; |
| justify-content: space-between; |
| gap: 12px; |
| text-align: right !important; |
| } |
|
|
| .model-test-table .model-test-col-first-byte::before, |
| .model-test-table .model-test-col-duration::before, |
| .model-test-table .model-test-col-priority::before, |
| .model-test-table .model-test-col-speed::before, |
| .model-test-table .model-test-col-input::before, |
| .model-test-table .model-test-col-output::before, |
| .model-test-table .model-test-col-cache-read::before, |
| .model-test-table .model-test-col-cache-create::before, |
| .model-test-table .model-test-col-cost::before { |
| width: auto !important; |
| margin-bottom: 0 !important; |
| flex: 0 0 auto; |
| white-space: nowrap; |
| } |
|
|
| .model-test-table .model-test-col-first-byte { |
| order: 10; |
| } |
|
|
| .model-test-table .model-test-col-duration { |
| order: 11; |
| } |
|
|
| .model-test-table .model-test-col-priority { |
| order: 12; |
| } |
|
|
| .model-test-table .model-test-col-speed { |
| order: 13; |
| } |
|
|
| .model-test-table .model-test-col-input { |
| order: 20; |
| } |
|
|
| .model-test-table .model-test-col-output { |
| order: 21; |
| } |
|
|
| .model-test-table .model-test-col-cache-read { |
| order: 22; |
| } |
|
|
| .model-test-table .model-test-col-cache-create { |
| order: 23; |
| } |
|
|
| .model-test-table .model-test-col-cost { |
| order: 24; |
| } |
|
|
| .model-test-table .model-test-col-response { |
| order: 30; |
| word-break: break-word; |
| white-space: pre-wrap; |
| } |
| } |
|
|
| @media (max-width: 480px) { |
| .mobile-card-table tbody .mobile-card-row { |
| gap: 8px 10px; |
| padding: 12px; |
| } |
| } |
|
|
| |
| .lang-dropdown { |
| position: relative; |
| display: inline-flex; |
| align-items: center; |
| } |
|
|
| .lang-dropdown-trigger { |
| display: inline-flex; |
| align-items: center; |
| gap: 2px; |
| padding: 6px 8px; |
| background: transparent; |
| border: none; |
| border-radius: var(--radius-sm); |
| cursor: pointer; |
| color: var(--neutral-600); |
| transition: all var(--duration-fast) var(--timing-function); |
| } |
|
|
| .lang-dropdown-trigger:hover { |
| background: var(--neutral-100); |
| color: var(--neutral-800); |
| } |
|
|
| .lang-dropdown-trigger .lang-icon { |
| width: 16px; |
| height: 16px; |
| } |
|
|
| .lang-dropdown-trigger .lang-arrow { |
| width: 12px; |
| height: 12px; |
| transition: transform var(--duration-fast) var(--timing-function); |
| } |
|
|
| .lang-dropdown.open .lang-dropdown-trigger .lang-arrow { |
| transform: rotate(180deg); |
| } |
|
|
| .lang-dropdown-menu { |
| position: absolute; |
| top: 100%; |
| right: 0; |
| margin-top: 4px; |
| min-width: 120px; |
| background: white; |
| border-radius: var(--radius-md); |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05); |
| opacity: 0; |
| visibility: hidden; |
| transform: translateY(-8px); |
| transition: all var(--duration-fast) var(--timing-function); |
| z-index: 1000; |
| overflow: hidden; |
| } |
|
|
| .lang-dropdown.open .lang-dropdown-menu { |
| opacity: 1; |
| visibility: visible; |
| transform: translateY(0); |
| } |
|
|
| .lang-dropdown-item { |
| display: block; |
| width: 100%; |
| padding: 10px 16px; |
| text-align: left; |
| font-size: var(--text-sm); |
| font-weight: var(--font-medium); |
| color: var(--neutral-700); |
| background: transparent; |
| border: none; |
| cursor: pointer; |
| transition: background var(--duration-fast) var(--timing-function); |
| } |
|
|
| .lang-dropdown-item:hover { |
| background: var(--neutral-100); |
| } |
|
|
| .lang-dropdown-item.active { |
| color: var(--primary-600); |
| background: var(--primary-50); |
| } |
|
|
| .lang-dropdown-item:first-child { |
| border-radius: var(--radius-md) var(--radius-md) 0 0; |
| } |
|
|
| .lang-dropdown-item:last-child { |
| border-radius: 0 0 var(--radius-md) var(--radius-md); |
| } |
|
|