Download web/src/styles/wave46/manage-database.css from fsanyoto/loopable: direct link, hf CLI and curl.
- Browser
- Download file 3.64 kB
-
https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/wave46/manage-database.css
- Command line
-
hf download hf://spaces/fsanyoto/loopable/web/src/styles/wave46/manage-database.css
-
curl -L -o manage-database.css https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/wave46/manage-database.css
3.64 kB
| /* styles/wave46/manage-database.css — WAVE 46 (owner instruction 31, R12, contracts C1 + C6). | |
| ⛔ IMPORTED FROM `settings/ManageDatabase.tsx`, NEVER FROM `index.css`. The root sheet | |
| `@import`s the older lane sheets at its top, so anything arriving that way loses every | |
| equal-specificity fight with the rules beneath it; a sheet imported from a component lands | |
| after `index.css` in the bundle and wins. `AssistantPage.tsx` does the same with wave 45's. | |
| Field rows share Settings controls. Data adds a right-side drawer around the same editor. | |
| Tokens only: no literal font-size, no inline hex, hairlines not shadows, the 4/8 spacing grid, | |
| and two radii at most (`--lp-r-sm`, `--lp-r-md`). */ | |
| .w46-db-fields { | |
| list-style: none; | |
| margin: 4px 0 0; | |
| padding: 0; | |
| display: grid; | |
| gap: 8px; | |
| } | |
| /* A body portal keeps Data's field drawer outside the rail's clipping container. */ | |
| .w46-db-drawer-backdrop { | |
| position: fixed; | |
| inset: 0; | |
| z-index: var(--cg-z-overlay); | |
| background: color-mix(in srgb, var(--lp-ink) 25%, transparent); | |
| display: flex; | |
| justify-content: flex-end; | |
| } | |
| .w46-db-drawer { | |
| width: min(760px, 100%); | |
| height: 100%; | |
| overflow-y: auto; | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| border-left: 1px solid var(--lp-line); | |
| box-shadow: var(--lp-panel-shadow); | |
| } | |
| .w46-db-drawer > .set-pane { | |
| padding: var(--lp-content-inset); | |
| } | |
| /* ONE CONTAINMENT LAYER. The row is the only bordered box on this page: the pane itself is | |
| unframed, so a row inside a card inside the pane would be the card in card the design | |
| constitution forbids. */ | |
| .w46-db-field { | |
| display: grid; | |
| grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; | |
| align-items: end; | |
| gap: 8px; | |
| padding: 8px 12px; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface); | |
| } | |
| .w46-db-idline { | |
| display: flex; | |
| flex-wrap: wrap; | |
| align-items: center; | |
| gap: 8px; | |
| min-width: 0; | |
| } | |
| /* The field's WIRE KEY, which is the thing an admin matches against a report or a formula, so it | |
| is set in the monospace stack rather than in prose type. */ | |
| .w46-db-key { | |
| font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; | |
| font-size: var(--lp-fs-2xs); | |
| color: var(--lp-ink); | |
| overflow-wrap: anywhere; | |
| } | |
| /* Type and source, stated together and quietly: they are what the field IS, not what you do to | |
| it, and R12 puts both beyond this version's three verbs. */ | |
| .w46-db-meta { | |
| font-size: var(--lp-fs-3xs); | |
| color: var(--lp-muted); | |
| } | |
| .w46-db-relabel { | |
| display: block; | |
| min-width: 0; | |
| } | |
| .w46-db-acts { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| /* Quiet the way `.shell-newfolder` is quiet: every native button property reset in the base rule, | |
| muted ink, a wash on hover, no border and no shadow. */ | |
| .w46-db-move { | |
| border: 0; | |
| background: transparent; | |
| font: inherit; | |
| color: inherit; | |
| font-size: var(--lp-fs-2xs); | |
| color: var(--lp-muted); | |
| padding: 4px 8px; | |
| border-radius: var(--lp-r-sm); | |
| cursor: pointer; | |
| transition: background 120ms ease-out, color 120ms ease-out; | |
| } | |
| .w46-db-move:hover:enabled { | |
| background: var(--lp-wash); | |
| color: var(--lp-ink); | |
| } | |
| .w46-db-move:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 1px; | |
| } | |
| .w46-db-move:disabled { | |
| opacity: 0.45; | |
| cursor: default; | |
| } | |
| /* One column under a narrow modal body: three columns of controls at this width would wrap | |
| mid control, which reads as a broken row rather than as a stacked one. */ | |
| @media (max-width: 720px) { | |
| .w46-db-field { | |
| grid-template-columns: minmax(0, 1fr); | |
| align-items: stretch; | |
| } | |
| } | |