Download web/src/pages/runs/runs.css from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 7.76 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/web/src/pages/runs/runs.css
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/web/src/pages/runs/runs.css
-
curl -L -o runs.css https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/web/src/pages/runs/runs.css
7.76 kB
| /* Test runs (RunsPage.tsx): stat row, then one card with the filters, the table and the pages. Tokens only. */ | |
| /* stat row: four numbers, 2 x 2 under 1024 px, one column under 640 px */ | |
| .rp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); } | |
| @media (max-width: 1023px) { .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } } | |
| @media (max-width: 639px) { .rp-stats { grid-template-columns: minmax(0, 1fr); } } | |
| .rp-stat { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--sep); border-radius: var(--r-lg); background: var(--bg-elev); } | |
| .rp-stat-k { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label-2); } | |
| .rp-stat-i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--r-sm); background: var(--fill); color: var(--label); flex: none; } | |
| .rp-stat[data-tone='green'] .rp-stat-i { background: var(--green-soft); color: var(--green); } | |
| .rp-stat[data-tone='orange'] .rp-stat-i { background: var(--orange-soft); color: var(--orange); } | |
| .rp-stat[data-tone='red'] .rp-stat-i { background: var(--red-soft); color: var(--red); } | |
| .rp-stat-v { font-size: var(--fs-2xl); line-height: var(--lh-2xl); font-weight: var(--fw-semibold); letter-spacing: var(--ls-title); color: var(--label); } | |
| .rp-stat-n { padding-top: var(--sp-2); margin-top: var(--sp-1); border-top: 1px dashed var(--sep); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--label-2); } | |
| .rp-link { padding: 0; border: 0; background: none; font: inherit; color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; } | |
| /* the card: filter bar, table, pages */ | |
| .rp-card { border: 1px solid var(--sep); border-radius: var(--r-lg); background: var(--bg-elev); overflow: hidden; } | |
| .rp-bar { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--sep); row-gap: var(--sp-2); } | |
| .rp-scroll { overflow-x: auto; max-width: 100%; } | |
| .rp-scroll:focus-visible { outline-offset: -2px; } | |
| .rp-table { min-width: 860px; } | |
| .rp-table thead th { background: var(--bg-elev-2); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: var(--fw-medium); color: var(--label-2); white-space: nowrap; } | |
| .rp-table td { font-size: var(--fs-sm); line-height: var(--lh-sm); vertical-align: middle; } | |
| .rp-table tbody tr { cursor: pointer; } | |
| .rp-foot { padding: 0 var(--sp-4) var(--sp-3); } | |
| /* run name: the area square, the title and one quiet line under it */ | |
| .rp-name { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; } | |
| .rp-sq { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--fill-2); color: var(--label); | |
| font-size: var(--fs-2xs); line-height: 1; font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); } | |
| .rp-name-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } | |
| /* one line each: the name, then who started it and the run's id (the full list of areas is the name's tooltip) */ | |
| .rp-table td:first-child { width: 42%; min-width: 300px; max-width: 0; } | |
| .rp-name-t .fpt-runrow-title { font-weight: var(--fw-medium); color: var(--label); text-decoration: none; | |
| white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .rp-name-t .fpt-runrow-title:hover { text-decoration: underline; } | |
| .rp-sub { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--label-2); white-space: nowrap; } | |
| .rp-by { min-width: 0; overflow: hidden; text-overflow: ellipsis; } | |
| .rp-sub .fpt-idpill { flex: none; } | |
| .rp-table td.nw, .rp-acts { white-space: nowrap; } | |
| .rp-acts { text-align: right; width: 1%; } | |
| .rp-acts > * { vertical-align: middle; } | |
| .rp-env { display: inline-flex; align-items: center; gap: var(--sp-1); white-space: nowrap; color: var(--label-2); } | |
| .rp-env[data-kind='practice'] { color: var(--orange); } | |
| /* status: a pill with a dot (word and colour together, never colour alone) */ | |
| .rp-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px var(--sp-2); border-radius: var(--r-pill); font-size: var(--fs-xs); line-height: var(--lh-xs); | |
| font-weight: var(--fw-medium); background: var(--fill); color: var(--label-2); max-width: 260px; } | |
| .rp-status::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } | |
| .rp-status[data-tone='green'] { background: var(--green-soft); color: var(--green); } | |
| .rp-status[data-tone='orange'] { background: var(--orange-soft); color: var(--orange); } | |
| .rp-status[data-tone='red'] { background: var(--red-soft); color: var(--red); } | |
| .rp-status[data-tone='blue'] { background: var(--accent-soft-2); color: var(--label); } | |
| .rp-status[data-pulse]::before { animation: trio-blink 1.4s var(--ease) infinite; } | |
| @media (prefers-reduced-motion: reduce) { .rp-status[data-pulse]::before { animation: none; } } | |
| /* ------------------------------------------------------------------ run groups (Testomat-style): one group per patch */ | |
| .rg-card { padding: 0; overflow: hidden; } | |
| .rg-bar-top { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--sep); } | |
| .rg-table { --table-vertical-spacing: 10px; } | |
| html body .rg-table .mantine-Table-th { background: var(--bg-elev-2); height: 34px; } | |
| .rg-c-dot { width: 22px; padding-right: 0 ; } | |
| .rg-group > td { background: var(--bg-elev-2); border-top: 1px solid var(--sep); padding: 0 ; } | |
| .rg-group-row { display: flex; align-items: center; gap: var(--sp-3); min-height: 44px; padding: 0 var(--sp-4); } | |
| .rg-group-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 4px 0; cursor: pointer; | |
| font: 700 13.5px var(--font); color: var(--label); } | |
| .rg-group-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; } | |
| .rg-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--fill); color: var(--label-2); | |
| font-size: 11.5px; font-weight: 600; } | |
| .rg-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--fill-2); min-width: 120px; } | |
| .rg-bar i { display: block; height: 100%; } | |
| .rg-bar i[data-k='pass'] { background: var(--green-dot); } | |
| .rg-bar i[data-k='fail'] { background: var(--red-dot); } | |
| .rg-bar i[data-k='skip'] { background: var(--status-idle); } | |
| .rg-bar-group { margin-left: auto; width: 280px; flex: 0 0 280px; } | |
| .rg-row { cursor: pointer; } | |
| .rg-row:hover > td { background: var(--accent-soft); } | |
| .rg-dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--status-idle); } | |
| .rg-dot[data-tone='green'] { background: var(--green-dot); } | |
| .rg-dot[data-tone='red'] { background: var(--red-dot); } | |
| .rg-dot[data-tone='orange'] { background: var(--orange-dot); } | |
| .rg-dot[data-tone='blue'] { background: var(--violet-strong); } | |
| .rg-dot[data-pulse] { box-shadow: 0 0 0 4px var(--accent-soft-2); } | |
| .rg-title { display: block; font-weight: 700; color: var(--label); text-decoration: none; } | |
| .rg-title:hover { text-decoration: underline; text-underline-offset: 2px; } | |
| .rg-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 3px; } | |
| .rg-muted { color: var(--label-3); font-size: var(--fs-xs); } | |
| .rg-by { color: var(--label-2); } | |
| .rg-res { display: flex; flex-direction: column; gap: 5px; min-width: 190px; } | |
| .rg-res b { font-weight: 700; } | |
| .rg-res b[data-k='pass'] { color: var(--green); } | |
| .rg-res b[data-k='fail'] { color: var(--red); } | |