Spaces:
Running
Running
Download live.css from nonnan/FinRAG-GraphRAG-Demo: direct link, hf CLI and curl.
- Browser
- Download file 3.59 kB
-
https://huggingface.co/spaces/nonnan/FinRAG-GraphRAG-Demo/resolve/main/live.css
- Command line
-
hf download hf://spaces/nonnan/FinRAG-GraphRAG-Demo/live.css
-
curl -L -o live.css https://huggingface.co/spaces/nonnan/FinRAG-GraphRAG-Demo/resolve/main/live.css
3.59 kB
| :root { color-scheme: light; --ink:#172033; --muted:#637083; --line:#d8dee8; --blue:#3158c8; --teal:#087d74; --orange:#c55d0a; --paper:#fff; --wash:#f4f7fb; } | |
| * { box-sizing:border-box; } | |
| body { margin:0; background:var(--wash); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; letter-spacing:0; } | |
| .topbar { display:flex; justify-content:space-between; align-items:center; padding:18px max(24px,calc((100vw - 1120px)/2)); background:#fff; border-bottom:1px solid var(--line); } | |
| .brand,.eyebrow { color:var(--blue); font-size:12px; font-weight:750; text-transform:uppercase; } | |
| h1 { margin:2px 0 0; font-size:22px; } | |
| .topbar a { color:var(--blue); font-weight:700; text-decoration:none; } | |
| main { width:min(1120px,calc(100% - 32px)); margin:26px auto 56px; } | |
| .query-panel { background:var(--paper); border:1px solid var(--line); border-radius:7px; padding:20px; } | |
| .mode-note { display:flex; gap:12px; align-items:baseline; margin-bottom:18px; color:var(--muted); } | |
| .mode-note strong { color:var(--teal); } | |
| label { display:grid; gap:7px; color:#374357; font-size:13px; font-weight:700; } | |
| textarea,select { width:100%; border:1px solid #bbc5d3; border-radius:5px; background:white; color:var(--ink); font:inherit; padding:10px 12px; } | |
| textarea { resize:vertical; font-size:16px; line-height:1.45; } | |
| .controls { display:grid; grid-template-columns:170px minmax(220px,1fr) 170px; gap:14px; align-items:end; margin-top:14px; } | |
| button { height:42px; border:0; border-radius:5px; background:var(--blue); color:white; font-weight:750; cursor:pointer; } | |
| button:disabled { opacity:.55; cursor:wait; } | |
| .status { margin:14px 0 0; color:var(--muted); font-size:13px; } | |
| .trace { display:grid; grid-template-columns:repeat(4,1fr); border-block:1px solid var(--line); margin:24px 0; background:#fff; } | |
| .trace div { display:grid; gap:4px; padding:15px; border-right:1px solid var(--line); min-width:0; } | |
| .trace div:last-child { border-right:0; } | |
| .trace span { color:var(--muted); font-size:12px; } | |
| .trace strong { overflow-wrap:anywhere; } | |
| .results-head { display:flex; justify-content:space-between; align-items:end; margin:26px 0 10px; } | |
| h2 { margin:3px 0 0; font-size:22px; } | |
| #latency { color:var(--muted); font-variant-numeric:tabular-nums; } | |
| .results { display:grid; gap:10px; } | |
| .evidence { display:grid; grid-template-columns:42px 1fr 70px; gap:14px; background:white; border:1px solid var(--line); border-left:4px solid var(--teal); border-radius:6px; padding:15px; } | |
| .rank { display:grid; place-items:center; align-self:start; width:34px; height:34px; border-radius:50%; background:#e8f2ff; color:var(--blue); font-weight:800; } | |
| .meta,.reasons { display:flex; flex-wrap:wrap; gap:6px; } | |
| .meta span,.reasons span { padding:3px 7px; border-radius:3px; background:#edf1f6; color:#4e5b6f; font-size:11px; } | |
| .reasons span { background:#e8f7f5; color:#096c66; } | |
| .evidence h3 { margin:8px 0 4px; font:600 13px ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; } | |
| .evidence p { margin:0 0 10px; color:#303b4c; line-height:1.48; } | |
| .score { text-align:right; color:var(--orange); font-weight:750; font-variant-numeric:tabular-nums; } | |
| .empty { padding:28px; text-align:center; color:var(--muted); background:white; border:1px dashed #bec8d4; } | |
| @media (max-width:720px) { .controls,.trace { grid-template-columns:1fr; } .trace div { border-right:0; border-bottom:1px solid var(--line); } .evidence { grid-template-columns:38px 1fr; } .score { grid-column:2; text-align:left; } .mode-note { align-items:flex-start; flex-direction:column; } } | |