@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
|
@@ -89,8 +89,7 @@
|
|
|
89
89
|
:is(
|
|
90
90
|
input:not([type='checkbox'], [type='radio'], [type='range'], [role='switch']),
|
|
91
91
|
textarea,
|
|
92
|
-
select,
|
|
93
|
-
.dd-button,
|
|
92
|
+
select,[data-slot='select-trigger'],
|
|
94
93
|
.record-picker-trigger,
|
|
95
94
|
.picker,
|
|
96
95
|
.cell-edit
|
|
@@ -297,6 +296,10 @@
|
|
|
297
296
|
body.app-mode :is(.crumb-tools, .applist-head-tools) .export-summary .export-more {
|
|
298
297
|
display: inline;
|
|
299
298
|
}
|
|
299
|
+
/* Export's menu is said by its dots there, as it was: the download mark would be a second mark beside them. */
|
|
300
|
+
body.app-mode :is(.crumb-tools, .applist-head-tools) .applist-verb-mark:has(~ .export-more) {
|
|
301
|
+
display: none;
|
|
302
|
+
}
|
|
300
303
|
body.app-mode :is(.crumb-tools, .applist-head-tools) .export-summary::after {
|
|
301
304
|
content: none;
|
|
302
305
|
}
|
|
@@ -317,11 +320,15 @@
|
|
|
317
320
|
}
|
|
318
321
|
}
|
|
319
322
|
|
|
320
|
-
/*
|
|
323
|
+
/* A list's tabs are a row of their own on a rule, the width of the room: they give up the spacing a look gives a
|
|
324
|
+
strip elsewhere. The rule is drawn inside the strip, under a pixel of padding, so a chosen tab's mark
|
|
325
|
+
(bottom: -1px, lumenLook.css) lands on it within the padding box the strip clips to. */
|
|
321
326
|
.applist-controls .tabs {
|
|
322
|
-
padding: 0;
|
|
327
|
+
padding: 0 0 1px;
|
|
323
328
|
border-bottom: 0;
|
|
324
|
-
|
|
329
|
+
/* A look whose tabs are a tray of their own (lifted) says none (`--tabs-rule`). */
|
|
330
|
+
box-shadow: var(--tabs-rule, inset 0 -1px 0 var(--line));
|
|
331
|
+
flex: 1 0 100%;
|
|
325
332
|
overflow: visible;
|
|
326
333
|
}
|
|
327
334
|
/* A record's strip fits its row: what does not fit is under More (useTabFold.ts), so it clips and never scrolls.
|
|
@@ -352,24 +359,16 @@
|
|
|
352
359
|
visibility: hidden;
|
|
353
360
|
pointer-events: none;
|
|
354
361
|
}
|
|
355
|
-
/* The list's tabs fit
|
|
356
|
-
|
|
357
|
-
The filters give way first, into "+ Filter" (ListFilterBar.tsx, which says when it has nothing left to give);
|
|
358
|
-
only then does the strip narrow, and the filter bar keeps what is left of it. */
|
|
362
|
+
/* The list's tabs fit their row (useTabFold.ts): the strip is the row's width, and the tabs past its end go under
|
|
363
|
+
More. It clips; it never scrolls. */
|
|
359
364
|
.applist-controls .tabs.folds {
|
|
360
365
|
position: relative;
|
|
361
|
-
flex:
|
|
366
|
+
flex: 1 1 100%;
|
|
362
367
|
/* Never narrower than the chosen tab and More beside it (useTabFold.ts): a phone's Records/Table switch takes the
|
|
363
368
|
next line instead, where at 320px the two were drawn over each other. */
|
|
364
369
|
min-width: var(--tabs-least, 0);
|
|
365
370
|
overflow: clip;
|
|
366
371
|
}
|
|
367
|
-
.applist-controls:is([data-filters-spent], :not(:has(> .applist-filterbar))) > .tabs.folds {
|
|
368
|
-
flex-shrink: 1;
|
|
369
|
-
}
|
|
370
|
-
.applist-controls[data-filters-spent] > .applist-filterbar {
|
|
371
|
-
flex-shrink: 0;
|
|
372
|
-
}
|
|
373
372
|
.tabs.folds > .tabs-row {
|
|
374
373
|
display: flex;
|
|
375
374
|
gap: inherit;
|
|
@@ -386,48 +385,41 @@
|
|
|
386
385
|
align-self: stretch;
|
|
387
386
|
gap: inherit;
|
|
388
387
|
}
|
|
389
|
-
/*
|
|
390
|
-
|
|
391
|
-
the bar leads the tabs (features.css, ≤860px) the row scrolls as it was. */
|
|
388
|
+
/* The bar is the row under the tabs, the room's width: its search narrows to a floor before a filter folds into
|
|
389
|
+
"+ Filter" (ListFilterBar.tsx), so a list's last filter is not cut off at the room's edge. */
|
|
392
390
|
.applist-controls .applist-filterbar {
|
|
393
391
|
margin: 0;
|
|
394
392
|
padding: 0;
|
|
395
|
-
flex: 1
|
|
393
|
+
flex: 1 1 100%;
|
|
394
|
+
min-width: 0;
|
|
396
395
|
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
min-width: 0;
|
|
401
|
-
}
|
|
402
|
-
.applist-controls .applist-fields > .applist-search {
|
|
403
|
-
flex: 0 1 17rem;
|
|
404
|
-
min-width: 10rem;
|
|
405
|
-
}
|
|
396
|
+
.applist-controls .applist-fields > .applist-search {
|
|
397
|
+
flex: 0 1 15rem;
|
|
398
|
+
min-width: 10rem;
|
|
406
399
|
}
|
|
407
400
|
/* On a phone the tabs take a row of their own under the search and Filters: sharing the one row, the first tab's
|
|
408
401
|
count was cut off and the next out of sight. The strip clips to its padding box (it folds, below),
|
|
409
402
|
so a pixel of padding keeps an underlined look's mark (bottom: -1px, lumenLook.css) in it. */
|
|
410
403
|
@media (max-width: 760px) {
|
|
411
|
-
.applist-controls {
|
|
412
|
-
flex-wrap: wrap;
|
|
413
|
-
}
|
|
414
404
|
/* Its search, Filters and sort wrap to a second line rather than run past a phone's edge: the search gives way
|
|
415
|
-
to a floor, and a sort that still does not fit takes the next line (Commons' members ran 14px past).
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
405
|
+
to a floor, and a sort that still does not fit takes the next line (Commons' members ran 14px past). Only on a
|
|
406
|
+
phone, where the pickers are one button (ListFilterBar.tsx): a narrow desk keeps one line and folds its
|
|
407
|
+
filters into "More filters", so setting one never moves the rows down. */
|
|
408
|
+
@media (max-width: 600px) {
|
|
409
|
+
.applist-controls .applist-fields {
|
|
410
|
+
flex-wrap: wrap;
|
|
411
|
+
}
|
|
412
|
+
.applist-controls .applist-fields > .applist-search {
|
|
413
|
+
flex: 1 1 9rem;
|
|
414
|
+
min-width: 0;
|
|
415
|
+
}
|
|
426
416
|
}
|
|
427
417
|
.applist-controls > .tabs {
|
|
428
418
|
order: 1;
|
|
429
419
|
flex: 1 0 100%;
|
|
430
420
|
min-width: 0;
|
|
421
|
+
/* The last row over the records, beside the Records/Table switch: it has no rule of its own there. */
|
|
422
|
+
box-shadow: none;
|
|
431
423
|
overflow-x: auto;
|
|
432
424
|
padding-bottom: 1px;
|
|
433
425
|
container-type: scroll-state;
|
|
@@ -451,8 +443,9 @@
|
|
|
451
443
|
}
|
|
452
444
|
}
|
|
453
445
|
/* The Records/Table switch stands at the tabs' end (TableView): on a row of its own over the rows it cost every
|
|
454
|
-
list 56px of its first screen. With no tabs it takes the line under the search, at its end.
|
|
455
|
-
|
|
446
|
+
list 56px of its first screen. With no tabs it takes the line under the search, at its end. Its room is held while a
|
|
447
|
+
chosen tab's rows load (`data-held`, AppList.tsx), so the strip beside it is one width throughout. */
|
|
448
|
+
.applist-controls:has(> .applist-presentation:is([data-held], :has(> .record-presentation))) > .tabs {
|
|
456
449
|
flex: 1 1 0;
|
|
457
450
|
}
|
|
458
451
|
/* The phone's row of tabs folds as a desk's does: it fills its line, and what does not fit is under More. */
|
|
@@ -461,7 +454,7 @@
|
|
|
461
454
|
overflow: clip;
|
|
462
455
|
container-type: normal;
|
|
463
456
|
}
|
|
464
|
-
.applist-controls:has(> .applist-presentation > .record-presentation) > .tabs.folds {
|
|
457
|
+
.applist-controls:has(> .applist-presentation:is([data-held], :has(> .record-presentation))) > .tabs.folds {
|
|
465
458
|
flex: 1 1 0;
|
|
466
459
|
}
|
|
467
460
|
.applist-controls > .tabs.folds::after {
|
|
@@ -499,8 +492,10 @@
|
|
|
499
492
|
ledger, in every look; a reader's zoom still scales them. In the base layer
|
|
500
493
|
these lost to each look's 10px cell padding and 14px text once the sheets
|
|
501
494
|
stood in layers, so a compact list read as a comfortable one. */
|
|
495
|
+
/* A step of air, not 5px: at 5 a compact list drew 31px rows, 28 to a 1080p screen where a counter's ledger wants
|
|
496
|
+
the mid thirties. The words' own line box (12px at the sans' leading) holds their descenders. */
|
|
502
497
|
body.app-mode .table-wrap.grid-dense :is(td, th) {
|
|
503
|
-
padding-block:
|
|
498
|
+
padding-block: var(--space-2);
|
|
504
499
|
}
|
|
505
500
|
body.app-mode .table-wrap.grid-dense td {
|
|
506
501
|
height: auto;
|
|
@@ -509,8 +504,8 @@
|
|
|
509
504
|
font-size: var(--text-sm);
|
|
510
505
|
}
|
|
511
506
|
body.app-mode .table-wrap.grid-dense .avatar {
|
|
512
|
-
width:
|
|
513
|
-
height:
|
|
507
|
+
width: 18px;
|
|
508
|
+
height: 18px;
|
|
514
509
|
font-size: var(--text-xs);
|
|
515
510
|
}
|
|
516
511
|
/* A group's head (Grid.tsx GroupHeadRow) is a hairline, not a row a reader opens: no look's row fill or hover tint
|
|
@@ -529,7 +524,7 @@
|
|
|
529
524
|
}
|
|
530
525
|
/* A dialog that fills the screen (and, on a phone, every dialog that asks to)
|
|
531
526
|
is the screen: no width, radius or margin a component gives it on a desk. */
|
|
532
|
-
[role='dialog']
|
|
527
|
+
[role='dialog'][data-slot='dialog-content'][data-fullscreen='always'] {
|
|
533
528
|
position: fixed;
|
|
534
529
|
inset: 0;
|
|
535
530
|
margin: 0;
|
|
@@ -542,7 +537,7 @@
|
|
|
542
537
|
transform: none;
|
|
543
538
|
}
|
|
544
539
|
@media (max-width: 640px) {
|
|
545
|
-
[role='dialog']
|
|
540
|
+
[role='dialog'][data-slot='dialog-content'][data-fullscreen='mobile'] {
|
|
546
541
|
position: fixed;
|
|
547
542
|
inset: 0;
|
|
548
543
|
margin: 0;
|
|
@@ -555,23 +550,12 @@
|
|
|
555
550
|
transform: none;
|
|
556
551
|
}
|
|
557
552
|
}
|
|
558
|
-
/* A date picker's month is a control's grid, not a table of data: no look's cell rules reach it. */
|
|
559
|
-
.date-field-popup table.date-field-calendar :is(th, td) {
|
|
560
|
-
border: 0;
|
|
561
|
-
padding: 1px;
|
|
562
|
-
text-align: center;
|
|
563
|
-
background: transparent;
|
|
564
|
-
position: static;
|
|
565
|
-
}
|
|
566
|
-
.date-field-popup table.date-field-calendar tbody tr:hover td {
|
|
567
|
-
background: transparent;
|
|
568
|
-
}
|
|
569
553
|
/* A calendar week is not a list row: the looks' row-hover tint stays off it (docs/design.md, Access). */
|
|
570
554
|
.app-mode .calendar-grid tbody tr:hover > td.calendar-day {
|
|
571
555
|
background: none;
|
|
572
556
|
}
|
|
573
557
|
.app-mode .calendar-grid tbody tr:hover > td.calendar-day.is-outside {
|
|
574
|
-
background: var(--
|
|
558
|
+
background: var(--calendar-outside, color-mix(in srgb, var(--ink) 3%, transparent));
|
|
575
559
|
}
|
|
576
560
|
/* A checklist the reader cannot change still says what is done, in the text's
|
|
577
561
|
ink: the browser's disabled box drew its tick grey on grey, about 1.5:1.
|
|
@@ -717,7 +701,7 @@
|
|
|
717
701
|
exactly like an enabled one — and an invalid field wears the danger edge
|
|
718
702
|
beside its written problem, keeping the focus ring. In an App only. */
|
|
719
703
|
:root[data-visual-theme]
|
|
720
|
-
:is(input:not(.picker-input), textarea, select,
|
|
704
|
+
:is(input:not(.picker-input), textarea, select,[data-slot='select-trigger'], .record-picker-trigger, .cell-edit,:is([data-slot='input'], [data-slot='textarea'])):is(
|
|
721
705
|
:disabled,
|
|
722
706
|
[aria-disabled='true']
|
|
723
707
|
),
|
|
@@ -731,7 +715,7 @@
|
|
|
731
715
|
/* In a command form, whose fields at rest are a clean outline on the ground (formDress.css), a raised fill would
|
|
732
716
|
read as a field to fill in: a disabled one there keeps the ground, and its edge goes dashed and faint. */
|
|
733
717
|
:root[data-visual-theme] :is(.form-page, .command-form, .insert-form-app)
|
|
734
|
-
:is(input:not(.picker-input), textarea, select,
|
|
718
|
+
:is(input:not(.picker-input), textarea, select,[data-slot='select-trigger'], .record-picker-trigger,:is([data-slot='input'], [data-slot='textarea'])):is(:disabled, [aria-disabled='true']):not(.form-lines *),
|
|
735
719
|
:root[data-visual-theme] :is(.form-page, .command-form, .insert-form-app) .picker:has(> .picker-input:disabled) {
|
|
736
720
|
background: transparent;
|
|
737
721
|
border-style: dashed;
|
|
@@ -744,9 +728,9 @@
|
|
|
744
728
|
cursor: not-allowed;
|
|
745
729
|
}
|
|
746
730
|
:root[data-visual-theme]
|
|
747
|
-
:is(input:not(.picker-input), textarea, select,
|
|
731
|
+
:is(input:not(.picker-input), textarea, select,[data-slot='select-trigger'], .record-picker-trigger, .cell-edit,:is([data-slot='input'], [data-slot='textarea']))[aria-invalid='true'],
|
|
748
732
|
:root[data-visual-theme] .picker:has(> .picker-input[aria-invalid='true']),
|
|
749
|
-
:root[data-visual-theme]
|
|
733
|
+
:root[data-visual-theme] [data-slot='field'][data-invalid] .picker {
|
|
750
734
|
border-color: var(--status-critical);
|
|
751
735
|
}
|
|
752
736
|
/* A section's lone field whose label the section title already says: the
|
|
@@ -757,7 +741,7 @@
|
|
|
757
741
|
/* A button that cannot be pressed says so in every look (B03): the ghost
|
|
758
742
|
and the primary dress read exactly as they did enabled, so a guided form's
|
|
759
743
|
Back on its first step looked like a way back. */
|
|
760
|
-
:root[data-visual-theme] button:is(.ghost, .primary,
|
|
744
|
+
:root[data-visual-theme] button:is(.ghost, .primary,[data-slot='button'], .danger):disabled {
|
|
761
745
|
opacity: 0.5;
|
|
762
746
|
cursor: not-allowed;
|
|
763
747
|
box-shadow: none;
|
|
@@ -770,7 +754,7 @@
|
|
|
770
754
|
flex-direction: column-reverse;
|
|
771
755
|
align-items: stretch;
|
|
772
756
|
}
|
|
773
|
-
.form-actions >
|
|
757
|
+
.form-actions > [data-slot='button'] {
|
|
774
758
|
width: 100%;
|
|
775
759
|
min-height: 44px;
|
|
776
760
|
margin: 0;
|
|
@@ -781,18 +765,18 @@
|
|
|
781
765
|
scrolls. They sat under the question at the top, 36px tall, with the rest of
|
|
782
766
|
the screen blank below them. */
|
|
783
767
|
@media (max-width: 640px) {
|
|
784
|
-
[role='dialog'].confirm
|
|
768
|
+
[role='dialog'].confirm[data-slot='dialog-content'][data-fullscreen='mobile'] {
|
|
785
769
|
display: flex;
|
|
786
770
|
flex-direction: column;
|
|
787
771
|
overflow-y: auto;
|
|
788
772
|
padding-bottom: 0;
|
|
789
773
|
}
|
|
790
|
-
[role='dialog'].confirm
|
|
774
|
+
[role='dialog'].confirm[data-slot='dialog-content'][data-fullscreen='mobile'] > form {
|
|
791
775
|
display: flex;
|
|
792
776
|
flex-direction: column;
|
|
793
777
|
flex: 1 0 auto;
|
|
794
778
|
}
|
|
795
|
-
[role='dialog'].confirm
|
|
779
|
+
[role='dialog'].confirm[data-slot='dialog-content'][data-fullscreen='mobile'] .confirm-actions {
|
|
796
780
|
position: sticky;
|
|
797
781
|
bottom: 0;
|
|
798
782
|
margin-top: auto;
|
|
@@ -801,15 +785,14 @@
|
|
|
801
785
|
align-items: stretch;
|
|
802
786
|
background: var(--surface);
|
|
803
787
|
}
|
|
804
|
-
[role='dialog'].confirm
|
|
788
|
+
[role='dialog'].confirm[data-slot='dialog-content'][data-fullscreen='mobile'] .confirm-actions > button {
|
|
805
789
|
width: 100%;
|
|
806
790
|
min-height: 44px;
|
|
807
791
|
margin: 0;
|
|
808
792
|
}
|
|
809
793
|
}
|
|
810
|
-
/* Sign-in on a phone is the screen
|
|
811
|
-
|
|
812
|
-
wide on a 390px phone. */
|
|
794
|
+
/* Sign-in on a phone is the screen (N03): the column the width of the window less its gutter, and not 22rem
|
|
795
|
+
centred in it. */
|
|
813
796
|
@media (max-width: 760px) {
|
|
814
797
|
.signin {
|
|
815
798
|
padding: var(--space-6) var(--space-5) 40px;
|
|
@@ -817,24 +800,19 @@
|
|
|
817
800
|
}
|
|
818
801
|
.signin-card {
|
|
819
802
|
width: 100%;
|
|
820
|
-
padding: 0;
|
|
821
|
-
border: 0;
|
|
822
|
-
border-radius: 0;
|
|
823
|
-
background: none;
|
|
824
|
-
box-shadow: none;
|
|
825
803
|
}
|
|
826
804
|
.signin-home {
|
|
827
805
|
width: 100%;
|
|
828
806
|
}
|
|
829
807
|
/* The fields stand at the submit's 44px: a thumb's target, one height down the card. */
|
|
830
|
-
.signin-card :is(
|
|
808
|
+
.signin-card :is([data-slot='button'][data-size='lg'],:is([data-slot='input'], [data-slot='textarea']):not(textarea)) {
|
|
831
809
|
min-height: 44px;
|
|
832
810
|
}
|
|
833
811
|
/* A phone's actions take the form's width, the primary on top. */
|
|
834
812
|
.oauth-consent-actions {
|
|
835
813
|
flex-direction: column-reverse;
|
|
836
814
|
}
|
|
837
|
-
.oauth-consent-actions >
|
|
815
|
+
.oauth-consent-actions > [data-slot='button'] {
|
|
838
816
|
width: 100%;
|
|
839
817
|
}
|
|
840
818
|
}
|
|
@@ -874,8 +852,8 @@
|
|
|
874
852
|
body.app-mode
|
|
875
853
|
:is(
|
|
876
854
|
.insert-field
|
|
877
|
-
:is(input:not(.picker-input, [role='switch'], [type='checkbox'], [type='radio']),
|
|
878
|
-
.page-field-edit :is(.cell-edit:not(textarea),
|
|
855
|
+
:is(input:not(.picker-input, [role='switch'], [type='checkbox'], [type='radio']),[data-slot='select-trigger'], .record-picker-trigger, .picker),
|
|
856
|
+
.page-field-edit :is(.cell-edit:not(textarea),[data-slot='select-trigger'], .record-picker-trigger, .picker)
|
|
879
857
|
) {
|
|
880
858
|
min-height: 44px;
|
|
881
859
|
}
|
|
@@ -908,7 +886,7 @@
|
|
|
908
886
|
@media (max-width: 600px) {
|
|
909
887
|
.applist-search-input,
|
|
910
888
|
.applist-sheet-open,
|
|
911
|
-
.applist-sort
|
|
889
|
+
.applist-sort [data-slot='select-trigger'] {
|
|
912
890
|
min-height: 44px;
|
|
913
891
|
}
|
|
914
892
|
}
|
|
@@ -937,13 +915,11 @@
|
|
|
937
915
|
:where(
|
|
938
916
|
.brand,
|
|
939
917
|
.icon-button,
|
|
940
|
-
.tab,
|
|
941
|
-
.btn,
|
|
918
|
+
.tab,[data-slot='button']:not(.signin-reveal),
|
|
942
919
|
button.ghost,
|
|
943
920
|
.checklist-title,
|
|
944
921
|
.inline-edit-value,
|
|
945
|
-
.crumbs > button,
|
|
946
|
-
.dd-button,
|
|
922
|
+
.crumbs > button,[data-slot='select-trigger'],
|
|
947
923
|
.ref-jump,
|
|
948
924
|
.export-summary,
|
|
949
925
|
.applist-add,
|
|
@@ -968,17 +944,16 @@
|
|
|
968
944
|
position: relative;
|
|
969
945
|
}
|
|
970
946
|
/* A date's calendar button is placed in its field already (@mistriwork/ui, a layer this unlayered rule would
|
|
971
|
-
outrank whatever its weight), so it is its own hit area's frame and is not made relative.
|
|
947
|
+
outrank whatever its weight), so it is its own hit area's frame and is not made relative. The password box's
|
|
948
|
+
Show the same, above: made relative it left the box and stood under it on every phone. */
|
|
972
949
|
:is(
|
|
973
950
|
.brand,
|
|
974
951
|
.icon-button,
|
|
975
|
-
.tab,
|
|
976
|
-
.btn,
|
|
952
|
+
.tab,[data-slot='button'],
|
|
977
953
|
button.ghost,
|
|
978
954
|
.checklist-title,
|
|
979
955
|
.inline-edit-value,
|
|
980
|
-
.crumbs > button,
|
|
981
|
-
.dd-button,
|
|
956
|
+
.crumbs > button,[data-slot='select-trigger'],
|
|
982
957
|
.ref-jump,
|
|
983
958
|
.export-summary,
|
|
984
959
|
.applist-add,
|
|
@@ -994,8 +969,7 @@
|
|
|
994
969
|
.tn-search,
|
|
995
970
|
.presentation-seg,
|
|
996
971
|
.page-metric-value,
|
|
997
|
-
.dashboard-note-action,
|
|
998
|
-
.date-field-trigger,
|
|
972
|
+
.dashboard-note-action,:is([data-slot='date-field'] > [data-slot='popover-trigger']),
|
|
999
973
|
.peekpanel-close,
|
|
1000
974
|
.inline-edit-button,
|
|
1001
975
|
.value-copy,
|
|
@@ -1122,9 +1096,10 @@
|
|
|
1122
1096
|
.dash-strip .home-card:first-child:nth-last-child(odd) {
|
|
1123
1097
|
grid-column: 1 / -1;
|
|
1124
1098
|
}
|
|
1125
|
-
/* A compact figure: a look's 30px figure broke "175,460" across two lines at half a phone.
|
|
1099
|
+
/* A compact figure: a look's 30px figure broke "175,460" across two lines at half a phone. A look whose figure
|
|
1100
|
+
is a monospace says a smaller one (--stat-figure-phone): at this size "$56,130.00" is 144px in a 129px card. */
|
|
1126
1101
|
.dash-strip .home-card-value {
|
|
1127
|
-
font-size: calc(24px * var(--type-k));
|
|
1102
|
+
font-size: var(--stat-figure-phone, calc(24px * var(--type-k)));
|
|
1128
1103
|
}
|
|
1129
1104
|
}
|
|
1130
1105
|
/* A strip's mark stands at its card's right, level with its label, in every look. Over the label it set the label
|
|
@@ -1201,7 +1176,8 @@
|
|
|
1201
1176
|
min-width: 0;
|
|
1202
1177
|
grid-template-columns: repeat(var(--dash-columns), minmax(0, 1fr));
|
|
1203
1178
|
grid-template-areas: var(--dash-template);
|
|
1204
|
-
|
|
1179
|
+
/* A look that draws every block as a tile says one gap for all of them (tilesLook.css). */
|
|
1180
|
+
column-gap: var(--dash-column-gap, var(--space-7));
|
|
1205
1181
|
row-gap: var(--page-row-gap, var(--section-seam));
|
|
1206
1182
|
}
|
|
1207
1183
|
.dash-area {
|
|
@@ -1239,6 +1215,22 @@
|
|
|
1239
1215
|
.dash-area > .page-section:not(:has(~ .page-section:not([hidden]))) {
|
|
1240
1216
|
flex: 1 1 auto;
|
|
1241
1217
|
}
|
|
1218
|
+
/* A strip of figures that shares a row with a taller one (a figure with its trend drawn under it) is as tall as the
|
|
1219
|
+
row, and its tiles with it. The strip took the row's height and its tiles did not, so two blocks of figures side
|
|
1220
|
+
by side stood at two heights, in every look that draws a figure as a box. */
|
|
1221
|
+
.dash-area > .dash-strip {
|
|
1222
|
+
display: flex;
|
|
1223
|
+
flex-direction: column;
|
|
1224
|
+
}
|
|
1225
|
+
.dash-area > .dash-strip > .home-cards {
|
|
1226
|
+
flex: 1 1 auto;
|
|
1227
|
+
}
|
|
1228
|
+
/* A dashboard's section stands one gap under what is above it, and its title starts it. The title's own top margin
|
|
1229
|
+
was a second space on the section's: a title stood 60px under a row of figures and 34px inside a look's card,
|
|
1230
|
+
where the grid's gap and the card's padding had already said how far. */
|
|
1231
|
+
.dash-body .page-section .page-section-title {
|
|
1232
|
+
margin-top: 0;
|
|
1233
|
+
}
|
|
1242
1234
|
/* A template that does not fit its room is one column, the areas in reading order. Asked of the room the grid has
|
|
1243
1235
|
and not of the window, so the side menu's narrower column collapses where it should: a column wants 13rem, the
|
|
1244
1236
|
width of a metric or a short breakdown (17rem, the aside's budget, folded a four-column template at a 1280 desk).
|
|
@@ -1306,8 +1298,8 @@
|
|
|
1306
1298
|
/* Cards whose words are short (IntakeControls' cardFit) stand side by side rather than stretching "Tile" across
|
|
1307
1299
|
the column: a label alone three to a row, a label and a short line two, and four of either two by two so no
|
|
1308
1300
|
row is left with one. They share a row's height, as a row of fields does. A phone and a dialog keep one a row. */
|
|
1309
|
-
.form-page:has(.multi-step-aside)
|
|
1310
|
-
.form-page:has(.multi-step-aside)
|
|
1301
|
+
.form-page:has(.multi-step-aside) :is([data-slot='radio-group'][data-kind='cards'], [data-slot='check-cards'])[data-fit] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1302
|
+
.form-page:has(.multi-step-aside) :is([data-slot='radio-group'][data-kind='cards'], [data-slot='check-cards'])[data-fit='short']:not(:has(> :nth-child(4):last-child)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
1311
1303
|
}
|
|
1312
1304
|
@container form-page (min-width: 56rem) {
|
|
1313
1305
|
.form-page.form-page > * { max-width: none; }
|
|
@@ -1325,19 +1317,19 @@
|
|
|
1325
1317
|
row is @mistriwork/ui's Columns, drawn here as forms.css draws it (align-items: start, so a help line or an error
|
|
1326
1318
|
under one half moves nothing beside it), because a New form of plain boxes never fetches forms.css. */
|
|
1327
1319
|
.insert-form-app > .insert-fields { container: record-form / inline-size; }
|
|
1328
|
-
.insert-form-app
|
|
1320
|
+
.insert-form-app [data-slot='columns'] {
|
|
1329
1321
|
display: grid;
|
|
1330
1322
|
grid-template-columns: var(--form-columns, repeat(auto-fit, minmax(min(100%, 9rem), 1fr)));
|
|
1331
1323
|
align-items: start;
|
|
1332
1324
|
}
|
|
1333
1325
|
/* Stacked, a row's fields stand as far apart as any two (features.css, .insert-group-fields). The intake style spaces
|
|
1334
1326
|
its own rows (MultiStepForm.css). */
|
|
1335
|
-
.insert-form-app
|
|
1327
|
+
.insert-form-app [data-slot='columns']:not([data-style='intake'] [data-slot='columns']) {
|
|
1336
1328
|
column-gap: var(--space-4);
|
|
1337
1329
|
row-gap: calc(var(--space-6) - var(--space-2));
|
|
1338
1330
|
}
|
|
1339
1331
|
@container record-form (max-width: 30rem) {
|
|
1340
|
-
.insert-form-app
|
|
1332
|
+
.insert-form-app [data-slot='columns']:not(.multi-step-form [data-slot='columns']) { grid-template-columns: minmax(0, 1fr); }
|
|
1341
1333
|
}
|
|
1342
1334
|
}
|
|
1343
1335
|
|
|
@@ -1391,11 +1383,29 @@
|
|
|
1391
1383
|
.page-tabpanel > .page-section > .page-section-bar {
|
|
1392
1384
|
justify-content: flex-end;
|
|
1393
1385
|
}
|
|
1386
|
+
/* At a desk a tab's list says its verbs on the strip's own line, at its far end, as a section's heading row does:
|
|
1387
|
+
the heading is the tab, and under it the verb stood alone on a row of its own over the table. The strip keeps
|
|
1388
|
+
room for it, so a long run of tabs folds before it and never runs under it. */
|
|
1389
|
+
@media (min-width: 761px) {
|
|
1390
|
+
.page-tabpanel > .page-section > .page-section-bar {
|
|
1391
|
+
width: fit-content;
|
|
1392
|
+
margin-block-start: calc(-1 * (var(--control-h) + var(--space-3) + var(--space-2) + var(--space-2)));
|
|
1393
|
+
margin-inline-start: auto;
|
|
1394
|
+
/* Drawn over the strip it is pulled into: the strip is positioned (its fold and marker), so a static bar under
|
|
1395
|
+
it painted below it and the strip took the click. */
|
|
1396
|
+
position: relative;
|
|
1397
|
+
z-index: 1;
|
|
1398
|
+
}
|
|
1399
|
+
.page-tabs:has(> .page-tabpanel:not([hidden]) > .page-section > .page-section-bar) > .page-tabstrip {
|
|
1400
|
+
padding-inline-end: 11rem;
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1394
1403
|
|
|
1395
1404
|
/* The bar in the sidebar (`ui.shell.header: 'sidebar'`, the default; docs/design.md, the shell): a side-placed App
|
|
1396
1405
|
draws no band across the window. The sidebar runs the window's height — its head the App's mark and name with New
|
|
1397
|
-
beside them
|
|
1398
|
-
|
|
1406
|
+
beside them; its foot the workspace — the room is a pane beside it under a bar of its own (the menu's toggle, where
|
|
1407
|
+
the reader is, the search, the bell, the settings and the account), and each room's own head row is the pane's
|
|
1408
|
+
first line. The header element itself stands in the sidebar
|
|
1399
1409
|
(packages/mistri/src/client/sidebarShell.js), still `.topbar`, so a theme's bar recipe dresses the head. Only at a
|
|
1400
1410
|
desk and signed in: a phone's drawer, the top placement and public pages keep the bar, and the class is not set
|
|
1401
1411
|
there. */
|
|
@@ -1404,14 +1414,160 @@
|
|
|
1404
1414
|
body.app-sidebar-shell:not(.sidebar-hidden) .layout > .sidebar[data-density] {
|
|
1405
1415
|
width: 240px;
|
|
1406
1416
|
}
|
|
1417
|
+
/* The room is a pane standing on the menu's ground (docs/design.md, the shell): inset from the window's edge on the
|
|
1418
|
+
three sides the menu is not, a hairline round it and corners a step rounder than a control's. The menu and the
|
|
1419
|
+
room then read as two things, and the room as the one that changes. The menu's own edge would be a second
|
|
1420
|
+
line beside the pane's. */
|
|
1421
|
+
body.app-sidebar-shell .layout {
|
|
1422
|
+
display: grid;
|
|
1423
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
1424
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
1425
|
+
background: var(--nav-ground, var(--surface));
|
|
1426
|
+
}
|
|
1427
|
+
body.app-sidebar-shell .layout > .sidebar {
|
|
1428
|
+
grid-row: 1 / -1;
|
|
1429
|
+
border-right-color: transparent;
|
|
1430
|
+
}
|
|
1431
|
+
/* The pane's bar (sidebarShell.js): where the reader is, then what is the same in every room — the search, the
|
|
1432
|
+
bell, the account — at its far end, over a rule. It is the pane's head: its corners are the pane's, the room
|
|
1433
|
+
scrolls under it and nothing in it moves between rooms. A look that rules its bar in ink says so
|
|
1434
|
+
(`--pane-rule`). */
|
|
1435
|
+
body.app-sidebar-shell .layout > .pane-bar {
|
|
1436
|
+
grid-column: 2;
|
|
1437
|
+
display: flex;
|
|
1438
|
+
align-items: center;
|
|
1439
|
+
gap: var(--space-3);
|
|
1440
|
+
box-sizing: border-box;
|
|
1441
|
+
min-width: 0;
|
|
1442
|
+
height: 52px;
|
|
1443
|
+
margin: var(--space-3) var(--space-3) 0 0;
|
|
1444
|
+
padding-inline: calc(var(--space-5) + var(--room-inset)) var(--space-4);
|
|
1445
|
+
border: 1px solid var(--line);
|
|
1446
|
+
border-bottom: 0;
|
|
1447
|
+
border-radius: calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0;
|
|
1448
|
+
background: var(--surface);
|
|
1449
|
+
}
|
|
1450
|
+
body.app-sidebar-shell .layout > .content {
|
|
1451
|
+
grid-column: 2;
|
|
1452
|
+
margin: 0 var(--space-3) var(--space-3) 0;
|
|
1453
|
+
border: 1px solid var(--line);
|
|
1454
|
+
border-top: var(--pane-rule, 1px solid var(--line));
|
|
1455
|
+
border-radius: 0 0 calc(var(--radius) + 4px) calc(var(--radius) + 4px);
|
|
1456
|
+
background: var(--surface);
|
|
1457
|
+
}
|
|
1458
|
+
/* The pane's own edge is a margin already: the room keeps a step less of its gutter inside it, so what stands
|
|
1459
|
+
in it starts where it would under a bar. An App's own gutter and a bare page keep theirs (features.css). */
|
|
1460
|
+
body.app-sidebar-shell:not(.app-custom-gutter, .page-bare) .layout > .content {
|
|
1461
|
+
padding-inline: var(--space-5);
|
|
1462
|
+
}
|
|
1463
|
+
/* A bare page owns the window (features.css): no bar over it, and no pane round it. */
|
|
1464
|
+
body.app-sidebar-shell.page-bare .layout > .pane-bar {
|
|
1465
|
+
display: none;
|
|
1466
|
+
}
|
|
1467
|
+
body.app-sidebar-shell.page-bare .layout > .content {
|
|
1468
|
+
margin: 0;
|
|
1469
|
+
border: 0;
|
|
1470
|
+
border-radius: 0;
|
|
1471
|
+
}
|
|
1472
|
+
/* Where the reader is: the menu's group, then the room, said once more for the eye (the menu's current row and
|
|
1473
|
+
the room's heading say it to everyone else). The room's name gives way first. */
|
|
1474
|
+
.pane-trail {
|
|
1475
|
+
display: inline-flex;
|
|
1476
|
+
align-items: center;
|
|
1477
|
+
gap: var(--space-3);
|
|
1478
|
+
flex: 1 1 auto;
|
|
1479
|
+
min-width: 0;
|
|
1480
|
+
overflow: hidden;
|
|
1481
|
+
font: var(--text-base) var(--sans);
|
|
1482
|
+
color: var(--ink-muted);
|
|
1483
|
+
white-space: nowrap;
|
|
1484
|
+
}
|
|
1485
|
+
.pane-trail > i {
|
|
1486
|
+
font-style: normal;
|
|
1487
|
+
color: var(--ink-subtle);
|
|
1488
|
+
}
|
|
1489
|
+
.pane-trail > b {
|
|
1490
|
+
min-width: 0;
|
|
1491
|
+
overflow: hidden;
|
|
1492
|
+
text-overflow: ellipsis;
|
|
1493
|
+
font-weight: 500;
|
|
1494
|
+
color: var(--ink);
|
|
1495
|
+
}
|
|
1496
|
+
/* The menu's rows are one size in every look (docs/design.md, the shell): a control's height, a 16px mark and two
|
|
1497
|
+
pixels between rooms, so forty rooms are still a list a pointer can walk. A look says how the current room is
|
|
1498
|
+
marked and nothing about how tall a room is; the roomier menu an App may ask for keeps its own (features.css). */
|
|
1499
|
+
body.app-mode .sidebar:not([data-density='comfortable']) #table-list button:not(.nav-group-fold) {
|
|
1500
|
+
align-items: center;
|
|
1501
|
+
min-height: 32px;
|
|
1502
|
+
}
|
|
1503
|
+
body.app-mode .sidebar:not([data-density='comfortable']) #table-list li:not(.nav-group) {
|
|
1504
|
+
margin-bottom: var(--space-1);
|
|
1505
|
+
}
|
|
1506
|
+
body.app-mode:not(.sidebar-hidden) .sidebar:not([data-density='comfortable']) #table-list .nav-icon {
|
|
1507
|
+
width: 16px;
|
|
1508
|
+
height: 16px;
|
|
1509
|
+
}
|
|
1510
|
+
/* A room with no mark among rooms with one keeps the mark's place empty, so its words start where theirs do. Set
|
|
1511
|
+
at the row's edge it read as a heading among the rooms (a first-time reader took "Post rent" for one). A menu
|
|
1512
|
+
in which no room has a mark is untouched: nothing is held where nothing is drawn. */
|
|
1513
|
+
body.app-mode:not(.sidebar-hidden) #table-list:has(.nav-icon) button:not(.nav-group-fold):not(:has(> :is(.nav-icon, .nav-dot)))::before {
|
|
1514
|
+
content: '';
|
|
1515
|
+
flex: none;
|
|
1516
|
+
width: 16px;
|
|
1517
|
+
}
|
|
1518
|
+
/* The menu's toggle, the bar's first key: its mark starts on the room's own left edge, so the square it is
|
|
1519
|
+
pressed in hangs a step outside it. */
|
|
1520
|
+
.pane-bar > .sidebar-collapse {
|
|
1521
|
+
width: 32px;
|
|
1522
|
+
height: 32px;
|
|
1523
|
+
margin-inline: calc(-1 * var(--space-3)) 0;
|
|
1524
|
+
}
|
|
1525
|
+
body.app-sidebar-shell .pane-bar > #search-button {
|
|
1526
|
+
flex: 0 1 20rem;
|
|
1527
|
+
min-width: 8rem;
|
|
1528
|
+
height: 32px;
|
|
1529
|
+
min-height: 0;
|
|
1530
|
+
box-sizing: border-box;
|
|
1531
|
+
margin: 0 var(--space-2) 0 0;
|
|
1532
|
+
}
|
|
1533
|
+
body.app-sidebar-shell .pane-bar > .topbar-actions {
|
|
1534
|
+
display: flex;
|
|
1535
|
+
flex: none;
|
|
1536
|
+
align-items: center;
|
|
1537
|
+
gap: var(--space-2);
|
|
1538
|
+
margin: 0;
|
|
1539
|
+
}
|
|
1540
|
+
body.app-sidebar-shell .pane-bar .account-with-inbox {
|
|
1541
|
+
display: flex;
|
|
1542
|
+
align-items: center;
|
|
1543
|
+
gap: var(--space-2);
|
|
1544
|
+
}
|
|
1545
|
+
/* The account is its disc here, a key the bell's size; who it is, is said in its name for a reader and at the
|
|
1546
|
+
head of its menu. */
|
|
1547
|
+
.pane-bar .account-name {
|
|
1548
|
+
display: none;
|
|
1549
|
+
}
|
|
1550
|
+
body.app-sidebar-shell .pane-bar button.account {
|
|
1551
|
+
width: 32px;
|
|
1552
|
+
min-height: 32px;
|
|
1553
|
+
height: 32px;
|
|
1554
|
+
padding: 0;
|
|
1555
|
+
justify-content: center;
|
|
1556
|
+
border-radius: 50%;
|
|
1557
|
+
}
|
|
1558
|
+
.pane-bar .account-avatar {
|
|
1559
|
+
width: 28px;
|
|
1560
|
+
height: 28px;
|
|
1561
|
+
}
|
|
1407
1562
|
body.app-sidebar-shell .sidebar > .topbar {
|
|
1408
1563
|
display: grid;
|
|
1409
1564
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
1410
|
-
grid-template-rows:
|
|
1411
|
-
grid-template-areas: 'brand new'
|
|
1565
|
+
grid-template-rows: 52px;
|
|
1566
|
+
grid-template-areas: 'brand new';
|
|
1412
1567
|
align-items: center;
|
|
1413
1568
|
gap: 0 var(--space-2);
|
|
1414
|
-
|
|
1569
|
+
/* As tall as the pane's bar and from the same top, so the mark and the trail stand on one line. */
|
|
1570
|
+
padding: var(--space-3) var(--space-3) 0;
|
|
1415
1571
|
flex: none;
|
|
1416
1572
|
/* The bar's own height and inset (style.css, a look's) were a band's. */
|
|
1417
1573
|
min-height: 0;
|
|
@@ -1460,80 +1616,11 @@
|
|
|
1460
1616
|
font: 300 calc(22px * var(--type-k)) / 1 var(--sans); /* off-scale: a glyph sized as a mark in its 28px square, not text */
|
|
1461
1617
|
color: var(--nav-muted, var(--ink-muted));
|
|
1462
1618
|
}
|
|
1463
|
-
|
|
1464
|
-
grid-area: search;
|
|
1465
|
-
width: 100%;
|
|
1466
|
-
min-width: 0;
|
|
1467
|
-
height: 32px;
|
|
1468
|
-
min-height: 0;
|
|
1469
|
-
box-sizing: border-box;
|
|
1470
|
-
margin: 0;
|
|
1471
|
-
/* In the menu the search is a field on the menu's ground, as the menu's filter is (visualThemes.css): the bar's
|
|
1472
|
-
field takes the page's surface, and the menu's inks there (nav.muted on white under a dark nav) read 1.9:1.
|
|
1473
|
-
Tokens rather than a background, so whatever field a look or an author's parts draw stands on the nav. */
|
|
1474
|
-
--surface: var(--nav-ground, var(--ground));
|
|
1475
|
-
--line: color-mix(in srgb, var(--nav-ink, var(--ink)) 45%, var(--nav-ground, var(--ground)));
|
|
1476
|
-
}
|
|
1477
|
-
/* The foot: the bar's keys (the bell and the account, an authoring badge, the assistant's door) on one row over the
|
|
1478
|
-
workspace's identity and Collapse. */
|
|
1479
|
-
body.app-sidebar-shell .sidebar-account {
|
|
1480
|
-
flex: none;
|
|
1481
|
-
padding: var(--space-2h) var(--space-3);
|
|
1482
|
-
border-top: 1px solid var(--line);
|
|
1483
|
-
}
|
|
1484
|
-
body.app-sidebar-shell .sidebar-account > .topbar-actions {
|
|
1485
|
-
display: flex;
|
|
1486
|
-
flex-wrap: wrap;
|
|
1487
|
-
align-items: center;
|
|
1488
|
-
gap: var(--space-2);
|
|
1489
|
-
margin: 0;
|
|
1490
|
-
min-width: 0;
|
|
1491
|
-
}
|
|
1492
|
-
body.app-sidebar-shell .sidebar-account .account-with-inbox {
|
|
1493
|
-
display: flex;
|
|
1494
|
-
align-items: center;
|
|
1495
|
-
gap: var(--space-2);
|
|
1496
|
-
}
|
|
1497
|
-
body.app-sidebar-shell .sidebar-account button.account {
|
|
1498
|
-
color: var(--ink);
|
|
1499
|
-
}
|
|
1500
|
-
body.app-sidebar-shell .sidebar-account :is(.inbox-trigger, .icon-button) {
|
|
1501
|
-
color: var(--ink-muted);
|
|
1502
|
-
}
|
|
1503
|
-
/* The workspace chooser docks here with the bar's other keys, outside the .topbar the dark bar's rule dresses
|
|
1504
|
-
(brandLook.css), so it stood on the page's surface key in the menu's ink: pale on pale under a dark nav. The
|
|
1505
|
-
sidebar's --ink and --line are the nav's (visualThemes.css), so a tint of its ink reads on any ground it wears. */
|
|
1506
|
-
body.app-sidebar-shell .sidebar-account .tenant-control-trigger {
|
|
1507
|
-
background: color-mix(in srgb, var(--ink) 8%, transparent);
|
|
1508
|
-
border-color: var(--line);
|
|
1509
|
-
color: var(--ink);
|
|
1510
|
-
box-shadow: none;
|
|
1511
|
-
}
|
|
1512
|
-
@media (hover: hover) {
|
|
1513
|
-
body.app-sidebar-shell .sidebar-account .tenant-control-trigger:hover {
|
|
1514
|
-
background: color-mix(in srgb, var(--ink) 14%, transparent);
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
/* The foot is as wide as the menu (240px): the picker takes its row and the buttons stand under it, each as wide as
|
|
1518
|
-
its words, not three boxes in one row that ran past the menu's edge (a field report, 330/360). */
|
|
1519
|
-
body.app-sidebar-shell .sidebar-account .tenant-control-host {
|
|
1520
|
-
display: flex;
|
|
1521
|
-
max-width: 100%;
|
|
1522
|
-
min-width: 0;
|
|
1523
|
-
}
|
|
1524
|
-
body.app-sidebar-shell .sidebar-account .tenant-control-inner,
|
|
1525
|
-
body.app-sidebar-shell .sidebar-account .tenant-control-inner .tenant-control-trigger {
|
|
1526
|
-
max-width: 100%;
|
|
1527
|
-
}
|
|
1528
|
-
body.app-sidebar-shell .sidebar-account + #sidebar-app-footer .sidebar-identity {
|
|
1529
|
-
padding-top: var(--space-3);
|
|
1530
|
-
}
|
|
1531
|
-
/* Folded to the rail: the head and the foot stand in one column of marks — the App's mark, New, the search's
|
|
1532
|
-
magnifier; the bell and the avatar. */
|
|
1619
|
+
/* Folded to the rail: the head is one column of marks, the App's mark and New. */
|
|
1533
1620
|
body.app-sidebar-shell.sidebar-hidden .sidebar > .topbar {
|
|
1534
1621
|
grid-template-columns: 1fr;
|
|
1535
|
-
grid-template-rows:
|
|
1536
|
-
grid-template-areas: 'brand' 'new'
|
|
1622
|
+
grid-template-rows: 52px auto;
|
|
1623
|
+
grid-template-areas: 'brand' 'new';
|
|
1537
1624
|
justify-items: center;
|
|
1538
1625
|
row-gap: var(--space-2);
|
|
1539
1626
|
padding-inline: var(--space-2);
|
|
@@ -1544,24 +1631,6 @@
|
|
|
1544
1631
|
body.app-sidebar-shell.sidebar-hidden .sidebar > .topbar .brand-name {
|
|
1545
1632
|
display: none;
|
|
1546
1633
|
}
|
|
1547
|
-
body.app-sidebar-shell.sidebar-hidden .sidebar > .topbar > #search-button {
|
|
1548
|
-
width: 32px;
|
|
1549
|
-
justify-content: center;
|
|
1550
|
-
padding: 0;
|
|
1551
|
-
}
|
|
1552
|
-
body.app-sidebar-shell.sidebar-hidden .sidebar > .topbar > #search-button :is(.tn-search-hint, .tn-search-key) {
|
|
1553
|
-
display: none;
|
|
1554
|
-
}
|
|
1555
|
-
body.app-sidebar-shell.sidebar-hidden .sidebar-account {
|
|
1556
|
-
padding-inline: var(--space-2);
|
|
1557
|
-
}
|
|
1558
|
-
body.app-sidebar-shell.sidebar-hidden .sidebar-account :is(.topbar-actions, .account-with-inbox) {
|
|
1559
|
-
flex-direction: column;
|
|
1560
|
-
justify-content: center;
|
|
1561
|
-
}
|
|
1562
|
-
body.app-sidebar-shell.sidebar-hidden .sidebar-account .account-caret {
|
|
1563
|
-
display: none;
|
|
1564
|
-
}
|
|
1565
1634
|
/* Each room's head row is the content's first line: the trail's bar, a list's or a dashboard's title and verbs —
|
|
1566
1635
|
52px at least, on a hairline, where the band stood over them. */
|
|
1567
1636
|
body.app-sidebar-shell #content > .crumbs-host:first-child > .crumbs,
|
|
@@ -1575,12 +1644,23 @@
|
|
|
1575
1644
|
body.app-sidebar-shell #content > .applist-host:first-child > .applist-head,
|
|
1576
1645
|
body.app-sidebar-shell #content > .applist-head:first-child {
|
|
1577
1646
|
margin-top: 0;
|
|
1578
|
-
|
|
1647
|
+
/* A step of air under the pane's bar: at the row's own 10px a list's title stood against the bar's rule. */
|
|
1648
|
+
padding-block: var(--space-5) var(--space-3h);
|
|
1579
1649
|
border-bottom: 1px solid var(--line);
|
|
1580
1650
|
}
|
|
1651
|
+
/* The trail's bar stands on the pane it is in: on the window's ground it was a grey band across a white pane in
|
|
1652
|
+
every look whose ground is not its surface. A look that lays a band under the head says so (themeFamilies.css). */
|
|
1653
|
+
body.app-sidebar-shell #content > .crumbs-host:first-child > .crumbs {
|
|
1654
|
+
background: var(--surface);
|
|
1655
|
+
}
|
|
1581
1656
|
body.app-sidebar-shell #content > .applist-host:first-child > .applist-head + .applist-controls {
|
|
1582
1657
|
padding-top: var(--page-head-gap);
|
|
1583
1658
|
}
|
|
1659
|
+
/* Over a list's controls the head row draws no rule: the tabs stand on one, a line under, and two rules a row
|
|
1660
|
+
apart boxed the title in. */
|
|
1661
|
+
body.app-sidebar-shell #content > .applist-host:first-child > .applist-head:has(~ .applist-controls) {
|
|
1662
|
+
border-bottom-color: transparent;
|
|
1663
|
+
}
|
|
1584
1664
|
body.app-sidebar-shell #content > .applist-head:first-child + * {
|
|
1585
1665
|
padding-top: var(--space-4);
|
|
1586
1666
|
}
|