Download web/src/styles/50-run-polish.css from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 8.35 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/web/src/styles/50-run-polish.css
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/web/src/styles/50-run-polish.css
-
curl -L -o 50-run-polish.css https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/web/src/styles/50-run-polish.css
8.35 kB
| /* The test run page, polished (the reviewed design: one alignment line for the four steps, one button system, the | |
| top bar and the panel's tab bar at one height). Reading type (Inter, sentence case) on this page, as on Home. | |
| Loaded last; `html body .fpt-ws` keeps every rule to the run page. Tokens only. */ | |
| /* ---- type: the run's title and its steps */ | |
| html body .fpt-ws .trio-rhead h1 { font-family: var(--font); font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em; } | |
| html body .fpt-ws .trio-st h2 { font-family: var(--font); font-size: var(--fs-md); line-height: 22px; font-weight: var(--fw-semibold); letter-spacing: -0.005em; } | |
| html body .fpt-ws .trio-stage[data-mark='todo'] .trio-st h2 { color: var(--label-3); } | |
| html body .fpt-ws .fpt-stage h3, html body .fpt-ws .trio-card-h { font-family: var(--font); font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; } | |
| /* ---- the step markers: rounded squares on one 32px column, a soft halo on the current one */ | |
| html body .fpt-ws .trio-marker { border-radius: 9px; font-size: var(--fs-sm); background: var(--bg-elev); color: var(--label-3); box-shadow: inset 0 0 0 1.5px var(--sep-strong); } | |
| html body .fpt-ws .trio-stage[data-mark='done'] .trio-marker { background: var(--green-dot); color: #fff; box-shadow: none; } | |
| html body .fpt-ws .trio-stage[data-mark='stop'] .trio-marker { background: var(--red-dot); color: #fff; box-shadow: 0 0 0 4px var(--red-soft); } | |
| html body .fpt-ws .trio-stage[data-mark='cur'] .trio-marker { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 4px var(--accent-soft-2); } | |
| html body .fpt-ws .trio-stage[data-mark='cur'][data-wait] .trio-marker { background: var(--orange-dot); color: #fff; box-shadow: 0 0 0 4px var(--orange-soft); } | |
| html body .fpt-ws .trio-rail::after { width: 2px; border-radius: 1px; } | |
| /* ---- "Waiting for you" and other tags: a soft label in sentence case, not capitals */ | |
| html body .fpt-ws .trio-tag { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: var(--fw-semibold); | |
| height: 20px; padding: 0 8px; border: 0; border-radius: 6px; background: var(--fill); } | |
| html body .fpt-ws .trio-tag[data-tone='orange'] { background: var(--orange-soft); color: var(--orange); border: 0; } | |
| /* ---- the current step's card */ | |
| html body .fpt-ws .fpt-stage { border-radius: 12px; padding: 20px; border: 1px solid var(--sep); box-shadow: none; } | |
| html body .fpt-ws .fpt-stage[data-stage='approve'], html body .fpt-ws .fpt-stage[data-stage='judge'] { border-color: var(--orange-line); box-shadow: none; } | |
| html body .fpt-ws .fpt-stage[data-stage='stopped'] { border-color: var(--red-line); box-shadow: none; } | |
| html body .fpt-ws .fpt-stage .trio-lede { color: var(--label-2); font-size: var(--fs-base); line-height: 21px; max-width: 64ch; } | |
| /* ---- buttons on this page: one height, reading type; the dark primary stands alone */ | |
| html body .fpt-ws .mantine-Button-label { font-family: var(--font); text-transform: none; letter-spacing: -0.003em; font-size: var(--fs-base); } | |
| html body .fpt-ws .fpt-stage .mantine-Button-root, html body .fpt-ws .trio-acts .mantine-Button-root { min-height: 40px; height: auto; border-radius: var(--r-md); padding-inline: 16px; | |
| display: inline-flex; align-items: center; justify-content: center; } /* a link-button centres its label like a button */ | |
| html body .fpt-ws .fpt-stage .mantine-Button-root[data-variant='filled'] .mantine-Button-label { font-weight: var(--fw-semibold); } | |
| html body .fpt-ws .fpt-stage .mantine-Button-root[data-variant='subtle'], | |
| html body .fpt-ws .fpt-stage .mantine-Button-root[data-variant='default'] { border: 1px solid var(--sep-strong); background: var(--bg-elev); color: var(--label); } | |
| html body .fpt-ws .pw-topbar .mantine-Button-root { height: 32px; min-height: 32px; border-radius: var(--r-md); } | |
| /* ---- the run's facts under its title: pills of one height */ | |
| html body .fpt-ws .trio-meta .trio-chip, html body .fpt-ws .trio-meta .fpt-idpill, html body .fpt-ws .trio-meta .fpt-envbadge { height: 24px; border-radius: 12px; display: inline-flex; align-items: center; font-size: 12.5px; } | |
| /* ---- the details panel: its tab bar at the top bar's height, tabs as a segmented control in reading type */ | |
| html body .fpt-ws .fpt-panel-head { min-height: 56px; box-sizing: border-box; display: flex; align-items: center; } | |
| html body .fpt-ws .fpt-panel-head .mantine-Tabs-tab { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; } | |
| /* ================================================================== Paper and Ink, after Testomat.io's run report */ | |
| /* the run's header above its views */ | |
| html body .fpt-ws .rw-head { display: flex; flex-direction: column; gap: 6px; padding: 14px 24px 12px; background: var(--bg-elev); border-bottom: 1px solid var(--sep); } | |
| html body .fpt-ws .rw-crumb { display: flex; gap: 6px; font-size: var(--fs-xs); color: var(--label-3); } | |
| html body .fpt-ws .rw-crumb a { color: var(--label-3); text-decoration: none; } | |
| html body .fpt-ws .rw-crumb a:hover { color: var(--accent-text); text-decoration: underline; } | |
| html body .fpt-ws .rw-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; } | |
| html body .fpt-ws .rw-title b { font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -0.02em; } | |
| html body .fpt-ws .rw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-xs); color: var(--label-3); } | |
| html body .fpt-ws .rw-res { display: inline-flex; align-items: center; gap: 10px; color: var(--label-2); } | |
| html body .fpt-ws .rw-res b { font-weight: 700; } | |
| html body .fpt-ws .rw-res b[data-k='pass'] { color: var(--green); } | |
| html body .fpt-ws .rw-res b[data-k='fail'] { color: var(--red); } | |
| html body .fpt-ws .rw-bar { width: 260px; min-width: 0; } | |
| /* the views of the run as underline tabs on a white bar */ | |
| html body .fpt-ws .fpt-detail-head { background: var(--bg-elev); border-bottom: 1px solid var(--sep); padding: 0 16px; min-height: 44px; box-shadow: none; } | |
| html body .fpt-ws .fpt-detail-head .fpt-navtabs { background: transparent; padding: 0; gap: 2px; border-radius: 0; box-shadow: none; } | |
| html body .fpt-ws .fpt-detail-head .fpt-navtab { height: 44px; padding: 0 12px; border-radius: 0; background: transparent; box-shadow: none; color: var(--label-3); | |
| font-weight: 600; border-bottom: 2px solid transparent; } | |
| html body .fpt-ws .fpt-detail-head .fpt-navtab:hover { color: var(--label); background: transparent; } | |
| html body .fpt-ws .fpt-detail-head .fpt-navtab[aria-current='page'] { color: var(--label); border-bottom-color: var(--label); background: transparent; box-shadow: none; } | |
| /* scenario groups: one continuous list, a header row per process step */ | |
| html body .fpt-ws .rv-groups { display: flex; flex-direction: column; gap: 0; background: var(--bg-elev); border-radius: var(--r-lg); box-shadow: var(--sh-card); overflow: hidden; } | |
| html body .fpt-ws .rv-groups .mantine-Accordion-item { border: 0; border-top: 1px solid var(--sep); border-radius: 0; margin: 0; background: transparent; } | |
| html body .fpt-ws .rv-groups .mantine-Accordion-item:first-child { border-top: 0; } | |
| html body .fpt-ws .rv-step-head { background: var(--bg-elev-2); min-height: 44px; } | |
| html body .fpt-ws .rv-step-head .mantine-Accordion-control { min-height: 44px; padding-block: 0; background: transparent; } | |
| html body .fpt-ws .rv-groups .mantine-Accordion-content { padding: 0; } | |
| html body .fpt-ws .fpt-srow { border-top: 1px solid var(--fill-2); } | |
| html body .fpt-ws .fpt-srow:hover { background: var(--accent-soft); } | |
| /* the details panel: white, its views as underline tabs */ | |
| html body .fpt-panel-head { background: var(--bg-elev); border-bottom: 1px solid var(--sep); } | |
| html body .fpt-panel-tablist { background: transparent ; box-shadow: none ; padding: 0 ; gap: 2px; } | |
| html body .fpt-panel-tablist .mantine-Tabs-tab { height: 44px; border-radius: 0; background: transparent ; box-shadow: none ; color: var(--label-3); | |
| font-weight: 600; border-bottom: 2px solid transparent; } | |
| html body .fpt-panel-tablist .mantine-Tabs-tab[data-active] { color: var(--label); border-bottom-color: var(--label); } | |