File size: 2,603 Bytes
82cdb59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* ---------------------------------------------------------------------------
   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;
}