@plexui/styles 0.1.33 → 0.1.35

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.
Files changed (80) hide show
  1. package/dist/es/components/Accordion/Accordion.module.css +26 -1
  2. package/dist/es/components/Alert/Alert.module.css +213 -1
  3. package/dist/es/components/Badge/Badge.module.css +37 -0
  4. package/dist/es/components/Breadcrumb/Breadcrumb.module.css +63 -0
  5. package/dist/es/components/Button/Button.module.css +123 -22
  6. package/dist/es/components/Button/NavigationButton.module.css +17 -0
  7. package/dist/es/components/ButtonGroup/ButtonGroup.module.css +227 -20
  8. package/dist/es/components/Card/Card.module.css +31 -6
  9. package/dist/es/components/Checkbox/Checkbox.module.css +26 -72
  10. package/dist/es/components/CodeBlock/CodeBlock.module.css +34 -1
  11. package/dist/es/components/ColorPicker/ColorPicker.module.css +414 -0
  12. package/dist/es/components/ContextMenu/ContextMenu.module.css +55 -0
  13. package/dist/es/components/DataTable/DataTable.module.css +4 -0
  14. package/dist/es/components/DatePicker/Calendar.module.css +279 -6
  15. package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +10 -0
  16. package/dist/es/components/DateRangePicker/Calendar.module.css +226 -4
  17. package/dist/es/components/DateRangePicker/Trigger.module.css +45 -2
  18. package/dist/es/components/Dialog/Dialog.module.css +871 -89
  19. package/dist/es/components/EmptyMessage/EmptyMessage.module.css +52 -0
  20. package/dist/es/components/Field/Field.module.css +574 -24
  21. package/dist/es/components/FieldGroup/FieldGroup.module.css +188 -3
  22. package/dist/es/components/FileUpload/FileUpload.module.css +74 -1
  23. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +40 -1
  24. package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +28 -1
  25. package/dist/es/components/IndexBar/IndexBar.module.css +146 -0
  26. package/dist/es/components/Indicator/LoadingIndicator.module.css +14 -7
  27. package/dist/es/components/Input/Input.module.css +198 -1
  28. package/dist/es/components/InputGroup/InputGroup.module.css +4 -0
  29. package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +18 -0
  30. package/dist/es/components/Menu/Menu.module.css +544 -34
  31. package/dist/es/components/OTPInput/OTPInput.module.css +6 -1
  32. package/dist/es/components/Page/Page.module.css +391 -31
  33. package/dist/es/components/PageControl/PageControl.module.css +81 -0
  34. package/dist/es/components/PhoneLayout/PhoneLayout.module.css +10 -0
  35. package/dist/es/components/Popover/Popover.module.css +17 -1
  36. package/dist/es/components/Select/Select.module.css +201 -9
  37. package/dist/es/components/SelectControl/SelectControl.module.css +151 -4
  38. package/dist/es/components/Sidebar/Sidebar.module.css +624 -71
  39. package/dist/es/components/Slider/Slider.module.css +132 -45
  40. package/dist/es/components/Sortable/Sortable.module.css +7 -3
  41. package/dist/es/components/Stepper/Stepper.module.css +98 -0
  42. package/dist/es/components/SwipeActions/SwipeActions.module.css +166 -0
  43. package/dist/es/components/Switch/Switch.module.css +59 -4
  44. package/dist/es/components/TabBar/TabBar.module.css +478 -0
  45. package/dist/es/components/Tabs/Tabs.module.css +315 -3
  46. package/dist/es/components/TagInput/TagInput.module.css +50 -9
  47. package/dist/es/components/Textarea/Textarea.module.css +6 -0
  48. package/dist/es/components/Tip/Tip.module.css +456 -0
  49. package/dist/es/components/Toast/Toast.module.css +197 -9
  50. package/dist/es/components/Toolbar/Toolbar.module.css +850 -21
  51. package/dist/es/styles/katex-fonts/KaTeX_AMS-Regular.woff2 +0 -0
  52. package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  53. package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  54. package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  55. package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  56. package/dist/es/styles/katex-fonts/KaTeX_Main-Bold.woff2 +0 -0
  57. package/dist/es/styles/katex-fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  58. package/dist/es/styles/katex-fonts/KaTeX_Main-Italic.woff2 +0 -0
  59. package/dist/es/styles/katex-fonts/KaTeX_Main-Regular.woff2 +0 -0
  60. package/dist/es/styles/katex-fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  61. package/dist/es/styles/katex-fonts/KaTeX_Math-Italic.woff2 +0 -0
  62. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  63. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  64. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  65. package/dist/es/styles/katex-fonts/KaTeX_Script-Regular.woff2 +0 -0
  66. package/dist/es/styles/katex-fonts/KaTeX_Size1-Regular.woff2 +0 -0
  67. package/dist/es/styles/katex-fonts/KaTeX_Size2-Regular.woff2 +0 -0
  68. package/dist/es/styles/katex-fonts/KaTeX_Size3-Regular.woff2 +0 -0
  69. package/dist/es/styles/katex-fonts/KaTeX_Size4-Regular.woff2 +0 -0
  70. package/dist/es/styles/katex-fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  71. package/dist/es/styles/katex-fonts/LICENSE +21 -0
  72. package/dist/es/styles/katex.min.css +666 -730
  73. package/dist/es/styles/mobile-materials.css +145 -14
  74. package/dist/es/styles/mobile-surfaces.css +82 -32
  75. package/dist/es/styles/touch.css +940 -92
  76. package/dist/es/styles/variables-components.css +356 -17
  77. package/package.json +1 -1
  78. package/postcss/parseLightDark.mjs +20 -2
  79. package/postcss/phoneLayoutScope.mjs +134 -0
  80. package/postcss.config.mjs +3 -0
