runloopable / web /src /styles /wave52 /connectors.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
82cdb59 verified
Raw History Blame Contribute Delete
2.6 kB
/* ---------------------------------------------------------------------------
styles/wave52/connectors.css — W52-T01 (ruling R1, contract C1) and
W52-T02 (ruling R2, contract C2).
THE HEADED SECTIONS that tier the connectors page, and NOTHING ELSE:
"Databases" / "Other sources" (T01, by whether a card spawns tables) and
"Connected for the company" / "Connected by you" (T02, by who owns the
connection). Both pairs share the same one heading rule below, because a
tier heading is a tier heading regardless of which question it answers.
`.conn-grid` and `.conn-card` still live in `index.css` (owned by a
different wave-52 lane, out of this ticket's fence) and
`styles/wave49/connectors.css` still owns the modal and the run dialog.
⭐ Tokens only for colour and type (root DESIGN.md §2/§5): `--lp-ink` and
`--lp-fs-md` are the same pair `.conn-title` next door uses, one step down
in size because a tier heading sits BELOW the page title, not beside it.
--------------------------------------------------------------------------- */
.conn-tier + .conn-tier {
margin-top: 28px;
}
.conn-tier-heading {
margin: 0 0 12px;
font-size: var(--lp-fs-md);
font-weight: 650;
color: var(--lp-ink);
}
/* ---------------------------------------------------------------------------
W52-T04 (ruling R1, contract C1) — THE STANDARD SETTINGS PANEL.
`ConnectorModal.tsx::connectorTabs` now gates the tab strip on
`row.spawns_tables` instead of a flat static four, and adds a fifth
section ("Sync cadence", `connectors/OdooConfig.tsx::SyncCadenceTab`) the
modal never carried before. `.conn-modal-tabs` and `.conn-modal-tab`
themselves stay in `styles/wave49/connectors.css` (out of this ticket's
fence); the two rules below are additive, cascading after that file.
--------------------------------------------------------------------------- */
/* Five tabs (Overview, Tables and fields, Relationships, Sync cadence,
Keychain) fit the modal's 960px width, but wave49's strip never needed to
wrap with only four. A narrow viewport should wrap a tab onto a second
line rather than clip it off the edge. */
.conn-modal-tabs {
flex-wrap: wrap;
}
/* The sync cadence tab's graceful-degradation state, for a spawns_tables
connector with no generic cadence endpoint yet (Amazon, Meta Ads). Same
note shape the modal's own loading/error states use
(`.conn-modal-note`, wave49), just given the tab's own top rhythm so it
reads as a section rather than a floating sentence. */
.conn-sync-off {
padding-top: 4px;
}