@mistriwork/kit 1.0.0-rc.58 → 1.0.0-rc.60
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 +16 -3
- 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 +46 -11
- package/dist/client/components/AppList.d.ts +3 -1
- package/dist/client/components/AppList.js +92 -19
- 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 +4 -2
- 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 -7
- package/dist/client/components/GridSelection.js +45 -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 +43 -16
- package/dist/client/components/ListFilterBar.js +45 -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 +27 -6
- package/dist/client/components/SectionPeriod.css +1 -1
- package/dist/client/components/SetFieldDialog.js +1 -1
- package/dist/client/components/Sidebar.js +15 -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 +6 -2
- 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/useMediaQuery.d.ts +2 -0
- package/dist/client/components/useMediaQuery.js +2 -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/core.d.ts +2 -1
- package/dist/client/core.js +46 -2
- package/dist/client/customThemes.css +3 -3
- package/dist/client/dom.js +5 -5
- package/dist/client/features.css +220 -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/navigationHold.d.ts +9 -0
- package/dist/client/navigationHold.js +46 -3
- package/dist/client/page.css +107 -357
- 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 +282 -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
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
/* A row's hairline, a step fainter than a card's edge. */
|
|
32
32
|
:root[data-look-table='card'] {
|
|
33
33
|
--row-rule: color-mix(in srgb, var(--line) 70%, var(--surface));
|
|
34
|
+
/* The band its heads stand on, wherever a table is: a list, a dashboard's card, a record's related rows. */
|
|
35
|
+
--table-head-ground: var(--raised);
|
|
34
36
|
}
|
|
35
37
|
/* The current room and a tint of what is chosen. */
|
|
36
38
|
:root:is([data-look-nav='pill'], [data-look-workflow='pills'], [data-look-avatar='round']) {
|
|
@@ -112,7 +114,7 @@
|
|
|
112
114
|
font-weight: 500;
|
|
113
115
|
}
|
|
114
116
|
:root[data-look-nav='pill'] :is(#table-list, .mobile-nav-list) button[aria-current='true'] .nav-icon {
|
|
115
|
-
color:
|
|
117
|
+
color: inherit;
|
|
116
118
|
}
|
|
117
119
|
/* A room's count is a quiet figure at the row's end, in the menu's quiet ink (nav.muted): a pill on every row made each
|
|
118
120
|
room shout its size. A count that says work is late takes the danger's ink (Sidebar.tsx, is-overdue). */
|
|
@@ -131,14 +133,12 @@
|
|
|
131
133
|
color: var(--status-critical);
|
|
132
134
|
font-weight: 600;
|
|
133
135
|
}
|
|
134
|
-
/* A group's heading:
|
|
136
|
+
/* A group's heading: the menu's quiet ink, a step further in than a row. */
|
|
135
137
|
:root[data-look-nav='pill'] #table-list li.nav-group {
|
|
136
138
|
padding: 18px var(--space-4) var(--space-2h) calc(12px + var(--nav-group-inset, 0px));
|
|
137
139
|
/* The menu's quiet ink on the menu's ground (nav.muted, measured there), not the page's caption: under a dark
|
|
138
140
|
side menu the page's ink read as nothing. */
|
|
139
141
|
color: var(--nav-muted);
|
|
140
|
-
font: 500 var(--text-xs) var(--sans);
|
|
141
|
-
letter-spacing: var(--track-caps);
|
|
142
142
|
}
|
|
143
143
|
:root[data-look-avatar='round'] .sidebar-identity-mark {
|
|
144
144
|
border-radius: 50%;
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
font-size: var(--text-md);
|
|
236
236
|
}
|
|
237
237
|
:root[data-look-banner='plain'] .dashboard-note.is-banner .dashboard-note-action {
|
|
238
|
-
min-height:
|
|
238
|
+
min-height: var(--control-h-sm);
|
|
239
239
|
margin-top: var(--space-4);
|
|
240
240
|
font-size: var(--text-base);
|
|
241
241
|
}
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
box-shadow: var(--shadow-card);
|
|
277
277
|
}
|
|
278
278
|
:root[data-look-section='card'] .dash-body .page-section:not(.dash-strip) th {
|
|
279
|
-
background: var(--surface);
|
|
279
|
+
background: var(--table-head-ground, var(--surface));
|
|
280
280
|
}
|
|
281
281
|
:root[data-look-section='card'] .dash-body .page-section:not(.dash-strip) .dash-list .table-wrap {
|
|
282
282
|
margin-inline: calc(-1 * var(--panel-pad-inline));
|
|
@@ -489,20 +489,26 @@
|
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
/* ---------- Tables ---------- */
|
|
492
|
-
/* Heads
|
|
493
|
-
|
|
492
|
+
/* Heads on a band a step off the surface, ruled under, and rows divided by the faintest hairline. The band is
|
|
493
|
+
what tells a card of rows from a card of anything else, and it stays over the rows as they scroll. */
|
|
494
|
+
:root[data-look-table='card'] th:where(:not([data-slot])) {
|
|
494
495
|
font: 500 var(--text-sm) var(--sans);
|
|
495
496
|
color: var(--ink-muted);
|
|
497
|
+
background: var(--table-head-ground);
|
|
496
498
|
border-bottom: 1px solid var(--line);
|
|
497
499
|
}
|
|
498
|
-
:root[data-look-table='card'] td {
|
|
500
|
+
:root[data-look-table='card'] td:where(:not([data-slot])) {
|
|
499
501
|
font-size: var(--text-base);
|
|
500
502
|
border-bottom-color: var(--row-rule);
|
|
501
503
|
}
|
|
502
504
|
:root[data-look-table='card'] .app-mode :is(td, th) {
|
|
503
505
|
padding-block: var(--space-3h);
|
|
504
506
|
}
|
|
505
|
-
:
|
|
507
|
+
/* The band is a row's height: at a title's, the head of a tight look stood half as tall again as its rows. */
|
|
508
|
+
:root[data-look-table='card'] .app-mode thead th {
|
|
509
|
+
padding-block: var(--space-2h);
|
|
510
|
+
}
|
|
511
|
+
:root[data-look-table='card'] tbody tr:hover td:where(:not([data-slot])) {
|
|
506
512
|
background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface));
|
|
507
513
|
}
|
|
508
514
|
:root[data-look-table='card'] .grid-totals td {
|
|
@@ -518,7 +524,31 @@
|
|
|
518
524
|
overflow: hidden;
|
|
519
525
|
}
|
|
520
526
|
:root[data-look-table='card'] .applist-room .table-wrap th {
|
|
527
|
+
background: var(--table-head-ground);
|
|
528
|
+
}
|
|
529
|
+
/* A list read as a queue (a row and its two lines) and a list's records as summaries, which is how a phone reads
|
|
530
|
+
a table, are the same card: ruled apart on the bare ground they were the lists of the look not held. */
|
|
531
|
+
:root[data-look-table='card'] .app-mode .applist-room :is(.queue-list, .record-summaries) {
|
|
532
|
+
overflow: hidden;
|
|
521
533
|
background: var(--surface);
|
|
534
|
+
border: var(--panel-border-width, 1px) solid var(--line);
|
|
535
|
+
border-radius: var(--radius-lg);
|
|
536
|
+
box-shadow: var(--shadow-card);
|
|
537
|
+
}
|
|
538
|
+
:root[data-look-table='card'] .app-mode .applist-room .record-summaries {
|
|
539
|
+
padding-inline: var(--space-5);
|
|
540
|
+
}
|
|
541
|
+
:root[data-look-table='card'] .app-mode .applist-room .record-summaries > .record-summary:first-child {
|
|
542
|
+
border-top-color: transparent;
|
|
543
|
+
}
|
|
544
|
+
/* On a phone the summaries reach the pane's edges (style.css); a card stands in from them by the page's gutter. */
|
|
545
|
+
@media (max-width: 760px) {
|
|
546
|
+
:root[data-look-table='card'] .app-mode .applist-room .record-summaries {
|
|
547
|
+
margin-inline: var(--space-4);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
:root[data-look-table='card'] .app-mode .applist-room .queue-list > .queue-row:last-child {
|
|
551
|
+
border-bottom-color: transparent;
|
|
522
552
|
}
|
|
523
553
|
|
|
524
554
|
/* ---------- Meaning ---------- */
|
|
@@ -612,7 +642,7 @@
|
|
|
612
642
|
}
|
|
613
643
|
/* A record's second verb ("Mark lost") stands as a button beside the first, not a blue word: in the bar the
|
|
614
644
|
link's blue beside the accent's fill read as two primaries. */
|
|
615
|
-
:root[data-look-buttons='raised'] .page-action
|
|
645
|
+
:root[data-look-buttons='raised'] .page-action[data-slot='button'][data-variant='quiet'] {
|
|
616
646
|
padding-inline: var(--space-4);
|
|
617
647
|
border-color: var(--line);
|
|
618
648
|
background: var(--surface);
|
|
@@ -627,13 +657,13 @@
|
|
|
627
657
|
padding-block: 0 var(--space-2h);
|
|
628
658
|
}
|
|
629
659
|
:root[data-look-buttons='raised'] .page-section-bar > .page-related-create button {
|
|
630
|
-
min-height:
|
|
660
|
+
min-height: var(--control-h-sm);
|
|
631
661
|
padding: var(--space-2) var(--space-4);
|
|
632
662
|
font-size: var(--text-sm);
|
|
633
663
|
}
|
|
634
664
|
}
|
|
635
665
|
:root[data-look-buttons='raised'] .app-mode button.ghost.applist-new,
|
|
636
|
-
:root[data-look-buttons='raised']
|
|
666
|
+
:root[data-look-buttons='raised'] [data-slot='button'][data-variant='solid'] {
|
|
637
667
|
background: var(--primary, var(--accent));
|
|
638
668
|
border-color: var(--primary, var(--accent));
|
|
639
669
|
color: var(--on-primary, var(--on-accent));
|
|
@@ -643,7 +673,7 @@
|
|
|
643
673
|
:root[data-look-buttons='raised']
|
|
644
674
|
:is(
|
|
645
675
|
.applist-quick-text,
|
|
646
|
-
.applist-field
|
|
676
|
+
.applist-field [data-slot='select-trigger'],
|
|
647
677
|
.picker,
|
|
648
678
|
.page-field-edit .cell-edit,
|
|
649
679
|
#table-filter
|
|
@@ -656,10 +686,10 @@
|
|
|
656
686
|
chevron. The window's menu stood 32px tall behind a calendar mark while the filters were 23px pills with a
|
|
657
687
|
text caret, three kinds of control in one row. Its edge is a field's (--line-control), not a card's hairline:
|
|
658
688
|
these are Selects, and a sort drawn in --line stood at 1.22:1 on the list, where a control needs 3:1. */
|
|
659
|
-
:root[data-look-buttons='raised'] :is(.dash-window-button, .dash-picks
|
|
689
|
+
:root[data-look-buttons='raised'] :is(.dash-window-button, .dash-picks [data-slot='select-trigger'], .dash-period [data-slot='select-trigger'], .applist-sort [data-slot='select-trigger'], .chart-series-pick) {
|
|
660
690
|
box-sizing: border-box;
|
|
661
|
-
height:
|
|
662
|
-
min-height:
|
|
691
|
+
height: var(--control-h-sm);
|
|
692
|
+
min-height: var(--control-h-sm);
|
|
663
693
|
padding: 0 var(--space-3h);
|
|
664
694
|
gap: var(--space-2h);
|
|
665
695
|
border: 1px solid var(--line-control);
|
|
@@ -672,10 +702,10 @@
|
|
|
672
702
|
:root[data-look-buttons='raised'] .dash-window-icon {
|
|
673
703
|
display: none;
|
|
674
704
|
}
|
|
675
|
-
:root[data-look-buttons='raised'] :is(.dash-window-caret, .dash-picks
|
|
705
|
+
:root[data-look-buttons='raised'] :is(.dash-window-caret, .dash-picks [data-slot='select-trigger']::after, .dash-period [data-slot='select-trigger']::after, .applist-sort [data-slot='select-trigger']::after) {
|
|
676
706
|
color: var(--ink-subtle);
|
|
677
707
|
}
|
|
678
|
-
:root[data-look-buttons='raised'] :is(.dash-picks, .dash-period, .applist-sort)
|
|
708
|
+
:root[data-look-buttons='raised'] :is(.dash-picks, .dash-period, .applist-sort) [data-slot='select-trigger']::after {
|
|
679
709
|
width: 5px;
|
|
680
710
|
height: 5px;
|
|
681
711
|
margin: -3px var(--space-1) 0 var(--space-1);
|
|
@@ -885,8 +915,8 @@
|
|
|
885
915
|
pointer-events: none;
|
|
886
916
|
}
|
|
887
917
|
:root[data-look-buttons='raised'] .applist-search-input {
|
|
888
|
-
height:
|
|
889
|
-
min-height:
|
|
918
|
+
height: var(--control-h-sm);
|
|
919
|
+
min-height: var(--control-h-sm);
|
|
890
920
|
padding-left: var(--space-7);
|
|
891
921
|
border: 1px solid var(--line-control);
|
|
892
922
|
border-radius: var(--control-radius, var(--radius));
|
|
@@ -899,18 +929,19 @@
|
|
|
899
929
|
:root[data-look-buttons='raised'] .applist-search-input:focus {
|
|
900
930
|
background: var(--surface);
|
|
901
931
|
}
|
|
902
|
-
/* `filters: 'quiet'`: a filter not yet asked for
|
|
903
|
-
Lumen beside its raised buttons, so a theme may pick either without the other. */
|
|
932
|
+
/* `filters: 'quiet'`: a filter not yet asked for is a chip on the raised ground with no edge, a step darker under
|
|
933
|
+
a pointer. Its own recipe, worn by Lumen beside its raised buttons, so a theme may pick either without the other. */
|
|
904
934
|
:root[data-look-filters='quiet'] .applist-add {
|
|
905
|
-
height:
|
|
906
|
-
padding: 0 var(--space-
|
|
935
|
+
height: var(--control-h-sm);
|
|
936
|
+
padding: 0 var(--space-3h);
|
|
907
937
|
border: 1px solid transparent;
|
|
938
|
+
background: var(--raised);
|
|
908
939
|
color: var(--ink-muted);
|
|
909
940
|
font-weight: 500;
|
|
910
941
|
}
|
|
911
942
|
:root[data-look-filters='quiet'] .applist-add:is(:hover, [aria-expanded='true']) {
|
|
912
943
|
border-color: transparent;
|
|
913
|
-
background: var(--
|
|
944
|
+
background: color-mix(in srgb, var(--ink) 9%, var(--surface));
|
|
914
945
|
color: var(--ink);
|
|
915
946
|
}
|
|
916
947
|
:root[data-look-buttons='raised'] .applist-sheet-open {
|
|
@@ -923,7 +954,7 @@
|
|
|
923
954
|
thumb as a 30px search, a 36px Filters and a 30px Sort (ListFilterBar.css says the same for the other looks). */
|
|
924
955
|
@media (max-width: 600px) {
|
|
925
956
|
:root[data-look-buttons='raised'] :is(.applist-search-input, .applist-sheet-open),
|
|
926
|
-
:root[data-look-buttons='raised'] .applist-sort
|
|
957
|
+
:root[data-look-buttons='raised'] .applist-sort [data-slot='select-trigger'] {
|
|
927
958
|
height: 40px;
|
|
928
959
|
min-height: 40px;
|
|
929
960
|
}
|
|
@@ -936,7 +967,7 @@
|
|
|
936
967
|
font-weight: 500;
|
|
937
968
|
}
|
|
938
969
|
:root[data-look-buttons='raised'] .applist-fields .applist-chip {
|
|
939
|
-
height:
|
|
970
|
+
height: var(--control-h-sm);
|
|
940
971
|
border-color: transparent;
|
|
941
972
|
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
|
|
942
973
|
color: var(--ink);
|
|
@@ -951,7 +982,7 @@
|
|
|
951
982
|
}
|
|
952
983
|
:root[data-look-buttons='raised'] .applist-toggle {
|
|
953
984
|
box-sizing: border-box;
|
|
954
|
-
height:
|
|
985
|
+
height: var(--control-h-sm);
|
|
955
986
|
padding: 0 var(--space-4);
|
|
956
987
|
border: 1px solid var(--line);
|
|
957
988
|
border-radius: var(--control-radius, var(--radius));
|
|
@@ -1000,8 +1031,8 @@
|
|
|
1000
1031
|
}
|
|
1001
1032
|
:root[data-look-buttons='raised'] .facet :is(input[type='text'], input[type='search'], input[type='number'], input:not([type])) {
|
|
1002
1033
|
box-sizing: border-box;
|
|
1003
|
-
height:
|
|
1004
|
-
min-height:
|
|
1034
|
+
height: var(--control-h-sm);
|
|
1035
|
+
min-height: var(--control-h-sm);
|
|
1005
1036
|
/* A control's edge, as the list's search box keeps (WCAG 1.4.11): the hairline on the raised fill read 1.11:1,
|
|
1006
1037
|
a grey patch with no edge. */
|
|
1007
1038
|
border: 1px solid var(--line-control);
|
|
@@ -1056,7 +1087,7 @@
|
|
|
1056
1087
|
}
|
|
1057
1088
|
/* The strip look keeps a stripe in the first 10px of the card; the drag grip (TriageBoard.css, drawn only where a
|
|
1058
1089
|
pointer hovers) stands in the padding beside it. This is the look's rule, so it lives in the look's sheet. */
|
|
1059
|
-
:root[data-look-board='strip'] .triage-card[data-draggable='true']::after {
|
|
1090
|
+
:root[data-look-board='strip'] .triage-card.has-category[data-draggable='true']::after {
|
|
1060
1091
|
left: 12px;
|
|
1061
1092
|
}
|
|
1062
1093
|
:root[data-look-board='strip'] :is(.triage-lane-head, .board-lane-head, .triage-lane-top) {
|
|
@@ -1102,17 +1133,32 @@
|
|
|
1102
1133
|
padding-top: 0;
|
|
1103
1134
|
}
|
|
1104
1135
|
:root[data-look-board='strip'] :is(.board-card, .triage-card) {
|
|
1105
|
-
--card-hue: var(--lane-hue);
|
|
1106
1136
|
position: relative;
|
|
1107
1137
|
gap: var(--space-2);
|
|
1108
|
-
|
|
1138
|
+
--card-pad: var(--space-4h);
|
|
1139
|
+
padding: var(--space-4) var(--space-4h);
|
|
1109
1140
|
background: var(--surface);
|
|
1110
1141
|
border: var(--panel-border-width, 1px) solid var(--line);
|
|
1111
1142
|
border-radius: var(--radius-lg);
|
|
1112
1143
|
box-shadow: var(--shadow-card);
|
|
1113
1144
|
}
|
|
1114
|
-
/*
|
|
1115
|
-
|
|
1145
|
+
/* A declared category is what the card is: its colour is a stripe of its own, inset from the edge with rounded
|
|
1146
|
+
ends, and its word leads the card's line. A card with none has no stripe: its lane's tone is said once, on the
|
|
1147
|
+
lane's strip, and a toned value of its own is a dot and its word on the card's line. Every card wore a stripe, its
|
|
1148
|
+
lane's where it had none of its own, and a lane of five read as five marks saying one thing. */
|
|
1149
|
+
/* The words stand a step clear of the bar, which ends 10px in: at the rhythm's own step alone a compact rhythm
|
|
1150
|
+
(Graphite's) set them 2px from it. */
|
|
1151
|
+
:root[data-look-board='strip'] .triage-card.has-category,
|
|
1152
|
+
:root[data-look-board='strip'] .board-card {
|
|
1153
|
+
padding-left: calc(var(--space-3h) + var(--space-3));
|
|
1154
|
+
}
|
|
1155
|
+
:root[data-look-board='strip'] .board-card {
|
|
1156
|
+
--card-hue: var(--lane-hue);
|
|
1157
|
+
}
|
|
1158
|
+
:root[data-look-board='strip'] .triage-card.has-category {
|
|
1159
|
+
--card-hue: var(--cat-ink);
|
|
1160
|
+
}
|
|
1161
|
+
:root[data-look-board='strip'] :is(.board-card, .triage-card.has-category)::before {
|
|
1116
1162
|
content: '';
|
|
1117
1163
|
position: absolute;
|
|
1118
1164
|
left: 6px;
|
|
@@ -1122,29 +1168,20 @@
|
|
|
1122
1168
|
border-radius: 999px;
|
|
1123
1169
|
background: var(--card-hue);
|
|
1124
1170
|
}
|
|
1125
|
-
:root[data-look-board='strip']
|
|
1171
|
+
:root[data-look-board='strip'] .board-card:has(.tone-good) {
|
|
1126
1172
|
--card-hue: var(--status-good);
|
|
1127
1173
|
}
|
|
1128
|
-
:root[data-look-board='strip']
|
|
1174
|
+
:root[data-look-board='strip'] .board-card:has(.tone-warn) {
|
|
1129
1175
|
--card-hue: var(--status-warning);
|
|
1130
1176
|
}
|
|
1131
|
-
:root[data-look-board='strip']
|
|
1177
|
+
:root[data-look-board='strip'] .board-card:has(.tone-info) {
|
|
1132
1178
|
--card-hue: var(--status-info);
|
|
1133
1179
|
}
|
|
1134
|
-
:root[data-look-board='strip']
|
|
1180
|
+
:root[data-look-board='strip'] .board-card:has(.tone-bad) {
|
|
1135
1181
|
--card-hue: var(--status-critical);
|
|
1136
1182
|
}
|
|
1137
|
-
/* A declared category is what the card is, ahead of any toned value on it: its color is the stripe. */
|
|
1138
|
-
:root[data-look-board='strip'] .triage-card.has-category {
|
|
1139
|
-
--card-hue: var(--cat-ink);
|
|
1140
|
-
}
|
|
1141
|
-
/* The category is said once more as words, not as a second pill: the stripe is its colour, the word is its name. */
|
|
1142
1183
|
:root[data-look-board='strip'] .triage-card-category {
|
|
1143
|
-
padding: 0;
|
|
1144
|
-
border-radius: 0;
|
|
1145
|
-
background: none;
|
|
1146
1184
|
color: var(--ink-muted);
|
|
1147
|
-
font: 500 var(--text-sm)/1.4 var(--sans);
|
|
1148
1185
|
}
|
|
1149
1186
|
/* The ⋯ is a kebab at the card's top right, always there in the faint ink, as the card's own menu. */
|
|
1150
1187
|
:root[data-look-board='strip'] .triage-card-menu-button {
|
|
@@ -1156,8 +1193,6 @@
|
|
|
1156
1193
|
}
|
|
1157
1194
|
:root[data-look-board='strip'] .triage-card-foot {
|
|
1158
1195
|
margin-top: var(--space-2h);
|
|
1159
|
-
padding-top: var(--space-3);
|
|
1160
|
-
border-top: 1px solid var(--line);
|
|
1161
1196
|
}
|
|
1162
1197
|
:root[data-look-board='strip'] .triage-lane-new {
|
|
1163
1198
|
color: var(--lane-ink);
|
|
@@ -1190,13 +1225,13 @@
|
|
|
1190
1225
|
place, said as a rule of its own rather than as `:has(> .tone:not(.tone-neutral))`: a :not() inside :has() lets
|
|
1191
1226
|
any element added anywhere change what :has() matches, and Chrome then restyled the whole pane — the screen held
|
|
1192
1227
|
for a navigation with it — for each one (test/built-client-vitals.mjs). */
|
|
1193
|
-
:root[data-look-board='strip']
|
|
1228
|
+
:root[data-look-board='strip'] .board-card-line:has(> .tone) {
|
|
1194
1229
|
order: -1;
|
|
1195
1230
|
}
|
|
1196
|
-
:root[data-look-board='strip']
|
|
1231
|
+
:root[data-look-board='strip'] .board-card-line:has(> .tone-neutral) {
|
|
1197
1232
|
order: 0;
|
|
1198
1233
|
}
|
|
1199
|
-
html:root[data-look-board='strip']
|
|
1234
|
+
html:root[data-look-board='strip'] .board-card-line > .tone:not(.tone-neutral) {
|
|
1200
1235
|
padding: 0 var(--space-3);
|
|
1201
1236
|
font-size: var(--text-xs);
|
|
1202
1237
|
font-weight: 600;
|
|
@@ -1204,7 +1239,7 @@
|
|
|
1204
1239
|
text-transform: uppercase;
|
|
1205
1240
|
line-height: 1.7;
|
|
1206
1241
|
}
|
|
1207
|
-
html:root[data-look-board='strip']
|
|
1242
|
+
html:root[data-look-board='strip'] .board-card-line > .tone:not(.tone-neutral)::before {
|
|
1208
1243
|
content: none;
|
|
1209
1244
|
}
|
|
1210
1245
|
|
|
@@ -1232,6 +1267,59 @@
|
|
|
1232
1267
|
font-size: var(--text-sm);
|
|
1233
1268
|
color: var(--ink-muted);
|
|
1234
1269
|
}
|
|
1270
|
+
/* A field's name is a label, set as the look sets every label (`type.roles.label`): beside column heads and stat
|
|
1271
|
+
labels in tracked capitals, a card's "Building" in sentence case was a second kind of label on one page. A
|
|
1272
|
+
theme that says nothing of labels keeps the sans above. A form's labels are not these, nor the facts under a
|
|
1273
|
+
record's title: they are read as sentences are, beside the name they belong to. */
|
|
1274
|
+
:root[data-look-fields='card'][data-type-label~='face'] :is(.page-field > dt, .page-card-fact > dt) {
|
|
1275
|
+
font-family: var(--type-label-font);
|
|
1276
|
+
}
|
|
1277
|
+
:root[data-look-fields='card'][data-type-label~='upper'] :is(.page-field > dt, .page-card-fact > dt) {
|
|
1278
|
+
font-size: var(--type-label-size, var(--text-xs));
|
|
1279
|
+
font-weight: var(--type-label-weight, 500);
|
|
1280
|
+
text-transform: uppercase;
|
|
1281
|
+
letter-spacing: var(--type-label-tracking, var(--track-caps));
|
|
1282
|
+
}
|
|
1283
|
+
/* A record's figures are a card too, ruled into cells as a dashboard's strip is: bare on the ground between a
|
|
1284
|
+
card above and a card below, they were the one block of the page not held. */
|
|
1285
|
+
:root[data-look-fields='card'] body:not(.public-visitor) .page-field-grid.page-field-summary {
|
|
1286
|
+
padding: var(--space-4) var(--space-5);
|
|
1287
|
+
background: var(--surface);
|
|
1288
|
+
border: var(--panel-border-width, 1px) solid var(--line);
|
|
1289
|
+
border-radius: var(--radius-lg);
|
|
1290
|
+
box-shadow: var(--shadow-card);
|
|
1291
|
+
}
|
|
1292
|
+
/* At a desk, where the cells stand in their own columns; a phone's two to a row keep the gap between them
|
|
1293
|
+
(structure.css), and a rule drawn across a gap is a broken one. */
|
|
1294
|
+
@media (min-width: 761px) {
|
|
1295
|
+
:root[data-look-fields='card'] body:not(.public-visitor) .page-field-grid.page-field-summary {
|
|
1296
|
+
gap: 0;
|
|
1297
|
+
padding: 0;
|
|
1298
|
+
overflow: hidden;
|
|
1299
|
+
}
|
|
1300
|
+
:root[data-look-fields='card'] body:not(.public-visitor) .page-field-summary > .page-field {
|
|
1301
|
+
padding: var(--space-4) var(--space-5);
|
|
1302
|
+
box-shadow:
|
|
1303
|
+
-1px 0 0 var(--line),
|
|
1304
|
+
0 -1px 0 var(--line);
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
/* Its figures are set as the look sets a figure (`type.roles.figure`), a size under a dashboard's: a balance in
|
|
1308
|
+
the body's size under a label read as one more field. A date, a name or a sentence in a summary stays text. */
|
|
1309
|
+
:root[data-look-fields='card'][data-type-figure~='face'] .page-field-summary .page-field > dd:has(> .num-value, > .tone-figure),
|
|
1310
|
+
:root[data-look-fields='card'][data-type-figure~='face'] .page-field-summary .page-field > dd > .num-value {
|
|
1311
|
+
font-family: var(--type-figure-font);
|
|
1312
|
+
}
|
|
1313
|
+
:root[data-look-fields='card'][data-type-figure~='face'] .page-field-summary .page-field > dd:has(> .num-value, > .tone-figure) {
|
|
1314
|
+
font-size: var(--text-xl);
|
|
1315
|
+
font-weight: var(--type-figure-weight, 500);
|
|
1316
|
+
letter-spacing: var(--type-figure-tracking, normal);
|
|
1317
|
+
}
|
|
1318
|
+
/* A toned figure stands on its neighbours' line: set to the middle as a chip is, "$1,502.50" owed stood a pixel
|
|
1319
|
+
and a half under the figures beside it. */
|
|
1320
|
+
:root[data-look-fields='card'] .page-field-summary .page-field > dd > .tone-figure {
|
|
1321
|
+
vertical-align: baseline;
|
|
1322
|
+
}
|
|
1235
1323
|
:root[data-look-fields='card'] .page-field > dd {
|
|
1236
1324
|
font-family: var(--sans);
|
|
1237
1325
|
}
|
|
@@ -1242,6 +1330,16 @@
|
|
|
1242
1330
|
border-radius: var(--radius-lg);
|
|
1243
1331
|
box-shadow: var(--shadow-card);
|
|
1244
1332
|
}
|
|
1333
|
+
/* On a page of its own the card stands off the pane's top and foot, as a card stands off everything: flush with
|
|
1334
|
+
the top its corner read as cut by the window. A drawer's body is the drawer's, edge to edge. */
|
|
1335
|
+
:root[data-look-fields='card'] .newrecord-page-host > .form-page {
|
|
1336
|
+
margin-block: var(--space-5) var(--space-7);
|
|
1337
|
+
}
|
|
1338
|
+
/* A visitor's form is a page of its own too (FormSurface.tsx, under the bar alone): its card met the bar edge to
|
|
1339
|
+
edge, a white box hung from a dark strip. */
|
|
1340
|
+
:root[data-look-fields='card'] body.public-form-mode .form-page {
|
|
1341
|
+
margin-block: var(--space-6) var(--space-7);
|
|
1342
|
+
}
|
|
1245
1343
|
/* A workflow's steps read as the reference's pipeline: a step walked is a
|
|
1246
1344
|
green pill with its dot, the current one the accent's blue pill, a step
|
|
1247
1345
|
ahead plain; the pills stand in their order without a joining rule. */
|
|
@@ -1299,14 +1397,14 @@
|
|
|
1299
1397
|
}
|
|
1300
1398
|
|
|
1301
1399
|
/* ---------- Popups ---------- */
|
|
1302
|
-
:root[data-look-elevation='raised'] :is(
|
|
1400
|
+
:root[data-look-elevation='raised'] :is([data-slot='dialog-content'][data-kind='modal'], .palette) {
|
|
1303
1401
|
border: 1px solid var(--line);
|
|
1304
1402
|
border-radius: var(--radius-lg);
|
|
1305
1403
|
box-shadow: var(--shadow-modal);
|
|
1306
1404
|
}
|
|
1307
1405
|
/* A popup is edged by the hairline and lifted by its shadow, as the references' are, not outlined in the strong rule. */
|
|
1308
1406
|
:root[data-look-elevation='raised']
|
|
1309
|
-
:is(.export-menu, .page-actions-popup, .peek, .pb-menu, .picker-list, .more-list, .th-menu,
|
|
1407
|
+
:is(.export-menu, .page-actions-popup, .peek, .pb-menu, .picker-list, .more-list, .th-menu,:is([data-slot='select-content'], [data-slot='menu-content']), .ac,[data-slot='popover-content'][data-kind='calendar']) {
|
|
1310
1408
|
border-color: var(--line);
|
|
1311
1409
|
}
|
|
1312
1410
|
:root[data-look-elevation='raised'] .palette-item.active {
|
|
@@ -1339,13 +1437,14 @@
|
|
|
1339
1437
|
/* The caption is a section's head like the rest (themeFamilies.css), at the section role's size. */
|
|
1340
1438
|
:root[data-look-fields='rail'] .page-card-title {
|
|
1341
1439
|
font-size: var(--text-lg);
|
|
1342
|
-
|
|
1440
|
+
/* A theme that says its headings' weight (a book serif at the regular) says this one too. */
|
|
1441
|
+
font-weight: var(--type-heading-weight, 600);
|
|
1343
1442
|
}
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1443
|
+
/* The rail's facts hang from one rule down their leading edge, so a group of properties reads as one thing under
|
|
1444
|
+
its name without a box round it. */
|
|
1445
|
+
:root[data-look-fields='rail'] .page-aside .page-card-facts {
|
|
1446
|
+
padding-inline-start: var(--space-4h);
|
|
1447
|
+
border-inline-start: 2px solid var(--line);
|
|
1349
1448
|
}
|
|
1350
1449
|
:root[data-look-fields='rail'] .page-aside .page-properties .page-field > dt {
|
|
1351
1450
|
font: 500 var(--text-sm)/1.4 var(--sans);
|
|
@@ -1381,10 +1480,65 @@
|
|
|
1381
1480
|
color: var(--ink-muted);
|
|
1382
1481
|
}
|
|
1383
1482
|
:root[data-look-stat='divided'] .page-field-summary .page-field > dd {
|
|
1384
|
-
font-size:
|
|
1483
|
+
font-size: var(--text-xl);
|
|
1385
1484
|
font-weight: 600;
|
|
1386
1485
|
letter-spacing: -0.012em;
|
|
1387
1486
|
}
|
|
1487
|
+
/* In an App it is one ruled strip, a figure to a cell and a hairline between cells: what a record is worth is
|
|
1488
|
+
read as one thing, apart from the fields under it. Each cell rules its own leading and top edge and the strip
|
|
1489
|
+
clips the ones on its outside, so the rules stand between figures however many columns the width leaves them
|
|
1490
|
+
in. A public page keeps its figures on the page: a storefront has no panels. */
|
|
1491
|
+
:root[data-look-stat='divided'] body.app-mode:not(.public-visitor) .page-field-grid.page-field-summary {
|
|
1492
|
+
gap: 0;
|
|
1493
|
+
padding: 0;
|
|
1494
|
+
border: 1px solid var(--line);
|
|
1495
|
+
border-radius: var(--radius-lg, var(--radius));
|
|
1496
|
+
/* The surface, where the page behind it is a ground of its own (Ledger's ruled paper). */
|
|
1497
|
+
background: var(--surface);
|
|
1498
|
+
overflow: hidden;
|
|
1499
|
+
}
|
|
1500
|
+
:root[data-look-stat='divided'] body.app-mode:not(.public-visitor) .page-field-summary > .page-field {
|
|
1501
|
+
align-self: stretch;
|
|
1502
|
+
padding: var(--space-4h) var(--space-5) var(--space-5);
|
|
1503
|
+
box-shadow: -1px -1px 0 0 var(--line);
|
|
1504
|
+
}
|
|
1505
|
+
/* On a phone, and in a room as narrow, the figures stand two to a row with the room's own gap between them
|
|
1506
|
+
(structure.css), which no look may close: each is its own hairline box there, since a strip's rules would
|
|
1507
|
+
stop short of each other across the gap. */
|
|
1508
|
+
@media (max-width: 760px) {
|
|
1509
|
+
:root[data-look-stat='divided'] body.app-mode:not(.public-visitor) .page-field-grid.page-field-summary {
|
|
1510
|
+
border: 0;
|
|
1511
|
+
border-radius: 0;
|
|
1512
|
+
background: none;
|
|
1513
|
+
overflow: visible;
|
|
1514
|
+
}
|
|
1515
|
+
:root[data-look-stat='divided'] body.app-mode:not(.public-visitor) .page-field-summary > .page-field {
|
|
1516
|
+
padding-inline: var(--space-4h);
|
|
1517
|
+
border: 1px solid var(--line);
|
|
1518
|
+
border-radius: var(--radius-lg, var(--radius));
|
|
1519
|
+
box-shadow: none;
|
|
1520
|
+
background: var(--surface);
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
@container record-host (max-width: 600px) {
|
|
1524
|
+
:root[data-look-stat='divided'] body.app-mode:not(.public-visitor) .page-field-grid.page-field-summary {
|
|
1525
|
+
border: 0;
|
|
1526
|
+
border-radius: 0;
|
|
1527
|
+
background: none;
|
|
1528
|
+
overflow: visible;
|
|
1529
|
+
}
|
|
1530
|
+
:root[data-look-stat='divided'] body.app-mode:not(.public-visitor) .page-field-summary > .page-field {
|
|
1531
|
+
padding-inline: var(--space-4h);
|
|
1532
|
+
border: 1px solid var(--line);
|
|
1533
|
+
border-radius: var(--radius-lg, var(--radius));
|
|
1534
|
+
box-shadow: none;
|
|
1535
|
+
background: var(--surface);
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
/* Under a workflow strip the figures stand off it by the strip's own height, as two things, not one. */
|
|
1539
|
+
:root[data-look-stat='divided'] body.app-mode:not(.public-visitor) .workflow-status + .page-field-grid.page-field-summary {
|
|
1540
|
+
margin-top: var(--space-3);
|
|
1541
|
+
}
|
|
1388
1542
|
/* …but prose in a summary is a paragraph, never a figure: body weight and size. */
|
|
1389
1543
|
:root[data-look-stat='divided'] .page-field-summary .page-field.page-field-prose > dd {
|
|
1390
1544
|
font-size: calc(15px * var(--type-k));
|
|
@@ -1395,18 +1549,20 @@
|
|
|
1395
1549
|
--page-row-gap: 28px;
|
|
1396
1550
|
}
|
|
1397
1551
|
|
|
1398
|
-
/* A metric row:
|
|
1399
|
-
|
|
1400
|
-
|
|
1552
|
+
/* A metric row: one box round the figures and a hairline between them, the label over the figure, the change in
|
|
1553
|
+
its news's colour beside the window it is measured against. The row was open, a rule above it and none round
|
|
1554
|
+
it, and a strip that shares a line with another (two areas of a template) read as one run of figures with a
|
|
1555
|
+
hole in it; boxed, each strip is one thing. No mark in a bubble: an author's icon is not drawn here. */
|
|
1401
1556
|
:root[data-look-stat='divided'] .dash-strip {
|
|
1402
1557
|
padding: 0;
|
|
1403
1558
|
border: 0;
|
|
1404
1559
|
}
|
|
1405
1560
|
:root[data-look-stat='divided'] .dash-strip .home-cards {
|
|
1406
1561
|
gap: 0;
|
|
1407
|
-
margin-top: var(--space-
|
|
1408
|
-
|
|
1409
|
-
border-
|
|
1562
|
+
margin-top: var(--space-3);
|
|
1563
|
+
border: 1px solid var(--line);
|
|
1564
|
+
border-radius: var(--radius-lg);
|
|
1565
|
+
background: var(--surface);
|
|
1410
1566
|
}
|
|
1411
1567
|
:root[data-look-stat='divided'] .dash-strip .home-card,
|
|
1412
1568
|
:root[data-look-stat='divided'] .dash-strip .home-card:nth-child(n) {
|
|
@@ -1420,7 +1576,6 @@
|
|
|
1420
1576
|
}
|
|
1421
1577
|
:root[data-look-stat='divided'] .dash-strip .home-card:first-child {
|
|
1422
1578
|
border-inline-start: 0;
|
|
1423
|
-
padding-inline-start: 0;
|
|
1424
1579
|
}
|
|
1425
1580
|
:root[data-look-stat='divided'] .dash-strip .home-card:hover {
|
|
1426
1581
|
background: none;
|
|
@@ -1470,19 +1625,17 @@
|
|
|
1470
1625
|
font: 500 var(--text-sm)/1.5 var(--sans);
|
|
1471
1626
|
color: var(--ink-subtle);
|
|
1472
1627
|
}
|
|
1628
|
+
/* The change is a figure in its news's colour, its arrow before it: a chip round it made the smallest words on
|
|
1629
|
+
the tile the loudest thing on it. */
|
|
1473
1630
|
:root[data-look-stat='divided'] .dash-strip .dash-delta-figure {
|
|
1474
|
-
padding: 0 var(--space-2h);
|
|
1475
|
-
border-radius: 999px;
|
|
1476
|
-
background: var(--raised);
|
|
1477
1631
|
color: var(--ink-muted);
|
|
1478
1632
|
font-weight: 600;
|
|
1633
|
+
font-variant-numeric: tabular-nums;
|
|
1479
1634
|
}
|
|
1480
1635
|
:root[data-look-stat='divided'] .dash-strip .dash-delta.good .dash-delta-figure {
|
|
1481
|
-
background: color-mix(in srgb, var(--status-good) 12%, transparent);
|
|
1482
1636
|
color: color-mix(in srgb, var(--status-good) 80%, var(--ink));
|
|
1483
1637
|
}
|
|
1484
1638
|
:root[data-look-stat='divided'] .dash-strip .dash-delta.bad .dash-delta-figure {
|
|
1485
|
-
background: color-mix(in srgb, var(--status-critical) 11%, transparent);
|
|
1486
1639
|
color: color-mix(in srgb, var(--status-critical) 80%, var(--ink));
|
|
1487
1640
|
}
|
|
1488
1641
|
:root[data-look-stat='divided'] .dash-strip .dash-delta-period {
|
|
@@ -1545,11 +1698,10 @@
|
|
|
1545
1698
|
/* Two figures a row on a phone (structure.css): the hairline divides the pair and rules each row. */
|
|
1546
1699
|
:root[data-look-stat='divided'] .dash-strip .home-card,
|
|
1547
1700
|
:root[data-look-stat='divided'] .dash-strip .home-card:nth-child(n) {
|
|
1548
|
-
padding: var(--space-4)
|
|
1701
|
+
padding: var(--space-4) var(--space-4h) var(--space-4h);
|
|
1549
1702
|
}
|
|
1550
1703
|
:root[data-look-stat='divided'] .dash-strip .home-card:nth-child(odd) {
|
|
1551
1704
|
border-inline-start: 0;
|
|
1552
|
-
padding-inline-start: 0;
|
|
1553
1705
|
}
|
|
1554
1706
|
:root[data-look-stat='divided'] .dash-strip .home-card:nth-child(n + 3) {
|
|
1555
1707
|
border-top: 1px solid var(--line);
|
|
@@ -1559,11 +1711,9 @@
|
|
|
1559
1711
|
leads" beside it had none. */
|
|
1560
1712
|
:root[data-look-stat='divided'] .dash-strip .home-cards:has(> .home-card:first-child:nth-last-child(odd)) > .home-card:nth-child(n) {
|
|
1561
1713
|
border-inline-start: 1px solid var(--line);
|
|
1562
|
-
padding-inline-start: var(--space-4h);
|
|
1563
1714
|
}
|
|
1564
1715
|
:root[data-look-stat='divided'] .dash-strip .home-cards:has(> .home-card:first-child:nth-last-child(odd)) > .home-card:is(:first-child, :nth-child(even)) {
|
|
1565
1716
|
border-inline-start: 0;
|
|
1566
|
-
padding-inline-start: 0;
|
|
1567
1717
|
}
|
|
1568
1718
|
:root[data-look-stat='divided'] .dash-strip .home-cards:has(> .home-card:first-child:nth-last-child(odd)) > .home-card:nth-child(n + 2) {
|
|
1569
1719
|
border-top: 1px solid var(--line);
|
|
@@ -1580,8 +1730,6 @@
|
|
|
1580
1730
|
max-width: none;
|
|
1581
1731
|
justify-self: stretch;
|
|
1582
1732
|
height: 20px;
|
|
1583
|
-
/* The pair's hairline is the card's edge: the trend's last dot stops short of it, as the figure does. */
|
|
1584
|
-
margin-inline-end: var(--space-4h);
|
|
1585
1733
|
}
|
|
1586
1734
|
:root[data-look-stat='divided'] .dash-strip .spark {
|
|
1587
1735
|
height: 20px;
|
|
@@ -1594,28 +1742,17 @@
|
|
|
1594
1742
|
:root[data-look-table='quiet'] {
|
|
1595
1743
|
--row-rule: color-mix(in srgb, var(--line) 72%, var(--surface));
|
|
1596
1744
|
}
|
|
1597
|
-
:root[data-look-table='quiet'] th {
|
|
1745
|
+
:root[data-look-table='quiet'] th:where(:not([data-slot])) {
|
|
1598
1746
|
font: 500 var(--text-sm) var(--sans);
|
|
1599
1747
|
color: var(--ink-subtle);
|
|
1600
1748
|
border-bottom: 1px solid var(--line);
|
|
1601
1749
|
}
|
|
1602
|
-
/*
|
|
1603
|
-
|
|
1750
|
+
/* Every value in the ink, the row's name a step heavier (features.css). The rest stood in the second ink once, and
|
|
1751
|
+
a row of ten values read as its name and nine captions. */
|
|
1604
1752
|
:root[data-look-table='quiet'] .app-mode tbody td {
|
|
1605
|
-
color: var(--ink-muted);
|
|
1606
|
-
}
|
|
1607
|
-
/* A heat map's cell says its figure on a tint of the accent up to 62%: the second ink fails there, the ink does not. */
|
|
1608
|
-
:root[data-look-table='quiet'] .app-mode tbody td.matrix-cell {
|
|
1609
1753
|
color: var(--ink);
|
|
1610
1754
|
}
|
|
1611
|
-
:root[data-look-table='quiet']
|
|
1612
|
-
color: var(--ink);
|
|
1613
|
-
font-weight: 500;
|
|
1614
|
-
}
|
|
1615
|
-
:root[data-look-table='quiet'] .app-mode tbody tr > td:is(:first-child:not(.row-host), .row-host + td) .cell-sub {
|
|
1616
|
-
font-weight: 400;
|
|
1617
|
-
}
|
|
1618
|
-
:root[data-look-table='quiet'] td {
|
|
1755
|
+
:root[data-look-table='quiet'] td:where(:not([data-slot])) {
|
|
1619
1756
|
font-size: var(--text-base);
|
|
1620
1757
|
border-bottom-color: var(--row-rule);
|
|
1621
1758
|
}
|
|
@@ -1626,16 +1763,9 @@
|
|
|
1626
1763
|
--sk-row-h: 43px;
|
|
1627
1764
|
--sk-head-h: 43.5px;
|
|
1628
1765
|
}
|
|
1629
|
-
:root[data-look-table='quiet'] tbody tr:hover td {
|
|
1766
|
+
:root[data-look-table='quiet'] tbody tr:hover td:where(:not([data-slot])) {
|
|
1630
1767
|
background: color-mix(in srgb, var(--ink) 2.5%, var(--surface));
|
|
1631
1768
|
}
|
|
1632
|
-
/* A row's tick waits for its row where a pointer hovers: shown while the row is under it, holds focus or is
|
|
1633
|
-
ticked, and on every row once any is ticked. It keeps its cell, so nothing moves when it shows. */
|
|
1634
|
-
@media (hover: hover) {
|
|
1635
|
-
:root[data-look-table='quiet'] table:not(:has(.row-select:checked)) tr:not(:hover, :focus-within) > .row-host > .row-select:not(:checked) {
|
|
1636
|
-
opacity: 0;
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
1769
|
:root[data-look-table='quiet'] .grid-totals td {
|
|
1640
1770
|
border-top: 1px solid var(--line);
|
|
1641
1771
|
font-weight: 600;
|
|
@@ -1647,6 +1777,12 @@
|
|
|
1647
1777
|
colour too; a neutral value's dot is grey and its word keeps the cell's weight, so the column scans. Every
|
|
1648
1778
|
look that draws a dot now says this in a cell and a field (themeFamilies.css); `quiet` says it everywhere
|
|
1649
1779
|
a tone is drawn, with the smaller dot. */
|
|
1780
|
+
/* A word with no pill round it has nothing to be clipped to: the pill's box, with no padding of its own, cut the
|
|
1781
|
+
last letter's edge ("Vacan" and half a t). Its cell cuts it where the column is too narrow. */
|
|
1782
|
+
html:root[data-look-status='quiet'] .tone:not(.record-tag) {
|
|
1783
|
+
overflow: visible;
|
|
1784
|
+
border-radius: 0;
|
|
1785
|
+
}
|
|
1650
1786
|
html:root[data-look-status='quiet'] .tone:not(.record-tag, .tone-neutral) {
|
|
1651
1787
|
--tone-dot: var(--status-info);
|
|
1652
1788
|
gap: 7px;
|
|
@@ -1806,3 +1942,57 @@
|
|
|
1806
1942
|
padding-top: 0;
|
|
1807
1943
|
}
|
|
1808
1944
|
}
|
|
1945
|
+
@layer look {
|
|
1946
|
+
/* Lumen's signature: where the accent is, and nowhere else. A flat look in one ink reads as nobody's; these are
|
|
1947
|
+
the few fixed places a reader learns to find the App's colour, beside the primary verb, the current tab and a
|
|
1948
|
+
link: the App's mark, the count beside a list's title, the meter. The pane stands a hair
|
|
1949
|
+
off the shell (a hairline and the control's fall, the softest the look has), and a figure is the heaviest thing in its tile. The count is
|
|
1950
|
+
the accent's ink on its wash, which `check` measures as the soft pair (docs/design.md, Lumen). */
|
|
1951
|
+
:root:root[data-look-buttons='raised'] .brand-mark:is(.brand-mark--logo, .brand-mark--initial) {
|
|
1952
|
+
background: var(--accent);
|
|
1953
|
+
color: var(--on-accent);
|
|
1954
|
+
}
|
|
1955
|
+
:root[data-look-buttons='raised'] .applist-count {
|
|
1956
|
+
padding: var(--space-1) var(--space-3);
|
|
1957
|
+
border-radius: 999px;
|
|
1958
|
+
background: var(--accent-soft);
|
|
1959
|
+
color: var(--accent-ink, var(--accent));
|
|
1960
|
+
font: 600 var(--text-sm)/1.4 var(--sans);
|
|
1961
|
+
}
|
|
1962
|
+
/* A worklist's tile is never the accent: its mark is the section's (a warning sign over urgent repairs), and in
|
|
1963
|
+
the App's colour it would speak for the colour — fine under a green brand, a warning under an orange one. It
|
|
1964
|
+
stands on the shell's tint in the muted ink, which a brand turns to its hue at a wash and no further
|
|
1965
|
+
(themeBrand.ts), so it is the App's without impersonating what a colour means. */
|
|
1966
|
+
:root[data-look-buttons='raised'] .dash-worklist .dash-mini-mark:not([data-tone]) {
|
|
1967
|
+
background: var(--raised);
|
|
1968
|
+
color: var(--ink-muted);
|
|
1969
|
+
}
|
|
1970
|
+
:root[data-look-buttons='raised'] body.app-sidebar-shell .layout > .content {
|
|
1971
|
+
box-shadow: var(--shadow-control);
|
|
1972
|
+
}
|
|
1973
|
+
:root[data-look-buttons='raised'] :is(.dash-title, .applist-title, .page-title, .signin-title) {
|
|
1974
|
+
letter-spacing: -0.022em;
|
|
1975
|
+
}
|
|
1976
|
+
/* A strip's figure and a record's leading figures are in the heading's face (Manrope, manropeFace.css): the
|
|
1977
|
+
figure is the page's largest word after its title, and the two read as one hand. A table's figures keep theirs. */
|
|
1978
|
+
:root[data-look-stat='divided'] :is(.dash-strip .home-card-value, .page-field-summary .page-field > dd) {
|
|
1979
|
+
font-family: var(--heading-font, var(--sans));
|
|
1980
|
+
font-weight: 700;
|
|
1981
|
+
letter-spacing: -0.02em;
|
|
1982
|
+
/* Its own figures, not the table's: Manrope's tabular set also widens the comma and the one, which reads
|
|
1983
|
+
"$56, 130" at a figure's size, and a figure alone in its tile has no column to keep. */
|
|
1984
|
+
font-variant-numeric: normal;
|
|
1985
|
+
}
|
|
1986
|
+
/* The door stands on the shell's ground, the form on a panel: the brand's tint is the first thing seen. */
|
|
1987
|
+
:root[data-look-buttons='raised']:has(.signin-card) :is(body, .layout, .content) {
|
|
1988
|
+
background: var(--raised);
|
|
1989
|
+
}
|
|
1990
|
+
:root[data-look-buttons='raised'] .signin-card {
|
|
1991
|
+
padding: var(--space-7);
|
|
1992
|
+
border: 1px solid var(--line);
|
|
1993
|
+
border-radius: calc(var(--radius) + 4px);
|
|
1994
|
+
background: var(--surface);
|
|
1995
|
+
box-shadow: var(--shadow-control);
|
|
1996
|
+
width: min(26rem, 100%);
|
|
1997
|
+
}
|
|
1998
|
+
}
|