@patternfly/patternfly 6.5.0-prerelease.5 → 6.5.0-prerelease.50
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 +1 -1
- package/assets/fontawesome/_variables.scss +2 -1
- package/assets/images/RHAiExperienceIcon.svg +27 -0
- package/assets/images/RHAutomationsLogo.svg +96 -0
- package/assets/images/RHServerStackIcon.svg +16 -0
- package/assets/images/compass--hero-bg.png +0 -0
- package/assets/images/compass--rh-wallpaper-dark.png +0 -0
- package/assets/images/compass--rh-wallpaper-light.png +0 -0
- package/assets/images/compass--wallpaper-dark.png +0 -0
- package/assets/images/compass--wallpaper-light.png +0 -0
- package/base/normalize.scss +7 -0
- package/base/patternfly-common.css +50 -0
- package/base/patternfly-common.scss +59 -0
- package/base/patternfly-svg-icons.css +11 -0
- package/base/patternfly-svg-icons.scss +14 -0
- package/base/patternfly-variables.css +345 -14
- package/base/patternfly-variables.scss +40 -0
- package/base/tokens/tokens-dark.scss +51 -3
- package/base/tokens/tokens-default.scss +67 -13
- package/base/tokens/tokens-glass-dark.scss +9 -0
- package/base/tokens/tokens-glass.scss +9 -0
- package/base/tokens/tokens-local.scss +16 -0
- package/base/tokens/tokens-palette.scss +3 -1
- package/base/tokens/tokens-redhat-dark.scss +14 -0
- package/base/tokens/tokens-redhat-glass-dark.scss +16 -0
- package/base/tokens/tokens-redhat-glass.scss +15 -0
- package/base/tokens/tokens-redhat-highcontrast-dark.scss +47 -0
- package/base/tokens/tokens-redhat-highcontrast.scss +127 -0
- package/base/tokens/tokens-redhat.scss +15 -0
- package/components/AboutModalBox/about-modal-box.css +36 -26
- package/components/Accordion/accordion.css +17 -14
- package/components/Accordion/accordion.scss +1 -2
- package/components/ActionList/action-list.css +2 -0
- package/components/ActionList/action-list.scss +2 -0
- package/components/Alert/alert.css +7 -5
- package/components/Alert/alert.scss +2 -1
- package/components/Avatar/avatar.css +12 -4
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/Banner/banner.css +8 -6
- package/components/Brand/brand.css +3 -1
- package/components/Breadcrumb/breadcrumb.css +4 -3
- package/components/Button/button.css +117 -14
- package/components/Button/button.scss +127 -10
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +20 -7
- package/components/Card/card.scss +16 -2
- package/components/ClipboardCopy/clipboard-copy.css +7 -6
- package/components/ClipboardCopy/clipboard-copy.scss +3 -3
- package/components/CodeEditor/code-editor.css +1 -1
- package/components/CodeEditor/code-editor.scss +1 -1
- package/components/Compass/compass.css +320 -0
- package/components/Compass/compass.scss +350 -0
- package/components/DataList/data-list.css +34 -23
- package/components/DataList/data-list.scss +7 -2
- package/components/DescriptionList/description-list-order.scss +5 -1
- package/components/DescriptionList/description-list.css +7 -5
- package/components/DescriptionList/description-list.scss +5 -1
- package/components/Divider/divider.css +7 -5
- package/components/Drawer/drawer.css +110 -56
- package/components/Drawer/drawer.scss +69 -9
- package/components/DualListSelector/dual-list-selector.css +18 -12
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/ExpandableSection/expandable-section.css +21 -16
- package/components/ExpandableSection/expandable-section.scss +6 -3
- package/components/Form/form.css +2 -2
- package/components/Form/form.scss +2 -2
- package/components/FormControl/form-control.css +3 -3
- package/components/FormControl/form-control.scss +3 -3
- package/components/Hero/hero.css +74 -0
- package/components/Hero/hero.scss +86 -0
- package/components/JumpLinks/jump-links.css +5 -4
- package/components/JumpLinks/jump-links.scss +6 -2
- package/components/Label/label-group.css +2 -2
- package/components/Label/label-group.scss +2 -2
- package/components/Label/label.css +4 -3
- package/components/Login/login.css +51 -37
- package/components/Masthead/masthead.css +70 -16
- package/components/Masthead/masthead.scss +54 -1
- package/components/Menu/menu.css +23 -14
- package/components/MenuToggle/menu-toggle.css +5 -1
- package/components/MenuToggle/menu-toggle.scss +6 -1
- package/components/ModalBox/modal-box.css +9 -7
- package/components/ModalBox/modal-box.scss +2 -2
- package/components/Nav/nav.css +74 -11
- package/components/Nav/nav.scss +77 -5
- package/components/NotificationDrawer/notification-drawer.css +19 -9
- package/components/NotificationDrawer/notification-drawer.scss +14 -5
- package/components/Page/page.css +55 -29
- package/components/Page/page.scss +44 -5
- package/components/Pagination/pagination.scss +5 -1
- package/components/ProgressStepper/progress-stepper.scss +5 -1
- package/components/Sidebar/sidebar.css +1 -1
- package/components/Sidebar/sidebar.scss +7 -3
- package/components/Skeleton/skeleton.css +16 -15
- package/components/Slider/slider.css +32 -18
- package/components/Switch/switch.css +4 -2
- package/components/Switch/switch.scss +1 -1
- package/components/Table/table-grid.css +28 -36
- package/components/Table/table-grid.scss +4 -4
- package/components/Table/table-tree-view.css +4 -2
- package/components/Table/table.css +33 -29
- package/components/Table/table.scss +2 -2
- package/components/Tabs/tabs.css +35 -18
- package/components/Tabs/tabs.scss +35 -7
- package/components/TextInputGroup/text-input-group.css +2 -2
- package/components/TextInputGroup/text-input-group.scss +2 -2
- package/components/ToggleGroup/toggle-group.css +34 -17
- package/components/ToggleGroup/toggle-group.scss +36 -20
- package/components/Toolbar/toolbar.css +47 -15
- package/components/Toolbar/toolbar.scss +34 -6
- package/components/TreeView/tree-view.css +45 -14
- package/components/TreeView/tree-view.scss +32 -1
- package/components/Wizard/wizard.css +21 -17
- package/components/Wizard/wizard.scss +4 -4
- package/components/_index.css +1602 -676
- package/components/_index.scss +3 -1
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -1
- package/docs/components/Accordion/examples/Accordion.md +390 -30
- package/docs/components/ActionList/examples/ActionList.md +143 -11
- package/docs/components/Alert/examples/Alert.md +678 -54
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/BackToTop/examples/BackToTop.md +13 -1
- package/docs/components/Banner/examples/Banner.md +65 -5
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +299 -23
- package/docs/components/Button/examples/Button.md +2217 -241
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +104 -8
- package/docs/components/Card/examples/Card.md +206 -4
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +286 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +104 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +195 -15
- package/docs/components/Compass/examples/Compass.css +17 -0
- package/docs/components/Compass/examples/Compass.md +119 -0
- package/docs/components/DataList/examples/DataList.md +405 -205
- package/docs/components/DatePicker/examples/DatePicker.md +78 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +327 -27
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +353 -35
- package/docs/components/DualListSelector/examples/DualListSelector.md +1013 -143
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +91 -7
- package/docs/components/Form/examples/Form.md +78 -6
- package/docs/components/Hero/examples/Hero.md +25 -0
- package/docs/components/Icon/examples/Icon.md +92 -8
- package/docs/components/InlineEdit/examples/InlineEdit.md +312 -24
- package/docs/components/InputGroup/examples/InputGroup.md +27 -3
- package/docs/components/JumpLinks/examples/JumpLinks.md +54 -6
- package/docs/components/Label/examples/Label.md +2834 -218
- package/docs/components/Login/examples/Login.md +26 -2
- package/docs/components/Masthead/examples/masthead.md +80 -1
- package/docs/components/Menu/examples/Menu.md +1458 -114
- package/docs/components/MenuToggle/examples/MenuToggle.md +53 -1
- package/docs/components/ModalBox/examples/ModalBox.md +287 -23
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +156 -12
- package/docs/components/Nav/examples/Navigation.md +798 -58
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +598 -46
- package/docs/components/OverflowMenu/examples/overflow-menu.md +78 -6
- package/docs/components/Page/examples/Page.md +51 -2
- package/docs/components/Pagination/examples/Pagination.md +627 -51
- package/docs/components/Popover/examples/Popover.md +286 -22
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +275 -23
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Slider/examples/Slider.md +52 -4
- package/docs/components/Table/examples/Table.md +875 -70
- package/docs/components/Tabs/examples/Tabs.md +4127 -320
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +600 -48
- package/docs/components/ToggleGroup/examples/toggle-group.md +195 -15
- package/docs/components/Toolbar/examples/Toolbar.md +490 -42
- package/docs/components/TreeView/examples/TreeView.md +1390 -130
- package/docs/components/Wizard/examples/Wizard.md +492 -72
- package/docs/demos/AboutModal/examples/AboutModal.md +57 -9
- package/docs/demos/Alert/examples/Alert.md +236 -32
- package/docs/demos/BackToTop/examples/BackToTop.md +57 -9
- package/docs/demos/Banner/examples/Banner.md +88 -16
- package/docs/demos/Button/examples/Button.md +13 -1
- package/docs/demos/Card/examples/Card.md +399 -42
- package/docs/demos/CardView/examples/CardView.md +161 -17
- package/docs/demos/Compass/examples/Compass.md +6836 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +173 -26
- package/docs/demos/DataList/examples/DataList.md +566 -65
- package/docs/demos/DescriptionList/examples/DescriptionList.md +156 -27
- package/docs/demos/Drawer/examples/Drawer.md +216 -45
- package/docs/demos/Form/examples/BasicForms.md +273 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +272 -59
- package/docs/demos/Masthead/examples/Masthead.md +458 -89
- package/docs/demos/Modal/examples/Modal.md +342 -57
- package/docs/demos/Nav/examples/Nav.md +660 -87
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1088 -140
- package/docs/demos/Page/examples/Page.md +618 -123
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +52 -4
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +691 -113
- package/docs/demos/Skeleton/examples/Skeleton.md +44 -8
- package/docs/demos/Table/examples/Table.md +3924 -256
- package/docs/demos/Tabs/examples/Tabs.md +407 -65
- package/docs/demos/Toolbar/examples/Toolbar.md +502 -52
- package/docs/demos/Wizard/examples/Wizard.md +796 -130
- package/docs/layouts/Bullseye/examples/Bullseye.css +2 -2
- package/docs/layouts/Bullseye/examples/Bullseye.md +2 -1
- package/docs/layouts/Flex/examples/Flex.css +3 -3
- package/docs/layouts/Flex/examples/Flex.md +3 -2
- package/docs/layouts/Gallery/examples/Gallery.css +2 -2
- package/docs/layouts/Gallery/examples/Gallery.md +4 -3
- package/docs/layouts/Grid/examples/Grid.css +1 -1
- package/docs/layouts/Grid/examples/Grid.md +6 -5
- package/docs/layouts/Level/examples/Level.css +3 -3
- package/docs/layouts/Level/examples/Level.md +2 -1
- package/docs/layouts/Split/examples/Split.css +1 -1
- package/docs/layouts/Split/examples/Split.md +2 -1
- package/docs/layouts/Stack/examples/Stack.css +3 -3
- package/docs/layouts/Stack/examples/Stack.md +2 -1
- package/docs/utilities/Accessibility/examples/Accessibility.md +3 -2
- package/docs/utilities/Alignment/examples/Alignment.css +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +3 -2
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +5 -4
- package/docs/utilities/BoxShadow/examples/box-shadow.css +2 -2
- package/docs/utilities/BoxShadow/examples/box-shadow.md +2 -1
- package/docs/utilities/Display/examples/Display.css +1 -1
- package/docs/utilities/Display/examples/Display.md +3 -2
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +3 -2
- package/docs/utilities/Float/examples/Float.css +2 -2
- package/docs/utilities/Float/examples/Float.md +3 -2
- package/docs/utilities/Sizing/examples/Sizing.md +8 -7
- package/docs/utilities/Spacing/examples/Spacing.css +2 -2
- package/docs/utilities/Spacing/examples/Spacing.md +3 -2
- package/docs/utilities/Text/examples/Text.md +5 -4
- package/icons/PfIcons/add-circle-o.svg +4 -0
- package/icons/PfIcons/ansible-tower.svg +4 -0
- package/icons/PfIcons/applications.svg +4 -0
- package/icons/PfIcons/arrow.svg +4 -0
- package/icons/PfIcons/asleep.svg +4 -0
- package/icons/PfIcons/attention-bell.svg +4 -0
- package/icons/PfIcons/automation.svg +4 -0
- package/icons/PfIcons/bell.svg +4 -0
- package/icons/PfIcons/blueprint.svg +4 -0
- package/icons/PfIcons/build.svg +4 -0
- package/icons/PfIcons/builder-image.svg +4 -0
- package/icons/PfIcons/bundle.svg +4 -0
- package/icons/PfIcons/catalog.svg +4 -0
- package/icons/PfIcons/chat.svg +4 -0
- package/icons/PfIcons/close.svg +4 -0
- package/icons/PfIcons/cloud-security.svg +4 -0
- package/icons/PfIcons/cloud-tenant.svg +4 -0
- package/icons/PfIcons/cluster.svg +4 -0
- package/icons/PfIcons/connected.svg +4 -0
- package/icons/PfIcons/container-node.svg +4 -0
- package/icons/PfIcons/cpu.svg +4 -0
- package/icons/PfIcons/critical-risk.svg +4 -0
- package/icons/PfIcons/data-processor.svg +4 -0
- package/icons/PfIcons/data-sink.svg +4 -0
- package/icons/PfIcons/data-source.svg +4 -0
- package/icons/PfIcons/degraded.svg +4 -0
- package/icons/PfIcons/disconnected.svg +4 -0
- package/icons/PfIcons/domain.svg +4 -0
- package/icons/PfIcons/edit.svg +4 -0
- package/icons/PfIcons/enhancement.svg +4 -0
- package/icons/PfIcons/enterprise.svg +4 -0
- package/icons/PfIcons/equalizer.svg +4 -0
- package/icons/PfIcons/error-circle-o.svg +4 -0
- package/icons/PfIcons/export.svg +4 -0
- package/icons/PfIcons/filter.svg +4 -0
- package/icons/PfIcons/flavor.svg +4 -0
- package/icons/PfIcons/folder-close.svg +4 -0
- package/icons/PfIcons/folder-open.svg +4 -0
- package/icons/PfIcons/globe-route.svg +4 -0
- package/icons/PfIcons/help.svg +4 -0
- package/icons/PfIcons/history.svg +4 -0
- package/icons/PfIcons/home.svg +4 -0
- package/icons/PfIcons/import.svg +4 -0
- package/icons/PfIcons/in-progress.svg +4 -0
- package/icons/PfIcons/info.svg +4 -0
- package/icons/PfIcons/infrastructure.svg +4 -0
- package/icons/PfIcons/integration.svg +4 -0
- package/icons/PfIcons/key.svg +4 -0
- package/icons/PfIcons/locked.svg +4 -0
- package/icons/PfIcons/maintenance.svg +4 -0
- package/icons/PfIcons/memory.svg +4 -0
- package/icons/PfIcons/messages.svg +4 -0
- package/icons/PfIcons/middleware.svg +4 -0
- package/icons/PfIcons/migration.svg +4 -0
- package/icons/PfIcons/module.svg +4 -0
- package/icons/PfIcons/monitoring.svg +4 -0
- package/icons/PfIcons/multicluster.svg +4 -0
- package/icons/PfIcons/namespaces.svg +4 -0
- package/icons/PfIcons/network.svg +4 -0
- package/icons/PfIcons/new-process.svg +4 -0
- package/icons/PfIcons/not-started.svg +4 -0
- package/icons/PfIcons/off.svg +4 -0
- package/icons/PfIcons/ok.svg +4 -0
- package/icons/PfIcons/on-running.svg +4 -0
- package/icons/PfIcons/on.svg +4 -0
- package/icons/PfIcons/open-drawer-right.svg +4 -0
- package/icons/PfIcons/openshift.svg +4 -0
- package/icons/PfIcons/openstack.svg +4 -0
- package/icons/PfIcons/optimize.svg +4 -0
- package/icons/PfIcons/orders.svg +4 -0
- package/icons/PfIcons/os-image.svg +4 -0
- package/icons/PfIcons/package.svg +4 -0
- package/icons/PfIcons/panel-close.svg +4 -0
- package/icons/PfIcons/panel-open.svg +4 -0
- package/icons/PfIcons/paused.svg +4 -0
- package/icons/PfIcons/pending.svg +4 -0
- package/icons/PfIcons/pficon-dragdrop.svg +4 -0
- package/icons/PfIcons/pficon-history.svg +4 -0
- package/icons/PfIcons/pficon-network-range.svg +4 -0
- package/icons/PfIcons/pficon-satellite.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-asc.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-desc.svg +4 -0
- package/icons/PfIcons/pficon-template.svg +4 -0
- package/icons/PfIcons/pficon-vcenter.svg +4 -0
- package/icons/PfIcons/plugged.svg +4 -0
- package/icons/PfIcons/port.svg +4 -0
- package/icons/PfIcons/print.svg +4 -0
- package/icons/PfIcons/private.svg +4 -0
- package/icons/PfIcons/process-automation.svg +4 -0
- package/icons/PfIcons/project.svg +4 -0
- package/icons/PfIcons/rebalance.svg +4 -0
- package/icons/PfIcons/rebooting.svg +4 -0
- package/icons/PfIcons/regions.svg +4 -0
- package/icons/PfIcons/registry.svg +4 -0
- package/icons/PfIcons/remove2.svg +4 -0
- package/icons/PfIcons/replicator.svg +4 -0
- package/icons/PfIcons/repository.svg +4 -0
- package/icons/PfIcons/resource-pool.svg +4 -0
- package/icons/PfIcons/resources-almost-empty.svg +4 -0
- package/icons/PfIcons/resources-almost-full.svg +4 -0
- package/icons/PfIcons/resources-empty.svg +4 -0
- package/icons/PfIcons/resources-full.svg +4 -0
- package/icons/PfIcons/running.svg +4 -0
- package/icons/PfIcons/save.svg +4 -0
- package/icons/PfIcons/screen.svg +4 -0
- package/icons/PfIcons/security.svg +4 -0
- package/icons/PfIcons/server-group.svg +4 -0
- package/icons/PfIcons/server.svg +4 -0
- package/icons/PfIcons/service-catalog.svg +4 -0
- package/icons/PfIcons/service.svg +4 -0
- package/icons/PfIcons/services.svg +4 -0
- package/icons/PfIcons/severity-critical.svg +4 -0
- package/icons/PfIcons/severity-important.svg +4 -0
- package/icons/PfIcons/severity-minor.svg +4 -0
- package/icons/PfIcons/severity-moderate.svg +4 -0
- package/icons/PfIcons/severity-none.svg +4 -0
- package/icons/PfIcons/severity-undefined.svg +4 -0
- package/icons/PfIcons/spinner.svg +4 -0
- package/icons/PfIcons/spinner2.svg +4 -0
- package/icons/PfIcons/storage-domain.svg +4 -0
- package/icons/PfIcons/task.svg +4 -0
- package/icons/PfIcons/tenant.svg +4 -0
- package/icons/PfIcons/thumb-tack.svg +4 -0
- package/icons/PfIcons/topology.svg +4 -0
- package/icons/PfIcons/treeview.svg +4 -0
- package/icons/PfIcons/trend-down.svg +4 -0
- package/icons/PfIcons/trend-up.svg +4 -0
- package/icons/PfIcons/unknown.svg +4 -0
- package/icons/PfIcons/unlocked.svg +4 -0
- package/icons/PfIcons/unplugged.svg +4 -0
- package/icons/PfIcons/user.svg +4 -0
- package/icons/PfIcons/users.svg +4 -0
- package/icons/PfIcons/virtual-machine.svg +4 -0
- package/icons/PfIcons/volume.svg +4 -0
- package/icons/PfIcons/warning-triangle.svg +4 -0
- package/icons/PfIcons/zone.svg +4 -0
- package/layouts/Flex/flex.scss +83 -19
- package/layouts/Gallery/gallery.css +6 -2
- package/layouts/_index.css +6 -2
- package/package.json +34 -16
- package/patternfly-base-no-globals.css +406 -14
- package/patternfly-base.css +413 -14
- package/patternfly-charts.css +3 -3
- package/patternfly-no-globals.css +1947 -625
- package/patternfly.css +1954 -625
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +32 -25
- package/sass-utilities/mixins.scss +36 -20
- package/sass-utilities/namespaces-components.scss +6 -0
|
@@ -183,7 +183,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
183
183
|
--#{$tabs}__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
184
184
|
--#{$tabs}__toggle-icon--Transition: transform var(--#{$tabs}__toggle-icon--TransitionDuration) var(--#{$tabs}__toggle-icon--TransitionTimingFunction); // TODO remove in breaking change along with shorthand property
|
|
185
185
|
--#{$tabs}__toggle-icon--Rotate: 0;
|
|
186
|
-
--#{$tabs}--m-expanded__toggle-icon--Rotate:
|
|
186
|
+
--#{$tabs}--m-expanded__toggle-icon--Rotate: -180deg;
|
|
187
187
|
--#{$tabs}--m-expandable--RowGap: var(--pf-t--global--spacer--sm);
|
|
188
188
|
--#{$tabs}--m-expandable--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
189
189
|
--#{$tabs}--m-expandable--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -205,6 +205,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
205
205
|
--#{$tabs}__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
206
206
|
--#{$tabs}__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
207
207
|
|
|
208
|
+
// Nav variant
|
|
209
|
+
--#{$tabs}--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
210
|
+
--#{$tabs}--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
211
|
+
--#{$tabs}--m-nav--m-subtab__scroll-button--button--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
212
|
+
|
|
208
213
|
// Overflow menu toggle icon
|
|
209
214
|
--#{$tabs}__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
210
215
|
--#{$tabs}__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
@@ -212,7 +217,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
212
217
|
--#{$tabs}__link-toggle-icon--Transition: transform var(--#{$tabs}__link-toggle-icon--TransitionDuration) var(--#{$tabs}__link-toggle-icon--TransitionTimingFunction); // TODO remove in breaking change along with shorthand property
|
|
213
218
|
--#{$tabs}__link-toggle-icon--Rotate: 0;
|
|
214
219
|
--#{$tabs}__link-toggle-icon--FontSize: var(--pf-t--global--font--size--sm);
|
|
215
|
-
--#{$tabs}__link--m-expanded__toggle-icon--Rotate:
|
|
220
|
+
--#{$tabs}__link--m-expanded__toggle-icon--Rotate: -180deg;
|
|
216
221
|
}
|
|
217
222
|
|
|
218
223
|
.#{$tabs} {
|
|
@@ -379,8 +384,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
379
384
|
|
|
380
385
|
.#{$tabs}__list {
|
|
381
386
|
position: relative;
|
|
382
|
-
flex-direction: column;
|
|
383
387
|
flex-grow: 1;
|
|
388
|
+
flex-direction: column;
|
|
384
389
|
max-width: var(--#{$tabs}--m-vertical--MaxWidth);
|
|
385
390
|
|
|
386
391
|
&::before {
|
|
@@ -417,7 +422,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
417
422
|
}
|
|
418
423
|
|
|
419
424
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
420
|
-
$breakpoint-name:
|
|
425
|
+
$breakpoint-name: "";
|
|
426
|
+
|
|
427
|
+
@if $breakpoint != "base" {
|
|
428
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
429
|
+
}
|
|
421
430
|
|
|
422
431
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
423
432
|
// stylelint-disable max-nesting-depth
|
|
@@ -511,6 +520,21 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
511
520
|
overflow: visible;
|
|
512
521
|
}
|
|
513
522
|
}
|
|
523
|
+
|
|
524
|
+
&.pf-m-nav {
|
|
525
|
+
--#{$tabs}__link--disabled--BackgroundColor: transparent;
|
|
526
|
+
--#{$tabs}__link--disabled--Color: var(--#{$tabs}--m-nav__link--disabled--Color);
|
|
527
|
+
--#{$tabs}__link--BorderRadius: var(--#{$tabs}--m-nav__link--BorderRadius);
|
|
528
|
+
|
|
529
|
+
&::before,
|
|
530
|
+
.#{$tabs}__link::before {
|
|
531
|
+
border: 0;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
&.pf-m-subtab .#{$tabs}__scroll-button .#{$button} {
|
|
535
|
+
--#{$button}--FontSize: var(--#{$tabs}--m-nav--m-subtab__scroll-button--button--FontSize);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
514
538
|
}
|
|
515
539
|
|
|
516
540
|
// Expandable toggle
|
|
@@ -553,17 +577,17 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
553
577
|
display: flex;
|
|
554
578
|
flex: none;
|
|
555
579
|
column-gap: var(--#{$tabs}__item--ColumnGap);
|
|
556
|
-
scroll-snap-align: var(--#{$tabs}__item--ScrollSnapAlign);
|
|
557
580
|
padding-block-start: var(--#{$tabs}__item--PaddingBlockStart);
|
|
558
581
|
padding-block-end: var(--#{$tabs}__item--PaddingBlockEnd);
|
|
559
582
|
padding-inline-start: var(--#{$tabs}__item--PaddingInlineStart);
|
|
560
583
|
padding-inline-end: var(--#{$tabs}__item--PaddingInlineEnd);
|
|
584
|
+
scroll-snap-align: var(--#{$tabs}__item--ScrollSnapAlign);
|
|
561
585
|
background-color: var(--#{$tabs}__item--BackgroundColor);
|
|
562
586
|
|
|
563
587
|
// Current
|
|
564
588
|
&.pf-m-current {
|
|
565
589
|
--#{$tabs}__link--Color: var(--#{$tabs}__item--m-current__link--Color);
|
|
566
|
-
--#{$tabs}__link--after--BorderColor: var(--#{$tabs}
|
|
590
|
+
--#{$tabs}__link--after--BorderColor: var(--#{$tabs}--link-accent--color);
|
|
567
591
|
--#{$tabs}__link--after--BorderWidth: var(--#{$tabs}__item--m-current__link--after--BorderWidth);
|
|
568
592
|
--#{$tabs}__item--BackgroundColor: var(--#{$tabs}__item--m-current--BackgroundColor);
|
|
569
593
|
}
|
|
@@ -783,7 +807,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
783
807
|
// stylelint-disable no-duplicate-selectors, max-nesting-depth
|
|
784
808
|
.#{$tabs} {
|
|
785
809
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
786
|
-
$breakpoint-name:
|
|
810
|
+
$breakpoint-name: "";
|
|
811
|
+
|
|
812
|
+
@if $breakpoint != "base" {
|
|
813
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
814
|
+
}
|
|
787
815
|
|
|
788
816
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
789
817
|
@each $spacer, $spacer-value in $pf-v6-c-tabs--spacer-map {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.pf-v6-c-text-input-group {
|
|
2
2
|
--pf-v6-c-text-input-group--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
3
|
-
--pf-v6-c-text-input-group--BorderColor: var(--pf-t--global--border--color--default);
|
|
3
|
+
--pf-v6-c-text-input-group--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
4
4
|
--pf-v6-c-text-input-group--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
|
5
5
|
--pf-v6-c-text-input-group--m-warning--BorderColor: var(--pf-t--global--border--color--status--warning--default);
|
|
6
6
|
--pf-v6-c-text-input-group--m-error--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
--pf-v6-c-text-input-group--utilities--status__text-input--PaddingInlineEnd: calc(var(--pf-t--global--spacer--sm) + var(--pf-v6-c-text-input-group__icon--FontSize) + var(--pf-t--global--spacer--gap--text-to-element--default));
|
|
18
18
|
--pf-v6-c-text-input-group__main--RowGap: var(--pf-t--global--spacer--xs);
|
|
19
19
|
--pf-v6-c-text-input-group__main--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
20
|
-
--pf-v6-c-text-input-group__text--BorderRadius--base: var(--pf-t--global--border--radius--
|
|
20
|
+
--pf-v6-c-text-input-group__text--BorderRadius--base: var(--pf-t--global--border--radius--control--form-element);
|
|
21
21
|
--pf-v6-c-text-input-group__text--BorderStartStartRadius: var(--pf-v6-c-text-input-group__text--BorderRadius--base);
|
|
22
22
|
--pf-v6-c-text-input-group__text--BorderStartEndRadius: var(--pf-v6-c-text-input-group__text--BorderRadius--base);
|
|
23
23
|
--pf-v6-c-text-input-group__text--BorderEndEndRadius: var(--pf-v6-c-text-input-group__text--BorderRadius--base);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
@include pf-root($text-input-group) {
|
|
4
4
|
--#{$text-input-group}--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
5
|
-
--#{$text-input-group}--BorderColor: var(--pf-t--global--border--color--default);
|
|
5
|
+
--#{$text-input-group}--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
6
6
|
--#{$text-input-group}--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
|
7
7
|
--#{$text-input-group}--m-warning--BorderColor: var(--pf-t--global--border--color--status--warning--default);
|
|
8
8
|
--#{$text-input-group}--m-error--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
--#{$text-input-group}__main--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
27
27
|
|
|
28
28
|
// Text wrapper
|
|
29
|
-
--#{$text-input-group}__text--BorderRadius--base: var(--pf-t--global--border--radius--
|
|
29
|
+
--#{$text-input-group}__text--BorderRadius--base: var(--pf-t--global--border--radius--control--form-element);
|
|
30
30
|
--#{$text-input-group}__text--BorderStartStartRadius: var(--#{$text-input-group}__text--BorderRadius--base);
|
|
31
31
|
--#{$text-input-group}__text--BorderStartEndRadius: var(--#{$text-input-group}__text--BorderRadius--base);
|
|
32
32
|
--#{$text-input-group}__text--BorderEndEndRadius: var(--#{$text-input-group}__text--BorderRadius--base);
|
|
@@ -6,30 +6,37 @@
|
|
|
6
6
|
--pf-v6-c-toggle-group__button--FontSize: var(--pf-t--global--font--size--body--default);
|
|
7
7
|
--pf-v6-c-toggle-group__button--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
8
8
|
--pf-v6-c-toggle-group__button--Color: var(--pf-t--global--text--color--regular);
|
|
9
|
-
--pf-v6-c-toggle-group__button--BackgroundColor: var(--pf-t--global--background--color--
|
|
9
|
+
--pf-v6-c-toggle-group__button--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
10
10
|
--pf-v6-c-toggle-group__button--ZIndex: auto;
|
|
11
|
-
--pf-v6-c-toggle-group__button--hover--
|
|
11
|
+
--pf-v6-c-toggle-group__button--hover--Color: var(--pf-t--global--text--color--on-brand--subtle--default);
|
|
12
|
+
--pf-v6-c-toggle-group__button--hover--BackgroundColor: var(--pf-t--global--color--brand--subtle--default);
|
|
12
13
|
--pf-v6-c-toggle-group__button--hover--ZIndex: var(--pf-t--global--z-index--xs);
|
|
13
|
-
--pf-v6-c-toggle-group__button--hover--before--BorderColor: var(--pf-t--global--border--color--
|
|
14
|
+
--pf-v6-c-toggle-group__button--hover--before--BorderColor: var(--pf-t--global--border--color--brand--subtle--hover);
|
|
14
15
|
--pf-v6-c-toggle-group__button--hover--after--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
15
16
|
--pf-v6-c-toggle-group__button--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
|
16
|
-
--pf-v6-c-toggle-group__button--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
17
|
+
--pf-v6-c-toggle-group__button--before--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
17
18
|
--pf-v6-c-toggle-group__item--item--MarginInlineStart: calc(-1 * var(--pf-t--global--border--width--control--default));
|
|
18
|
-
--pf-v6-c-toggle-group__item--first-child__button--BorderStartStartRadius: var(--pf-t--global--border--radius--
|
|
19
|
-
--pf-v6-c-toggle-group__item--first-child__button--BorderEndStartRadius: var(--pf-t--global--border--radius--
|
|
20
|
-
--pf-v6-c-toggle-group__item--last-child__button--BorderStartEndRadius: var(--pf-t--global--border--radius--
|
|
21
|
-
--pf-v6-c-toggle-group__item--last-child__button--BorderEndEndRadius: var(--pf-t--global--border--radius--
|
|
19
|
+
--pf-v6-c-toggle-group__item--first-child__button--BorderStartStartRadius: var(--pf-t--global--border--radius--control--default);
|
|
20
|
+
--pf-v6-c-toggle-group__item--first-child__button--BorderEndStartRadius: var(--pf-t--global--border--radius--control--default);
|
|
21
|
+
--pf-v6-c-toggle-group__item--last-child__button--BorderStartEndRadius: var(--pf-t--global--border--radius--control--default);
|
|
22
|
+
--pf-v6-c-toggle-group__item--last-child__button--BorderEndEndRadius: var(--pf-t--global--border--radius--control--default);
|
|
22
23
|
--pf-v6-c-toggle-group__icon--text--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
|
23
|
-
--pf-v6-c-toggle-
|
|
24
|
-
--pf-v6-c-toggle-
|
|
25
|
-
--pf-v6-c-toggle-
|
|
26
|
-
--pf-v6-c-toggle-
|
|
24
|
+
--pf-v6-c-toggle-group__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
25
|
+
--pf-v6-c-toggle-group__icon--hover--Color: var(--pf-t--global--icon--color--on-brand--subtle--default);
|
|
26
|
+
--pf-v6-c-toggle-group__icon--m-selected--Color: var(--pf-t--global--icon--color--on-brand--subtle--default);
|
|
27
|
+
--pf-v6-c-toggle-group__icon--disabled--Color: var(--pf-t--global--icon--color--on-disabled);
|
|
28
|
+
--pf-v6-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-t--global--color--brand--subtle--default);
|
|
29
|
+
--pf-v6-c-toggle-group__button--m-selected--Color: var(--pf-t--global--text--color--on-brand--subtle--default);
|
|
30
|
+
--pf-v6-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-t--global--border--color--brand--subtle--clicked);
|
|
31
|
+
--pf-v6-c-toggle-group__button--m-selected--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
32
|
+
--pf-v6-c-toggle-group__button--m-selected--after--BorderColor: var(--pf-t--global--border--color--brand--subtle--clicked);
|
|
33
|
+
--pf-v6-c-toggle-group__button--m-selected--after--BorderWidth: var(--pf-t--global--border--width--control--clicked);
|
|
34
|
+
--pf-v6-c-toggle-group__button--m-selected--selected--before--BorderInlineStartColor: var(--pf-t--global--border--color--brand--subtle--clicked);
|
|
27
35
|
--pf-v6-c-toggle-group__button--m-selected--ZIndex: var(--pf-t--global--z-index--xs);
|
|
28
|
-
--pf-v6-c-toggle-group__button--m-selected--after--BorderWidth: var(--pf-t--global--border--width--high-contrast--strong);
|
|
29
36
|
--pf-v6-c-toggle-group__button--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
30
37
|
--pf-v6-c-toggle-group__button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
|
31
|
-
--pf-v6-c-toggle-group__button--disabled--before--BorderColor: var(--pf-t--global--border--color--
|
|
32
|
-
--pf-v6-c-toggle-group__button--disabled
|
|
38
|
+
--pf-v6-c-toggle-group__button--disabled--before--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
39
|
+
--pf-v6-c-toggle-group__button--disabled--disabled--before--BorderInlineStartColor: var(--pf-t--global--border--color--control--default);
|
|
33
40
|
--pf-v6-c-toggle-group__button--disabled--ZIndex: var(--pf-t--global--z-index--xs);
|
|
34
41
|
--pf-v6-c-toggle-group--m-compact__button--PaddingBlockStart: 0;
|
|
35
42
|
--pf-v6-c-toggle-group--m-compact__button--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -97,9 +104,11 @@
|
|
|
97
104
|
}
|
|
98
105
|
.pf-v6-c-toggle-group__button:is(:hover, :focus) {
|
|
99
106
|
--pf-v6-c-toggle-group__button--BackgroundColor: var(--pf-v6-c-toggle-group__button--hover--BackgroundColor);
|
|
107
|
+
--pf-v6-c-toggle-group__button--Color: var(--pf-v6-c-toggle-group__button--hover--Color);
|
|
100
108
|
--pf-v6-c-toggle-group__button--ZIndex: var(--pf-v6-c-toggle-group__button--hover--ZIndex);
|
|
101
109
|
--pf-v6-c-toggle-group__button--before--BorderColor: var(--pf-v6-c-toggle-group__button--hover--before--BorderColor);
|
|
102
110
|
--pf-v6-c-toggle-group__button--after--BorderWidth: var(--pf-v6-c-toggle-group__button--hover--after--BorderWidth);
|
|
111
|
+
--pf-v6-c-toggle-group__icon--Color: var(--pf-v6-c-toggle-group__icon--hover--Color);
|
|
103
112
|
text-decoration-line: none;
|
|
104
113
|
}
|
|
105
114
|
.pf-v6-c-toggle-group__button.pf-m-selected {
|
|
@@ -107,22 +116,30 @@
|
|
|
107
116
|
--pf-v6-c-toggle-group__button--Color: var(--pf-v6-c-toggle-group__button--m-selected--Color, inherit);
|
|
108
117
|
--pf-v6-c-toggle-group__button--ZIndex: var(--pf-v6-c-toggle-group__button--m-selected--ZIndex);
|
|
109
118
|
--pf-v6-c-toggle-group__button--before--BorderColor: var(--pf-v6-c-toggle-group__button--m-selected--before--BorderColor);
|
|
119
|
+
--pf-v6-c-toggle-group__button--before--BorderWidth: var(--pf-v6-c-toggle-group__button--m-selected--before--BorderWidth);
|
|
120
|
+
--pf-v6-c-toggle-group__button--after--BorderColor: var(--pf-v6-c-toggle-group__button--m-selected--after--BorderColor);
|
|
110
121
|
--pf-v6-c-toggle-group__button--after--BorderWidth: var(--pf-v6-c-toggle-group__button--m-selected--after--BorderWidth);
|
|
122
|
+
--pf-v6-c-toggle-group__icon--Color: var(--pf-v6-c-toggle-group__icon--m-selected--Color);
|
|
111
123
|
}
|
|
112
124
|
.pf-v6-c-toggle-group__button:is(:disabled, .pf-m-disabled) {
|
|
113
125
|
--pf-v6-c-toggle-group__button--BackgroundColor: var(--pf-v6-c-toggle-group__button--disabled--BackgroundColor);
|
|
114
126
|
--pf-v6-c-toggle-group__button--Color: var(--pf-v6-c-toggle-group__button--disabled--Color);
|
|
115
127
|
--pf-v6-c-toggle-group__button--ZIndex: var(--pf-v6-c-toggle-group__button--disabled--ZIndex);
|
|
116
128
|
--pf-v6-c-toggle-group__button--before--BorderColor: var(--pf-v6-c-toggle-group__button--disabled--before--BorderColor);
|
|
129
|
+
--pf-v6-c-toggle-group__icon--Color: var(--pf-v6-c-toggle-group__icon--disabled--Color);
|
|
117
130
|
pointer-events: none;
|
|
118
131
|
}
|
|
119
132
|
|
|
120
133
|
.pf-v6-c-toggle-group__item:has(.pf-m-selected) + .pf-v6-c-toggle-group__item:has(.pf-m-selected) {
|
|
121
|
-
--pf-v6-c-toggle-group__button--before--BorderInlineStartColor: var(--pf-v6-c-toggle-group__button--m-selected
|
|
134
|
+
--pf-v6-c-toggle-group__button--before--BorderInlineStartColor: var(--pf-v6-c-toggle-group__button--m-selected--selected--before--BorderInlineStartColor);
|
|
122
135
|
}
|
|
123
136
|
|
|
124
137
|
.pf-v6-c-toggle-group__item:has(:disabled, .pf-m-disabled) + .pf-v6-c-toggle-group__item:has(:disabled, .pf-m-disabled) {
|
|
125
|
-
--pf-v6-c-toggle-group__button--before--BorderInlineStartColor: var(--pf-v6-c-toggle-group__button--disabled
|
|
138
|
+
--pf-v6-c-toggle-group__button--before--BorderInlineStartColor: var(--pf-v6-c-toggle-group__button--disabled--disabled--before--BorderInlineStartColor);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.pf-v6-c-toggle-group__icon {
|
|
142
|
+
color: var(--pf-v6-c-toggle-group__icon--Color);
|
|
126
143
|
}
|
|
127
144
|
|
|
128
145
|
.pf-v6-c-toggle-group__icon + .pf-v6-c-toggle-group__text,
|
|
@@ -9,38 +9,45 @@
|
|
|
9
9
|
--#{$toggle-group}__button--FontSize: var(--pf-t--global--font--size--body--default);
|
|
10
10
|
--#{$toggle-group}__button--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
11
11
|
--#{$toggle-group}__button--Color: var(--pf-t--global--text--color--regular);
|
|
12
|
-
--#{$toggle-group}__button--BackgroundColor: var(--pf-t--global--background--color--
|
|
12
|
+
--#{$toggle-group}__button--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
13
13
|
--#{$toggle-group}__button--ZIndex: auto;
|
|
14
|
-
--#{$toggle-group}__button--hover--
|
|
14
|
+
--#{$toggle-group}__button--hover--Color: var(--pf-t--global--text--color--on-brand--subtle--default);
|
|
15
|
+
--#{$toggle-group}__button--hover--BackgroundColor: var(--pf-t--global--color--brand--subtle--default);
|
|
15
16
|
--#{$toggle-group}__button--hover--ZIndex: var(--pf-t--global--z-index--xs);
|
|
16
|
-
--#{$toggle-group}__button--hover--before--BorderColor: var(--pf-t--global--border--color--
|
|
17
|
+
--#{$toggle-group}__button--hover--before--BorderColor: var(--pf-t--global--border--color--brand--subtle--hover);
|
|
17
18
|
--#{$toggle-group}__button--hover--after--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
18
19
|
--#{$toggle-group}__button--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
|
19
|
-
--#{$toggle-group}__button--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
20
|
+
--#{$toggle-group}__button--before--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
20
21
|
|
|
21
22
|
// item
|
|
22
23
|
--#{$toggle-group}__item--item--MarginInlineStart: calc(-1 * var(--pf-t--global--border--width--control--default));
|
|
23
|
-
--#{$toggle-group}__item--first-child__button--BorderStartStartRadius: var(--pf-t--global--border--radius--
|
|
24
|
-
--#{$toggle-group}__item--first-child__button--BorderEndStartRadius: var(--pf-t--global--border--radius--
|
|
25
|
-
--#{$toggle-group}__item--last-child__button--BorderStartEndRadius: var(--pf-t--global--border--radius--
|
|
26
|
-
--#{$toggle-group}__item--last-child__button--BorderEndEndRadius: var(--pf-t--global--border--radius--
|
|
24
|
+
--#{$toggle-group}__item--first-child__button--BorderStartStartRadius: var(--pf-t--global--border--radius--control--default);
|
|
25
|
+
--#{$toggle-group}__item--first-child__button--BorderEndStartRadius: var(--pf-t--global--border--radius--control--default);
|
|
26
|
+
--#{$toggle-group}__item--last-child__button--BorderStartEndRadius: var(--pf-t--global--border--radius--control--default);
|
|
27
|
+
--#{$toggle-group}__item--last-child__button--BorderEndEndRadius: var(--pf-t--global--border--radius--control--default);
|
|
27
28
|
|
|
28
29
|
// icon
|
|
29
30
|
--#{$toggle-group}__icon--text--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
|
31
|
+
--#{$toggle-group}__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
32
|
+
--#{$toggle-group}__icon--hover--Color: var(--pf-t--global--icon--color--on-brand--subtle--default);
|
|
33
|
+
--#{$toggle-group}__icon--m-selected--Color: var(--pf-t--global--icon--color--on-brand--subtle--default);
|
|
34
|
+
--#{$toggle-group}__icon--disabled--Color: var(--pf-t--global--icon--color--on-disabled);
|
|
30
35
|
|
|
31
36
|
// Selected
|
|
32
|
-
--#{$toggle-group}__button--m-selected--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
33
|
-
--#{$toggle-group}__button--m-selected--Color: var(--pf-t--global--text--color--on-brand--default);
|
|
34
|
-
--#{$toggle-group}__button--m-selected--before--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
35
|
-
--#{$toggle-group}__button--m-selected
|
|
37
|
+
--#{$toggle-group}__button--m-selected--BackgroundColor: var(--pf-t--global--color--brand--subtle--default);
|
|
38
|
+
--#{$toggle-group}__button--m-selected--Color: var(--pf-t--global--text--color--on-brand--subtle--default);
|
|
39
|
+
--#{$toggle-group}__button--m-selected--before--BorderColor: var(--pf-t--global--border--color--brand--subtle--clicked);
|
|
40
|
+
--#{$toggle-group}__button--m-selected--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
41
|
+
--#{$toggle-group}__button--m-selected--after--BorderColor: var(--pf-t--global--border--color--brand--subtle--clicked);
|
|
42
|
+
--#{$toggle-group}__button--m-selected--after--BorderWidth: var(--pf-t--global--border--width--control--clicked);
|
|
43
|
+
--#{$toggle-group}__button--m-selected--selected--before--BorderInlineStartColor: var(--pf-t--global--border--color--brand--subtle--clicked);
|
|
36
44
|
--#{$toggle-group}__button--m-selected--ZIndex: var(--pf-t--global--z-index--xs);
|
|
37
|
-
--#{$toggle-group}__button--m-selected--after--BorderWidth: var(--pf-t--global--border--width--high-contrast--strong);
|
|
38
45
|
|
|
39
46
|
// disabled
|
|
40
47
|
--#{$toggle-group}__button--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
41
48
|
--#{$toggle-group}__button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
|
42
|
-
--#{$toggle-group}__button--disabled--before--BorderColor: var(--pf-t--global--border--color--
|
|
43
|
-
--#{$toggle-group}__button--disabled
|
|
49
|
+
--#{$toggle-group}__button--disabled--before--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
50
|
+
--#{$toggle-group}__button--disabled--disabled--before--BorderInlineStartColor: var(--pf-t--global--border--color--control--default);
|
|
44
51
|
--#{$toggle-group}__button--disabled--ZIndex: var(--pf-t--global--z-index--xs);
|
|
45
52
|
|
|
46
53
|
// Compact
|
|
@@ -124,9 +131,11 @@
|
|
|
124
131
|
|
|
125
132
|
&:is(:hover, :focus) {
|
|
126
133
|
--#{$toggle-group}__button--BackgroundColor: var(--#{$toggle-group}__button--hover--BackgroundColor);
|
|
134
|
+
--#{$toggle-group}__button--Color: var(--#{$toggle-group}__button--hover--Color);
|
|
127
135
|
--#{$toggle-group}__button--ZIndex: var(--#{$toggle-group}__button--hover--ZIndex);
|
|
128
136
|
--#{$toggle-group}__button--before--BorderColor: var(--#{$toggle-group}__button--hover--before--BorderColor);
|
|
129
137
|
--#{$toggle-group}__button--after--BorderWidth: var(--#{$toggle-group}__button--hover--after--BorderWidth);
|
|
138
|
+
--#{$toggle-group}__icon--Color: var(--#{$toggle-group}__icon--hover--Color);
|
|
130
139
|
|
|
131
140
|
text-decoration-line: none;
|
|
132
141
|
}
|
|
@@ -136,7 +145,10 @@
|
|
|
136
145
|
--#{$toggle-group}__button--Color: var(--#{$toggle-group}__button--m-selected--Color, inherit);
|
|
137
146
|
--#{$toggle-group}__button--ZIndex: var(--#{$toggle-group}__button--m-selected--ZIndex);
|
|
138
147
|
--#{$toggle-group}__button--before--BorderColor: var(--#{$toggle-group}__button--m-selected--before--BorderColor);
|
|
148
|
+
--#{$toggle-group}__button--before--BorderWidth: var(--#{$toggle-group}__button--m-selected--before--BorderWidth);
|
|
149
|
+
--#{$toggle-group}__button--after--BorderColor: var(--#{$toggle-group}__button--m-selected--after--BorderColor);
|
|
139
150
|
--#{$toggle-group}__button--after--BorderWidth: var(--#{$toggle-group}__button--m-selected--after--BorderWidth);
|
|
151
|
+
--#{$toggle-group}__icon--Color: var(--#{$toggle-group}__icon--m-selected--Color);
|
|
140
152
|
}
|
|
141
153
|
|
|
142
154
|
&:is(:disabled, .pf-m-disabled) {
|
|
@@ -144,6 +156,7 @@
|
|
|
144
156
|
--#{$toggle-group}__button--Color: var(--#{$toggle-group}__button--disabled--Color);
|
|
145
157
|
--#{$toggle-group}__button--ZIndex: var(--#{$toggle-group}__button--disabled--ZIndex);
|
|
146
158
|
--#{$toggle-group}__button--before--BorderColor: var(--#{$toggle-group}__button--disabled--before--BorderColor);
|
|
159
|
+
--#{$toggle-group}__icon--Color: var(--#{$toggle-group}__icon--disabled--Color);
|
|
147
160
|
|
|
148
161
|
pointer-events: none;
|
|
149
162
|
}
|
|
@@ -151,16 +164,19 @@
|
|
|
151
164
|
|
|
152
165
|
// For consecutive selected items, turn the left border back to what it was
|
|
153
166
|
.#{$toggle-group}__item:has(.pf-m-selected) + .#{$toggle-group}__item:has(.pf-m-selected) {
|
|
154
|
-
--#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--m-selected
|
|
167
|
+
--#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--m-selected--selected--before--BorderInlineStartColor);
|
|
155
168
|
}
|
|
156
169
|
|
|
157
170
|
// For consecutive disabled items, turn the left border back to what it was
|
|
158
171
|
.#{$toggle-group}__item:has(:disabled, .pf-m-disabled) + .#{$toggle-group}__item:has(:disabled, .pf-m-disabled) {
|
|
159
|
-
--#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--disabled
|
|
172
|
+
--#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--disabled--disabled--before--BorderInlineStartColor);
|
|
160
173
|
}
|
|
161
174
|
|
|
162
|
-
.#{$toggle-group}__icon
|
|
163
|
-
|
|
164
|
-
margin-inline-start: var(--#{$toggle-group}__icon--text--MarginInlineStart);
|
|
175
|
+
.#{$toggle-group}__icon {
|
|
176
|
+
color: var(--#{$toggle-group}__icon--Color);
|
|
165
177
|
}
|
|
166
178
|
|
|
179
|
+
.#{$toggle-group}__icon+.#{$toggle-group}__text,
|
|
180
|
+
.#{$toggle-group}__text+.#{$toggle-group}__icon {
|
|
181
|
+
margin-inline-start: var(--#{$toggle-group}__icon--text--MarginInlineStart);
|
|
182
|
+
}
|
|
@@ -40,10 +40,11 @@
|
|
|
40
40
|
--pf-v6-c-toolbar--m-sticky--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
41
41
|
--pf-v6-c-toolbar--m-sticky--BorderBlockEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
42
42
|
--pf-v6-c-toolbar--m-sticky--BorderBlockEndColor: var(--pf-t--global--border--color--high-contrast);
|
|
43
|
+
--pf-v6-c-toolbar--m-vertical--Width: fit-content;
|
|
43
44
|
--pf-v6-c-toolbar__expand-all-icon--Rotate: 0;
|
|
44
45
|
--pf-v6-c-toolbar__expand-all-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
45
46
|
--pf-v6-c-toolbar__expand-all-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
46
|
-
--pf-v6-c-toolbar__item--m-expand-all--m-expanded__expand-all-icon--Rotate:
|
|
47
|
+
--pf-v6-c-toolbar__item--m-expand-all--m-expanded__expand-all-icon--Rotate: -180deg;
|
|
47
48
|
--pf-v6-c-toolbar__group--m-filter-group--ColumnGap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
48
49
|
--pf-v6-c-toolbar__item--m-label--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
49
50
|
--pf-v6-c-toolbar__group--m-label-group--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
@@ -136,9 +137,6 @@
|
|
|
136
137
|
--pf-v6-hidden-visible--hidden--Display: none;
|
|
137
138
|
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
138
139
|
display: var(--pf-v6-hidden-visible--Display);
|
|
139
|
-
row-gap: var(--pf-v6-c-toolbar__content--RowGap);
|
|
140
|
-
padding-inline-start: var(--pf-v6-c-toolbar__content--PaddingInlineStart);
|
|
141
|
-
padding-inline-end: var(--pf-v6-c-toolbar__content--PaddingInlineEnd);
|
|
142
140
|
}
|
|
143
141
|
.pf-v6-c-toolbar__content.pf-m-hidden {
|
|
144
142
|
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
@@ -183,6 +181,11 @@
|
|
|
183
181
|
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
184
182
|
}
|
|
185
183
|
}
|
|
184
|
+
.pf-v6-c-toolbar__content {
|
|
185
|
+
row-gap: var(--pf-v6-c-toolbar__content--RowGap);
|
|
186
|
+
padding-inline-start: var(--pf-v6-c-toolbar__content--PaddingInlineStart);
|
|
187
|
+
padding-inline-end: var(--pf-v6-c-toolbar__content--PaddingInlineEnd);
|
|
188
|
+
}
|
|
186
189
|
|
|
187
190
|
.pf-v6-c-toolbar__content-section {
|
|
188
191
|
flex-wrap: wrap;
|
|
@@ -243,14 +246,19 @@
|
|
|
243
246
|
.pf-v6-c-toolbar.pf-m-no-background {
|
|
244
247
|
--pf-v6-c-toolbar--BackgroundColor: var(--pf-v6-c-toolbar--m-no-background--BackgroundColor);
|
|
245
248
|
}
|
|
249
|
+
.pf-v6-c-toolbar.pf-m-vertical {
|
|
250
|
+
--pf-v6-c-toolbar--child--m-align-end--MarginBlockStart: auto;
|
|
251
|
+
--pf-v6-c-toolbar--child--m-align-end--MarginInlineStart: 0;
|
|
252
|
+
--pf-v6-c-toolbar--PaddingBlockEnd: 0;
|
|
253
|
+
--pf-v6-c-toolbar--Width: var(--pf-v6-c-toolbar--m-vertical--Width);
|
|
254
|
+
}
|
|
255
|
+
.pf-v6-c-toolbar.pf-m-vertical :is(.pf-v6-c-toolbar__group, .pf-v6-c-toolbar__item, .pf-v6-c-toolbar__content-section) {
|
|
256
|
+
flex-direction: column;
|
|
257
|
+
align-items: center;
|
|
258
|
+
}
|
|
246
259
|
|
|
247
260
|
.pf-v6-c-toolbar__item {
|
|
248
261
|
--pf-v6-c-toolbar__item--Width--base: var(--pf-v6-c-toolbar__item--Width);
|
|
249
|
-
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth);
|
|
250
|
-
row-gap: var(--pf-v6-c-toolbar__item--RowGap);
|
|
251
|
-
column-gap: var(--pf-v6-c-toolbar__item--ColumnGap);
|
|
252
|
-
width: var(--pf-v6-c-toolbar__item--Width--base);
|
|
253
|
-
min-width: var(--pf-v6-c-toolbar__item--MinWidth--base);
|
|
254
262
|
}
|
|
255
263
|
@media (min-width: 36rem) {
|
|
256
264
|
.pf-v6-c-toolbar__item {
|
|
@@ -277,6 +285,9 @@
|
|
|
277
285
|
--pf-v6-c-toolbar__item--Width--base: var(--pf-v6-c-toolbar__item--Width-on-2xl, var(--pf-v6-c-toolbar__item--Width-on-xl, var(--pf-v6-c-toolbar__item--Width-on-lg, var(--pf-v6-c-toolbar__item--Width-on-md, var(--pf-v6-c-toolbar__item--Width-on-sm, var(--pf-v6-c-toolbar__item--Width))))));
|
|
278
286
|
}
|
|
279
287
|
}
|
|
288
|
+
.pf-v6-c-toolbar__item {
|
|
289
|
+
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth);
|
|
290
|
+
}
|
|
280
291
|
@media (min-width: 36rem) {
|
|
281
292
|
.pf-v6-c-toolbar__item {
|
|
282
293
|
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth-on-sm, var(--pf-v6-c-toolbar__item--MinWidth));
|
|
@@ -302,6 +313,12 @@
|
|
|
302
313
|
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth-on-2xl, var(--pf-v6-c-toolbar__item--MinWidth-on-xl, var(--pf-v6-c-toolbar__item--MinWidth-on-lg, var(--pf-v6-c-toolbar__item--MinWidth-on-md, var(--pf-v6-c-toolbar__item--MinWidth-on-sm, var(--pf-v6-c-toolbar__item--MinWidth))))));
|
|
303
314
|
}
|
|
304
315
|
}
|
|
316
|
+
.pf-v6-c-toolbar__item {
|
|
317
|
+
row-gap: var(--pf-v6-c-toolbar__item--RowGap);
|
|
318
|
+
column-gap: var(--pf-v6-c-toolbar__item--ColumnGap);
|
|
319
|
+
width: var(--pf-v6-c-toolbar__item--Width--base);
|
|
320
|
+
min-width: var(--pf-v6-c-toolbar__item--MinWidth--base);
|
|
321
|
+
}
|
|
305
322
|
.pf-v6-c-toolbar__item.pf-m-expand-all.pf-m-expanded {
|
|
306
323
|
--pf-v6-c-toolbar__expand-all-icon--Rotate: var(--pf-v6-c-toolbar__item--m-expand-all--m-expanded__expand-all-icon--Rotate);
|
|
307
324
|
}
|
|
@@ -322,6 +339,9 @@
|
|
|
322
339
|
row-gap: var(--pf-v6-c-toolbar__group--RowGap);
|
|
323
340
|
column-gap: var(--pf-v6-c-toolbar__group--ColumnGap);
|
|
324
341
|
}
|
|
342
|
+
.pf-v6-c-toolbar.pf-m-vertical .pf-v6-c-toolbar__group {
|
|
343
|
+
row-gap: var(--pf-v6-c-toolbar__group--ColumnGap);
|
|
344
|
+
}
|
|
325
345
|
.pf-v6-c-toolbar__group.pf-m-filter-group {
|
|
326
346
|
column-gap: var(--pf-v6-c-toolbar__group--m-filter-group--ColumnGap);
|
|
327
347
|
}
|
|
@@ -333,9 +353,15 @@
|
|
|
333
353
|
.pf-v6-c-toolbar__group.pf-m-action-group {
|
|
334
354
|
column-gap: var(--pf-v6-c-toolbar__group--m-action-group--ColumnGap);
|
|
335
355
|
}
|
|
356
|
+
.pf-v6-c-toolbar.pf-m-vertical .pf-v6-c-toolbar__group.pf-m-action-group {
|
|
357
|
+
row-gap: var(--pf-v6-c-toolbar__group--m-action-group--ColumnGap);
|
|
358
|
+
}
|
|
336
359
|
.pf-v6-c-toolbar__group.pf-m-action-group-plain {
|
|
337
360
|
column-gap: var(--pf-v6-c-toolbar__group--m-action-group-plain--ColumnGap);
|
|
338
361
|
}
|
|
362
|
+
.pf-v6-c-toolbar.pf-m-vertical .pf-v6-c-toolbar__group.pf-m-action-group-plain {
|
|
363
|
+
row-gap: var(--pf-v6-c-toolbar__group--m-action-group-plain--ColumnGap);
|
|
364
|
+
}
|
|
339
365
|
.pf-v6-c-toolbar__group.pf-m-action-group-inline {
|
|
340
366
|
flex-wrap: wrap;
|
|
341
367
|
column-gap: var(--pf-v6-c-toolbar__group--m-action-group-inline--ColumnGap);
|
|
@@ -412,7 +438,8 @@
|
|
|
412
438
|
}
|
|
413
439
|
.pf-v6-c-toolbar__group.pf-m-align-end,
|
|
414
440
|
.pf-v6-c-toolbar__item.pf-m-align-end {
|
|
415
|
-
margin-
|
|
441
|
+
margin-block-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginBlockStart, 0);
|
|
442
|
+
margin-inline-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginInlineStart, auto);
|
|
416
443
|
}
|
|
417
444
|
.pf-v6-c-toolbar__group.pf-m-flex-grow,
|
|
418
445
|
.pf-v6-c-toolbar__item.pf-m-flex-grow {
|
|
@@ -667,7 +694,8 @@
|
|
|
667
694
|
}
|
|
668
695
|
.pf-v6-c-toolbar__group.pf-m-align-end-on-sm,
|
|
669
696
|
.pf-v6-c-toolbar__item.pf-m-align-end-on-sm {
|
|
670
|
-
margin-
|
|
697
|
+
margin-block-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginBlockStart, 0);
|
|
698
|
+
margin-inline-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginInlineStart, auto);
|
|
671
699
|
}
|
|
672
700
|
.pf-v6-c-toolbar__group.pf-m-flex-grow-on-sm,
|
|
673
701
|
.pf-v6-c-toolbar__item.pf-m-flex-grow-on-sm {
|
|
@@ -919,7 +947,8 @@
|
|
|
919
947
|
}
|
|
920
948
|
.pf-v6-c-toolbar__group.pf-m-align-end-on-md,
|
|
921
949
|
.pf-v6-c-toolbar__item.pf-m-align-end-on-md {
|
|
922
|
-
margin-
|
|
950
|
+
margin-block-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginBlockStart, 0);
|
|
951
|
+
margin-inline-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginInlineStart, auto);
|
|
923
952
|
}
|
|
924
953
|
.pf-v6-c-toolbar__group.pf-m-flex-grow-on-md,
|
|
925
954
|
.pf-v6-c-toolbar__item.pf-m-flex-grow-on-md {
|
|
@@ -1171,7 +1200,8 @@
|
|
|
1171
1200
|
}
|
|
1172
1201
|
.pf-v6-c-toolbar__group.pf-m-align-end-on-lg,
|
|
1173
1202
|
.pf-v6-c-toolbar__item.pf-m-align-end-on-lg {
|
|
1174
|
-
margin-
|
|
1203
|
+
margin-block-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginBlockStart, 0);
|
|
1204
|
+
margin-inline-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginInlineStart, auto);
|
|
1175
1205
|
}
|
|
1176
1206
|
.pf-v6-c-toolbar__group.pf-m-flex-grow-on-lg,
|
|
1177
1207
|
.pf-v6-c-toolbar__item.pf-m-flex-grow-on-lg {
|
|
@@ -1423,7 +1453,8 @@
|
|
|
1423
1453
|
}
|
|
1424
1454
|
.pf-v6-c-toolbar__group.pf-m-align-end-on-xl,
|
|
1425
1455
|
.pf-v6-c-toolbar__item.pf-m-align-end-on-xl {
|
|
1426
|
-
margin-
|
|
1456
|
+
margin-block-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginBlockStart, 0);
|
|
1457
|
+
margin-inline-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginInlineStart, auto);
|
|
1427
1458
|
}
|
|
1428
1459
|
.pf-v6-c-toolbar__group.pf-m-flex-grow-on-xl,
|
|
1429
1460
|
.pf-v6-c-toolbar__item.pf-m-flex-grow-on-xl {
|
|
@@ -1675,7 +1706,8 @@
|
|
|
1675
1706
|
}
|
|
1676
1707
|
.pf-v6-c-toolbar__group.pf-m-align-end-on-2xl,
|
|
1677
1708
|
.pf-v6-c-toolbar__item.pf-m-align-end-on-2xl {
|
|
1678
|
-
margin-
|
|
1709
|
+
margin-block-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginBlockStart, 0);
|
|
1710
|
+
margin-inline-start: var(--pf-v6-c-toolbar--child--m-align-end--MarginInlineStart, auto);
|
|
1679
1711
|
}
|
|
1680
1712
|
.pf-v6-c-toolbar__group.pf-m-flex-grow-on-2xl,
|
|
1681
1713
|
.pf-v6-c-toolbar__item.pf-m-flex-grow-on-2xl {
|
|
@@ -69,11 +69,14 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
69
69
|
--#{$toolbar}--m-sticky--BorderBlockEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
70
70
|
--#{$toolbar}--m-sticky--BorderBlockEndColor: var(--pf-t--global--border--color--high-contrast);
|
|
71
71
|
|
|
72
|
+
// * Toolbar vertical
|
|
73
|
+
--#{$toolbar}--m-vertical--Width: fit-content;
|
|
74
|
+
|
|
72
75
|
// * Toolbar expand all
|
|
73
76
|
--#{$toolbar}__expand-all-icon--Rotate: 0;
|
|
74
77
|
--#{$toolbar}__expand-all-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
75
78
|
--#{$toolbar}__expand-all-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
76
|
-
--#{$toolbar}__item--m-expand-all--m-expanded__expand-all-icon--Rotate:
|
|
79
|
+
--#{$toolbar}__item--m-expand-all--m-expanded__expand-all-icon--Rotate: -180deg;
|
|
77
80
|
|
|
78
81
|
// * Toolbar filter group
|
|
79
82
|
--#{$toolbar}__group--m-filter-group--ColumnGap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
@@ -193,9 +196,17 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
193
196
|
--#{$toolbar}--BackgroundColor: var(--#{$toolbar}--m-no-background--BackgroundColor);
|
|
194
197
|
}
|
|
195
198
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
+
&.pf-m-vertical {
|
|
200
|
+
--#{$toolbar}--child--m-align-end--MarginBlockStart: auto;
|
|
201
|
+
--#{$toolbar}--child--m-align-end--MarginInlineStart: 0;
|
|
202
|
+
--#{$toolbar}--PaddingBlockEnd: 0;
|
|
203
|
+
--#{$toolbar}--Width: var(--#{$toolbar}--m-vertical--Width);
|
|
204
|
+
|
|
205
|
+
:is(.#{$toolbar}__group, .#{$toolbar}__item, .#{$toolbar}__content-section) {
|
|
206
|
+
flex-direction: column;
|
|
207
|
+
align-items: center;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
199
210
|
}
|
|
200
211
|
|
|
201
212
|
// - Toolbar item
|
|
@@ -237,6 +248,10 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
237
248
|
row-gap: var(--#{$toolbar}__group--RowGap);
|
|
238
249
|
column-gap: var(--#{$toolbar}__group--ColumnGap);
|
|
239
250
|
|
|
251
|
+
.#{$toolbar}.pf-m-vertical & {
|
|
252
|
+
row-gap: var(--#{$toolbar}__group--ColumnGap);
|
|
253
|
+
}
|
|
254
|
+
|
|
240
255
|
// - Toolbar filter group
|
|
241
256
|
&.pf-m-filter-group {
|
|
242
257
|
column-gap: var(--#{$toolbar}__group--m-filter-group--ColumnGap);
|
|
@@ -252,11 +267,19 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
252
267
|
// - Toolbar action group
|
|
253
268
|
&.pf-m-action-group {
|
|
254
269
|
column-gap: var(--#{$toolbar}__group--m-action-group--ColumnGap);
|
|
270
|
+
|
|
271
|
+
.#{$toolbar}.pf-m-vertical & {
|
|
272
|
+
row-gap: var(--#{$toolbar}__group--m-action-group--ColumnGap);
|
|
273
|
+
}
|
|
255
274
|
}
|
|
256
275
|
|
|
257
276
|
// - Toolbar action group plain
|
|
258
277
|
&.pf-m-action-group-plain {
|
|
259
278
|
column-gap: var(--#{$toolbar}__group--m-action-group-plain--ColumnGap);
|
|
279
|
+
|
|
280
|
+
.#{$toolbar}.pf-m-vertical & {
|
|
281
|
+
row-gap: var(--#{$toolbar}__group--m-action-group-plain--ColumnGap);
|
|
282
|
+
}
|
|
260
283
|
}
|
|
261
284
|
|
|
262
285
|
// - Toolbar action group inline
|
|
@@ -333,7 +356,11 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
333
356
|
}
|
|
334
357
|
|
|
335
358
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-toolbar--breakpoint-map {
|
|
336
|
-
$breakpoint-name:
|
|
359
|
+
$breakpoint-name: "";
|
|
360
|
+
|
|
361
|
+
@if $breakpoint != "base" {
|
|
362
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
363
|
+
}
|
|
337
364
|
|
|
338
365
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
339
366
|
.#{$toolbar}__group,
|
|
@@ -348,7 +375,8 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
348
375
|
}
|
|
349
376
|
|
|
350
377
|
&.pf-m-align-end#{$breakpoint-name} {
|
|
351
|
-
margin-
|
|
378
|
+
margin-block-start: var(--#{$toolbar}--child--m-align-end--MarginBlockStart, 0);
|
|
379
|
+
margin-inline-start: var(--#{$toolbar}--child--m-align-end--MarginInlineStart, auto);
|
|
352
380
|
}
|
|
353
381
|
|
|
354
382
|
&.pf-m-flex-grow#{$breakpoint-name} {
|