/* --------------------------------------------------------------------------- styles/wave50/rail.css — W50-T09 (owner instruction 10, ruling R16) TWO IMPORTERS, AND BOTH ARE LOAD-BEARING: `customer-grid/ViewSidebar.tsx` and `home/HomePage.tsx`. The rail rule below only ever paints inside the grid chunk; the Home rule only ever paints on the Home route, which never loads that chunk. A single importer would leave one of the two surfaces unstyled and every gate green, because a stylesheet nothing on the route imports does nothing at all. Do not "tidy" either import away. ⛔ NOTHING HERE MAY LIVE IN `index.css` THIS WAVE — that file is shared with two concurrent lanes. These rules are additive overrides scoped to two selectors that exist nowhere else. ⛔ TOKENS ONLY (DESIGN.md §5). `verify_ui.py` scans every stylesheet under `web/src/**` for a literal `font-size` and goes red on one, so nothing here writes a type size at all. --------------------------------------------------------------------------- */ /* ── Instruction 10, first half: A DATABASE ROW IS AS TALL AS A VIEW ROW ────── Owner, verbatim: *"The spacing between database rows (Odoo customers / Odoo products) on the rail differs from the View rail."* MEASURED, not reasoned about. `.cg-fold-toggle` (index.css:5866) sets `padding: 4px 6px 4px 7px` around a 16px mark and declares NO min-height, so a database row resolves to 16 + 4 + 4 = 24px. `.cg-view-main` (index.css:866) declares `min-height: 32px`. Eight pixels, on two lists stacked one above the other, which is exactly the difference the owner is reading as "spacing". ⚠ SCOPED TO `.cg-data-database`, NOT TO `.cg-fold-toggle`. Folder headings and the root fold wear the same class; instruction 10 names the DATABASE rows, and growing every fold heading by 8px would re-space a list nobody complained about. `min-height` rather than `height` for the reason `.cg-view-main` carries it: a row that ever wraps must be allowed to grow, and a fixed height clips. */ .cg-data-database .cg-fold-toggle { min-height: 32px; } /* ── Ruling R16, second half: THE DATABASE GLYPH REPLACES THE FILLED BADGE ──── R16, verbatim: *"the outlined database glyph replaces the filled connector badge everywhere a database is listed"*, and owner instruction 10: *"The database mark must be unfilled (hollow) so the database icon reads as an icon."* Home drew a database as `.shell-db-chip` — a 26px solid `--lp-primary` tile with two white letters in it ("OD" for every Odoo database, so ten tiles read as one thing). That is the CONNECTOR badge vocabulary, and DESIGN.md §4's connector-identity ruling keeps it for connectors: `.conn-tile.is-brand` on the Connectors page is a connector listing and is untouched. ⛔ THE BOX IS KEPT AT 26px AND ONLY ITS FILL IS DROPPED. Rendering the bare 16px mark would shorten every tile in the section against the automation and starred-view tiles beside it, and DESIGN.md §4 asks controls in a row to share height. Same square, same radius, no paint. ⛔ AND `.shell-db-chip` MUST NOT STAY ON THE ELEMENT. `index.css:11419` forces `.shell-db-chip .cg-folder-mark path { stroke: currentColor }` so a mark inside the chip takes the chip's white ink — on a chip whose background this rule had removed, that is white on white: invisible, and green in every gate. The class is dropped in the TSX; this rule supplies the geometry it took away. */ .home-db-glyph { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: var(--lp-r-md); background: transparent; } /* ── Instruction 6: THE EXPORT PANEL READS AT ONE SIZE ─────────────────────── Owner, verbatim: *"The 'Export Excel' font under Bulk select is out of place and off brand."* ⛔ THE TICKET BLAMED A MISSING `font: inherit` ON A RAW `