Spaces:
Running
Running
Download frontend/styles.css from SnippyCodes/Libratio: direct link, hf CLI and curl.
- Browser
- Download file 23.8 kB
-
https://huggingface.co/spaces/SnippyCodes/Libratio/resolve/main/frontend/styles.css
- Command line
-
hf download hf://spaces/SnippyCodes/Libratio/frontend/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/SnippyCodes/Libratio/resolve/main/frontend/styles.css
23.8 kB
| /* βββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| Libratio Fleet β Premium GPU Simulator Styles | |
| βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| :root { | |
| --bg: #051424; | |
| --bg-panel: rgba(18, 33, 49, 0.45); | |
| --bg-card: rgba(18, 33, 49, 0.3); | |
| --bg-gpu: rgba(18, 33, 49, 0.2); | |
| --border: rgba(255, 255, 255, 0.08); | |
| --text: #d4e4fa; | |
| --text2: #bbc9cf; | |
| --dim: #859399; | |
| --green: #00e676; | |
| --green2: #00c853; | |
| --blue: #0088ff; | |
| --cyan: #00d2ff; | |
| --amber: #ffab00; | |
| --red: #ff4d4d; | |
| --purple: #b026ff; | |
| --mono: 'JetBrains Mono', monospace; | |
| --sans: 'Inter', sans-serif; | |
| --display: 'Space Grotesk', sans-serif; | |
| } | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| html, body { height: 100%; overflow: hidden; } | |
| body { | |
| font-family: var(--sans); | |
| background-color: var(--bg); | |
| background-image: | |
| radial-gradient(circle at 0% 0%, rgba(0, 210, 255, 0.15) 0%, transparent 40%), | |
| radial-gradient(circle at 100% 100%, rgba(176, 38, 255, 0.1) 0%, transparent 40%), | |
| radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 100%); | |
| background-attachment: fixed; | |
| color: var(--text); | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| /* ββ TOPBAR ββ */ | |
| #topbar { height: 48px; background: rgba(18, 33, 49, 0.6); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 18px; } | |
| .topbar-inner { width: 100%; display: flex; align-items: center; gap: 14px; } | |
| .logo { font-family: var(--display); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.12em; color: var(--cyan); text-shadow: 0 0 15px rgba(0, 210, 255, 0.3); } | |
| .env-badge { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 3px; background: rgba(0,229,255,0.08); color: var(--cyan); border: 1px solid rgba(0,229,255,0.2); } | |
| .topbar-right { margin-left: auto; display: flex; align-items: center; gap: 18px; } | |
| .topbar-right a { font-size: 0.72rem; color: var(--text2); text-decoration: none; font-weight: 500; } | |
| .topbar-right a:hover { color: var(--text); } | |
| /* Tooltips */ | |
| .tooltip-container { position: relative; display: inline-block; } | |
| .tooltip-container .tooltip-text { | |
| visibility: hidden; width: 220px; background-color: rgba(10, 15, 28, 0.95); | |
| color: #fff; text-align: left; border-radius: 6px; padding: 10px; font-size: 0.65rem; | |
| line-height: 1.4; border: 1px solid var(--amber); position: absolute; z-index: 100; | |
| top: 130%; left: 50%; margin-left: -110px; opacity: 0; transition: opacity 0.3s; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.5); pointer-events: none; | |
| } | |
| .tooltip-container:hover .tooltip-text { visibility: visible; opacity: 1; } | |
| .btn-topbar { background: rgba(255, 171, 0, 0.1); color: var(--amber); border: 1px solid rgba(255, 171, 0, 0.3); font-family: var(--sans); font-size: 0.65rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; cursor: pointer; transition: all 0.2s; } | |
| .btn-topbar:hover { background: rgba(255, 171, 0, 0.25); box-shadow: 0 0 12px rgba(255,171,0,0.2); } | |
| .btn-topbar.active { background: var(--amber); color: #000; box-shadow: 0 0 16px rgba(255,171,0,0.4); } | |
| /* ββ DASHBOARD LAYOUT ββ */ | |
| .dashboard { display: grid; grid-template-columns: 260px 1fr 310px; height: calc(100vh - 48px); } | |
| .sidebar { | |
| background: var(--bg-panel); | |
| backdrop-filter: blur(24px); | |
| -webkit-backdrop-filter: blur(24px); | |
| border-right: 1px solid var(--border); | |
| padding: 14px; | |
| overflow-y: auto; | |
| } | |
| .sidebar-right { border-right: none; border-left: 1px solid var(--border); } | |
| /* ββ SIDEBAR SECTIONS ββ */ | |
| .sb-section { margin-bottom: 18px; } | |
| .sb-title { | |
| font-family: var(--display); | |
| font-size: 0.65rem; | |
| font-weight: 700; | |
| letter-spacing: 0.1em; | |
| color: var(--cyan); | |
| margin-bottom: 10px; | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| text-transform: uppercase; | |
| } | |
| .ind { width: 6px; height: 6px; border-radius: 50%; } | |
| .ind-green { background: var(--green); box-shadow: 0 0 6px var(--green); } | |
| .ind-amber { background: var(--amber); box-shadow: 0 0 6px var(--amber); } | |
| .ind-blue { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); } | |
| .ind-purple { background: var(--purple); box-shadow: 0 0 6px var(--purple); } | |
| select { | |
| width: 100%; | |
| font-family: var(--sans); | |
| font-size: 0.72rem; | |
| background: rgba(5, 15, 30, 0.6); | |
| color: var(--text); | |
| border: 1px solid var(--border); | |
| border-radius: 6px; | |
| padding: 8px; | |
| margin-bottom: 8px; | |
| cursor: pointer; | |
| outline: none; | |
| transition: border-color 0.2s; | |
| } | |
| select:focus { border-color: var(--cyan); } | |
| optgroup { font-weight: 700; color: var(--dim); background: #051424; } | |
| .btn-reset, .btn-step { | |
| width: 100%; | |
| font-family: var(--mono); | |
| font-size: 0.72rem; | |
| font-weight: 700; | |
| letter-spacing: 0.06em; | |
| border: 1px solid transparent; | |
| border-radius: 6px; | |
| padding: 10px; | |
| cursor: pointer; | |
| margin-bottom: 6px; | |
| transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); | |
| } | |
| .btn-reset { | |
| background: rgba(0, 136, 255, 0.1); | |
| color: #fff; | |
| border-color: rgba(0, 136, 255, 0.3); | |
| } | |
| .btn-reset:hover { | |
| background: rgba(0, 136, 255, 0.25); | |
| box-shadow: 0 0 16px rgba(0, 136, 255, 0.3); | |
| } | |
| .btn-step { | |
| background: rgba(0, 210, 255, 0.15); | |
| color: var(--cyan); | |
| border-color: rgba(0, 210, 255, 0.3); | |
| } | |
| .btn-step:hover { | |
| background: var(--cyan); | |
| color: #051424; | |
| box-shadow: 0 0 20px rgba(0, 210, 255, 0.4); | |
| } | |
| .btn-reset:disabled, .btn-step:disabled { opacity: 0.3; cursor: not-allowed; box-shadow: none ; } | |
| /* ββ METRICS & HEALTH SCORES ββ */ | |
| .health-scores { display: flex; gap: 8px; margin-bottom: 14px; } | |
| .health-box { | |
| flex: 1; | |
| padding: 12px 0; | |
| text-align: center; | |
| border-radius: 8px; | |
| background: rgba(18, 33, 49, 0.3); | |
| border: 1px solid var(--border); | |
| backdrop-filter: blur(8px); | |
| -webkit-backdrop-filter: blur(8px); | |
| transition: all 0.3s; | |
| } | |
| .health-box.primary { border-color: rgba(0, 230, 118, 0.2); } | |
| .health-box.secondary { border-color: rgba(255, 77, 77, 0.2); } | |
| .h-label { display: block; font-family: var(--display); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text2); margin-bottom: 4px; } | |
| .h-val { display: block; font-size: 1.7rem; font-weight: 800; font-family: var(--display); line-height: 1; } | |
| .primary .h-val { color: var(--green); text-shadow: 0 0 10px rgba(0, 230, 118, 0.2); } | |
| .secondary .h-val { color: var(--red); text-shadow: 0 0 10px rgba(255, 77, 77, 0.2); } | |
| .metric { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 0.7rem; color: var(--text2); } | |
| .metric-val { font-family: var(--mono); font-weight: 600; color: var(--text); font-size: 0.7rem; } | |
| .metric-good { color: var(--green); } | |
| .metric-warn { color: var(--amber); } | |
| .metric-bad { color: var(--red); } | |
| .vram-pool { width: 100%; height: 8px; background: rgba(5, 15, 30, 0.6); border-radius: 4px; margin: 8px 0 4px; overflow: hidden; border: 1px solid var(--border); } | |
| .vram-pool-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan), var(--green)); border-radius: 4px; transition: width 0.8s ease; } | |
| .chart-container { width: 100%; height: 110px; background: rgba(5, 15, 30, 0.4); backdrop-filter: blur(8px); border-radius: 6px; border: 1px solid var(--border); padding: 5px; } | |
| #actionInput { | |
| width: 100%; | |
| min-height: 120px; | |
| background: rgba(5, 15, 30, 0.6); | |
| color: var(--text); | |
| border: 1px solid var(--border); | |
| border-radius: 6px; | |
| padding: 8px; | |
| font-family: var(--mono); | |
| font-size: 0.65rem; | |
| line-height: 1.5; | |
| resize: vertical; | |
| outline: none; | |
| transition: border-color 0.2s; | |
| } | |
| #actionInput:focus { border-color: var(--cyan); } | |
| /* ββ MAIN AREA ββ */ | |
| .main-area { padding: 16px 20px; overflow-y: auto; background: transparent; display: flex; flex-direction: column; } | |
| .rack-comparison { display: flex; gap: 20px; margin-bottom: 20px; } | |
| .gpu-rack { flex: 1; } | |
| .rack-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } | |
| .rack-header h2 { font-family: var(--display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; } | |
| .efficiency-badge { | |
| font-size: 0.65rem; | |
| font-family: var(--mono); | |
| font-weight: 600; | |
| background: rgba(0, 230, 118, 0.15); | |
| color: var(--green); | |
| padding: 3px 8px; | |
| border-radius: 4px; | |
| border: 1px solid rgba(0, 230, 118, 0.3); | |
| box-shadow: 0 0 10px rgba(0, 230, 118, 0.1); | |
| } | |
| .rack-status { | |
| font-size: 0.6rem; | |
| font-weight: 700; | |
| font-family: var(--mono); | |
| letter-spacing: 0.1em; | |
| padding: 3px 10px; | |
| border-radius: 4px; | |
| background: rgba(0, 210, 255, 0.1); | |
| color: var(--cyan); | |
| border: 1px solid rgba(0, 210, 255, 0.2); | |
| } | |
| .rack-status.active { background: rgba(0, 230, 118, 0.1); color: var(--green); border-color: rgba(0, 230, 118, 0.2); } | |
| .rack-status.error { background: rgba(255, 77, 77, 0.1); color: var(--red); border-color: rgba(255, 77, 77, 0.2); } | |
| /* ββββββββββββββββββββββββββββββββββββββββ | |
| GPU CHIP VISUALIZATION (Bento Cards) | |
| ββββββββββββββββββββββββββββββββββββββββ */ | |
| .rack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } | |
| .rack-comparison.split .rack-grid { grid-template-columns: repeat(2, 1fr); } | |
| .gpu-chip { | |
| background: var(--bg-gpu); | |
| backdrop-filter: blur(16px); | |
| -webkit-backdrop-filter: blur(16px); | |
| border: 1px solid var(--border); | |
| border-top: 1px solid rgba(255, 255, 255, 0.12); | |
| border-radius: 12px; | |
| padding: 12px; | |
| position: relative; | |
| overflow: hidden; | |
| transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); | |
| } | |
| .gpu-chip::after { | |
| content: ''; | |
| position: absolute; | |
| inset: -1px; | |
| border-radius: 12px; | |
| padding: 1px; | |
| background: linear-gradient(135deg, transparent 40%, rgba(0, 136, 255, 0.4) 100%); | |
| -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); | |
| -webkit-mask-composite: xor; | |
| mask-composite: exclude; | |
| opacity: 0.3; | |
| transition: opacity 0.4s; | |
| } | |
| .gpu-chip:hover { | |
| transform: translateY(-2px); | |
| border-color: rgba(0, 210, 255, 0.3); | |
| box-shadow: 0 8px 24px rgba(0, 210, 255, 0.12); | |
| } | |
| .gpu-chip.active { box-shadow: 0 0 20px rgba(0, 210, 255, 0.08); } | |
| .gpu-chip.active::after { background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%); opacity: 0.6; } | |
| .gpu-chip.warning { box-shadow: 0 0 24px rgba(255, 171, 0, 0.12); } | |
| .gpu-chip.warning::after { background: linear-gradient(135deg, var(--amber) 0%, var(--red) 100%); opacity: 0.75; } | |
| .gpu-chip.crashed { | |
| border-color: var(--red); | |
| box-shadow: 0 0 24px rgba(255, 77, 77, 0.25); | |
| animation: cascade-pulse 1.2s cubic-bezier(0.16, 1, 0.3, 1) infinite; | |
| z-index: 10; | |
| } | |
| .gpu-chip.crashed::after { background: linear-gradient(135deg, var(--red) 0%, var(--purple) 100%); opacity: 0.9; } | |
| @keyframes cascade-pulse { | |
| 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6); } | |
| 70% { box-shadow: 0 0 0 15px rgba(255, 77, 77, 0); } | |
| 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } | |
| } | |
| .gpu-label { font-size: 0.65rem; font-weight: 700; font-family: var(--mono); letter-spacing: 0.1em; color: var(--dim); margin-bottom: 8px; } | |
| .core-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; margin-bottom: 10px; } | |
| .core { aspect-ratio: 1; border-radius: 2px; background: #0c182c; transition: background 0.5s ease, box-shadow 0.5s ease; } | |
| .core.lit-cyan { background: var(--cyan); box-shadow: 0 0 5px var(--cyan); } | |
| .core.lit-green { background: var(--green); box-shadow: 0 0 5px var(--green); } | |
| .core.lit-blue { background: var(--blue); box-shadow: 0 0 5px var(--blue); } | |
| .core.lit-amber { background: var(--amber); box-shadow: 0 0 5px var(--amber); } | |
| .core.lit-red { background: var(--red); box-shadow: 0 0 5px var(--red); } | |
| .core.lit-purple { background: var(--purple); box-shadow: 0 0 5px var(--purple); } | |
| .core.lit-dim { background: #122138; } | |
| .gpu-vram-wrap { margin-bottom: 6px; } | |
| .gpu-vram-track { width: 100%; height: 6px; background: rgba(5, 15, 30, 0.6); border-radius: 3px; overflow: hidden; border: 1px solid var(--border); } | |
| .gpu-vram-bar { height: 100%; border-radius: 3px; transition: width 0.8s ease, background 0.4s; background: linear-gradient(90deg, var(--cyan), var(--green)); } | |
| .gpu-vram-bar.high { background: linear-gradient(90deg, var(--amber), var(--red)); } | |
| .gpu-vram-bar.critical { background: var(--red); animation: blink-bg 1s infinite; } | |
| @keyframes blink-bg { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.4; } | |
| } | |
| .prec-segmented-bar { display: flex; width: 100%; height: 4px; border-radius: 2px; overflow: hidden; margin-bottom: 4px; background: rgba(255,255,255,0.05); } | |
| .seg-fp32 { background: var(--blue); } | |
| .seg-bf16 { background: var(--green); } | |
| .seg-fp16 { background: var(--amber); } | |
| .seg-fp8 { background: var(--red); } | |
| .gpu-info-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.6rem; font-family: var(--mono); color: var(--text2); margin-top: 4px; } | |
| .gpu-model-label { font-size: 0.6rem; font-weight: 600; font-family: var(--mono); margin-top: 8px; padding: 2px 6px; border-radius: 4px; display: inline-block; } | |
| .gpu-model-label.assigned { background: rgba(0, 210, 255, 0.12); color: var(--cyan); border: 1px solid rgba(0, 210, 255, 0.2); } | |
| .gpu-model-label.empty { color: var(--dim); } | |
| .gpu-temp { position: absolute; top: 10px; right: 12px; font-size: 0.6rem; font-family: var(--mono); font-weight: 600; } | |
| .gpu-temp.cool { color: var(--cyan); } | |
| .gpu-temp.warm { color: var(--amber); } | |
| .gpu-temp.hot { color: var(--red); animation: blink-text 0.8s infinite; } | |
| @keyframes blink-text { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } | |
| /* ββ AGENT REASONING FEED ββ */ | |
| .reasoning-section { flex: 1; display: flex; flex-direction: column; margin-top: 10px; } | |
| .reasoning-feed { | |
| background: rgba(5, 15, 30, 0.5); | |
| backdrop-filter: blur(16px); | |
| -webkit-backdrop-filter: blur(16px); | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| padding: 14px; | |
| overflow-y: auto; | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| position: relative; | |
| } | |
| .reasoning-feed::after { | |
| content: ''; | |
| position: absolute; | |
| inset: 0; | |
| background: linear-gradient( | |
| to bottom, | |
| transparent 50%, | |
| rgba(0, 210, 255, 0.015) 50% | |
| ); | |
| background-size: 100% 4px; | |
| pointer-events: none; | |
| z-index: 10; | |
| } | |
| .thought-bubble { | |
| padding: 10px 14px; | |
| border-radius: 12px; | |
| font-size: 0.72rem; | |
| line-height: 1.5; | |
| max-width: 85%; | |
| animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both; | |
| position: relative; | |
| } | |
| .thought-bubble.agent { | |
| background: rgba(0, 210, 255, 0.08); | |
| border: 1px solid rgba(0, 210, 255, 0.15); | |
| color: #e3f2fd; | |
| align-self: flex-start; | |
| border-top-left-radius: 2px; | |
| } | |
| .thought-bubble.agent::before { content: 'π€ Agent Reasoning'; display: block; font-family: var(--display); font-size: 0.55rem; color: var(--cyan); font-weight: 700; margin-bottom: 4px; letter-spacing: 0.05em; text-transform: uppercase;} | |
| .thought-bubble.baseline { | |
| background: rgba(255, 77, 77, 0.08); | |
| border: 1px solid rgba(255, 77, 77, 0.15); | |
| color: #ffebee; | |
| align-self: flex-end; | |
| border-top-right-radius: 2px; | |
| text-align: right; | |
| } | |
| .thought-bubble.baseline::before { content: 'β οΈ Baseline Action'; display: block; font-family: var(--display); font-size: 0.55rem; color: var(--red); font-weight: 700; margin-bottom: 4px; letter-spacing: 0.05em; text-transform: uppercase;} | |
| .thought-bubble.sys-thought { background: transparent; border: 1px dashed var(--dim); color: var(--text2); align-self: center; text-align: center; } | |
| @keyframes slideInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } | |
| /* ββ RIGHT PANEL: TELEMETRY ββ */ | |
| .telemetry-panel { display: flex; flex-direction: column; gap: 10px; } | |
| .telemetry-empty { font-size: 0.7rem; color: var(--dim); font-style: italic; text-align: center; padding: 20px 0; } | |
| .model-telemetry { | |
| background: rgba(18, 33, 49, 0.3); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| padding: 10px; | |
| transition: all 0.3s; | |
| } | |
| .model-telemetry:hover { | |
| border-color: rgba(0, 210, 255, 0.2); | |
| background: rgba(18, 33, 49, 0.45); | |
| } | |
| .m-tel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } | |
| .m-tel-name { font-size: 0.75rem; font-weight: 700; font-family: var(--mono); color: var(--text); } | |
| .m-tel-status { font-size: 0.6rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; } | |
| .m-tel-status.healthy { background: rgba(0, 230, 118, 0.15); color: var(--green); } | |
| .m-tel-status.flagged { background: rgba(255, 171, 0, 0.15); color: var(--amber); } | |
| .m-tel-status.crashed { background: rgba(255, 77, 77, 0.15); color: var(--red); animation: blink-text 1s infinite;} | |
| .m-tel-sparkline { height: 30px; width: 100%; border-bottom: 1px dashed var(--dim); position: relative; display: flex; align-items: flex-end; gap: 2px; padding-bottom: 2px;} | |
| .spark-bar { width: 100%; background: var(--cyan); border-radius: 1px 1px 0 0; } | |
| .spark-bar.err { background: var(--red); } | |
| .m-tel-alerts { margin-top: 8px; font-size: 0.65rem; color: var(--text2); } | |
| .alert-item { display: flex; align-items: center; gap: 6px; margin-top: 4px; } | |
| .alert-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); } | |
| .alert-dot.warn { background: var(--amber); } | |
| .alert-dot.crit { background: var(--red); } | |
| .json-box { | |
| background: rgba(5, 10, 20, 0.6); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| border: 1px solid var(--border); | |
| border-radius: 6px; | |
| padding: 8px; | |
| font-family: var(--mono); | |
| font-size: 0.65rem; | |
| line-height: 1.5; | |
| color: var(--text); | |
| overflow: auto; | |
| max-height: 250px; | |
| white-space: pre-wrap; | |
| word-break: break-word; | |
| } | |
| /* ββ AGENTIC KERNEL PANEL ββ */ | |
| .kernel-badge { | |
| border-color: rgba(176, 38, 255, 0.3) ; | |
| color: var(--purple) ; | |
| background: rgba(176, 38, 255, 0.08) ; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| border: 1px solid; | |
| font-size: 0.6rem; | |
| font-weight: 700; | |
| letter-spacing: 0.1em; | |
| padding: 2px 8px; | |
| border-radius: 3px; | |
| font-family: var(--sans); | |
| } | |
| .kernel-badge:hover { background: rgba(176, 38, 255, 0.18) ; box-shadow: 0 0 12px rgba(176, 38, 255, 0.3); } | |
| .kernel-badge.active { background: rgba(176, 38, 255, 0.25) ; box-shadow: 0 0 20px rgba(176, 38, 255, 0.4); border-color: var(--purple) ; } | |
| .kernel-panel { | |
| background: linear-gradient(180deg, rgba(176, 38, 255, 0.03) 0%, rgba(18, 33, 49, 0.4) 100%); | |
| backdrop-filter: blur(24px); | |
| -webkit-backdrop-filter: blur(24px); | |
| border-bottom: 1px solid rgba(176, 38, 255, 0.15); | |
| padding: 0; | |
| overflow: hidden; | |
| animation: kernelSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1); | |
| } | |
| @keyframes kernelSlideDown { from { max-height: 0; opacity: 0; } to { max-height: 600px; opacity: 1; } } | |
| .kernel-inner { padding: 16px 24px; } | |
| .kernel-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; } | |
| .kernel-header h2 { font-family: var(--display); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; color: var(--purple); margin: 0; text-shadow: 0 0 15px rgba(176, 38, 255, 0.3); } | |
| .kernel-desc { font-size: 0.65rem; color: var(--text2); flex: 1; } | |
| .btn-bench { | |
| font-family: var(--mono); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; | |
| background: rgba(176, 38, 255, 0.15); color: var(--purple); border: 1px solid rgba(176, 38, 255, 0.3); | |
| border-radius: 6px; padding: 8px 16px; cursor: pointer; transition: all 0.2s; | |
| } | |
| .btn-bench:hover { background: rgba(176, 38, 255, 0.3); box-shadow: 0 0 16px rgba(176, 38, 255, 0.3); } | |
| .btn-bench:disabled { opacity: 0.5; cursor: not-allowed; } | |
| .btn-bench.running { animation: benchPulse 1.5s ease-in-out infinite; } | |
| @keyframes benchPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(176, 38, 255, 0.4); } 50% { box-shadow: 0 0 20px 5px rgba(176, 38, 255, 0.2); } } | |
| /* Metric Cards */ | |
| .kernel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; } | |
| .k-card { | |
| background: rgba(18, 33, 49, 0.25); | |
| backdrop-filter: blur(12px); | |
| border: 1px solid var(--border); | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 8px; | |
| padding: 14px; | |
| text-align: center; | |
| transition: all 0.3s; | |
| } | |
| .k-card:hover { | |
| border-color: rgba(176, 38, 255, 0.3); | |
| transform: translateY(-1px); | |
| } | |
| .k-card-title { font-family: var(--display); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em; color: var(--purple); margin-bottom: 6px; } | |
| .k-big-number { font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--purple); line-height: 1.1; } | |
| .k-big-number.k-solved { color: var(--green); text-shadow: 0 0 20px rgba(0,230,118,0.3); } | |
| .k-big-number.k-active { color: var(--amber); } | |
| .k-big-number.k-error { color: var(--red); } | |
| .k-unit { font-size: 0.6rem; color: var(--text2); margin-top: 2px; } | |
| .k-sub { font-size: 0.55rem; color: var(--dim); margin-top: 6px; font-family: var(--mono); } | |
| /* Module Breakdown */ | |
| .kernel-modules { margin-bottom: 16px; } | |
| .km-title { font-family: var(--display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 10px; } | |
| .km-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } | |
| .km-card { | |
| background: rgba(5, 10, 20, 0.5); | |
| backdrop-filter: blur(8px); | |
| border: 1px solid var(--border); | |
| border-radius: 6px; | |
| padding: 10px; | |
| transition: border-color 0.3s; | |
| } | |
| .km-card:hover { border-color: var(--cyan); } | |
| .km-name { font-family: var(--mono); font-size: 0.65rem; font-weight: 600; color: var(--cyan); margin-bottom: 6px; } | |
| .km-bar-track { width: 100%; height: 6px; background: rgba(5, 15, 30, 0.6); border-radius: 3px; overflow: hidden; border: 1px solid var(--border); } | |
| .km-bar { height: 100%; background: linear-gradient(90deg, var(--purple), #e040fb); border-radius: 3px; transition: width 1s ease; } | |
| .km-bar.safety { background: linear-gradient(90deg, var(--amber), #ff6d00); } | |
| .km-bar.scoring { background: linear-gradient(90deg, var(--cyan), var(--green)); } | |
| .km-val { font-family: var(--mono); font-size: 0.65rem; font-weight: 600; color: var(--text); } | |
| .km-desc { font-size: 0.55rem; color: var(--dim); margin-top: 2px; } | |
| /* Comparison Bars */ | |
| .kc-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } | |
| .kc-label { font-size: 0.65rem; font-family: var(--mono); color: var(--text2); width: 120px; flex-shrink: 0; text-align: right; } | |
| .kc-bar-track { flex: 1; height: 10px; background: rgba(5, 15, 30, 0.6); border-radius: 5px; overflow: hidden; border: 1px solid var(--border); } | |
| .kc-bar { height: 100%; border-radius: 5px; transition: width 1.5s ease; } | |
| .kc-bar.kernel { background: linear-gradient(90deg, var(--purple), #e040fb); min-width: 3px; } | |
| .kc-bar.vm { background: linear-gradient(90deg, var(--amber), #ff6d00); width: 83%; } | |
| .kc-bar.docker { background: linear-gradient(90deg, var(--red), #ff5252); width: 100%; } | |
| .kc-val { font-size: 0.6rem; font-family: var(--mono); color: var(--text2); width: 80px; flex-shrink: 0; } | |
| /* ββ SCROLLBAR ββ */ | |
| ::-webkit-scrollbar { width: 5px; height: 5px; } | |
| ::-webkit-scrollbar-track { background: transparent; } | |
| ::-webkit-scrollbar-thumb { background: #1a2540; border-radius: 3px; } | |