Download web/src/pages/import-cases.css from EnergyVenom/patch-testing-coworker: direct link, hf CLI and curl.
- Browser
- Download file 5.5 kB
-
https://huggingface.co/spaces/EnergyVenom/patch-testing-coworker/resolve/main/web/src/pages/import-cases.css
- Command line
-
hf download hf://spaces/EnergyVenom/patch-testing-coworker/web/src/pages/import-cases.css
-
curl -L -o import-cases.css https://huggingface.co/spaces/EnergyVenom/patch-testing-coworker/resolve/main/web/src/pages/import-cases.css
5.5 kB
| /* "Bring your own test cases" (ImportCasesPage.tsx): a numbered guide like the run guide. Tokens only. */ | |
| .ic-guide { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); } | |
| .ic-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: var(--sp-4); padding-bottom: var(--sp-6); position: relative; } | |
| .ic-step:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 1px; background: var(--sep-strong); } | |
| .ic-step-n { width: 32px; height: 32px; border-radius: var(--r-md); display: grid; place-items: center; font-weight: var(--fw-semibold); | |
| font-family: var(--font-display-mono, var(--mono)); font-size: var(--fs-sm); background: var(--fill); color: var(--label-2); } | |
| .ic-step[data-state='current'] .ic-step-n { background: var(--accent); color: var(--on-accent); } | |
| .ic-step[data-state='done'] .ic-step-n { background: var(--green-soft); color: var(--green); } | |
| .ic-step-body { min-width: 0; } | |
| .ic-step-body > h2 { margin: 4px 0 var(--sp-2); font-size: var(--fs-lg); line-height: var(--lh-lg); } | |
| .ic-step[data-state='todo'] .ic-step-body > h2 { color: var(--label-2); } | |
| .ic-lede { margin: 0 0 var(--sp-3); color: var(--label-2); font-size: var(--fs-base); line-height: var(--lh-base); max-width: 72ch; } | |
| .ic-link { color: var(--accent-text); text-decoration: underline; font-size: inherit; } | |
| .ic-panel { padding-top: var(--sp-3); } | |
| .ic-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-1); min-height: 140px; | |
| padding: var(--sp-6) var(--sp-4); border: 1.5px dashed var(--sep-strong); border-radius: var(--r-lg); background: var(--bg-elev-2); | |
| color: var(--label-2); text-align: center; cursor: pointer; transition: border-color var(--d1) var(--ease), background var(--d1) var(--ease); } | |
| .ic-drop:hover, .ic-drop[data-drag] { border-color: var(--accent); background: var(--fill); } | |
| .ic-drop:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; } | |
| .ic-drop span { color: var(--label); font-size: var(--fs-base); } | |
| .ic-drop small { font-size: var(--fs-xs); } | |
| .ic-template { display: inline-flex; align-items: center; gap: var(--sp-1); margin-top: var(--sp-2); font-size: var(--fs-sm); } | |
| .ic-mono { font-family: var(--mono); font-size: var(--fs-sm) ; } | |
| .ic-presence { display: flex; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-3); font-size: var(--fs-base); color: var(--label-2); } | |
| .ic-presence b { color: var(--label); font-weight: var(--fw-semibold); } | |
| .ic-errors ul, .ic-warn { margin: 0; padding-left: var(--sp-5); } | |
| .ic-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: var(--sp-3); } | |
| .ic-case { padding: var(--sp-3) var(--sp-4); } | |
| .ic-case-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); } | |
| .ic-case-head h3 { margin: 0; flex: 1 1 200px; font-size: var(--fs-base); line-height: var(--lh-base); font-weight: var(--fw-semibold); } | |
| .ic-steps { margin: 0; padding-left: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-1); font-size: var(--fs-sm); line-height: var(--lh-sm); } | |
| .ic-steps li span { display: block; } | |
| .ic-expect { color: var(--label-2); } | |
| .ic-warn { margin-top: var(--sp-2); color: var(--orange); font-size: var(--fs-xs); } | |
| .ic-pod { flex: 1 1 220px; max-width: 360px; } | |
| .ic-status { margin-top: var(--sp-3); } | |
| .ic-rows { list-style: none; margin: 0 0 var(--sp-2); padding: 0; border: 1px solid var(--sep); border-radius: var(--r-lg); background: var(--bg-elev); } | |
| .ic-row { padding: var(--sp-3) var(--sp-4); } | |
| .ic-row + .ic-row { border-top: 1px solid var(--sep); } | |
| .ic-row-main { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; } | |
| .ic-row-title { flex: 1 1 200px; min-width: 0; font-size: var(--fs-base); overflow-wrap: anywhere; } | |
| .ic-row-fail { margin: var(--sp-2) 0 0 30px; color: var(--red); font-size: var(--fs-sm); } | |
| .ic-row-note { margin: var(--sp-2) 0 0 30px; color: var(--label-2); font-size: var(--fs-sm); } | |
| .ic-preview-toggle { display: inline-flex; align-items: center; gap: var(--sp-1); margin: var(--sp-2) 0 0 30px; font-size: var(--fs-sm); color: var(--accent-text); } | |
| .ic-preview-toggle svg { transition: transform var(--d1) var(--ease); } | |
| .ic-preview-toggle svg[data-open] { transform: rotate(180deg); } | |
| .ic-preview { margin: var(--sp-2) 0 0 30px; padding: var(--sp-3); max-height: 320px; overflow: auto; border-radius: var(--r-md); background: var(--bg-elev-2); | |
| border: 1px solid var(--sep); font-family: var(--mono); font-size: var(--fs-xs); line-height: var(--lh-xs); white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .ic-run { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); | |
| padding: var(--sp-3) var(--sp-4); border: 1px solid var(--sep); border-radius: var(--r-lg); background: var(--bg-elev-2); } | |
| @media (max-width: 767px) { | |
| .ic-step { grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--sp-3); } | |
| .ic-step-n { width: 28px; height: 28px; } | |
| .ic-step:not(:last-child)::before { left: 13px; } | |
| .ic-row-fail, .ic-row-note, .ic-preview-toggle, .ic-preview { margin-left: 0; } | |
| .ic-pod { max-width: none; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { .ic-preview-toggle svg { transition: none; } } | |