@mistriwork/kit 1.0.0-rc.57 → 1.0.0-rc.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/app.js +14 -2
- package/dist/client/audience.d.ts +1 -0
- package/dist/client/audience.js +10 -0
- package/dist/client/brandLook.css +49 -1
- package/dist/client/components/AppColumnMenuPopups.js +41 -11
- package/dist/client/components/AppList.d.ts +3 -1
- package/dist/client/components/AppList.js +77 -15
- package/dist/client/components/CardsList.js +14 -1
- package/dist/client/components/Chart.css +4 -0
- package/dist/client/components/Chart.d.ts +4 -4
- package/dist/client/components/Chart.js +30 -9
- package/dist/client/components/Content.js +3 -1
- package/dist/client/components/DateField.css +1 -1
- package/dist/client/components/DateField.js +1 -0
- package/dist/client/components/DefinedFields.js +2 -2
- package/dist/client/components/Diagram.css +82 -0
- package/dist/client/components/Diagram.d.ts +1 -0
- package/dist/client/components/Diagram.js +1 -0
- package/dist/client/components/Dressed.js +1 -1
- package/dist/client/components/Editable.js +7 -3
- package/dist/client/components/Export.js +1 -1
- package/dist/client/components/FilterBoxes.js +2 -2
- package/dist/client/components/FilterRail.css +1 -1
- package/dist/client/components/FilterRail.js +6 -4
- package/dist/client/components/Gallery.css +171 -0
- package/dist/client/components/Gallery.d.ts +1 -0
- package/dist/client/components/Gallery.js +1 -0
- package/dist/client/components/Grid.d.ts +2 -1
- package/dist/client/components/Grid.js +78 -24
- package/dist/client/components/GridCellEditor.js +4 -2
- package/dist/client/components/GridSelection.d.ts +4 -1
- package/dist/client/components/GridSelection.js +20 -3
- package/dist/client/components/LandingSurface.css +2 -2
- package/dist/client/components/LayoutBuilder.css +225 -0
- package/dist/client/components/LayoutBuilder.d.ts +1 -0
- package/dist/client/components/LayoutBuilder.js +1 -0
- package/dist/client/components/ListColumns.d.ts +12 -0
- package/dist/client/components/ListColumns.js +61 -0
- package/dist/client/components/ListFilterBar.css +39 -14
- package/dist/client/components/ListFilterBar.js +39 -23
- package/dist/client/components/MultiStepForm.css +22 -22
- package/dist/client/components/NewRecord.js +120 -104
- package/dist/client/components/Notes.css +9 -0
- package/dist/client/components/Notes.d.ts +6 -2
- package/dist/client/components/Notes.js +10 -6
- package/dist/client/components/OverflowMenu.js +16 -11
- package/dist/client/components/PageFields.js +19 -4
- package/dist/client/components/PageRelated.d.ts +8 -1
- package/dist/client/components/PageRelated.js +46 -33
- package/dist/client/components/PageSections.js +18 -5
- package/dist/client/components/Palette.js +1 -1
- package/dist/client/components/Prefs.d.ts +10 -0
- package/dist/client/components/Prefs.js +33 -23
- package/dist/client/components/PresentationSwitch.js +4 -0
- package/dist/client/components/Prompt.js +4 -4
- package/dist/client/components/RecordGone.js +4 -4
- package/dist/client/components/RecordPicker.js +24 -6
- package/dist/client/components/RecordSummaries.js +31 -5
- package/dist/client/components/RecordTrailNav.js +4 -0
- package/dist/client/components/RichTextEditor.css +2 -2
- package/dist/client/components/RichTextEditor.js +18 -19
- package/dist/client/components/Rooms.js +22 -4
- package/dist/client/components/SectionPeriod.css +1 -1
- package/dist/client/components/SetFieldDialog.js +1 -1
- package/dist/client/components/Sidebar.js +8 -5
- package/dist/client/components/SuggestBox.js +2 -2
- package/dist/client/components/TableRoom.d.ts +5 -1
- package/dist/client/components/TableRoom.js +29 -10
- package/dist/client/components/TableView.js +1 -1
- package/dist/client/components/ThMenu.js +26 -15
- package/dist/client/components/Tour.css +96 -0
- package/dist/client/components/Tour.d.ts +1 -0
- package/dist/client/components/Tour.js +1 -0
- package/dist/client/components/TreePicker.css +1 -1
- package/dist/client/components/TreePicker.js +27 -20
- package/dist/client/components/Value.js +4 -1
- package/dist/client/components/WorkflowStatus.js +8 -4
- package/dist/client/components/appListModel.d.ts +4 -0
- package/dist/client/components/appRooms.d.ts +2 -0
- package/dist/client/components/appRooms.js +2 -0
- package/dist/client/components/boardNew.d.ts +5 -0
- package/dist/client/components/boardNew.js +5 -0
- package/dist/client/components/conditionWords.d.ts +10 -0
- package/dist/client/components/conditionWords.js +20 -0
- package/dist/client/components/dashboardModel.d.ts +8 -0
- package/dist/client/components/dashboardModel.js +28 -1
- package/dist/client/components/editInteraction.d.ts +1 -1
- package/dist/client/components/editInteraction.js +1 -1
- package/dist/client/components/gridSizing.d.ts +14 -20
- package/dist/client/components/gridSizing.js +147 -108
- package/dist/client/components/pageContext.d.ts +3 -2
- package/dist/client/components/pageModel.d.ts +2 -0
- package/dist/client/components/pickerStaleness.d.ts +11 -1
- package/dist/client/components/pickerStaleness.js +12 -2
- package/dist/client/components/rowTitle.d.ts +2 -0
- package/dist/client/components/rowTitle.js +10 -0
- package/dist/client/components/textMeasure.js +72 -3
- package/dist/client/components/useConditionWords.d.ts +5 -0
- package/dist/client/components/useConditionWords.js +3 -1
- package/dist/client/components/useGridKeyboard.js +5 -0
- package/dist/client/components/valueModel.d.ts +1 -0
- package/dist/client/components/valueModel.js +39 -4
- package/dist/client/composer.css +2 -2
- package/dist/client/copy/es.js +3 -3
- package/dist/client/copy/filters/components/ListFilterBar.d.ts +1 -0
- package/dist/client/copy/filters/components/ListFilterBar.js +1 -0
- package/dist/client/copy/forms/components/DateField.d.ts +2 -0
- package/dist/client/copy/forms/components/DateField.js +2 -0
- package/dist/client/copy/forms/components/NewRecord.d.ts +8 -0
- package/dist/client/copy/forms/components/NewRecord.js +2 -0
- package/dist/client/copy/lists/components/AppList.d.ts +2 -0
- package/dist/client/copy/lists/components/AppList.js +2 -0
- package/dist/client/copy/lists/components/GridSelection.d.ts +1 -0
- package/dist/client/copy/lists/components/GridSelection.js +1 -0
- package/dist/client/copy/lists/components/ListColumns.d.ts +5 -0
- package/dist/client/copy/lists/components/ListColumns.js +7 -0
- package/dist/client/copy/lists/components/TableRoom.d.ts +3 -1
- package/dist/client/copy/lists/components/TableRoom.js +3 -1
- package/dist/client/copy/record/components/PageHistory.d.ts +2 -2
- package/dist/client/copy/record/components/PageHistory.js +4 -2
- package/dist/client/copy/record/components/WorkflowStatus.d.ts +1 -0
- package/dist/client/copy/record/components/WorkflowStatus.js +1 -0
- package/dist/client/copy/shell/components/MobileNavDrawer.d.ts +1 -0
- package/dist/client/copy/shell/components/MobileNavDrawer.js +2 -0
- package/dist/client/customThemes.css +3 -3
- package/dist/client/dom.js +5 -5
- package/dist/client/features.css +216 -356
- package/dist/client/fonts/Manrope-OFL.txt +93 -0
- package/dist/client/fonts/faces.css +10 -1
- package/dist/client/fonts/manrope-latin.woff2 +0 -0
- package/dist/client/formControls.css +4 -4
- package/dist/client/help.css +2 -2
- package/dist/client/ledgerLook.css +28 -0
- package/dist/client/locale.d.ts +2 -10
- package/dist/client/locale.js +0 -0
- package/dist/client/lumenLook.css +295 -105
- package/dist/client/manropeFace.css +32 -0
- package/dist/client/messages.d.ts +3 -3
- package/dist/client/messages.js +3 -3
- package/dist/client/page.css +98 -354
- package/dist/client/palette.js +31 -6
- package/dist/client/partsLook.css +60 -60
- package/dist/client/sageLook.css +101 -32
- package/dist/client/shellHost.d.ts +2 -2
- package/dist/client/shellHost.js +2 -2
- package/dist/client/shellMode.d.ts +9 -0
- package/dist/client/shellMode.js +2 -0
- package/dist/client/structure.css +281 -201
- package/dist/client/style.css +75 -224
- package/dist/client/themeFamilies.css +471 -66
- package/dist/client/tilesLook.css +502 -0
- package/dist/client/visualTheme.js +5 -2
- package/dist/client/visualThemes.css +38 -34
- package/dist/client/workbenchLook.css +12 -12
- package/dist/client/workshopLook.css +3 -8
- package/dist/vite.d.ts +1 -20
- package/dist/vite.js +33 -3
- package/package.json +8 -7
package/dist/client/style.css
CHANGED
|
@@ -10,12 +10,14 @@
|
|
|
10
10
|
A later layer wins whatever its specificity: nothing here out-specifies or
|
|
11
11
|
out-loads another to win. */
|
|
12
12
|
@layer base, components, kit, look, theme, structure, print;
|
|
13
|
-
/* The tokens
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
/* The tokens are @mistriwork/ui's (packages/ui/src), and so is what the controls wear (controls.css): each control is
|
|
14
|
+
drawn over UI SDK and dressed by its `data-slot`, in layers of its own. Nested in base they stand under every rule
|
|
15
|
+
written here: a dialog this stylesheet places by its class, a menu a component dresses and a control a toolbar
|
|
16
|
+
sizes keep their word over the control's own dress, whatever the specificity. What that costs is that a rule here
|
|
17
|
+
for a bare element would dress a control too, so those rules name what they leave alone
|
|
18
|
+
(`:where(:not([data-slot]))`). */
|
|
17
19
|
@import '@mistriwork/ui/tokens.css' layer(base);
|
|
18
|
-
@import '@mistriwork/ui/
|
|
20
|
+
@import '@mistriwork/ui/controls.css' layer(base);
|
|
19
21
|
|
|
20
22
|
@layer base {
|
|
21
23
|
* { box-sizing: border-box; }
|
|
@@ -155,7 +157,7 @@ body {
|
|
|
155
157
|
on the dark grounds and 4.4:1 on the Workbench's paper. */
|
|
156
158
|
::placeholder { color: var(--ink-subtle); opacity: 1; }
|
|
157
159
|
|
|
158
|
-
button {
|
|
160
|
+
button:where(:not([data-slot]), [data-own]) {
|
|
159
161
|
font: inherit; font-size: var(--text-base);
|
|
160
162
|
padding: var(--space-3) var(--space-4);
|
|
161
163
|
border-radius: var(--radius);
|
|
@@ -165,7 +167,7 @@ button {
|
|
|
165
167
|
}
|
|
166
168
|
button.ghost { background: transparent; color: var(--ink-muted); border-color: var(--line-strong); }
|
|
167
169
|
button.ghost[aria-pressed="true"] { color: var(--accent-ink); border-color: var(--accent); background: var(--accent-soft); }
|
|
168
|
-
button:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }
|
|
170
|
+
button:where(:not([data-slot]), [data-own]):focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }
|
|
169
171
|
/* In an App, whatever takes the keyboard's focus and names no ring of its own
|
|
170
172
|
wears the house ring (docs/design.md, Access), not the browser's blue: at
|
|
171
173
|
no specificity, so every rule that draws its own still does. The database
|
|
@@ -271,9 +273,11 @@ button:focus-visible { outline: var(--focus-width) solid var(--focus); outline-o
|
|
|
271
273
|
navMuted against the menu ground at 4.5:1, and the page's muted ink
|
|
272
274
|
on a dark menu ground was faint and unmeasured. */
|
|
273
275
|
color: var(--nav-muted);
|
|
274
|
-
|
|
276
|
+
/* In sentence case at the caption's size, a step heavier than a row: a heading is told from its rooms by its ink
|
|
277
|
+
and its weight. Capitals shouted a word the reader passes forty times a day; a theme that wants them says so
|
|
278
|
+
(`parts: nav.group`). */
|
|
279
|
+
font: 500 var(--text-xs) var(--sans);
|
|
275
280
|
line-height: 1;
|
|
276
|
-
text-transform: uppercase; letter-spacing: 0.06em;
|
|
277
281
|
}
|
|
278
282
|
#table-list .nav-missing { color: var(--ink-muted); }
|
|
279
283
|
/* A heading that folds keeps the plain heading's geometry: the button is the
|
|
@@ -480,54 +484,6 @@ html[data-starting] .content.nav-holding.nav-holding-focusable > :not(.nav-held)
|
|
|
480
484
|
does not use is a pixel of schema the reader has to pan to instead. */
|
|
481
485
|
.diagram { max-width: none; }
|
|
482
486
|
|
|
483
|
-
/* A window onto a drawing larger than the window.
|
|
484
|
-
|
|
485
|
-
Given a height rather than left to size to its content: a viewport that
|
|
486
|
-
grows with its content is not a viewport, and the whole point is that the
|
|
487
|
-
picture can be bigger than the space it is read in. */
|
|
488
|
-
.diagram-viewport {
|
|
489
|
-
position: relative;
|
|
490
|
-
height: min(72vh, 760px);
|
|
491
|
-
border: 1px solid var(--line);
|
|
492
|
-
border-radius: var(--radius-panel);
|
|
493
|
-
background: var(--ground);
|
|
494
|
-
overflow: hidden;
|
|
495
|
-
cursor: grab;
|
|
496
|
-
touch-action: none;
|
|
497
|
-
}
|
|
498
|
-
.diagram-viewport.dragging { cursor: grabbing; }
|
|
499
|
-
.diagram-viewport svg { display: block; }
|
|
500
|
-
|
|
501
|
-
.zoom-controls {
|
|
502
|
-
position: absolute; right: 10px; bottom: 10px;
|
|
503
|
-
display: flex; align-items: center; gap: var(--space-2);
|
|
504
|
-
padding: var(--space-2); border-radius: min(7px, var(--radius-pop));
|
|
505
|
-
background: var(--surface); border: 1px solid var(--line);
|
|
506
|
-
box-shadow: var(--shadow-pop);
|
|
507
|
-
}
|
|
508
|
-
.zoom-controls button { padding: var(--space-1) var(--space-3); font-size: var(--text-sm); }
|
|
509
|
-
.zoom-readout {
|
|
510
|
-
min-width: 3.4rem; text-align: center;
|
|
511
|
-
font: var(--text-xs) var(--mono); color: var(--ink-muted);
|
|
512
|
-
font-variant-numeric: tabular-nums;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
.diagram-head {
|
|
516
|
-
display: flex; align-items: center; gap: var(--space-4h); flex-wrap: wrap;
|
|
517
|
-
margin-bottom: var(--space-4);
|
|
518
|
-
}
|
|
519
|
-
.diagram-head .diagram-title { margin: 0; }
|
|
520
|
-
|
|
521
|
-
.diagram-focus {
|
|
522
|
-
display: flex; align-items: center; gap: var(--space-2h);
|
|
523
|
-
margin-left: auto; justify-content: flex-end;
|
|
524
|
-
/* wrap-reverse so an overflowing row of chips grows upwards. Plain `wrap`
|
|
525
|
-
would push the field itself onto a second line, which is the same
|
|
526
|
-
moving-target problem in the other axis. */
|
|
527
|
-
flex-wrap: wrap-reverse;
|
|
528
|
-
}
|
|
529
|
-
.diagram-focus .picker { flex: none; }
|
|
530
|
-
|
|
531
487
|
/* A field with a menu we draw ourselves. See picker.js for why. */
|
|
532
488
|
.picker { position: relative; }
|
|
533
489
|
.picker-input {
|
|
@@ -554,15 +510,6 @@ html[data-starting] .content.nav-holding.nav-holding-focusable > :not(.nav-held)
|
|
|
554
510
|
.picker-option.active .picker-label { color: var(--accent-ink); }
|
|
555
511
|
.picker-detail { font: var(--text-xs) var(--mono); color: var(--ink-subtle); }
|
|
556
512
|
.picker-empty { padding: var(--space-3h); margin: 0; font-size: var(--text-sm); color: var(--ink-muted); }
|
|
557
|
-
.diagram-chip {
|
|
558
|
-
display: inline-flex; align-items: center; gap: var(--space-2h);
|
|
559
|
-
padding: var(--space-2) var(--space-3); border-radius: 999px;
|
|
560
|
-
border: 1px solid var(--accent); background: var(--accent-soft);
|
|
561
|
-
color: var(--accent-ink); font: var(--text-xs) var(--mono); cursor: pointer;
|
|
562
|
-
}
|
|
563
|
-
.diagram-chip .chip-x { opacity: 0.6; }
|
|
564
|
-
.diagram-chip:hover .chip-x { opacity: 1; }
|
|
565
|
-
.diagram-clear { font-size: var(--text-xs); }
|
|
566
513
|
|
|
567
514
|
/* ---------- command palette ---------- */
|
|
568
515
|
|
|
@@ -603,6 +550,14 @@ html[data-starting] .content.nav-holding.nav-holding-focusable > :not(.nav-held)
|
|
|
603
550
|
result and back, and coming back to an input with no indicator at all is
|
|
604
551
|
the caret being somewhere nobody can see. */
|
|
605
552
|
.palette-input:focus { outline: none; border-bottom-color: var(--accent); }
|
|
553
|
+
/* The magnifier stands in the input's own leading room: it is laid over it, so the input stays the row's one box
|
|
554
|
+
and its rule runs the dialog's width. */
|
|
555
|
+
.palette { position: relative; }
|
|
556
|
+
.palette-glyph {
|
|
557
|
+
position: absolute; inset-inline-start: var(--space-5); top: 0; height: 3.5rem;
|
|
558
|
+
display: flex; align-items: center; color: var(--ink-muted); pointer-events: none;
|
|
559
|
+
}
|
|
560
|
+
.palette-glyph + .palette-input { padding-inline-start: calc(var(--space-5) + 16px + var(--space-3)); }
|
|
606
561
|
.palette-list { overflow-y: auto; padding: var(--space-2h); }
|
|
607
562
|
.palette-item {
|
|
608
563
|
display: grid; grid-template-columns: 4.6rem 1fr auto;
|
|
@@ -673,6 +628,14 @@ html[data-starting] .content.nav-holding.nav-holding-focusable > :not(.nav-held)
|
|
|
673
628
|
.icon-button[aria-expanded="true"],
|
|
674
629
|
.icon-button[aria-pressed="true"] { color: var(--accent-ink); border-color: var(--accent); background: var(--accent-soft); }
|
|
675
630
|
|
|
631
|
+
/* A control's popup is a popup like the kit's own (docs/design.md, Shape): as round as the look's popups, a row in
|
|
632
|
+
it no rounder than a row is, on the edge the kit's own menus have (the stronger line: a popup lies on the page, and
|
|
633
|
+
in a look with no shadow a hairline was all that set it off), its rows at the text's own size. Said once for every
|
|
634
|
+
list, menu and popover the controls open, and under any class a caller gives one (`:where`), so a popup with a
|
|
635
|
+
corner or an edge of its own keeps it. */
|
|
636
|
+
:where([data-slot='select-content'], [data-slot='menu-content'], [data-slot='autocomplete-content'], [data-slot='popover-content']) { border-radius: var(--radius-pop); border-color: var(--line-strong); }
|
|
637
|
+
:where([data-slot='select-item'], [data-slot='menu-item'], [data-slot='autocomplete-item']) { border-radius: var(--radius-item); font-size: var(--text-base); }
|
|
638
|
+
|
|
676
639
|
.more-list {
|
|
677
640
|
z-index: 70; min-width: 15rem; padding: var(--space-2);
|
|
678
641
|
max-width: var(--available-width, calc(100vw - 16px));
|
|
@@ -695,8 +658,8 @@ html[data-starting] .content.nav-holding.nav-holding-focusable > :not(.nav-held)
|
|
|
695
658
|
rows are transparent, drew none. Where the options take focus (a menu, a
|
|
696
659
|
Select) the ring is the keyboard's alone; where the box keeps focus (the
|
|
697
660
|
palette, a picker, the query's completions) the lit option is the focus. */
|
|
698
|
-
:is(.more-item,
|
|
699
|
-
:is(
|
|
661
|
+
:is(.more-item,:is([data-slot='select-item'], [data-slot='menu-item'])):focus-visible,
|
|
662
|
+
:is(:is([data-slot='select-item'], [data-slot='menu-item']), .palette-item, .picker-option, .ac-item).active:not(:focus) { outline: var(--focus-width) solid var(--focus); outline-offset: -2px; }
|
|
700
663
|
.more-item.no-tick { grid-template-columns: 1fr auto; }
|
|
701
664
|
.more-tick { color: var(--accent-ink); font-size: var(--text-xs); }
|
|
702
665
|
.more-detail { font-size: var(--text-xs); color: var(--ink-subtle); min-width: 0; margin-inline-start: var(--space-3); text-align: end; overflow-wrap: anywhere; }
|
|
@@ -830,32 +793,9 @@ body.app-nav-rail.sidebar-hidden #table-list li.nav-group:first-child { border-t
|
|
|
830
793
|
shrinking the type to fit. */
|
|
831
794
|
.node > rect { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
|
|
832
795
|
.node text { font: var(--text-sm) var(--mono); fill: var(--ink); }
|
|
833
|
-
.node-head { cursor: pointer; }
|
|
834
|
-
.node-head-hit { fill: transparent; stroke: none; }
|
|
835
796
|
.node:hover > rect { stroke: var(--accent); }
|
|
836
|
-
.node-head:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
|
|
837
797
|
.node-focus > rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
|
|
838
|
-
.node-focus .node-head text { fill: var(--accent); }
|
|
839
|
-
.node-head text { font-weight: 600; }
|
|
840
|
-
|
|
841
|
-
/* The column list. Quieter than the table name it sits under — it is there to
|
|
842
|
-
be scanned for a name you already have in mind, not read top to bottom. */
|
|
843
|
-
.node-rule { stroke: var(--line); stroke-width: 1; }
|
|
844
|
-
.node-field { font-size: var(--text-xs); fill: var(--ink-muted); }
|
|
845
|
-
.node-field.is-key { fill: var(--ink); }
|
|
846
|
-
.node-field.is-ref { fill: var(--accent); }
|
|
847
|
-
.node-type { font-size: var(--text-xs); fill: var(--ink-subtle); }
|
|
848
|
-
.node-more { cursor: pointer; }
|
|
849
|
-
.node-more-hit { fill: transparent; stroke: none; }
|
|
850
|
-
.node-more text { font-size: var(--text-xs); fill: var(--ink-subtle); }
|
|
851
|
-
.node-more:hover text { fill: var(--accent); }
|
|
852
|
-
.node-more:hover .node-more-hit { fill: var(--accent-soft); }
|
|
853
|
-
.node-more:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 1px; }
|
|
854
798
|
.edge { fill: none; stroke: var(--line-strong); stroke-width: 1.25; }
|
|
855
|
-
.edge-head { fill: var(--line-strong); }
|
|
856
|
-
.edge-label { font: var(--text-xs) var(--mono); fill: var(--ink-muted); }
|
|
857
|
-
.diagram-legend { margin: var(--space-4) 0 0; font-size: var(--text-xs); color: var(--ink-subtle); font-family: var(--mono); }
|
|
858
|
-
.diagram-legend span { color: var(--ink-muted); }
|
|
859
799
|
|
|
860
800
|
.result-head {
|
|
861
801
|
display: flex; align-items: baseline; gap: var(--space-4);
|
|
@@ -883,8 +823,8 @@ body.app-nav-rail.sidebar-hidden #table-list li.nav-group:first-child { border-t
|
|
|
883
823
|
}
|
|
884
824
|
.table-wrap[data-more~="start"] { --fade-start: 24px; }
|
|
885
825
|
.table-wrap[data-more~="end"] { --fade-end: 24px; }
|
|
886
|
-
th:first-child,
|
|
887
|
-
th:last-child,
|
|
826
|
+
th:where(:not([data-slot])):first-child,td:where(:not([data-slot])):first-child { padding-left: var(--space-4h); }
|
|
827
|
+
th:where(:not([data-slot])):last-child,td:where(:not([data-slot])):last-child { padding-right: var(--space-4h); }
|
|
888
828
|
th:first-child .th-sort { padding-left: 0; }
|
|
889
829
|
/* A room-level grid: the gutter moves from the edge cells to the wrap,
|
|
890
830
|
so the scroll region stops 14px short of both edges instead of running
|
|
@@ -907,14 +847,14 @@ tbody tr:hover .pinned { background: var(--accent-soft); }
|
|
|
907
847
|
/* One seam, on the rightmost frozen column, rather than a line per column. */
|
|
908
848
|
.pinned-edge { box-shadow: 1px 0 0 var(--line-strong); }
|
|
909
849
|
.table-wrap:not([data-scrolled]) .pinned-edge { box-shadow: none; }
|
|
910
|
-
table { border-collapse: collapse; width: 100%; font: var(--text-sm) var(--mono); }
|
|
911
|
-
th,
|
|
850
|
+
table:where(:not([data-slot])) { border-collapse: collapse; width: 100%; font: var(--text-sm) var(--mono); }
|
|
851
|
+
th:where(:not([data-slot])),td:where(:not([data-slot])) {
|
|
912
852
|
text-align: left; padding: 5px var(--space-3h);
|
|
913
853
|
border-bottom: 1px solid var(--line);
|
|
914
854
|
white-space: nowrap; max-width: 30rem;
|
|
915
855
|
overflow: hidden; text-overflow: ellipsis;
|
|
916
856
|
}
|
|
917
|
-
th {
|
|
857
|
+
th:where(:not([data-slot])) {
|
|
918
858
|
position: sticky; top: 0;
|
|
919
859
|
/* Above the pinned body cells, which carry `z-index: 1` so they float over
|
|
920
860
|
the columns they freeze past. Without this, scrolling down slid the
|
|
@@ -949,22 +889,6 @@ th.sorted { color: var(--accent-ink); border-bottom-color: var(--accent); }
|
|
|
949
889
|
ellipsis, inside the column it was given. */
|
|
950
890
|
.th-controls { display: inline-flex; align-items: center; vertical-align: middle; max-width: 100%; }
|
|
951
891
|
.th-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
952
|
-
/* An App's head wraps at its words, to two lines, before its column widens (gridSizing.ts sizes the floor to the
|
|
953
|
-
two-line width): a wide list then fits its room instead of scrolling sideways under single-line heads. The head
|
|
954
|
-
and its row grow by a line; the label breaks only between words, and the clamp is the guard for a head set in
|
|
955
|
-
a column nothing sized. */
|
|
956
|
-
.app-mode .th-sort { white-space: normal; text-align: start; }
|
|
957
|
-
.app-mode .th-label {
|
|
958
|
-
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
|
|
959
|
-
white-space: normal; overflow-wrap: normal; word-break: normal;
|
|
960
|
-
}
|
|
961
|
-
/* A value the room set on two lines (gridSizing.ts, after the heads wrapped and before anything is cut): it breaks
|
|
962
|
-
at its words and is kept whole, and a link inside it wraps with it. */
|
|
963
|
-
.app-mode td.wraps { white-space: normal; overflow-wrap: normal; word-break: normal; text-overflow: clip; }
|
|
964
|
-
.app-mode td.wraps :is(.ref-jump, .cell-text) { white-space: normal; }
|
|
965
|
-
/* The row's name over its folded columns (Grid.tsx `more`) is its own line, cut by default: set on two lines, it wraps
|
|
966
|
-
as the cell does, not "Review security questionn…" over a detail line that wrapped beneath it (G187). */
|
|
967
|
-
.app-mode td.wraps .cell-main { white-space: normal; text-overflow: clip; }
|
|
968
892
|
.th-sort {
|
|
969
893
|
display: inline-flex; align-items: center; gap: var(--space-2); flex: 0 1 auto; min-width: 0;
|
|
970
894
|
background: none; border: none; border-radius: 0;
|
|
@@ -1039,7 +963,7 @@ th.sorted { color: var(--accent-ink); border-bottom-color: var(--accent); }
|
|
|
1039
963
|
/* A head whose label fills it (a sorted figure, a head wrapped to the least its column allows) has no bare side:
|
|
1040
964
|
the controls then lie over the label's end, and only while the head is hovered or focused, which is raised above
|
|
1041
965
|
its neighbours so they, not the neighbour, answer there. */
|
|
1042
|
-
th:has(> .th-controls):is(:hover, :focus-within) { z-index: 3; }
|
|
966
|
+
th:where(:not([data-slot])):has(> .th-controls):is(:hover, :focus-within) { z-index: 3; }
|
|
1043
967
|
/* Stacked: the caret over the label's sort, the sort over the move buttons. Where a head's label fills it the moves
|
|
1044
968
|
are under the sort (reached by the keyboard) and the click meant for the sort sorts; the caret is the one control
|
|
1045
969
|
with no other way in, so it stays on top. The controls are their own stacking context, drawn on their head's
|
|
@@ -1170,9 +1094,10 @@ th .pk { color: var(--status-info); }
|
|
|
1170
1094
|
th .fk { color: var(--accent-ink); }
|
|
1171
1095
|
/* Only where a click goes somewhere. A pointer over a row that does nothing
|
|
1172
1096
|
advertises an action the row does not have. */
|
|
1173
|
-
tbody tr { cursor: default; }
|
|
1097
|
+
tbody tr:where(:not([data-slot])) { cursor: default; }
|
|
1174
1098
|
tbody tr.clickable { cursor: pointer; }
|
|
1175
|
-
|
|
1099
|
+
/* Under the keyboard as under the pointer: a row reached by Tab or the arrows says it opens the same way. */
|
|
1100
|
+
tbody tr.clickable:is(:hover, :focus-visible) { background: var(--accent-soft); }
|
|
1176
1101
|
|
|
1177
1102
|
/* Alignment is set per column by the renderer and applied to the header too,
|
|
1178
1103
|
so a label always sits over its own values. */
|
|
@@ -1207,9 +1132,9 @@ td .ref { color: var(--link); text-decoration: underline; text-decoration-style:
|
|
|
1207
1132
|
.pager-size { display: flex; gap: var(--space-2h); align-items: center; }
|
|
1208
1133
|
/* Narrow: the list is four two-or-three-digit numbers, and the shared control
|
|
1209
1134
|
is sized for connection names. */
|
|
1210
|
-
.pager-size
|
|
1211
|
-
.pager-size
|
|
1212
|
-
.pager-size
|
|
1135
|
+
.pager-size [data-slot='dropdown'] { min-width: 0; }
|
|
1136
|
+
.pager-size [data-slot='select-trigger'] { padding: var(--space-1h) var(--space-2h); }
|
|
1137
|
+
.pager-size :is([data-slot='select-content'], [data-slot='menu-content']) { min-width: 0; }
|
|
1213
1138
|
.pager-steps { margin-inline-start: auto; }
|
|
1214
1139
|
.pager .page-label { display: flex; gap: var(--space-2h); align-items: center; flex-wrap: wrap; }
|
|
1215
1140
|
@media (max-width: 600px) {
|
|
@@ -1264,10 +1189,10 @@ td .ref { color: var(--link); text-decoration: underline; text-decoration-style:
|
|
|
1264
1189
|
pager and record head mixed 26, 28, 32 and 36px — 6px of padding on
|
|
1265
1190
|
differently sized faces — so a row of them never lined up. Scoped to the
|
|
1266
1191
|
browser (no look attribute): an App keeps its look's own sizes. */
|
|
1267
|
-
:root:not([data-visual-theme]) :is(.applist-quick, .applist-go, .applist-toggle, .applist-field
|
|
1192
|
+
:root:not([data-visual-theme]) :is(.applist-quick, .applist-go, .applist-toggle, .applist-field [data-slot='select-trigger'], .pager .ghost, .pager-size [data-slot='select-trigger'], .page-input) {
|
|
1268
1193
|
box-sizing: border-box; height: 30px; padding-block: 0;
|
|
1269
1194
|
}
|
|
1270
|
-
:root:not([data-visual-theme]) :is(.applist-field
|
|
1195
|
+
:root:not([data-visual-theme]) :is(.applist-field [data-slot='select-trigger'], .applist-go, .applist-toggle, .pager .ghost) { display: inline-flex; align-items: center; }
|
|
1271
1196
|
/* The record's head: its name, then small buttons of one weight. "As a page →"
|
|
1272
1197
|
and "Copy for agent" took the heading's bold beside a Layout half their size. */
|
|
1273
1198
|
:root:not([data-visual-theme]) :is(.record-heading > button, .record-heading .record-layout, .record-heading .record-trail-step) {
|
|
@@ -1468,7 +1393,6 @@ td .ref { color: var(--link); text-decoration: underline; text-decoration-style:
|
|
|
1468
1393
|
saying the same thing twice in two places. Its one unique job — showing a
|
|
1469
1394
|
relationship that has no rows — moved to a disabled tab. */
|
|
1470
1395
|
|
|
1471
|
-
|
|
1472
1396
|
.loading { padding: var(--space-3h) var(--space-4); color: var(--ink-muted); font-size: var(--text-sm); }
|
|
1473
1397
|
|
|
1474
1398
|
/* ---------- placeholders ---------- */
|
|
@@ -1590,7 +1514,7 @@ button.danger { background: var(--status-critical); color: var(--surface); borde
|
|
|
1590
1514
|
min-width: min(24rem, calc(100vw - 32px - 46px)); max-width: 34rem; padding: 20px 22px;
|
|
1591
1515
|
font: var(--text-md)/1.55 var(--sans);
|
|
1592
1516
|
}
|
|
1593
|
-
|
|
1517
|
+
[data-slot='dialog-backdrop'][data-for='confirm'] { background: rgb(0 0 0 / 0.45); }
|
|
1594
1518
|
@media (prefers-reduced-motion: no-preference) {
|
|
1595
1519
|
.confirm {
|
|
1596
1520
|
/* A modal appears in the middle of the viewport rather than out of a
|
|
@@ -1598,7 +1522,7 @@ button.danger { background: var(--status-critical); color: var(--surface); borde
|
|
|
1598
1522
|
transition: opacity var(--t-panel) var(--ease-out), transform var(--t-panel) var(--ease-out);
|
|
1599
1523
|
@starting-style { opacity: 0; transform: scale(0.97); }
|
|
1600
1524
|
}
|
|
1601
|
-
|
|
1525
|
+
[data-slot='dialog-backdrop'][data-for='confirm'] {
|
|
1602
1526
|
transition: background var(--t-panel) var(--ease-out);
|
|
1603
1527
|
@starting-style { background: rgb(0 0 0 / 0); }
|
|
1604
1528
|
}
|
|
@@ -1611,7 +1535,7 @@ button.danger { background: var(--status-critical); color: var(--surface); borde
|
|
|
1611
1535
|
/* 24px above the actions, as a form's: they close the dialog's question rather than stand as one more row of it. */
|
|
1612
1536
|
.confirm-actions { display: flex; gap: var(--space-3); justify-content: flex-end; margin-top: var(--space-6); }
|
|
1613
1537
|
.confirm-fields { display: grid; gap: var(--space-5); }
|
|
1614
|
-
.confirm h2 + :is(
|
|
1538
|
+
.confirm h2 + :is([data-slot='field'], .confirm-fields) { margin-top: var(--space-4h); }
|
|
1615
1539
|
.confirm-diff { width: 100%; margin-bottom: var(--space-4); font: var(--text-sm) var(--mono); }
|
|
1616
1540
|
.confirm-diff th { text-align: left; color: var(--ink-muted); font-weight: 500; width: 5rem; text-transform: none; letter-spacing: 0; font-size: var(--text-sm); position: static; background: none; border: none; }
|
|
1617
1541
|
.confirm-diff td { border: none; }
|
|
@@ -1636,9 +1560,9 @@ button.danger { background: var(--status-critical); color: var(--surface); borde
|
|
|
1636
1560
|
}
|
|
1637
1561
|
.cell-edit:focus { outline: var(--focus-width) solid var(--focus); outline-offset: -1px; border-color: transparent; }
|
|
1638
1562
|
.cell-edit-control { min-width: 0; }
|
|
1639
|
-
.cell-edit-control
|
|
1640
|
-
.cell-edit-control.dirty
|
|
1641
|
-
.cell-edit-control.saved
|
|
1563
|
+
.cell-edit-control [data-slot='select-trigger'], .cell-edit-control .picker { width: 100%; min-height: 32px; border-radius: min(2px, var(--radius)); }
|
|
1564
|
+
.cell-edit-control.dirty [data-slot='select-trigger'], .cell-edit-control.dirty .picker, .cell-edit-control.dirty :is([data-slot='date-field'] > [data-slot='input']) { border-color: var(--status-warning); background: var(--status-warning-soft, var(--raised)); }
|
|
1565
|
+
.cell-edit-control.saved [data-slot='select-trigger'], .cell-edit-control.saved .picker, .cell-edit-control.saved :is([data-slot='date-field'] > [data-slot='input']) { border-color: var(--status-good); }
|
|
1642
1566
|
|
|
1643
1567
|
.record-presentation, .record-summaries { display: none; }
|
|
1644
1568
|
.more-group-label { padding: var(--space-3) var(--space-4) var(--space-2); color: var(--ink-muted); font: 600 var(--text-xs) var(--sans); }
|
|
@@ -1677,14 +1601,14 @@ button.danger { background: var(--status-critical); color: var(--surface); borde
|
|
|
1677
1601
|
.record-summary-group-sum { font: var(--text-sm)/1.45 var(--sans); color: var(--ink-muted); }
|
|
1678
1602
|
.record-summary.is-navigable { cursor: pointer; }
|
|
1679
1603
|
.record-summary.is-navigable:active { background: var(--raised); }
|
|
1680
|
-
.record-summary-title { display: block; width: 100%; min-height: 32px; padding: var(--space-1h) 0; border: 0; border-radius: 0; background: none; text-align: left; font: 600 calc(15px * var(--type-k))/1.45 var(--sans); letter-spacing: 0; color: var(--ink); overflow-wrap:
|
|
1604
|
+
.record-summary-title { display: block; width: 100%; min-height: 32px; padding: var(--space-1h) 0; border: 0; border-radius: 0; background: none; text-align: left; font: 600 calc(15px * var(--type-k))/1.45 var(--sans); letter-spacing: 0; color: var(--ink); overflow-wrap: break-word; }
|
|
1681
1605
|
.record-summary-title:hover:not(:disabled) { color: var(--accent-ink); }
|
|
1682
1606
|
.record-summary dl { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--field-gap); margin: var(--space-1) 0 0; }
|
|
1683
1607
|
/* A fact wraps whole, never its caption from its value. */
|
|
1684
1608
|
.record-summary dl > div { display: flex; align-items: baseline; gap: var(--space-2h); min-width: 0; max-width: 100%; }
|
|
1685
1609
|
.record-summary dt { flex: none; font: 500 var(--text-sm)/1.5 var(--sans); color: var(--ink-muted); }
|
|
1686
1610
|
.record-summary dd { min-width: 0; margin: 0; font: var(--text-md)/1.45 var(--sans); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
|
|
1687
|
-
/* In an App a row says each value once and its caption
|
|
1611
|
+
/* In an App a row says each value once and its caption only where the value does not say itself (design.md, Mobile; the rule after this block): the title, then the first values on
|
|
1688
1612
|
one line — a status as its dot and word, a person as avatar and name, a date short — and the caption stays for
|
|
1689
1613
|
whoever reads by ear, as the grid's header is. Two lines at most: every fact stands in one fixed line box, so the
|
|
1690
1614
|
rows are whole and a third line is cut off at a fact's edge, never through one. An empty value is not drawn (it
|
|
@@ -1705,6 +1629,13 @@ button.danger { background: var(--status-critical); color: var(--surface); borde
|
|
|
1705
1629
|
position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden;
|
|
1706
1630
|
clip-path: inset(50%); white-space: nowrap; border: 0;
|
|
1707
1631
|
}
|
|
1632
|
+
/* A fact that does not say what it is (RecordSummaries.tsx: a date, a count, a disc of initials) keeps its caption,
|
|
1633
|
+
quiet before the value, and the two wrap as one: a lone disc never takes a line to itself. */
|
|
1634
|
+
body.app-mode .record-summary dl > div[data-captioned] { flex: none; max-inline-size: 100%; }
|
|
1635
|
+
body.app-mode .record-summary dl > div[data-captioned] > dt {
|
|
1636
|
+
position: static; inline-size: auto; block-size: auto; margin: 0; overflow: visible; clip-path: none;
|
|
1637
|
+
font-size: var(--text-xs);
|
|
1638
|
+
}
|
|
1708
1639
|
/* A dashboard's list stands on its section's edge, where the section's title does. */
|
|
1709
1640
|
.dash-list .record-summaries { padding: 0; }
|
|
1710
1641
|
}
|
|
@@ -2012,13 +1943,10 @@ body.app-mode:has(.pending-dock.pending-uncertain) .toast { bottom: calc(35dvh +
|
|
|
2012
1943
|
.page-pin:hover { color: var(--ink); border-color: var(--line); }
|
|
2013
1944
|
.page-pin.is-pinned { color: var(--status-warning); }
|
|
2014
1945
|
|
|
2015
|
-
.diagram-title { margin: 0 0 var(--space-4h); font: 600 var(--text-lg) var(--mono); letter-spacing: -0.01em; }
|
|
2016
|
-
|
|
2017
1946
|
.node-view rect { stroke-dasharray: 4 3; }
|
|
2018
1947
|
.node.dim { opacity: 0.22; }
|
|
2019
1948
|
.node.lit rect { stroke: var(--accent); stroke-width: 2; fill: var(--accent-soft); }
|
|
2020
1949
|
.node.lit text { fill: var(--accent); font-weight: 600; }
|
|
2021
|
-
.schema-edges path.dim { opacity: 0.1; }
|
|
2022
1950
|
@media (prefers-reduced-motion: no-preference) {
|
|
2023
1951
|
.node, .schema-edges path { transition: opacity var(--t-hover) var(--ease-out); }
|
|
2024
1952
|
}
|
|
@@ -2034,7 +1962,7 @@ body.app-mode:has(.pending-dock.pending-uncertain) .toast { bottom: calc(35dvh +
|
|
|
2034
1962
|
second query bar. Capped, because a connection named after a URL should
|
|
2035
1963
|
not push the query bar off the screen. */
|
|
2036
1964
|
.conn-picker { display: flex; gap: var(--space-2h); align-items: center; flex: none; }
|
|
2037
|
-
.conn-picker
|
|
1965
|
+
.conn-picker [data-slot='dropdown'] { min-width: 0; max-width: 200px; }
|
|
2038
1966
|
.conn-picker[hidden] { display: none; }
|
|
2039
1967
|
|
|
2040
1968
|
.field-stack { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-3h); }
|
|
@@ -2119,15 +2047,15 @@ body.app-mode:has(.pending-dock.pending-uncertain) .toast { bottom: calc(35dvh +
|
|
|
2119
2047
|
|
|
2120
2048
|
/* ---------- themed listbox ---------- */
|
|
2121
2049
|
|
|
2122
|
-
:where(:root:not([data-visual-theme]))
|
|
2050
|
+
:where(:root:not([data-visual-theme])) :is([data-slot='select-content'], [data-slot='menu-content']) { box-shadow: 0 6px 20px rgb(0 0 0 / 0.16); }
|
|
2123
2051
|
/* The popup takes focus so the keyboard works from the first arrow; the
|
|
2124
2052
|
highlighted option is the visible focus, not a ring around the box. */
|
|
2125
|
-
|
|
2053
|
+
[data-slot='select-content']:focus,[data-slot='select-content']:focus-visible, .more-list:focus, .more-list:focus-visible { outline: none; }
|
|
2126
2054
|
/* Every popup that holds its menu's focus while an item carries the highlight:
|
|
2127
2055
|
the item says where the keyboard is, so the popup draws no ring round
|
|
2128
2056
|
itself — it drew the browser's blue one round the column menu, in an
|
|
2129
2057
|
App and in the Workbench alike. */
|
|
2130
|
-
:is(.th-menu, .tn-pop, .export-menu, .page-actions-popup, .picker-popup, .pb-menu, .pb-send-menu,
|
|
2058
|
+
:is(.th-menu, .tn-pop, .export-menu, .page-actions-popup, .picker-popup, .pb-menu, .pb-send-menu,[data-slot='popover-content'][data-kind='calendar'], .account-menu-popup):focus-visible { outline: none; }
|
|
2131
2059
|
/* A menu item's keyboard ring is drawn inside the item. The house ring sits 2px
|
|
2132
2060
|
outside, which in a tight menu ran across the rule above and below and into
|
|
2133
2061
|
the neighbouring rows; hover is the background alone and draws no ring. */
|
|
@@ -2137,7 +2065,6 @@ body.app-mode:has(.pending-dock.pending-uncertain) .toast { bottom: calc(35dvh +
|
|
|
2137
2065
|
}
|
|
2138
2066
|
:is([role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]):focus:not(:focus-visible) { outline: none; }
|
|
2139
2067
|
|
|
2140
|
-
|
|
2141
2068
|
/* ---------- a row another person changed ---------- */
|
|
2142
2069
|
|
|
2143
2070
|
/* Tinted, held a moment so it is seen, then faded over --t-changed to what the row is (docs/design.md, rule 11): a
|
|
@@ -2298,7 +2225,7 @@ body.app-mode .page-head.has-record + .page-body { padding-bottom: calc(132px +
|
|
|
2298
2225
|
.command-form { width: min(34rem, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; border-radius: var(--radius); }
|
|
2299
2226
|
.command-fields { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--field-gap); }
|
|
2300
2227
|
.command-field { display: grid; gap: var(--space-2h); min-width: 0; }
|
|
2301
|
-
.command-field
|
|
2228
|
+
.command-field :is([data-slot='input'], [data-slot='textarea']) { width: 100%; box-sizing: border-box; }
|
|
2302
2229
|
.command-field input[type="checkbox"] { width: auto; justify-self: start; }
|
|
2303
2230
|
.command-field textarea { resize: vertical; }
|
|
2304
2231
|
.command-help { max-width: 70ch; color: var(--ink-muted); font-size: var(--text-sm); }
|
|
@@ -2344,7 +2271,7 @@ body.app-mode .page-head.has-record + .page-body { padding-bottom: calc(132px +
|
|
|
2344
2271
|
column one width down a form and every control on the same left edge and
|
|
2345
2272
|
width; a control that must not shrink says so itself (the date's floor). */
|
|
2346
2273
|
.insert-field { display: grid; grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr); gap: var(--space-3h); align-items: baseline; }
|
|
2347
|
-
.insert-field > :is(.insert-input, .picker,
|
|
2274
|
+
.insert-field > :is(.insert-input, .picker,[data-slot='dropdown'],[data-slot='select-trigger']) { min-width: 0; box-sizing: border-box; }
|
|
2348
2275
|
.insert-field > .insert-input, .insert-field > .picker { width: 100%; }
|
|
2349
2276
|
.insert-field label { font: var(--text-sm) var(--mono); color: var(--ink); overflow-wrap: anywhere; }
|
|
2350
2277
|
.insert-field .type { margin-left: var(--space-2h); color: var(--ink-subtle); font-size: var(--text-xs); }
|
|
@@ -2474,8 +2401,6 @@ body.app-mode .page-head.has-record + .page-body { padding-bottom: calc(132px +
|
|
|
2474
2401
|
.related-empties:hover { color: var(--accent-ink); border-color: var(--line); }
|
|
2475
2402
|
.related-list.hide-empty .related-item.empty { display: none; }
|
|
2476
2403
|
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
2404
|
/* Pushed to the far end of the trail, where it is out of the way of reading
|
|
2480
2405
|
the trail itself but lands under the cursor after a click on the last
|
|
2481
2406
|
crumb. */
|
|
@@ -2626,23 +2551,6 @@ body:not(.app-mode) .record .panel { padding-bottom: calc(var(--space-8) + var(-
|
|
|
2626
2551
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
2627
2552
|
}
|
|
2628
2553
|
|
|
2629
|
-
/* The layout's own name, edited in place in the builder's header. */
|
|
2630
|
-
.tpl-title { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
|
|
2631
|
-
.tpl-eyebrow {
|
|
2632
|
-
font: var(--text-xs) var(--mono); text-transform: uppercase; letter-spacing: 0.07em;
|
|
2633
|
-
color: var(--ink-subtle);
|
|
2634
|
-
}
|
|
2635
|
-
.tpl-name {
|
|
2636
|
-
flex: 1 1 8rem; min-width: 0; max-width: 100%;
|
|
2637
|
-
padding: var(--space-1) var(--space-2h); margin: 0 -6px;
|
|
2638
|
-
border: 1px solid transparent; border-radius: var(--radius-item);
|
|
2639
|
-
background: none; color: var(--ink);
|
|
2640
|
-
font: 600 calc(15px * var(--type-k)) var(--mono); letter-spacing: 0;
|
|
2641
|
-
}
|
|
2642
|
-
.tpl-name:hover { border-color: var(--line); }
|
|
2643
|
-
.tpl-name:focus { outline: none; border-color: var(--focus); background: var(--ground); }
|
|
2644
|
-
.tpl-for { font: var(--text-xs) var(--mono); color: var(--ink-subtle); overflow-wrap: anywhere; }
|
|
2645
|
-
|
|
2646
2554
|
/* A drawer, not an overlay.
|
|
2647
2555
|
|
|
2648
2556
|
The builder used to cover the screen, which meant configuring a record
|
|
@@ -2667,67 +2575,8 @@ body.editing-layout .record-heading > span { flex-basis: 100%; min-width: 0; ove
|
|
|
2667
2575
|
@media (max-width: 700px) {
|
|
2668
2576
|
.tpl { width: 100%; border-left: 0; }
|
|
2669
2577
|
body.editing-layout .layout { padding-right: 0; }
|
|
2670
|
-
.tpl-title { display: grid; grid-template-columns: minmax(0, 1fr); }
|
|
2671
|
-
.tpl-name { width: 100%; margin: 0; }
|
|
2672
|
-
.tpl-section-head { flex-wrap: wrap; }
|
|
2673
|
-
.tpl-section-name { overflow-wrap: anywhere; }
|
|
2674
|
-
}
|
|
2675
|
-
|
|
2676
|
-
.tpl-head {
|
|
2677
|
-
padding: var(--space-4h) var(--space-5) var(--space-4);
|
|
2678
|
-
border-bottom: 1px solid var(--line);
|
|
2679
|
-
display: flex; flex-direction: column; gap: var(--space-2h);
|
|
2680
2578
|
}
|
|
2681
|
-
.tpl-head h2 { margin: 0; font: 600 var(--text-base) var(--sans); letter-spacing: -0.01em; }
|
|
2682
2579
|
.tpl-lede { margin: 0; color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.45; }
|
|
2683
|
-
.tpl-head-actions { display: flex; gap: var(--space-2h); flex-wrap: wrap; margin-top: var(--space-1); }
|
|
2684
|
-
.tpl-head-actions button { padding: var(--space-2) var(--space-3h); font-size: var(--text-sm); }
|
|
2685
|
-
.tpl-error, .tpl-recovery p { margin: 0; font-size: var(--text-sm); overflow-wrap: anywhere; }
|
|
2686
|
-
.tpl-error { color: var(--status-critical); }
|
|
2687
|
-
.tpl-recovery { padding-block: var(--space-3); border-block: 1px solid var(--line); }
|
|
2688
|
-
.tpl-body[inert] { opacity: 0.6; }
|
|
2689
|
-
|
|
2690
|
-
.tpl-body { flex: 1; overflow-y: auto; padding: var(--space-4) var(--space-4h) var(--space-7); }
|
|
2691
|
-
|
|
2692
|
-
.tpl-section { border: 1px solid var(--line); border-radius: var(--radius-panel); margin-bottom: var(--space-3); background: var(--ground); }
|
|
2693
|
-
.tpl-section.off { opacity: 0.55; }
|
|
2694
|
-
.tpl-section-head {
|
|
2695
|
-
display: flex; align-items: center; gap: var(--space-3h);
|
|
2696
|
-
padding: var(--space-3h) var(--space-4);
|
|
2697
|
-
border-bottom: 1px solid var(--line);
|
|
2698
|
-
}
|
|
2699
|
-
.tpl-section.off .tpl-section-head { border-bottom: none; }
|
|
2700
|
-
.tpl-toggle { display: flex; align-items: center; gap: var(--space-3); cursor: pointer; }
|
|
2701
|
-
.tpl-section-name { font: 600 var(--text-sm) var(--sans); color: var(--ink); }
|
|
2702
|
-
.tpl-section-kind { font: var(--text-xs) var(--mono); color: var(--ink-subtle); }
|
|
2703
|
-
.tpl-section-actions { margin-left: auto; display: flex; gap: var(--space-1); }
|
|
2704
|
-
.tpl-move {
|
|
2705
|
-
background: none; border: none; border-radius: min(4px, var(--radius));
|
|
2706
|
-
color: var(--ink-muted); cursor: pointer; padding: var(--space-1h) var(--space-3); font-size: var(--text-xs);
|
|
2707
|
-
}
|
|
2708
|
-
.tpl-move:hover:not([disabled]) { color: var(--accent-ink); background: var(--accent-soft); }
|
|
2709
|
-
.tpl-move[disabled] { color: var(--ink-subtle); cursor: default; }
|
|
2710
|
-
|
|
2711
|
-
/* The shared arranger (page.css, `.pb-*`) inside a layout card.
|
|
2712
|
-
|
|
2713
|
-
It is drawn there to hang off a builder row — no top border, its own tint,
|
|
2714
|
-
rounded at the bottom only — and a card already provides all three. So it
|
|
2715
|
-
keeps its contents and gives up its box. */
|
|
2716
|
-
.tpl-section .pb-panel {
|
|
2717
|
-
margin: 0; padding: var(--space-3) var(--space-3h) var(--space-3h);
|
|
2718
|
-
background: none; border: none; border-radius: 0;
|
|
2719
|
-
}
|
|
2720
|
-
.tpl-section .pb-arrange { max-height: none; }
|
|
2721
|
-
|
|
2722
|
-
.tpl-rows {
|
|
2723
|
-
display: flex; align-items: center; gap: var(--space-3);
|
|
2724
|
-
padding: var(--space-2) var(--space-4) var(--space-4); font-size: var(--text-sm); color: var(--ink-muted);
|
|
2725
|
-
}
|
|
2726
|
-
.tpl-rows input {
|
|
2727
|
-
width: 4.5rem; padding: var(--space-2) var(--space-3);
|
|
2728
|
-
font: var(--text-sm) var(--mono); color: var(--ink);
|
|
2729
|
-
background: var(--ground); border: 1px solid var(--line-control); border-radius: var(--radius);
|
|
2730
|
-
}
|
|
2731
2580
|
|
|
2732
2581
|
/* ---------- agent console ---------- */
|
|
2733
2582
|
|
|
@@ -2803,7 +2652,6 @@ body.editing-layout .record-heading > span { flex-basis: 100%; min-width: 0; ove
|
|
|
2803
2652
|
padding-bottom: var(--space-5);
|
|
2804
2653
|
border-bottom: 1px solid var(--line);
|
|
2805
2654
|
}
|
|
2806
|
-
.diagram-scope { font-size: var(--text-xs); padding: 1px var(--space-3); }
|
|
2807
2655
|
|
|
2808
2656
|
.conn-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4h); }
|
|
2809
2657
|
.conn-brand-name { font: 600 var(--text-base) var(--mono); letter-spacing: -0.01em; color: var(--ink-muted); }
|
|
@@ -3197,7 +3045,6 @@ tr.expanded > td { border-bottom-color: transparent; background: var(--accent-so
|
|
|
3197
3045
|
.cell-copied { transition: background var(--t-hover) var(--ease-out); }
|
|
3198
3046
|
}
|
|
3199
3047
|
|
|
3200
|
-
|
|
3201
3048
|
/* The expand-every-row control, in the header cell above the expanders. It is
|
|
3202
3049
|
the same glyph as the row's own, one rank quieter, so it reads as "all of
|
|
3203
3050
|
these" rather than as a different kind of control. */
|
|
@@ -3476,7 +3323,7 @@ tr.expanded > td { border-bottom-color: transparent; background: var(--accent-so
|
|
|
3476
3323
|
background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong);
|
|
3477
3324
|
border-radius: var(--radius); box-shadow: var(--shadow-modal);
|
|
3478
3325
|
}
|
|
3479
|
-
|
|
3326
|
+
[data-slot='dialog-backdrop'][data-for='tenant-chooser-dialog'] { background: var(--scrim); }
|
|
3480
3327
|
.tenant-chooser-dialog .tenant-chooser { margin: 0; }
|
|
3481
3328
|
.tenant-chooser-actions { display: flex; justify-content: flex-end; padding: 0 var(--space-6) var(--space-6); }
|
|
3482
3329
|
/* What the bar offers beside the control is the dialog's too, and only on a
|
|
@@ -3519,9 +3366,13 @@ body.tenant-suspended > :not(.tenant-renewal-overlay) * { visibility: hidden !im
|
|
|
3519
3366
|
.skip-link {
|
|
3520
3367
|
position: fixed; left: 8px; top: 8px; z-index: 400;
|
|
3521
3368
|
padding: var(--space-3) var(--space-4); border: 1px solid var(--line-control); border-radius: var(--radius);
|
|
3522
|
-
background: var(--surface);
|
|
3369
|
+
background: var(--surface); font: 600 var(--text-base)/20px var(--sans);
|
|
3523
3370
|
transform: translateY(calc(-100% - 16px));
|
|
3524
3371
|
}
|
|
3372
|
+
/* Its own pair, said past the bar's: it sits in the banner, and a bar on a dark ground gives what it holds the
|
|
3373
|
+
bar's light ink, which on the page's surface read 1.2:1 (Graphite). The menu's ink on the menu's ground is a pair
|
|
3374
|
+
every look is checked for (theme.ts), so the link wears that one where a look names it. */
|
|
3375
|
+
a.skip-link.skip-link { color: var(--nav-ink, var(--ink)); background: var(--nav-ground, var(--surface)); }
|
|
3525
3376
|
.skip-link:focus { transform: none; outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
|
|
3526
3377
|
/* The pane takes the focus only from the skip link or the sidebar's
|
|
3527
3378
|
ArrowRight; the room it holds already says where the keyboard is. */
|
|
@@ -3576,7 +3427,7 @@ body.tenant-suspended > :not(.tenant-renewal-overlay) * { visibility: hidden !im
|
|
|
3576
3427
|
/* The skip link is the keyboard's way past the bars, and paper has no keyboard: kept off screen by a transform,
|
|
3577
3428
|
it was still a fixed box in the print tree, and "Skip to content" came out on the PDF. */
|
|
3578
3429
|
.skip-link, .topbar, .sidebar, #querybar, #toast, .crumb-tools, .page-head-actions, .page-pending, .pending-dock, .applist-controls,
|
|
3579
|
-
.pager, .quick-add, .page-related-create, .inline-edit-button
|
|
3430
|
+
.pager, .quick-add, .page-related-create, .inline-edit-button,:is([data-slot='date-field'] > [data-slot='popover-trigger']) { display: none !important; }
|
|
3580
3431
|
.page-tabpanel[hidden] { display: none; }
|
|
3581
3432
|
/* The trail is the walk's, not the sheet's: sticky, it printed over a record's first lines (a quote's
|
|
3582
3433
|
letterhead). A list's title rides in it (crumb-note), so a list keeps that, in the flow, and a record
|
|
@@ -3586,8 +3437,8 @@ body.tenant-suspended > :not(.tenant-renewal-overlay) * { visibility: hidden !im
|
|
|
3586
3437
|
.crumbs:has(> .crumb-note:empty) { display: none; }
|
|
3587
3438
|
.page-layout { display: block; }
|
|
3588
3439
|
.page-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: var(--space-6); padding-top: var(--space-6); }
|
|
3589
|
-
.page-section, .page-field, .page-sheet-row, .timeline-row, .pbd-row, .chart-stacked-row,
|
|
3590
|
-
h1,
|
|
3440
|
+
.page-section, .page-field, .page-sheet-row, .timeline-row, .pbd-row, .chart-stacked-row,tr:where(:not([data-slot])) { break-inside: avoid; }
|
|
3441
|
+
h1:where(:not([data-slot])),h2:where(:not([data-slot])),h3:where(:not([data-slot])), .page-section-head, .page-section-title { break-after: avoid; }
|
|
3591
3442
|
}
|
|
3592
3443
|
}
|
|
3593
3444
|
|