@@ -0,0 +1,414 @@
1
+ @layer components {/* The system color picker, after the iOS 26 kit Color Picker - iPhone (0:5275): a segmented control over the
2
+ grid, spectrum or sliders, the Opacity slider, a separator, then the current color and the saved colors. On a
3
+ phone the sizes are the kit's (touch.css); on a desktop the same layout in PlexUI sizes. */.ColorPicker {
4
+ display: flex;
5
+ flex-direction: column;
6
+ width: var(--color-picker-width);
7
+ max-width: 100%;
8
+ color: var(--color-text);
9
+ }.Modes {
10
+ margin-bottom: var(--color-picker-modes-gap);
11
+ }/* On a phone the Mode control stays the plain segmented control of the kit's picker (iOS 27 kit Color Picker -
12
+ iPhone 0:5275: Segmented Control Size=Small), not the glass one of other phone tabs (touch.css): a 32px
13
+ Fills/Tertiary track, a white thumb 2px inside it, options 4px apart and 13.333px labels, Semibold when
14
+ selected and Medium otherwise. The class with both attributes outranks the touch.css tokens on the same
15
+ element (both in the kit's layer). */@media (max-width: 767px) {
16
+ .Modes[data-variant="segmented"][data-orientation="horizontal"] {
17
+ --segmented-control-size: 32px;
18
+ --segmented-control-gutter: 2px;
19
+ --segmented-control-gap: 4px;
20
+ --segmented-control-thumb-outset: 0px;
21
+ --segmented-control-option-gutter: 6px;
22
+ --segmented-control-font-size: 13.333px;
23
+ --segmented-control-line-height: 18px;
24
+ --segmented-control-font-weight: 510;
25
+ --segmented-control-active-font-weight: 590;
26
+ --segmented-control-background: var(--color-picker-mobile-mode-background);
27
+ --segmented-control-sheen: none;
28
+ --segmented-control-shadow: none;
29
+ --segmented-control-backdrop-filter: none;
30
+ --segmented-control-thumb-background: var(--color-picker-mobile-mode-thumb-background);
31
+ /* Every label of the plain control is primary; the weight marks the selection. */
32
+ --color-text-secondary: var(--color-text);
33
+ }
34
+ }
35
+ :where([data-plex-layout="phone"]) .Modes[data-variant="segmented"][data-orientation="horizontal"] {
36
+ --segmented-control-size: 32px;
37
+ --segmented-control-gutter: 2px;
38
+ --segmented-control-gap: 4px;
39
+ --segmented-control-thumb-outset: 0px;
40
+ --segmented-control-option-gutter: 6px;
41
+ --segmented-control-font-size: 13.333px;
42
+ --segmented-control-line-height: 18px;
43
+ --segmented-control-font-weight: 510;
44
+ --segmented-control-active-font-weight: 590;
45
+ --segmented-control-background: var(--color-picker-mobile-mode-background);
46
+ --segmented-control-sheen: none;
47
+ --segmented-control-shadow: none;
48
+ --segmented-control-backdrop-filter: none;
49
+ --segmented-control-thumb-background: var(--color-picker-mobile-mode-thumb-background);
50
+ /* Every label of the plain control is primary; the weight marks the selection. */
51
+ --color-text-secondary: var(--color-text);
52
+ }.Body {
53
+ position: relative;
54
+ aspect-ratio: var(--color-picker-body-aspect-ratio);
55
+ }/* ===== Grid ===== */.Grid {
56
+ display: grid;
57
+ grid-template-columns: repeat(12, 1fr);
58
+ grid-template-rows: repeat(10, 1fr);
59
+ height: 100%;
60
+ overflow: hidden;
61
+ border-radius: var(--color-picker-body-radius);
62
+ }.Cell {
63
+ position: relative;
64
+ margin: 0;
65
+ padding: 0;
66
+ border: 0;
67
+ border-radius: 0;
68
+ cursor: pointer;
69
+ -webkit-tap-highlight-color: transparent;
70
+ }
71
+
72
+ .Cell[aria-checked="true"] {
73
+ box-shadow: inset 0 0 0 var(--color-picker-selection-width) var(--color-picker-selection-color);
74
+ }
75
+
76
+ .Cell:focus {
77
+ outline: none;
78
+ }
79
+
80
+ .Cell:focus-visible {
81
+ z-index: 1;
82
+ outline: 2px solid var(--color-ring);
83
+ outline-offset: 0;
84
+ }/* ===== Spectrum ===== *//* The hue runs from top to bottom; across, white fades to the full hue at the middle, then the hue to black. */.Spectrum {
85
+ position: absolute;
86
+ inset: 0;
87
+ border-radius: var(--color-picker-body-radius);
88
+ background:
89
+ linear-gradient(to right, #fff, rgb(255 255 255 / 0%) 50%, rgb(0 0 0 / 0%) 50%, #000),
90
+ linear-gradient(to bottom, #f00, #ff0 16.667%, #0f0 33.333%, #0ff 50%, #00f 66.667%, #f0f 83.333%, #f00);
91
+ cursor: crosshair;
92
+ touch-action: none;
93
+ -webkit-tap-highlight-color: transparent;
94
+ }
95
+
96
+ .Spectrum:focus {
97
+ outline: none;
98
+ }
99
+
100
+ .Spectrum:focus-visible {
101
+ outline: 2px solid var(--color-ring);
102
+ outline-offset: 2px;
103
+ }.Loupe {
104
+ position: absolute;
105
+ width: var(--color-picker-loupe-size);
106
+ height: var(--color-picker-loupe-size);
107
+ box-sizing: border-box;
108
+ border: var(--color-picker-knob-border) solid var(--color-picker-selection-color);
109
+ border-radius: var(--radius-full);
110
+ box-shadow: var(--color-picker-knob-shadow);
111
+ transform: translate(-50%, -50%);
112
+ pointer-events: none;
113
+ }/* ===== Sliders ===== */.Sliders {
114
+ display: flex;
115
+ flex-direction: column;
116
+ justify-content: space-between;
117
+ height: 100%;
118
+ }.Channel {
119
+ display: flex;
120
+ flex-direction: column;
121
+ gap: var(--color-picker-row-gap);
122
+ }.Hex {
123
+ display: flex;
124
+ align-items: center;
125
+ justify-content: space-between;
126
+ gap: var(--color-picker-field-gap);
127
+ }/* ===== Opacity ===== */.Opacity {
128
+ display: flex;
129
+ flex-direction: column;
130
+ gap: var(--color-picker-row-gap);
131
+ padding-top: var(--color-picker-section-gap);
132
+ padding-bottom: var(--color-picker-opacity-padding-bottom);
133
+ border-bottom: 1px solid var(--color-picker-separator-color);
134
+ }.Label {
135
+ font-size: var(--color-picker-label-font-size);
136
+ font-weight: var(--font-weight-semibold);
137
+ line-height: var(--color-picker-label-line-height);
138
+ }.Row {
139
+ display: flex;
140
+ align-items: center;
141
+ gap: var(--color-picker-field-gap);
142
+ }/* The track: the color over a checkerboard, so a clear color shows as clear. */.Track {
143
+ flex: 1;
144
+ min-width: 0;
145
+ height: var(--color-picker-track-height);
146
+ padding: var(--color-picker-track-inset);
147
+ box-sizing: border-box;
148
+ border-radius: var(--radius-full);
149
+ background:
150
+ var(--color-picker-track),
151
+ repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / calc(2 * var(--color-picker-checker-size)) calc(2 * var(--color-picker-checker-size));
152
+ }.SliderRoot {
153
+ position: relative;
154
+ display: flex;
155
+ align-items: center;
156
+ height: 100%;
157
+ touch-action: none;
158
+ -moz-user-select: none;
159
+ user-select: none;
160
+ -webkit-user-select: none;
161
+ -webkit-tap-highlight-color: transparent;
162
+ }.SliderTrack {
163
+ position: relative;
164
+ flex-grow: 1;
165
+ height: 100%;
166
+ }.Knob {
167
+ display: block;
168
+ width: var(--color-picker-knob-size);
169
+ height: var(--color-picker-knob-size);
170
+ box-sizing: border-box;
171
+ border: var(--color-picker-knob-border) solid var(--color-picker-selection-color);
172
+ border-radius: var(--radius-full);
173
+ box-shadow: var(--color-picker-knob-shadow);
174
+ cursor: grab;
175
+ }
176
+
177
+ .Knob:focus {
178
+ outline: none;
179
+ }
180
+
181
+ .Knob:focus-visible {
182
+ outline: 2px solid var(--color-ring);
183
+ outline-offset: 2px;
184
+ }.Field {
185
+ flex-shrink: 0;
186
+ width: var(--color-picker-field-width);
187
+ height: var(--color-picker-field-height);
188
+ margin: 0;
189
+ padding: 0 4px;
190
+ box-sizing: border-box;
191
+ border: 0;
192
+ border-radius: var(--color-picker-field-radius);
193
+ background: var(--color-picker-field-background);
194
+ color: var(--color-text);
195
+ font: inherit;
196
+ font-size: var(--color-picker-field-font-size);
197
+ font-weight: var(--font-weight-semibold);
198
+ line-height: var(--color-picker-field-line-height);
199
+ font-variant-numeric: tabular-nums;
200
+ text-align: center;
201
+ }
202
+
203
+ .Field[data-wide] {
204
+ width: var(--color-picker-field-wide-width);
205
+ }
206
+
207
+ .Field:focus {
208
+ outline: none;
209
+ }
210
+
211
+ .Field:focus-visible {
212
+ outline: 2px solid var(--color-ring);
213
+ outline-offset: 0;
214
+ }/* ===== Swatches ===== */.Swatches {
215
+ display: flex;
216
+ align-items: flex-start;
217
+ gap: var(--color-picker-current-gap);
218
+ padding-top: var(--color-picker-section-gap);
219
+ }/* The current color, over a checkerboard when it is not opaque. */.Current {
220
+ position: relative;
221
+ flex-shrink: 0;
222
+ width: var(--color-picker-current-size);
223
+ height: var(--color-picker-current-size);
224
+ overflow: hidden;
225
+ border-radius: var(--color-picker-current-radius);
226
+ background: repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / calc(2 * var(--color-picker-checker-size)) calc(2 * var(--color-picker-checker-size));
227
+ }.CurrentFill,
228
+ .SwatchFill {
229
+ position: absolute;
230
+ inset: 0;
231
+ border-radius: inherit;
232
+ }.Saved {
233
+ display: flex;
234
+ flex: 1;
235
+ flex-direction: column;
236
+ gap: var(--color-picker-swatch-row-gap);
237
+ min-width: 0;
238
+ }/* Pages of ten that scroll sideways, a page at a time. */.Pages {
239
+ display: flex;
240
+ overflow-x: auto;
241
+ overscroll-behavior-x: contain;
242
+ scroll-snap-type: x mandatory;
243
+ scrollbar-width: none;
244
+ }
245
+
246
+ .Pages::-webkit-scrollbar {
247
+ display: none;
248
+ }.Page {
249
+ display: grid;
250
+ flex: 0 0 100%;
251
+ grid-template-columns: repeat(5, var(--color-picker-swatch-size));
252
+ grid-auto-rows: var(--color-picker-swatch-size);
253
+ align-content: start;
254
+ justify-content: space-between;
255
+ row-gap: var(--color-picker-swatch-row-gap);
256
+ height: calc(2 * var(--color-picker-swatch-size) + var(--color-picker-swatch-row-gap));
257
+ scroll-snap-align: start;
258
+ }.Swatch,
259
+ .Add {
260
+ position: relative;
261
+ width: var(--color-picker-swatch-size);
262
+ height: var(--color-picker-swatch-size);
263
+ margin: 0;
264
+ padding: 0;
265
+ border: 0;
266
+ border-radius: var(--radius-full);
267
+ cursor: pointer;
268
+ -webkit-tap-highlight-color: transparent;
269
+ }
270
+
271
+ .Swatch:focus, .Add:focus {
272
+ outline: none;
273
+ }
274
+
275
+ .Swatch:focus-visible, .Add:focus-visible {
276
+ outline: 2px solid var(--color-ring);
277
+ outline-offset: 2px;
278
+ }.Swatch {
279
+ overflow: hidden;
280
+ background: repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / calc(var(--color-picker-swatch-size) / 3) calc(var(--color-picker-swatch-size) / 3);
281
+ }
282
+
283
+ .Swatch[aria-checked="true"]::after {
284
+ position: absolute;
285
+ inset: var(--color-picker-swatch-ring-inset);
286
+ border: var(--color-picker-swatch-ring-width) solid var(--color-picker-selection-color);
287
+ border-radius: inherit;
288
+ content: "";
289
+ }.Add {
290
+ display: grid;
291
+ place-items: center;
292
+ background: var(--color-picker-field-background);
293
+ color: var(--color-text);
294
+
295
+ }
296
+
297
+ .Add > svg {
298
+ width: var(--color-picker-add-icon-size);
299
+ height: var(--color-picker-add-icon-size);
300
+ }.PageControlRow {
301
+ display: flex;
302
+ align-items: center;
303
+ justify-content: center;
304
+ height: var(--color-picker-page-control-row-height);
305
+ }
306
+
307
+ /* With one page the row is left out on a desktop; a phone keeps it, so the sheet keeps the kit's height. */
308
+ .PageControlRow:empty {
309
+ display: var(--color-picker-page-control-empty-display);
310
+ }/* ===== Color well ===== *//* The kit's Picker Button: a 3px rainbow ring (angular, from yellow at the top), and inside it, 2px apart, the
311
+ chosen color; with no color, the full rainbow with a light wash toward the middle. */.Well {
312
+ position: relative;
313
+ flex-shrink: 0;
314
+ width: var(--color-well-size);
315
+ height: var(--color-well-size);
316
+ margin: 0;
317
+ padding: 0;
318
+ border: 0;
319
+ border-radius: var(--radius-full);
320
+ background: transparent;
321
+ vertical-align: middle;
322
+ cursor: pointer;
323
+ -webkit-tap-highlight-color: transparent;
324
+ }
325
+
326
+ .Well[data-size="sm"] {
327
+ --color-well-size: var(--color-well-size-sm);
328
+ }
329
+
330
+ .Well[data-size="lg"] {
331
+ --color-well-size: var(--color-well-size-lg);
332
+ }
333
+
334
+ /* The rainbow is drawn under the button, so the focus ring is not cut by the ring's mask. */
335
+ .Well::before {
336
+ position: absolute;
337
+ inset: 0;
338
+ border-radius: inherit;
339
+ background:
340
+ radial-gradient(closest-side, rgb(228 228 228), rgb(228 228 228 / 0%) 88%),
341
+ var(--color-well-rainbow);
342
+ content: "";
343
+ }
344
+
345
+ .Well[data-selected]::before {
346
+ background: var(--color-well-rainbow);
347
+ -webkit-mask: radial-gradient(closest-side, transparent calc(100% - var(--color-well-ring-width) - 0.5px), #000 calc(100% - var(--color-well-ring-width) + 0.5px));
348
+ mask: radial-gradient(closest-side, transparent calc(100% - var(--color-well-ring-width) - 0.5px), #000 calc(100% - var(--color-well-ring-width) + 0.5px));
349
+ }
350
+
351
+ .Well:disabled {
352
+ opacity: 0.4;
353
+ cursor: default;
354
+ }
355
+
356
+ .Well:focus {
357
+ outline: none;
358
+ }
359
+
360
+ .Well:focus-visible {
361
+ outline: 2px solid var(--color-ring);
362
+ outline-offset: 2px;
363
+ }.WellColor {
364
+ position: absolute;
365
+ inset: calc(var(--color-well-ring-width) + var(--color-well-ring-gap));
366
+ border-radius: inherit;
367
+ background:
368
+ linear-gradient(var(--color-well-color), var(--color-well-color)),
369
+ repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / 50% 50%;
370
+ }/* ===== Presentation ===== */.Popover {
371
+ padding: var(--color-picker-popover-padding);
372
+ }.PopoverHeader {
373
+ display: grid;
374
+ grid-template-columns: 1fr auto 1fr;
375
+ align-items: center;
376
+ margin-bottom: var(--color-picker-popover-header-gap);
377
+ }.PopoverLeading {
378
+ display: flex;
379
+ justify-content: flex-start;
380
+ }.PopoverTrailing {
381
+ display: flex;
382
+ justify-content: flex-end;
383
+ }.PopoverTitle {
384
+ font-size: var(--font-text-sm-size);
385
+ font-weight: var(--font-weight-semibold);
386
+ line-height: var(--font-text-sm-line-height);
387
+ }/* The kit's Sheet - Inspector - iPhone: a glass panel 6px from the sides and the bottom, its corners 34px at the
388
+ top and 58px at the bottom, concentric with the display. */.Sheet {
389
+ --dialog-panel-width: calc(100% - 12px);
390
+ --dialog-panel-radius: var(--color-picker-sheet-radius);
391
+ --dialog-panel-hidden-transform: translateY(calc(100% + 6px));
392
+ --dialog-panel-background: var(--mobile-glass-background);
393
+ margin: 0 6px 6px;
394
+ box-shadow: var(--mobile-glass-shadow);
395
+ backdrop-filter: var(--mobile-glass-backdrop-filter);
396
+ }/* One glass surface: the bar is clear (it is solid, so no scroll edge blurs the segmented control), and the picker
397
+ starts right under it, as the kit's 70px Toolbar keeps its own 10px bottom padding. The body does not run under
398
+ the bar, so on a short screen the picker scrolls below it. This outranks the Dialog's
399
+ `.Content[data-mobile-variant="sheet"] .Panel > .Body`. */.Sheet > [data-toolbar] {
400
+ --dialog-panel-background: transparent;
401
+ }[data-mobile-variant="sheet"] .Sheet.Sheet > .SheetBody.SheetBody {
402
+ margin-top: 0;
403
+ padding-top: 0;
404
+ padding-inline: var(--mobile-layout-margin, 16px);
405
+ padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
406
+ scroll-padding-top: 0;
407
+ }.SheetBody > .ColorPicker {
408
+ width: 100%;
409
+ }@media (prefers-reduced-motion: reduce) {
410
+ .Pages {
411
+ scroll-behavior: auto;
412
+ }
413
+ }
414
+ }
@@ -0,0 +1,55 @@
1
+ @layer components {/* A context menu, after the iOS 26 kit Context Menu (507:25994). The items are the ones of Menu. *//* A touch and hold opens the menu, so the element shows neither the system callout nor a text selection. */:root[data-input="touch"] .Trigger {
2
+ -webkit-touch-callout: none;
3
+ -webkit-user-select: none;
4
+ -moz-user-select: none;
5
+ user-select: none;
6
+ }/* The invisible box the menu is placed against: the pointer, or the element. */.Anchor {
7
+ position: fixed;
8
+ pointer-events: none;
9
+ visibility: hidden;
10
+ }.Dimming {
11
+ /* Top-level selector needs to exist */
12
+ }/* Context Menu - Dimming Overlay: black at 23% over a 30px background blur, with the element cut out so it stays
13
+ clear, as iOS lifts its preview. A press on the dimming closes the menu and reaches nothing under it. It shares
14
+ the overlay layer (50): it comes after a Dialog or Popover the element sits in, so it dims that too, as iOS dims a
15
+ sheet, and before its own menu, which stays above it. */.Overlay {
16
+ position: fixed;
17
+ z-index: 50;
18
+ inset: 0;
19
+ /* Takes the press even over a modal Dialog, whose content stays pressable while the rest of the page is not. */
20
+ pointer-events: auto;
21
+ background: var(--context-menu-dimming-background);
22
+ backdrop-filter: var(--context-menu-dimming-backdrop-filter);
23
+ -webkit-mask-image: var(--context-menu-hole);
24
+ mask-image: var(--context-menu-hole);
25
+ -webkit-mask-size: 100% 100%;
26
+ mask-size: 100% 100%;
27
+ -webkit-mask-repeat: no-repeat;
28
+ mask-repeat: no-repeat;
29
+ touch-action: none;
30
+ }
31
+
32
+ .Dimming[data-entering] .Overlay {
33
+ opacity: 0;
34
+ }
35
+
36
+ .Dimming[data-entering-active] .Overlay,
37
+ .Dimming[data-entering][data-interrupted] .Overlay {
38
+ opacity: 1;
39
+ transition: opacity var(--motion-enter) var(--cubic-enter);
40
+ }
41
+
42
+ .Dimming[data-exiting-active] .Overlay,
43
+ .Dimming[data-exiting][data-interrupted] .Overlay {
44
+ opacity: 0;
45
+ transition: opacity var(--motion-exit) var(--cubic-exit);
46
+ }/* The kit's preview shadow around the element (Content Area: drop shadow 32, black at 20%). */.Preview {
47
+ position: absolute;
48
+ box-shadow: var(--context-menu-preview-shadow);
49
+ pointer-events: none;
50
+ }@media (prefers-reduced-motion: reduce) {
51
+ .Overlay {
52
+ transition: none !important;
53
+ }
54
+ }
55
+ }
@@ -92,6 +92,10 @@
92
92
  outline: 2px solid var(--color-ring);
93
93
  outline-offset: -1px;
94
94
  }.PaginationButtons {
95
+ /* On a phone the page buttons keep the 44px target of the table's other controls, the page size select
96
+ beside them; a uniform button is otherwise a circle of its size there (touch.css) */
97
+ --button-uniform-size-sm: var(--data-table-control-target, var(--control-size-sm));
98
+
95
99
  display: flex;
96
100
  flex-shrink: 0;
97
101
  align-items: center;