@threadlabs/looma 0.51.5 → 0.52.0
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/README.md +4 -4
- package/components/shared/overlay.js +7 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -0
- package/components/ui-calendar/ui-calendar.js +11 -7
- package/components/ui-card/ui-card.html +7 -0
- package/components/ui-date-field/ui-date-field.js +0 -5
- package/components/ui-disclosure/ui-disclosure.js +19 -4
- package/components/ui-editor-link-form/ui-editor-link-form.js +5 -0
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +10 -1
- package/components/ui-file-input/ui-file-input.js +0 -2
- package/components/ui-status-message/ui-status-message.html +1 -0
- package/components/ui-tabs/ui-tabs.html +1 -0
- package/components/ui-tooltip/ui-tooltip.html +11 -32
- package/dist/index.js +14 -8
- package/docs/catalog.json +592 -131
- package/editor/components.css +530 -551
- package/editor/index.js +72 -47
- package/package.json +30 -35
- package/styles/ui-action-bar.css +8 -8
- package/styles/ui-affordance-scope.css +10 -10
- package/styles/ui-avatar-group.css +11 -11
- package/styles/ui-avatar.css +14 -14
- package/styles/ui-badge.css +67 -67
- package/styles/ui-breadcrumb-item.css +10 -10
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +99 -99
- package/styles/ui-calendar.css +1 -1
- package/styles/ui-callout.css +14 -14
- package/styles/ui-card-group.css +11 -11
- package/styles/ui-card.css +40 -35
- package/styles/ui-checkbox.css +28 -28
- package/styles/ui-cluster.css +30 -30
- package/styles/ui-color-picker.css +16 -16
- package/styles/ui-combobox.css +50 -50
- package/styles/ui-compact-content.css +1 -1
- package/styles/ui-compact-editor.css +1 -1
- package/styles/ui-compact-mark.css +1 -1
- package/styles/ui-compact-node.css +1 -1
- package/styles/ui-container.css +14 -14
- package/styles/ui-context-menu.css +8 -8
- package/styles/ui-cover.css +9 -9
- package/styles/ui-curve-editor.css +9 -9
- package/styles/ui-cycle-button.css +10 -10
- package/styles/ui-date-field.css +1 -1
- package/styles/ui-date-picker.css +1 -1
- package/styles/ui-date-range-picker.css +1 -1
- package/styles/ui-description-item.css +8 -8
- package/styles/ui-description-list.css +18 -18
- package/styles/ui-dialog.css +37 -37
- package/styles/ui-disclosure.css +26 -26
- package/styles/ui-editable.css +13 -13
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-footnote-editor.css +1 -1
- package/styles/ui-editor-formatting-tools.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +9 -9
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +13 -15
- package/styles/ui-editor-mention-menu.css +12 -12
- package/styles/ui-editor-slash-menu-group.css +7 -7
- package/styles/ui-editor-slash-menu-item.css +12 -12
- package/styles/ui-editor-slash-menu.css +13 -13
- package/styles/ui-editor-surface.css +8 -8
- package/styles/ui-editor-table-context-menu.css +19 -15
- package/styles/ui-editor-table-overlay.css +15 -15
- package/styles/ui-editor-table-toolbar.css +19 -19
- package/styles/ui-editor-toolbar.css +16 -16
- package/styles/ui-editor.css +1 -1
- package/styles/ui-file-input.css +1 -1
- package/styles/ui-floating-action-button.css +14 -14
- package/styles/ui-form-field.css +9 -9
- package/styles/ui-grid.css +19 -19
- package/styles/ui-icon-button.css +73 -73
- package/styles/ui-icon.css +11 -11
- package/styles/ui-image.css +23 -23
- package/styles/ui-input-group.css +26 -26
- package/styles/ui-input.css +23 -23
- package/styles/ui-light-editor.css +15 -15
- package/styles/ui-list-item.css +25 -25
- package/styles/ui-list.css +16 -16
- package/styles/ui-listbox.css +22 -22
- package/styles/ui-menu-group.css +7 -7
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +20 -20
- package/styles/ui-meter.css +32 -32
- package/styles/ui-nav-item.css +18 -18
- package/styles/ui-number-input.css +12 -12
- package/styles/ui-page-header.css +10 -10
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +17 -17
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +25 -25
- package/styles/ui-reel.css +21 -21
- package/styles/ui-scroll-area.css +20 -20
- package/styles/ui-search-result-row.css +16 -16
- package/styles/ui-search-shell.css +10 -10
- package/styles/ui-section.css +18 -18
- package/styles/ui-select.css +22 -22
- package/styles/ui-separator.css +12 -12
- package/styles/ui-sidebar.css +26 -26
- package/styles/ui-site-header.css +65 -65
- package/styles/ui-skeleton.css +18 -18
- package/styles/ui-slider.css +11 -11
- package/styles/ui-spinner.css +9 -9
- package/styles/ui-stack.css +22 -22
- package/styles/ui-status-message.css +12 -12
- package/styles/ui-swatch.css +14 -14
- package/styles/ui-switch.css +23 -23
- package/styles/ui-switcher.css +20 -20
- package/styles/ui-table.css +12 -12
- package/styles/ui-tabs.css +18 -17
- package/styles/ui-text.css +40 -40
- package/styles/ui-textarea.css +21 -21
- package/styles/ui-time-field.css +1 -1
- package/styles/ui-time-picker.css +1 -1
- package/styles/ui-toast-region.css +29 -29
- package/styles/ui-toast.css +19 -19
- package/styles/ui-tooltip.css +37 -58
- package/styles/ui-top-bar.css +8 -8
- package/styles/ui-tree-item.css +112 -112
- package/styles/ui-tree.css +11 -11
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +2 -2
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +2 -2
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +2 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +5 -5
- package/vanilla/UiCalendar.d.ts +1 -1
- package/vanilla/UiCalendar.js +10 -10
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +2 -2
- package/vanilla/UiCard.d.ts +2 -1
- package/vanilla/UiCard.js +18 -18
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +2 -2
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +2 -2
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +8 -8
- package/vanilla/UiCompactContent.d.ts +1 -1
- package/vanilla/UiCompactContent.js +4 -4
- package/vanilla/UiCompactEditor.d.ts +1 -1
- package/vanilla/UiCompactEditor.js +2 -2
- package/vanilla/UiCompactMark.d.ts +1 -1
- package/vanilla/UiCompactMark.js +5 -5
- package/vanilla/UiCompactNode.d.ts +1 -1
- package/vanilla/UiCompactNode.js +8 -8
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +2 -2
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +2 -2
- package/vanilla/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +2 -2
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.js +2 -2
- package/vanilla/UiDateField.d.ts +1 -1
- package/vanilla/UiDateField.js +2 -2
- package/vanilla/UiDatePicker.d.ts +1 -1
- package/vanilla/UiDatePicker.js +2 -2
- package/vanilla/UiDateRangePicker.d.ts +1 -1
- package/vanilla/UiDateRangePicker.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +2 -2
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +2 -2
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditor.d.ts +1 -1
- package/vanilla/UiEditor.js +6 -6
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +2 -2
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +2 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +4 -4
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +2 -2
- package/vanilla/UiEditorFormattingTools.d.ts +1 -1
- package/vanilla/UiEditorFormattingTools.js +4 -4
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +4 -4
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +2 -2
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +4 -4
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +4 -4
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +2 -2
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +4 -4
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +2 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +2 -2
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +2 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +7 -6
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +5 -5
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +8 -8
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +2 -2
- package/vanilla/UiFileInput.d.ts +1 -1
- package/vanilla/UiFileInput.js +4 -4
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +2 -2
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +2 -2
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +4 -4
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +2 -2
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +2 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +3 -3
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +2 -2
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +5 -5
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +2 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +3 -3
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +4 -4
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +3 -3
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +2 -2
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +2 -2
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +2 -2
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +2 -2
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +2 -2
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +3 -3
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +2 -2
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +2 -2
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +2 -2
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +2 -2
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +2 -2
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +2 -2
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +2 -2
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +2 -2
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +2 -2
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +13 -13
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +2 -2
- package/vanilla/UiTimeField.d.ts +1 -1
- package/vanilla/UiTimeField.js +2 -2
- package/vanilla/UiTimePicker.d.ts +1 -1
- package/vanilla/UiTimePicker.js +6 -6
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +2 -2
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +2 -2
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +2 -2
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +2 -2
- package/bin/looma-docs.mjs +0 -3
- package/docs/README.md +0 -323
- package/docs/card.html +0 -79
- package/docs/card.js +0 -18
- package/docs/catalog-view.js +0 -24
- package/docs/catalog-view.mjs +0 -13
- package/docs/catalog.mjs +0 -131
- package/docs/cli.mjs +0 -26
- package/docs/commands.mjs +0 -94
- package/docs/customizer-render.mjs +0 -157
- package/docs/customizer.js +0 -494
- package/docs/documentation.css +0 -14
- package/docs/example-invocations.mjs +0 -63
- package/docs/fonts.mjs +0 -73
- package/docs/framework-examples.d.mts +0 -9
- package/docs/framework-examples.mjs +0 -195
- package/docs/index.d.ts +0 -59
- package/docs/index.mjs +0 -4
- package/docs/local-server.mjs +0 -65
- package/docs/navigation.mjs +0 -26
- package/docs/palette.mjs +0 -68
- package/docs/pastoral.svg +0 -54
- package/docs/portrait.svg +0 -15
- package/docs/reference.html +0 -1
- package/docs/reference.js +0 -36
- package/docs/render.mjs +0 -97
- package/docs/site.mjs +0 -237
- package/docs/store.mjs +0 -92
- package/docs/theme-session.mjs +0 -72
- package/docs/theme.mjs +0 -669
- package/docs/value-editors.mjs +0 -37
- package/docs/workspace.mjs +0 -32
package/editor/components.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-button"] { --html-next-scope-owner: "ui-button" !important; }
|
|
7
|
+
:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])) { --html-next-scope-owner: "ui-button" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-button"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-button"]) {
|
|
9
|
+
@scope (:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) {
|
|
11
11
|
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
12
12
|
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
13
13
|
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* Explicit interaction palettes reuse the resting palette bindings, without changing geometry. */
|
|
24
|
-
:scope:where([data-component~="ui-button"]),
|
|
25
|
-
:scope:where([data-component~="ui-button"])[data-interaction-tone]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
24
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))),
|
|
25
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
26
26
|
--_tone-border: var(--ui-accent-border, var(--ui-accent));
|
|
27
27
|
--_tone-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
28
28
|
--_tone-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
--_interaction-card-border: var(--_tone-text);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
:scope:where([data-component~="ui-button"]) {
|
|
57
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) {
|
|
58
58
|
display: inline-flex !important;
|
|
59
59
|
align-items: center !important;
|
|
60
60
|
justify-content: center !important;
|
|
@@ -63,21 +63,21 @@
|
|
|
63
63
|
color: var(--_tone-text);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
:scope:where([data-component~="ui-button"]):dir(rtl) {
|
|
66
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):dir(rtl) {
|
|
67
67
|
--_ui-action-start: -1px;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
:scope:where([data-component~="ui-button"])[data-ui-button-state~="align=start"] {
|
|
70
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="align=start"] {
|
|
71
71
|
justify-content: flex-start !important;
|
|
72
72
|
text-align: start;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
:scope:where([data-component~="ui-button"])[data-ui-button-state~="stretch"] {
|
|
75
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="stretch"] {
|
|
76
76
|
display: flex !important;
|
|
77
77
|
inline-size: 100%;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
:scope:where([data-component~="ui-button"]) {
|
|
80
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) {
|
|
81
81
|
--_button-square-size: var(--ui-button-min-block-size, var(--ui-control-size-md));
|
|
82
82
|
box-sizing: border-box !important;
|
|
83
83
|
appearance: none;
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
113
|
-
:scope:where([data-component~="ui-button"]):is(a) {
|
|
113
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):is(a) {
|
|
114
114
|
text-decoration: none;
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
|
|
123
123
|
/* A count is an adornment, not another line of label text. Keep the standard control height
|
|
124
124
|
with enough inset for a 24px mark; large content can still grow the button naturally. */
|
|
125
|
-
:scope:where([data-component~="ui-button"]):not([data-appearance="link"]):has(.badge:not(:empty)) {
|
|
125
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):not([data-appearance="link"]):has(.badge:not(:empty)) {
|
|
126
126
|
padding-block: var(--ui-space-0-5) !important;
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
text-box-trim: none;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
:scope:where([data-component~="ui-button"])[data-ui-button-state~="align=start"] .label {
|
|
145
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="align=start"] .label {
|
|
146
146
|
flex: 1;
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -163,25 +163,25 @@
|
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"] {
|
|
166
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=xs"] {
|
|
167
167
|
--_button-square-size: var(--ui-control-size-xs);
|
|
168
168
|
min-block-size: var(--ui-control-size-xs);
|
|
169
169
|
padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25) !important;
|
|
170
170
|
font-size: var(--ui-font-size-xs);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
:scope:where([data-component~="ui-button"])[data-ui-button-state~="shape=pill"] {
|
|
173
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="shape=pill"] {
|
|
174
174
|
border-radius: var(--ui-button-radius, var(--ui-radius-round));
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=sm"] {
|
|
177
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=sm"] {
|
|
178
178
|
--_button-square-size: var(--ui-control-size-sm);
|
|
179
179
|
min-block-size: var(--ui-control-size-sm);
|
|
180
180
|
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-action-inset-sm, var(--ui-space-2)) !important;
|
|
181
181
|
font-size: var(--ui-font-size-sm);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=lg"] {
|
|
184
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=lg"] {
|
|
185
185
|
--_button-square-size: var(--ui-control-size-lg);
|
|
186
186
|
min-block-size: var(--ui-control-size-lg);
|
|
187
187
|
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-action-inset-lg, var(--ui-space-4)) !important;
|
|
@@ -189,14 +189,14 @@
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
/* Short numeric and icon actions share a minimum box; large values remain readable. */
|
|
192
|
-
:scope:where([data-component~="ui-button"])[data-ui-button-state~="square"]:not([data-appearance="link"], [data-appearance="card"]) {
|
|
192
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="square"]:not([data-appearance="link"], [data-appearance="card"]) {
|
|
193
193
|
min-inline-size: var(--_button-square-size);
|
|
194
194
|
padding-inline: var(--ui-space-1) !important;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
/* Card actions inherit Button's palette and behavior; only their shared layout changes.
|
|
198
198
|
The icon may contain any decorative composition. Empty icons remove their column. */
|
|
199
|
-
:scope:where([data-component~="ui-button"])[data-appearance="card"] {
|
|
199
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"] {
|
|
200
200
|
display: grid !important;
|
|
201
201
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
202
202
|
align-content: center !important;
|
|
@@ -209,10 +209,10 @@
|
|
|
209
209
|
box-shadow: none;
|
|
210
210
|
background-image: none;
|
|
211
211
|
}
|
|
212
|
-
:scope:where([data-component~="ui-button"])[data-appearance="card"][size="lg"] {
|
|
212
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"][size="lg"] {
|
|
213
213
|
min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-lg));
|
|
214
214
|
}
|
|
215
|
-
:scope:where([data-component~="ui-button"])[data-appearance="card"]:has(.card-icon:empty) {
|
|
215
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"]:has(.card-icon:empty) {
|
|
216
216
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
217
217
|
}
|
|
218
218
|
.card-icon {
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
align-self: center;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
:scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
|
|
234
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"]:not([data-tone="neutral"]) {
|
|
235
235
|
--_outline-wash: var(--_tone-wash);
|
|
236
236
|
border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
|
|
237
237
|
background-color: var(--ui-button-surface, transparent);
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
:scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]) {
|
|
242
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]) {
|
|
243
243
|
--_outline-wash: var(--_tone-wash-hover);
|
|
244
244
|
background-color: var(--ui-button-hover-surface, transparent);
|
|
245
245
|
border-color: var(--ui-button-hover-border, var(--_tone-outline-border));
|
|
@@ -247,35 +247,35 @@
|
|
|
247
247
|
|
|
248
248
|
/* A link is never :enabled, so interactive states test "not unavailable" instead: for a button that
|
|
249
249
|
is exactly :enabled, at the same specificity, and it also matches a link that can be followed. */
|
|
250
|
-
:scope:where([data-component~="ui-button"]):hover:not(:disabled, [aria-disabled="true"]) {
|
|
250
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):hover:not(:disabled, [aria-disabled="true"]) {
|
|
251
251
|
border-color: var(--ui-button-hover-border, var(--_tone-text));
|
|
252
252
|
background-color: var(--ui-button-hover-surface, oklch(from var(--_tone-text) l c h / calc(12% * var(--ui-tonal-opacity, 1))));
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
:scope:where([data-component~="ui-button"])[data-appearance="card"][data-tone="neutral"] {
|
|
255
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"][data-tone="neutral"] {
|
|
256
256
|
border-color: var(--ui-button-border, var(--ui-border));
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
:scope:where([data-component~="ui-button"])[data-appearance="card"][data-tone="neutral"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
259
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"][data-tone="neutral"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
260
260
|
border-color: var(--ui-button-hover-border, var(--ui-border-strong));
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
:scope:where([data-component~="ui-button"])[data-appearance="card"][aria-pressed="true"] {
|
|
263
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"][aria-pressed="true"] {
|
|
264
264
|
background-color: var(--ui-selection-surface);
|
|
265
265
|
border-color: var(--ui-selection-border);
|
|
266
266
|
color: var(--ui-selection-text);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/* Pressed outranks tone-specific outline paint: the highlight goes, and the shadow moves inside. */
|
|
270
|
-
:scope:where([data-component~="ui-button"]):active:not(:disabled, [aria-disabled="true"]),
|
|
271
|
-
:scope:where([data-component~="ui-button"])[data-appearance="outline"][data-tone]:active:not(:disabled, [aria-disabled="true"]) {
|
|
270
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):active:not(:disabled, [aria-disabled="true"]),
|
|
271
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"][data-tone]:active:not(:disabled, [aria-disabled="true"]) {
|
|
272
272
|
scale: var(--ui-press-scale, 1);
|
|
273
273
|
background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / calc(18% * var(--ui-tonal-opacity, 1))));
|
|
274
274
|
background-image: none;
|
|
275
275
|
box-shadow: var(--ui-pressed);
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
:scope:where([data-component~="ui-button"])[data-appearance="solid"], :scope:where([data-component~="ui-button"])[data-appearance="danger"] {
|
|
278
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="solid"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="danger"] {
|
|
279
279
|
border-color: var(--ui-button-border, var(--_tone-border));
|
|
280
280
|
background-color: var(--_tone);
|
|
281
281
|
color: var(--_on-tone);
|
|
@@ -285,14 +285,14 @@
|
|
|
285
285
|
var(--_tone-glow);
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
:scope:where([data-component~="ui-button"])[data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]),
|
|
289
|
-
:scope:where([data-component~="ui-button"])[data-appearance="danger"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
288
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]),
|
|
289
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="danger"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
290
290
|
background-color: var(--_tone-hover);
|
|
291
291
|
background-image: var(--_tone-hover-highlight);
|
|
292
292
|
border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
:is(:scope:where([data-component~="ui-button"])[data-appearance="solid"], :scope:where([data-component~="ui-button"])[data-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
|
|
295
|
+
:is(:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="solid"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
|
|
296
296
|
background-color: var(--_tone-active);
|
|
297
297
|
border-color: var(--_tone-active-border);
|
|
298
298
|
background-image: none;
|
|
@@ -301,8 +301,8 @@
|
|
|
301
301
|
|
|
302
302
|
/* Tone is the colour, variant is the volume. Every pairing works: a danger outline is a
|
|
303
303
|
destructive secondary action, not a special case. */
|
|
304
|
-
:scope:where([data-component~="ui-button"])[data-tone="accent-secondary"],
|
|
305
|
-
:scope:where([data-component~="ui-button"])[data-interaction-tone="accent-secondary"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
304
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="accent-secondary"],
|
|
305
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="accent-secondary"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
306
306
|
--_tone-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
307
307
|
--_tone-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
308
308
|
--_tone-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
@@ -320,8 +320,8 @@
|
|
|
320
320
|
--_on-hue: var(--ui-accent-secondary-on-strong);
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
:scope:where([data-component~="ui-button"])[data-tone="accent-tertiary"],
|
|
324
|
-
:scope:where([data-component~="ui-button"])[data-interaction-tone="accent-tertiary"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
323
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="accent-tertiary"],
|
|
324
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="accent-tertiary"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
325
325
|
--_tone-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
326
326
|
--_tone-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
327
327
|
--_tone-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
@@ -339,8 +339,8 @@
|
|
|
339
339
|
--_on-hue: var(--ui-accent-tertiary-on-strong);
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
:scope:where([data-component~="ui-button"])[data-tone="neutral"],
|
|
343
|
-
:scope:where([data-component~="ui-button"])[data-interaction-tone="neutral"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
342
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"],
|
|
343
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="neutral"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
344
344
|
--_tone-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
345
345
|
--_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
346
346
|
--_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
@@ -364,41 +364,41 @@
|
|
|
364
364
|
--_interaction-card-border: var(--ui-border-strong);
|
|
365
365
|
}
|
|
366
366
|
|
|
367
|
-
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
367
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="solid"] {
|
|
368
368
|
border-color: var(--ui-button-border, var(--_tone-border));
|
|
369
369
|
background-color: var(--ui-button-surface, var(--ui-neutral-surface));
|
|
370
370
|
box-shadow: var(--ui-button-solid-shadow, var(--ui-button-shadow, var(--ui-neutral-shadow)));
|
|
371
371
|
color: var(--ui-button-text, var(--ui-text));
|
|
372
372
|
}
|
|
373
|
-
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
373
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"] {
|
|
374
374
|
border-color: var(--ui-button-border, var(--ui-control-border));
|
|
375
375
|
background-color: var(--ui-button-surface, transparent);
|
|
376
376
|
background-image: none;
|
|
377
377
|
box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
|
|
378
378
|
}
|
|
379
|
-
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
379
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
380
380
|
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
381
381
|
background-color: var(--ui-button-hover-surface, transparent);
|
|
382
382
|
--_outline-wash: var(--ui-neutral-wash-hover);
|
|
383
383
|
background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
|
|
384
384
|
}
|
|
385
|
-
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
385
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
386
386
|
background-image: none;
|
|
387
387
|
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
388
388
|
background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
|
|
389
389
|
}
|
|
390
|
-
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
390
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
391
391
|
border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
|
|
392
392
|
background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
|
|
393
393
|
}
|
|
394
|
-
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
394
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="solid"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
395
395
|
border-color: var(--_tone-active-border);
|
|
396
396
|
background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
:scope:where([data-component~="ui-button"])[data-tone="danger"],
|
|
400
|
-
:scope:where([data-component~="ui-button"])[data-appearance="danger"],
|
|
401
|
-
:scope:where([data-component~="ui-button"])[data-interaction-tone="danger"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
399
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="danger"],
|
|
400
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="danger"],
|
|
401
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="danger"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
402
402
|
--_tone-border: var(--ui-danger-border, var(--ui-danger));
|
|
403
403
|
--_tone-hover-border: var(--ui-danger-hover-border, var(--ui-danger-hover));
|
|
404
404
|
--_tone-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
|
|
@@ -416,8 +416,8 @@
|
|
|
416
416
|
--_on-hue: var(--ui-on-danger);
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
:scope:where([data-component~="ui-button"])[data-tone="success"],
|
|
420
|
-
:scope:where([data-component~="ui-button"])[data-interaction-tone="success"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
419
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="success"],
|
|
420
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="success"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
421
421
|
--_tone-border: var(--ui-success-border, var(--ui-success));
|
|
422
422
|
--_tone-hover-border: var(--ui-success-hover-border, var(--ui-success-hover));
|
|
423
423
|
--_tone-active-border: var(--ui-success-active-border, var(--ui-success-active));
|
|
@@ -435,8 +435,8 @@
|
|
|
435
435
|
--_on-hue: var(--ui-success-on-strong);
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
-
:scope:where([data-component~="ui-button"])[data-tone="warning"],
|
|
439
|
-
:scope:where([data-component~="ui-button"])[data-interaction-tone="warning"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
438
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="warning"],
|
|
439
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="warning"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
440
440
|
--_tone-border: var(--ui-warning-border, var(--ui-warning));
|
|
441
441
|
--_tone-hover-border: var(--ui-warning-hover-border, var(--ui-warning-hover));
|
|
442
442
|
--_tone-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
|
|
@@ -454,8 +454,8 @@
|
|
|
454
454
|
--_on-hue: var(--ui-warning-on-strong);
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
:scope:where([data-component~="ui-button"])[data-tone="info"],
|
|
458
|
-
:scope:where([data-component~="ui-button"])[data-interaction-tone="info"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
457
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="info"],
|
|
458
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="info"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
459
459
|
--_tone-border: var(--ui-info-border, var(--ui-info));
|
|
460
460
|
--_tone-hover-border: var(--ui-info-hover-border, var(--ui-info-hover));
|
|
461
461
|
--_tone-active-border: var(--ui-info-active-border, var(--ui-info-active));
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
/* A value picker is a field, with Select's quiet edge and resting lift. */
|
|
477
|
-
:scope:where([data-component~="ui-button"])[data-appearance="field"] {
|
|
477
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="field"] {
|
|
478
478
|
--_ui-field-shadow: var(--ui-shadow-sm);
|
|
479
479
|
border-color: var(--ui-button-border, var(--ui-control-border, var(--ui-border-strong)));
|
|
480
480
|
border-radius: var(--ui-button-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
@@ -484,23 +484,23 @@
|
|
|
484
484
|
box-shadow: var(--ui-button-shadow, var(--_ui-field-shadow));
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
:scope:where([data-component~="ui-button"])[data-appearance="field"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
487
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="field"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
488
488
|
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover, var(--ui-text-secondary)));
|
|
489
489
|
background-color: var(--ui-button-hover-surface, var(--ui-control-surface, var(--ui-surface-elevated)));
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
:scope:where([data-component~="ui-button"])[data-appearance="field"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
|
|
492
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="field"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
|
|
493
493
|
--_ui-field-shadow: var(--ui-pressed);
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
:scope:where([data-component~="ui-button"])[data-appearance="field"]:focus-visible {
|
|
496
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="field"]:focus-visible {
|
|
497
497
|
border-color: var(--ui-control-focus, var(--ui-accent-solid));
|
|
498
498
|
box-shadow:
|
|
499
499
|
var(--ui-button-shadow, var(--_ui-field-shadow)),
|
|
500
500
|
var(--ui-control-focus-halo-shadow);
|
|
501
501
|
}
|
|
502
502
|
|
|
503
|
-
:scope:where([data-component~="ui-button"])[data-appearance="ghost"] {
|
|
503
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"] {
|
|
504
504
|
border-color: transparent;
|
|
505
505
|
background: transparent;
|
|
506
506
|
box-shadow: none;
|
|
@@ -508,18 +508,18 @@
|
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
/* Shared translucent paint keeps text and icon action feedback coordinated. */
|
|
511
|
-
:scope:where([data-component~="ui-button"])[data-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
511
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
512
512
|
background-color: var(--ui-button-ghost-hover-surface, var(--_tone-ghost-hover));
|
|
513
513
|
border-color: transparent;
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
:scope:where([data-component~="ui-button"])[data-appearance="ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
|
|
516
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
|
|
517
517
|
background-color: var(--ui-button-ghost-active-surface, oklch(from var(--_tone) l c h / 18%));
|
|
518
518
|
border-color: transparent;
|
|
519
519
|
box-shadow: inset 0 0 0 1px oklch(from var(--_tone) l c h / 10%), inset 0 1px 2px oklch(from var(--_tone) l c h / 8%);
|
|
520
520
|
}
|
|
521
521
|
|
|
522
|
-
:scope:where([data-component~="ui-button"])[data-appearance="ghost"][data-selected]:not(:disabled, [aria-disabled="true"]) {
|
|
522
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"][data-selected]:not(:disabled, [aria-disabled="true"]) {
|
|
523
523
|
background-color: var(--ui-button-ghost-active-surface, var(--ui-selection-surface));
|
|
524
524
|
color: var(--ui-button-ghost-text, var(--ui-selection-text));
|
|
525
525
|
border-color: transparent;
|
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
/* Interaction settings choose paint only. Pressed keeps its stronger fill and inset shadow. */
|
|
530
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
530
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
531
531
|
--_interaction-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
|
|
532
532
|
border-color: var(--ui-button-hover-border, var(--_interaction-outline-border));
|
|
533
533
|
background-color: var(--ui-button-hover-surface, transparent);
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
box-shadow: var(--_interaction-shadow);
|
|
537
537
|
}
|
|
538
538
|
|
|
539
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
539
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
540
540
|
--_interaction-shadow: var(--ui-pressed);
|
|
541
541
|
border-color: var(--ui-button-hover-border, var(--_interaction-outline-border));
|
|
542
542
|
background-color: var(--ui-button-active-surface, var(--_interaction-outline-active));
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
box-shadow: var(--_interaction-shadow);
|
|
546
546
|
}
|
|
547
547
|
|
|
548
|
-
:scope:where([data-component~="ui-button"])[data-tone]:is([data-interaction-appearance="solid"], [data-interaction-appearance="danger"]):hover:not(:disabled, [aria-disabled="true"]) {
|
|
548
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone]:is([data-interaction-appearance="solid"], [data-interaction-appearance="danger"]):hover:not(:disabled, [aria-disabled="true"]) {
|
|
549
549
|
--_interaction-shadow: var(--_interaction-solid-shadow);
|
|
550
550
|
border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
|
|
551
551
|
background-color: var(--ui-button-hover-surface, var(--_interaction-solid-hover));
|
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
box-shadow: var(--_interaction-shadow);
|
|
555
555
|
}
|
|
556
556
|
|
|
557
|
-
:scope:where([data-component~="ui-button"])[data-tone]:is([data-interaction-appearance="solid"], [data-interaction-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
|
|
557
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone]:is([data-interaction-appearance="solid"], [data-interaction-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
|
|
558
558
|
--_interaction-shadow: var(--ui-pressed);
|
|
559
559
|
border-color: var(--_tone-active-border);
|
|
560
560
|
background-color: var(--ui-button-active-surface, var(--_interaction-solid-active));
|
|
@@ -563,7 +563,7 @@
|
|
|
563
563
|
box-shadow: var(--_interaction-shadow);
|
|
564
564
|
}
|
|
565
565
|
|
|
566
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
566
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
567
567
|
--_interaction-shadow: 0 0 transparent;
|
|
568
568
|
border-color: transparent;
|
|
569
569
|
background-color: var(--ui-button-ghost-hover-surface, var(--_tone-ghost-hover));
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
box-shadow: none;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="ghost"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
575
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="ghost"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
576
576
|
--_interaction-shadow: inset 0 0 0 1px oklch(from var(--_tone) l c h / 10%), inset 0 1px 2px oklch(from var(--_tone) l c h / 8%);
|
|
577
577
|
border-color: transparent;
|
|
578
578
|
background-color: var(--ui-button-ghost-active-surface, oklch(from var(--_tone) l c h / 18%));
|
|
@@ -581,7 +581,7 @@
|
|
|
581
581
|
box-shadow: var(--_interaction-shadow);
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="card"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
584
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="card"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
585
585
|
--_interaction-shadow: 0 0 transparent;
|
|
586
586
|
border-color: var(--ui-button-hover-border, var(--_interaction-card-border));
|
|
587
587
|
background-color: var(--ui-button-hover-surface, oklch(from var(--_tone-text) l c h / calc(12% * var(--ui-tonal-opacity, 1))));
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
box-shadow: none;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="card"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
593
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="card"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
594
594
|
--_interaction-shadow: var(--ui-pressed);
|
|
595
595
|
border-color: var(--ui-button-hover-border, var(--_interaction-card-border));
|
|
596
596
|
background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / calc(18% * var(--ui-tonal-opacity, 1))));
|
|
@@ -599,54 +599,54 @@
|
|
|
599
599
|
box-shadow: var(--_interaction-shadow);
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="link"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
602
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="link"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
|
|
603
603
|
color: var(--ui-button-link-hover-text, var(--_tone-text));
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
606
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
607
607
|
text-decoration-thickness: 0.125em;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
:scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance]:is(:hover, :active):focus-visible:not(:disabled, [aria-disabled="true"]) {
|
|
610
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance]:is(:hover, :active):focus-visible:not(:disabled, [aria-disabled="true"]) {
|
|
611
611
|
box-shadow:
|
|
612
612
|
var(--_interaction-shadow, 0 0 transparent),
|
|
613
613
|
var(--ui-focus-halo);
|
|
614
614
|
}
|
|
615
615
|
|
|
616
616
|
/* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
|
|
617
|
-
:scope:where([data-component~="ui-button"]):focus-visible,
|
|
618
|
-
:scope:where([data-component~="ui-button"])[data-appearance="ghost"][data-selected]:focus-visible {
|
|
617
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):focus-visible,
|
|
618
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"][data-selected]:focus-visible {
|
|
619
619
|
outline: none;
|
|
620
620
|
box-shadow:
|
|
621
621
|
var(--ui-button-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
622
622
|
var(--ui-focus-halo);
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
-
:scope:where([data-component~="ui-button"])[data-appearance="outline"]:focus-visible {
|
|
625
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"]:focus-visible {
|
|
626
626
|
box-shadow:
|
|
627
627
|
var(--ui-button-shadow, var(--ui-neutral-shadow)),
|
|
628
628
|
var(--ui-focus-halo);
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
-
:scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-interaction-appearance]):active:focus-visible:not(:disabled, [aria-disabled="true"]) {
|
|
631
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"]:not([data-interaction-appearance]):active:focus-visible:not(:disabled, [aria-disabled="true"]) {
|
|
632
632
|
box-shadow:
|
|
633
633
|
var(--ui-pressed),
|
|
634
634
|
var(--ui-focus-halo);
|
|
635
635
|
}
|
|
636
636
|
|
|
637
|
-
:scope:where([data-component~="ui-button"])[data-appearance="solid"]:focus-visible {
|
|
637
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="solid"]:focus-visible {
|
|
638
638
|
box-shadow:
|
|
639
639
|
var(--ui-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
640
640
|
var(--ui-focus-halo);
|
|
641
641
|
}
|
|
642
642
|
|
|
643
|
-
:is(:scope:where([data-component~="ui-button"])[data-appearance="ghost"], :scope:where([data-component~="ui-button"])[data-appearance="link"], :scope:where([data-component~="ui-button"])[data-appearance="card"]):focus-visible {
|
|
643
|
+
:is(:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"]):focus-visible {
|
|
644
644
|
box-shadow: var(--ui-focus-halo);
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
/* A loading action stays visually active; only an explicitly disabled action takes the
|
|
648
648
|
neutral disabled palette. Its flat surface and muted ink make the state unambiguous. */
|
|
649
|
-
:scope:where([data-component~="ui-button"]):is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
649
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
650
650
|
border-color: var(--ui-disabled-border);
|
|
651
651
|
background-color: var(--ui-disabled-surface);
|
|
652
652
|
color: var(--ui-disabled-text);
|
|
@@ -657,17 +657,17 @@
|
|
|
657
657
|
box-shadow: none;
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
-
:is(:scope:where([data-component~="ui-button"])[data-ui-button-state~="loading"], :scope:where([data-component~="ui-button"])[data-ui-button-state~="pending"]):focus-visible {
|
|
660
|
+
:is(:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="loading"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="pending"]):focus-visible {
|
|
661
661
|
box-shadow: var(--ui-focus-halo);
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
/* Disabled ghost actions keep the quiet variant's transparent surface and muted text. */
|
|
665
|
-
:scope:where([data-component~="ui-button"])[data-appearance="ghost"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
665
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
666
666
|
background-color: transparent;
|
|
667
667
|
border-color: transparent;
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
:scope:where([data-component~="ui-button"])[data-appearance="ghost"][data-selected]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
670
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"][data-selected]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
671
671
|
background-color: var(--ui-disabled-surface);
|
|
672
672
|
}
|
|
673
673
|
|
|
@@ -677,13 +677,13 @@
|
|
|
677
677
|
area, centred on it, like IconButton's. A link-style action keeps its text size, so a standalone one ("See all" under a list) needs the
|
|
678
678
|
area. xs sits inside a line of text the same way, so it keeps its size and gains the area too.
|
|
679
679
|
Only these need it: a hit area on every button would reach over its neighbours. */
|
|
680
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-appearance="link"],
|
|
681
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"] {
|
|
680
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"],
|
|
681
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=xs"] {
|
|
682
682
|
position: relative;
|
|
683
683
|
}
|
|
684
684
|
|
|
685
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-appearance="link"]::after,
|
|
686
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"]::after {
|
|
685
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]::after,
|
|
686
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=xs"]::after {
|
|
687
687
|
position: absolute;
|
|
688
688
|
inset: 50% auto auto 50%;
|
|
689
689
|
inline-size: max(100%, var(--ui-control-min-block-size));
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
|
|
695
695
|
/* Link: an inline text action. No box, padding, or minimum height (inline targets are exempt under
|
|
696
696
|
WCAG 2.5.8); the inherited font; an underline that strengthens on hover; a visible focus ring. */
|
|
697
|
-
:scope:where([data-component~="ui-button"])[data-appearance="link"] {
|
|
697
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"] {
|
|
698
698
|
display: inline !important;
|
|
699
699
|
min-block-size: 0;
|
|
700
700
|
padding: 0 !important;
|
|
@@ -711,33 +711,33 @@
|
|
|
711
711
|
transition: color var(--ui-motion-fast) var(--ui-motion-ease), text-decoration-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
-
:scope:where([data-component~="ui-button"])[data-appearance="link"] .label:not(:has(> *)) {
|
|
714
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"] .label:not(:has(> *)) {
|
|
715
715
|
display: inline !important;
|
|
716
716
|
text-box-trim: none;
|
|
717
717
|
}
|
|
718
718
|
|
|
719
|
-
:scope:where([data-component~="ui-button"])[data-appearance="link"] .label:has(> *) {
|
|
719
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"] .label:has(> *) {
|
|
720
720
|
text-decoration: inherit;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
:scope:where([data-component~="ui-button"])[data-appearance="link"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
723
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
724
724
|
color: var(--ui-button-link-hover-text, var(--ui-text-primary));
|
|
725
725
|
text-decoration-color: currentColor;
|
|
726
726
|
background: none;
|
|
727
727
|
transform: none;
|
|
728
728
|
}
|
|
729
729
|
|
|
730
|
-
:scope:where([data-component~="ui-button"])[data-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
730
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
731
731
|
background: none;
|
|
732
732
|
transform: none;
|
|
733
733
|
}
|
|
734
734
|
|
|
735
|
-
:scope:where([data-component~="ui-button"])[data-appearance="link"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
735
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
736
736
|
background: none;
|
|
737
737
|
border-color: transparent;
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
:scope:where([data-component~="ui-button"])[data-appearance="link"]:focus-visible {
|
|
740
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]:focus-visible {
|
|
741
741
|
box-shadow: none;
|
|
742
742
|
/* Fallback keeps the ring if the token is missing: an unresolved var() would void the outline. */
|
|
743
743
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
@@ -745,11 +745,11 @@
|
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
748
|
-
:scope:where([data-component~="ui-button"])[hidden] {
|
|
748
|
+
:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[hidden] {
|
|
749
749
|
display: none !important;
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
|
-
@scope ([data-component~="ui-button"]) to ([data-component]) {
|
|
752
|
+
@scope (:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
753
753
|
/* Explicit interaction palettes reuse the resting palette bindings, without changing geometry. */
|
|
754
754
|
|
|
755
755
|
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
@@ -802,50 +802,50 @@
|
|
|
802
802
|
|
|
803
803
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
804
804
|
}
|
|
805
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
805
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
806
806
|
@supports (-moz-appearance: none) {
|
|
807
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
808
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
807
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
808
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
809
809
|
}
|
|
810
810
|
@supports (-moz-appearance: none) {
|
|
811
|
-
[data-component~="ui-affordance-scope"] { --html-next-scope-owner: "ui-affordance-scope" !important; }
|
|
811
|
+
:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component])) { --html-next-scope-owner: "ui-affordance-scope" !important; }
|
|
812
812
|
}
|
|
813
|
-
@scope ([data-component~="ui-affordance-scope"]) to ([data-component], [data-slotted]) {
|
|
814
|
-
:scope:where([data-component~="ui-affordance-scope"]) {
|
|
813
|
+
@scope (:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
814
|
+
:scope:where(:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component]))) {
|
|
815
815
|
display: contents !important;
|
|
816
816
|
--_ui-affordance-scope-engaged: 0;
|
|
817
817
|
--_ui-affordance-scope-guide: 1;
|
|
818
818
|
}
|
|
819
819
|
|
|
820
|
-
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="engaged"] {
|
|
820
|
+
:scope:where(:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component])))[data-ui-affordance-scope-state~="engaged"] {
|
|
821
821
|
--_ui-affordance-scope-engaged: 1;
|
|
822
822
|
}
|
|
823
823
|
|
|
824
824
|
/* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
|
|
825
|
-
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="guide=none"] {
|
|
825
|
+
:scope:where(:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component])))[data-ui-affordance-scope-state~="guide=none"] {
|
|
826
826
|
--_ui-affordance-scope-guide: 0;
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
830
|
-
:scope:where([data-component~="ui-affordance-scope"])[hidden] {
|
|
830
|
+
:scope:where(:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component])))[hidden] {
|
|
831
831
|
display: none !important;
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
|
-
@scope ([data-component~="ui-affordance-scope"]) to ([data-component]) {
|
|
834
|
+
@scope (:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
835
835
|
/* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
|
|
836
836
|
|
|
837
837
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
838
838
|
}
|
|
839
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
839
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
840
840
|
@supports (-moz-appearance: none) {
|
|
841
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
842
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
841
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
842
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
843
843
|
}
|
|
844
844
|
@supports (-moz-appearance: none) {
|
|
845
|
-
[data-component~="ui-cluster"] { --html-next-scope-owner: "ui-cluster" !important; }
|
|
845
|
+
:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])) { --html-next-scope-owner: "ui-cluster" !important; }
|
|
846
846
|
}
|
|
847
|
-
@scope ([data-component~="ui-cluster"]) to ([data-component], [data-slotted]) {
|
|
848
|
-
:scope:where([data-component~="ui-cluster"]) {
|
|
847
|
+
@scope (:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
848
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component]))) {
|
|
849
849
|
--_layout-gap: var(--ui-space-3);
|
|
850
850
|
display: flex !important;
|
|
851
851
|
flex-wrap: wrap !important;
|
|
@@ -870,96 +870,96 @@
|
|
|
870
870
|
display: none !important;
|
|
871
871
|
}
|
|
872
872
|
|
|
873
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="fixed"] {
|
|
873
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="fixed"] {
|
|
874
874
|
flex: none;
|
|
875
875
|
}
|
|
876
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=xs"] {
|
|
876
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="padding=xs"] {
|
|
877
877
|
padding: var(--ui-space-1) !important;
|
|
878
878
|
}
|
|
879
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=s"] {
|
|
879
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="padding=s"] {
|
|
880
880
|
padding: var(--ui-space-2) !important;
|
|
881
881
|
}
|
|
882
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=m"] {
|
|
882
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="padding=m"] {
|
|
883
883
|
padding: var(--ui-space-3) !important;
|
|
884
884
|
}
|
|
885
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=l"] {
|
|
885
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="padding=l"] {
|
|
886
886
|
padding: var(--ui-space-4) !important;
|
|
887
887
|
}
|
|
888
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=s"] {
|
|
888
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="paddingEnd=s"] {
|
|
889
889
|
padding-inline-end: var(--ui-space-2) !important;
|
|
890
890
|
}
|
|
891
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=m"] {
|
|
891
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="paddingEnd=m"] {
|
|
892
892
|
padding-inline-end: var(--ui-space-3) !important;
|
|
893
893
|
}
|
|
894
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=l"] {
|
|
894
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="paddingEnd=l"] {
|
|
895
895
|
padding-inline-end: var(--ui-space-4) !important;
|
|
896
896
|
}
|
|
897
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=xl"] {
|
|
897
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="paddingEnd=xl"] {
|
|
898
898
|
padding-inline-end: calc(var(--ui-space-4) * 4) !important;
|
|
899
899
|
}
|
|
900
900
|
|
|
901
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=xs"] {
|
|
901
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="gap=xs"] {
|
|
902
902
|
--_layout-gap: var(--ui-space-2);
|
|
903
903
|
}
|
|
904
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=s"] {
|
|
904
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="gap=s"] {
|
|
905
905
|
--_layout-gap: var(--ui-space-3);
|
|
906
906
|
}
|
|
907
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=m"] {
|
|
907
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="gap=m"] {
|
|
908
908
|
--_layout-gap: var(--ui-space-4);
|
|
909
909
|
}
|
|
910
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=l"] {
|
|
910
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="gap=l"] {
|
|
911
911
|
--_layout-gap: var(--ui-space-5);
|
|
912
912
|
}
|
|
913
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=xl"] {
|
|
913
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="gap=xl"] {
|
|
914
914
|
--_layout-gap: var(--ui-space-6);
|
|
915
915
|
}
|
|
916
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=start"] {
|
|
916
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="align=start"] {
|
|
917
917
|
align-items: flex-start !important;
|
|
918
918
|
}
|
|
919
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=end"] {
|
|
919
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="align=end"] {
|
|
920
920
|
align-items: flex-end !important;
|
|
921
921
|
}
|
|
922
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=baseline"] {
|
|
922
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="align=baseline"] {
|
|
923
923
|
align-items: baseline !important;
|
|
924
924
|
}
|
|
925
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=stretch"] {
|
|
925
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="align=stretch"] {
|
|
926
926
|
align-items: stretch !important;
|
|
927
927
|
}
|
|
928
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=center"] {
|
|
928
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="justify=center"] {
|
|
929
929
|
justify-content: center !important;
|
|
930
930
|
}
|
|
931
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=end"] {
|
|
931
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="justify=end"] {
|
|
932
932
|
justify-content: flex-end !important;
|
|
933
933
|
}
|
|
934
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=between"] {
|
|
934
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="justify=between"] {
|
|
935
935
|
justify-content: space-between !important;
|
|
936
936
|
}
|
|
937
|
-
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="wrap=nowrap"] {
|
|
937
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[data-ui-cluster-state~="wrap=nowrap"] {
|
|
938
938
|
flex-wrap: nowrap !important;
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
942
|
-
:scope:where([data-component~="ui-cluster"])[hidden] {
|
|
942
|
+
:scope:where(:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component])))[hidden] {
|
|
943
943
|
display: none !important;
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
|
-
@scope ([data-component~="ui-cluster"]) to ([data-component]) {
|
|
946
|
+
@scope (:is([component~="ui-cluster"]:not(template), [data-component~="ui-cluster"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
947
947
|
:where([data-slotted], [data-slotted] *):is([hidden]) {
|
|
948
948
|
display: none !important;
|
|
949
949
|
}
|
|
950
950
|
|
|
951
951
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
952
952
|
}
|
|
953
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
953
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
954
954
|
@supports (-moz-appearance: none) {
|
|
955
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
956
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
955
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
956
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
957
957
|
}
|
|
958
958
|
@supports (-moz-appearance: none) {
|
|
959
|
-
[data-component~="ui-form-field"] { --html-next-scope-owner: "ui-form-field" !important; }
|
|
959
|
+
:is([component~="ui-form-field"]:not(template), [data-component~="ui-form-field"]:not([component])) { --html-next-scope-owner: "ui-form-field" !important; }
|
|
960
960
|
}
|
|
961
|
-
@scope ([data-component~="ui-form-field"]) to ([data-component], [data-slotted]) {
|
|
962
|
-
:scope:where([data-component~="ui-form-field"]) {
|
|
961
|
+
@scope (:is([component~="ui-form-field"]:not(template), [data-component~="ui-form-field"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
962
|
+
:scope:where(:is([component~="ui-form-field"]:not(template), [data-component~="ui-form-field"]:not([component]))) {
|
|
963
963
|
/* Resolve shared part values at the component root. */
|
|
964
964
|
--_ui-form-field-danger: var(--ui-form-field-danger);
|
|
965
965
|
--_ui-form-field-help-min-block-size: var(--ui-form-field-help-min-block-size);
|
|
@@ -1017,18 +1017,18 @@
|
|
|
1017
1017
|
display: none !important;
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
|
-
:scope:where([data-component~="ui-form-field"])[data-ui-form-field-state~="invalid"] .error {
|
|
1020
|
+
:scope:where(:is([component~="ui-form-field"]:not(template), [data-component~="ui-form-field"]:not([component])))[data-ui-form-field-state~="invalid"] .error {
|
|
1021
1021
|
display: contents !important;
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
/* An error reads in the danger colour, the one the invalid control's border takes. */
|
|
1025
1025
|
|
|
1026
1026
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1027
|
-
:scope:where([data-component~="ui-form-field"])[hidden] {
|
|
1027
|
+
:scope:where(:is([component~="ui-form-field"]:not(template), [data-component~="ui-form-field"]:not([component])))[hidden] {
|
|
1028
1028
|
display: none !important;
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
|
-
@scope ([data-component~="ui-form-field"]) to ([data-component]) {
|
|
1031
|
+
@scope (:is([component~="ui-form-field"]:not(template), [data-component~="ui-form-field"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
1032
1032
|
/* Each named region styles whatever fills it, however it was slotted (slot="…" in HTML, #label
|
|
1033
1033
|
in Vue), and generates no box of its own, so an empty region adds no gap. */
|
|
1034
1034
|
|
|
@@ -1049,16 +1049,16 @@
|
|
|
1049
1049
|
|
|
1050
1050
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1051
1051
|
}
|
|
1052
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1052
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
1053
1053
|
@supports (-moz-appearance: none) {
|
|
1054
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1055
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
1054
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1055
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
1056
1056
|
}
|
|
1057
1057
|
@supports (-moz-appearance: none) {
|
|
1058
|
-
[data-component~="ui-icon"] { --html-next-scope-owner: "ui-icon" !important; }
|
|
1058
|
+
:is([component~="ui-icon"]:not(template), [data-component~="ui-icon"]:not([component])) { --html-next-scope-owner: "ui-icon" !important; }
|
|
1059
1059
|
}
|
|
1060
|
-
@scope ([data-component~="ui-icon"]) to ([data-component], [data-slotted]) {
|
|
1061
|
-
:scope:where([data-component~="ui-icon"]) {
|
|
1060
|
+
@scope (:is([component~="ui-icon"]:not(template), [data-component~="ui-icon"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
1061
|
+
:scope:where(:is([component~="ui-icon"]:not(template), [data-component~="ui-icon"]:not([component]))) {
|
|
1062
1062
|
/* Resolve the SVG stroke at the root. A Looma component that sizes its icons sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
1063
1063
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
1064
1064
|
|
|
@@ -1068,15 +1068,15 @@
|
|
|
1068
1068
|
block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
1069
1069
|
}
|
|
1070
1070
|
|
|
1071
|
-
:scope:where([data-component~="ui-icon"])[data-ui-icon-state~="tone=secondary"] {
|
|
1071
|
+
:scope:where(:is([component~="ui-icon"]:not(template), [data-component~="ui-icon"]:not([component])))[data-ui-icon-state~="tone=secondary"] {
|
|
1072
1072
|
color: var(--ui-text-secondary);
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
|
-
:scope:where([data-component~="ui-icon"])[data-ui-icon-state~="tone=muted"] {
|
|
1075
|
+
:scope:where(:is([component~="ui-icon"]:not(template), [data-component~="ui-icon"]:not([component])))[data-ui-icon-state~="tone=muted"] {
|
|
1076
1076
|
color: var(--ui-text-muted);
|
|
1077
1077
|
}
|
|
1078
1078
|
|
|
1079
|
-
:scope:where([data-component~="ui-icon"])[data-ui-icon-state~="directional"]:dir(rtl) svg {
|
|
1079
|
+
:scope:where(:is([component~="ui-icon"]:not(template), [data-component~="ui-icon"]:not([component])))[data-ui-icon-state~="directional"]:dir(rtl) svg {
|
|
1080
1080
|
transform: scaleX(-1);
|
|
1081
1081
|
}
|
|
1082
1082
|
|
|
@@ -1087,23 +1087,23 @@
|
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
1089
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1090
|
-
:scope:where([data-component~="ui-icon"])[hidden] {
|
|
1090
|
+
:scope:where(:is([component~="ui-icon"]:not(template), [data-component~="ui-icon"]:not([component])))[hidden] {
|
|
1091
1091
|
display: none !important;
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
|
-
@scope ([data-component~="ui-icon"]) to ([data-component]) {
|
|
1094
|
+
@scope (:is([component~="ui-icon"]:not(template), [data-component~="ui-icon"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
1095
1095
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1096
1096
|
}
|
|
1097
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1097
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
1098
1098
|
@supports (-moz-appearance: none) {
|
|
1099
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1100
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
1099
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1100
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
1101
1101
|
}
|
|
1102
1102
|
@supports (-moz-appearance: none) {
|
|
1103
|
-
[data-component~="ui-icon-button"] { --html-next-scope-owner: "ui-icon-button" !important; }
|
|
1103
|
+
:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])) { --html-next-scope-owner: "ui-icon-button" !important; }
|
|
1104
1104
|
}
|
|
1105
|
-
@scope ([data-component~="ui-icon-button"]) to ([data-component], [data-slotted]) {
|
|
1106
|
-
:scope:where([data-component~="ui-icon-button"]) {
|
|
1105
|
+
@scope (:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
1106
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))) {
|
|
1107
1107
|
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
1108
1108
|
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
1109
1109
|
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
@@ -1133,11 +1133,11 @@
|
|
|
1133
1133
|
color: var(--ui-text-secondary);
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
1136
|
-
:scope:where([data-component~="ui-icon-button"]):dir(rtl) {
|
|
1136
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))):dir(rtl) {
|
|
1137
1137
|
--_ui-action-start: -1px;
|
|
1138
1138
|
}
|
|
1139
1139
|
|
|
1140
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-secondary"] {
|
|
1140
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="accent-secondary"] {
|
|
1141
1141
|
--_solid-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
1142
1142
|
--_solid-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
1143
1143
|
--_solid-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
color: var(--_icon-button-text);
|
|
1160
1160
|
}
|
|
1161
1161
|
|
|
1162
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-tertiary"] {
|
|
1162
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="accent-tertiary"] {
|
|
1163
1163
|
--_solid-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
1164
1164
|
--_solid-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
1165
1165
|
--_solid-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
@@ -1181,7 +1181,7 @@
|
|
|
1181
1181
|
color: var(--_icon-button-text);
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="accent"] {
|
|
1184
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="accent"] {
|
|
1185
1185
|
--_solid-border: var(--ui-accent-border, var(--ui-accent));
|
|
1186
1186
|
--_solid-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
1187
1187
|
--_solid-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
|
|
@@ -1200,7 +1200,7 @@
|
|
|
1200
1200
|
color: var(--_icon-button-text);
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="danger"] {
|
|
1203
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="danger"] {
|
|
1204
1204
|
--_solid-border: var(--ui-danger-border, var(--ui-danger));
|
|
1205
1205
|
--_solid-hover-border: var(--ui-danger-hover-border, var(--ui-danger-hover));
|
|
1206
1206
|
--_solid-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
|
|
@@ -1222,7 +1222,7 @@
|
|
|
1222
1222
|
color: var(--_icon-button-text);
|
|
1223
1223
|
}
|
|
1224
1224
|
|
|
1225
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="success"] {
|
|
1225
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="success"] {
|
|
1226
1226
|
--_solid-border: var(--ui-success-border, var(--ui-success));
|
|
1227
1227
|
--_solid-hover-border: var(--ui-success-hover-border, var(--ui-success-hover));
|
|
1228
1228
|
--_solid-active-border: var(--ui-success-active-border, var(--ui-success-active));
|
|
@@ -1244,7 +1244,7 @@
|
|
|
1244
1244
|
color: var(--_icon-button-text);
|
|
1245
1245
|
}
|
|
1246
1246
|
|
|
1247
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="warning"] {
|
|
1247
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="warning"] {
|
|
1248
1248
|
--_solid-border: var(--ui-warning-border, var(--ui-warning));
|
|
1249
1249
|
--_solid-hover-border: var(--ui-warning-hover-border, var(--ui-warning-hover));
|
|
1250
1250
|
--_solid-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
|
|
@@ -1266,7 +1266,7 @@
|
|
|
1266
1266
|
color: var(--_icon-button-text);
|
|
1267
1267
|
}
|
|
1268
1268
|
|
|
1269
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="info"] {
|
|
1269
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="info"] {
|
|
1270
1270
|
--_solid-border: var(--ui-info-border, var(--ui-info));
|
|
1271
1271
|
--_solid-hover-border: var(--ui-info-hover-border, var(--ui-info-hover));
|
|
1272
1272
|
--_solid-active-border: var(--ui-info-active-border, var(--ui-info-active));
|
|
@@ -1289,7 +1289,7 @@
|
|
|
1289
1289
|
}
|
|
1290
1290
|
|
|
1291
1291
|
/* Neutral actions and form fields share the control boundary. */
|
|
1292
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"] {
|
|
1292
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="neutral"] {
|
|
1293
1293
|
--_solid-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
1294
1294
|
--_solid-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
1295
1295
|
--_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
@@ -1308,11 +1308,11 @@
|
|
|
1308
1308
|
--_icon-button-solid-text: var(--ui-text);
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"] {
|
|
1311
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"] {
|
|
1312
1312
|
position: relative;
|
|
1313
1313
|
}
|
|
1314
1314
|
|
|
1315
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]::before {
|
|
1315
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"]::before {
|
|
1316
1316
|
content: "";
|
|
1317
1317
|
position: absolute;
|
|
1318
1318
|
inset: 50% auto auto 50%;
|
|
@@ -1327,33 +1327,33 @@
|
|
|
1327
1327
|
pointer-events: none;
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"][data-ui-icon-button-state~="guide=bar"]::before {
|
|
1330
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"][data-ui-icon-button-state~="guide=bar"]::before {
|
|
1331
1331
|
inline-size: 2px;
|
|
1332
1332
|
block-size: 20px;
|
|
1333
1333
|
background: var(--ui-border-strong);
|
|
1334
1334
|
opacity: 1;
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]:disabled::before {
|
|
1337
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"]:disabled::before {
|
|
1338
1338
|
opacity: 0;
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
1341
|
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
1342
1342
|
proximity, hover, or focus reveals it; the button's hit area and guide remain stable. */
|
|
1343
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"] .content {
|
|
1343
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"] .content {
|
|
1344
1344
|
opacity: 1;
|
|
1345
1345
|
transform: scale(1);
|
|
1346
1346
|
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease), transform calc(var(--ui-motion-fast) * 2) cubic-bezier(0.2, 1.4, 0.35, 1);
|
|
1347
1347
|
}
|
|
1348
1348
|
|
|
1349
1349
|
@media (hover: hover) and (pointer: fine) {
|
|
1350
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]:not(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="revealed"], :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"], :disabled, [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible) {
|
|
1350
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"]:not(:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="revealed"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="loading"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="pending"], :disabled, [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible) {
|
|
1351
1351
|
border-color: transparent;
|
|
1352
1352
|
background-color: transparent;
|
|
1353
1353
|
box-shadow: none;
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]:not(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="revealed"], :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"], :disabled, [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible)
|
|
1356
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"]:not(:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="revealed"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="loading"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="pending"], :disabled, [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible)
|
|
1357
1357
|
.content {
|
|
1358
1358
|
opacity: 0;
|
|
1359
1359
|
transform: scale(0.65);
|
|
@@ -1361,11 +1361,11 @@
|
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
1363
|
|
|
1364
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]:is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="revealed"], :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"], [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible)::before {
|
|
1364
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"]:is(:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="revealed"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"], [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible)::before {
|
|
1365
1365
|
opacity: 0;
|
|
1366
1366
|
}
|
|
1367
1367
|
|
|
1368
|
-
:scope:where([data-component~="ui-icon-button"]) {
|
|
1368
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))) {
|
|
1369
1369
|
/* The size prop resolves here; --ui-icon-button-size overrides it on an element. */
|
|
1370
1370
|
--_size: 2rem;
|
|
1371
1371
|
--_icon-button-hit-size: var(--ui-control-min-block-size);
|
|
@@ -1393,7 +1393,7 @@
|
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
1395
|
@media (hover: none), (pointer: coarse) {
|
|
1396
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]::before {
|
|
1396
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"]::before {
|
|
1397
1397
|
opacity: 0;
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
@@ -1401,11 +1401,11 @@
|
|
|
1401
1401
|
/* A touch target without a bigger button: an invisible hit area, at least the control
|
|
1402
1402
|
minimum, centred on the button (::before is the anticipatory guide). */
|
|
1403
1403
|
@media (pointer: coarse) {
|
|
1404
|
-
:scope:where([data-component~="ui-icon-button"]) {
|
|
1404
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))) {
|
|
1405
1405
|
position: relative;
|
|
1406
1406
|
}
|
|
1407
1407
|
|
|
1408
|
-
:scope:where([data-component~="ui-icon-button"])::after {
|
|
1408
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))::after {
|
|
1409
1409
|
content: "";
|
|
1410
1410
|
position: absolute;
|
|
1411
1411
|
inset: 50% auto auto 50%;
|
|
@@ -1415,11 +1415,11 @@
|
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
1417
|
|
|
1418
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-icon-button"]) {
|
|
1418
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))) {
|
|
1419
1419
|
position: relative;
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-icon-button"])::after {
|
|
1422
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))::after {
|
|
1423
1423
|
content: "";
|
|
1424
1424
|
position: absolute;
|
|
1425
1425
|
inset: 50% auto auto 50%;
|
|
@@ -1428,12 +1428,12 @@
|
|
|
1428
1428
|
transform: translate(-50%, -50%);
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=xs"] {
|
|
1431
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="size=xs"] {
|
|
1432
1432
|
--_size: var(--ui-control-size-xs);
|
|
1433
1433
|
--_icon-button-hit-size: var(--ui-inline-control-min-block-size);
|
|
1434
1434
|
}
|
|
1435
1435
|
|
|
1436
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=sm"] {
|
|
1436
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="size=sm"] {
|
|
1437
1437
|
--_size: 1.75rem;
|
|
1438
1438
|
inline-size: var(--ui-icon-button-size, var(--_size));
|
|
1439
1439
|
block-size: var(--ui-icon-button-size, var(--_size));
|
|
@@ -1441,7 +1441,7 @@
|
|
|
1441
1441
|
min-block-size: var(--ui-icon-button-size, var(--_size));
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=lg"] {
|
|
1444
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="size=lg"] {
|
|
1445
1445
|
--_size: 2.5rem;
|
|
1446
1446
|
inline-size: var(--ui-icon-button-size, var(--_size));
|
|
1447
1447
|
block-size: var(--ui-icon-button-size, var(--_size));
|
|
@@ -1450,35 +1450,35 @@
|
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
1452
|
/* A text button's companion uses control geometry; compact icon buttons keep their own density. */
|
|
1453
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"] {
|
|
1453
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="matchButton"] {
|
|
1454
1454
|
--_size: var(--ui-control-size-md);
|
|
1455
1455
|
block-size: auto;
|
|
1456
1456
|
align-self: stretch;
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
1459
|
/* A paired action may grow vertically for touch, without intercepting its neighbour. */
|
|
1460
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"]::after,
|
|
1461
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"]::after {
|
|
1460
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="matchButton"]::after,
|
|
1461
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="matchButton"]::after {
|
|
1462
1462
|
inline-size: 100%;
|
|
1463
1463
|
}
|
|
1464
1464
|
|
|
1465
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"][data-ui-icon-button-state~="size=xs"] {
|
|
1465
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="matchButton"][data-ui-icon-button-state~="size=xs"] {
|
|
1466
1466
|
--_size: var(--ui-control-size-xs);
|
|
1467
1467
|
}
|
|
1468
1468
|
|
|
1469
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"][data-ui-icon-button-state~="size=sm"] {
|
|
1469
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="matchButton"][data-ui-icon-button-state~="size=sm"] {
|
|
1470
1470
|
--_size: var(--ui-control-size-sm);
|
|
1471
1471
|
}
|
|
1472
1472
|
|
|
1473
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"][data-ui-icon-button-state~="size=lg"] {
|
|
1473
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="matchButton"][data-ui-icon-button-state~="size=lg"] {
|
|
1474
1474
|
--_size: var(--ui-control-size-lg);
|
|
1475
1475
|
}
|
|
1476
1476
|
|
|
1477
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="round"] {
|
|
1477
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="round"] {
|
|
1478
1478
|
border-radius: var(--ui-radius-round);
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"] {
|
|
1481
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"] {
|
|
1482
1482
|
border-color: var(--ui-icon-button-border, var(--_icon-button-border, var(--ui-control-border, var(--ui-border-strong))));
|
|
1483
1483
|
background-color: var(--ui-icon-button-outline-surface, var(--_icon-button-outline-surface, var(--ui-surface-default)));
|
|
1484
1484
|
background-image: none;
|
|
@@ -1486,7 +1486,7 @@
|
|
|
1486
1486
|
box-shadow: var(--ui-neutral-shadow);
|
|
1487
1487
|
}
|
|
1488
1488
|
|
|
1489
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"] {
|
|
1489
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"] {
|
|
1490
1490
|
border-color: var(--ui-icon-button-border, var(--_solid-border));
|
|
1491
1491
|
background-color: var(--ui-icon-button-solid-surface, var(--_icon-button-solid-surface, var(--ui-accent-solid)));
|
|
1492
1492
|
background-image: var(--_tone-highlight);
|
|
@@ -1496,73 +1496,73 @@
|
|
|
1496
1496
|
var(--_tone-glow);
|
|
1497
1497
|
}
|
|
1498
1498
|
|
|
1499
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
1499
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"] {
|
|
1500
1500
|
box-shadow: var(--ui-neutral-shadow);
|
|
1501
1501
|
}
|
|
1502
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
1502
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="neutral"][data-appearance="solid"] {
|
|
1503
1503
|
border-color: var(--ui-icon-button-border, var(--ui-control-border));
|
|
1504
1504
|
box-shadow: var(--ui-icon-button-solid-shadow, var(--ui-neutral-shadow));
|
|
1505
1505
|
}
|
|
1506
1506
|
|
|
1507
|
-
:scope:where([data-component~="ui-icon-button"]):hover:enabled:not([aria-disabled="true"]) {
|
|
1507
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))):hover:enabled:not([aria-disabled="true"]) {
|
|
1508
1508
|
/* Shared translucent paint keeps text and icon action feedback coordinated. */
|
|
1509
1509
|
background-color: var(--ui-icon-button-hover-surface, var(--_tone-ghost-hover));
|
|
1510
1510
|
color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
|
|
1511
1511
|
}
|
|
1512
1512
|
|
|
1513
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
|
|
1513
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"]:not([data-tone="neutral"]) {
|
|
1514
1514
|
--_outline-wash: var(--_tone-wash);
|
|
1515
1515
|
border-color: var(--ui-icon-button-border, var(--_tone-outline-border));
|
|
1516
1516
|
background-color: var(--ui-icon-button-outline-surface, transparent);
|
|
1517
1517
|
background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
|
|
1518
1518
|
}
|
|
1519
1519
|
|
|
1520
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]) {
|
|
1520
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]) {
|
|
1521
1521
|
--_outline-wash: var(--_tone-wash-hover);
|
|
1522
1522
|
background-color: var(--ui-icon-button-hover-surface, transparent);
|
|
1523
1523
|
border-color: var(--ui-icon-button-hover-border, var(--_tone-outline-border));
|
|
1524
1524
|
}
|
|
1525
1525
|
|
|
1526
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1526
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1527
1527
|
border-color: var(--ui-icon-button-hover-border, var(--_icon-button-hover-border, var(--ui-control-border-hover, var(--ui-control-border))));
|
|
1528
1528
|
}
|
|
1529
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1529
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1530
1530
|
background-color: var(--ui-icon-button-hover-surface, transparent);
|
|
1531
1531
|
--_outline-wash: var(--ui-neutral-wash-hover);
|
|
1532
1532
|
background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
|
|
1533
1533
|
}
|
|
1534
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"]:active:enabled:not([aria-disabled="true"]) {
|
|
1534
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"]:active:enabled:not([aria-disabled="true"]) {
|
|
1535
1535
|
background-color: var(--ui-icon-button-active-surface, var(--ui-neutral-active));
|
|
1536
1536
|
}
|
|
1537
1537
|
|
|
1538
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1538
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1539
1539
|
border-color: var(--ui-icon-button-hover-border, var(--_solid-hover-border));
|
|
1540
1540
|
background-color: var(--ui-icon-button-solid-hover-surface, var(--_icon-button-solid-hover-surface, var(--ui-accent-hover)));
|
|
1541
1541
|
background-image: var(--_tone-hover-highlight);
|
|
1542
1542
|
}
|
|
1543
1543
|
|
|
1544
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1544
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1545
1545
|
color: var(--ui-icon-button-solid-text, var(--_icon-button-solid-text, var(--ui-text-on-accent)));
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="ghost"][aria-expanded="true"]:enabled:not([aria-disabled="true"]) {
|
|
1548
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="ghost"][aria-expanded="true"]:enabled:not([aria-disabled="true"]) {
|
|
1549
1549
|
background-color: var(--ui-icon-button-active-surface, color-mix(in srgb, currentColor 16%, transparent));
|
|
1550
1550
|
color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
|
|
1551
1551
|
box-shadow: var(--ui-pressed);
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
1554
|
/* Native toggle state persists after pointer release, including during loading. */
|
|
1555
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"][aria-pressed="true"]:enabled {
|
|
1555
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"][aria-pressed="true"]:enabled {
|
|
1556
1556
|
background-color: var(--ui-icon-button-active-surface, color-mix(in srgb, currentColor 12%, var(--ui-surface-default)));
|
|
1557
1557
|
background-image: none;
|
|
1558
1558
|
box-shadow: var(--ui-pressed);
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
-
:scope:where([data-component~="ui-icon-button"]):active:enabled:not([aria-disabled="true"]) {
|
|
1561
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))):active:enabled:not([aria-disabled="true"]) {
|
|
1562
1562
|
scale: var(--ui-icon-button-active-scale, var(--ui-press-scale, 0.96));
|
|
1563
1563
|
}
|
|
1564
1564
|
|
|
1565
|
-
:is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"]) {
|
|
1565
|
+
:is(:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="loading"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="pending"]) {
|
|
1566
1566
|
cursor: progress;
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
@@ -1572,61 +1572,61 @@
|
|
|
1572
1572
|
justify-content: center !important;
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
|
-
:is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"]) .content {
|
|
1575
|
+
:is(:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="loading"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="pending"]) .content {
|
|
1576
1576
|
display: none !important;
|
|
1577
1577
|
}
|
|
1578
1578
|
|
|
1579
1579
|
@media (prefers-reduced-motion: reduce) {
|
|
1580
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"] .content {
|
|
1580
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="anticipatory"] .content {
|
|
1581
1581
|
transition: none;
|
|
1582
1582
|
}
|
|
1583
1583
|
}
|
|
1584
1584
|
|
|
1585
|
-
:scope:where([data-component~="ui-icon-button"]):focus-visible {
|
|
1585
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))):focus-visible {
|
|
1586
1586
|
outline: none;
|
|
1587
1587
|
box-shadow: var(--ui-focus-halo);
|
|
1588
1588
|
}
|
|
1589
1589
|
|
|
1590
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:focus-visible {
|
|
1590
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"]:focus-visible {
|
|
1591
1591
|
box-shadow:
|
|
1592
1592
|
var(--ui-neutral-shadow),
|
|
1593
1593
|
var(--ui-focus-halo);
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:focus-visible {
|
|
1596
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"]:focus-visible {
|
|
1597
1597
|
box-shadow:
|
|
1598
1598
|
var(--ui-icon-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
1599
1599
|
var(--ui-focus-halo);
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
1602
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:active:enabled:not([aria-disabled="true"]) {
|
|
1602
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"]:active:enabled:not([aria-disabled="true"]) {
|
|
1603
1603
|
background-color: var(--ui-icon-button-active-surface, var(--_solid-active-surface));
|
|
1604
1604
|
border-color: var(--_solid-active-border);
|
|
1605
1605
|
}
|
|
1606
1606
|
|
|
1607
|
-
:scope:where([data-component~="ui-icon-button"]):is(:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"], :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]):active:enabled:not([aria-disabled="true"]) {
|
|
1607
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))):is(:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"], :scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="solid"]):active:enabled:not([aria-disabled="true"]) {
|
|
1608
1608
|
background-image: none;
|
|
1609
1609
|
box-shadow: var(--ui-pressed);
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"][aria-pressed="true"]:enabled:focus-visible {
|
|
1612
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"][aria-pressed="true"]:enabled:focus-visible {
|
|
1613
1613
|
box-shadow:
|
|
1614
1614
|
var(--ui-pressed),
|
|
1615
1615
|
var(--ui-focus-halo);
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
1618
|
@media (forced-colors: active) {
|
|
1619
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"][aria-pressed="true"]:enabled {
|
|
1619
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"][aria-pressed="true"]:enabled {
|
|
1620
1620
|
outline: var(--ui-focus-width) solid Highlight;
|
|
1621
1621
|
outline-offset: calc(-2 * var(--ui-focus-width));
|
|
1622
1622
|
}
|
|
1623
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"][aria-pressed="true"]:enabled:focus-visible {
|
|
1623
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="outline"][aria-pressed="true"]:enabled:focus-visible {
|
|
1624
1624
|
outline-offset: var(--ui-focus-width);
|
|
1625
1625
|
}
|
|
1626
1626
|
}
|
|
1627
1627
|
|
|
1628
1628
|
/* Disabled is a flat neutral control, independent of the active variant's tone. */
|
|
1629
|
-
:scope:where([data-component~="ui-icon-button"])[data-tone]:disabled {
|
|
1629
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-tone]:disabled {
|
|
1630
1630
|
border-color: var(--ui-disabled-border);
|
|
1631
1631
|
background-color: var(--ui-disabled-surface);
|
|
1632
1632
|
color: var(--ui-disabled-text);
|
|
@@ -1637,11 +1637,11 @@
|
|
|
1637
1637
|
background-image: none;
|
|
1638
1638
|
}
|
|
1639
1639
|
|
|
1640
|
-
:scope:where([data-component~="ui-icon-button"])[data-appearance="ghost"]:disabled {
|
|
1640
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-appearance="ghost"]:disabled {
|
|
1641
1641
|
border-color: transparent;
|
|
1642
1642
|
}
|
|
1643
1643
|
|
|
1644
|
-
:scope:where([data-component~="ui-icon-button"]) {
|
|
1644
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))) {
|
|
1645
1645
|
--_icon-button-icon-default: var(--ui-icon-size-md);
|
|
1646
1646
|
/* A slotted ui-icon is its own component, out of reach of the svg rule below; these are its
|
|
1647
1647
|
defaults, which its own --ui-icon-* hooks still override. */
|
|
@@ -1649,24 +1649,24 @@
|
|
|
1649
1649
|
--_ui-default-icon-stroke-width: var(--_ui-icon-button-icon-stroke-width, 1.75);
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=xs"] {
|
|
1652
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="size=xs"] {
|
|
1653
1653
|
--_icon-button-icon-default: var(--ui-icon-size-xs);
|
|
1654
1654
|
}
|
|
1655
1655
|
|
|
1656
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=sm"] {
|
|
1656
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="size=sm"] {
|
|
1657
1657
|
--_icon-button-icon-default: var(--ui-icon-size-sm);
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
|
-
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=lg"] {
|
|
1660
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[data-ui-icon-button-state~="size=lg"] {
|
|
1661
1661
|
--_icon-button-icon-default: var(--ui-icon-size-lg);
|
|
1662
1662
|
}
|
|
1663
1663
|
|
|
1664
1664
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1665
|
-
:scope:where([data-component~="ui-icon-button"])[hidden] {
|
|
1665
|
+
:scope:where(:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component])))[hidden] {
|
|
1666
1666
|
display: none !important;
|
|
1667
1667
|
}
|
|
1668
1668
|
}
|
|
1669
|
-
@scope ([data-component~="ui-icon-button"]) to ([data-component]) {
|
|
1669
|
+
@scope (:is([component~="ui-icon-button"]:not(template), [data-component~="ui-icon-button"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
1670
1670
|
/* Neutral actions and form fields share the control boundary. */
|
|
1671
1671
|
|
|
1672
1672
|
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
@@ -1706,19 +1706,19 @@
|
|
|
1706
1706
|
|
|
1707
1707
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1708
1708
|
}
|
|
1709
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1709
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
1710
1710
|
@supports (-moz-appearance: none) {
|
|
1711
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1712
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
1711
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1712
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
1713
1713
|
}
|
|
1714
1714
|
@supports (-moz-appearance: none) {
|
|
1715
|
-
[data-component~="ui-list"] { --html-next-scope-owner: "ui-list" !important; }
|
|
1715
|
+
:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component])) { --html-next-scope-owner: "ui-list" !important; }
|
|
1716
1716
|
}
|
|
1717
|
-
@scope ([data-component~="ui-list"]) to ([data-component], [data-slotted]) {
|
|
1717
|
+
@scope (:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
1718
1718
|
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
1719
1719
|
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
1720
1720
|
markers. */
|
|
1721
|
-
:scope:where([data-component~="ui-list"]) {
|
|
1721
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component]))) {
|
|
1722
1722
|
--_list-gap: var(--ui-list-gap, var(--ui-space-1));
|
|
1723
1723
|
--_list-min-item-width: var(--ui-list-min-item-width, 14rem);
|
|
1724
1724
|
display: flex !important;
|
|
@@ -1731,21 +1731,21 @@
|
|
|
1731
1731
|
list-style: none;
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
|
-
:scope:where([data-component~="ui-list"])[data-ui-list-state~="as=ol"],
|
|
1735
|
-
:scope:where([data-component~="ui-list"])[data-ui-list-state~="markers=disc"] {
|
|
1734
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component])))[data-ui-list-state~="as=ol"],
|
|
1735
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component])))[data-ui-list-state~="markers=disc"] {
|
|
1736
1736
|
padding-inline-start: var(--ui-space-5) !important;
|
|
1737
1737
|
}
|
|
1738
1738
|
|
|
1739
|
-
:scope:where([data-component~="ui-list"])[data-ui-list-state~="as=ol"] {
|
|
1739
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component])))[data-ui-list-state~="as=ol"] {
|
|
1740
1740
|
list-style: decimal;
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
|
-
:scope:where([data-component~="ui-list"])[data-ui-list-state~="markers=disc"] {
|
|
1743
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component])))[data-ui-list-state~="markers=disc"] {
|
|
1744
1744
|
list-style: disc;
|
|
1745
1745
|
}
|
|
1746
1746
|
|
|
1747
1747
|
/* Compact passes its size to the items through private properties, which cross into each item. */
|
|
1748
|
-
:scope:where([data-component~="ui-list"])[data-ui-list-state~="density=compact"] {
|
|
1748
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component])))[data-ui-list-state~="density=compact"] {
|
|
1749
1749
|
--_list-gap: var(--ui-list-gap, var(--ui-space-2));
|
|
1750
1750
|
--_ui-list-item-min-size: 0;
|
|
1751
1751
|
--_ui-list-item-padding-block: 0;
|
|
@@ -1755,23 +1755,23 @@
|
|
|
1755
1755
|
--_ui-list-native-padding-inline: 0;
|
|
1756
1756
|
}
|
|
1757
1757
|
|
|
1758
|
-
:scope:where([data-component~="ui-list"])[data-ui-list-state~="layout=grid"] {
|
|
1758
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component])))[data-ui-list-state~="layout=grid"] {
|
|
1759
1759
|
--_list-gap: var(--ui-list-gap, var(--ui-space-3));
|
|
1760
1760
|
display: grid !important;
|
|
1761
1761
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--_list-min-item-width)), 1fr));
|
|
1762
1762
|
}
|
|
1763
1763
|
|
|
1764
1764
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1765
|
-
:scope:where([data-component~="ui-list"])[hidden] {
|
|
1765
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component])))[hidden] {
|
|
1766
1766
|
display: none !important;
|
|
1767
1767
|
}
|
|
1768
1768
|
}
|
|
1769
|
-
@scope ([data-component~="ui-list"]) to ([data-component]) {
|
|
1769
|
+
@scope (:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
1770
1770
|
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
1771
1771
|
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
1772
1772
|
markers. */
|
|
1773
1773
|
|
|
1774
|
-
:scope:where([data-component~="ui-list"]) > :where([data-slotted], [data-slotted] *):is(li) {
|
|
1774
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component]))) > :where([data-slotted], [data-slotted] *):is(li) {
|
|
1775
1775
|
box-sizing: border-box !important;
|
|
1776
1776
|
min-inline-size: 0;
|
|
1777
1777
|
padding: var(--_ui-list-native-padding-block, var(--ui-space-2)) var(--_ui-list-native-padding-inline, var(--ui-space-3)) !important;
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
list-style: inherit;
|
|
1781
1781
|
}
|
|
1782
1782
|
|
|
1783
|
-
:scope:where([data-component~="ui-list"]) > :where([data-slotted], [data-slotted] *):is(li.card) {
|
|
1783
|
+
:scope:where(:is([component~="ui-list"]:not(template), [data-component~="ui-list"]:not([component]))) > :where([data-slotted], [data-slotted] *):is(li.card) {
|
|
1784
1784
|
padding: var(--_ui-list-native-padding-block, var(--ui-space-3)) var(--_ui-list-native-padding-inline, var(--ui-space-4)) !important;
|
|
1785
1785
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
1786
1786
|
border-radius: var(--ui-radius-lg);
|
|
@@ -1792,18 +1792,18 @@
|
|
|
1792
1792
|
|
|
1793
1793
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1794
1794
|
}
|
|
1795
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1795
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
1796
1796
|
@supports (-moz-appearance: none) {
|
|
1797
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1798
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
1797
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1798
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
1799
1799
|
}
|
|
1800
1800
|
@supports (-moz-appearance: none) {
|
|
1801
|
-
[data-component~="ui-menu"] { --html-next-scope-owner: "ui-menu" !important; }
|
|
1801
|
+
:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])) { --html-next-scope-owner: "ui-menu" !important; }
|
|
1802
1802
|
}
|
|
1803
|
-
@scope ([data-component~="ui-menu"]) to ([data-component], [data-slotted]) {
|
|
1803
|
+
@scope (:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
1804
1804
|
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
1805
1805
|
still win. */
|
|
1806
|
-
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="density=compact"] {
|
|
1806
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[data-ui-menu-state~="density=compact"] {
|
|
1807
1807
|
--_ui-default-menu-item-padding-block: var(--ui-space-1);
|
|
1808
1808
|
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
1809
1809
|
--_ui-default-menu-item-font-size: var(--ui-font-size-sm);
|
|
@@ -1813,7 +1813,7 @@
|
|
|
1813
1813
|
}
|
|
1814
1814
|
|
|
1815
1815
|
/* Small follows its trigger down: an item's own hooks still win. */
|
|
1816
|
-
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="size=sm"] {
|
|
1816
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[data-ui-menu-state~="size=sm"] {
|
|
1817
1817
|
--_ui-default-menu-item-padding-block: var(--ui-space-0-5);
|
|
1818
1818
|
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
1819
1819
|
--_ui-default-menu-item-font-size: var(--ui-font-size-xs);
|
|
@@ -1825,11 +1825,11 @@
|
|
|
1825
1825
|
gap: 0 !important;
|
|
1826
1826
|
}
|
|
1827
1827
|
|
|
1828
|
-
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="icons"] {
|
|
1828
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[data-ui-menu-state~="icons"] {
|
|
1829
1829
|
--_ui-default-menu-icon-display: inline-flex;
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
1832
|
-
:scope:where([data-component~="ui-menu"]) {
|
|
1832
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))) {
|
|
1833
1833
|
--_ui-material-scale: 0.28;
|
|
1834
1834
|
--_ui-menu-surface: var(--ui-menu-surface);
|
|
1835
1835
|
--_ui-menu-border: var(--ui-menu-border);
|
|
@@ -1874,7 +1874,7 @@
|
|
|
1874
1874
|
|
|
1875
1875
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
1876
1876
|
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
1877
|
-
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
1877
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([inline]) .surface {
|
|
1878
1878
|
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
1879
1879
|
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
1880
1880
|
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
@@ -1910,13 +1910,13 @@
|
|
|
1910
1910
|
}
|
|
1911
1911
|
|
|
1912
1912
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
1913
|
-
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
1913
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([inline]) .surface {
|
|
1914
1914
|
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
1915
1915
|
}
|
|
1916
1916
|
}
|
|
1917
1917
|
|
|
1918
1918
|
@media (prefers-reduced-transparency: reduce) {
|
|
1919
|
-
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
1919
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([inline]) .surface {
|
|
1920
1920
|
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
1921
1921
|
-webkit-backdrop-filter: none;
|
|
1922
1922
|
backdrop-filter: none;
|
|
@@ -1924,7 +1924,7 @@
|
|
|
1924
1924
|
}
|
|
1925
1925
|
|
|
1926
1926
|
@media (forced-colors: active) {
|
|
1927
|
-
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
1927
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([inline]) .surface {
|
|
1928
1928
|
background: Canvas;
|
|
1929
1929
|
border-color: CanvasText;
|
|
1930
1930
|
box-shadow: none;
|
|
@@ -1941,11 +1941,11 @@
|
|
|
1941
1941
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
1942
1942
|
}
|
|
1943
1943
|
|
|
1944
|
-
:scope:where([data-component~="ui-menu"]):not([data-ui-menu-state~="internalOpen"]):not(:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="inline"]) {
|
|
1944
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([data-ui-menu-state~="internalOpen"]):not(:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[data-ui-menu-state~="inline"]) {
|
|
1945
1945
|
display: none !important;
|
|
1946
1946
|
}
|
|
1947
1947
|
|
|
1948
|
-
:scope:where([data-component~="ui-menu"])[popover] {
|
|
1948
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[popover] {
|
|
1949
1949
|
position: fixed;
|
|
1950
1950
|
inset: auto;
|
|
1951
1951
|
margin: 0 !important;
|
|
@@ -1960,29 +1960,29 @@
|
|
|
1960
1960
|
overlay var(--ui-motion-fast) allow-discrete;
|
|
1961
1961
|
}
|
|
1962
1962
|
|
|
1963
|
-
:scope:where([data-component~="ui-menu"])[popover]:popover-open {
|
|
1963
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[popover]:popover-open {
|
|
1964
1964
|
opacity: 1;
|
|
1965
1965
|
transform: translateY(0) scale(1);
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
1968
1968
|
@starting-style {
|
|
1969
|
-
:scope:where([data-component~="ui-menu"])[popover]:popover-open {
|
|
1969
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[popover]:popover-open {
|
|
1970
1970
|
opacity: 0;
|
|
1971
1971
|
transform: translateY(-4px) scale(0.99);
|
|
1972
1972
|
}
|
|
1973
1973
|
}
|
|
1974
1974
|
|
|
1975
|
-
:scope:where([data-component~="ui-menu"])[hidden] {
|
|
1975
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[hidden] {
|
|
1976
1976
|
display: none !important;
|
|
1977
1977
|
}
|
|
1978
1978
|
|
|
1979
1979
|
@media (prefers-reduced-motion: reduce) {
|
|
1980
|
-
:scope:where([data-component~="ui-menu"])[popover] {
|
|
1980
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[popover] {
|
|
1981
1981
|
transition: none;
|
|
1982
1982
|
}
|
|
1983
1983
|
}
|
|
1984
1984
|
}
|
|
1985
|
-
@scope ([data-component~="ui-menu"]) to ([data-component]) {
|
|
1985
|
+
@scope (:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
1986
1986
|
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
1987
1987
|
still win. */
|
|
1988
1988
|
|
|
@@ -2006,16 +2006,16 @@
|
|
|
2006
2006
|
@media (prefers-reduced-motion: reduce) {
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
2009
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2010
2010
|
@supports (-moz-appearance: none) {
|
|
2011
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2012
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2011
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2012
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
2013
2013
|
}
|
|
2014
2014
|
@supports (-moz-appearance: none) {
|
|
2015
|
-
[data-component~="ui-menu-item"] { --html-next-scope-owner: "ui-menu-item" !important; }
|
|
2015
|
+
:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])) { --html-next-scope-owner: "ui-menu-item" !important; }
|
|
2016
2016
|
}
|
|
2017
|
-
@scope ([data-component~="ui-menu-item"]) to ([data-component], [data-slotted]) {
|
|
2018
|
-
:scope:where([data-component~="ui-menu-item"]) {
|
|
2017
|
+
@scope (:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
2018
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component]))) {
|
|
2019
2019
|
display: flex !important;
|
|
2020
2020
|
align-items: center !important;
|
|
2021
2021
|
gap: var(--ui-space-2) !important;
|
|
@@ -2048,7 +2048,7 @@
|
|
|
2048
2048
|
display: inline-flex !important;
|
|
2049
2049
|
}
|
|
2050
2050
|
|
|
2051
|
-
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="tone=danger"] {
|
|
2051
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[data-ui-menu-item-state~="tone=danger"] {
|
|
2052
2052
|
color: var(--ui-danger-subtle-text);
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
@@ -2074,18 +2074,18 @@
|
|
|
2074
2074
|
--_ui-default-icon-size: 0.75rem;
|
|
2075
2075
|
}
|
|
2076
2076
|
|
|
2077
|
-
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="type=action"] .indicator {
|
|
2077
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[data-ui-menu-item-state~="type=action"] .indicator {
|
|
2078
2078
|
display: none !important;
|
|
2079
2079
|
}
|
|
2080
2080
|
|
|
2081
|
-
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="type=checkbox"][aria-checked="true"] .indicator {
|
|
2081
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[data-ui-menu-item-state~="type=checkbox"][aria-checked="true"] .indicator {
|
|
2082
2082
|
border-color: var(--ui-accent);
|
|
2083
2083
|
background: var(--ui-accent);
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
2086
|
/* A menu marks its chosen item with a check, as menus conventionally do; a radio circle reads
|
|
2087
2087
|
as a form control. The empty slot keeps unchosen labels aligned with the chosen one. */
|
|
2088
|
-
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="type=radio"] .indicator {
|
|
2088
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[data-ui-menu-item-state~="type=radio"] .indicator {
|
|
2089
2089
|
border-color: transparent;
|
|
2090
2090
|
color: var(--ui-text-secondary);
|
|
2091
2091
|
}
|
|
@@ -2105,55 +2105,55 @@
|
|
|
2105
2105
|
|
|
2106
2106
|
/* Keep the text row at the shared control height where cap trimming is available. */
|
|
2107
2107
|
@supports (text-box-trim: trim-both) {
|
|
2108
|
-
:scope:where([data-component~="ui-menu-item"]) {
|
|
2108
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component]))) {
|
|
2109
2109
|
min-block-size: var(--ui-menu-item-min-block-size, var(--_ui-default-menu-item-min-block-size, var(--ui-control-size-md, 2.5rem)));
|
|
2110
2110
|
text-box-trim: trim-both;
|
|
2111
2111
|
text-box-edge: cap alphabetic;
|
|
2112
2112
|
}
|
|
2113
2113
|
}
|
|
2114
2114
|
|
|
2115
|
-
:scope:where([data-component~="ui-menu-item"]):is(:hover, :focus-visible):not([aria-disabled="true"]) {
|
|
2115
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component]))):is(:hover, :focus-visible):not([aria-disabled="true"]) {
|
|
2116
2116
|
background: var(--ui-menu-item-hover-surface, var(--ui-accent-subtle));
|
|
2117
2117
|
}
|
|
2118
2118
|
|
|
2119
|
-
:scope:where([data-component~="ui-menu-item"])[aria-checked="true"]:not([aria-disabled="true"]) {
|
|
2119
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[aria-checked="true"]:not([aria-disabled="true"]) {
|
|
2120
2120
|
background: var(--ui-selection-surface);
|
|
2121
2121
|
color: var(--ui-selection-text);
|
|
2122
2122
|
}
|
|
2123
2123
|
|
|
2124
|
-
:scope:where([data-component~="ui-menu-item"]):focus-visible {
|
|
2124
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component]))):focus-visible {
|
|
2125
2125
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
2126
2126
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
2127
2127
|
}
|
|
2128
2128
|
|
|
2129
|
-
:scope:where([data-component~="ui-menu-item"])[aria-disabled="true"] {
|
|
2129
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[aria-disabled="true"] {
|
|
2130
2130
|
background: var(--ui-disabled-surface);
|
|
2131
2131
|
color: var(--ui-disabled-text);
|
|
2132
2132
|
cursor: not-allowed;
|
|
2133
2133
|
}
|
|
2134
2134
|
|
|
2135
|
-
:scope:where([data-component~="ui-menu-item"])[aria-disabled="true"] .indicator {
|
|
2135
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[aria-disabled="true"] .indicator {
|
|
2136
2136
|
border-color: var(--ui-disabled-border);
|
|
2137
2137
|
background: transparent;
|
|
2138
2138
|
color: var(--ui-disabled-text);
|
|
2139
2139
|
}
|
|
2140
2140
|
|
|
2141
|
-
:scope:where([data-component~="ui-menu-item"])[aria-disabled="true"] .indicator:where(:not([data-component], [data-slotted]))::after {
|
|
2141
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[aria-disabled="true"] .indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2142
2142
|
background: var(--ui-disabled-text);
|
|
2143
2143
|
}
|
|
2144
2144
|
|
|
2145
2145
|
@media (forced-colors: active) {
|
|
2146
|
-
:scope:where([data-component~="ui-menu-item"]):focus-visible {
|
|
2146
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component]))):focus-visible {
|
|
2147
2147
|
outline-color: Highlight;
|
|
2148
2148
|
}
|
|
2149
2149
|
}
|
|
2150
2150
|
|
|
2151
2151
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2152
|
-
:scope:where([data-component~="ui-menu-item"])[hidden] {
|
|
2152
|
+
:scope:where(:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component])))[hidden] {
|
|
2153
2153
|
display: none !important;
|
|
2154
2154
|
}
|
|
2155
2155
|
}
|
|
2156
|
-
@scope ([data-component~="ui-menu-item"]) to ([data-component]) {
|
|
2156
|
+
@scope (:is([component~="ui-menu-item"]:not(template), [data-component~="ui-menu-item"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
2157
2157
|
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
2158
2158
|
|
|
2159
2159
|
.icon :where([data-slotted], [data-slotted] *):is(svg) {
|
|
@@ -2178,16 +2178,16 @@
|
|
|
2178
2178
|
|
|
2179
2179
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2180
2180
|
}
|
|
2181
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
2181
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2182
2182
|
@supports (-moz-appearance: none) {
|
|
2183
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2184
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2183
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2184
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
2185
2185
|
}
|
|
2186
2186
|
@supports (-moz-appearance: none) {
|
|
2187
|
-
[data-component~="ui-popover"] { --html-next-scope-owner: "ui-popover" !important; }
|
|
2187
|
+
:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])) { --html-next-scope-owner: "ui-popover" !important; }
|
|
2188
2188
|
}
|
|
2189
|
-
@scope ([data-component~="ui-popover"]) to ([data-component], [data-slotted]) {
|
|
2190
|
-
:scope:where([data-component~="ui-popover"]) {
|
|
2189
|
+
@scope (:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
2190
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component]))) {
|
|
2191
2191
|
--_ui-material-scale: 0.55;
|
|
2192
2192
|
--_ui-popover-surface: var(--ui-popover-surface);
|
|
2193
2193
|
--_ui-popover-border: var(--ui-popover-border);
|
|
@@ -2283,7 +2283,7 @@
|
|
|
2283
2283
|
}
|
|
2284
2284
|
|
|
2285
2285
|
/* A toolbar or card can supply its own surface, including an unclipped shadow. */
|
|
2286
|
-
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="bare"] .surface {
|
|
2286
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[data-ui-popover-state~="bare"] .surface {
|
|
2287
2287
|
overflow: visible;
|
|
2288
2288
|
padding: 0 !important;
|
|
2289
2289
|
border: 0;
|
|
@@ -2293,11 +2293,11 @@
|
|
|
2293
2293
|
backdrop-filter: none;
|
|
2294
2294
|
}
|
|
2295
2295
|
|
|
2296
|
-
:scope:where([data-component~="ui-popover"]):not([data-ui-popover-state~="internalOpen"]) {
|
|
2296
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component]))):not([data-ui-popover-state~="internalOpen"]) {
|
|
2297
2297
|
display: none !important;
|
|
2298
2298
|
}
|
|
2299
2299
|
|
|
2300
|
-
:scope:where([data-component~="ui-popover"])[popover] {
|
|
2300
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[popover] {
|
|
2301
2301
|
position: fixed;
|
|
2302
2302
|
inset: auto;
|
|
2303
2303
|
margin: 0 !important;
|
|
@@ -2310,42 +2310,42 @@
|
|
|
2310
2310
|
overlay var(--ui-motion-fast) allow-discrete;
|
|
2311
2311
|
}
|
|
2312
2312
|
|
|
2313
|
-
:scope:where([data-component~="ui-popover"])[popover]:popover-open {
|
|
2313
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[popover]:popover-open {
|
|
2314
2314
|
opacity: 1;
|
|
2315
2315
|
transform: translateY(0) scale(1);
|
|
2316
2316
|
}
|
|
2317
2317
|
|
|
2318
2318
|
@starting-style {
|
|
2319
|
-
:scope:where([data-component~="ui-popover"])[popover]:popover-open {
|
|
2319
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[popover]:popover-open {
|
|
2320
2320
|
opacity: 0;
|
|
2321
2321
|
transform: translateY(-4px) scale(0.99);
|
|
2322
2322
|
}
|
|
2323
2323
|
}
|
|
2324
2324
|
|
|
2325
|
-
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=sm"] {
|
|
2325
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[data-ui-popover-state~="size=sm"] {
|
|
2326
2326
|
inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2327
2327
|
max-inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2328
2328
|
}
|
|
2329
|
-
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=md"] {
|
|
2329
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[data-ui-popover-state~="size=md"] {
|
|
2330
2330
|
inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2331
2331
|
max-inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2332
2332
|
}
|
|
2333
|
-
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=lg"] {
|
|
2333
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[data-ui-popover-state~="size=lg"] {
|
|
2334
2334
|
inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2335
2335
|
max-inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2336
2336
|
}
|
|
2337
2337
|
|
|
2338
|
-
:scope:where([data-component~="ui-popover"])[hidden] {
|
|
2338
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[hidden] {
|
|
2339
2339
|
display: none !important;
|
|
2340
2340
|
}
|
|
2341
2341
|
|
|
2342
2342
|
@media (prefers-reduced-motion: reduce) {
|
|
2343
|
-
:scope:where([data-component~="ui-popover"])[popover] {
|
|
2343
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[popover] {
|
|
2344
2344
|
transition: none;
|
|
2345
2345
|
}
|
|
2346
2346
|
}
|
|
2347
2347
|
}
|
|
2348
|
-
@scope ([data-component~="ui-popover"]) to ([data-component]) {
|
|
2348
|
+
@scope (:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
2349
2349
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
2350
2350
|
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
2351
2351
|
|
|
@@ -2366,21 +2366,21 @@
|
|
|
2366
2366
|
@media (prefers-reduced-motion: reduce) {
|
|
2367
2367
|
}
|
|
2368
2368
|
}
|
|
2369
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
2369
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2370
2370
|
@supports (-moz-appearance: none) {
|
|
2371
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2372
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2371
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2372
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
2373
2373
|
}
|
|
2374
2374
|
@supports (-moz-appearance: none) {
|
|
2375
|
-
[data-component~="ui-stack"] { --html-next-scope-owner: "ui-stack" !important; }
|
|
2375
|
+
:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])) { --html-next-scope-owner: "ui-stack" !important; }
|
|
2376
2376
|
}
|
|
2377
|
-
@scope ([data-component~="ui-stack"]) to ([data-component], [data-slotted]) {
|
|
2377
|
+
@scope (:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
2378
2378
|
@property --_ui-stack-height {
|
|
2379
2379
|
syntax: "*";
|
|
2380
2380
|
inherits: false;
|
|
2381
2381
|
}
|
|
2382
2382
|
|
|
2383
|
-
:scope:where([data-component~="ui-stack"]) {
|
|
2383
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component]))) {
|
|
2384
2384
|
--_layout-gap: var(--ui-space-4);
|
|
2385
2385
|
display: flex !important;
|
|
2386
2386
|
flex-direction: column !important;
|
|
@@ -2391,77 +2391,77 @@
|
|
|
2391
2391
|
margin: 0 !important;
|
|
2392
2392
|
}
|
|
2393
2393
|
|
|
2394
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="fill"] {
|
|
2394
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="fill"] {
|
|
2395
2395
|
flex: 1;
|
|
2396
2396
|
min-block-size: 0;
|
|
2397
2397
|
}
|
|
2398
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="height"] {
|
|
2398
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="height"] {
|
|
2399
2399
|
block-size: calc(var(--_ui-stack-height, 0) * 1px);
|
|
2400
2400
|
min-block-size: 0;
|
|
2401
2401
|
}
|
|
2402
2402
|
|
|
2403
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=none"] {
|
|
2403
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=none"] {
|
|
2404
2404
|
--_layout-gap: 0px;
|
|
2405
2405
|
}
|
|
2406
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=xs"] {
|
|
2406
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=xs"] {
|
|
2407
2407
|
--_layout-gap: var(--ui-space-2);
|
|
2408
2408
|
}
|
|
2409
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=s"] {
|
|
2409
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=s"] {
|
|
2410
2410
|
--_layout-gap: var(--ui-space-3);
|
|
2411
2411
|
}
|
|
2412
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=m"] {
|
|
2412
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=m"] {
|
|
2413
2413
|
--_layout-gap: var(--ui-space-4);
|
|
2414
2414
|
}
|
|
2415
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=l"] {
|
|
2415
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=l"] {
|
|
2416
2416
|
--_layout-gap: var(--ui-space-5);
|
|
2417
2417
|
}
|
|
2418
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=xl"] {
|
|
2418
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=xl"] {
|
|
2419
2419
|
--_layout-gap: var(--ui-space-6);
|
|
2420
2420
|
}
|
|
2421
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=start"] {
|
|
2421
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="align=start"] {
|
|
2422
2422
|
align-items: flex-start !important;
|
|
2423
2423
|
}
|
|
2424
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=center"] {
|
|
2424
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="align=center"] {
|
|
2425
2425
|
align-items: center !important;
|
|
2426
2426
|
}
|
|
2427
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=end"] {
|
|
2427
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="align=end"] {
|
|
2428
2428
|
align-items: flex-end !important;
|
|
2429
2429
|
}
|
|
2430
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=center"] {
|
|
2430
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="justify=center"] {
|
|
2431
2431
|
justify-content: center !important;
|
|
2432
2432
|
}
|
|
2433
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=end"] {
|
|
2433
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="justify=end"] {
|
|
2434
2434
|
justify-content: flex-end !important;
|
|
2435
2435
|
}
|
|
2436
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=between"] {
|
|
2436
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="justify=between"] {
|
|
2437
2437
|
justify-content: space-between !important;
|
|
2438
2438
|
}
|
|
2439
2439
|
|
|
2440
2440
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2441
|
-
:scope:where([data-component~="ui-stack"])[hidden] {
|
|
2441
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[hidden] {
|
|
2442
2442
|
display: none !important;
|
|
2443
2443
|
}
|
|
2444
2444
|
}
|
|
2445
|
-
@scope ([data-component~="ui-stack"]) to ([data-component]) {
|
|
2445
|
+
@scope (:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
2446
2446
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2447
2447
|
}
|
|
2448
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
2448
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2449
2449
|
@supports (-moz-appearance: none) {
|
|
2450
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2451
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2450
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2451
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
2452
2452
|
}
|
|
2453
2453
|
@supports (-moz-appearance: none) {
|
|
2454
|
-
[data-component~="ui-text"] { --html-next-scope-owner: "ui-text" !important; }
|
|
2454
|
+
:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])) { --html-next-scope-owner: "ui-text" !important; }
|
|
2455
2455
|
}
|
|
2456
|
-
@scope ([data-component~="ui-text"]) to ([data-component], [data-slotted]) {
|
|
2456
|
+
@scope (:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
2457
2457
|
/* Running text, set on the type scale and in a tone that says what it is, so a view never styles
|
|
2458
2458
|
text of its own. The root is a paragraph unless as= names a span, div, small, strong, label, or
|
|
2459
2459
|
heading. */
|
|
2460
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="grow"] {
|
|
2460
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="grow"] {
|
|
2461
2461
|
flex: 1;
|
|
2462
2462
|
}
|
|
2463
2463
|
|
|
2464
|
-
:scope:where([data-component~="ui-text"]) {
|
|
2464
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component]))) {
|
|
2465
2465
|
margin: 0 !important;
|
|
2466
2466
|
min-inline-size: 0;
|
|
2467
2467
|
color: inherit;
|
|
@@ -2470,142 +2470,142 @@
|
|
|
2470
2470
|
|
|
2471
2471
|
/* A heading drops the browser's heading size and weight, so size and weight set it as they set
|
|
2472
2472
|
any text, and inherit keeps the text around it. */
|
|
2473
|
-
:scope:where([data-component~="ui-text"]):is(h1, h2, h3, h4, h5, h6) {
|
|
2473
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component]))):is(h1, h2, h3, h4, h5, h6) {
|
|
2474
2474
|
font-family: var(--ui-font-display, inherit);
|
|
2475
2475
|
font-size: inherit;
|
|
2476
2476
|
font-weight: inherit;
|
|
2477
2477
|
}
|
|
2478
2478
|
|
|
2479
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="size=xs"] {
|
|
2479
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="size=xs"] {
|
|
2480
2480
|
font-size: var(--ui-font-size-xs);
|
|
2481
2481
|
line-height: var(--ui-line-height);
|
|
2482
2482
|
}
|
|
2483
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="size=sm"] {
|
|
2483
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="size=sm"] {
|
|
2484
2484
|
font-size: var(--ui-font-size-sm);
|
|
2485
2485
|
line-height: var(--ui-line-height);
|
|
2486
2486
|
}
|
|
2487
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="size=md"] {
|
|
2487
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="size=md"] {
|
|
2488
2488
|
font-size: var(--ui-font-size-md);
|
|
2489
2489
|
line-height: var(--ui-line-height);
|
|
2490
2490
|
}
|
|
2491
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="size=lg"] {
|
|
2491
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="size=lg"] {
|
|
2492
2492
|
font-size: var(--ui-font-size-lg);
|
|
2493
2493
|
line-height: var(--ui-line-height-relaxed);
|
|
2494
2494
|
}
|
|
2495
2495
|
|
|
2496
2496
|
/* Opt in at the text owner; trimming does not inherit from a surrounding layout. */
|
|
2497
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="trim"] {
|
|
2497
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="trim"] {
|
|
2498
2498
|
text-box-trim: trim-both;
|
|
2499
2499
|
text-box-edge: cap alphabetic;
|
|
2500
2500
|
}
|
|
2501
2501
|
|
|
2502
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=secondary"] {
|
|
2502
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=secondary"] {
|
|
2503
2503
|
color: var(--ui-text-secondary);
|
|
2504
2504
|
}
|
|
2505
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=muted"] {
|
|
2505
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=muted"] {
|
|
2506
2506
|
color: var(--ui-text-muted);
|
|
2507
2507
|
}
|
|
2508
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent-secondary"] {
|
|
2508
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=accent-secondary"] {
|
|
2509
2509
|
color: var(--ui-accent-secondary-subtle-text);
|
|
2510
2510
|
}
|
|
2511
2511
|
|
|
2512
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent-tertiary"] {
|
|
2512
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=accent-tertiary"] {
|
|
2513
2513
|
color: var(--ui-accent-tertiary-subtle-text);
|
|
2514
2514
|
}
|
|
2515
2515
|
|
|
2516
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent"] {
|
|
2516
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=accent"] {
|
|
2517
2517
|
color: var(--ui-accent-subtle-text);
|
|
2518
2518
|
}
|
|
2519
2519
|
/* Every status tone uses the text-safe token a subtle badge sets its words in, so text and badges
|
|
2520
2520
|
in one tone match, and each holds 4.5:1 on sunken surfaces where some base colours fall short. */
|
|
2521
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=danger"] {
|
|
2521
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=danger"] {
|
|
2522
2522
|
color: var(--ui-danger-subtle-text);
|
|
2523
2523
|
}
|
|
2524
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=success"] {
|
|
2524
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=success"] {
|
|
2525
2525
|
color: var(--ui-success-subtle-text);
|
|
2526
2526
|
}
|
|
2527
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=info"] {
|
|
2527
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=info"] {
|
|
2528
2528
|
color: var(--ui-info-subtle-text);
|
|
2529
2529
|
}
|
|
2530
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=warning"] {
|
|
2530
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="tone=warning"] {
|
|
2531
2531
|
color: var(--ui-warning-subtle-text);
|
|
2532
2532
|
}
|
|
2533
2533
|
|
|
2534
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="weight=normal"] {
|
|
2534
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="weight=normal"] {
|
|
2535
2535
|
font-weight: var(--ui-font-normal);
|
|
2536
2536
|
}
|
|
2537
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="weight=medium"] {
|
|
2537
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="weight=medium"] {
|
|
2538
2538
|
font-weight: var(--ui-font-medium);
|
|
2539
2539
|
}
|
|
2540
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="weight=semibold"] {
|
|
2540
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="weight=semibold"] {
|
|
2541
2541
|
font-weight: var(--ui-font-semibold);
|
|
2542
2542
|
}
|
|
2543
2543
|
|
|
2544
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=display"], :scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=heading"] {
|
|
2544
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="variant=display"], :scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="variant=heading"] {
|
|
2545
2545
|
font-family: var(--ui-font-display, var(--ui-font-family-sans));
|
|
2546
2546
|
font-weight: var(--ui-font-semibold);
|
|
2547
2547
|
line-height: var(--ui-line-height-tight);
|
|
2548
2548
|
}
|
|
2549
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=display"] {
|
|
2549
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="variant=display"] {
|
|
2550
2550
|
font-size: var(--ui-font-size-2xl);
|
|
2551
2551
|
}
|
|
2552
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=heading"] {
|
|
2552
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="variant=heading"] {
|
|
2553
2553
|
font-size: var(--ui-font-size-xl);
|
|
2554
2554
|
}
|
|
2555
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=label"] {
|
|
2555
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="variant=label"] {
|
|
2556
2556
|
font-size: var(--ui-font-size-sm);
|
|
2557
2557
|
font-weight: var(--ui-font-medium);
|
|
2558
2558
|
line-height: var(--ui-line-height);
|
|
2559
2559
|
}
|
|
2560
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=caption"] {
|
|
2560
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="variant=caption"] {
|
|
2561
2561
|
font-size: var(--ui-font-size-sm);
|
|
2562
2562
|
line-height: var(--ui-line-height);
|
|
2563
2563
|
}
|
|
2564
2564
|
|
|
2565
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=eyebrow"] {
|
|
2565
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="variant=eyebrow"] {
|
|
2566
2566
|
font-size: var(--ui-font-size-xs);
|
|
2567
2567
|
font-weight: var(--ui-font-semibold);
|
|
2568
2568
|
letter-spacing: 0.06em;
|
|
2569
2569
|
line-height: var(--ui-line-height);
|
|
2570
2570
|
text-transform: uppercase;
|
|
2571
2571
|
}
|
|
2572
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=code"] {
|
|
2572
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="variant=code"] {
|
|
2573
2573
|
font-family: var(--ui-font-family-mono);
|
|
2574
2574
|
}
|
|
2575
2575
|
|
|
2576
2576
|
/* A link in running text is underlined, so it stands apart from the words around it by more than
|
|
2577
2577
|
colour. */
|
|
2578
2578
|
|
|
2579
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="truncate"] {
|
|
2579
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="truncate"] {
|
|
2580
2580
|
overflow: hidden;
|
|
2581
2581
|
text-overflow: ellipsis;
|
|
2582
2582
|
white-space: nowrap;
|
|
2583
2583
|
}
|
|
2584
2584
|
|
|
2585
2585
|
/* Trim ends the layout box at the baseline; preserve descending ink while clipping long labels. */
|
|
2586
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="trim"][data-ui-text-state~="truncate"] {
|
|
2586
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="trim"][data-ui-text-state~="truncate"] {
|
|
2587
2587
|
overflow-x: clip;
|
|
2588
2588
|
overflow-y: visible;
|
|
2589
2589
|
}
|
|
2590
2590
|
|
|
2591
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="align=center"] {
|
|
2591
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="align=center"] {
|
|
2592
2592
|
text-align: center;
|
|
2593
2593
|
}
|
|
2594
2594
|
|
|
2595
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="font=sans"] {
|
|
2595
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="font=sans"] {
|
|
2596
2596
|
font-family: var(--ui-font-family-sans, sans-serif);
|
|
2597
2597
|
}
|
|
2598
2598
|
|
|
2599
|
-
:scope:where([data-component~="ui-text"])[data-ui-text-state~="wrap=anywhere"] {
|
|
2599
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[data-ui-text-state~="wrap=anywhere"] {
|
|
2600
2600
|
overflow-wrap: anywhere;
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
2603
2603
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2604
|
-
:scope:where([data-component~="ui-text"])[hidden] {
|
|
2604
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component])))[hidden] {
|
|
2605
2605
|
display: none !important;
|
|
2606
2606
|
}
|
|
2607
2607
|
}
|
|
2608
|
-
@scope ([data-component~="ui-text"]) to ([data-component]) {
|
|
2608
|
+
@scope (:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
2609
2609
|
/* Running text, set on the type scale and in a tone that says what it is, so a view never styles
|
|
2610
2610
|
text of its own. The root is a paragraph unless as= names a span, div, small, strong, label, or
|
|
2611
2611
|
heading. */
|
|
@@ -2619,7 +2619,7 @@
|
|
|
2619
2619
|
|
|
2620
2620
|
/* A link in running text is underlined, so it stands apart from the words around it by more than
|
|
2621
2621
|
colour. */
|
|
2622
|
-
:scope:where([data-component~="ui-text"]) :where([data-slotted], [data-slotted] *):is(a) {
|
|
2622
|
+
:scope:where(:is([component~="ui-text"]:not(template), [data-component~="ui-text"]:not([component]))) :where([data-slotted], [data-slotted] *):is(a) {
|
|
2623
2623
|
color: var(--ui-link-color, var(--ui-accent-subtle-text));
|
|
2624
2624
|
text-decoration: underline;
|
|
2625
2625
|
text-decoration-thickness: 0.06em;
|
|
@@ -2630,16 +2630,16 @@
|
|
|
2630
2630
|
|
|
2631
2631
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2632
2632
|
}
|
|
2633
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
2633
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2634
2634
|
@supports (-moz-appearance: none) {
|
|
2635
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2636
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2635
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2636
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
2637
2637
|
}
|
|
2638
2638
|
@supports (-moz-appearance: none) {
|
|
2639
|
-
[data-component~="ui-tooltip"] { --html-next-scope-owner: "ui-tooltip" !important; }
|
|
2639
|
+
:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])) { --html-next-scope-owner: "ui-tooltip" !important; }
|
|
2640
2640
|
}
|
|
2641
|
-
@scope ([data-component~="ui-tooltip"]) to ([data-component], [data-slotted]) {
|
|
2642
|
-
:scope:where([data-component~="ui-tooltip"]) {
|
|
2641
|
+
@scope (:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
2642
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))) {
|
|
2643
2643
|
--_ui-material-scale: 0.08;
|
|
2644
2644
|
/* Resolve shared part values at the component root. */
|
|
2645
2645
|
--_ui-tooltip-border: var(--ui-tooltip-border);
|
|
@@ -2675,56 +2675,35 @@
|
|
|
2675
2675
|
|
|
2676
2676
|
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
2677
2677
|
.surface {
|
|
2678
|
-
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border
|
|
2678
|
+
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border)));
|
|
2679
2679
|
position: relative;
|
|
2680
2680
|
display: flex !important;
|
|
2681
2681
|
align-items: baseline !important;
|
|
2682
|
-
gap: var(--ui-space-
|
|
2682
|
+
gap: var(--ui-space-1) !important;
|
|
2683
2683
|
box-sizing: border-box !important;
|
|
2684
2684
|
max-inline-size: var(--_ui-tooltip-max-inline-size, 18rem);
|
|
2685
2685
|
border: var(--ui-border-width) solid var(--_tooltip-line);
|
|
2686
|
-
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-
|
|
2686
|
+
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-sm)));
|
|
2687
2687
|
background: var(--_ui-tooltip-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
2688
2688
|
color: var(--_ui-tooltip-text, var(--ui-text-primary));
|
|
2689
|
-
padding: var(--ui-space-
|
|
2689
|
+
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
2690
2690
|
font-family: var(--ui-font-family-sans);
|
|
2691
|
-
font-size: var(--ui-font-size-
|
|
2691
|
+
font-size: var(--ui-font-size-xs);
|
|
2692
2692
|
line-height: var(--ui-line-height-tight);
|
|
2693
|
-
box-shadow: var(--_ui-tooltip-shadow, var(--ui-overlay-shadow, var(--ui-elevation-tooltip, var(--ui-shadow-
|
|
2693
|
+
box-shadow: var(--_ui-tooltip-shadow, var(--ui-overlay-shadow, var(--ui-elevation-tooltip, var(--ui-shadow-sm))));
|
|
2694
2694
|
}
|
|
2695
2695
|
|
|
2696
|
-
/*
|
|
2697
|
-
|
|
2696
|
+
/* A hint keeps one edge and a quiet lift. The shared palette supplies its tint;
|
|
2697
|
+
the nearly opaque label plane and matching arrow remain readable over content. */
|
|
2698
2698
|
.surface {
|
|
2699
2699
|
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
2700
|
-
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
2701
|
-
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
2702
|
-
--_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 8px);
|
|
2703
2700
|
--_ui-material-content-color: var(
|
|
2704
2701
|
--_ui-tooltip-surface,
|
|
2705
|
-
var(--
|
|
2702
|
+
var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
|
|
2706
2703
|
);
|
|
2707
|
-
--_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
|
|
2708
2704
|
background:
|
|
2709
|
-
var(--ui-material-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent))) padding-box,
|
|
2710
2705
|
linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color)) padding-box,
|
|
2711
|
-
linear-gradient(
|
|
2712
|
-
border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
|
|
2713
|
-
border-color: var(
|
|
2714
|
-
--_ui-tooltip-border,
|
|
2715
|
-
color-mix(in oklab, var(--ui-overlay-border, var(--ui-border-strong)) calc((1 - var(--_ui-material-active)) * 100%), transparent)
|
|
2716
|
-
);
|
|
2717
|
-
box-shadow: var(
|
|
2718
|
-
--_ui-tooltip-shadow,
|
|
2719
|
-
var(
|
|
2720
|
-
--ui-overlay-shadow,
|
|
2721
|
-
0 calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 8px) calc(
|
|
2722
|
-
var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 24px
|
|
2723
|
-
) color-mix(in oklab, var(--ui-text-primary) 15%, transparent),
|
|
2724
|
-
inset 0 0 0 calc(var(--_ui-material-active) * var(--ui-border-width)) var(--ui-material-edge, var(--ui-border-strong)),
|
|
2725
|
-
var(--ui-elevation-tooltip, var(--ui-shadow-md))
|
|
2726
|
-
)
|
|
2727
|
-
);
|
|
2706
|
+
linear-gradient(transparent, transparent) border-box;
|
|
2728
2707
|
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.08) * 32px));
|
|
2729
2708
|
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.08) * 32px));
|
|
2730
2709
|
}
|
|
@@ -2761,7 +2740,7 @@
|
|
|
2761
2740
|
padding-inline-start: var(--ui-space-2) !important;
|
|
2762
2741
|
border-inline-start: 1px solid color-mix(in oklab, currentColor 28%, transparent);
|
|
2763
2742
|
color: color-mix(in oklab, currentColor 72%, transparent);
|
|
2764
|
-
font-size: var(--ui-font-size-
|
|
2743
|
+
font-size: var(--ui-font-size-2xs);
|
|
2765
2744
|
font-weight: var(--ui-font-normal);
|
|
2766
2745
|
white-space: nowrap;
|
|
2767
2746
|
vertical-align: baseline;
|
|
@@ -2773,7 +2752,7 @@
|
|
|
2773
2752
|
|
|
2774
2753
|
/* A <kbd> takes the browser's monospace; the hint reads in the tooltip's own type. */
|
|
2775
2754
|
|
|
2776
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-tooltip-state~="inverse"] .surface {
|
|
2755
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-tooltip-state~="inverse"] .surface {
|
|
2777
2756
|
--_tooltip-line: var(--_ui-tooltip-inverse-surface, var(--ui-text-primary));
|
|
2778
2757
|
background: var(--_ui-tooltip-inverse-surface, var(--ui-text-primary));
|
|
2779
2758
|
color: var(--_ui-tooltip-inverse-text, var(--ui-surface-default));
|
|
@@ -2781,7 +2760,7 @@
|
|
|
2781
2760
|
|
|
2782
2761
|
/* A rotated square shares the surface fill and draws the two outward border edges. Its centre sits on
|
|
2783
2762
|
* the surface border line, so the fill covers that stretch of border and the outline runs unbroken. */
|
|
2784
|
-
.surface:where(:not([data-component], [data-slotted]))::after {
|
|
2763
|
+
.surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2785
2764
|
content: "";
|
|
2786
2765
|
position: absolute;
|
|
2787
2766
|
z-index: 1;
|
|
@@ -2799,7 +2778,7 @@
|
|
|
2799
2778
|
transform: scale(1.25, 0.85) rotate(45deg);
|
|
2800
2779
|
}
|
|
2801
2780
|
|
|
2802
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="bottom"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2781
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="bottom"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2803
2782
|
inset-block-start: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
2804
2783
|
inset-block-end: auto;
|
|
2805
2784
|
border-inline-end-width: 0;
|
|
@@ -2810,74 +2789,74 @@
|
|
|
2810
2789
|
border-start-start-radius: var(--ui-border-width);
|
|
2811
2790
|
}
|
|
2812
2791
|
|
|
2813
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-align="center"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2792
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-align="center"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2814
2793
|
inset-inline-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.625rem) / 2);
|
|
2815
2794
|
}
|
|
2816
2795
|
|
|
2817
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2796
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-align="end"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2818
2797
|
inset-inline-start: auto;
|
|
2819
2798
|
inset-inline-end: var(--ui-space-3);
|
|
2820
2799
|
}
|
|
2821
2800
|
|
|
2822
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
2823
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2801
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="left"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
2802
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="right"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2824
2803
|
inset-block-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.625rem) / 2);
|
|
2825
2804
|
inset-block-end: auto;
|
|
2826
2805
|
border: 0 solid var(--_tooltip-line);
|
|
2827
2806
|
}
|
|
2828
2807
|
|
|
2829
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2808
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="left"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2830
2809
|
inset-inline-start: auto;
|
|
2831
2810
|
inset-inline-end: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
2832
2811
|
border-inline-end-width: var(--ui-border-width);
|
|
2833
2812
|
border-block-start-width: var(--ui-border-width);
|
|
2834
2813
|
}
|
|
2835
2814
|
|
|
2836
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2815
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="right"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2837
2816
|
inset-inline-start: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
2838
2817
|
inset-inline-end: auto;
|
|
2839
2818
|
border-inline-start-width: var(--ui-border-width);
|
|
2840
2819
|
border-block-end-width: var(--ui-border-width);
|
|
2841
2820
|
}
|
|
2842
2821
|
|
|
2843
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"][data-ui-actual-align="start"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
2844
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"][data-ui-actual-align="start"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2822
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="left"][data-ui-actual-align="start"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
2823
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="right"][data-ui-actual-align="start"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2845
2824
|
inset-block-start: var(--ui-space-3);
|
|
2846
2825
|
}
|
|
2847
2826
|
|
|
2848
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"][data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
2849
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"][data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2827
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="left"][data-ui-actual-align="end"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
2828
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="right"][data-ui-actual-align="end"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2850
2829
|
inset-block-start: auto;
|
|
2851
2830
|
inset-block-end: var(--ui-space-3);
|
|
2852
2831
|
}
|
|
2853
2832
|
|
|
2854
|
-
:scope:where([data-component~="ui-tooltip"]):popover-open {
|
|
2833
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))):popover-open {
|
|
2855
2834
|
opacity: 1;
|
|
2856
2835
|
transform: translateY(0);
|
|
2857
2836
|
}
|
|
2858
2837
|
|
|
2859
2838
|
@starting-style {
|
|
2860
|
-
:scope:where([data-component~="ui-tooltip"]):popover-open {
|
|
2839
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))):popover-open {
|
|
2861
2840
|
opacity: 0;
|
|
2862
2841
|
transform: translateY(4px);
|
|
2863
2842
|
}
|
|
2864
2843
|
}
|
|
2865
2844
|
|
|
2866
|
-
:scope:where([data-component~="ui-tooltip"])[hidden] {
|
|
2845
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[hidden] {
|
|
2867
2846
|
display: none !important;
|
|
2868
2847
|
}
|
|
2869
2848
|
|
|
2870
2849
|
@media (prefers-reduced-motion: reduce) {
|
|
2871
|
-
:scope:where([data-component~="ui-tooltip"]) {
|
|
2850
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))) {
|
|
2872
2851
|
transition: none;
|
|
2873
2852
|
}
|
|
2874
2853
|
}
|
|
2875
2854
|
}
|
|
2876
|
-
@scope ([data-component~="ui-tooltip"]) to ([data-component]) {
|
|
2855
|
+
@scope (:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
2877
2856
|
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
2878
2857
|
|
|
2879
|
-
/*
|
|
2880
|
-
|
|
2858
|
+
/* A hint keeps one edge and a quiet lift. The shared palette supplies its tint;
|
|
2859
|
+
the nearly opaque label plane and matching arrow remain readable over content. */
|
|
2881
2860
|
|
|
2882
2861
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
2883
2862
|
}
|
|
@@ -2905,16 +2884,16 @@
|
|
|
2905
2884
|
@media (prefers-reduced-motion: reduce) {
|
|
2906
2885
|
}
|
|
2907
2886
|
}
|
|
2908
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
2887
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2909
2888
|
@supports (-moz-appearance: none) {
|
|
2910
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2911
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2889
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2890
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
2912
2891
|
}
|
|
2913
2892
|
@supports (-moz-appearance: none) {
|
|
2914
|
-
[data-component~="ui-checkbox"] { --html-next-scope-owner: "ui-checkbox" !important; }
|
|
2893
|
+
:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])) { --html-next-scope-owner: "ui-checkbox" !important; }
|
|
2915
2894
|
}
|
|
2916
|
-
@scope ([data-component~="ui-checkbox"]) to ([data-component], [data-slotted]) {
|
|
2917
|
-
:scope:where([data-component~="ui-checkbox"]) {
|
|
2895
|
+
@scope (:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
2896
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) {
|
|
2918
2897
|
/* Resolve shared part values at the component root. */
|
|
2919
2898
|
--_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
|
|
2920
2899
|
--_ui-checkbox-invalid-border: var(--ui-checkbox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
@@ -2994,7 +2973,7 @@
|
|
|
2994
2973
|
box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
2995
2974
|
}
|
|
2996
2975
|
|
|
2997
|
-
input:where(:not([data-component], [data-slotted]))::after {
|
|
2976
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
2998
2977
|
content: "";
|
|
2999
2978
|
position: absolute !important;
|
|
3000
2979
|
transform: none !important;
|
|
@@ -3012,7 +2991,7 @@
|
|
|
3012
2991
|
|
|
3013
2992
|
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|
|
3014
2993
|
Centre that box directly; rotated border boxes do not centre the visible check. */
|
|
3015
|
-
input:checked:where(:not([data-component], [data-slotted]))::after {
|
|
2994
|
+
input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
3016
2995
|
inset: 50% auto auto 50% !important;
|
|
3017
2996
|
inline-size: calc(var(--_ui-checkbox-size) * 0.7) !important;
|
|
3018
2997
|
block-size: calc(var(--_ui-checkbox-size) * 0.7) !important;
|
|
@@ -3024,7 +3003,7 @@
|
|
|
3024
3003
|
animation: ui-checkbox-check var(--ui-motion-base) var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
3025
3004
|
}
|
|
3026
3005
|
|
|
3027
|
-
input:indeterminate:where(:not([data-component], [data-slotted]))::after {
|
|
3006
|
+
input:indeterminate:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
3028
3007
|
mask: none;
|
|
3029
3008
|
animation: none;
|
|
3030
3009
|
inset: 50% calc(var(--_ui-checkbox-size) * 0.23 / 1.125) auto !important;
|
|
@@ -3052,9 +3031,9 @@
|
|
|
3052
3031
|
}
|
|
3053
3032
|
|
|
3054
3033
|
@media (prefers-reduced-motion: reduce) {
|
|
3055
|
-
input:where(:not([data-component], [data-slotted])),
|
|
3056
|
-
input:where(:not([data-component], [data-slotted]))::after,
|
|
3057
|
-
input:checked:where(:not([data-component], [data-slotted]))::after {
|
|
3034
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted])),
|
|
3035
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
3036
|
+
input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
3058
3037
|
transition: none;
|
|
3059
3038
|
animation: none;
|
|
3060
3039
|
}
|
|
@@ -3067,31 +3046,31 @@
|
|
|
3067
3046
|
background: Highlight;
|
|
3068
3047
|
border-color: Highlight;
|
|
3069
3048
|
}
|
|
3070
|
-
input:checked:where(:not([data-component], [data-slotted]))::after,
|
|
3071
|
-
input:indeterminate:where(:not([data-component], [data-slotted]))::after {
|
|
3049
|
+
input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
3050
|
+
input:indeterminate:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
3072
3051
|
forced-color-adjust: none;
|
|
3073
3052
|
background: HighlightText;
|
|
3074
3053
|
}
|
|
3075
3054
|
}
|
|
3076
3055
|
|
|
3077
3056
|
@media (hover: hover) and (forced-colors: none) {
|
|
3078
|
-
:scope:where([data-component~="ui-checkbox"]):hover input:enabled {
|
|
3057
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled {
|
|
3079
3058
|
--_choice-hover-wash: var(--ui-neutral-wash-hover);
|
|
3080
3059
|
background-image:
|
|
3081
3060
|
linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
|
|
3082
3061
|
var(--ui-surface-highlight, linear-gradient(transparent, transparent));
|
|
3083
3062
|
}
|
|
3084
3063
|
|
|
3085
|
-
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:not([aria-invalid="true"]) {
|
|
3064
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:not([aria-invalid="true"]) {
|
|
3086
3065
|
border-color: var(--ui-control-border-hover, var(--ui-border-strong));
|
|
3087
3066
|
}
|
|
3088
3067
|
|
|
3089
|
-
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate) {
|
|
3068
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:is(:checked, :indeterminate) {
|
|
3090
3069
|
background-color: var(--ui-choice-hover-surface);
|
|
3091
3070
|
background-image: var(--ui-choice-hover-highlight, none);
|
|
3092
3071
|
}
|
|
3093
3072
|
|
|
3094
|
-
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]) {
|
|
3073
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]) {
|
|
3095
3074
|
border-color: var(--ui-choice-hover-surface);
|
|
3096
3075
|
}
|
|
3097
3076
|
}
|
|
@@ -3101,18 +3080,18 @@
|
|
|
3101
3080
|
outline-offset: var(--ui-focus-width);
|
|
3102
3081
|
}
|
|
3103
3082
|
|
|
3104
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="invalid"] input {
|
|
3083
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="invalid"] input {
|
|
3105
3084
|
border-color: var(--_ui-checkbox-invalid-border);
|
|
3106
3085
|
}
|
|
3107
3086
|
|
|
3108
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] {
|
|
3087
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] {
|
|
3109
3088
|
color: var(--ui-disabled-text);
|
|
3110
3089
|
cursor: not-allowed;
|
|
3111
3090
|
}
|
|
3112
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] .description {
|
|
3091
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] .description {
|
|
3113
3092
|
color: var(--ui-disabled-text);
|
|
3114
3093
|
}
|
|
3115
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] input {
|
|
3094
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] input {
|
|
3116
3095
|
border-color: var(--ui-disabled-border);
|
|
3117
3096
|
background: var(--ui-disabled-surface);
|
|
3118
3097
|
box-shadow: none;
|
|
@@ -3122,29 +3101,29 @@
|
|
|
3122
3101
|
/* A sized choice keeps its box and aligns instead: the label takes that size's field type size,
|
|
3123
3102
|
and the first line centres in that control height, so the label shares a row's baseline.
|
|
3124
3103
|
Multi-line labels and descriptions still grow downward from that first line. */
|
|
3125
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"] {
|
|
3104
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=sm"] {
|
|
3126
3105
|
--_font: var(--ui-font-size-sm);
|
|
3127
3106
|
--_row: var(--ui-control-size-sm);
|
|
3128
3107
|
}
|
|
3129
3108
|
|
|
3130
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
|
|
3109
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=lg"] {
|
|
3131
3110
|
--_font: var(--ui-font-size-md);
|
|
3132
3111
|
--_row: var(--ui-control-size-lg);
|
|
3133
3112
|
}
|
|
3134
3113
|
|
|
3135
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"],
|
|
3136
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
|
|
3114
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=sm"],
|
|
3115
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=lg"] {
|
|
3137
3116
|
--_line: calc(var(--_font) * var(--ui-line-height-md));
|
|
3138
3117
|
font-size: var(--_font);
|
|
3139
3118
|
padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-checkbox-size, 1.125rem))) / 2)) !important;
|
|
3140
3119
|
}
|
|
3141
3120
|
|
|
3142
3121
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3143
|
-
:scope:where([data-component~="ui-checkbox"])[hidden] {
|
|
3122
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[hidden] {
|
|
3144
3123
|
display: none !important;
|
|
3145
3124
|
}
|
|
3146
3125
|
}
|
|
3147
|
-
@scope ([data-component~="ui-checkbox"]) to ([data-component]) {
|
|
3126
|
+
@scope (:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
3148
3127
|
/* The label, and under it an optional line saying what the choice means. */
|
|
3149
3128
|
|
|
3150
3129
|
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|
|
@@ -3165,17 +3144,17 @@
|
|
|
3165
3144
|
|
|
3166
3145
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3167
3146
|
}
|
|
3168
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
3147
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
3169
3148
|
@supports (-moz-appearance: none) {
|
|
3170
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3171
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3149
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3150
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
3172
3151
|
}
|
|
3173
3152
|
@supports (-moz-appearance: none) {
|
|
3174
|
-
[data-component~="ui-disclosure"] { --html-next-scope-owner: "ui-disclosure" !important; }
|
|
3153
|
+
:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])) { --html-next-scope-owner: "ui-disclosure" !important; }
|
|
3175
3154
|
}
|
|
3176
|
-
@scope ([data-component~="ui-disclosure"]) to ([data-component], [data-slotted]) {
|
|
3155
|
+
@scope (:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
3177
3156
|
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
3178
|
-
:scope:where([data-component~="ui-disclosure"]) {
|
|
3157
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component]))) {
|
|
3179
3158
|
/* Resolve shared part values at the component root. */
|
|
3180
3159
|
--_ui-disclosure-trigger-min-block-size: var(--ui-disclosure-trigger-min-block-size);
|
|
3181
3160
|
--_ui-disclosure-trigger-padding-block: var(--ui-disclosure-trigger-padding-block);
|
|
@@ -3186,7 +3165,7 @@
|
|
|
3186
3165
|
--_trigger-padding-inline: var(--ui-space-3);
|
|
3187
3166
|
}
|
|
3188
3167
|
|
|
3189
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="density=compact"] {
|
|
3168
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="density=compact"] {
|
|
3190
3169
|
--_trigger-min-block-size: var(--ui-control-size-sm);
|
|
3191
3170
|
--_trigger-padding-block: var(--ui-space-1);
|
|
3192
3171
|
--_trigger-padding-inline: var(--ui-space-2);
|
|
@@ -3194,7 +3173,7 @@
|
|
|
3194
3173
|
|
|
3195
3174
|
/* An accordion row, not a field: no enclosing box, just a divider, so it never reads as a
|
|
3196
3175
|
* select or combobox. Stacked disclosures share their dividers. */
|
|
3197
|
-
:scope:where([data-component~="ui-disclosure"]) {
|
|
3176
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component]))) {
|
|
3198
3177
|
display: block !important;
|
|
3199
3178
|
inline-size: 100%;
|
|
3200
3179
|
overflow: clip;
|
|
@@ -3251,7 +3230,7 @@
|
|
|
3251
3230
|
.indicator {
|
|
3252
3231
|
transition: transform var(--ui-motion-feedback) var(--ui-motion-feedback-ease);
|
|
3253
3232
|
}
|
|
3254
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="internalOpen"] .indicator {
|
|
3233
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="internalOpen"] .indicator {
|
|
3255
3234
|
transform: rotate(180deg);
|
|
3256
3235
|
}
|
|
3257
3236
|
|
|
@@ -3275,16 +3254,16 @@
|
|
|
3275
3254
|
padding-inline: var(--ui-space-3) !important;
|
|
3276
3255
|
}
|
|
3277
3256
|
|
|
3278
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="internalOpen"] .panel {
|
|
3257
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="internalOpen"] .panel {
|
|
3279
3258
|
grid-template-rows: 1fr;
|
|
3280
3259
|
}
|
|
3281
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="internalOpen"] .panel-inner {
|
|
3260
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="internalOpen"] .panel-inner {
|
|
3282
3261
|
padding-block: var(--ui-space-4) !important;
|
|
3283
3262
|
}
|
|
3284
3263
|
|
|
3285
3264
|
/* A bounded accordion owns one flexible body, so its trigger never scrolls away. The
|
|
3286
3265
|
* normal content-sized layout and its animation remain unchanged when fill is omitted. */
|
|
3287
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] {
|
|
3266
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="fill"] {
|
|
3288
3267
|
display: flex !important;
|
|
3289
3268
|
flex-direction: column !important;
|
|
3290
3269
|
flex: 0 0 var(--_ui-disclosure-heading-size, var(--_trigger-min-block-size));
|
|
@@ -3293,20 +3272,20 @@
|
|
|
3293
3272
|
border-block-end: 0;
|
|
3294
3273
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
3295
3274
|
}
|
|
3296
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"][data-ui-disclosure-state~="internalOpen"] {
|
|
3275
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="fill"][data-ui-disclosure-state~="internalOpen"] {
|
|
3297
3276
|
flex-grow: 1;
|
|
3298
3277
|
}
|
|
3299
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .heading {
|
|
3278
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="fill"] .heading {
|
|
3300
3279
|
flex: none;
|
|
3301
3280
|
}
|
|
3302
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .trigger {
|
|
3281
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="fill"] .trigger {
|
|
3303
3282
|
border-radius: 0;
|
|
3304
3283
|
}
|
|
3305
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .panel {
|
|
3284
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="fill"] .panel {
|
|
3306
3285
|
flex: 1;
|
|
3307
3286
|
min-block-size: 0;
|
|
3308
3287
|
}
|
|
3309
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .panel-inner {
|
|
3288
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="fill"] .panel-inner {
|
|
3310
3289
|
display: flex !important;
|
|
3311
3290
|
flex-direction: column !important;
|
|
3312
3291
|
flex: 1;
|
|
@@ -3314,7 +3293,7 @@
|
|
|
3314
3293
|
padding: 0 !important;
|
|
3315
3294
|
}
|
|
3316
3295
|
|
|
3317
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] .trigger {
|
|
3296
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="variant=navigation"] .trigger {
|
|
3318
3297
|
gap: var(--ui-nav-gap) !important;
|
|
3319
3298
|
padding-inline: var(--ui-nav-padding-inline) !important;
|
|
3320
3299
|
min-block-size: var(--ui-nav-min-block-size);
|
|
@@ -3324,31 +3303,31 @@
|
|
|
3324
3303
|
font-weight: var(--ui-font-normal);
|
|
3325
3304
|
color: var(--ui-text-secondary);
|
|
3326
3305
|
}
|
|
3327
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"] .trigger {
|
|
3306
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"] .trigger {
|
|
3328
3307
|
padding-inline: var(--ui-nav-compact-padding-inline) !important;
|
|
3329
3308
|
padding-block: var(--ui-nav-compact-padding-block) !important;
|
|
3330
3309
|
min-block-size: var(--ui-nav-compact-min-block-size);
|
|
3331
3310
|
font-size: var(--ui-font-size-sm);
|
|
3332
3311
|
}
|
|
3333
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] .trigger:hover:not(:disabled) {
|
|
3312
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="variant=navigation"] .trigger:hover:not(:disabled) {
|
|
3334
3313
|
background: var(--ui-nav-hover-surface);
|
|
3335
3314
|
color: var(--ui-text-primary);
|
|
3336
3315
|
}
|
|
3337
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="internalOpen"] .panel-inner {
|
|
3316
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="internalOpen"] .panel-inner {
|
|
3338
3317
|
padding-block: 0 !important;
|
|
3339
3318
|
}
|
|
3340
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] :is(.leading, .indicator) {
|
|
3319
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="variant=navigation"] :is(.leading, .indicator) {
|
|
3341
3320
|
inline-size: var(--ui-nav-icon-size);
|
|
3342
3321
|
font-size: var(--ui-nav-icon-size);
|
|
3343
3322
|
}
|
|
3344
3323
|
@media (pointer: coarse) {
|
|
3345
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"] .trigger {
|
|
3324
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"] .trigger {
|
|
3346
3325
|
min-block-size: var(--ui-control-min-block-size);
|
|
3347
3326
|
}
|
|
3348
3327
|
}
|
|
3349
3328
|
|
|
3350
3329
|
@media (prefers-reduced-motion: reduce) {
|
|
3351
|
-
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"],
|
|
3330
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[data-ui-disclosure-state~="fill"],
|
|
3352
3331
|
.panel,
|
|
3353
3332
|
.indicator {
|
|
3354
3333
|
transition: none;
|
|
@@ -3356,11 +3335,11 @@
|
|
|
3356
3335
|
}
|
|
3357
3336
|
|
|
3358
3337
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3359
|
-
:scope:where([data-component~="ui-disclosure"])[hidden] {
|
|
3338
|
+
:scope:where(:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component])))[hidden] {
|
|
3360
3339
|
display: none !important;
|
|
3361
3340
|
}
|
|
3362
3341
|
}
|
|
3363
|
-
@scope ([data-component~="ui-disclosure"]) to ([data-component]) {
|
|
3342
|
+
@scope (:is([component~="ui-disclosure"]:not(template), [data-component~="ui-disclosure"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
3364
3343
|
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
3365
3344
|
|
|
3366
3345
|
/* An accordion row, not a field: no enclosing box, just a divider, so it never reads as a
|
|
@@ -3376,15 +3355,15 @@
|
|
|
3376
3355
|
|
|
3377
3356
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3378
3357
|
}
|
|
3379
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
3358
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
3380
3359
|
@supports (-moz-appearance: none) {
|
|
3381
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3382
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3360
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3361
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
3383
3362
|
}
|
|
3384
3363
|
@supports (-moz-appearance: none) {
|
|
3385
|
-
[data-component~="ui-input"] { --html-next-scope-owner: "ui-input" !important; }
|
|
3364
|
+
:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])) { --html-next-scope-owner: "ui-input" !important; }
|
|
3386
3365
|
}
|
|
3387
|
-
@scope ([data-component~="ui-input"]) to ([data-component], [data-slotted]) {
|
|
3366
|
+
@scope (:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
3388
3367
|
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
3389
3368
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
3390
3369
|
@property --_ui-input-stroke {
|
|
@@ -3393,7 +3372,7 @@
|
|
|
3393
3372
|
initial-value: 1px;
|
|
3394
3373
|
}
|
|
3395
3374
|
|
|
3396
|
-
:scope:where([data-component~="ui-input"]) {
|
|
3375
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))) {
|
|
3397
3376
|
--_ui-input-size: var(--ui-control-size-md);
|
|
3398
3377
|
--_ui-input-inset-block: var(--ui-control-inset-block-md, var(--ui-space-2));
|
|
3399
3378
|
--_ui-input-stroke: var(--ui-input-border-width, var(--_ui-default-input-border-width, var(--ui-border-width)));
|
|
@@ -3422,7 +3401,7 @@
|
|
|
3422
3401
|
}
|
|
3423
3402
|
|
|
3424
3403
|
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
3425
|
-
:scope:where([data-component~="ui-input"]):is([type="text"], [type="search"], [type="tel"], [type="url"], [type="email"], [type="password"], [type="number"]) {
|
|
3404
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):is([type="text"], [type="search"], [type="tel"], [type="url"], [type="email"], [type="password"], [type="number"]) {
|
|
3426
3405
|
max-block-size: max(
|
|
3427
3406
|
calc(var(--_ui-input-size) - var(--_ui-default-input-frame-width, 0px)),
|
|
3428
3407
|
calc(1em * var(--ui-line-height-tight) + 2 * var(--_ui-input-inset-block) + 2 * var(--_ui-input-stroke))
|
|
@@ -3430,7 +3409,7 @@
|
|
|
3430
3409
|
}
|
|
3431
3410
|
|
|
3432
3411
|
/* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
|
|
3433
|
-
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=sm"] {
|
|
3412
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[data-ui-input-state~="size=sm"] {
|
|
3434
3413
|
--_ui-input-size: var(--ui-control-size-sm);
|
|
3435
3414
|
--_ui-input-inset-block: var(--ui-control-inset-block-sm, var(--ui-space-1));
|
|
3436
3415
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-sm)));
|
|
@@ -3438,7 +3417,7 @@
|
|
|
3438
3417
|
font-size: var(--ui-font-size-sm);
|
|
3439
3418
|
}
|
|
3440
3419
|
|
|
3441
|
-
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=lg"] {
|
|
3420
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[data-ui-input-state~="size=lg"] {
|
|
3442
3421
|
--_ui-input-size: var(--ui-control-size-lg);
|
|
3443
3422
|
--_ui-input-inset-block: var(--ui-control-inset-block-lg, var(--ui-space-3));
|
|
3444
3423
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-lg)));
|
|
@@ -3448,41 +3427,41 @@
|
|
|
3448
3427
|
|
|
3449
3428
|
/* Touch may use body-size text in a small native field to avoid focus zoom; this does not impose a larger visible control height. */
|
|
3450
3429
|
@media (pointer: coarse) {
|
|
3451
|
-
:scope:where([data-component~="ui-input"]),
|
|
3452
|
-
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=sm"],
|
|
3453
|
-
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=lg"] {
|
|
3430
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))),
|
|
3431
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[data-ui-input-state~="size=sm"],
|
|
3432
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[data-ui-input-state~="size=lg"] {
|
|
3454
3433
|
font-size: var(--ui-font-size-md);
|
|
3455
3434
|
}
|
|
3456
3435
|
}
|
|
3457
3436
|
|
|
3458
3437
|
/* Tabbing into a field selects its text; tint that selection softly instead of the page highlight. */
|
|
3459
|
-
:scope:where([data-component~="ui-input"])::selection {
|
|
3438
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))::selection {
|
|
3460
3439
|
background: color-mix(in srgb, var(--ui-accent-solid) 20%, transparent);
|
|
3461
3440
|
color: inherit;
|
|
3462
3441
|
}
|
|
3463
3442
|
|
|
3464
|
-
:scope:where([data-component~="ui-input"])::placeholder {
|
|
3443
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))::placeholder {
|
|
3465
3444
|
color: var(--ui-control-placeholder, var(--ui-text-secondary));
|
|
3466
3445
|
opacity: 1;
|
|
3467
3446
|
}
|
|
3468
3447
|
|
|
3469
|
-
:scope:where([data-component~="ui-input"]):hover:not(:focus):not(:disabled):not(:read-only):not([aria-invalid="true"]):not(:is(:user-invalid, [data-user-invalid])) {
|
|
3448
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):hover:not(:focus):not(:disabled):not(:read-only):not([aria-invalid="true"]):not(:is(:user-invalid, [data-user-invalid])) {
|
|
3470
3449
|
border-color: var(--ui-input-border-hover, var(--_ui-default-input-border-hover, var(--ui-control-border-hover, var(--ui-text-secondary))));
|
|
3471
3450
|
}
|
|
3472
3451
|
|
|
3473
|
-
:scope:where([data-component~="ui-input"]):focus-visible {
|
|
3452
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):focus-visible {
|
|
3474
3453
|
border-color: var(--ui-input-focus-border, var(--_ui-default-input-focus-border, var(--ui-control-focus, var(--ui-accent-solid))));
|
|
3475
3454
|
outline: none;
|
|
3476
3455
|
box-shadow: var(--ui-input-focus-shadow, var(--_ui-default-input-focus-shadow, var(--ui-control-inset), var(--ui-control-focus-halo-shadow)));
|
|
3477
3456
|
}
|
|
3478
3457
|
|
|
3479
3458
|
/* The app's invalid flag, or the browser's own verdict once the user has left an invalid field. */
|
|
3480
|
-
:scope:where([data-component~="ui-input"])[aria-invalid="true"],
|
|
3481
|
-
:scope:where([data-component~="ui-input"]):is(:user-invalid, [data-user-invalid]) {
|
|
3459
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[aria-invalid="true"],
|
|
3460
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):is(:user-invalid, [data-user-invalid]) {
|
|
3482
3461
|
border-color: var(--ui-input-invalid-border, var(--_ui-default-input-invalid-border, var(--ui-field-danger, var(--ui-danger-solid))));
|
|
3483
3462
|
}
|
|
3484
3463
|
|
|
3485
|
-
:scope:where([data-component~="ui-input"]):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible {
|
|
3464
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible {
|
|
3486
3465
|
box-shadow: var(
|
|
3487
3466
|
--ui-input-invalid-focus-shadow,
|
|
3488
3467
|
var(
|
|
@@ -3497,7 +3476,7 @@
|
|
|
3497
3476
|
);
|
|
3498
3477
|
}
|
|
3499
3478
|
|
|
3500
|
-
:scope:where([data-component~="ui-input"]):disabled {
|
|
3479
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):disabled {
|
|
3501
3480
|
background: var(--ui-control-surface-disabled, var(--ui-surface-muted));
|
|
3502
3481
|
color: var(--ui-disabled-text);
|
|
3503
3482
|
box-shadow: none;
|
|
@@ -3506,7 +3485,7 @@
|
|
|
3506
3485
|
|
|
3507
3486
|
/* Forced colors drop box shadows, so the focus ring becomes an outline. */
|
|
3508
3487
|
@media (forced-colors: active) {
|
|
3509
|
-
:scope:where([data-component~="ui-input"]):focus-visible {
|
|
3488
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):focus-visible {
|
|
3510
3489
|
outline: var(--ui-input-focus-outline, var(--_ui-default-input-focus-outline, var(--ui-focus-width) solid Highlight));
|
|
3511
3490
|
outline-offset: var(--ui-border-width);
|
|
3512
3491
|
}
|
|
@@ -3516,11 +3495,11 @@
|
|
|
3516
3495
|
* scroll vertically inside the field. Native inputs already center their single line. */
|
|
3517
3496
|
|
|
3518
3497
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3519
|
-
:scope:where([data-component~="ui-input"])[hidden] {
|
|
3498
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[hidden] {
|
|
3520
3499
|
display: none !important;
|
|
3521
3500
|
}
|
|
3522
3501
|
}
|
|
3523
|
-
@scope ([data-component~="ui-input"]) to ([data-component]) {
|
|
3502
|
+
@scope (:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
3524
3503
|
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
3525
3504
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
3526
3505
|
|
|
@@ -3545,17 +3524,17 @@
|
|
|
3545
3524
|
|
|
3546
3525
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3547
3526
|
}
|
|
3548
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
3527
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
3549
3528
|
@supports (-moz-appearance: none) {
|
|
3550
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3551
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3529
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3530
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
3552
3531
|
}
|
|
3553
3532
|
@supports (-moz-appearance: none) {
|
|
3554
|
-
[data-component~="ui-separator"] { --html-next-scope-owner: "ui-separator" !important; }
|
|
3533
|
+
:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])) { --html-next-scope-owner: "ui-separator" !important; }
|
|
3555
3534
|
}
|
|
3556
|
-
@scope ([data-component~="ui-separator"]) to ([data-component], [data-slotted]) {
|
|
3535
|
+
@scope (:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
3557
3536
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
3558
|
-
:scope:where([data-component~="ui-separator"]) {
|
|
3537
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component]))) {
|
|
3559
3538
|
box-sizing: border-box !important;
|
|
3560
3539
|
align-self: stretch;
|
|
3561
3540
|
margin: 0 !important;
|
|
@@ -3563,45 +3542,45 @@
|
|
|
3563
3542
|
border-block-start: var(--ui-border-width) solid var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
|
3564
3543
|
}
|
|
3565
3544
|
|
|
3566
|
-
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="emphasis=strong"] {
|
|
3545
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[data-ui-separator-state~="emphasis=strong"] {
|
|
3567
3546
|
--_separator-color: var(--ui-border-strong);
|
|
3568
3547
|
}
|
|
3569
3548
|
|
|
3570
|
-
:scope:where([data-component~="ui-separator"])[aria-orientation="vertical"] {
|
|
3549
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[aria-orientation="vertical"] {
|
|
3571
3550
|
block-size: auto;
|
|
3572
3551
|
border-block-start: 0;
|
|
3573
3552
|
border-inline-start: var(--ui-border-width) solid var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
|
3574
3553
|
}
|
|
3575
3554
|
|
|
3576
|
-
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selectable"] {
|
|
3555
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[data-ui-separator-state~="selectable"] {
|
|
3577
3556
|
min-block-size: var(--ui-control-size-sm);
|
|
3578
3557
|
border: 0;
|
|
3579
3558
|
background: linear-gradient(var(--ui-separator-color, var(--ui-border-divider)), var(--ui-separator-color, var(--ui-border-divider))) center / 100%
|
|
3580
3559
|
var(--ui-border-width) no-repeat;
|
|
3581
3560
|
cursor: pointer;
|
|
3582
3561
|
}
|
|
3583
|
-
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selectable"]:hover {
|
|
3562
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[data-ui-separator-state~="selectable"]:hover {
|
|
3584
3563
|
background-color: var(--ui-surface-hover);
|
|
3585
3564
|
}
|
|
3586
|
-
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selected"] {
|
|
3565
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[data-ui-separator-state~="selected"] {
|
|
3587
3566
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
3588
3567
|
outline-offset: var(--ui-focus-width);
|
|
3589
3568
|
border-radius: var(--ui-radius-sm);
|
|
3590
3569
|
}
|
|
3591
3570
|
}
|
|
3592
|
-
@scope ([data-component~="ui-separator"]) to ([data-component]) {
|
|
3571
|
+
@scope (:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
3593
3572
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
3594
3573
|
}
|
|
3595
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
3574
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
3596
3575
|
@supports (-moz-appearance: none) {
|
|
3597
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3598
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3576
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3577
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
3599
3578
|
}
|
|
3600
3579
|
@supports (-moz-appearance: none) {
|
|
3601
|
-
[data-component~="ui-callout"] { --html-next-scope-owner: "ui-callout" !important; }
|
|
3580
|
+
:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])) { --html-next-scope-owner: "ui-callout" !important; }
|
|
3602
3581
|
}
|
|
3603
|
-
@scope ([data-component~="ui-callout"]) to ([data-component], [data-slotted]) {
|
|
3604
|
-
:scope:where([data-component~="ui-callout"]) {
|
|
3582
|
+
@scope (:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
3583
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) {
|
|
3605
3584
|
/* Resolve shared part values at the component root. */
|
|
3606
3585
|
--_ui-callout-icon-column: var(--ui-callout-icon-column);
|
|
3607
3586
|
--_ui-callout-icon: var(--ui-callout-icon);
|
|
@@ -3666,7 +3645,7 @@
|
|
|
3666
3645
|
font-weight: var(--ui-font-semibold);
|
|
3667
3646
|
}
|
|
3668
3647
|
|
|
3669
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=neutral"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=note"] {
|
|
3648
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=neutral"], :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=note"] {
|
|
3670
3649
|
--_ui-selection-context-surface: initial;
|
|
3671
3650
|
--_ui-selection-context-border: initial;
|
|
3672
3651
|
--_ui-selection-context-text: initial;
|
|
@@ -3676,35 +3655,35 @@
|
|
|
3676
3655
|
--_callout-icon: var(--ui-text-secondary);
|
|
3677
3656
|
}
|
|
3678
3657
|
|
|
3679
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=tip"] {
|
|
3658
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=tip"] {
|
|
3680
3659
|
--_callout-border: var(--ui-info-soft-border);
|
|
3681
3660
|
--_callout-surface: var(--ui-info-soft);
|
|
3682
3661
|
--_callout-tone-text: var(--ui-info-subtle-text);
|
|
3683
3662
|
--_callout-icon: var(--ui-info-subtle-text);
|
|
3684
3663
|
}
|
|
3685
3664
|
|
|
3686
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=important"] {
|
|
3665
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=important"] {
|
|
3687
3666
|
--_callout-border: var(--ui-accent-soft-border);
|
|
3688
3667
|
--_callout-surface: var(--ui-accent-soft);
|
|
3689
3668
|
--_callout-tone-text: var(--ui-accent-subtle-text);
|
|
3690
3669
|
--_callout-icon: var(--ui-accent-subtle-text);
|
|
3691
3670
|
}
|
|
3692
3671
|
|
|
3693
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=warning"] {
|
|
3672
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=warning"] {
|
|
3694
3673
|
--_callout-border: var(--ui-warning-soft-border);
|
|
3695
3674
|
--_callout-surface: var(--ui-warning-soft);
|
|
3696
3675
|
--_callout-tone-text: var(--ui-warning-subtle-text);
|
|
3697
3676
|
--_callout-icon: var(--ui-warning-subtle-text);
|
|
3698
3677
|
}
|
|
3699
3678
|
|
|
3700
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=success"] {
|
|
3679
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=success"] {
|
|
3701
3680
|
--_callout-border: var(--ui-success-soft-border);
|
|
3702
3681
|
--_callout-surface: var(--ui-success-soft);
|
|
3703
3682
|
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
3704
3683
|
--_callout-icon: var(--ui-success-subtle-text);
|
|
3705
3684
|
}
|
|
3706
3685
|
|
|
3707
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=danger"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=caution"] {
|
|
3686
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=danger"], :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=caution"] {
|
|
3708
3687
|
--_callout-border: var(--ui-danger-soft-border);
|
|
3709
3688
|
--_callout-surface: var(--ui-danger-soft);
|
|
3710
3689
|
--_callout-tone-text: var(--ui-danger-subtle-text);
|
|
@@ -3714,11 +3693,11 @@
|
|
|
3714
3693
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
3715
3694
|
|
|
3716
3695
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3717
|
-
:scope:where([data-component~="ui-callout"])[hidden] {
|
|
3696
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[hidden] {
|
|
3718
3697
|
display: none !important;
|
|
3719
3698
|
}
|
|
3720
3699
|
}
|
|
3721
|
-
@scope ([data-component~="ui-callout"]) to ([data-component]) {
|
|
3700
|
+
@scope (:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
3722
3701
|
/* One line box tall, so the icon centres on the first line of text. */
|
|
3723
3702
|
|
|
3724
3703
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
@@ -3731,16 +3710,16 @@
|
|
|
3731
3710
|
|
|
3732
3711
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3733
3712
|
}
|
|
3734
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
3713
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
3735
3714
|
@supports (-moz-appearance: none) {
|
|
3736
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3737
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3715
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3716
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
3738
3717
|
}
|
|
3739
3718
|
@supports (-moz-appearance: none) {
|
|
3740
|
-
[data-component~="ui-image"] { --html-next-scope-owner: "ui-image" !important; }
|
|
3719
|
+
:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])) { --html-next-scope-owner: "ui-image" !important; }
|
|
3741
3720
|
}
|
|
3742
|
-
@scope ([data-component~="ui-image"]) to ([data-component], [data-slotted]) {
|
|
3743
|
-
:scope:where([data-component~="ui-image"]) {
|
|
3721
|
+
@scope (:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
3722
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))) {
|
|
3744
3723
|
display: flex !important;
|
|
3745
3724
|
justify-content: flex-start !important;
|
|
3746
3725
|
box-sizing: border-box !important;
|
|
@@ -3749,21 +3728,21 @@
|
|
|
3749
3728
|
margin: 0 !important;
|
|
3750
3729
|
padding: var(--ui-space-3) 0 !important;
|
|
3751
3730
|
}
|
|
3752
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=center"] {
|
|
3731
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=center"] {
|
|
3753
3732
|
justify-content: center !important;
|
|
3754
3733
|
}
|
|
3755
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"] {
|
|
3734
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"] {
|
|
3756
3735
|
float: left;
|
|
3757
3736
|
padding-inline-end: var(--ui-space-4) !important;
|
|
3758
3737
|
}
|
|
3759
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"] {
|
|
3738
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"] {
|
|
3760
3739
|
float: right;
|
|
3761
3740
|
padding-inline-start: var(--ui-space-4) !important;
|
|
3762
3741
|
}
|
|
3763
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
|
|
3742
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) {
|
|
3764
3743
|
inline-size: calc(var(--_ui-image-width, calc(100% / 3)) + var(--ui-space-4));
|
|
3765
3744
|
}
|
|
3766
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame {
|
|
3745
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) .frame {
|
|
3767
3746
|
inline-size: 100%;
|
|
3768
3747
|
}
|
|
3769
3748
|
.frame {
|
|
@@ -3775,7 +3754,7 @@
|
|
|
3775
3754
|
align-self: flex-start;
|
|
3776
3755
|
border-radius: var(--ui-radius-md);
|
|
3777
3756
|
}
|
|
3778
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="selected"] .frame {
|
|
3757
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="selected"] .frame {
|
|
3779
3758
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
3780
3759
|
outline-offset: var(--ui-border-width);
|
|
3781
3760
|
}
|
|
@@ -3789,7 +3768,7 @@
|
|
|
3789
3768
|
background: transparent;
|
|
3790
3769
|
touch-action: none;
|
|
3791
3770
|
}
|
|
3792
|
-
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
3771
|
+
.handle:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
3793
3772
|
content: "";
|
|
3794
3773
|
position: absolute;
|
|
3795
3774
|
inset: 8px;
|
|
@@ -3821,16 +3800,16 @@
|
|
|
3821
3800
|
right: -12px;
|
|
3822
3801
|
cursor: nwse-resize;
|
|
3823
3802
|
}
|
|
3824
|
-
.handles[hidden], :scope:where([data-component~="ui-image"])[hidden] {
|
|
3803
|
+
.handles[hidden], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[hidden] {
|
|
3825
3804
|
display: none !important;
|
|
3826
3805
|
}
|
|
3827
3806
|
@media (max-width: 767px) {
|
|
3828
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
|
|
3807
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) {
|
|
3829
3808
|
float: none;
|
|
3830
3809
|
inline-size: 100%;
|
|
3831
3810
|
padding-inline: 0 !important;
|
|
3832
3811
|
}
|
|
3833
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .handles {
|
|
3812
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) .handles {
|
|
3834
3813
|
display: none !important;
|
|
3835
3814
|
}
|
|
3836
3815
|
}
|
|
@@ -3839,7 +3818,7 @@
|
|
|
3839
3818
|
inline-size: 44px;
|
|
3840
3819
|
block-size: 44px;
|
|
3841
3820
|
}
|
|
3842
|
-
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
3821
|
+
.handle:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
3843
3822
|
inset: 18px;
|
|
3844
3823
|
}
|
|
3845
3824
|
.handle[data-corner="top-left"] {
|
|
@@ -3860,18 +3839,18 @@
|
|
|
3860
3839
|
}
|
|
3861
3840
|
}
|
|
3862
3841
|
@media (forced-colors: active) {
|
|
3863
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="selected"] .frame, .handle:focus-visible {
|
|
3842
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="selected"] .frame, .handle:focus-visible {
|
|
3864
3843
|
outline-color: Highlight;
|
|
3865
3844
|
}
|
|
3866
|
-
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
3845
|
+
.handle:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
3867
3846
|
border-color: Highlight;
|
|
3868
3847
|
background: Canvas;
|
|
3869
3848
|
}
|
|
3870
3849
|
}
|
|
3871
3850
|
}
|
|
3872
|
-
@scope ([data-component~="ui-image"]) to ([data-component]) {
|
|
3873
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame img,
|
|
3874
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
3851
|
+
@scope (:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
3852
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) .frame img,
|
|
3853
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
3875
3854
|
inline-size: 100%;
|
|
3876
3855
|
}
|
|
3877
3856
|
.frame img, .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
@@ -3881,7 +3860,7 @@
|
|
|
3881
3860
|
margin: 0 !important;
|
|
3882
3861
|
border-radius: inherit;
|
|
3883
3862
|
}
|
|
3884
|
-
:scope:where([data-component~="ui-image"])[data-resizing] .frame img, :scope:where([data-component~="ui-image"])[data-resizing] .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
3863
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-resizing] .frame img, :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-resizing] .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
3885
3864
|
inline-size: 100%;
|
|
3886
3865
|
}
|
|
3887
3866
|
@media (max-width: 767px) {
|