Spaces:
Runtime error
Runtime error
Download static/css/eval.css from VashuTheGreat2/Multi-Rag: direct link, hf CLI and curl.
- Browser
- Download file 13.9 kB
-
https://huggingface.co/spaces/VashuTheGreat2/Multi-Rag/resolve/main/static/css/eval.css
- Command line
-
hf download hf://spaces/VashuTheGreat2/Multi-Rag/static/css/eval.css
-
curl -L -o eval.css https://huggingface.co/spaces/VashuTheGreat2/Multi-Rag/resolve/main/static/css/eval.css
13.9 kB
| body { | |
| width: auto; | |
| min-width: 320px; | |
| height: auto; | |
| min-height: 100vh; | |
| overflow: auto; | |
| background: | |
| radial-gradient(ellipse at 92% 4%, rgba(13, 148, 136, 0.11), transparent 34rem), | |
| linear-gradient(145deg, var(--bg-app), #121816 70%); | |
| } | |
| .eval-page { | |
| min-height: 100vh; | |
| color: var(--text-primary); | |
| } | |
| .eval-topbar { | |
| height: 64px; | |
| padding: 0 clamp(20px, 5vw, 76px); | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| border-bottom: 1px solid var(--border-subtle); | |
| background: rgba(14, 12, 11, 0.78); | |
| } | |
| .eval-brand, | |
| .back-link { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 10px; | |
| color: var(--text-primary); | |
| text-decoration: none; | |
| font-size: 13px; | |
| font-weight: 600; | |
| } | |
| .brand-mark { | |
| display: grid; | |
| place-items: center; | |
| width: 30px; | |
| height: 30px; | |
| border-radius: 7px; | |
| background: #d97706; | |
| color: #17110b; | |
| font: 700 11px var(--font-mono); | |
| } | |
| .brand-divider { | |
| color: var(--text-muted); | |
| padding: 0 3px; | |
| } | |
| .back-link { | |
| color: var(--text-secondary); | |
| transition: color var(--transition-fast); | |
| } | |
| .back-link:hover { | |
| color: var(--accent-amber); | |
| } | |
| .eval-content { | |
| width: min(1180px, calc(100% - 48px)); | |
| margin: 0 auto; | |
| } | |
| .eval-heading { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-end; | |
| gap: 24px; | |
| padding: 58px 0 38px; | |
| animation: rise-in 420ms ease both; | |
| } | |
| .eyebrow { | |
| color: #56b9a7; | |
| font: 600 10px/1.4 var(--font-mono); | |
| letter-spacing: 1.1px; | |
| } | |
| .eyebrow span { | |
| color: var(--text-muted); | |
| padding: 0 4px; | |
| } | |
| .eval-heading h1 { | |
| margin-top: 9px; | |
| font-size: clamp(30px, 4vw, 43px); | |
| line-height: 1.12; | |
| font-weight: 600; | |
| } | |
| .heading-copy { | |
| margin-top: 11px; | |
| color: var(--text-secondary); | |
| font-size: 14px; | |
| } | |
| .run-stamp { | |
| display: flex; | |
| align-items: center; | |
| gap: 9px; | |
| padding: 10px 12px; | |
| white-space: nowrap; | |
| color: var(--text-secondary); | |
| background: rgba(34, 28, 24, 0.75); | |
| border: 1px solid var(--border-main); | |
| border-radius: 6px; | |
| font: 500 11px var(--font-mono); | |
| } | |
| .run-indicator { | |
| width: 7px; | |
| height: 7px; | |
| background: #46bd91; | |
| border-radius: 50%; | |
| box-shadow: 0 0 10px rgba(70, 189, 145, 0.45); | |
| } | |
| .stamp-divider { | |
| color: var(--text-muted); | |
| } | |
| .metrics-section, | |
| .samples-section, | |
| .guardrails-section { | |
| margin-bottom: 54px; | |
| animation: rise-in 480ms ease both; | |
| } | |
| .samples-section { animation-delay: 80ms; } | |
| .guardrails-section { animation-delay: 120ms; } | |
| .section-heading { | |
| display: flex; | |
| align-items: flex-end; | |
| justify-content: space-between; | |
| gap: 20px; | |
| margin-bottom: 17px; | |
| } | |
| .section-heading h2 { | |
| display: flex; | |
| align-items: center; | |
| gap: 11px; | |
| margin-top: 5px; | |
| font-size: 20px; | |
| font-weight: 600; | |
| } | |
| .source-label { | |
| color: var(--text-muted); | |
| font: 10px var(--font-mono); | |
| } | |
| .matrix-legend { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 10px 19px; | |
| margin: -2px 0 12px; | |
| color: var(--text-secondary); | |
| font-size: 10px; | |
| } | |
| .matrix-legend span { display: inline-flex; align-items: center; gap: 6px; } | |
| .matrix-legend b { color: var(--text-muted); font: 10px var(--font-mono); } | |
| .legend-dot { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| } | |
| .score-low { --score-ink: #ff817d; --score-wash: rgba(207, 63, 66, 0.2); --score-edge: rgba(255, 112, 108, 0.3); } | |
| .score-mid { --score-ink: #f1ca64; --score-wash: rgba(183, 137, 35, 0.2); --score-edge: rgba(241, 202, 100, 0.28); } | |
| .score-high { --score-ink: #66d6a0; --score-wash: rgba(35, 145, 98, 0.2); --score-edge: rgba(102, 214, 160, 0.28); } | |
| .legend-dot.score-low { background: #f16663; } | |
| .legend-dot.score-mid { background: #e6bd52; } | |
| .legend-dot.score-high { background: #50c88e; } | |
| .matrix-scroll { | |
| overflow: auto; | |
| max-height: 620px; | |
| border: 1px solid var(--border-main); | |
| border-radius: 6px; | |
| background: rgba(20, 17, 15, 0.84); | |
| } | |
| .score-matrix { | |
| width: 100%; | |
| min-width: 1120px; | |
| border-collapse: separate; | |
| border-spacing: 0; | |
| text-align: center; | |
| } | |
| .score-matrix th, | |
| .score-matrix td { | |
| padding: 11px 9px; | |
| border-right: 1px solid var(--border-subtle); | |
| border-bottom: 1px solid var(--border-subtle); | |
| } | |
| .score-matrix thead th { | |
| position: sticky; | |
| top: 0; | |
| z-index: 3; | |
| background: #241e19; | |
| color: var(--text-secondary); | |
| font: 600 10px/1.35 var(--font-mono); | |
| } | |
| .score-matrix thead th:first-child { | |
| left: 0; | |
| z-index: 5; | |
| min-width: 340px; | |
| text-align: left; | |
| } | |
| .score-matrix thead th:last-child, | |
| .score-matrix tbody td:last-child, | |
| .score-matrix tfoot td:last-child { border-right: 0; } | |
| .score-matrix tbody tr:hover td, | |
| .score-matrix tbody tr:hover .question-cell { background-color: #211c18; } | |
| .score-matrix tbody td { background: rgba(27, 22, 19, 0.66); } | |
| .score-matrix .question-cell { | |
| position: sticky; | |
| left: 0; | |
| z-index: 2; | |
| width: 340px; | |
| min-width: 340px; | |
| background: #1b1613; | |
| text-align: left; | |
| font-weight: 400; | |
| } | |
| .question-number { | |
| float: left; | |
| width: 27px; | |
| padding-top: 1px; | |
| color: #d59b52; | |
| font: 10px var(--font-mono); | |
| } | |
| .question-text { | |
| display: block; | |
| margin-left: 27px; | |
| color: var(--text-primary); | |
| font-size: 11px; | |
| font-weight: 500; | |
| line-height: 1.45; | |
| } | |
| .question-cell .domain-tag { | |
| display: inline-block; | |
| margin: 6px 0 0 27px; | |
| padding: 2px 5px; | |
| font-size: 9px; | |
| } | |
| .score-chip { | |
| display: inline-block; | |
| min-width: 54px; | |
| padding: 5px 6px; | |
| border: 1px solid var(--score-edge); | |
| border-radius: 4px; | |
| background: var(--score-wash); | |
| color: var(--score-ink); | |
| font: 600 11px var(--font-mono); | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .score-missing { --score-ink: var(--text-muted); --score-wash: rgba(115, 101, 89, 0.12); --score-edge: var(--border-subtle); } | |
| .average-column { background: #30271f ; color: #f0c77b ; } | |
| .average-cell { background: rgba(44, 35, 27, 0.7) ; } | |
| .trace-link { | |
| color: #70c4b1; | |
| font: 10px var(--font-mono); | |
| text-decoration: none; | |
| } | |
| .trace-link:hover { color: #a0e3d3; text-decoration: underline; } | |
| .score-matrix tfoot th, | |
| .score-matrix tfoot td { | |
| position: sticky; | |
| bottom: 0; | |
| z-index: 2; | |
| background: #30271f; | |
| border-bottom: 0; | |
| } | |
| .score-matrix tfoot th { | |
| left: 0; | |
| z-index: 4; | |
| color: #f0c77b; | |
| text-align: left; | |
| font-size: 11px; | |
| } | |
| .score-matrix tfoot .average-cell { background: #3a3025 ; } | |
| .average-note { color: var(--text-muted); font: 9px var(--font-mono); white-space: nowrap; } | |
| .mini-track { | |
| height: 4px; | |
| background: #342b25; | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| .mini-track i { | |
| display: block; | |
| height: 100%; | |
| background: linear-gradient(90deg, #d97706, #45b89d); | |
| border-radius: inherit; | |
| } | |
| .count-badge { | |
| display: inline-grid; | |
| place-items: center; | |
| min-width: 23px; | |
| height: 22px; | |
| padding: 0 6px; | |
| border: 1px solid var(--border-main); | |
| border-radius: 4px; | |
| color: var(--text-secondary); | |
| font: 11px var(--font-mono); | |
| } | |
| .sample-list { | |
| border-top: 1px solid var(--border-main); | |
| } | |
| .sample-row { | |
| border-bottom: 1px solid var(--border-main); | |
| background: rgba(27, 22, 19, 0.46); | |
| } | |
| .sample-row[open] { | |
| background: rgba(27, 22, 19, 0.78); | |
| } | |
| .sample-row summary { | |
| min-height: 64px; | |
| display: grid; | |
| grid-template-columns: 44px minmax(0, 1fr) max-content 24px; | |
| align-items: center; | |
| gap: 14px; | |
| padding: 11px 15px; | |
| cursor: pointer; | |
| list-style: none; | |
| } | |
| .sample-row summary::-webkit-details-marker { display: none; } | |
| .sample-index { | |
| color: #d59b52; | |
| font: 11px var(--font-mono); | |
| } | |
| .sample-question { | |
| font-size: 13px; | |
| font-weight: 500; | |
| line-height: 1.45; | |
| } | |
| .domain-tag, | |
| .type-tag { | |
| width: fit-content; | |
| padding: 4px 7px; | |
| border: 1px solid var(--border-main); | |
| border-radius: 4px; | |
| color: var(--text-secondary); | |
| font: 10px var(--font-mono); | |
| text-transform: capitalize; | |
| } | |
| .disclosure { | |
| color: var(--text-muted); | |
| font: 18px var(--font-mono); | |
| text-align: center; | |
| transition: transform var(--transition-fast); | |
| } | |
| .sample-row[open] .disclosure { transform: rotate(45deg); } | |
| .sample-detail { | |
| padding: 0 20px 24px 73px; | |
| animation: reveal 180ms ease both; | |
| } | |
| .sample-metrics { | |
| display: grid; | |
| grid-template-columns: repeat(5, minmax(0, 1fr)); | |
| gap: 12px; | |
| padding: 15px 0 19px; | |
| border-top: 1px solid var(--border-subtle); | |
| } | |
| .sample-metric { | |
| display: grid; | |
| grid-template-columns: 1fr auto; | |
| align-items: center; | |
| gap: 8px; | |
| color: var(--text-secondary); | |
| font-size: 10px; | |
| } | |
| .sample-metric strong { | |
| color: var(--text-primary); | |
| font: 12px var(--font-mono); | |
| } | |
| .sample-metric .missing-score { color: var(--text-muted); } | |
| .mini-track { grid-column: 1 / -1; height: 3px; } | |
| .evidence-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 22px; | |
| } | |
| .evidence-block, | |
| .contexts-block { | |
| padding-top: 14px; | |
| border-top: 2px solid #80613d; | |
| } | |
| .answer-block { border-color: #347d70; } | |
| .evidence-block h3, | |
| .contexts-block h3 { | |
| margin-bottom: 8px; | |
| color: var(--text-secondary); | |
| font: 600 10px var(--font-mono); | |
| text-transform: uppercase; | |
| letter-spacing: 0.6px; | |
| } | |
| .evidence-block p, | |
| .contexts-block li, | |
| .empty-context { | |
| color: var(--text-primary); | |
| font-size: 12px; | |
| line-height: 1.7; | |
| white-space: pre-wrap; | |
| overflow-wrap: anywhere; | |
| } | |
| .contexts-block { margin-top: 20px; border-color: #526e69; } | |
| .contexts-block h3 { | |
| display: flex; | |
| justify-content: space-between; | |
| } | |
| .contexts-block h3 span { | |
| color: var(--text-muted); | |
| font-weight: 400; | |
| text-transform: none; | |
| letter-spacing: 0; | |
| } | |
| .contexts-block ol { | |
| display: grid; | |
| gap: 9px; | |
| padding-left: 20px; | |
| } | |
| .contexts-block li { padding-left: 5px; } | |
| .guardrail-summary { | |
| display: grid; | |
| grid-template-columns: repeat(4, minmax(0, 1fr)); | |
| margin-bottom: 17px; | |
| border: 1px solid var(--border-main); | |
| border-radius: 6px; | |
| background: rgba(27, 22, 19, 0.75); | |
| } | |
| .guardrail-summary div { | |
| display: flex; | |
| align-items: baseline; | |
| gap: 10px; | |
| padding: 13px 16px; | |
| border-right: 1px solid var(--border-subtle); | |
| } | |
| .guardrail-summary div:last-child { border: 0; } | |
| .guardrail-summary strong { font: 600 19px var(--font-mono); color: #68c4a4; } | |
| .guardrail-summary div:nth-child(n+3) strong { color: #e6a16c; } | |
| .guardrail-summary span { color: var(--text-secondary); font-size: 11px; } | |
| .pass-rate { color: #6bc7a6; font: 500 11px var(--font-mono); } | |
| .table-scroll { | |
| overflow-x: auto; | |
| border: 1px solid var(--border-main); | |
| border-radius: 6px; | |
| } | |
| .guardrail-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| min-width: 760px; | |
| text-align: left; | |
| } | |
| .guardrail-table th { | |
| padding: 11px 12px; | |
| background: rgba(34, 28, 24, 0.9); | |
| color: var(--text-muted); | |
| font: 10px var(--font-mono); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .guardrail-table td { | |
| padding: 11px 12px; | |
| border-top: 1px solid var(--border-subtle); | |
| color: var(--text-secondary); | |
| font-size: 11px; | |
| vertical-align: top; | |
| } | |
| .guardrail-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); } | |
| .guardrail-table .case-id { color: #d59b52; font: 11px var(--font-mono); } | |
| .guardrail-input { min-width: 280px; color: var(--text-primary) ; } | |
| .result-tag { | |
| display: inline-block; | |
| padding: 3px 6px; | |
| border-radius: 3px; | |
| background: rgba(70, 189, 145, 0.13); | |
| color: #76d0ae; | |
| font: 10px var(--font-mono); | |
| } | |
| .result-fp, | |
| .result-fn { background: rgba(228, 129, 83, 0.14); color: #f0a27d; } | |
| .empty-state { padding: 24px; color: var(--text-muted); text-align: center; } | |
| .eval-footer { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 16px; | |
| padding: 20px 0 28px; | |
| border-top: 1px solid var(--border-subtle); | |
| color: var(--text-muted); | |
| font: 10px var(--font-mono); | |
| } | |
| @keyframes rise-in { | |
| from { opacity: 0; transform: translateY(9px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| @keyframes reveal { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| @media (max-width: 900px) { | |
| .sample-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } | |
| } | |
| @media (max-width: 620px) { | |
| .eval-topbar { height: 56px; padding: 0 16px; } | |
| .eval-content { width: min(100% - 32px, 520px); } | |
| .eval-heading { align-items: flex-start; flex-direction: column; padding: 38px 0 27px; } | |
| .eval-heading h1 { font-size: 30px; } | |
| .heading-copy { max-width: 38ch; font-size: 13px; } | |
| .run-stamp { white-space: normal; flex-wrap: wrap; font-size: 10px; } | |
| .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; } | |
| .matrix-legend { gap: 8px 13px; } | |
| .matrix-scroll { max-height: 560px; } | |
| .sample-row summary { grid-template-columns: 30px minmax(0, 1fr) 20px; gap: 9px; padding: 12px 10px; } | |
| .sample-question { font-size: 12px; } | |
| .domain-tag { grid-column: 2; grid-row: 2; } | |
| .disclosure { grid-column: 3; grid-row: 1 / 3; } | |
| .sample-detail { padding: 0 12px 18px; } | |
| .sample-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 9px; } | |
| .evidence-grid { grid-template-columns: 1fr; gap: 17px; } | |
| .guardrail-summary { grid-template-columns: repeat(2, 1fr); } | |
| .guardrail-summary div:nth-child(2) { border-right: 0; } | |
| .guardrail-summary div:nth-child(n+3) { border-top: 1px solid var(--border-subtle); } | |
| .pass-rate { display: block; } | |
| .eval-footer { flex-direction: column; overflow-wrap: anywhere; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { animation-duration: 0.01ms ; transition-duration: 0.01ms ; } | |
| } |