@crewlethq/ui 0.131.0 → 0.131.1
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/AppShell/AppShell.d.ts +47 -196
- package/dist/AppShell/index.js +2 -2
- package/dist/{AppShell-N5IHITJM.css → AppShell-RPILZZW5.css} +109 -431
- package/dist/ArtifactBar/index.js +4 -4
- package/dist/ArtifactCard/ArtifactCard.d.ts +13 -39
- package/dist/ArtifactCard/index.js +1 -1
- package/dist/{ArtifactCard-ZH6KCD5O.css → ArtifactCard-PWMC7RAY.css} +15 -49
- package/dist/ArtifactMakeRow/ArtifactMakeRow.d.ts +3 -16
- package/dist/AvatarPicker/index.js +5 -5
- package/dist/BrandSample/index.js +1 -1
- package/dist/{BrandSample-3OSKZAGG.css → BrandSample-WSBT7FQ5.css} +5 -25
- package/dist/Breadcrumb/Breadcrumb.d.ts +5 -41
- package/dist/Breadcrumb/index.js +1 -1
- package/dist/{Breadcrumb-MQJWJVN3.css → Breadcrumb-JDBQXPR5.css} +12 -58
- package/dist/Canvas/Canvas.d.ts +52 -228
- package/dist/Canvas/geometry.d.ts +31 -139
- package/dist/Canvas/index.js +1 -1
- package/dist/CanvasBoard/index.js +3 -3
- package/dist/CanvasToolbar/index.js +2 -2
- package/dist/CodeBlock/index.js +1 -1
- package/dist/ColorSwatch/index.js +2 -2
- package/dist/CommentThread/CommentThread.d.ts +3 -21
- package/dist/CommentThread/index.js +1 -1
- package/dist/{CommentThread-544KCZT7.css → CommentThread-YU6VSVS4.css} +2 -4
- package/dist/Composer/Composer.d.ts +17 -54
- package/dist/ConfirmField/index.js +2 -2
- package/dist/Copyable/Copyable.d.ts +2 -11
- package/dist/Copyable/index.js +1 -1
- package/dist/{Copyable-XMLKKJDT.css → Copyable-U3UJL3BP.css} +9 -32
- package/dist/DataGrid/DataGrid.d.ts +46 -136
- package/dist/DataGrid/index.js +1 -1
- package/dist/DataTable/index.js +2 -2
- package/dist/DataView/index.js +3 -3
- package/dist/DocTabsEditor/index.js +2 -2
- package/dist/{Editor-MEPTWBY5.js → Editor-HDHT5BX2.js} +2 -2
- package/dist/GraphCanvas/GraphCanvas.d.ts +22 -79
- package/dist/GraphCanvas/index.js +2 -2
- package/dist/GraphCanvas/layout.d.ts +10 -35
- package/dist/HuePicker/index.js +4 -4
- package/dist/InlineCode/InlineCode.d.ts +7 -28
- package/dist/InlineCode/index.js +1 -1
- package/dist/InlineCode-3KJCBT5I.css +80 -0
- package/dist/Link/Link.d.ts +3 -25
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Y7RHTR6F.css → Link-7AADYG2F.css} +12 -35
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/MarkdownEditor/index.js +4 -4
- package/dist/MentionMenu/MentionMenu.d.ts +9 -31
- package/dist/Menu/Menu.d.ts +9 -91
- package/dist/Menu/index.js +1 -1
- package/dist/MergeConflicts/index.js +4 -4
- package/dist/ObjectHeader/index.js +2 -2
- package/dist/OrgTable/index.js +3 -3
- package/dist/PropertyList/index.js +3 -3
- package/dist/RichEditor/index.js +1 -1
- package/dist/SearchTrigger/SearchTrigger.d.ts +8 -36
- package/dist/SearchTrigger/index.js +1 -1
- package/dist/{SearchTrigger-MME7NIHX.css → SearchTrigger-3HO7D6NP.css} +5 -17
- package/dist/SegmentedControl/index.js +3 -3
- package/dist/ShareDialog/index.js +1 -1
- package/dist/SheetColumnEditor/index.js +5 -5
- package/dist/SheetGrid/index.js +2 -2
- package/dist/SlideFilmstrip/index.js +2 -2
- package/dist/TableCells/index.js +2 -2
- package/dist/Tabs/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +4 -4
- package/dist/TimeRangePicker/index.js +4 -4
- package/dist/TreeCanvas/TreeCanvas.d.ts +50 -248
- package/dist/TreeCanvas/index.js +2 -2
- package/dist/TreeGrid/index.js +2 -2
- package/dist/VersionCompare/index.js +4 -4
- package/dist/{chunk-O43SIR3W.js → chunk-3QQ3QHQR.js} +1 -1
- package/dist/{chunk-MZV45HQB.js → chunk-3T6URIXM.js} +1 -1
- package/dist/{chunk-H2QSDZTX.js → chunk-3ZURIGQ7.js} +1 -1
- package/dist/{chunk-KQFOPY2P.js → chunk-4H577HEE.js} +1 -1
- package/dist/{chunk-3WSDAVE6.js → chunk-5PAABHF7.js} +1 -1
- package/dist/{chunk-3DAIOPAV.js → chunk-63NULHGF.js} +1 -1
- package/dist/{chunk-NFA7CSCD.js → chunk-6BMPVSUB.js} +1 -1
- package/dist/{chunk-JY6WSDUG.js → chunk-AIQHJ2HF.js} +1 -1
- package/dist/{chunk-M32NBSS7.js → chunk-B2RTWEZZ.js} +4 -6
- package/dist/{chunk-3P24SMTI.js → chunk-B5MCTPXL.js} +1 -1
- package/dist/{chunk-V2FD4RPS.js → chunk-BGPHGCDT.js} +1 -1
- package/dist/{chunk-QNDXLHBO.js → chunk-CN2EDXAW.js} +1 -1
- package/dist/{chunk-MNACKUBB.js → chunk-CX4JXBS3.js} +2 -2
- package/dist/{chunk-NLGRDKCK.js → chunk-EPH5EPKN.js} +2 -2
- package/dist/{chunk-AKCIF6XN.js → chunk-FEJVDORA.js} +1 -1
- package/dist/{chunk-PFTUWDZN.js → chunk-FIH5EMJF.js} +1 -1
- package/dist/{chunk-OWYIRWEX.js → chunk-FMRRKLNX.js} +1 -1
- package/dist/{chunk-QM2QFKIA.js → chunk-FVXNR63H.js} +2 -2
- package/dist/{chunk-2AKVGQ73.js → chunk-GDBROEQ5.js} +1 -1
- package/dist/{chunk-NMBGVHGQ.js → chunk-GSLN7WL2.js} +2 -2
- package/dist/{chunk-KMIS2R67.js → chunk-HJAX4356.js} +1 -1
- package/dist/{chunk-WLCPN22T.js → chunk-HKYLPYVF.js} +1 -1
- package/dist/{chunk-Q4JX6UO7.js → chunk-HMEFWPAA.js} +3 -7
- package/dist/{chunk-OVFB63RZ.js → chunk-JANUABBT.js} +3 -5
- package/dist/{chunk-AIYSPVVZ.js → chunk-JDRBZYIA.js} +1 -1
- package/dist/{chunk-7FSIBX4S.js → chunk-JG66SXCX.js} +1 -1
- package/dist/{chunk-D2KJ5GQC.js → chunk-N2DCSSYC.js} +2 -2
- package/dist/{chunk-2TZNTPF5.js → chunk-NDWXVEY6.js} +2 -4
- package/dist/{chunk-QFE6T6GW.js → chunk-P4QAS5TS.js} +1 -1
- package/dist/{chunk-JKFA2F7J.js → chunk-R4YUMULC.js} +1 -1
- package/dist/{chunk-E3AFQTWT.js → chunk-SRPV3EAJ.js} +1 -1
- package/dist/{chunk-K5WTII2H.js → chunk-U67UM3VS.js} +1 -1
- package/dist/{chunk-RMGPZQVJ.js → chunk-UTKI2SAM.js} +1 -1
- package/dist/{chunk-KUECTV2P.js → chunk-W443OSWT.js} +1 -1
- package/dist/{chunk-XHNV272L.js → chunk-W4UJWFCZ.js} +1 -1
- package/dist/{chunk-EGHOU7U2.js → chunk-WGAEHKGW.js} +5 -12
- package/dist/{chunk-3DGNF2EH.js → chunk-XGZXKG53.js} +2 -2
- package/dist/{chunk-MNVIIZQP.js → chunk-YADYQHHW.js} +2 -5
- package/dist/{chunk-Y7FPSBCN.js → chunk-YBOGOTYV.js} +1 -1
- package/dist/{chunk-ECOWCJHQ.js → chunk-YTDZY3PY.js} +1 -1
- package/dist/{chunk-6POROC4M.js → chunk-ZO3MXMAC.js} +1 -1
- package/dist/generated/index.js +54 -54
- package/dist/index.js +54 -54
- package/dist/styles.css +188 -696
- package/dist/utils/pathBreaks.d.ts +3 -8
- package/package.json +3 -3
- package/dist/InlineCode-BEYQFJQT.css +0 -106
package/dist/styles.css
CHANGED
|
@@ -941,54 +941,26 @@
|
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
|
|
944
|
-
/* AppShell-
|
|
944
|
+
/* AppShell-RPILZZW5.css */
|
|
945
945
|
/*
|
|
946
|
-
* The application frame:
|
|
947
|
-
*
|
|
948
|
-
*
|
|
949
|
-
* The rail's width and the bar's height are read from the token layer through
|
|
950
|
-
* two component variables, so an application with a narrower rail sets ONE
|
|
951
|
-
* value rather than repeating a number in its own stylesheet, which is what
|
|
952
|
-
* every consumer of the passive shell had to do.
|
|
953
|
-
*
|
|
954
|
-
* THE SHEET IS INSET FROM THE FRAME, rounded, and drawn round with the plain
|
|
955
|
-
* hairline, which is the approved design's frame: the rail stands on the
|
|
956
|
-
* lowest rung and the screen a rung above it, so where the navigation ends
|
|
957
|
-
* and the page begins is a difference of ground, a line and a corner rather
|
|
958
|
-
* than a divider the rail draws. The inset is --size-shell-inset on the
|
|
959
|
-
* sheet's top, right and bottom; the rail is the gap on its left. The sheet clips what it holds to its corner, and the ONE scroller is
|
|
960
|
-
* inside it, so a screen scrolls under the bar and never past the corner.
|
|
961
|
-
*
|
|
962
|
-
* The breakpoint is written out because a media query cannot read a custom
|
|
963
|
-
* property. It is the shell step from @crewlethq/tokens, and the CSS check
|
|
964
|
-
* compares the literal against the token. The query is STRICTLY UNDER it,
|
|
965
|
-
* (width < 1024px): the step is the rail, the inset and the sheet's floor
|
|
966
|
-
* added up, so at exactly that width the rail still fits, and the component's
|
|
967
|
-
* own matchMedia asks the same question.
|
|
946
|
+
* The application frame: the rail on the frame, the screen on a sheet inset
|
|
947
|
+
* beside it. The breakpoint is written out (a media query cannot read a token)
|
|
948
|
+
* as strictly under the shell step; the CSS check compares it to the token.
|
|
968
949
|
*/
|
|
969
950
|
|
|
970
951
|
.crewlet-app-shell {
|
|
971
952
|
--crewlet-app-shell-rail: var(--size-shell-rail);
|
|
972
953
|
--crewlet-app-shell-topbar: var(--size-shell-topbar);
|
|
973
|
-
/*
|
|
974
|
-
|
|
975
|
-
inside itself (a `ListDetail` on a fill screen), one step narrower on a
|
|
976
|
-
narrow window. */
|
|
954
|
+
/* The sheet's side inset: the bar's, the content column's and a full-bleed
|
|
955
|
+
box's own, one step narrower on a narrow window. */
|
|
977
956
|
--crewlet-app-shell-inset: var(--spacing-5);
|
|
978
957
|
/* What stands on the frame to the sheet's left: the rail's column, or
|
|
979
958
|
nothing where there is no rail or the rail is a drawer. */
|
|
980
959
|
--crewlet-app-shell-beside: var(--crewlet-app-shell-rail);
|
|
981
960
|
/*
|
|
982
|
-
*
|
|
983
|
-
*
|
|
984
|
-
*
|
|
985
|
-
* own track's minimum (`--crewlet-app-shell-aside-reserve`, the page's sheet
|
|
986
|
-
* with its own inset and hairlines), and the grid hands the aside what is
|
|
987
|
-
* left once the rail and that floor have theirs, up to its width. The rail's
|
|
988
|
-
* track is the rail's live width, so while the rail eases between its
|
|
989
|
-
* shapes the cap eases with it: a cap computed from the rail's VARIABLE
|
|
990
|
-
* named the shape drawn, and jumped at both ends of a fold. With no reserve
|
|
991
|
-
* the panel takes the width it was given, as far as the window holds it.
|
|
961
|
+
* The aside's track while it is a column: at least the inset, at most the
|
|
962
|
+
* panel's width plus the inset. The grid caps it at what the rail's live
|
|
963
|
+
* track and the page's floor leave, so the cap eases with a folding rail.
|
|
992
964
|
*/
|
|
993
965
|
--crewlet-app-shell-aside-track: minmax(
|
|
994
966
|
var(--size-shell-inset),
|
|
@@ -1018,11 +990,8 @@
|
|
|
1018
990
|
past it. A page that can also scroll as a whole carries the rail off the
|
|
1019
991
|
top of the window. */
|
|
1020
992
|
height: 100dvh;
|
|
1021
|
-
/*
|
|
1022
|
-
a focus
|
|
1023
|
-
scrolled the whole shell up, the frame showing as a band under it, and
|
|
1024
|
-
nothing a reader could do scrolled it back. `clip` cuts the same edge
|
|
1025
|
-
and offers nothing to scroll (SidePanel's flush body, the same rule). */
|
|
993
|
+
/* `clip`, not `hidden`: a hidden overflow is still a scroll container, and
|
|
994
|
+
a focus past the viewport scrolled the whole shell with no way back. */
|
|
1026
995
|
overflow: clip;
|
|
1027
996
|
/* The FRAME, the lowest rung: what the rail stands on and what shows round
|
|
1028
997
|
the sheet's inset. */
|
|
@@ -1031,12 +1000,8 @@
|
|
|
1031
1000
|
}
|
|
1032
1001
|
|
|
1033
1002
|
/*
|
|
1034
|
-
*
|
|
1035
|
-
*
|
|
1036
|
-
* the ROOT's padding rather than a second margin rule on the sheet, so the
|
|
1037
|
-
* narrow block below takes it back with a rule of the same weight declared
|
|
1038
|
-
* after this one; a margin here would have needed two classes, and would have
|
|
1039
|
-
* beaten the narrow block's one.
|
|
1003
|
+
* No rail: one column, the sheet inset on its left from the frame's edge. The
|
|
1004
|
+
* inset is the root's padding so the narrow block takes it back at one weight.
|
|
1040
1005
|
*/
|
|
1041
1006
|
.crewlet-app-shell--no-rail {
|
|
1042
1007
|
--crewlet-app-shell-beside: 0px;
|
|
@@ -1082,14 +1047,8 @@
|
|
|
1082
1047
|
}
|
|
1083
1048
|
|
|
1084
1049
|
/*
|
|
1085
|
-
* The rail stands on the
|
|
1086
|
-
*
|
|
1087
|
-
* reader navigates with from the page they are reading.
|
|
1088
|
-
*
|
|
1089
|
-
* AND IT DRAWS NO EDGE OF ITS OWN in the wide layout. It carried a right
|
|
1090
|
-
* border when the screen beside it was flush against it; the sheet draws its
|
|
1091
|
-
* own hairline now, an inset away, and a second line at the rail's edge would
|
|
1092
|
-
* run the height of the window parallel to it, eight pixels off.
|
|
1050
|
+
* The rail stands on the frame, the lowest rung, and draws no edge of its own
|
|
1051
|
+
* in the wide layout: the sheet beside it draws its own hairline.
|
|
1093
1052
|
*/
|
|
1094
1053
|
.crewlet-app-shell__rail {
|
|
1095
1054
|
/* The fold control's containing block. Re-declared as `fixed` by the
|
|
@@ -1101,10 +1060,8 @@
|
|
|
1101
1060
|
width: var(--crewlet-app-shell-rail);
|
|
1102
1061
|
min-height: 0;
|
|
1103
1062
|
min-width: 0;
|
|
1104
|
-
/*
|
|
1105
|
-
|
|
1106
|
-
edge clips it rather than squeezing it. Across only: a ring or a badge
|
|
1107
|
-
at a row's top or bottom is never cut. */
|
|
1063
|
+
/* While the rail eases, its content keeps the drawn shape's width and the
|
|
1064
|
+
moving edge clips it; across only, so a row's ring is never cut. */
|
|
1108
1065
|
overflow-x: clip;
|
|
1109
1066
|
background: var(--color-surface-frame);
|
|
1110
1067
|
transition: width var(--motion-duration-slow) var(--motion-easing-emphasized);
|
|
@@ -1122,20 +1079,8 @@
|
|
|
1122
1079
|
}
|
|
1123
1080
|
|
|
1124
1081
|
/*
|
|
1125
|
-
* The head
|
|
1126
|
-
*
|
|
1127
|
-
* centred on the same line as the screen's title in the bar beside it, and the
|
|
1128
|
-
* first nav row starts level with the top of the screen under the bar. The
|
|
1129
|
-
* box is sized as a border box whatever the document says, because the height
|
|
1130
|
-
* is written as the inset plus the bar and the padding is the inset: counted
|
|
1131
|
-
* outside the height, the head would stand an inset taller than the bar.
|
|
1132
|
-
*
|
|
1133
|
-
* AND IT DRAWS NO LINE OF ITS OWN. It carried a bottom border, which put a
|
|
1134
|
-
* divider across the rail at the same height as the bar's, and the two read as
|
|
1135
|
-
* one rule running the width of the window with the brand and the screen title
|
|
1136
|
-
* sitting above it like a second bar. The rail is one column: the bar's line
|
|
1137
|
-
* belongs to the bar, the rail's right edge is what separates the two, and the
|
|
1138
|
-
* only rule inside the rail is the one over its foot.
|
|
1082
|
+
* The head is the inset plus the bar's height, as a border box, so its lockup
|
|
1083
|
+
* centres on the bar's title line. It draws no line: that belongs to the bar.
|
|
1139
1084
|
*/
|
|
1140
1085
|
.crewlet-app-shell__rail-head {
|
|
1141
1086
|
display: flex;
|
|
@@ -1149,19 +1094,9 @@
|
|
|
1149
1094
|
}
|
|
1150
1095
|
|
|
1151
1096
|
/*
|
|
1152
|
-
*
|
|
1153
|
-
*
|
|
1154
|
-
*
|
|
1155
|
-
* field and every row ended a bar's width earlier, and the field's words were
|
|
1156
|
-
* cut beside its shortcut. It reserves the bar's gutter at every height, and
|
|
1157
|
-
* what stands in it (the field and the nav) gives exactly that width back from
|
|
1158
|
-
* its end inset (`--crewlet-rail-body-end`, the nav's gutter less the bar), so
|
|
1159
|
-
* the field and the rows stand where they stood before, scrolling or not.
|
|
1160
|
-
*
|
|
1161
|
-
* The bar's width is the middle's own (`--crewlet-rail-scrollbar`, measured by
|
|
1162
|
-
* `AppShell.Rail`, 0 where scrollbars overlay the content), not the screen's
|
|
1163
|
-
* gutter, which is 0 beside a flush screen while the middle still reserves its
|
|
1164
|
-
* bar. A bar wider than the gutter gives back what the gutter has.
|
|
1097
|
+
* The rail's scroller reserves its own bar's gutter (`--crewlet-rail-scrollbar`,
|
|
1098
|
+
* measured by `AppShell.Rail`) and the field and nav give it back at their end
|
|
1099
|
+
* (`--crewlet-rail-body-end`), so they keep one width, scrolling or not.
|
|
1165
1100
|
*/
|
|
1166
1101
|
.crewlet-app-shell__rail-body {
|
|
1167
1102
|
--crewlet-rail-body-end: max(0px, calc(var(--size-nav-gutter) - var(--crewlet-rail-scrollbar, 0px)));
|
|
@@ -1198,11 +1133,8 @@
|
|
|
1198
1133
|
}
|
|
1199
1134
|
|
|
1200
1135
|
/*
|
|
1201
|
-
*
|
|
1202
|
-
*
|
|
1203
|
-
* title. It ends on the nav's gutter, where every row's background ends, and
|
|
1204
|
-
* it reserves the width of a dot and a two-figure count, so the name beside
|
|
1205
|
-
* it truncates at one place whether the engine is healthy or has alarms.
|
|
1136
|
+
* The head's status (`AppShell.RailStatus`) ends on the nav's gutter and
|
|
1137
|
+
* reserves a dot and a two-figure count, so the name truncates at one place.
|
|
1206
1138
|
*/
|
|
1207
1139
|
.crewlet-app-shell__rail-status {
|
|
1208
1140
|
display: flex;
|
|
@@ -1260,17 +1192,9 @@
|
|
|
1260
1192
|
}
|
|
1261
1193
|
|
|
1262
1194
|
/*
|
|
1263
|
-
*
|
|
1264
|
-
*
|
|
1265
|
-
*
|
|
1266
|
-
* (`--crewlet-rail-field-pad`, which the rail variant of `SearchTrigger`
|
|
1267
|
-
* takes): the glyph on the nav's glyph column and the shortcut ending where a
|
|
1268
|
-
* row's words end. A row's content is the gutter and the row's pad in; the
|
|
1269
|
-
* field's is the slot's inset, its own 1px edge and its pad, so the inset at
|
|
1270
|
-
* each end makes up the difference, which is the gutter.
|
|
1271
|
-
*
|
|
1272
|
-
* And it is held off the nav by the nav's own top inset alone, one step, so
|
|
1273
|
-
* the field and the rows read as one group with the field first.
|
|
1195
|
+
* The rail's field spans a nav row's highlight edges, and its pad
|
|
1196
|
+
* (`--crewlet-rail-field-pad`) puts its glyph and shortcut on a row's content
|
|
1197
|
+
* columns. It is held off the nav by the nav's top inset alone.
|
|
1274
1198
|
*/
|
|
1275
1199
|
.crewlet-app-shell__rail-search {
|
|
1276
1200
|
--crewlet-rail-field-pad: calc(var(--size-nav-row-pad) - 1px);
|
|
@@ -1281,15 +1205,9 @@
|
|
|
1281
1205
|
);
|
|
1282
1206
|
}
|
|
1283
1207
|
|
|
1284
|
-
/* The
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
THE FOOT IS THE COMPACT STEP. It holds what a reader reaches for rarely (a
|
|
1288
|
-
settings link, the engine's state), so its rows stand on the small control
|
|
1289
|
-
step (`--crewlet-rail-foot-row`, 26px, never under the 24px target) on a
|
|
1290
|
-
half-step gap and a one-step inset, where the nav above keeps its 30px
|
|
1291
|
-
rows. The account row is the one exception (see below). Only heights
|
|
1292
|
-
change: every row keeps its order, columns, glyphs and words. */
|
|
1208
|
+
/* The foot takes the nav's gutter and the compact step: its rows stand on
|
|
1209
|
+
`--crewlet-rail-foot-row` (26px, never under the 24px target), all but the
|
|
1210
|
+
account row. */
|
|
1293
1211
|
.crewlet-app-shell__rail-foot {
|
|
1294
1212
|
--crewlet-rail-foot-gap: calc(var(--spacing-1) / 2);
|
|
1295
1213
|
--crewlet-rail-foot-row: var(--size-control-sm);
|
|
@@ -1302,38 +1220,9 @@
|
|
|
1302
1220
|
}
|
|
1303
1221
|
|
|
1304
1222
|
/*
|
|
1305
|
-
* A
|
|
1306
|
-
*
|
|
1307
|
-
*
|
|
1308
|
-
* which is where a row's background begins, and the row pad insets the content
|
|
1309
|
-
* inside the row. A control dropped into the foot brings its own inset and
|
|
1310
|
-
* lands its mark four or five pixels off the line every nav glyph above it
|
|
1311
|
-
* sits on, which is the one thing a reader notices about a rail without being
|
|
1312
|
-
* able to say what it is. This takes both halves, so it cannot.
|
|
1313
|
-
*
|
|
1314
|
-
* AND SO DOES WHATEVER ELSE LANDS THERE. `AppShell.RailRow` is the row this
|
|
1315
|
-
* package draws, but the slot takes a control from anywhere and an application
|
|
1316
|
-
* that already has a status button reaches for that one: the engine drops a
|
|
1317
|
-
* ghost Button into the foot, which arrived centred in a 263px rail on a
|
|
1318
|
-
* toolbar's inset. The foot claims a direct child instead, which is the same
|
|
1319
|
-
* move the nav's badge slot makes on whatever a caller puts in it, and there
|
|
1320
|
-
* is no second idea of what a row in this rail is.
|
|
1321
|
-
*
|
|
1322
|
-
* THE BLOCK INSET IS A STEP, NOT A HEIGHT. A status line is a word with room
|
|
1323
|
-
* around it rather than a control on the control ladder, so it takes one
|
|
1324
|
-
* spacing step above and below its own line: 8 + 18 + 8 is 34px at the normal
|
|
1325
|
-
* density and follows the density from there. --size-row-sm stays under it as
|
|
1326
|
-
* the floor, because that is the step carrying the 24px a finger can hit, so
|
|
1327
|
-
* compact density cannot take the target under it.
|
|
1328
|
-
*
|
|
1329
|
-
* And the boundary is TRANSPARENT rather than absent, spending one pixel of
|
|
1330
|
-
* that step rather than adding one on top of it. It spends a pixel of the row
|
|
1331
|
-
* pad too: added to it, the boundary stood the row's mark and words a pixel
|
|
1332
|
-
* right of every nav glyph and word above them. A button carries one at every
|
|
1333
|
-
* variant so that a bordered variant and a borderless one stand the same
|
|
1334
|
-
* height, and the row this package draws carries the same one for the same
|
|
1335
|
-
* reason: without it the two rows in one foot are 34px and 36px, and the
|
|
1336
|
-
* difference is a border nobody can see.
|
|
1223
|
+
* A foot row, or any control dropped in the foot, takes the nav's gutter and
|
|
1224
|
+
* row pad so its mark lands on the nav's glyph line; a step above and below,
|
|
1225
|
+
* floored at --size-row-sm, with the 1px transparent border counted inside.
|
|
1337
1226
|
*/
|
|
1338
1227
|
.crewlet-app-shell__rail-row,
|
|
1339
1228
|
.crewlet-app-shell__rail-foot > .crewlet-btn {
|
|
@@ -1369,18 +1258,8 @@
|
|
|
1369
1258
|
}
|
|
1370
1259
|
|
|
1371
1260
|
/*
|
|
1372
|
-
* A
|
|
1373
|
-
*
|
|
1374
|
-
* lifting to the primary under the pointer, as Settings above it is drawn. So
|
|
1375
|
-
* the engine's row under Settings reads as one more row of the rail rather
|
|
1376
|
-
* than as a caption, its words start on the line the nav's words start on, and
|
|
1377
|
-
* it keeps one height in every state it says: one line of the compact step.
|
|
1378
|
-
* A status line the rail only states keeps the quieter caption above, and the
|
|
1379
|
-
* status block keeps its card.
|
|
1380
|
-
*
|
|
1381
|
-
* Its mark takes a nav glyph's width, `sm` (14px), whatever the mark is, so a
|
|
1382
|
-
* 7px status dot is centred where the glyph above it is centred and the words
|
|
1383
|
-
* beside it start where "Settings" starts.
|
|
1261
|
+
* A control in the foot is drawn as a nav row (step, gap, type, ink), and its
|
|
1262
|
+
* mark takes a nav glyph's width (14px) so its words start where the nav's do.
|
|
1384
1263
|
*/
|
|
1385
1264
|
.crewlet-app-shell__rail-row--action:not(.crewlet-app-shell__rail-row--block),
|
|
1386
1265
|
.crewlet-app-shell__rail-foot > .crewlet-btn {
|
|
@@ -1394,10 +1273,8 @@
|
|
|
1394
1273
|
line-height: var(--font-line-height-tight);
|
|
1395
1274
|
}
|
|
1396
1275
|
|
|
1397
|
-
/* A dropped control's
|
|
1398
|
-
|
|
1399
|
-
glyph column and its words 7px left of "Settings". Its first child only,
|
|
1400
|
-
because a trailing icon shares the class and ends on the row's end. */
|
|
1276
|
+
/* A dropped control's leading mark slot takes the same column. First child
|
|
1277
|
+
only: a trailing icon shares the class and ends on the row's end. */
|
|
1401
1278
|
.crewlet-app-shell__rail-row--action:not(.crewlet-app-shell__rail-row--block) > .crewlet-app-shell__rail-row-icon,
|
|
1402
1279
|
.crewlet-app-shell__rail-foot > .crewlet-btn > .crewlet-btn__icon:first-child {
|
|
1403
1280
|
justify-content: center;
|
|
@@ -1413,10 +1290,8 @@
|
|
|
1413
1290
|
}
|
|
1414
1291
|
|
|
1415
1292
|
/*
|
|
1416
|
-
*
|
|
1417
|
-
*
|
|
1418
|
-
* what a screen reader is told cannot come apart, as the switcher's trigger
|
|
1419
|
-
* draws it.
|
|
1293
|
+
* The row a panel is open from keeps the hover's lift, drawn from
|
|
1294
|
+
* `aria-expanded` so the picture matches what a screen reader is told.
|
|
1420
1295
|
*/
|
|
1421
1296
|
.crewlet-app-shell__rail-row--action:hover,
|
|
1422
1297
|
.crewlet-app-shell__rail-row--action[aria-expanded='true'] {
|
|
@@ -1424,11 +1299,8 @@
|
|
|
1424
1299
|
color: var(--color-text-primary);
|
|
1425
1300
|
}
|
|
1426
1301
|
|
|
1427
|
-
/* A row
|
|
1428
|
-
|
|
1429
|
-
what a node is doing, and what it says is as long as the sentence the
|
|
1430
|
-
application wrote. Cut, it kept the half that said nothing ("engine
|
|
1431
|
-
conn…"). */
|
|
1302
|
+
/* A foot row's label wraps rather than ending in an ellipsis: a status line
|
|
1303
|
+
is a sentence, and cut it keeps the half that says nothing. */
|
|
1432
1304
|
.crewlet-app-shell__rail-foot > .crewlet-btn > .crewlet-btn__label {
|
|
1433
1305
|
display: block;
|
|
1434
1306
|
flex: 1 1 auto;
|
|
@@ -1456,18 +1328,9 @@
|
|
|
1456
1328
|
}
|
|
1457
1329
|
|
|
1458
1330
|
/*
|
|
1459
|
-
*
|
|
1460
|
-
*
|
|
1461
|
-
*
|
|
1462
|
-
* The words take their own width up to the whole line (`flex-basis: auto`
|
|
1463
|
-
* with `max-width: 100%`), so the line breaks BEFORE the value exactly when
|
|
1464
|
-
* the words and the value together are wider than the rail: the value stands
|
|
1465
|
-
* at the end of the words' line while both fit, and at the start of a line
|
|
1466
|
-
* of its own under them when they do not. The words grow into what is left
|
|
1467
|
-
* on their line, which is what puts a value that fits at the row's end
|
|
1468
|
-
* without a margin that would also push a wrapped one to the far side. And
|
|
1469
|
-
* words wider than the rail wrap, at any character if they must, rather than
|
|
1470
|
-
* end in an ellipsis: they are the part of the row that was the point.
|
|
1331
|
+
* The words and the trailing value share one wrapping line: the value ends the
|
|
1332
|
+
* words' line while both fit and wraps under them when not. The words are
|
|
1333
|
+
* never cut; too wide, they break at any character.
|
|
1471
1334
|
*/
|
|
1472
1335
|
.crewlet-app-shell__rail-row-body {
|
|
1473
1336
|
display: flex;
|
|
@@ -1498,13 +1361,8 @@
|
|
|
1498
1361
|
}
|
|
1499
1362
|
|
|
1500
1363
|
/*
|
|
1501
|
-
*
|
|
1502
|
-
*
|
|
1503
|
-
* ticks up does not move the words beside it, and a mark half a step off the
|
|
1504
|
-
* figure. It is the tertiary step, as the nav's is, unless what it counts is
|
|
1505
|
-
* wrong: a warning count is the warning ink, figure and mark together, which
|
|
1506
|
-
* @crewlethq/tokens holds to 4.5:1 on the rail and under the hover overlay
|
|
1507
|
-
* (RAIL_PAINTS), so on the row a panel is open from too.
|
|
1364
|
+
* The count: caption step, tabular figures and tertiary ink, or the warning
|
|
1365
|
+
* ink for a warning count (4.5:1 on the rail and its hover, per RAIL_PAINTS).
|
|
1508
1366
|
*/
|
|
1509
1367
|
.crewlet-app-shell__rail-row-count {
|
|
1510
1368
|
display: inline-flex;
|
|
@@ -1534,18 +1392,9 @@
|
|
|
1534
1392
|
}
|
|
1535
1393
|
|
|
1536
1394
|
/*
|
|
1537
|
-
*
|
|
1538
|
-
*
|
|
1539
|
-
*
|
|
1540
|
-
* the rows that only go somewhere. The words step up to the primary ink at the
|
|
1541
|
-
* medium weight, since they are the state, and the detail keeps the row's
|
|
1542
|
-
* quiet ink a step smaller. Both are set on the snug leading, where the
|
|
1543
|
-
* design's two lines sit as one block rather than as two rows.
|
|
1544
|
-
*
|
|
1545
|
-
* It keeps the row's own inline pad and its transparent-border arithmetic, so
|
|
1546
|
-
* its mark still lands on the line every nav glyph above it sits on; the block
|
|
1547
|
-
* inset grows by a pixel for the second line, the design's 10px around the
|
|
1548
|
-
* words with the border counted in.
|
|
1395
|
+
* The status block: a row given a `detail`, its words over a second line on
|
|
1396
|
+
* the card rung. It keeps the row's inline pad and transparent border, so its
|
|
1397
|
+
* mark still lands on the nav's glyph line.
|
|
1549
1398
|
*/
|
|
1550
1399
|
.crewlet-app-shell__rail-row--block {
|
|
1551
1400
|
padding-block: calc(var(--spacing-2) + 1px);
|
|
@@ -1560,10 +1409,8 @@
|
|
|
1560
1409
|
font-weight: var(--font-weight-medium);
|
|
1561
1410
|
}
|
|
1562
1411
|
|
|
1563
|
-
/* The block's mark
|
|
1564
|
-
|
|
1565
|
-
belongs to once a value wrapped under them. One line box tall at the
|
|
1566
|
-
block's leading, so the dot centres on that line. */
|
|
1412
|
+
/* The block's mark is one line box tall beside the first line, the state it
|
|
1413
|
+
marks, rather than centred on the whole block. */
|
|
1567
1414
|
.crewlet-app-shell__rail-row--block > .crewlet-app-shell__rail-row-icon {
|
|
1568
1415
|
align-self: flex-start;
|
|
1569
1416
|
height: 1lh;
|
|
@@ -1575,16 +1422,8 @@
|
|
|
1575
1422
|
}
|
|
1576
1423
|
|
|
1577
1424
|
/*
|
|
1578
|
-
*
|
|
1579
|
-
*
|
|
1580
|
-
* plain hairline and at the sheet's own corner, a step rounder than every
|
|
1581
|
-
* card drawn inside it. It clips to that corner, which is what lets the bar
|
|
1582
|
-
* and the scroller run square to its edges and still be rounded by it.
|
|
1583
|
-
*
|
|
1584
|
-
* Physical margins, as every other edge in this file is physical: the drawer
|
|
1585
|
-
* slides in from the left and the rail's column is the grid's first, so the
|
|
1586
|
-
* shell is drawn left to right throughout, and one logical margin in it would
|
|
1587
|
-
* be a promise about a direction nothing else here keeps.
|
|
1425
|
+
* The sheet: the bar, a banner, the one scroller and a footer, clipped to its
|
|
1426
|
+
* corner. Margins are physical: the shell is drawn left to right throughout.
|
|
1588
1427
|
*/
|
|
1589
1428
|
.crewlet-app-shell__sheet {
|
|
1590
1429
|
display: flex;
|
|
@@ -1599,13 +1438,8 @@
|
|
|
1599
1438
|
}
|
|
1600
1439
|
|
|
1601
1440
|
/*
|
|
1602
|
-
*
|
|
1603
|
-
*
|
|
1604
|
-
* from each edge over a content column inset 20px, and at its end the
|
|
1605
|
-
* content also gives up the scroller's gutter, which the bar, not scrolling,
|
|
1606
|
-
* did not: with scrollbars drawn in the layout every page's actions ended
|
|
1607
|
-
* 15px past the cards under them. The gutter is measured by the shell
|
|
1608
|
-
* (`--crewlet-app-shell-gutter`, 0 where scrollbars overlay the content).
|
|
1441
|
+
* The bar's inset is the content's, plus the scroller's gutter at its end
|
|
1442
|
+
* (`--crewlet-app-shell-gutter`), so the bar's controls end over the cards.
|
|
1609
1443
|
*/
|
|
1610
1444
|
.crewlet-app-shell__topbar {
|
|
1611
1445
|
display: flex;
|
|
@@ -1645,18 +1479,8 @@
|
|
|
1645
1479
|
}
|
|
1646
1480
|
|
|
1647
1481
|
/*
|
|
1648
|
-
*
|
|
1649
|
-
*
|
|
1650
|
-
*
|
|
1651
|
-
* The gutter is reserved at every height, so navigating between a tall screen
|
|
1652
|
-
* and a short one does not shift every element sideways by the scrollbar's
|
|
1653
|
-
* width, which reads as the page jumping on each move.
|
|
1654
|
-
*/
|
|
1655
|
-
/*
|
|
1656
|
-
* THE BODY: the row under the bar that the scroller and a peek column share.
|
|
1657
|
-
* It takes the sheet's remaining height, and the scroller takes the row's
|
|
1658
|
-
* remaining width, so a sheet with no peek draws exactly as it did before the
|
|
1659
|
-
* row existed.
|
|
1482
|
+
* The body: the row under the bar that the scroller and a peek column share;
|
|
1483
|
+
* with no peek it draws as the scroller alone.
|
|
1660
1484
|
*/
|
|
1661
1485
|
.crewlet-app-shell__body {
|
|
1662
1486
|
display: flex;
|
|
@@ -1665,6 +1489,8 @@
|
|
|
1665
1489
|
min-height: 0;
|
|
1666
1490
|
}
|
|
1667
1491
|
|
|
1492
|
+
/* The one scroll container, so a router can restore a position per history
|
|
1493
|
+
entry. Its gutter is reserved at every height so pages do not shift. */
|
|
1668
1494
|
.crewlet-app-shell__main {
|
|
1669
1495
|
flex: 1 1 0%;
|
|
1670
1496
|
min-width: 0;
|
|
@@ -1672,14 +1498,8 @@
|
|
|
1672
1498
|
overflow-y: auto;
|
|
1673
1499
|
overflow-x: hidden;
|
|
1674
1500
|
scrollbar-gutter: stable;
|
|
1675
|
-
/*
|
|
1676
|
-
|
|
1677
|
-
* it scrolls in (`100cqb`): a column that sticks beside the screen
|
|
1678
|
-
* (`SectionFrame`), a record bounded by the window. The scroller's size is
|
|
1679
|
-
* the shell's, never its content's, so containing it costs nothing. A box
|
|
1680
|
-
* inside an inline-size container (a card, a stat row) reaches past it to
|
|
1681
|
-
* this one for the block axis.
|
|
1682
|
-
*/
|
|
1501
|
+
/* A size container, so a box in the screen can be the view's height
|
|
1502
|
+
(`100cqb`); its size is the shell's, never its content's. */
|
|
1683
1503
|
container-type: size;
|
|
1684
1504
|
}
|
|
1685
1505
|
|
|
@@ -1688,13 +1508,9 @@
|
|
|
1688
1508
|
the document baseline draws a ring around the whole screen. */
|
|
1689
1509
|
|
|
1690
1510
|
/*
|
|
1691
|
-
*
|
|
1692
|
-
*
|
|
1693
|
-
*
|
|
1694
|
-
* docked to the bottom of the scroller (a setup's footer) IS that edge: the
|
|
1695
|
-
* bar takes the room back with a negative margin of the same length, and
|
|
1696
|
-
* sits on the scroller's bottom at the end of a scroll exactly where it stood
|
|
1697
|
-
* while scrolling, rather than riding the room's height above it.
|
|
1511
|
+
* The content's end is room under the last line, a custom property
|
|
1512
|
+
* (`--crewlet-app-shell-content-end`) so a bar docked to the scroller's bottom
|
|
1513
|
+
* can take it back with a negative margin.
|
|
1698
1514
|
*/
|
|
1699
1515
|
.crewlet-app-shell__content {
|
|
1700
1516
|
--crewlet-app-shell-content-end: var(--spacing-10);
|
|
@@ -1710,24 +1526,9 @@
|
|
|
1710
1526
|
}
|
|
1711
1527
|
|
|
1712
1528
|
/*
|
|
1713
|
-
* A screen
|
|
1714
|
-
*
|
|
1715
|
-
*
|
|
1716
|
-
* rather than a page of prose (prose inside it keeps its own measure).
|
|
1717
|
-
*
|
|
1718
|
-
* THE SCROLLER RESERVES NO GUTTER; THE COLUMN PADS BY IT INSTEAD. Nothing
|
|
1719
|
-
* scrolls here, so the strip a scrolling screen keeps for its scrollbar is
|
|
1720
|
-
* only there to hold the content where the bar's controls expect it (the
|
|
1721
|
-
* bar's end inset counts the gutter). A reserved strip did that, and also
|
|
1722
|
-
* stood between the sheet's edge and every pane that scrolls on its own: a
|
|
1723
|
-
* list's detail drew its scrollbar 31px inside the sheet, beside an empty
|
|
1724
|
-
* strip, and nothing in the screen could paint over a reserved gutter. The
|
|
1725
|
-
* same length as padding holds the content exactly where it stood, and a box
|
|
1726
|
-
* standing in the column can reach past padding: the column publishes it as
|
|
1727
|
-
* `--crewlet-app-shell-bleed-end`, and a `ListDetail` takes it back so its
|
|
1728
|
-
* scrollbar is the sheet's last pixel. The scrollbar's width is read off the
|
|
1729
|
-
* shell's gauge here (AppShell.tsx), so the bar keeps its place between a
|
|
1730
|
-
* fill screen and a scrolling one.
|
|
1529
|
+
* A fill screen: the scroller stops scrolling and the column takes the height
|
|
1530
|
+
* and width left. The scroller reserves no gutter; the column pads by it and
|
|
1531
|
+
* publishes it as `--crewlet-app-shell-bleed-end`, for a pane to reach past.
|
|
1731
1532
|
*/
|
|
1732
1533
|
.crewlet-app-shell--fill .crewlet-app-shell__main {
|
|
1733
1534
|
overflow: hidden;
|
|
@@ -1744,12 +1545,9 @@
|
|
|
1744
1545
|
}
|
|
1745
1546
|
|
|
1746
1547
|
/*
|
|
1747
|
-
*
|
|
1748
|
-
* so the shell can read the
|
|
1749
|
-
*
|
|
1750
|
-
* sheet's column, clipped, so it takes no room and moves nothing; the ruler
|
|
1751
|
-
* inside it has a height of its own, because a scroller of no height draws
|
|
1752
|
-
* no scrollbar in Firefox and measured 0 there.
|
|
1548
|
+
* The gauge: a clipped, zero-height scroller that always draws its scrollbar,
|
|
1549
|
+
* so the shell can read the bar's width on a fill screen. Its ruler has a
|
|
1550
|
+
* height of its own, or Firefox draws no scrollbar.
|
|
1753
1551
|
*/
|
|
1754
1552
|
.crewlet-app-shell__gauge {
|
|
1755
1553
|
flex: none;
|
|
@@ -1768,10 +1566,8 @@
|
|
|
1768
1566
|
}
|
|
1769
1567
|
|
|
1770
1568
|
/*
|
|
1771
|
-
* A
|
|
1772
|
-
* its pad and
|
|
1773
|
-
* past. The column is the containing block for a `LayerHost` the screen
|
|
1774
|
-
* keeps, so its layers fill the screen rather than the window.
|
|
1569
|
+
* A flush screen draws its own frame to the sheet's edges, so the column drops
|
|
1570
|
+
* its pad and gap. The column contains the screen's `LayerHost`.
|
|
1775
1571
|
*/
|
|
1776
1572
|
.crewlet-app-shell--fill-flush .crewlet-app-shell__content {
|
|
1777
1573
|
--crewlet-app-shell-bleed-end: 0px;
|
|
@@ -1788,29 +1584,17 @@
|
|
|
1788
1584
|
}
|
|
1789
1585
|
|
|
1790
1586
|
/*
|
|
1791
|
-
* An open rail paints
|
|
1792
|
-
*
|
|
1793
|
-
*
|
|
1794
|
-
* the rail it just opened.
|
|
1795
|
-
*
|
|
1796
|
-
* Z-INDEX ALONE, AND NO POSITION. The rail is a grid item wide and a fixed
|
|
1797
|
-
* box narrow, and z-index applies to both, so a `position` here would buy
|
|
1798
|
-
* nothing and cost the narrow layout everything: an attribute selector
|
|
1799
|
-
* outranks the plain class the media query below re-declares, so a
|
|
1800
|
-
* `position: relative` written here wins INSIDE that query too, and the open
|
|
1801
|
-
* drawer leaves the fixed layer to become a grid item that takes the whole
|
|
1802
|
-
* column and pushes the application into the next row. The suite holds this
|
|
1803
|
-
* rule over the file rather than over a browser it cannot drive.
|
|
1587
|
+
* An open rail paints one step above its veil at every width. Z-index only:
|
|
1588
|
+
* this attribute selector outranks the narrow block's, so a `position` here
|
|
1589
|
+
* would beat the drawer's `position: fixed` (the suite checks this).
|
|
1804
1590
|
*/
|
|
1805
1591
|
.crewlet-app-shell__rail[data-open='true'] {
|
|
1806
1592
|
z-index: calc(var(--crewlet-app-shell-drawer-z) + 1);
|
|
1807
1593
|
}
|
|
1808
1594
|
|
|
1809
1595
|
/*
|
|
1810
|
-
* The veil
|
|
1811
|
-
*
|
|
1812
|
-
* shell's grid it took the rail's column and pushed the application into the
|
|
1813
|
-
* next row.
|
|
1596
|
+
* The veil is declared outside the breakpoint: positioned at one width only,
|
|
1597
|
+
* it would be a grid item at every other.
|
|
1814
1598
|
*/
|
|
1815
1599
|
.crewlet-app-shell__veil {
|
|
1816
1600
|
position: fixed;
|
|
@@ -1819,12 +1603,8 @@
|
|
|
1819
1603
|
}
|
|
1820
1604
|
|
|
1821
1605
|
/*
|
|
1822
|
-
*
|
|
1823
|
-
*
|
|
1824
|
-
* bottom by the inset. The seam between the two sheets is the page sheet's
|
|
1825
|
-
* own end inset, and the grip stands in it (`ResizeHandle`, outside the
|
|
1826
|
-
* sheet that clips). The sheet clips what it holds to its corner, so the
|
|
1827
|
-
* panel inside runs square to its edges.
|
|
1606
|
+
* The aside: a second sheet right of the page's, inset from the window and
|
|
1607
|
+
* clipped to its corner. The grip (`ResizeHandle`) stands in the seam.
|
|
1828
1608
|
*/
|
|
1829
1609
|
.crewlet-app-shell__aside {
|
|
1830
1610
|
position: relative;
|
|
@@ -1864,10 +1644,8 @@
|
|
|
1864
1644
|
}
|
|
1865
1645
|
|
|
1866
1646
|
/*
|
|
1867
|
-
*
|
|
1868
|
-
*
|
|
1869
|
-
* both shapes and only its ground changes, and it never takes the whole
|
|
1870
|
-
* window: a strip of the page stays in view to say what it is over.
|
|
1647
|
+
* The overlay: over the page's end edge behind a veil, with the column's
|
|
1648
|
+
* corner and inset, and never the whole window.
|
|
1871
1649
|
*/
|
|
1872
1650
|
.crewlet-app-shell__aside[data-shape='overlay'] {
|
|
1873
1651
|
position: fixed;
|
|
@@ -1903,10 +1681,8 @@
|
|
|
1903
1681
|
}
|
|
1904
1682
|
|
|
1905
1683
|
/*
|
|
1906
|
-
*
|
|
1907
|
-
*
|
|
1908
|
-
* beside a column reflows at once, because a grid track that appears has no
|
|
1909
|
-
* width to start from.
|
|
1684
|
+
* An entrance only: the panel slides in from its edge and leaves at once, so
|
|
1685
|
+
* closing never waits.
|
|
1910
1686
|
*/
|
|
1911
1687
|
@keyframes crewlet-app-shell-aside-in {
|
|
1912
1688
|
from {
|
|
@@ -1931,32 +1707,17 @@
|
|
|
1931
1707
|
}
|
|
1932
1708
|
|
|
1933
1709
|
/*
|
|
1934
|
-
*
|
|
1935
|
-
*
|
|
1936
|
-
* alike, so folding the rail is this one declaration. The shell writes the
|
|
1937
|
-
* attribute only where the layout is wide: the drawer under the step is
|
|
1938
|
-
* always the full list.
|
|
1710
|
+
* The compact rail: one variable is the rail's width for the grid, the aside's
|
|
1711
|
+
* cap and the drawer. The shell sets `data-rail` only in the wide layout.
|
|
1939
1712
|
*/
|
|
1940
1713
|
.crewlet-app-shell[data-rail='compact'] {
|
|
1941
1714
|
--crewlet-app-shell-rail: var(--size-shell-rail-compact);
|
|
1942
1715
|
}
|
|
1943
1716
|
|
|
1944
1717
|
/*
|
|
1945
|
-
*
|
|
1946
|
-
*
|
|
1947
|
-
*
|
|
1948
|
-
*
|
|
1949
|
-
* THE CONTROL AND THE MARK ARE ONE PAIR: the control at the target floor
|
|
1950
|
-
* (`--size-target-min`, at every density), a step (`--spacing-1`), then the
|
|
1951
|
-
* mark, which is a target's size too, the pair centred in the compact column
|
|
1952
|
-
* so the 76px column holds both (12 + 24 + 4 + 24 + 12). The control is
|
|
1953
|
-
* centred on the bar's line as the mark is: the inset, then half of what the
|
|
1954
|
-
* bar leaves round it. The mark's inset below is the same arithmetic from the
|
|
1955
|
-
* other side.
|
|
1956
|
-
*
|
|
1957
|
-
* Quiet until the rail is pointed at: the tertiary ink, which holds 3:1 on
|
|
1958
|
-
* the frame, then the secondary, and the ghost's own primary under the
|
|
1959
|
-
* pointer. Its ring is drawn inside its own box, clear of the mark beside it.
|
|
1718
|
+
* The fold control stands before the brand's mark in both shapes, so it never
|
|
1719
|
+
* moves under the pointer: control, a step, then the mark, centred in the
|
|
1720
|
+
* 76px compact column (12 + 24 + 4 + 24 + 12).
|
|
1960
1721
|
*/
|
|
1961
1722
|
.crewlet-app-shell__fold {
|
|
1962
1723
|
position: absolute;
|
|
@@ -1981,12 +1742,8 @@
|
|
|
1981
1742
|
}
|
|
1982
1743
|
|
|
1983
1744
|
/*
|
|
1984
|
-
*
|
|
1985
|
-
*
|
|
1986
|
-
* is the second of the pair (above), a step after the control, which is half
|
|
1987
|
-
* the column and half the step in. Full, the name follows it; compact, the
|
|
1988
|
-
* name is not drawn (the link keeps it as its name and title), and the
|
|
1989
|
-
* lockup's end inset is given up, so the mark is all the column holds.
|
|
1745
|
+
* The mark stands where the compact rail's does in both shapes. Compact, the
|
|
1746
|
+
* name is not drawn (the link keeps it as its name and title).
|
|
1990
1747
|
*/
|
|
1991
1748
|
.crewlet-app-shell[data-rail='compact'] .crewlet-app-shell__rail-head > .crewlet-brand {
|
|
1992
1749
|
padding-left: calc((var(--size-shell-rail-compact) - var(--crewlet-brand-mark)) / 2);
|
|
@@ -2003,10 +1760,8 @@
|
|
|
2003
1760
|
}
|
|
2004
1761
|
|
|
2005
1762
|
/*
|
|
2006
|
-
*
|
|
2007
|
-
*
|
|
2008
|
-
* under the head, before the places, where the fold control stood before it
|
|
2009
|
-
* moved to the corner.
|
|
1763
|
+
* Compact, the status takes a row of its own under the mark, its dot and
|
|
1764
|
+
* count centred in the column.
|
|
2010
1765
|
*/
|
|
2011
1766
|
.crewlet-app-shell[data-rail='compact'] .crewlet-app-shell__rail-inner > .crewlet-app-shell__rail-status {
|
|
2012
1767
|
justify-content: center;
|
|
@@ -2038,10 +1793,8 @@
|
|
|
2038
1793
|
}
|
|
2039
1794
|
|
|
2040
1795
|
/*
|
|
2041
|
-
*
|
|
2042
|
-
*
|
|
2043
|
-
* 4px left of the column's centre, in a box 8px wider than the face, so the
|
|
2044
|
-
* face sat off the line every tile above it is centred on.
|
|
1796
|
+
* The compact face drops the full row's badge column and gap, so it centres
|
|
1797
|
+
* on the tiles' line.
|
|
2045
1798
|
*/
|
|
2046
1799
|
.crewlet-app-shell__rail-foot .crewlet-account-row--compact .crewlet-account-row__avatar {
|
|
2047
1800
|
width: auto;
|
|
@@ -2049,26 +1802,9 @@
|
|
|
2049
1802
|
}
|
|
2050
1803
|
|
|
2051
1804
|
/*
|
|
2052
|
-
*
|
|
2053
|
-
*
|
|
2054
|
-
*
|
|
2055
|
-
* a screen move as one. What the rail holds keeps the width of the shape
|
|
2056
|
-
* drawn, so the moving edge clips the words rather than squeezing them.
|
|
2057
|
-
*
|
|
2058
|
-
* FOLDING, the full rail stays drawn, inert, while the edge narrows to the
|
|
2059
|
-
* compact column, and its words fade out on the base step; the compact column
|
|
2060
|
-
* is drawn when the rail's motion has ended, and fades in on the fast step.
|
|
2061
|
-
* UNFOLDING, the full rail is drawn at once and fades in while the edge
|
|
2062
|
-
* uncovers it. The brand's mark and the fold control are in the same place in
|
|
2063
|
-
* both shapes, so neither fades.
|
|
2064
|
-
*
|
|
2065
|
-
* THE WORDS LEAVE BY A TRANSITION and arrive by keyframes. A fold takes their
|
|
2066
|
-
* opacity to nothing; a fold pressed again mid way (`reverse`) declares
|
|
2067
|
-
* nothing of its own, so the same transition takes the opacity back from
|
|
2068
|
-
* wherever it had reached. Faded out by keyframes instead, a reversal could
|
|
2069
|
-
* only start an entrance from nothing, and the words blinked out and back.
|
|
2070
|
-
* The transition is declared only while the rail moves, so nothing else that
|
|
2071
|
-
* sets these parts' opacity is eased.
|
|
1805
|
+
* The rail's motion (railMotion.ts): its width eases on the slow step, and its
|
|
1806
|
+
* words leave by a transition (so a reversed fold eases back) and arrive by
|
|
1807
|
+
* keyframes. The transition is declared only while the rail moves.
|
|
2072
1808
|
*/
|
|
2073
1809
|
.crewlet-app-shell[data-rail-motion='fold'] > .crewlet-app-shell__rail {
|
|
2074
1810
|
width: var(--size-shell-rail-compact);
|
|
@@ -2138,13 +1874,7 @@
|
|
|
2138
1874
|
padding-left: 0;
|
|
2139
1875
|
}
|
|
2140
1876
|
|
|
2141
|
-
/*
|
|
2142
|
-
* FULL BLEED. Under the step the rail is not beside the sheet, so there is
|
|
2143
|
-
* nothing for the sheet to be held off: the inset, the corner and the
|
|
2144
|
-
* hairline all collapse to nothing, and the sheet is the window. A corner
|
|
2145
|
-
* kept here would round the screen into the viewport's own corners, and a
|
|
2146
|
-
* hairline would draw a line round the window's edge.
|
|
2147
|
-
*/
|
|
1877
|
+
/* Under the step the sheet is the window: no inset, corner or hairline. */
|
|
2148
1878
|
.crewlet-app-shell__sheet {
|
|
2149
1879
|
margin: 0;
|
|
2150
1880
|
border-width: 0;
|
|
@@ -2158,12 +1888,8 @@
|
|
|
2158
1888
|
padding-top: 0;
|
|
2159
1889
|
}
|
|
2160
1890
|
|
|
2161
|
-
/*
|
|
2162
|
-
|
|
2163
|
-
* screen rather than standing beside a sheet that draws its own, and in
|
|
2164
|
-
* light the frame and the sheet it covers are close enough that the shadow
|
|
2165
|
-
* alone does not say where the drawer ends.
|
|
2166
|
-
*/
|
|
1891
|
+
/* The drawer draws its own edge: it slides over the screen, and in light the
|
|
1892
|
+
shadow alone does not say where it ends. */
|
|
2167
1893
|
.crewlet-app-shell__rail {
|
|
2168
1894
|
position: fixed;
|
|
2169
1895
|
inset: 0 auto 0 0;
|
|
@@ -2173,16 +1899,9 @@
|
|
|
2173
1899
|
border-right: 1px solid var(--color-border-default);
|
|
2174
1900
|
box-shadow: var(--shadow-xl);
|
|
2175
1901
|
/*
|
|
2176
|
-
*
|
|
2177
|
-
*
|
|
2178
|
-
*
|
|
2179
|
-
*
|
|
2180
|
-
* Visibility is transitioned rather than switched, which is how the
|
|
2181
|
-
* hiding waits for the slide out: an in-between value of visibility is
|
|
2182
|
-
* `visible` whenever either end of the transition is, so the rail stays
|
|
2183
|
-
* drawn for the whole duration and hides at the end. Going the other way
|
|
2184
|
-
* the same rule shows it at once, which is what lets the drawer take
|
|
2185
|
-
* focus the moment it opens.
|
|
1902
|
+
* Hidden, not only moved, so its controls leave the tab order. Visibility
|
|
1903
|
+
* transitions, so the rail stays drawn through the slide out and shows at
|
|
1904
|
+
* once on open.
|
|
2186
1905
|
*/
|
|
2187
1906
|
visibility: hidden;
|
|
2188
1907
|
transition:
|
|
@@ -2272,10 +1991,8 @@
|
|
|
2272
1991
|
gap: var(--spacing-2);
|
|
2273
1992
|
min-width: 0;
|
|
2274
1993
|
padding: var(--spacing-1);
|
|
2275
|
-
/* The badge stands 6px in from the row's start, as
|
|
2276
|
-
|
|
2277
|
-
pixel off the row's hover fill and its current hairline, and read as
|
|
2278
|
-
touching them. */
|
|
1994
|
+
/* The badge stands 6px in from the row's start, as in the rail's foot, so
|
|
1995
|
+
its ring clears the row's hover fill and current hairline. */
|
|
2279
1996
|
padding-inline-start: calc(var(--spacing-1) + var(--spacing-1) / 2);
|
|
2280
1997
|
border-radius: var(--radius-md);
|
|
2281
1998
|
color: var(--color-text-primary);
|
|
@@ -2285,46 +2002,9 @@
|
|
|
2285
2002
|
}
|
|
2286
2003
|
|
|
2287
2004
|
/*
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2290
|
-
*
|
|
2291
|
-
* IT IS THE ONE TALL ROW IN THE FOOT. Who is signed in is the row a reader
|
|
2292
|
-
* looks for, so it stands half a spacing step under the large control step
|
|
2293
|
-
* (`--crewlet-account-row-height`, 42px) around a medium badge (`size="md"`,
|
|
2294
|
-
* 32px), where the rows above it keep the compact step. At 44px it read as
|
|
2295
|
-
* cramped against the foot's edges, so it gives up the half step and the
|
|
2296
|
-
* space around it grows instead (`--crewlet-account-row-pad`, one step above
|
|
2297
|
-
* and below, where it was none): the row is slimmer and the foot breathes
|
|
2298
|
-
* more. It goes no lower than 42px because the badge's ring (1.5px, 2px out)
|
|
2299
|
-
* takes 39px of it, and 42 keeps the ring 1.5px clear of the row's hover fill
|
|
2300
|
-
* where 40 would leave half a pixel, which reads as the ring touching it. The
|
|
2301
|
-
* badge stands in a column of its own width (`--crewlet-account-row-badge`),
|
|
2302
|
-
* centred in it, so a smaller badge a caller hands the row lands where a
|
|
2303
|
-
* medium one would, and the column is inset 6px from the row's start, so the
|
|
2304
|
-
* badge's ring clears the row's edge on that side too. A 32px badge cannot
|
|
2305
|
-
* stand on the nav's 14px glyph column: centred there, its ring (1.5px, 2px
|
|
2306
|
-
* out) would cross the row's own edge.
|
|
2307
|
-
*
|
|
2308
|
-
* The name takes the body's size (`--font-size-compact`, the nav's words) and
|
|
2309
|
-
* both lines take the body's leading, a step a 36px row had no room for.
|
|
2310
|
-
*/
|
|
2311
|
-
/*
|
|
2312
|
-
* AND THE WORDS TAKE THE ROOM: the name and the detail are what the row is
|
|
2313
|
-
* for. The badge's column costs the words 10px over the 14px glyph column, so
|
|
2314
|
-
* the link's trailing chevron is not drawn here: it is decoration (hidden from
|
|
2315
|
-
* assistive technology, which hears the link or `aria-haspopup`), the row's
|
|
2316
|
-
* hover fill and current lift still say it is pressable, and its 16px are what
|
|
2317
|
-
* keep the name at least as wide as it was beside the smaller badge. Every gap
|
|
2318
|
-
* after the name is the half step, and the controls beside the link
|
|
2319
|
-
* (Settings, Preferences) are half a step apart and half a step off it.
|
|
2320
|
-
* Outside a rail's foot the row keeps its chevron.
|
|
2321
|
-
*
|
|
2322
|
-
* THE CONTROLS STAND AS TALL AS THE ROW. Beside a 42px row, the small step's
|
|
2323
|
-
* 26px squares floated in the middle of it as two smaller boxes, and their
|
|
2324
|
-
* hover fill ended short of the row's on both sides. They take the row's
|
|
2325
|
-
* height (`--crewlet-account-row-height`) and keep the small step's width and
|
|
2326
|
-
* glyph, so the fill lines up with the row's top and bottom and the words
|
|
2327
|
-
* keep every pixel of their column.
|
|
2005
|
+
* The account row is the foot's one tall row: 42px (less, and the badge's ring
|
|
2006
|
+
* meets the hover fill) around a 32px badge in its own column, inset 6px. In
|
|
2007
|
+
* the foot its chevron is hidden and its controls take the row's height.
|
|
2328
2008
|
*/
|
|
2329
2009
|
.crewlet-app-shell__rail-foot .crewlet-account-row {
|
|
2330
2010
|
--crewlet-account-row-pad: var(--spacing-1);
|
|
@@ -2448,10 +2128,8 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
2448
2128
|
}
|
|
2449
2129
|
|
|
2450
2130
|
/*
|
|
2451
|
-
*
|
|
2452
|
-
*
|
|
2453
|
-
* keeps the row's link and menu rules above (hover, current, ring), with no
|
|
2454
|
-
* pad of its own, so the box is the face.
|
|
2131
|
+
* The compact account: the reader's face alone, centred in the compact foot,
|
|
2132
|
+
* with the row's link and menu rules and no pad, so the box is the face.
|
|
2455
2133
|
*/
|
|
2456
2134
|
.crewlet-account-row--compact {
|
|
2457
2135
|
justify-content: center;
|
|
@@ -3802,20 +3480,15 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
3802
3480
|
}
|
|
3803
3481
|
|
|
3804
3482
|
|
|
3805
|
-
/* ArtifactCard-
|
|
3483
|
+
/* ArtifactCard-PWMC7RAY.css */
|
|
3806
3484
|
/*
|
|
3807
|
-
* A card in a gallery: the preview on top at a fixed ratio,
|
|
3808
|
-
*
|
|
3809
|
-
* title and one quiet line. `compact` is a row with the kind's glyph in place
|
|
3810
|
-
* of the preview, drawn on Card.
|
|
3485
|
+
* A card in a gallery: the preview on top at a fixed ratio, the kind's badge
|
|
3486
|
+
* over its foot, then the title and one quiet line. `compact` is a row.
|
|
3811
3487
|
*/
|
|
3812
3488
|
|
|
3813
3489
|
/*
|
|
3814
|
-
*
|
|
3815
|
-
* class too
|
|
3816
|
-
* by file name, which puts this one first: `.crewlet-card` and
|
|
3817
|
-
* `.crewlet-card--p-none` then won, and the compact row was drawn as a
|
|
3818
|
-
* padless column with its glyph on a line of its own.
|
|
3490
|
+
* Layered on Card: every rule that changes Card's own layout carries Card's
|
|
3491
|
+
* class too, because the bundle orders this sheet before Card's.
|
|
3819
3492
|
*/
|
|
3820
3493
|
.crewlet-card.crewlet-artifact-card {
|
|
3821
3494
|
display: flex;
|
|
@@ -3856,10 +3529,8 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
3856
3529
|
padding: var(--spacing-3);
|
|
3857
3530
|
}
|
|
3858
3531
|
|
|
3859
|
-
/*
|
|
3860
|
-
the
|
|
3861
|
-
3px under the title's. The body is lowered by half of what the tile is
|
|
3862
|
-
taller than a line, and the tile keeps its corner inset. */
|
|
3532
|
+
/* The tile centres on the title's line: the body is lowered by half of what
|
|
3533
|
+
the tile is taller than a line. */
|
|
3863
3534
|
.crewlet-artifact-card--compact .crewlet-artifact-card__body {
|
|
3864
3535
|
padding: max(0px, calc((var(--size-control-md) - 1lh) / 2)) 0 0;
|
|
3865
3536
|
}
|
|
@@ -3897,17 +3568,8 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
3897
3568
|
}
|
|
3898
3569
|
|
|
3899
3570
|
/*
|
|
3900
|
-
*
|
|
3901
|
-
*
|
|
3902
|
-
*
|
|
3903
|
-
* A LINE NEVER OPENS ON A DOT, as a folder tile's never does (FolderTile.css).
|
|
3904
|
-
* A dot typed before every fact but the first opened each line the run broke
|
|
3905
|
-
* onto with one: "· 14 changes since you looked" under "2 here now". Every
|
|
3906
|
-
* fact carries its dot in the separator's width before it instead, and the run
|
|
3907
|
-
* is drawn that width to the left of the facts' own edge, which clips the
|
|
3908
|
-
* overhang, so the first fact of every line lays its dot in the clipped strip.
|
|
3909
|
-
* The separator is a step of air each side of the dot, the gap and margin the
|
|
3910
|
-
* typed dot stood between.
|
|
3571
|
+
* A line's facts are a run, each opened by a quiet dot. The run is drawn one
|
|
3572
|
+
* separator left of its edge and clipped, so a wrapped line never opens on a dot.
|
|
3911
3573
|
*/
|
|
3912
3574
|
.crewlet-artifact-card__line {
|
|
3913
3575
|
--crewlet-artifact-card-separator: var(--spacing-5);
|
|
@@ -3958,15 +3620,8 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
3958
3620
|
/* ---- the gallery card ---- */
|
|
3959
3621
|
|
|
3960
3622
|
/*
|
|
3961
|
-
* A
|
|
3962
|
-
* hairline
|
|
3963
|
-
* is a picture, and a picture in a tight corner reads as a screenshot pasted
|
|
3964
|
-
* into a box.
|
|
3965
|
-
*
|
|
3966
|
-
* HOVER IS A STEP, NEVER A MOVE: the hairline darkens and a hairline shadow
|
|
3967
|
-
* settles under the card, quickly and with the standard ease. A card that rose
|
|
3968
|
-
* and cast a wide shadow made a gallery ripple as the pointer crossed it, and
|
|
3969
|
-
* the preview inside it never moves.
|
|
3623
|
+
* A soft pane with a generous corner. Hover is a step, never a move: the
|
|
3624
|
+
* hairline darkens and a hairline shadow settles under the card.
|
|
3970
3625
|
*/
|
|
3971
3626
|
.crewlet-artifact-card--card {
|
|
3972
3627
|
/* THE BADGE'S SQUARE, which the selection box opposite it is drawn in too,
|
|
@@ -4034,11 +3689,8 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
4034
3689
|
}
|
|
4035
3690
|
|
|
4036
3691
|
/*
|
|
4037
|
-
*
|
|
4038
|
-
*
|
|
4039
|
-
* before its title, in the one place every card has it. Exactly half, as the
|
|
4040
|
-
* selection box opposite it stands: risen 2px past half, the badge stood 2px
|
|
4041
|
-
* higher than its twin on the same seam.
|
|
3692
|
+
* The kind's badge stands on the preview's foot, exactly half over the
|
|
3693
|
+
* picture, as the selection box opposite it does.
|
|
4042
3694
|
*/
|
|
4043
3695
|
.crewlet-artifact-card__badge {
|
|
4044
3696
|
position: relative;
|
|
@@ -4152,17 +3804,9 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
4152
3804
|
}
|
|
4153
3805
|
|
|
4154
3806
|
/*
|
|
4155
|
-
*
|
|
4156
|
-
*
|
|
4157
|
-
*
|
|
4158
|
-
* title starts at its top corner, and a box over that corner hid its first
|
|
4159
|
-
* words; the foot's far corner is where a cover has the least to say.
|
|
4160
|
-
*
|
|
4161
|
-
* Its anchor has the preview's shape (the card's width at 16:9) and takes no
|
|
4162
|
-
* pointer, so the box is placed against the preview's foot at any width
|
|
4163
|
-
* without being nested in the link the preview belongs to. Hidden until the
|
|
4164
|
-
* card is hovered or holds focus, and always there once the card is picked,
|
|
4165
|
-
* while the gallery is choosing, and on a screen with no hover.
|
|
3807
|
+
* The selection box stands on the preview's foot opposite the kind's badge,
|
|
3808
|
+
* as its twin. Its anchor has the preview's shape and takes no pointer, so the
|
|
3809
|
+
* box is placed at any width without being nested in the preview's link.
|
|
4166
3810
|
*/
|
|
4167
3811
|
.crewlet-artifact-card__select-anchor {
|
|
4168
3812
|
position: absolute;
|
|
@@ -6256,27 +5900,11 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6256
5900
|
}
|
|
6257
5901
|
|
|
6258
5902
|
|
|
6259
|
-
/* BrandSample-
|
|
5903
|
+
/* BrandSample-WSBT7FQ5.css */
|
|
6260
5904
|
/*
|
|
6261
|
-
* A company's brand
|
|
6262
|
-
*
|
|
6263
|
-
*
|
|
6264
|
-
*
|
|
6265
|
-
* ITS SMALL WORDS KEEP A LEGIBLE FLOOR (`--crewlet-brand-sample-floor`). Set
|
|
6266
|
-
* in proportion alone, the doc's sentence and its quiet line measured 8px and
|
|
6267
|
-
* 6px in a 285px preview (a setup wizard's aside), a texture where the reader
|
|
6268
|
-
* was asked to judge the brand's text. Each small run is drawn at its share of
|
|
6269
|
-
* the width or at the product's own small step, whichever is larger; and the
|
|
6270
|
-
* step itself is capped at a share of the width the frame can still hold
|
|
6271
|
-
* (4.3cqi: two lines of the sentence and the quiet line fit the 16:9 height
|
|
6272
|
-
* under the heading at any width), so a thumbnail stays whole rather than
|
|
6273
|
-
* clipping its last line. Past about 430px the share is the larger and the
|
|
6274
|
-
* drawing is in proportion again.
|
|
6275
|
-
*
|
|
6276
|
-
* It paints with the public tokens, which the sample's BrandScope (pinned to
|
|
6277
|
-
* the sample's mode) sets from the brand through the artifact kit's own
|
|
6278
|
-
* mapping: the ground, the text, the accent, the highlight and the two faces,
|
|
6279
|
-
* and the quiet line in the tertiary text of the sample's pinned mode.
|
|
5905
|
+
* A company's brand drawn in a 16:9 frame sized against its own width, in the
|
|
5906
|
+
* public tokens its BrandScope sets. Small words keep a legible floor
|
|
5907
|
+
* (`--crewlet-brand-sample-floor`), capped at 4.3cqi so a thumbnail stays whole.
|
|
6280
5908
|
*/
|
|
6281
5909
|
.crewlet-brand-sample {
|
|
6282
5910
|
/* The frame's corner. A host drawing the sample edge to edge in a cover
|
|
@@ -6378,12 +6006,8 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6378
6006
|
}
|
|
6379
6007
|
|
|
6380
6008
|
/*
|
|
6381
|
-
* A
|
|
6382
|
-
*
|
|
6383
|
-
* product's own read 4.38:1 on the light ground, a light brand colour far
|
|
6384
|
-
* less. The ink is the mapping's accent written as text, which clears 4.5:1
|
|
6385
|
-
* on the mode's ground whatever the brand's colour (@crewlethq/tokens'
|
|
6386
|
-
* `css/brand`).
|
|
6009
|
+
* A link, drawn in the accent's ink rather than the accent: the ink is the
|
|
6010
|
+
* accent written as text, which clears 4.5:1 whatever the brand's colour.
|
|
6387
6011
|
*/
|
|
6388
6012
|
.crewlet-brand-sample__link {
|
|
6389
6013
|
color: var(--color-brand-accent-ink);
|
|
@@ -6500,35 +6124,11 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6500
6124
|
}
|
|
6501
6125
|
|
|
6502
6126
|
|
|
6503
|
-
/* Breadcrumb-
|
|
6127
|
+
/* Breadcrumb-JDBQXPR5.css */
|
|
6504
6128
|
/*
|
|
6505
|
-
* The trail
|
|
6506
|
-
*
|
|
6507
|
-
*
|
|
6508
|
-
* a bar would otherwise need: the trail absorbs the free space, so the
|
|
6509
|
-
* controls after it stay in the bar's far corner. Its BASIS is 0, which is
|
|
6510
|
-
* what lets a wrapping bar break by what it holds rather than at a width, and
|
|
6511
|
-
* `flex-shrink: 100` puts it ahead of anything else on the bar that can give.
|
|
6512
|
-
*
|
|
6513
|
-
* ITS FLOOR IS THE WAY BACK OUT, measured by the component
|
|
6514
|
-
* (`--crewlet-breadcrumb-floor`): each ancestor at what it keeps of its words
|
|
6515
|
-
* and the last crumb's stub, at least 20ch, and never more than the whole bar. A fixed 20ch
|
|
6516
|
-
* alone let a seat's trail share a phone's line with its one button and cut
|
|
6517
|
-
* "Engineering · Co" mid-letter under it; measured, a trail that cannot show
|
|
6518
|
-
* its ancestry beside the controls makes the bar break a line instead.
|
|
6519
|
-
*
|
|
6520
|
-
* Past the whole bar the trail SCROLLS rather than clipping as a box: the
|
|
6521
|
-
* ancestors shrink only to their stubs, so once those alone are wider than the
|
|
6522
|
-
* bar there is nothing left to ellipsise, and a clip lands wherever the pixels
|
|
6523
|
-
* ran out.
|
|
6524
|
-
*
|
|
6525
|
-
* ROOM FOR A LINK'S RING (`--crewlet-breadcrumb-ring-room`). A scrollport
|
|
6526
|
-
* clips whatever is drawn outside it, so a crumb draws its ring inside its
|
|
6527
|
-
* own box; with no padding there, the ring covered the outer 2px of the
|
|
6528
|
-
* crumb's glyph and of its last letter. A link takes the room as padding
|
|
6529
|
-
* inside a negative margin of the same length, and the trail takes it at its
|
|
6530
|
-
* start the same way, so the ring stands clear of the words and nothing
|
|
6531
|
-
* moves: every word and glyph keeps its place.
|
|
6129
|
+
* The trail takes the bar's slack and gives way first (`flex: 1 100 0`), down
|
|
6130
|
+
* to its measured floor (`--crewlet-breadcrumb-floor`), then scrolls. The ring
|
|
6131
|
+
* room is padding inside an equal negative margin, since a scrollport clips.
|
|
6532
6132
|
*/
|
|
6533
6133
|
.crewlet-breadcrumb {
|
|
6534
6134
|
--crewlet-breadcrumb-ring-room: var(--spacing-1);
|
|
@@ -6563,24 +6163,9 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6563
6163
|
min-width: 0;
|
|
6564
6164
|
}
|
|
6565
6165
|
|
|
6566
|
-
/*
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
* cannot reconstruct is the links out of it. So an ancestor keeps a readable
|
|
6570
|
-
* minimum of its words while the page's own name gives way to its stub.
|
|
6571
|
-
*/
|
|
6572
|
-
/* EVERY CRUMB GIVES WAY, in proportion to its length: the page down to a
|
|
6573
|
-
floor of 24ch and each ancestor to what it keeps of its words, each cut with
|
|
6574
|
-
an ellipsis and titled on hover. Kept whole, one long parent cut the page
|
|
6575
|
-
itself to "Pri..." at 1440 and pushed it off a phone.
|
|
6576
|
-
|
|
6577
|
-
AN ANCESTOR KEEPS A READABLE MINIMUM (`--crewlet-breadcrumb-keep`): its
|
|
6578
|
-
first twenty characters, or all of them where it has fewer, measured by the
|
|
6579
|
-
component (Breadcrumb.tsx, `KEEP_CHARACTERS`), and counted in the trail's
|
|
6580
|
-
floor, so a bar too busy to hold them breaks a line rather than cutting the
|
|
6581
|
-
way back out. A stub of 2ch beside a busy page bar read "D..." and "Product
|
|
6582
|
-
Man...", and nothing at all where the crumb leads with a glyph. Until it is
|
|
6583
|
-
measured, and on a phone (below), the stub is 2ch. */
|
|
6166
|
+
/* Every crumb gives way in proportion to its length, the page to 24ch and an
|
|
6167
|
+
ancestor to what it keeps (`--crewlet-breadcrumb-keep`, measured by the
|
|
6168
|
+
component; 2ch until measured and on a phone). */
|
|
6584
6169
|
.crewlet-breadcrumb__part:not(:last-child) {
|
|
6585
6170
|
flex: 0 1 auto;
|
|
6586
6171
|
min-width: var(--crewlet-breadcrumb-keep, 2ch);
|
|
@@ -6608,10 +6193,8 @@ svg.crewlet-breadcrumb__separator {
|
|
|
6608
6193
|
}
|
|
6609
6194
|
|
|
6610
6195
|
/*
|
|
6611
|
-
* The ancestors in the quiet ink
|
|
6612
|
-
*
|
|
6613
|
-
* crumb is a piece of chrome, not a word in a sentence, and the step between
|
|
6614
|
-
* two measured text rungs is its hover in both themes.
|
|
6196
|
+
* The ancestors in the quiet ink; a link lifts to the primary ink on hover,
|
|
6197
|
+
* with no underline, since a crumb is chrome rather than a word in a sentence.
|
|
6615
6198
|
*/
|
|
6616
6199
|
.crewlet-breadcrumb__crumb {
|
|
6617
6200
|
border-radius: var(--radius-xs);
|
|
@@ -6658,10 +6241,8 @@ a.crewlet-breadcrumb__crumb:focus-visible {
|
|
|
6658
6241
|
}
|
|
6659
6242
|
|
|
6660
6243
|
/*
|
|
6661
|
-
*
|
|
6662
|
-
* container, and `
|
|
6663
|
-
* one makes; a span is a real flex item, and its `min-width: 0` is what lets
|
|
6664
|
-
* it shrink below its text at all.
|
|
6244
|
+
* The label is the box that ellipsises: `text-overflow` never reaches a flex
|
|
6245
|
+
* container's anonymous text, and `min-width: 0` lets the span shrink.
|
|
6665
6246
|
*/
|
|
6666
6247
|
.crewlet-breadcrumb__text {
|
|
6667
6248
|
min-width: 0;
|
|
@@ -6712,11 +6293,8 @@ a.crewlet-breadcrumb__crumb:focus-visible {
|
|
|
6712
6293
|
}
|
|
6713
6294
|
|
|
6714
6295
|
/*
|
|
6715
|
-
*
|
|
6716
|
-
*
|
|
6717
|
-
* drawer, and the line it shares with the drawer toggle and the page's primary
|
|
6718
|
-
* action has no room for its word as well. The word stays, out of sight, so
|
|
6719
|
-
* the crumb is still named.
|
|
6296
|
+
* On a phone an ancestor with a glyph is its glyph, its word kept out of
|
|
6297
|
+
* sight so the crumb is still named.
|
|
6720
6298
|
*/
|
|
6721
6299
|
@media (width < 640px) {
|
|
6722
6300
|
/* ON A PHONE AN ANCESTOR GIVES WAY TO ITS STUB: the trail shares its line
|
|
@@ -14470,7 +14048,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14470
14048
|
}
|
|
14471
14049
|
|
|
14472
14050
|
|
|
14473
|
-
/* CommentThread-
|
|
14051
|
+
/* CommentThread-YU6VSVS4.css */
|
|
14474
14052
|
/* CommentThread: a document's remarks, one per row with a hairline between,
|
|
14475
14053
|
then the field to add one. */
|
|
14476
14054
|
.crewlet-comment-thread {
|
|
@@ -14546,10 +14124,8 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14546
14124
|
font-size: var(--font-size-xs);
|
|
14547
14125
|
}
|
|
14548
14126
|
|
|
14549
|
-
/* The remark's controls
|
|
14550
|
-
|
|
14551
|
-
card foot's ghost is (StatusCard.css), so the word ends on the line the
|
|
14552
|
-
hairline under the remark ends on rather than 9px inside. */
|
|
14127
|
+
/* The remark's controls sit at the row's far end, the last one's padding
|
|
14128
|
+
pulled out so its word ends where the hairline under the remark ends. */
|
|
14553
14129
|
.crewlet-comment-thread__actions {
|
|
14554
14130
|
display: inline-flex;
|
|
14555
14131
|
align-items: center;
|
|
@@ -15495,18 +15071,10 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15495
15071
|
}
|
|
15496
15072
|
|
|
15497
15073
|
|
|
15498
|
-
/* Copyable-
|
|
15074
|
+
/* Copyable-U3UJL3BP.css */
|
|
15499
15075
|
/*
|
|
15500
|
-
* Copyable: a value and the
|
|
15501
|
-
*
|
|
15502
|
-
* Three framings, and they differ only in how the value is drawn:
|
|
15503
|
-
*
|
|
15504
|
-
* chip A compact pill for a table cell, with head and tail truncation.
|
|
15505
|
-
* inline The value inline in a detail row, no chip behind it.
|
|
15506
|
-
* block A bordered panel for a full URL or a command.
|
|
15507
|
-
*
|
|
15508
|
-
* The control is an IconButton in every one of them, and it is the only tab
|
|
15509
|
-
* stop: the value is text.
|
|
15076
|
+
* Copyable: a value and the IconButton that copies it, as a `chip` (a pill for
|
|
15077
|
+
* a table cell), `inline` (in a detail row) or `block` (a panel for a command).
|
|
15510
15078
|
*/
|
|
15511
15079
|
|
|
15512
15080
|
.crewlet-copyable {
|
|
@@ -15560,11 +15128,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15560
15128
|
|
|
15561
15129
|
/*
|
|
15562
15130
|
* The chip states its own line, the document's leading rounded to a whole
|
|
15563
|
-
* pixel
|
|
15564
|
-
* was whatever the text around it said: 17.95px on the document's own line
|
|
15565
|
-
* and 17.4px inside a tighter sentence, where Chromium floored the leading
|
|
15566
|
-
* above the figures to nothing and they stood nearly a pixel high in their
|
|
15567
|
-
* chip.
|
|
15131
|
+
* pixel (see Kbd.css), so its figures sit centred in any sentence.
|
|
15568
15132
|
*/
|
|
15569
15133
|
.crewlet-copyable--chip .crewlet-copyable__value {
|
|
15570
15134
|
font-size: var(--font-size-2xs);
|
|
@@ -15576,10 +15140,8 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15576
15140
|
|
|
15577
15141
|
/* ---- inline ------------------------------------------------------------ */
|
|
15578
15142
|
|
|
15579
|
-
/*
|
|
15580
|
-
|
|
15581
|
-
12px in the secondary ink, an address was the one value in its list a step
|
|
15582
|
-
smaller and quieter than the values around it. */
|
|
15143
|
+
/* Inline takes the row's own size and ink, in the mono face: in a detail row
|
|
15144
|
+
it is one of the row's values. */
|
|
15583
15145
|
.crewlet-copyable--inline .crewlet-copyable__value {
|
|
15584
15146
|
font-size: inherit;
|
|
15585
15147
|
background: transparent;
|
|
@@ -15606,12 +15168,8 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15606
15168
|
}
|
|
15607
15169
|
|
|
15608
15170
|
/*
|
|
15609
|
-
* A
|
|
15610
|
-
*
|
|
15611
|
-
* command they must check before running it. Held to one line, it scrolled
|
|
15612
|
-
* past a phone's width behind an ellipsis, with no scrollbar to say there was
|
|
15613
|
-
* more, and the reader saw "https://example.com/webho…" of the address they
|
|
15614
|
-
* were asked to copy into a vendor's form.
|
|
15171
|
+
* A block shows its value whole, every space kept and wrapped where it must:
|
|
15172
|
+
* an address to allowlist or a command to check is never cut.
|
|
15615
15173
|
*/
|
|
15616
15174
|
.crewlet-copyable--block .crewlet-copyable__value {
|
|
15617
15175
|
font-size: var(--font-size-compact);
|
|
@@ -15626,13 +15184,8 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15626
15184
|
}
|
|
15627
15185
|
|
|
15628
15186
|
/*
|
|
15629
|
-
* A
|
|
15630
|
-
*
|
|
15631
|
-
* a run between them no line can hold. AN OPAQUE VALUE (a token, an id, a key:
|
|
15632
|
-
* one run with no space and no `/`) means nothing in its pieces, so it breaks
|
|
15633
|
-
* at any character and fills each line; left to the line breaker it broke
|
|
15634
|
-
* after a hyphen, and a token read "cwl_pat_01a1dc5f-3ec7-7cf4-a60d-" over a
|
|
15635
|
-
* ragged first line, as if it ended there.
|
|
15187
|
+
* A path breaks after each `/` (the component offers the breaks); an opaque
|
|
15188
|
+
* value, one run with no space and no `/`, breaks at any character.
|
|
15636
15189
|
*/
|
|
15637
15190
|
.crewlet-copyable--opaque .crewlet-copyable__value {
|
|
15638
15191
|
word-break: break-all;
|
|
@@ -25701,23 +25254,14 @@ a.crewlet-icon-btn {
|
|
|
25701
25254
|
}
|
|
25702
25255
|
|
|
25703
25256
|
|
|
25704
|
-
/* InlineCode-
|
|
25257
|
+
/* InlineCode-3KJCBT5I.css */
|
|
25705
25258
|
/*
|
|
25706
25259
|
* One identifier inside a sentence: a mono chip on the inset surface.
|
|
25707
|
-
*
|
|
25708
|
-
* The size is relative (0.92em) rather than a step off the scale, because the
|
|
25709
|
-
* chip has to sit inside whatever register its sentence is set in. A fixed
|
|
25710
|
-
* size makes it either a shout inside a caption or a whisper inside a lead.
|
|
25711
25260
|
*/
|
|
25712
25261
|
|
|
25713
25262
|
.crewlet-inline-code {
|
|
25714
|
-
/*
|
|
25715
|
-
|
|
25716
|
-
* sits inside whatever register its sentence is set in, and an absolute size
|
|
25717
|
-
* makes it a shout inside a caption or a whisper inside a lead. The mono
|
|
25718
|
-
* face also runs larger than the sans at the same nominal size, which is
|
|
25719
|
-
* what the reduction corrects.
|
|
25720
|
-
*/
|
|
25263
|
+
/* Relative, not a step off the type scale, so the chip sits in its
|
|
25264
|
+
sentence's register; the reduction offsets the mono face's larger size. */
|
|
25721
25265
|
--crewlet-inline-code-size: 0.92em;
|
|
25722
25266
|
font-family: var(--font-family-mono);
|
|
25723
25267
|
/* An identifier is read character by character; a ligature joins two of them
|
|
@@ -25728,10 +25272,8 @@ a.crewlet-icon-btn {
|
|
|
25728
25272
|
border-radius: var(--radius-xs);
|
|
25729
25273
|
padding: 1px var(--spacing-1);
|
|
25730
25274
|
color: var(--color-text-secondary);
|
|
25731
|
-
/*
|
|
25732
|
-
|
|
25733
|
-
between them that no line can hold, which would otherwise push the chip
|
|
25734
|
-
past its box. */
|
|
25275
|
+
/* Last resort for a run between the `/` breaks (`pathBreaks`) that no line
|
|
25276
|
+
can hold, which would otherwise push the chip past its box. */
|
|
25735
25277
|
overflow-wrap: anywhere;
|
|
25736
25278
|
/* SLICED where it breaks, not cloned: a browser leaves a cloned inset out of
|
|
25737
25279
|
line breaking, so each broken line ran up to the inset past its box. */
|
|
@@ -25739,39 +25281,24 @@ a.crewlet-icon-btn {
|
|
|
25739
25281
|
}
|
|
25740
25282
|
|
|
25741
25283
|
/*
|
|
25742
|
-
* A `${NAME}` pointer
|
|
25743
|
-
*
|
|
25744
|
-
* CHIP: drawn a step quieter, it read as decoration rather than as the thing
|
|
25745
|
-
* an operator has to type back.
|
|
25746
|
-
*
|
|
25747
|
-
* THE NAME ITSELF MAY BREAK. Held whole, a long name ran past a dialog at a
|
|
25748
|
-
* phone's width. It offers no break of its own, so the chip still moves to
|
|
25749
|
-
* the next line whole where it fits there, and breaks only where it does not.
|
|
25284
|
+
* A `${NAME}` pointer: `${` and `}` hold to the name's first and last
|
|
25285
|
+
* characters. The name itself may still break where the chip cannot fit a line.
|
|
25750
25286
|
*/
|
|
25751
25287
|
.crewlet-inline-code__end {
|
|
25752
25288
|
white-space: nowrap;
|
|
25753
25289
|
}
|
|
25754
25290
|
|
|
25755
25291
|
/*
|
|
25756
|
-
* Inside a Callout or a field error the chip
|
|
25757
|
-
*
|
|
25758
|
-
*
|
|
25759
|
-
* ONLY THE INK. The chip keeps its own ground and its own inset, because they
|
|
25760
|
-
* are what says "this is a string you type", and a bare run of monospace
|
|
25761
|
-
* inside a sentence is not that. The composite the message's ink then lands on
|
|
25762
|
-
* is measured: @crewlethq/tokens' palette suite holds every status ink to
|
|
25763
|
-
* 4.5:1 on the inset well drawn over its own callout tint, and the tightest
|
|
25764
|
-
* pair is 4.61:1.
|
|
25292
|
+
* Inside a Callout or a field error the chip takes that message's ink only,
|
|
25293
|
+
* keeping its own ground and inset (status inks hold 4.5:1 on that ground).
|
|
25765
25294
|
*/
|
|
25766
25295
|
.crewlet-inline-code--inherit {
|
|
25767
25296
|
color: inherit;
|
|
25768
25297
|
}
|
|
25769
25298
|
|
|
25770
25299
|
/*
|
|
25771
|
-
*
|
|
25772
|
-
*
|
|
25773
|
-
* secrets set ." Beside a mark the caller handed over (`open`, `close`) the
|
|
25774
|
-
* ground keeps a hair of it, so the mark sits where it would after a word.
|
|
25300
|
+
* Beside a mark the caller handed over (`open`, `close`) the ground keeps only
|
|
25301
|
+
* a hair of its inset, so the mark sits where it would after a word.
|
|
25775
25302
|
*/
|
|
25776
25303
|
.crewlet-inline-code--opened {
|
|
25777
25304
|
padding-inline-start: 1px;
|
|
@@ -27363,14 +26890,10 @@ a.crewlet-icon-btn {
|
|
|
27363
26890
|
|
|
27364
26891
|
|
|
27365
26892
|
|
|
27366
|
-
/* Link-
|
|
26893
|
+
/* Link-7AADYG2F.css */
|
|
27367
26894
|
/*
|
|
27368
|
-
* A link,
|
|
27369
|
-
*
|
|
27370
|
-
*
|
|
27371
|
-
* The ink is the accent's INK step, not the accent fill. The fill is a mark
|
|
27372
|
-
* and clears 3:1; text has to clear 4.5:1, and at caption size it is exactly
|
|
27373
|
-
* the place a fill-as-text fails.
|
|
26895
|
+
* A link: a navigation, an identity or a quiet reference. The ink is the
|
|
26896
|
+
* accent's ink step (4.5:1 for text), not the accent fill (3:1, for marks).
|
|
27374
26897
|
*/
|
|
27375
26898
|
|
|
27376
26899
|
.crewlet-link {
|
|
@@ -27400,12 +26923,8 @@ a.crewlet-icon-btn {
|
|
|
27400
26923
|
}
|
|
27401
26924
|
|
|
27402
26925
|
/*
|
|
27403
|
-
* A reference among other words
|
|
27404
|
-
*
|
|
27405
|
-
* as a column of links, and the hover steps it up to the full accent ink with
|
|
27406
|
-
* no underline. The ink is a token rather than a mix of two, because a mix is
|
|
27407
|
-
* a colour nobody measured; this one clears 4.5:1 on every surface and on a
|
|
27408
|
-
* pressed row.
|
|
26926
|
+
* A reference among other words: a measured token between the accent ink and
|
|
26927
|
+
* secondary text (4.5:1 on every surface and pressed row); hover steps it up.
|
|
27409
26928
|
*/
|
|
27410
26929
|
.crewlet-link--quiet {
|
|
27411
26930
|
color: var(--color-text-link-quiet);
|
|
@@ -27425,12 +26944,8 @@ a.crewlet-icon-btn {
|
|
|
27425
26944
|
text-decoration: underline;
|
|
27426
26945
|
}
|
|
27427
26946
|
|
|
27428
|
-
/*
|
|
27429
|
-
|
|
27430
|
-
* up to the accent ink cannot be seen there, and a hover with no underline is
|
|
27431
|
-
* no hover at all. The rule under the words is the one mark the mode leaves to
|
|
27432
|
-
* the author, so it is where the quiet variant's hover goes in that mode.
|
|
27433
|
-
*/
|
|
26947
|
+
/* Forced colors paints every link in LinkText, so the quiet hover there is the
|
|
26948
|
+
underline. */
|
|
27434
26949
|
@media (forced-colors: active) {
|
|
27435
26950
|
.crewlet-link--quiet:hover {
|
|
27436
26951
|
text-decoration: underline;
|
|
@@ -27442,12 +26957,8 @@ a.crewlet-icon-btn {
|
|
|
27442
26957
|
}
|
|
27443
26958
|
|
|
27444
26959
|
/*
|
|
27445
|
-
*
|
|
27446
|
-
*
|
|
27447
|
-
* the accent ink against secondary text is 1.18:1 in the dark palette, where a
|
|
27448
|
-
* link in running text needs 3:1 against the words around it or a mark that is
|
|
27449
|
-
* not colour. The underline is that mark, in every palette. A quiet reference
|
|
27450
|
-
* keeps its own rule (never underlined), and a plain one its own ink.
|
|
26960
|
+
* Inside a sentence: its size. Default and subtle links are underlined at
|
|
26961
|
+
* rest, since the accent ink on secondary text is 1.18:1 in the dark palette.
|
|
27451
26962
|
*/
|
|
27452
26963
|
.crewlet-link--inherit {
|
|
27453
26964
|
font-size: inherit;
|
|
@@ -27471,10 +26982,8 @@ a.crewlet-icon-btn {
|
|
|
27471
26982
|
}
|
|
27472
26983
|
|
|
27473
26984
|
/*
|
|
27474
|
-
* A whole row is the target
|
|
27475
|
-
*
|
|
27476
|
-
* loses an outset ring to the scroller's edge and to the next row painted
|
|
27477
|
-
* over it.
|
|
26985
|
+
* A whole row is the target: no underline, and the ring is drawn inside so a
|
|
26986
|
+
* clipping scroller and the next row do not hide it.
|
|
27478
26987
|
*/
|
|
27479
26988
|
.crewlet-link--block {
|
|
27480
26989
|
display: block;
|
|
@@ -27491,13 +27000,8 @@ a.crewlet-icon-btn {
|
|
|
27491
27000
|
}
|
|
27492
27001
|
|
|
27493
27002
|
.crewlet-link__external {
|
|
27494
|
-
/*
|
|
27495
|
-
|
|
27496
|
-
* INLINE, said here, because the document baseline sets every `svg` to
|
|
27497
|
-
* `display: block`: as a block the mark broke the line inside the link and
|
|
27498
|
-
* stood alone on a row of its own under the words, and the vertical-align
|
|
27499
|
-
* below did nothing at all.
|
|
27500
|
-
*/
|
|
27003
|
+
/* Inline, said here: the document baseline sets every `svg` to block, which
|
|
27004
|
+
would break the line inside the link. */
|
|
27501
27005
|
display: inline-block;
|
|
27502
27006
|
vertical-align: -0.125em;
|
|
27503
27007
|
margin-inline-start: var(--spacing-1);
|
|
@@ -36534,15 +36038,10 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
36534
36038
|
}
|
|
36535
36039
|
|
|
36536
36040
|
|
|
36537
|
-
/* SearchTrigger-
|
|
36041
|
+
/* SearchTrigger-3HO7D6NP.css */
|
|
36538
36042
|
/*
|
|
36539
|
-
* A button drawn as the field it stands in for
|
|
36540
|
-
*
|
|
36541
|
-
* TWO PLACES, TWO GROUNDS. The approved design draws it in the rail, the
|
|
36542
|
-
* whole width of the sidebar on the frame, and in a screen's own bar on the
|
|
36543
|
-
* sheet. In each it is one rung up from what it stands on, the sheet on the
|
|
36544
|
-
* frame and the card on the sheet, inside the default hairline, so it reads
|
|
36545
|
-
* as a field sunk into neither and lifted off both.
|
|
36043
|
+
* A button drawn as the field it stands in for, one rung up from its ground:
|
|
36044
|
+
* the sheet's ground in the rail, the card's in a screen's bar.
|
|
36546
36045
|
*/
|
|
36547
36046
|
|
|
36548
36047
|
.crewlet-search-trigger {
|
|
@@ -36564,16 +36063,9 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
36564
36063
|
}
|
|
36565
36064
|
|
|
36566
36065
|
/*
|
|
36567
|
-
*
|
|
36568
|
-
*
|
|
36569
|
-
*
|
|
36570
|
-
* names the pad (`--crewlet-rail-field-pad`), so its inset and the field's
|
|
36571
|
-
* pad are one measure and the glyph lands on the nav's glyph column; outside
|
|
36572
|
-
* that slot the field keeps the trigger's own pad.
|
|
36573
|
-
*
|
|
36574
|
-
* Its glyph-to-word gap is a nav row's (SidebarNav.css), two steps and a
|
|
36575
|
-
* half, so its words start on the rows' word column too: on the trigger's
|
|
36576
|
-
* two-step gap the placeholder stood 2px left of every nav label.
|
|
36066
|
+
* The rail's field: the slot's width on the sheet's ground at the small control
|
|
36067
|
+
* step. Its pad (`--crewlet-rail-field-pad`) and glyph gap match a nav row's,
|
|
36068
|
+
* so its glyph and words line up with the nav's columns.
|
|
36577
36069
|
*/
|
|
36578
36070
|
.crewlet-search-trigger--rail {
|
|
36579
36071
|
display: flex;
|