Download static/style.css from smlflg/AgentArena: direct link, hf CLI and curl.
- Browser
- Download file 18.6 kB
-
https://huggingface.co/smlflg/AgentArena/resolve/main/static/style.css
- Command line
-
hf download hf://smlflg/AgentArena/static/style.css
-
curl -L -o style.css https://huggingface.co/smlflg/AgentArena/resolve/main/static/style.css
18.6 kB
| /* ββ Reset & Base ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| :root { | |
| --bg: #0d1117; | |
| --surface: #161b22; | |
| --border: #30363d; | |
| --text: #e6edf3; | |
| --muted: #8b949e; | |
| --accent: #58a6ff; | |
| --success: #3fb950; | |
| --error: #f85149; | |
| --warning: #d29922; | |
| --radius: 6px; | |
| --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; | |
| } | |
| body { | |
| background: var(--bg); | |
| color: var(--text); | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| min-height: 100vh; | |
| } | |
| a { color: var(--accent); text-decoration: none; } | |
| a:hover { text-decoration: underline; } | |
| /* ββ Nav βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| nav { | |
| background: var(--surface); | |
| border-bottom: 1px solid var(--border); | |
| padding: 0 24px; | |
| display: flex; | |
| align-items: center; | |
| height: 56px; | |
| gap: 24px; | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| .nav-logo { | |
| font-weight: 700; | |
| font-size: 16px; | |
| color: var(--text); | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| white-space: nowrap; | |
| } | |
| .nav-logo span { color: var(--accent); } | |
| .nav-links { display: flex; gap: 4px; flex: 1; } | |
| .nav-links a { | |
| color: var(--muted); | |
| padding: 6px 12px; | |
| border-radius: var(--radius); | |
| font-size: 14px; | |
| transition: color 0.15s, background 0.15s; | |
| } | |
| .nav-links a:hover, | |
| .nav-links a.active { | |
| color: var(--text); | |
| background: rgba(255, 255, 255, 0.05); | |
| text-decoration: none; | |
| } | |
| /* ββ Layout ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 32px 24px; | |
| } | |
| /* ββ Hero ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .hero { | |
| text-align: center; | |
| padding: 48px 0 32px; | |
| } | |
| .hero h1 { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| margin-bottom: 12px; | |
| background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .hero p { | |
| color: var(--muted); | |
| font-size: 1.1rem; | |
| max-width: 600px; | |
| margin: 0 auto 24px; | |
| } | |
| /* ββ Cards βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .card { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 20px 24px; | |
| margin-bottom: 20px; | |
| } | |
| .card-title { | |
| font-size: 1rem; | |
| font-weight: 600; | |
| margin-bottom: 16px; | |
| color: var(--text); | |
| } | |
| /* ββ Metric Cards ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .metrics-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); | |
| gap: 16px; | |
| margin-bottom: 24px; | |
| } | |
| .metric-card { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 16px 20px; | |
| text-align: center; | |
| } | |
| .metric-card .metric-value { | |
| font-size: 1.75rem; | |
| font-weight: 700; | |
| color: var(--accent); | |
| line-height: 1.2; | |
| } | |
| .metric-card .metric-label { | |
| font-size: 12px; | |
| color: var(--muted); | |
| margin-top: 4px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .metric-card.success .metric-value { color: var(--success); } | |
| .metric-card.error .metric-value { color: var(--error); } | |
| .metric-card.warning .metric-value { color: var(--warning); } | |
| /* ββ Tables ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .table-wrapper { | |
| overflow-x: auto; | |
| border-radius: var(--radius); | |
| border: 1px solid var(--border); | |
| } | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| background: var(--surface); | |
| } | |
| thead tr { | |
| border-bottom: 1px solid var(--border); | |
| } | |
| thead th { | |
| padding: 12px 16px; | |
| text-align: left; | |
| font-size: 12px; | |
| font-weight: 600; | |
| color: var(--muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| white-space: nowrap; | |
| } | |
| tbody tr { | |
| border-bottom: 1px solid var(--border); | |
| transition: background 0.1s; | |
| } | |
| tbody tr:last-child { border-bottom: none; } | |
| tbody tr:hover { background: rgba(255, 255, 255, 0.03); } | |
| td { | |
| padding: 12px 16px; | |
| vertical-align: middle; | |
| color: var(--text); | |
| } | |
| /* ββ Badges ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .badge { | |
| display: inline-block; | |
| padding: 2px 8px; | |
| border-radius: 12px; | |
| font-size: 11px; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.3px; | |
| } | |
| .badge-success { background: rgba(63, 185, 80, 0.15); color: var(--success); } | |
| .badge-error { background: rgba(248, 81, 73, 0.15); color: var(--error); } | |
| .badge-warning { background: rgba(210, 153, 34, 0.15); color: var(--warning); } | |
| .badge-pending { background: rgba(88, 166, 255, 0.15); color: var(--accent); } | |
| .badge-running { background: rgba(88, 166, 255, 0.15); color: var(--accent); } | |
| .badge-muted { background: rgba(139, 148, 158, 0.15); color: var(--muted); } | |
| .badge-easy { background: rgba(63, 185, 80, 0.15); color: var(--success); } | |
| .badge-medium { background: rgba(210, 153, 34, 0.15); color: var(--warning); } | |
| .badge-hard { background: rgba(248, 81, 73, 0.15); color: var(--error); } | |
| /* ββ Rank ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .rank { | |
| font-weight: 700; | |
| color: var(--muted); | |
| font-size: 16px; | |
| } | |
| .rank.gold { color: #ffd700; } | |
| .rank.silver { color: #c0c0c0; } | |
| .rank.bronze { color: #cd7f32; } | |
| /* ββ Buttons βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| padding: 8px 16px; | |
| border-radius: var(--radius); | |
| font-size: 14px; | |
| font-weight: 500; | |
| cursor: pointer; | |
| border: 1px solid transparent; | |
| transition: background 0.15s, border-color 0.15s; | |
| text-decoration: none; | |
| } | |
| .btn-primary { | |
| background: var(--accent); | |
| color: #fff; | |
| border-color: var(--accent); | |
| } | |
| .btn-primary:hover { | |
| background: #4493e0; | |
| border-color: #4493e0; | |
| text-decoration: none; | |
| color: #fff; | |
| } | |
| .btn-secondary { | |
| background: transparent; | |
| color: var(--text); | |
| border-color: var(--border); | |
| } | |
| .btn-secondary:hover { | |
| background: rgba(255, 255, 255, 0.05); | |
| border-color: var(--muted); | |
| text-decoration: none; | |
| } | |
| .btn-sm { padding: 4px 10px; font-size: 12px; } | |
| /* ββ Actions bar βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .actions { | |
| display: flex; | |
| gap: 12px; | |
| align-items: center; | |
| margin-bottom: 24px; | |
| flex-wrap: wrap; | |
| } | |
| /* ββ Section headers βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| h2 { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| margin-bottom: 16px; | |
| color: var(--text); | |
| } | |
| h3 { | |
| font-size: 1rem; | |
| font-weight: 600; | |
| margin-bottom: 12px; | |
| color: var(--text); | |
| } | |
| /* ββ Diff Viewer βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .diff-viewer { | |
| font-family: var(--font-mono); | |
| font-size: 12px; | |
| line-height: 1.5; | |
| overflow-x: auto; | |
| background: var(--bg); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 0; | |
| } | |
| .diff-line { | |
| display: block; | |
| padding: 2px 12px; | |
| white-space: pre; | |
| } | |
| .diff-line.added { background: rgba(63, 185, 80, 0.15); color: #7ee787; } | |
| .diff-line.removed { background: rgba(248, 81, 73, 0.15); color: #ffa198; } | |
| .diff-line.context { color: var(--muted); } | |
| .diff-empty { | |
| padding: 24px; | |
| text-align: center; | |
| color: var(--muted); | |
| font-family: var(--font-mono); | |
| font-size: 12px; | |
| } | |
| /* ββ Trajectory Timeline βββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .timeline { | |
| position: relative; | |
| padding-left: 24px; | |
| } | |
| .timeline::before { | |
| content: ""; | |
| position: absolute; | |
| left: 8px; | |
| top: 0; | |
| bottom: 0; | |
| width: 2px; | |
| background: var(--border); | |
| } | |
| .timeline-item { | |
| position: relative; | |
| margin-bottom: 16px; | |
| } | |
| .timeline-dot { | |
| position: absolute; | |
| left: -20px; | |
| top: 6px; | |
| width: 10px; | |
| height: 10px; | |
| border-radius: 50%; | |
| background: var(--accent); | |
| border: 2px solid var(--bg); | |
| } | |
| .timeline-dot.tool { background: var(--accent); } | |
| .timeline-dot.result { background: var(--success); } | |
| .timeline-dot.error { background: var(--error); } | |
| .timeline-content { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 10px 14px; | |
| } | |
| .timeline-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| margin-bottom: 4px; | |
| } | |
| .timeline-tool { | |
| font-family: var(--font-mono); | |
| font-size: 12px; | |
| font-weight: 600; | |
| color: var(--accent); | |
| } | |
| .timeline-ts { | |
| font-size: 11px; | |
| color: var(--muted); | |
| margin-left: auto; | |
| } | |
| .timeline-body { | |
| font-family: var(--font-mono); | |
| font-size: 11px; | |
| color: var(--muted); | |
| white-space: pre-wrap; | |
| word-break: break-all; | |
| max-height: 80px; | |
| overflow: hidden; | |
| } | |
| /* ββ Task info βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .info-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | |
| gap: 12px; | |
| } | |
| .info-item label { | |
| display: block; | |
| font-size: 11px; | |
| color: var(--muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| margin-bottom: 4px; | |
| } | |
| .info-item span { | |
| font-size: 14px; | |
| color: var(--text); | |
| } | |
| .code { | |
| font-family: var(--font-mono); | |
| font-size: 12px; | |
| background: rgba(255,255,255,0.05); | |
| padding: 2px 6px; | |
| border-radius: 3px; | |
| } | |
| /* ββ Score bar βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .score-bar { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .score-bar-bg { | |
| flex: 1; | |
| height: 6px; | |
| background: var(--border); | |
| border-radius: 3px; | |
| overflow: hidden; | |
| } | |
| .score-bar-fill { | |
| height: 100%; | |
| background: var(--accent); | |
| border-radius: 3px; | |
| } | |
| /* ββ Spinner βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| .spinner { | |
| display: inline-block; | |
| width: 14px; | |
| height: 14px; | |
| border: 2px solid var(--border); | |
| border-top-color: var(--accent); | |
| border-radius: 50%; | |
| animation: spin 0.7s linear infinite; | |
| } | |
| /* ββ Empty state βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .empty { | |
| text-align: center; | |
| padding: 48px 24px; | |
| color: var(--muted); | |
| } | |
| .empty h3 { color: var(--muted); font-size: 1.1rem; margin-bottom: 8px; } | |
| .empty p { font-size: 13px; margin-bottom: 16px; } | |
| /* ββ Modal βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .modal-overlay { | |
| display: none; | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(0,0,0,0.6); | |
| z-index: 200; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .modal-overlay.open { display: flex; } | |
| .modal { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 24px; | |
| width: 480px; | |
| max-width: 95vw; | |
| } | |
| .modal h3 { margin-bottom: 16px; } | |
| .form-group { margin-bottom: 16px; } | |
| .form-group label { | |
| display: block; | |
| font-size: 12px; | |
| color: var(--muted); | |
| margin-bottom: 6px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .form-group select, | |
| .form-group input, | |
| .form-group textarea { | |
| width: 100%; | |
| background: var(--bg); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 8px 12px; | |
| color: var(--text); | |
| font-size: 14px; | |
| font-family: inherit; | |
| } | |
| .form-group textarea { | |
| font-family: var(--font-mono); | |
| font-size: 12px; | |
| resize: vertical; | |
| min-height: 120px; | |
| } | |
| .form-group select:focus, | |
| .form-group input:focus, | |
| .form-group textarea:focus { | |
| outline: none; | |
| border-color: var(--accent); | |
| } | |
| .modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; } | |
| /* ββ Responsive ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @media (max-width: 640px) { | |
| .container { padding: 16px; } | |
| .hero h1 { font-size: 1.75rem; } | |
| .metrics-grid { grid-template-columns: repeat(2, 1fr); } | |
| nav { gap: 12px; padding: 0 16px; } | |
| } | |
| /* ββ Metrics Sections ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .metrics-section { | |
| margin-bottom: 0; | |
| } | |
| .metrics-section + h2 { | |
| margin-top: 8px; | |
| } | |
| /* ββ Horizontal bar visualization ββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .metric-bar { | |
| flex: 1; | |
| height: 8px; | |
| background: var(--border); | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| .metric-bar-fill { | |
| height: 100%; | |
| background: var(--accent); | |
| border-radius: 4px; | |
| transition: width 0.3s ease; | |
| } | |
| /* ββ Stacked bar βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .stacked-bar { | |
| display: flex; | |
| height: 12px; | |
| border-radius: 6px; | |
| overflow: hidden; | |
| background: var(--border); | |
| } | |
| .stacked-bar-segment { | |
| height: 100%; | |
| min-width: 2px; | |
| transition: width 0.3s ease; | |
| } | |
| /* ββ Phase colors ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .phase-exploration { background: var(--accent) ; } | |
| .phase-implementation { background: var(--success) ; } | |
| .phase-testing { background: var(--warning) ; } | |
| .phase-debugging { background: var(--error) ; } | |
| .phase-dot { | |
| display: inline-block; | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| margin-right: 3px; | |
| } | |
| /* Timeline dots with phase colors */ | |
| .timeline-dot.phase-exploration { background: var(--accent); } | |
| .timeline-dot.phase-implementation { background: var(--success); } | |
| .timeline-dot.phase-testing { background: var(--warning); } | |
| .timeline-dot.phase-debugging { background: var(--error); } | |
| /* Phase badges in timeline */ | |
| .phase-badge-exploration { background: rgba(88, 166, 255, 0.15); color: var(--accent); } | |
| .phase-badge-implementation { background: rgba(63, 185, 80, 0.15); color: var(--success); } | |
| .phase-badge-testing { background: rgba(210, 153, 34, 0.15); color: var(--warning); } | |
| .phase-badge-debugging { background: rgba(248, 81, 73, 0.15); color: var(--error); } | |
| /* ββ Tool chart ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .tool-chart { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| } | |
| .tool-chart-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .tool-chart-label { | |
| width: 140px; | |
| font-size: 11px; | |
| color: var(--muted); | |
| flex-shrink: 0; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .tool-chart-count { | |
| width: 28px; | |
| font-size: 11px; | |
| text-align: right; | |
| flex-shrink: 0; | |
| } | |
| /* ββ Score color classes βββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .score-good { color: var(--success); } | |
| .score-warn { color: var(--warning); } | |
| .score-bad { color: var(--error); } | |
| /* Score bar fill color variants */ | |
| .score-bar-fill.fill-success { background: var(--success); } | |
| .score-bar-fill.fill-warning { background: var(--warning); } | |
| .score-bar-fill.fill-error { background: var(--error); } | |
| /* text-warning utility (missing from original) */ | |
| .text-warning { color: var(--warning); } | |
| /* ββ Utility βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .text-muted { color: var(--muted); } | |
| .text-success { color: var(--success); } | |
| .text-error { color: var(--error); } | |
| .text-accent { color: var(--accent); } | |
| .mono { font-family: var(--font-mono); } | |
| .mt-0 { margin-top: 0; } | |
| .mb-16 { margin-bottom: 16px; } | |
| .mb-24 { margin-bottom: 24px; } | |