Spaces:
Paused
Paused
Download web/src/ai-agent/aiAgent.css from aios-loopable/cfo-os: direct link, hf CLI and curl.
- Browser
- Download file 6.26 kB
-
https://huggingface.co/spaces/aios-loopable/cfo-os/resolve/main/web/src/ai-agent/aiAgent.css
- Command line
-
hf download hf://spaces/aios-loopable/cfo-os/web/src/ai-agent/aiAgent.css
-
curl -L -o aiAgent.css https://huggingface.co/spaces/aios-loopable/cfo-os/resolve/main/web/src/ai-agent/aiAgent.css
6.26 kB
| /* --------------------------------------------------------------------------- | |
| ai-agent/aiAgent.css β the AI agent module's own stylesheet | |
| (WAVE 33, owner item 7, ruling R3). | |
| Shipped BESIDE its component, following `query/query.css` and the | |
| `FormInterface.css` / `SwipeView.css` precedent, rather than added to | |
| `index.css` β which is B's file this wave (contract C4). Vite carries the | |
| import; the node shim in `verify_ui` already stubs a CSS require for exactly | |
| this shape. | |
| Deliberately shaped like the Query page it sits beside: same page padding, | |
| same card surfaces, same title scale. The two are the same kind of thing β | |
| describe something in words, read what came back before it is committed β and | |
| a person should not have to learn two layouts to do it. | |
| β EVERY FONT SIZE IS A `--lp-fs-*` TOKEN AND EVERY COLOUR A `--lp-*` TOKEN. | |
| Wave-21 R5 is gated over every stylesheet under src, not just index.css, and | |
| one literal here reds `web_ui` for the whole tree. | |
| β NO EMOJIS AND NO ALL-CAPS CHROME (DESIGN.md R6). | |
| ββ AND NOTHING IN THIS COMMENT MAY CONTAIN THE TWO CHARACTERS THAT CLOSE IT. | |
| A path glob written out in a sibling stylesheet's header spelled the | |
| terminator, the comment ended mid-sentence, and `lightningcss` then died on | |
| the first backtick after it. `tsc` passed and vite transformed every module; | |
| the failure surfaced in the MINIFIER, nowhere near its cause. | |
| --------------------------------------------------------------------------- */ | |
| .aiagent { | |
| height: 100%; | |
| overflow-y: auto; | |
| padding: 34px 44px 56px; | |
| box-sizing: border-box; | |
| background: var(--lp-wash); | |
| } | |
| .aiagent-h { | |
| margin: 0 0 6px; | |
| font-size: var(--lp-fs-lg); | |
| font-weight: 650; | |
| color: var(--lp-ink); | |
| } | |
| .aiagent-sub { | |
| margin: 0 0 18px; | |
| max-width: 62ch; | |
| font-size: var(--lp-fs-sm); | |
| line-height: var(--lp-lh); | |
| color: var(--lp-muted); | |
| } | |
| .aiagent-box { | |
| display: block; | |
| width: 100%; | |
| max-width: 74ch; | |
| padding: 12px 14px; | |
| box-sizing: border-box; | |
| font: inherit; | |
| font-size: var(--lp-fs-sm); | |
| line-height: var(--lp-lh); | |
| color: var(--lp-ink); | |
| background: var(--lp-surface); | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| resize: vertical; | |
| } | |
| .aiagent-box:focus { | |
| outline: none; | |
| border-color: var(--lp-blue-solid); | |
| } | |
| .aiagent-actions { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| margin: 12px 0 0; | |
| flex-wrap: wrap; | |
| } | |
| .aiagent-go { | |
| padding: 8px 16px; | |
| font: inherit; | |
| font-size: var(--lp-fs-sm); | |
| font-weight: 600; | |
| color: var(--lp-surface); | |
| background: var(--lp-blue-solid); | |
| border: 1px solid var(--lp-blue-solid); | |
| border-radius: var(--lp-r-md); | |
| cursor: pointer; | |
| } | |
| .aiagent-go:disabled { | |
| opacity: 0.5; | |
| cursor: default; | |
| } | |
| .aiagent-again { | |
| padding: 8px 16px; | |
| font: inherit; | |
| font-size: var(--lp-fs-sm); | |
| color: var(--lp-ink); | |
| background: var(--lp-surface); | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| cursor: pointer; | |
| } | |
| .aiagent-again:disabled { | |
| opacity: 0.5; | |
| cursor: default; | |
| } | |
| .aiagent-note { | |
| font-size: var(--lp-fs-2xs); | |
| color: var(--lp-muted); | |
| } | |
| .aiagent-eg { | |
| margin: 26px 0 0; | |
| max-width: 74ch; | |
| } | |
| .aiagent-eg-h { | |
| margin: 0 0 8px; | |
| font-size: var(--lp-fs-2xs); | |
| color: var(--lp-muted); | |
| } | |
| .aiagent-eg-row { | |
| display: block; | |
| width: 100%; | |
| margin: 0 0 8px; | |
| padding: 10px 14px; | |
| text-align: left; | |
| font: inherit; | |
| font-size: var(--lp-fs-sm); | |
| color: var(--lp-ink); | |
| background: var(--lp-surface); | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| cursor: pointer; | |
| } | |
| .aiagent-eg-row:disabled { | |
| opacity: 0.5; | |
| cursor: default; | |
| } | |
| .aiagent-problem { | |
| margin: 18px 0 0; | |
| max-width: 74ch; | |
| padding: 10px 14px; | |
| font-size: var(--lp-fs-sm); | |
| line-height: var(--lp-lh); | |
| color: var(--lp-red-deep); | |
| background: var(--lp-surface); | |
| border: 1px solid var(--lp-red-deep); | |
| border-radius: var(--lp-r-md); | |
| } | |
| .aiagent-draft { | |
| margin: 26px 0 0; | |
| max-width: 74ch; | |
| padding: 18px 20px; | |
| background: var(--lp-surface); | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| } | |
| .aiagent-draft-h { | |
| margin: 0 0 4px; | |
| font-size: var(--lp-fs-md); | |
| font-weight: 650; | |
| color: var(--lp-ink); | |
| } | |
| .aiagent-draft-sub { | |
| margin: 0 0 16px; | |
| font-size: var(--lp-fs-2xs); | |
| color: var(--lp-muted); | |
| } | |
| .aiagent-steps { | |
| margin: 0; | |
| padding: 0; | |
| list-style: none; | |
| } | |
| .aiagent-step { | |
| display: flex; | |
| gap: 12px; | |
| padding: 12px 0; | |
| border-top: 1px solid var(--lp-line); | |
| } | |
| .aiagent-step-n { | |
| flex: none; | |
| width: 22px; | |
| height: 22px; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: var(--lp-fs-2xs); | |
| font-weight: 600; | |
| color: var(--lp-muted); | |
| background: var(--lp-surface-2); | |
| border-radius: 999px; | |
| } | |
| .aiagent-step-body { | |
| min-width: 0; | |
| } | |
| .aiagent-step-kind { | |
| margin: 0; | |
| font-size: var(--lp-fs-sm); | |
| font-weight: 600; | |
| color: var(--lp-ink); | |
| } | |
| .aiagent-step-why { | |
| margin: 2px 0 6px; | |
| font-size: var(--lp-fs-2xs); | |
| line-height: var(--lp-lh); | |
| color: var(--lp-muted); | |
| } | |
| .aiagent-step-cfg { | |
| margin: 0; | |
| font-size: var(--lp-fs-2xs); | |
| line-height: var(--lp-lh); | |
| color: var(--lp-ink); | |
| overflow-wrap: anywhere; | |
| } | |
| .aiagent-step-key { | |
| display: inline-block; | |
| min-width: 84px; | |
| color: var(--lp-muted); | |
| } | |
| .aiagent-dropped { | |
| margin: 14px 0 0; | |
| padding: 10px 14px; | |
| background: var(--lp-surface-2); | |
| border-left: 3px solid var(--lp-yellow-deep); | |
| border-radius: var(--lp-r-md); | |
| } | |
| .aiagent-dropped-h { | |
| margin: 0 0 4px; | |
| font-size: var(--lp-fs-2xs); | |
| font-weight: 600; | |
| color: var(--lp-ink); | |
| } | |
| .aiagent-dropped-row { | |
| margin: 0; | |
| font-size: var(--lp-fs-2xs); | |
| color: var(--lp-muted); | |
| } | |
| .aiagent-saved { | |
| margin: 16px 0 0; | |
| font-size: var(--lp-fs-sm); | |
| line-height: var(--lp-lh); | |
| color: var(--lp-ink); | |
| } | |
| /* The per-step disclosures: a required setting the assistant left blank (it was told to leave one | |
| blank rather than invent it), and a column the target database does not have. Toned like a | |
| warning rather than an error, because neither stops the draft being accepted and fixed. */ | |
| .aiagent-step-needs { | |
| margin: 4px 0 0; | |
| font-size: var(--lp-fs-2xs); | |
| line-height: var(--lp-lh); | |
| color: var(--lp-yellow-deep); | |
| } | |