@slotted/styles 0.1.0-beta.2 → 0.1.0-beta.21
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/package.json +1 -1
- package/src/accordion/accordion.css +10 -10
- package/src/action-bar/action-bar.css +45 -42
- package/src/action-bar/action-bar.tokens.json +1 -0
- package/src/action-sheet/action-sheet.css +36 -36
- package/src/alert/alert.css +68 -67
- package/src/alert/alert.tokens.json +5 -0
- package/src/app-shell/app-shell.css +452 -314
- package/src/app-shell/app-shell.tokens.json +5 -2
- package/src/aspect-ratio/aspect-ratio.css +9 -9
- package/src/attachment/attachment.css +91 -99
- package/src/avatar/avatar.css +71 -41
- package/src/avatar/avatar.tokens.json +7 -0
- package/src/avatar-group/avatar-group.css +21 -22
- package/src/badge/badge.css +45 -37
- package/src/badge/badge.tokens.json +5 -0
- package/src/breadcrumb/breadcrumb.css +37 -37
- package/src/button/button.css +149 -68
- package/src/button/button.tokens.json +10 -0
- package/src/button-group/button-group.css +79 -74
- package/src/button-group/button-group.tokens.json +2 -0
- package/src/calendar/calendar.css +133 -103
- package/src/calendar/calendar.tokens.json +5 -1
- package/src/card/card.css +54 -61
- package/src/carousel/carousel.css +150 -161
- package/src/cascader/cascader.css +154 -153
- package/src/cascader/cascader.tokens.json +1 -0
- package/src/chart/chart.css +258 -248
- package/src/chart/chart.tokens.json +1 -0
- package/src/checkbox/checkbox.css +119 -124
- package/src/checkbox-group/checkbox-group.css +7 -7
- package/src/code-block/code-block.css +81 -85
- package/src/collapsible/collapsible.css +72 -76
- package/src/color-picker/color-picker.css +83 -91
- package/src/column-manager/column-manager.css +106 -114
- package/src/combobox/combobox.css +157 -124
- package/src/combobox/combobox.tokens.json +2 -0
- package/src/command-palette/command-palette.css +103 -90
- package/src/command-palette/command-palette.tokens.json +1 -0
- package/src/container/container.css +24 -24
- package/src/context-menu/context-menu.css +8 -8
- package/src/currency-field/currency-field.css +212 -88
- package/src/currency-field/currency-field.tokens.json +13 -0
- package/src/dashboard-grid/dashboard-grid.css +184 -114
- package/src/data-grid/data-grid.css +535 -470
- package/src/data-grid/data-grid.tokens.json +4 -0
- package/src/data-list/data-list.css +81 -70
- package/src/data-list/data-list.tokens.json +2 -1
- package/src/date-field/date-field.css +57 -52
- package/src/date-field/date-field.tokens.json +1 -0
- package/src/date-picker/date-picker.css +75 -57
- package/src/date-picker/date-picker.tokens.json +1 -0
- package/src/date-range-picker/date-range-picker.css +116 -118
- package/src/datetime-field/datetime-field.css +80 -80
- package/src/datetime-field/datetime-field.tokens.json +1 -0
- package/src/datetime-picker/datetime-picker.css +63 -63
- package/src/datetime-range-picker/datetime-range-picker.css +151 -156
- package/src/description-list/description-list.css +80 -65
- package/src/detail-panel/detail-panel.css +86 -71
- package/src/detail-panel/detail-panel.tokens.json +2 -0
- package/src/dialog/dialog.css +376 -153
- package/src/dialog/dialog.tokens.json +6 -0
- package/src/divider/divider.css +18 -18
- package/src/drawer/drawer.css +513 -217
- package/src/drawer/drawer.tokens.json +6 -0
- package/src/entity-picker/entity-picker.css +273 -256
- package/src/entity-picker/entity-picker.tokens.json +2 -0
- package/src/event-calendar/event-calendar.css +343 -385
- package/src/field/field.css +74 -78
- package/src/field-group/field-group.css +22 -25
- package/src/filter-bar/filter-bar.css +193 -209
- package/src/form/form.css +34 -24
- package/src/form/form.tokens.json +1 -0
- package/src/fullscreen/fullscreen.css +24 -25
- package/src/grid/grid.css +28 -28
- package/src/highlight/highlight.css +6 -6
- package/src/hover-card/hover-card.css +6 -6
- package/src/icon/icon.css +62 -15
- package/src/icon/icon.tokens.json +1 -0
- package/src/image/image.css +39 -39
- package/src/import-export-center/import-export-center.css +135 -156
- package/src/inline/inline.css +27 -27
- package/src/inline-message/inline-message.css +153 -77
- package/src/inline-message/inline-message.tokens.json +4 -0
- package/src/kbd/kbd.css +48 -36
- package/src/kbd/kbd.tokens.json +3 -0
- package/src/link/link.css +36 -15
- package/src/link/link.tokens.json +4 -0
- package/src/list/list.css +44 -17
- package/src/list/list.tokens.json +4 -0
- package/src/list-item/list-item.css +80 -66
- package/src/list-item/list-item.tokens.json +7 -0
- package/src/listbox/listbox.css +56 -59
- package/src/loading-overlay/loading-overlay.css +75 -92
- package/src/markdown/markdown.css +17 -17
- package/src/menu/menu.css +117 -74
- package/src/menu/menu.tokens.json +1 -0
- package/src/menubar/menubar.css +13 -13
- package/src/message/message.css +192 -202
- package/src/message/message.tokens.json +5 -0
- package/src/message-scroller/message-scroller.css +41 -42
- package/src/multi-select/multi-select.css +177 -160
- package/src/multi-select/multi-select.tokens.json +1 -0
- package/src/navigation-menu/navigation-menu.css +167 -188
- package/src/notification-center/notification-center.css +140 -148
- package/src/notification-center/notification-center.tokens.json +3 -0
- package/src/number-field/number-field.css +83 -83
- package/src/number-field/number-field.tokens.json +1 -0
- package/src/otp-input/otp-input.css +67 -57
- package/src/otp-input/otp-input.tokens.json +1 -0
- package/src/page/page.css +39 -23
- package/src/page/page.tokens.json +1 -0
- package/src/page-header/page-header.css +339 -284
- package/src/page-header/page-header.tokens.json +5 -0
- package/src/pagination/pagination.css +68 -72
- package/src/popover/popover.css +73 -61
- package/src/popover/popover.tokens.json +1 -0
- package/src/progress-indicator/progress-indicator.css +169 -113
- package/src/progress-indicator/progress-indicator.tokens.json +1 -0
- package/src/prompt-composer/prompt-composer.css +251 -104
- package/src/prompt-composer/prompt-composer.tokens.json +15 -0
- package/src/prose/prose.css +71 -75
- package/src/radio-group/radio-group.css +98 -103
- package/src/rating/rating.css +136 -132
- package/src/rating/rating.tokens.json +1 -0
- package/src/result-state/result-state.css +74 -77
- package/src/runtime-properties.mjs +2 -0
- package/src/saved-views/saved-views.css +41 -47
- package/src/scroll-area/scroll-area.css +39 -32
- package/src/section/section.css +178 -43
- package/src/section/section.tokens.json +8 -2
- package/src/segmented-control/segmented-control.css +254 -97
- package/src/segmented-control/segmented-control.tokens.json +15 -11
- package/src/select/select.css +153 -132
- package/src/select/select.tokens.json +2 -0
- package/src/side-navigation/side-navigation.css +179 -182
- package/src/side-navigation/side-navigation.tokens.json +1 -0
- package/src/skeleton/skeleton.css +47 -48
- package/src/slider/slider.css +86 -88
- package/src/sparkline/sparkline.css +62 -40
- package/src/sparkline/sparkline.tokens.json +2 -0
- package/src/spinner/spinner.css +83 -180
- package/src/spinner/spinner.tokens.json +0 -1
- package/src/split-button/split-button.css +30 -31
- package/src/split-button/split-button.tokens.json +1 -0
- package/src/splitter/splitter.css +35 -35
- package/src/stack/stack.css +24 -24
- package/src/stat-card/stat-card.css +380 -241
- package/src/stat-card/stat-card.tokens.json +5 -0
- package/src/status-indicator/status-indicator.css +107 -82
- package/src/status-indicator/status-indicator.tokens.json +0 -3
- package/src/stepper/stepper.css +58 -62
- package/src/switch/switch.css +86 -92
- package/src/table/table.css +340 -175
- package/src/table/table.tokens.json +6 -0
- package/src/table-of-contents/table-of-contents.css +57 -56
- package/src/table-of-contents/table-of-contents.tokens.json +1 -0
- package/src/tabs/tabs.css +322 -289
- package/src/tabs/tabs.tokens.json +7 -1
- package/src/tag/tag.css +91 -71
- package/src/tag/tag.tokens.json +9 -0
- package/src/tags-input/tags-input.css +147 -82
- package/src/tags-input/tags-input.tokens.json +7 -1
- package/src/text-field/text-field.css +134 -136
- package/src/text-field/text-field.tokens.json +1 -0
- package/src/textarea/textarea.css +33 -28
- package/src/textarea/textarea.tokens.json +1 -0
- package/src/time-field/time-field.css +74 -69
- package/src/time-field/time-field.tokens.json +1 -0
- package/src/time-picker/time-picker.css +58 -58
- package/src/time-range-picker/time-range-picker.css +128 -133
- package/src/timeline/timeline.css +254 -266
- package/src/timeline/timeline.tokens.json +5 -0
- package/src/toast/toast.css +115 -98
- package/src/toast/toast.tokens.json +6 -0
- package/src/toggle/toggle.css +62 -25
- package/src/toggle/toggle.tokens.json +8 -0
- package/src/toggle-group/toggle-group.css +106 -60
- package/src/toggle-group/toggle-group.tokens.json +10 -0
- package/src/toolbar/toolbar.css +30 -35
- package/src/tooltip/tooltip.css +59 -38
- package/src/tooltip/tooltip.tokens.json +1 -0
- package/src/top-navigation/top-navigation.css +243 -259
- package/src/tour/tour.css +51 -60
- package/src/transfer/transfer.css +160 -164
- package/src/tree/tree.css +103 -111
- package/src/typography/typography.css +40 -36
- package/src/typography/typography.tokens.json +1 -0
- package/src/upload/upload.css +224 -224
- package/src/visually-hidden/visually-hidden.css +1 -1
- package/src/wizard/wizard.css +185 -197
package/src/table/table.css
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* `prose` makes the same division for the same reason, and every token below
|
|
15
15
|
* is declared here so both boxes and every cell read one set.
|
|
16
16
|
*/
|
|
17
|
-
[data-ui
|
|
17
|
+
[data-ui-table][data-part-root] {
|
|
18
18
|
/* Geometry. Every value is the control scale's, because a row is a
|
|
19
19
|
control-sized thing: one theme decision retunes the rows, the buttons and
|
|
20
20
|
the fields together, and `@media (pointer: coarse)` grows all three at
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
max-inline-size: 100%;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
[data-ui
|
|
149
|
+
[data-ui-table][data-variant='framed'] {
|
|
150
150
|
border: var(--_rule-width) solid var(--_rule);
|
|
151
151
|
border-radius: var(--_radius);
|
|
152
152
|
/**
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
* press Tab for nothing, and a wide table with no tab stop is unreachable
|
|
181
181
|
* without a pointer.
|
|
182
182
|
*/
|
|
183
|
-
[data-ui
|
|
183
|
+
[data-ui-table] [data-part-scroll] {
|
|
184
184
|
/* `overscroll-behavior-inline: contain` keeps a sideways flick inside the
|
|
185
185
|
table instead of walking the page back a step, which is the gesture a
|
|
186
186
|
wide table on a trackpad produces constantly. */
|
|
@@ -189,8 +189,14 @@
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
/* The ring is drawn inside, because a scroller flush against the frame would
|
|
192
|
-
otherwise draw half its ring outside it.
|
|
193
|
-
|
|
192
|
+
otherwise draw half its ring outside it. It is drawn for a focus from the
|
|
193
|
+
keyboard: a click on a cell focuses the scroller too, and the next Shift
|
|
194
|
+
would make it match `:focus-visible` (`createFocusOrigin`). The browser's own
|
|
195
|
+
ring is suppressed for the same focus. */
|
|
196
|
+
[data-ui-table] [data-part-scroll]:focus {
|
|
197
|
+
outline: none;
|
|
198
|
+
}
|
|
199
|
+
[data-ui-table] [data-part-scroll]:focus-visible[data-focus-origin='keyboard'] {
|
|
194
200
|
outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
|
|
195
201
|
outline-offset: calc(var(--slotted-focus-ring-offset, 2px) * -1);
|
|
196
202
|
}
|
|
@@ -204,7 +210,7 @@
|
|
|
204
210
|
* a border radius. The rules are therefore drawn as one edge on each cell,
|
|
205
211
|
* never as a border on the row.
|
|
206
212
|
*/
|
|
207
|
-
[data-ui
|
|
213
|
+
[data-ui-table] [data-part-table] {
|
|
208
214
|
border-collapse: separate;
|
|
209
215
|
border-spacing: 0;
|
|
210
216
|
/* The table fills the scroller and grows past it when its columns need
|
|
@@ -214,7 +220,7 @@
|
|
|
214
220
|
text-align: start;
|
|
215
221
|
}
|
|
216
222
|
|
|
217
|
-
[data-ui
|
|
223
|
+
[data-ui-table][data-layout='fixed'] [data-part-table] {
|
|
218
224
|
inline-size: 100%;
|
|
219
225
|
table-layout: fixed;
|
|
220
226
|
}
|
|
@@ -227,12 +233,12 @@
|
|
|
227
233
|
* consumer who hides it with `visually-hidden` loses the picture and keeps
|
|
228
234
|
* the name.
|
|
229
235
|
*/
|
|
230
|
-
[data-ui
|
|
236
|
+
[data-ui-table] [data-part-caption] {
|
|
231
237
|
caption-side: block-start;
|
|
232
238
|
color: var(--_muted);
|
|
233
239
|
font-size: var(--slotted-font-size-xs, 0.75rem);
|
|
234
240
|
padding-block: var(--_pad-block);
|
|
235
|
-
padding-inline: var(--
|
|
241
|
+
padding-inline: var(--_edge-inset);
|
|
236
242
|
text-align: start;
|
|
237
243
|
}
|
|
238
244
|
|
|
@@ -251,8 +257,11 @@
|
|
|
251
257
|
column header above the alignment rule that comes after it — a header
|
|
252
258
|
carrying data-align="end" computed text-align: start, so a numeric
|
|
253
259
|
column's digits ended at one edge and their name at the other. */
|
|
254
|
-
[data-ui
|
|
255
|
-
[data-ui
|
|
260
|
+
[data-ui-table] [data-part-column-header],
|
|
261
|
+
[data-ui-table] [data-part-head] [data-part-selection] {
|
|
262
|
+
/* What a pinned header cell paints, in place of its row's ground. */
|
|
263
|
+
--_pinned-ground: var(--_head-surface);
|
|
264
|
+
|
|
256
265
|
background-color: var(--_head-surface);
|
|
257
266
|
border-block-end: var(--_rule-width) solid var(--_rule-strong);
|
|
258
267
|
color: var(--_text);
|
|
@@ -272,15 +281,20 @@
|
|
|
272
281
|
vertical-align: bottom;
|
|
273
282
|
}
|
|
274
283
|
|
|
275
|
-
[data-ui
|
|
284
|
+
[data-ui-table][data-variant='plain'] [data-part-column-header] {
|
|
285
|
+
--_pinned-ground: transparent;
|
|
286
|
+
|
|
276
287
|
background-color: transparent;
|
|
277
288
|
}
|
|
278
289
|
|
|
279
290
|
/**
|
|
280
291
|
* ── Rows and cells ─────────────────────────────────────────────────────
|
|
281
292
|
*/
|
|
282
|
-
[data-ui
|
|
283
|
-
|
|
293
|
+
[data-ui-table] [data-part-row] {
|
|
294
|
+
/* Published for a pinned cell, which paints it over an opaque ground. */
|
|
295
|
+
--_row-ground: var(--_surface);
|
|
296
|
+
|
|
297
|
+
background-color: var(--_row-ground);
|
|
284
298
|
}
|
|
285
299
|
|
|
286
300
|
/**
|
|
@@ -299,35 +313,80 @@
|
|
|
299
313
|
* because the cell that wants the other answer is usually one: the actions
|
|
300
314
|
* pinned at the end of a tall row.
|
|
301
315
|
*/
|
|
302
|
-
[data-ui
|
|
316
|
+
[data-ui-table] {
|
|
303
317
|
--_cell-align: middle;
|
|
304
318
|
}
|
|
305
319
|
|
|
306
|
-
[data-ui
|
|
320
|
+
[data-ui-table][data-cell-align='start'] {
|
|
307
321
|
--_cell-align: top;
|
|
308
322
|
}
|
|
309
323
|
|
|
310
|
-
[data-ui
|
|
324
|
+
[data-ui-table][data-cell-align='end'] {
|
|
311
325
|
--_cell-align: bottom;
|
|
312
326
|
}
|
|
313
327
|
|
|
314
|
-
[data-ui
|
|
315
|
-
[data-ui
|
|
328
|
+
[data-ui-table] [data-part-cell],
|
|
329
|
+
[data-ui-table] [data-part-row-header] {
|
|
316
330
|
padding-block: var(--_pad-block);
|
|
317
331
|
padding-inline: var(--_pad-inline);
|
|
318
332
|
text-align: start;
|
|
319
333
|
vertical-align: var(--_cell-align);
|
|
320
334
|
}
|
|
321
335
|
|
|
322
|
-
|
|
336
|
+
/**
|
|
337
|
+
* ── The outer edges ────────────────────────────────────────────────────
|
|
338
|
+
*
|
|
339
|
+
* The first and the last column take `--_edge-inset` on their outer side:
|
|
340
|
+
* the cell's own inset by default, and under `edges="flush"` the theme's
|
|
341
|
+
* `--slotted-table-edge-inset`, nought when it sets none — so a `plain` or
|
|
342
|
+
* `ruled` table lines its text up with the heading above it. A `framed`
|
|
343
|
+
* table keeps the inset whatever `edges` says: its text stands against a
|
|
344
|
+
* border, and text touching a border is the cramped picture the frame
|
|
345
|
+
* exists to avoid. A pinned column keeps its own offset, which is a
|
|
346
|
+
* position rather than a padding, and the selection cell keeps its own
|
|
347
|
+
* inset because it is not one of the parts named here — a table that leads
|
|
348
|
+
* with a chooser has no text at its edge.
|
|
349
|
+
*/
|
|
350
|
+
[data-ui-table][data-part-root] {
|
|
351
|
+
--_edge-inset: var(--_pad-inline);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
[data-ui-table][data-part-root][data-edges='flush']:is(
|
|
355
|
+
[data-variant='plain'],
|
|
356
|
+
[data-variant='ruled']
|
|
357
|
+
) {
|
|
358
|
+
--_edge-inset: var(--slotted-table-edge-inset, 0px);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
[data-ui-table]
|
|
362
|
+
[data-part-row]
|
|
363
|
+
> :is([data-part-cell], [data-part-row-header], [data-part-group-header]):first-child,
|
|
364
|
+
[data-ui-table]
|
|
365
|
+
[data-part-row]
|
|
366
|
+
> [data-part-column-header]:first-child:not(:has(> [data-part-sort])),
|
|
367
|
+
[data-ui-table] [data-part-row] > [data-part-column-header]:first-child > [data-part-sort] {
|
|
368
|
+
padding-inline-start: var(--_edge-inset);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
[data-ui-table]
|
|
372
|
+
[data-part-row]
|
|
373
|
+
> :is([data-part-cell], [data-part-row-header], [data-part-group-header]):last-child,
|
|
374
|
+
[data-ui-table]
|
|
375
|
+
[data-part-row]
|
|
376
|
+
> [data-part-column-header]:last-child:not(:has(> [data-part-sort])),
|
|
377
|
+
[data-ui-table] [data-part-row] > [data-part-column-header]:last-child > [data-part-sort] {
|
|
378
|
+
padding-inline-end: var(--_edge-inset);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
[data-ui-table] [data-block-align='start'] {
|
|
323
382
|
vertical-align: top;
|
|
324
383
|
}
|
|
325
384
|
|
|
326
|
-
[data-ui
|
|
385
|
+
[data-ui-table] [data-block-align='center'] {
|
|
327
386
|
vertical-align: middle;
|
|
328
387
|
}
|
|
329
388
|
|
|
330
|
-
[data-ui
|
|
389
|
+
[data-ui-table] [data-block-align='end'] {
|
|
331
390
|
vertical-align: bottom;
|
|
332
391
|
}
|
|
333
392
|
|
|
@@ -356,24 +415,24 @@
|
|
|
356
415
|
* `timeline` or a nested table has a `plain` variant of its own and is not a
|
|
357
416
|
* control. `table.styles.test.mjs` holds the two lists against each other.
|
|
358
417
|
*/
|
|
359
|
-
[data-ui
|
|
360
|
-
:is([data-part
|
|
361
|
-
> [data-part
|
|
362
|
-
[data-ui
|
|
363
|
-
[data-ui
|
|
364
|
-
[data-ui
|
|
365
|
-
[data-ui
|
|
366
|
-
[data-ui
|
|
367
|
-
[data-ui
|
|
368
|
-
[data-ui
|
|
369
|
-
[data-ui
|
|
370
|
-
[data-ui
|
|
371
|
-
[data-ui
|
|
372
|
-
[data-ui
|
|
373
|
-
[data-ui
|
|
374
|
-
[data-ui
|
|
375
|
-
[data-ui
|
|
376
|
-
[data-ui
|
|
418
|
+
[data-ui-table]
|
|
419
|
+
:is([data-part-cell], [data-part-row-header]):has(
|
|
420
|
+
> [data-part-root][data-variant='plain']:is(
|
|
421
|
+
[data-ui-select],
|
|
422
|
+
[data-ui-combobox],
|
|
423
|
+
[data-ui-multi-select],
|
|
424
|
+
[data-ui-text-field],
|
|
425
|
+
[data-ui-textarea],
|
|
426
|
+
[data-ui-number-field],
|
|
427
|
+
[data-ui-currency-field],
|
|
428
|
+
[data-ui-date-field],
|
|
429
|
+
[data-ui-time-field],
|
|
430
|
+
[data-ui-datetime-field],
|
|
431
|
+
[data-ui-tags-input],
|
|
432
|
+
[data-ui-date-range-picker],
|
|
433
|
+
[data-ui-time-range-picker],
|
|
434
|
+
[data-ui-datetime-range-picker],
|
|
435
|
+
[data-ui-entity-picker]
|
|
377
436
|
)
|
|
378
437
|
) {
|
|
379
438
|
--slotted-control-padding-inline-sm: var(--_pad-inline);
|
|
@@ -391,7 +450,7 @@
|
|
|
391
450
|
against the row's ink, a selected record's name stayed the page's black
|
|
392
451
|
while every value beside it turned accent, and a disabled row's name stayed
|
|
393
452
|
at full strength — the two states the row paints and this cell refused. */
|
|
394
|
-
[data-ui
|
|
453
|
+
[data-ui-table] [data-part-row-header] {
|
|
395
454
|
font-weight: var(--slotted-font-weight-medium, 500);
|
|
396
455
|
}
|
|
397
456
|
|
|
@@ -399,16 +458,16 @@
|
|
|
399
458
|
it under `border-collapse: separate`. The last row of the body gives its
|
|
400
459
|
rule up unless a footer follows, so a `ruled` table does not end in a line
|
|
401
460
|
with nothing under it. */
|
|
402
|
-
[data-ui
|
|
403
|
-
[data-part
|
|
404
|
-
> [data-part
|
|
461
|
+
[data-ui-table]:is([data-variant='ruled'], [data-variant='framed'])
|
|
462
|
+
[data-part-body]
|
|
463
|
+
> [data-part-row]
|
|
405
464
|
> * {
|
|
406
465
|
border-block-end: var(--_rule-width) solid var(--_rule);
|
|
407
466
|
}
|
|
408
467
|
|
|
409
|
-
[data-ui
|
|
410
|
-
[data-part
|
|
411
|
-
> [data-part
|
|
468
|
+
[data-ui-table]:is([data-variant='ruled'], [data-variant='framed'])
|
|
469
|
+
[data-part-body]
|
|
470
|
+
> [data-part-row]:last-child
|
|
412
471
|
> * {
|
|
413
472
|
border-block-end-color: transparent;
|
|
414
473
|
}
|
|
@@ -418,8 +477,8 @@
|
|
|
418
477
|
`nth-child(even)` counts rows the family renders; a detail row is a row of
|
|
419
478
|
the same body, so the stripe follows the record it belongs to rather than
|
|
420
479
|
alternating around it — see the detail rule below. */
|
|
421
|
-
[data-ui
|
|
422
|
-
|
|
480
|
+
[data-ui-table][data-striped] [data-part-body] > [data-part-row]:nth-child(even) {
|
|
481
|
+
--_row-ground: var(--_stripe);
|
|
423
482
|
}
|
|
424
483
|
|
|
425
484
|
/**
|
|
@@ -430,8 +489,8 @@
|
|
|
430
489
|
* every pointer state rather than a rule of its own: a row a consumer has
|
|
431
490
|
* disabled does not answer the pointer at all.
|
|
432
491
|
*/
|
|
433
|
-
[data-ui
|
|
434
|
-
|
|
492
|
+
[data-ui-table] [data-part-body] > [data-part-row]:not([data-disabled]):hover {
|
|
493
|
+
--_row-ground: var(--_hover);
|
|
435
494
|
}
|
|
436
495
|
|
|
437
496
|
/**
|
|
@@ -446,21 +505,97 @@
|
|
|
446
505
|
* is what survives forced colours, which is where WCAG 2.2 SC 1.4.1 puts the
|
|
447
506
|
* requirement anyway.
|
|
448
507
|
*/
|
|
449
|
-
[data-ui
|
|
450
|
-
|
|
508
|
+
[data-ui-table] [data-part-body] > [data-part-row][data-selected] {
|
|
509
|
+
--_row-ground: var(--_selected);
|
|
451
510
|
color: var(--_selected-text);
|
|
452
511
|
}
|
|
453
512
|
|
|
454
|
-
[data-ui
|
|
455
|
-
|
|
456
|
-
> [data-part='row'][data-selected]:not([data-disabled]):hover {
|
|
457
|
-
background-color: var(--_selected-hover);
|
|
513
|
+
[data-ui-table] [data-part-body] > [data-part-row][data-selected]:not([data-disabled]):hover {
|
|
514
|
+
--_row-ground: var(--_selected-hover);
|
|
458
515
|
}
|
|
459
516
|
|
|
460
|
-
[data-ui
|
|
517
|
+
[data-ui-table] [data-part-row][data-disabled] {
|
|
461
518
|
color: var(--slotted-disabled-foreground, GrayText);
|
|
462
519
|
}
|
|
463
520
|
|
|
521
|
+
/**
|
|
522
|
+
* The row the page shows elsewhere — the record open in a detail pane. A
|
|
523
|
+
* neutral ground a step beyond hover, so the pointer passing over it changes
|
|
524
|
+
* nothing, and no edge on the start side (R1). It is opaque, because a
|
|
525
|
+
* pinned cell copies the row's ground and a translucent one shows the
|
|
526
|
+
* scrolled cells through it. Selection is stronger and paints over it.
|
|
527
|
+
*/
|
|
528
|
+
[data-ui-table] [data-part-body] > [data-part-row][data-current]:not([data-selected]) {
|
|
529
|
+
--_row-ground: var(
|
|
530
|
+
--slotted-table-row-surface-current,
|
|
531
|
+
var(--slotted-tone-secondary-subtle-active, ButtonFace)
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/* A row with an action of its own is a thing the pointer presses. */
|
|
536
|
+
[data-ui-table] [data-part-body] > [data-part-row][data-interactive]:not([data-disabled]) {
|
|
537
|
+
cursor: pointer;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* ── The band that opens a group ────────────────────────────────────────
|
|
542
|
+
*
|
|
543
|
+
* One header cell across every column: the group's name at the start and
|
|
544
|
+
* its total at the end, in tabular figures so a column of daily nets lines
|
|
545
|
+
* up. The ground is the stripe's step, opaque for the same reason a pinned
|
|
546
|
+
* cell's is, and the band stays where it is when the pointer passes.
|
|
547
|
+
*/
|
|
548
|
+
[data-ui-table] [data-part-group-header] {
|
|
549
|
+
background-color: var(--slotted-table-group-surface, var(--_stripe));
|
|
550
|
+
border-block-end: var(--_rule-width) solid var(--_rule);
|
|
551
|
+
color: var(--slotted-table-group-color, var(--_text));
|
|
552
|
+
font-weight: var(--slotted-font-weight-semibold, 600);
|
|
553
|
+
padding-block: var(--_pad-block);
|
|
554
|
+
padding-inline: var(--_pad-inline);
|
|
555
|
+
text-align: start;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
[data-ui-table] [data-part-group-content] {
|
|
559
|
+
align-items: baseline;
|
|
560
|
+
display: flex;
|
|
561
|
+
gap: var(--_gap);
|
|
562
|
+
justify-content: space-between;
|
|
563
|
+
min-inline-size: 0;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
[data-ui-table] [data-part-group-end] {
|
|
567
|
+
font-variant-numeric: tabular-nums;
|
|
568
|
+
text-align: end;
|
|
569
|
+
white-space: nowrap;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* A sticky band stops under the header when the header sticks too. The
|
|
574
|
+
* header's height is one row of the control scale and its rule; a header
|
|
575
|
+
* that wraps sets `--slotted-table-group-sticky-offset` itself.
|
|
576
|
+
*/
|
|
577
|
+
[data-ui-table] [data-part-group-row][data-sticky] > [data-part-group-header] {
|
|
578
|
+
inset-block-start: var(--slotted-table-group-sticky-offset, 0);
|
|
579
|
+
position: sticky;
|
|
580
|
+
z-index: var(--slotted-z-index-sticky, 100);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
[data-ui-table][data-sticky-header]
|
|
584
|
+
[data-part-group-row][data-sticky]
|
|
585
|
+
> [data-part-group-header] {
|
|
586
|
+
inset-block-start: var(
|
|
587
|
+
--slotted-table-group-sticky-offset,
|
|
588
|
+
calc(var(--_row-min-block) + var(--_rule-width))
|
|
589
|
+
);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
@media (forced-colors: active) {
|
|
593
|
+
[data-ui-table] [data-part-body] > [data-part-row][data-current] {
|
|
594
|
+
outline: var(--_rule-width) solid Highlight;
|
|
595
|
+
outline-offset: calc(var(--_rule-width) * -1);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
464
599
|
/**
|
|
465
600
|
* ── Alignment and numerals ─────────────────────────────────────────────
|
|
466
601
|
*
|
|
@@ -469,25 +604,25 @@
|
|
|
469
604
|
* `start` and `end` are the logical values, so a column aligned to the end is
|
|
470
605
|
* on the right in English and on the left in Arabic.
|
|
471
606
|
*/
|
|
472
|
-
[data-ui
|
|
607
|
+
[data-ui-table] [data-align='start'] {
|
|
473
608
|
text-align: start;
|
|
474
609
|
}
|
|
475
610
|
|
|
476
|
-
[data-ui
|
|
611
|
+
[data-ui-table] [data-align='center'] {
|
|
477
612
|
text-align: center;
|
|
478
613
|
}
|
|
479
614
|
|
|
480
|
-
[data-ui
|
|
615
|
+
[data-ui-table] [data-align='end'] {
|
|
481
616
|
text-align: end;
|
|
482
617
|
}
|
|
483
618
|
|
|
484
619
|
/* A ten under a nine is only a column if the digits are the same width. The
|
|
485
620
|
alignment is inferred once, and only where the consumer stated none. */
|
|
486
|
-
[data-ui
|
|
621
|
+
[data-ui-table] [data-numeric] {
|
|
487
622
|
font-variant-numeric: tabular-nums;
|
|
488
623
|
}
|
|
489
624
|
|
|
490
|
-
[data-ui
|
|
625
|
+
[data-ui-table] [data-numeric]:not([data-align]) {
|
|
491
626
|
text-align: end;
|
|
492
627
|
}
|
|
493
628
|
|
|
@@ -498,18 +633,18 @@
|
|
|
498
633
|
* decision is that a truncated string stays readable to assistive technology
|
|
499
634
|
* and reachable in full.
|
|
500
635
|
*/
|
|
501
|
-
[data-ui
|
|
636
|
+
[data-ui-table] [data-text='wrap'] {
|
|
502
637
|
/* An identifier, a hash or a URL is one unbroken token, and every surveyed
|
|
503
638
|
table lets it set the column's width and push the rest of the table
|
|
504
639
|
sideways. */
|
|
505
640
|
overflow-wrap: anywhere;
|
|
506
641
|
}
|
|
507
642
|
|
|
508
|
-
[data-ui
|
|
643
|
+
[data-ui-table] [data-text='nowrap'] {
|
|
509
644
|
white-space: nowrap;
|
|
510
645
|
}
|
|
511
646
|
|
|
512
|
-
[data-ui
|
|
647
|
+
[data-ui-table] [data-text='truncate'] {
|
|
513
648
|
overflow: hidden;
|
|
514
649
|
text-overflow: ellipsis;
|
|
515
650
|
white-space: nowrap;
|
|
@@ -542,21 +677,33 @@
|
|
|
542
677
|
* written where the choice is made: a table wider than the page pushes the
|
|
543
678
|
* page sideways instead of scrolling inside its frame.
|
|
544
679
|
*
|
|
545
|
-
* The offset is where the header stops
|
|
546
|
-
* sets `--slotted-table-sticky-offset` once, and every table
|
|
547
|
-
* below the bar rather than under it.
|
|
680
|
+
* The offset is where the header stops under `page`. An application with a
|
|
681
|
+
* bar of its own sets `--slotted-table-sticky-offset` once, and every table
|
|
682
|
+
* under it stops below the bar rather than under it. Under `scroll` the
|
|
683
|
+
* header stops at the top of the family's own scroller and reads no offset:
|
|
684
|
+
* `page.css` binds the offset to the page's chrome for every table inside
|
|
685
|
+
* the page, and a header reading it stood that far below its own scroller's
|
|
686
|
+
* top, over the first rows. A `page` table inside a scrolling box of the
|
|
687
|
+
* consumer's own sets the offset on that box, `0` for its top edge.
|
|
548
688
|
*/
|
|
549
|
-
[data-ui
|
|
689
|
+
[data-ui-table][data-sticky-header] [data-part-column-header],
|
|
550
690
|
/* The chooser's own header is a `selection` cell and not a `column-header`,
|
|
551
691
|
and a rule naming only the second left the select-all scrolling away while
|
|
552
692
|
every column beside it stayed. */
|
|
553
|
-
[data-ui
|
|
554
|
-
inset-block-start:
|
|
693
|
+
[data-ui-table][data-sticky-header] [data-part-head] [data-part-selection] {
|
|
694
|
+
inset-block-start: 0;
|
|
555
695
|
position: sticky;
|
|
556
696
|
z-index: calc(var(--slotted-z-index-sticky, 100) + 1);
|
|
557
697
|
}
|
|
558
698
|
|
|
559
|
-
[data-ui
|
|
699
|
+
[data-ui-table][data-sticky-to='page'][data-sticky-header] [data-part-column-header],
|
|
700
|
+
[data-ui-table][data-sticky-to='page'][data-sticky-header]
|
|
701
|
+
[data-part-head]
|
|
702
|
+
[data-part-selection] {
|
|
703
|
+
inset-block-start: var(--slotted-table-sticky-offset, 0);
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
[data-ui-table][data-sticky-to='page'] [data-part-scroll] {
|
|
560
707
|
overflow: visible;
|
|
561
708
|
}
|
|
562
709
|
|
|
@@ -571,23 +718,39 @@
|
|
|
571
718
|
* It is the `tfoot` that is pinned and not the footer bar: the bar is a
|
|
572
719
|
* sibling of the scroller and never leaves it in the first place.
|
|
573
720
|
*/
|
|
574
|
-
[data-ui
|
|
575
|
-
inset-block-end:
|
|
721
|
+
[data-ui-table][data-sticky-footer] [data-part-summary] > [data-part-row] > * {
|
|
722
|
+
inset-block-end: 0;
|
|
576
723
|
position: sticky;
|
|
577
724
|
z-index: calc(var(--slotted-z-index-sticky, 100) + 1);
|
|
578
725
|
}
|
|
579
726
|
|
|
727
|
+
[data-ui-table][data-sticky-to='page'][data-sticky-footer]
|
|
728
|
+
[data-part-summary]
|
|
729
|
+
> [data-part-row]
|
|
730
|
+
> * {
|
|
731
|
+
inset-block-end: var(--slotted-table-sticky-offset-end, 0);
|
|
732
|
+
}
|
|
733
|
+
|
|
580
734
|
/* The corner again, at the bottom: a summary cell that is also a pinned
|
|
581
735
|
column takes both insets and the step above both. */
|
|
582
|
-
[data-ui
|
|
736
|
+
[data-ui-table][data-sticky-footer] [data-part-summary] [data-sticky] {
|
|
583
737
|
z-index: calc(var(--slotted-z-index-sticky, 100) + 2);
|
|
584
738
|
}
|
|
585
739
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
740
|
+
/* The ground the row is painted with, whatever state it is in, so a
|
|
741
|
+
hovered, striped or selected row keeps one colour across the seam — over
|
|
742
|
+
the page's own surface, so a row on a transparent table surface still
|
|
743
|
+
covers what scrolls under it. `inherit` copied a transparent row as is. */
|
|
744
|
+
[data-ui-table] [data-sticky] {
|
|
745
|
+
background:
|
|
746
|
+
linear-gradient(
|
|
747
|
+
var(--_pinned-ground, var(--_row-ground)),
|
|
748
|
+
var(--_pinned-ground, var(--_row-ground))
|
|
749
|
+
),
|
|
750
|
+
var(--slotted-surface, Canvas);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
[data-ui-table] [data-sticky='start'] {
|
|
591
754
|
/**
|
|
592
755
|
* Where the column stops, and it is stated rather than measured. Two
|
|
593
756
|
* columns pinned to the same edge both resolve against the scroller, so
|
|
@@ -601,15 +764,14 @@
|
|
|
601
764
|
z-index: var(--slotted-z-index-sticky, 100);
|
|
602
765
|
}
|
|
603
766
|
|
|
604
|
-
[data-ui
|
|
605
|
-
background-color: inherit;
|
|
767
|
+
[data-ui-table] [data-sticky='end'] {
|
|
606
768
|
inset-inline-end: var(--slotted-table-sticky-inset, 0);
|
|
607
769
|
position: sticky;
|
|
608
770
|
z-index: var(--slotted-z-index-sticky, 100);
|
|
609
771
|
}
|
|
610
772
|
|
|
611
|
-
[data-ui
|
|
612
|
-
[data-ui
|
|
773
|
+
[data-ui-table][data-sticky-header] [data-part-column-header][data-sticky],
|
|
774
|
+
[data-ui-table][data-sticky-header] [data-part-head] [data-part-selection][data-sticky] {
|
|
613
775
|
background-color: var(--_head-surface);
|
|
614
776
|
z-index: calc(var(--slotted-z-index-sticky, 100) + 2);
|
|
615
777
|
}
|
|
@@ -642,7 +804,7 @@
|
|
|
642
804
|
positioned box, so the line below resolves against it — and a `relative`
|
|
643
805
|
written at this point in the file would land after the sticky rules and
|
|
644
806
|
unpin every pinned column. */
|
|
645
|
-
[data-ui
|
|
807
|
+
[data-ui-table] [data-sticky]::after {
|
|
646
808
|
background-color: var(--slotted-table-border-color, var(--slotted-border-subtle));
|
|
647
809
|
content: '';
|
|
648
810
|
inline-size: var(--_rule-width);
|
|
@@ -651,11 +813,11 @@
|
|
|
651
813
|
z-index: 1;
|
|
652
814
|
}
|
|
653
815
|
|
|
654
|
-
[data-ui
|
|
816
|
+
[data-ui-table] [data-sticky='start']::after {
|
|
655
817
|
inset-inline-end: 0;
|
|
656
818
|
}
|
|
657
819
|
|
|
658
|
-
[data-ui
|
|
820
|
+
[data-ui-table] [data-sticky='end']::after {
|
|
659
821
|
inset-inline-start: 0;
|
|
660
822
|
}
|
|
661
823
|
|
|
@@ -694,7 +856,7 @@
|
|
|
694
856
|
* so does this: the header cell gives up its inset and the control takes it,
|
|
695
857
|
* so the whole header is the target rather than the words inside it.
|
|
696
858
|
*/
|
|
697
|
-
[data-ui
|
|
859
|
+
[data-ui-table] [data-part-column-header]:has(> [data-part-sort]) {
|
|
698
860
|
padding: 0;
|
|
699
861
|
}
|
|
700
862
|
|
|
@@ -728,7 +890,7 @@
|
|
|
728
890
|
* consumer's own, so their width is not a fact this family holds, and
|
|
729
891
|
* measuring it would mean reading the layout during render.
|
|
730
892
|
*/
|
|
731
|
-
[data-ui
|
|
893
|
+
[data-ui-table] [data-part-column-header]:has(> [data-part-column-actions]) {
|
|
732
894
|
/**
|
|
733
895
|
* The room is what the slot actually occupies plus one gap: the slot stands
|
|
734
896
|
* `--_pad-inline` in from the cell's edge and its control is one target
|
|
@@ -745,7 +907,7 @@
|
|
|
745
907
|
padding-inline-end: var(--_actions-room);
|
|
746
908
|
}
|
|
747
909
|
|
|
748
|
-
[data-ui
|
|
910
|
+
[data-ui-table] [data-part-column-actions] {
|
|
749
911
|
align-items: center;
|
|
750
912
|
display: inline-flex;
|
|
751
913
|
gap: var(--_gap);
|
|
@@ -754,7 +916,7 @@
|
|
|
754
916
|
position: absolute;
|
|
755
917
|
}
|
|
756
918
|
|
|
757
|
-
[data-ui
|
|
919
|
+
[data-ui-table] [data-part-sort] {
|
|
758
920
|
/* The mark is centred on the text rather than dropped at the top of the
|
|
759
921
|
line: with the default `stretch` resolving to `flex-start` under a stated
|
|
760
922
|
block size, the chevron sat two pixels above the capitals and read as a
|
|
@@ -790,11 +952,11 @@
|
|
|
790
952
|
/* An aligned column keeps its name over its values, and the mark follows the
|
|
791
953
|
name rather than the cell: a centred column reads as a centred pair, and a
|
|
792
954
|
numeric column's name and mark both stand at the edge its digits end on. */
|
|
793
|
-
[data-ui
|
|
955
|
+
[data-ui-table] [data-align='center'] > [data-part-sort] {
|
|
794
956
|
justify-content: center;
|
|
795
957
|
}
|
|
796
958
|
|
|
797
|
-
[data-ui
|
|
959
|
+
[data-ui-table] :is([data-align='end'], [data-numeric]:not([data-align])) > [data-part-sort] {
|
|
798
960
|
justify-content: end;
|
|
799
961
|
}
|
|
800
962
|
|
|
@@ -814,20 +976,20 @@
|
|
|
814
976
|
* scale holds a ground one step under this one, and mixing keeps the
|
|
815
977
|
* direction right in every scheme.
|
|
816
978
|
*/
|
|
817
|
-
[data-ui
|
|
979
|
+
[data-ui-table] [data-part-column-header]:has(> [data-part-sort]:not(:disabled)):hover {
|
|
818
980
|
background-color: var(
|
|
819
981
|
--slotted-table-header-surface-hover,
|
|
820
982
|
color-mix(in oklab, var(--slotted-text, CanvasText) 7%, var(--_head-surface))
|
|
821
983
|
);
|
|
822
984
|
}
|
|
823
985
|
|
|
824
|
-
[data-ui
|
|
986
|
+
[data-ui-table] [data-part-column-header] {
|
|
825
987
|
transition: background-color
|
|
826
988
|
var(--slotted-control-transition-duration, var(--slotted-duration-short))
|
|
827
989
|
var(--slotted-control-transition-easing, var(--slotted-easing-standard));
|
|
828
990
|
}
|
|
829
991
|
|
|
830
|
-
[data-ui
|
|
992
|
+
[data-ui-table] [data-part-sort]:focus-visible {
|
|
831
993
|
outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
|
|
832
994
|
outline-offset: calc(var(--slotted-focus-ring-offset, 2px) * -1);
|
|
833
995
|
}
|
|
@@ -842,7 +1004,7 @@
|
|
|
842
1004
|
* pointer or under focus, so the column says it can be sorted without twelve
|
|
843
1005
|
* marks competing with twelve names. The sorted column keeps its mark drawn.
|
|
844
1006
|
*/
|
|
845
|
-
[data-ui
|
|
1007
|
+
[data-ui-table] [data-part-sort] > [data-ui-icon] {
|
|
846
1008
|
--slotted-icon-size: var(--_icon-size);
|
|
847
1009
|
opacity: 0;
|
|
848
1010
|
transition:
|
|
@@ -852,19 +1014,19 @@
|
|
|
852
1014
|
var(--slotted-control-transition-easing, var(--slotted-easing-standard));
|
|
853
1015
|
}
|
|
854
1016
|
|
|
855
|
-
[data-ui
|
|
856
|
-
[data-ui
|
|
1017
|
+
[data-ui-table] [data-part-sort]:not(:disabled):hover > [data-ui-icon],
|
|
1018
|
+
[data-ui-table] [data-part-sort]:focus-visible > [data-ui-icon] {
|
|
857
1019
|
opacity: 0.55;
|
|
858
1020
|
}
|
|
859
1021
|
|
|
860
|
-
[data-ui
|
|
1022
|
+
[data-ui-table] [aria-sort] > [data-part-sort] > [data-ui-icon] {
|
|
861
1023
|
opacity: 1;
|
|
862
1024
|
}
|
|
863
1025
|
|
|
864
1026
|
/* Ascending is the same mark turned over. The rotation is animated because it
|
|
865
1027
|
is the one movement in this family a reader has to follow: the column did
|
|
866
1028
|
not change, its direction did. */
|
|
867
|
-
[data-ui
|
|
1029
|
+
[data-ui-table] [aria-sort='ascending'] > [data-part-sort] > [data-ui-icon] {
|
|
868
1030
|
rotate: 180deg;
|
|
869
1031
|
}
|
|
870
1032
|
|
|
@@ -884,7 +1046,7 @@
|
|
|
884
1046
|
* past the chooser and over the column behind it. Now one name answers both
|
|
885
1047
|
* places: this width, and the `stickyOffset` beside it.
|
|
886
1048
|
*/
|
|
887
|
-
[data-ui
|
|
1049
|
+
[data-ui-table] [data-part-selection] {
|
|
888
1050
|
inline-size: var(--slotted-table-selection-size, 3rem);
|
|
889
1051
|
padding-block: var(--_pad-block);
|
|
890
1052
|
padding-inline: var(--_pad-inline);
|
|
@@ -898,7 +1060,7 @@
|
|
|
898
1060
|
|
|
899
1061
|
/* The control is one line tall whatever the row is, so it sits on the line
|
|
900
1062
|
the axis puts it on rather than stretching down a three-line cell. */
|
|
901
|
-
[data-ui
|
|
1063
|
+
[data-ui-table] [data-part-selection] > [data-ui-checkbox] {
|
|
902
1064
|
block-size: var(--_line);
|
|
903
1065
|
}
|
|
904
1066
|
|
|
@@ -917,7 +1079,7 @@
|
|
|
917
1079
|
* be this stylesheet deciding how that one looks. The target is unaffected —
|
|
918
1080
|
* it is a separate pseudo-element, and it stays at the WCAG minimum.
|
|
919
1081
|
*/
|
|
920
|
-
[data-ui
|
|
1082
|
+
[data-ui-table] [data-part-selection] {
|
|
921
1083
|
--slotted-selection-halo-opacity: 0;
|
|
922
1084
|
}
|
|
923
1085
|
|
|
@@ -929,7 +1091,7 @@
|
|
|
929
1091
|
* expander inside the row header moved one identifier and left the column
|
|
930
1092
|
* ragged.
|
|
931
1093
|
*/
|
|
932
|
-
[data-ui
|
|
1094
|
+
[data-ui-table] [data-part-cell]:has(> [data-part-expander]) {
|
|
933
1095
|
inline-size: 1%;
|
|
934
1096
|
padding-inline-end: 0;
|
|
935
1097
|
white-space: nowrap;
|
|
@@ -945,7 +1107,7 @@
|
|
|
945
1107
|
* out. `display: contents` removes both wrappers from layout and leaves the
|
|
946
1108
|
* button as the slot's own child, which is the box tree React already has.
|
|
947
1109
|
*/
|
|
948
|
-
[data-ui
|
|
1110
|
+
[data-ui-table] [data-part-column-actions] *:has([data-part-filter]) {
|
|
949
1111
|
display: contents;
|
|
950
1112
|
}
|
|
951
1113
|
|
|
@@ -957,10 +1119,10 @@
|
|
|
957
1119
|
* turn when the detail is open — and mirrored in a right-to-left document,
|
|
958
1120
|
* where a closed disclosure points the other way.
|
|
959
1121
|
*/
|
|
960
|
-
[data-ui
|
|
961
|
-
[data-ui
|
|
962
|
-
[data-ui
|
|
963
|
-
[data-ui
|
|
1122
|
+
[data-ui-table] [data-part-expander],
|
|
1123
|
+
[data-ui-table] [data-part-column-actions] > button,
|
|
1124
|
+
[data-ui-table] button[data-part-column-actions],
|
|
1125
|
+
[data-ui-table] [data-part-filter] {
|
|
964
1126
|
background-color: transparent;
|
|
965
1127
|
border: 0;
|
|
966
1128
|
border-radius: var(--slotted-table-control-radius, var(--slotted-radius-sm, 4px));
|
|
@@ -1001,39 +1163,39 @@
|
|
|
1001
1163
|
* back across them.
|
|
1002
1164
|
*/
|
|
1003
1165
|
@media (pointer: coarse) {
|
|
1004
|
-
[data-ui
|
|
1005
|
-
[data-ui
|
|
1006
|
-
[data-ui
|
|
1007
|
-
[data-ui
|
|
1166
|
+
[data-ui-table] [data-part-expander],
|
|
1167
|
+
[data-ui-table] [data-part-column-actions] > button,
|
|
1168
|
+
[data-ui-table] button[data-part-column-actions],
|
|
1169
|
+
[data-ui-table] [data-part-filter] {
|
|
1008
1170
|
position: relative;
|
|
1009
1171
|
}
|
|
1010
1172
|
|
|
1011
|
-
[data-ui
|
|
1012
|
-
[data-ui
|
|
1013
|
-
[data-ui
|
|
1014
|
-
[data-ui
|
|
1173
|
+
[data-ui-table] [data-part-expander]::after,
|
|
1174
|
+
[data-ui-table] [data-part-column-actions] > button::after,
|
|
1175
|
+
[data-ui-table] button[data-part-column-actions]::after,
|
|
1176
|
+
[data-ui-table] [data-part-filter]::after {
|
|
1015
1177
|
content: '';
|
|
1016
1178
|
inset: min(0px, calc((100% - var(--slotted-target-comfortable, 44px)) / 2));
|
|
1017
1179
|
position: absolute;
|
|
1018
1180
|
}
|
|
1019
1181
|
|
|
1020
|
-
[data-ui
|
|
1021
|
-
[data-ui
|
|
1022
|
-
[data-ui
|
|
1182
|
+
[data-ui-table] [data-part-column-actions] > button::after,
|
|
1183
|
+
[data-ui-table] button[data-part-column-actions]::after,
|
|
1184
|
+
[data-ui-table] [data-part-filter]::after {
|
|
1023
1185
|
inset-inline-start: 0;
|
|
1024
1186
|
}
|
|
1025
1187
|
}
|
|
1026
1188
|
|
|
1027
|
-
[data-ui
|
|
1189
|
+
[data-ui-table] [data-part-expander]:not(:disabled):hover {
|
|
1028
1190
|
background-color: var(--_hover);
|
|
1029
1191
|
color: var(--_text);
|
|
1030
1192
|
}
|
|
1031
1193
|
|
|
1032
1194
|
/* On the band the hover darkens, for the reason the sort control's does: the
|
|
1033
1195
|
step a row hovers with is lighter than the band and reads as a hole in it. */
|
|
1034
|
-
[data-ui
|
|
1035
|
-
[data-ui
|
|
1036
|
-
[data-ui
|
|
1196
|
+
[data-ui-table] [data-part-column-actions] > button:not(:disabled):hover,
|
|
1197
|
+
[data-ui-table] button[data-part-column-actions]:not(:disabled):hover,
|
|
1198
|
+
[data-ui-table] [data-part-filter]:not(:disabled):hover {
|
|
1037
1199
|
background-color: var(
|
|
1038
1200
|
--slotted-table-header-surface-hover,
|
|
1039
1201
|
color-mix(in oklab, var(--slotted-text, CanvasText) 7%, var(--_head-surface))
|
|
@@ -1046,10 +1208,10 @@
|
|
|
1046
1208
|
because both stand against an edge the ring would otherwise cross; these
|
|
1047
1209
|
are 24-pixel boxes inside a cell's own inset, and read at that size an
|
|
1048
1210
|
inward ring closed on the chevron. */
|
|
1049
|
-
[data-ui
|
|
1050
|
-
[data-ui
|
|
1051
|
-
[data-ui
|
|
1052
|
-
[data-ui
|
|
1211
|
+
[data-ui-table] [data-part-expander]:focus-visible,
|
|
1212
|
+
[data-ui-table] [data-part-column-actions] > button:focus-visible,
|
|
1213
|
+
[data-ui-table] button[data-part-column-actions]:focus-visible,
|
|
1214
|
+
[data-ui-table] [data-part-filter]:focus-visible {
|
|
1053
1215
|
outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
|
|
1054
1216
|
outline-offset: 0;
|
|
1055
1217
|
}
|
|
@@ -1062,7 +1224,7 @@
|
|
|
1062
1224
|
* nineteen and a half — the control scale is right for a control in a form
|
|
1063
1225
|
* and wrong for a mark in a header.
|
|
1064
1226
|
*/
|
|
1065
|
-
[data-ui
|
|
1227
|
+
[data-ui-table] :is([data-part-column-actions], [data-part-filter]) :is(svg, img) {
|
|
1066
1228
|
block-size: var(--_icon-size);
|
|
1067
1229
|
inline-size: var(--_icon-size);
|
|
1068
1230
|
}
|
|
@@ -1075,8 +1237,8 @@
|
|
|
1075
1237
|
* accent ink and holds it whether the pointer is on it or not, because a
|
|
1076
1238
|
* filter a reader forgot they set is the defect this state exists to prevent.
|
|
1077
1239
|
*/
|
|
1078
|
-
[data-ui
|
|
1079
|
-
[data-ui
|
|
1240
|
+
[data-ui-table] [data-part-filter][data-filtered],
|
|
1241
|
+
[data-ui-table] [data-part-filter][data-filtered]:not(:disabled):hover {
|
|
1080
1242
|
color: var(--slotted-tone-accent-text, LinkText);
|
|
1081
1243
|
}
|
|
1082
1244
|
|
|
@@ -1084,17 +1246,17 @@
|
|
|
1084
1246
|
* The panel, which is drawn wherever `popover` puts it — inside the header or
|
|
1085
1247
|
* portalled to the end of the document. So it carries the family's identity
|
|
1086
1248
|
* on itself rather than reading it from an ancestor: a rule that reached for
|
|
1087
|
-
* `[data-ui
|
|
1249
|
+
* `[data-ui-table]` above would style the panel in one of the two.
|
|
1088
1250
|
*
|
|
1089
1251
|
* And it declares the values it uses rather than reading them from the root,
|
|
1090
|
-
* for the same reason. Every `--_` above is declared on `[data-part
|
|
1252
|
+
* for the same reason. Every `--_` above is declared on `[data-part-root]`;
|
|
1091
1253
|
* portalled to the end of the document the panel is not inside it, and a
|
|
1092
1254
|
* custom property that resolves to nothing takes its whole declaration with
|
|
1093
1255
|
* it — `gap: var(--_gap)` became no gap at all, silently, in the one
|
|
1094
1256
|
* arrangement `popover` uses by default. The eight below are the panel's own,
|
|
1095
1257
|
* from the same theme tokens the root reads.
|
|
1096
1258
|
*/
|
|
1097
|
-
[data-ui
|
|
1259
|
+
[data-ui-table][data-part-filter-panel] {
|
|
1098
1260
|
--_gap: var(--slotted-table-gap, var(--slotted-control-gap-md, 8px));
|
|
1099
1261
|
--_font-size: var(--slotted-table-font-size, var(--slotted-control-font-size-md, 13px));
|
|
1100
1262
|
--_line: calc(var(--_font-size) * var(--slotted-line-height-md, 1.5));
|
|
@@ -1164,13 +1326,13 @@
|
|
|
1164
1326
|
* rather than set on a row, because an operator name is the widest thing in
|
|
1165
1327
|
* the panel and a row would give the value what was left of 15rem.
|
|
1166
1328
|
*/
|
|
1167
|
-
[data-ui
|
|
1329
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-condition] {
|
|
1168
1330
|
display: grid;
|
|
1169
1331
|
gap: calc(var(--_gap) / 2);
|
|
1170
1332
|
}
|
|
1171
1333
|
|
|
1172
|
-
[data-ui
|
|
1173
|
-
[data-ui
|
|
1334
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-operator],
|
|
1335
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-search] {
|
|
1174
1336
|
display: block;
|
|
1175
1337
|
}
|
|
1176
1338
|
|
|
@@ -1185,14 +1347,14 @@
|
|
|
1185
1347
|
* way round: two number fields side by side in a 15rem panel are two fields
|
|
1186
1348
|
* nobody can read.
|
|
1187
1349
|
*/
|
|
1188
|
-
[data-ui
|
|
1350
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-operand] {
|
|
1189
1351
|
display: grid;
|
|
1190
1352
|
gap: calc(var(--_gap) / 2);
|
|
1191
1353
|
grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
|
|
1192
1354
|
}
|
|
1193
1355
|
|
|
1194
1356
|
/* A set's operand is a search and a list, which own their own stacking. */
|
|
1195
|
-
[data-ui
|
|
1357
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-operand][data-kind='set'] {
|
|
1196
1358
|
grid-template-columns: 1fr;
|
|
1197
1359
|
gap: var(--_gap);
|
|
1198
1360
|
}
|
|
@@ -1210,9 +1372,9 @@
|
|
|
1210
1372
|
* one field, and the field takes the panel's width so the wrapping has
|
|
1211
1373
|
* somewhere to go.
|
|
1212
1374
|
*/
|
|
1213
|
-
[data-ui
|
|
1214
|
-
[data-ui
|
|
1215
|
-
[data-ui
|
|
1375
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-operand][data-range],
|
|
1376
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-operand][data-kind='datetime'],
|
|
1377
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-operand][data-operand='tags'] {
|
|
1216
1378
|
grid-template-columns: 1fr;
|
|
1217
1379
|
}
|
|
1218
1380
|
|
|
@@ -1225,8 +1387,8 @@
|
|
|
1225
1387
|
* `between` is one range picker, marked `data-range`, and this rule stands
|
|
1226
1388
|
* after the one above, so it steps aside for that mark.
|
|
1227
1389
|
*/
|
|
1228
|
-
[data-ui
|
|
1229
|
-
[data-part
|
|
1390
|
+
[data-ui-table][data-part-filter-panel]
|
|
1391
|
+
[data-part-filter-operand][data-kind='time']:not([data-range]) {
|
|
1230
1392
|
grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
|
|
1231
1393
|
}
|
|
1232
1394
|
|
|
@@ -1235,7 +1397,7 @@
|
|
|
1235
1397
|
* conditions are separate boxes and the reader has to see where the first ends
|
|
1236
1398
|
* before being asked how the second joins it.
|
|
1237
1399
|
*/
|
|
1238
|
-
[data-ui
|
|
1400
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-join] {
|
|
1239
1401
|
align-items: center;
|
|
1240
1402
|
border-block-start: var(--_rule-width) solid var(--_rule);
|
|
1241
1403
|
display: flex;
|
|
@@ -1244,7 +1406,7 @@
|
|
|
1244
1406
|
padding-block-start: var(--_gap);
|
|
1245
1407
|
}
|
|
1246
1408
|
|
|
1247
|
-
[data-ui
|
|
1409
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-join] > [data-label] {
|
|
1248
1410
|
color: var(--_muted);
|
|
1249
1411
|
}
|
|
1250
1412
|
|
|
@@ -1253,7 +1415,7 @@
|
|
|
1253
1415
|
* than the screen. Eight rows is the height a set filter opens at in AG Grid
|
|
1254
1416
|
* and about the height Excel's opens at; past that the reader searches.
|
|
1255
1417
|
*/
|
|
1256
|
-
[data-ui
|
|
1418
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-list] {
|
|
1257
1419
|
display: grid;
|
|
1258
1420
|
gap: var(--_gap);
|
|
1259
1421
|
max-block-size: calc(var(--_line) * 9);
|
|
@@ -1273,7 +1435,7 @@
|
|
|
1273
1435
|
* pulled out to the panel's inset so it reads as a row rather than as a box
|
|
1274
1436
|
* around the words.
|
|
1275
1437
|
*/
|
|
1276
|
-
[data-ui
|
|
1438
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-option] {
|
|
1277
1439
|
--slotted-selection-halo-opacity: 0;
|
|
1278
1440
|
|
|
1279
1441
|
align-items: center;
|
|
@@ -1285,26 +1447,25 @@
|
|
|
1285
1447
|
padding-inline: var(--_gap);
|
|
1286
1448
|
}
|
|
1287
1449
|
|
|
1288
|
-
[data-ui
|
|
1289
|
-
[data-part='filter-option']:not([data-disabled]):hover {
|
|
1450
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-option]:not([data-disabled]):hover {
|
|
1290
1451
|
background-color: var(--_hover);
|
|
1291
1452
|
}
|
|
1292
1453
|
|
|
1293
1454
|
/* The count is the consumer's fact about their own query, so it is set apart
|
|
1294
1455
|
from the value rather than beside it as a second label. */
|
|
1295
|
-
[data-ui
|
|
1456
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-option] > [data-count] {
|
|
1296
1457
|
color: var(--_muted);
|
|
1297
1458
|
font-variant-numeric: tabular-nums;
|
|
1298
1459
|
}
|
|
1299
1460
|
|
|
1300
1461
|
/* The covering checkbox is a row of the same list and a boundary at once: it
|
|
1301
1462
|
answers for everything under it, so the rule says where "everything" ends. */
|
|
1302
|
-
[data-ui
|
|
1463
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-option][data-covering] {
|
|
1303
1464
|
border-block-end: var(--_rule-width) solid var(--_rule);
|
|
1304
1465
|
padding-block-end: var(--_gap);
|
|
1305
1466
|
}
|
|
1306
1467
|
|
|
1307
|
-
[data-ui
|
|
1468
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-empty] {
|
|
1308
1469
|
color: var(--_muted);
|
|
1309
1470
|
padding-block: var(--_pad-block);
|
|
1310
1471
|
text-align: center;
|
|
@@ -1312,7 +1473,7 @@
|
|
|
1312
1473
|
|
|
1313
1474
|
/* Clear at the leading edge and Apply at the trailing one: the destructive
|
|
1314
1475
|
answer is farthest from the one a reader presses without reading. */
|
|
1315
|
-
[data-ui
|
|
1476
|
+
[data-ui-table][data-part-filter-panel] [data-part-filter-actions] {
|
|
1316
1477
|
border-block-start: var(--_rule-width) solid var(--_rule);
|
|
1317
1478
|
display: flex;
|
|
1318
1479
|
gap: var(--_gap);
|
|
@@ -1321,25 +1482,25 @@
|
|
|
1321
1482
|
}
|
|
1322
1483
|
|
|
1323
1484
|
/* The chevron is the `Glyph` the binding draws inside the button. */
|
|
1324
|
-
[data-ui
|
|
1485
|
+
[data-ui-table] [data-part-expander] > [data-ui-icon] {
|
|
1325
1486
|
--slotted-icon-size: var(--_icon-size);
|
|
1326
1487
|
rotate: 0deg;
|
|
1327
1488
|
transition: rotate var(--slotted-control-transition-duration, var(--slotted-duration-short))
|
|
1328
1489
|
var(--slotted-control-transition-easing, var(--slotted-easing-standard));
|
|
1329
1490
|
}
|
|
1330
1491
|
|
|
1331
|
-
[data-ui
|
|
1492
|
+
[data-ui-table] [data-part-expander][aria-expanded='true'] > [data-ui-icon] {
|
|
1332
1493
|
rotate: 90deg;
|
|
1333
1494
|
}
|
|
1334
1495
|
|
|
1335
1496
|
/* A chevron is direction-sensitive artwork, so it is mirrored rather than
|
|
1336
1497
|
reused: a closed row in Arabic points to the start of the line, which is
|
|
1337
1498
|
the right-hand side. */
|
|
1338
|
-
[data-ui
|
|
1499
|
+
[data-ui-table]:dir(rtl) [data-part-expander] > [data-ui-icon] {
|
|
1339
1500
|
scale: -1 1;
|
|
1340
1501
|
}
|
|
1341
1502
|
|
|
1342
|
-
[data-ui
|
|
1503
|
+
[data-ui-table]:dir(rtl) [data-part-expander][aria-expanded='true'] > [data-ui-icon] {
|
|
1343
1504
|
rotate: -90deg;
|
|
1344
1505
|
}
|
|
1345
1506
|
|
|
@@ -1351,25 +1512,25 @@
|
|
|
1351
1512
|
* reach, and it takes the sunken ground so the record it belongs to still
|
|
1352
1513
|
* reads as one thing.
|
|
1353
1514
|
*/
|
|
1354
|
-
[data-ui
|
|
1515
|
+
[data-ui-table] [data-part-detail] {
|
|
1355
1516
|
background-color: var(--_stripe);
|
|
1356
1517
|
}
|
|
1357
1518
|
|
|
1358
|
-
[data-ui
|
|
1519
|
+
[data-ui-table] [data-part-detail] > [data-part-cell] {
|
|
1359
1520
|
padding-block: var(--_pad-block);
|
|
1360
1521
|
padding-inline: var(--_pad-inline);
|
|
1361
1522
|
}
|
|
1362
1523
|
|
|
1363
1524
|
/* A detail row is not a record, so it takes no stripe of its own and never
|
|
1364
1525
|
shifts the alternation of the rows around it. */
|
|
1365
|
-
[data-ui
|
|
1526
|
+
[data-ui-table][data-striped] [data-part-body] > [data-part-detail] {
|
|
1366
1527
|
background-color: var(--_stripe);
|
|
1367
1528
|
}
|
|
1368
1529
|
|
|
1369
1530
|
/**
|
|
1370
1531
|
* ── Empty and loading ──────────────────────────────────────────────────
|
|
1371
1532
|
*/
|
|
1372
|
-
[data-ui
|
|
1533
|
+
[data-ui-table] [data-part-empty] {
|
|
1373
1534
|
color: var(--_muted);
|
|
1374
1535
|
padding-block: var(--slotted-space-9, 2rem);
|
|
1375
1536
|
padding-inline: var(--_pad-inline);
|
|
@@ -1379,7 +1540,7 @@
|
|
|
1379
1540
|
/* The skeleton rows of a first load. The shapes are `skeleton`'s own; what
|
|
1380
1541
|
this family supplies is the row that holds them, so the table's shape is
|
|
1381
1542
|
visible before its content arrives. */
|
|
1382
|
-
[data-ui
|
|
1543
|
+
[data-ui-table] [data-part-loader] > [data-part-row] > * {
|
|
1383
1544
|
padding-block: var(--_pad-block);
|
|
1384
1545
|
padding-inline: var(--_pad-inline);
|
|
1385
1546
|
}
|
|
@@ -1389,7 +1550,7 @@
|
|
|
1389
1550
|
* body dims and nothing moves: the column widths are the table's, the scroll
|
|
1390
1551
|
* position is the reader's, and swapping rows for skeletons would take both.
|
|
1391
1552
|
*/
|
|
1392
|
-
[data-ui
|
|
1553
|
+
[data-ui-table][data-loading] [data-part-body] {
|
|
1393
1554
|
opacity: 0.55;
|
|
1394
1555
|
transition: opacity var(--slotted-control-transition-duration, var(--slotted-duration-short))
|
|
1395
1556
|
var(--slotted-control-transition-easing, var(--slotted-easing-standard));
|
|
@@ -1404,7 +1565,9 @@
|
|
|
1404
1565
|
* kind of boundary — and it is not the `footer`, which is a bar outside the
|
|
1405
1566
|
* table holding the consumer's own controls.
|
|
1406
1567
|
*/
|
|
1407
|
-
[data-ui
|
|
1568
|
+
[data-ui-table] [data-part-summary] > [data-part-row] > * {
|
|
1569
|
+
--_pinned-ground: var(--_head-surface);
|
|
1570
|
+
|
|
1408
1571
|
background-color: var(--_head-surface);
|
|
1409
1572
|
border-block-start: var(--_rule-width) solid var(--_rule-strong);
|
|
1410
1573
|
font-weight: var(--slotted-font-weight-medium, 500);
|
|
@@ -1412,7 +1575,9 @@
|
|
|
1412
1575
|
padding-inline: var(--_pad-inline);
|
|
1413
1576
|
}
|
|
1414
1577
|
|
|
1415
|
-
[data-ui
|
|
1578
|
+
[data-ui-table][data-variant='plain'] [data-part-summary] > [data-part-row] > * {
|
|
1579
|
+
--_pinned-ground: transparent;
|
|
1580
|
+
|
|
1416
1581
|
background-color: transparent;
|
|
1417
1582
|
}
|
|
1418
1583
|
|
|
@@ -1428,7 +1593,7 @@
|
|
|
1428
1593
|
* a count, a bulk-action bar. The family draws the rule above it and the
|
|
1429
1594
|
* inset around it, and nothing else.
|
|
1430
1595
|
*/
|
|
1431
|
-
[data-ui
|
|
1596
|
+
[data-ui-table] [data-part-footer] {
|
|
1432
1597
|
align-items: center;
|
|
1433
1598
|
border-block-start: var(--_rule-width) solid var(--_rule);
|
|
1434
1599
|
display: flex;
|
|
@@ -1450,7 +1615,7 @@
|
|
|
1450
1615
|
* So the bar states the room instead of asking for it, and a control that
|
|
1451
1616
|
* wants to sit at the trailing edge justifies itself there.
|
|
1452
1617
|
*/
|
|
1453
|
-
[data-ui
|
|
1618
|
+
[data-ui-table] [data-part-footer] > :last-child {
|
|
1454
1619
|
flex: 1 1 auto;
|
|
1455
1620
|
/* And it aligns its own content to the trailing edge, which is where a
|
|
1456
1621
|
listing screen puts its paging control. The rule is structural rather
|
|
@@ -1467,15 +1632,15 @@
|
|
|
1467
1632
|
* repeats at the top of every printed page.
|
|
1468
1633
|
*/
|
|
1469
1634
|
@media print {
|
|
1470
|
-
[data-ui
|
|
1635
|
+
[data-ui-table] [data-part-scroll] {
|
|
1471
1636
|
max-block-size: none;
|
|
1472
1637
|
overflow: visible;
|
|
1473
1638
|
}
|
|
1474
1639
|
|
|
1475
|
-
[data-ui
|
|
1476
|
-
[data-ui
|
|
1477
|
-
[data-ui
|
|
1478
|
-
[data-ui
|
|
1640
|
+
[data-ui-table][data-sticky-header] [data-part-column-header],
|
|
1641
|
+
[data-ui-table][data-sticky-header] [data-part-head] [data-part-selection],
|
|
1642
|
+
[data-ui-table][data-sticky-footer] [data-part-summary] > [data-part-row] > *,
|
|
1643
|
+
[data-ui-table] [data-sticky] {
|
|
1479
1644
|
position: static;
|
|
1480
1645
|
}
|
|
1481
1646
|
}
|