@patternfly/patternfly 6.5.0-prerelease.6 → 6.5.0-prerelease.61
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.jpg +0 -0
- package/assets/images/compass--wallpaper-dark.png +0 -0
- package/assets/images/compass--wallpaper-light.jpg +0 -0
- package/assets/images/compass--wallpaper-light.png +0 -0
- package/assets/images/glass-brand-dark.jpg +0 -0
- package/assets/images/glass-brand-dark.png +0 -0
- package/assets/images/glass-brand-light.jpg +0 -0
- package/assets/images/glass-brand-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 +926 -513
- package/base/patternfly-variables.scss +46 -4
- package/base/tokens/tokens-dark.scss +56 -8
- package/base/tokens/tokens-default.scss +69 -14
- package/base/tokens/tokens-glass-dark.scss +26 -0
- package/base/tokens/tokens-glass.scss +22 -0
- package/base/tokens/tokens-local.scss +17 -0
- package/base/tokens/tokens-palette.scss +3 -1
- package/base/tokens/tokens-redhat-dark.scss +21 -0
- package/base/tokens/tokens-redhat-glass-dark.scss +40 -0
- package/base/tokens/tokens-redhat-glass.scss +30 -0
- package/base/tokens/tokens-redhat-highcontrast-dark.scss +50 -0
- package/base/tokens/tokens-redhat-highcontrast.scss +128 -0
- package/base/tokens/tokens-redhat.scss +15 -0
- package/components/AboutModalBox/about-modal-box.css +36 -26
- package/components/Accordion/accordion.css +27 -14
- package/components/Accordion/accordion.scss +12 -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 +121 -30
- package/components/Button/button.scss +131 -26
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +51 -13
- package/components/Card/card.scss +61 -8
- 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 +8 -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 +222 -73
- package/components/Drawer/drawer.scss +191 -26
- 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 +16 -5
- package/components/JumpLinks/jump-links.scss +17 -3
- 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 +58 -40
- package/components/Login/login.scss +7 -3
- package/components/Masthead/masthead.css +112 -16
- package/components/Masthead/masthead.scss +112 -1
- package/components/Menu/menu.css +23 -14
- package/components/MenuToggle/menu-toggle.css +26 -3
- package/components/MenuToggle/menu-toggle.scss +30 -3
- package/components/ModalBox/modal-box.css +9 -7
- package/components/ModalBox/modal-box.scss +2 -2
- package/components/Nav/nav.css +82 -11
- package/components/Nav/nav.scss +85 -5
- package/components/NotificationDrawer/notification-drawer.css +19 -9
- package/components/NotificationDrawer/notification-drawer.scss +14 -5
- package/components/Page/page.css +214 -29
- package/components/Page/page.scss +228 -13
- package/components/Pagination/pagination.scss +5 -1
- package/components/Panel/panel.css +14 -0
- package/components/Panel/panel.scss +18 -0
- package/components/Progress/progress.css +3 -1
- package/components/Progress/progress.scss +3 -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 +45 -36
- package/components/Table/table.scss +15 -11
- package/components/Tabs/tabs.css +51 -33
- package/components/Tabs/tabs.scss +54 -26
- 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 +41 -19
- package/components/Wizard/wizard.scss +26 -6
- package/components/_index.css +2047 -721
- package/components/_index.scss +3 -1
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -1
- package/docs/components/Accordion/examples/Accordion.md +392 -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 -24
- package/docs/components/Button/examples/Button.md +2362 -163
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +104 -8
- package/docs/components/Card/examples/Card.md +207 -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 +406 -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/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +355 -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 -116
- package/docs/components/MenuToggle/examples/MenuToggle.md +14 -5
- package/docs/components/ModalBox/examples/ModalBox.md +289 -25
- 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 +72 -11
- package/docs/components/Pagination/examples/Pagination.md +627 -64
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.md +286 -22
- package/docs/components/Progress/examples/Progress.md +91 -7
- 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 +876 -70
- package/docs/components/Tabs/examples/Tabs.md +5908 -457
- 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 -44
- package/docs/components/TreeView/examples/TreeView.md +1390 -130
- package/docs/components/Wizard/examples/Wizard.md +815 -72
- package/docs/demos/AboutModal/examples/AboutModal.md +98 -47
- package/docs/demos/Alert/examples/Alert.md +359 -146
- package/docs/demos/BackToTop/examples/BackToTop.md +98 -47
- package/docs/demos/Banner/examples/Banner.md +170 -92
- package/docs/demos/Button/examples/Button.md +13 -1
- package/docs/demos/Card/examples/Card.md +963 -128
- package/docs/demos/CardView/examples/CardView.md +435 -252
- package/docs/demos/Compass/examples/Compass.md +5930 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +648 -164
- package/docs/demos/DataList/examples/DataList.md +730 -225
- package/docs/demos/DescriptionList/examples/DescriptionList.md +279 -141
- package/docs/demos/Drawer/examples/Drawer.md +421 -235
- package/docs/demos/Form/examples/BasicForms.md +273 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +518 -287
- package/docs/demos/Masthead/examples/Masthead.md +787 -451
- package/docs/demos/Modal/examples/Modal.md +588 -285
- package/docs/demos/Nav/examples/Nav.md +2913 -493
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1273 -310
- package/docs/demos/Page/examples/Page.md +1236 -689
- 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 +978 -385
- package/docs/demos/Skeleton/examples/Skeleton.md +85 -46
- package/docs/demos/Table/examples/Table.md +4531 -838
- package/docs/demos/Tabs/examples/Tabs.md +653 -293
- package/docs/demos/Toolbar/examples/Toolbar.md +584 -136
- package/docs/demos/Wizard/examples/Wizard.md +1165 -472
- 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 +965 -491
- package/patternfly-base.css +972 -491
- package/patternfly-charts.css +3 -3
- package/patternfly-no-globals.css +2908 -1087
- package/patternfly.css +2915 -1087
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +27 -0
- package/sass-utilities/functions.scss +32 -25
- package/sass-utilities/mixins.scss +36 -20
- package/sass-utilities/namespaces-components.scss +6 -0
- package/sass-utilities/scss-variables.scss +3 -0
package/components/Nav/nav.css
CHANGED
|
@@ -28,13 +28,22 @@
|
|
|
28
28
|
--pf-v6-c-nav__section-title--PaddingInlineStart: var(--pf-v6-c-nav__link--PaddingInlineStart);
|
|
29
29
|
--pf-v6-c-nav__section-title--PaddingInlineEnd: var(--pf-v6-c-nav__link--PaddingInlineEnd);
|
|
30
30
|
--pf-v6-c-nav__item--RowGap: var(--pf-v6-c-nav__list--RowGap);
|
|
31
|
+
--pf-v6-c-nav__item--accent--size: var(--pf-t--global--border--width--extra-strong);
|
|
32
|
+
--pf-v6-c-nav__item--accent--color: var(--pf-t--global--color--brand--accent--default);
|
|
33
|
+
--pf-v6-c-nav__item--accent--offset: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
34
|
+
--pf-v6-c-nav__item--accent--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
35
|
+
--pf-v6-c-nav__item--accent--ScaleY: 0;
|
|
36
|
+
--pf-v6-c-nav__item--current--accent--ScaleY: 1;
|
|
37
|
+
--pf-v6-c-nav__item--accent--TransitionDuration: 0;
|
|
38
|
+
--pf-v6-c-nav__item--current--accent--TransitionDuration: var(--pf-t--global--motion--duration--fade--default);
|
|
39
|
+
--pf-v6-c-nav__item--accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
31
40
|
--pf-v6-c-nav__item__toggle-icon--Rotate: 0;
|
|
32
|
-
--pf-v6-c-nav__item--m-expanded__toggle-icon--Rotate:
|
|
41
|
+
--pf-v6-c-nav__item--m-expanded__toggle-icon--Rotate: -180deg;
|
|
33
42
|
--pf-v6-c-nav__item__toggle-icon--TransitionDuration--transform: var(--pf-t--global--motion--duration--icon--default);
|
|
34
43
|
--pf-v6-c-nav__item__toggle-icon--TransitionTimingFunction--transform: var(--pf-t--global--motion--timing-function--default);
|
|
35
44
|
--pf-v6-c-nav__link--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
36
45
|
--pf-v6-c-nav__link--AlignItems: baseline;
|
|
37
|
-
--pf-v6-c-nav__link--BorderRadius: var(--pf-t--global--border--radius--
|
|
46
|
+
--pf-v6-c-nav__link--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
|
|
38
47
|
--pf-v6-c-nav__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
39
48
|
--pf-v6-c-nav__link--WhiteSpace: normal;
|
|
40
49
|
--pf-v6-c-nav__link--Color: var(--pf-t--global--text--color--subtle);
|
|
@@ -52,6 +61,7 @@
|
|
|
52
61
|
--pf-v6-c-nav__link--m-current--TransitionTimingFunction--color: var(--pf-t--global--motion--timing-function--default);
|
|
53
62
|
--pf-v6-c-nav__link-icon--Color: var(--pf-t--global--icon--color--subtle);
|
|
54
63
|
--pf-v6-c-nav__link--m-current__link-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
64
|
+
--pf-v6-c-nav__link-text--FontSize: initial;
|
|
55
65
|
--pf-v6-c-nav__subnav--RowGap: var(--pf-t--global--border--width--extra-strong);
|
|
56
66
|
--pf-v6-c-nav__subnav--PaddingBlockStart: var(--pf-v6-c-nav__item--RowGap);
|
|
57
67
|
--pf-v6-c-nav__subnav--PaddingBlockEnd: var(--pf-v6-c-nav__item--RowGap);
|
|
@@ -63,6 +73,15 @@
|
|
|
63
73
|
--pf-v6-c-nav__subnav--TransitionTimingFunction--expand: var(--pf-t--global--motion--timing-function--default);
|
|
64
74
|
--pf-v6-c-nav__subnav--TranslateY: 0;
|
|
65
75
|
--pf-v6-c-nav__subnav--hidden--TranslateY: 0;
|
|
76
|
+
}
|
|
77
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
78
|
+
.pf-v6-c-nav {
|
|
79
|
+
--pf-v6-c-nav__subnav--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
80
|
+
--pf-v6-c-nav__subnav--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
81
|
+
--pf-v6-c-nav__subnav--hidden--TranslateY: -.5rem;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.pf-v6-c-nav {
|
|
66
85
|
--pf-v6-c-nav__scroll-button--BorderColor: var(--pf-t--global--border--color--default);
|
|
67
86
|
--pf-v6-c-nav__scroll-button--BorderWidth: var(--pf-t--global--border--width--divider--default);
|
|
68
87
|
--pf-v6-c-nav__scroll-button--first-of-type--c-button--BorderStartStartRadius: var(--pf-t--global--border--radius--pill);
|
|
@@ -92,13 +111,11 @@
|
|
|
92
111
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
93
112
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
94
113
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
--pf-v6-c-nav__subnav--hidden--TranslateY: -.5rem;
|
|
101
|
-
}
|
|
114
|
+
--pf-v6-c-nav--m-docked__list--RowGap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
115
|
+
--pf-v6-c-nav--m-docked__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
116
|
+
--pf-v6-c-nav--m-docked__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
117
|
+
--pf-v6-c-nav--m-docked__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
118
|
+
--pf-v6-c-nav--m-docked__link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
102
119
|
}
|
|
103
120
|
|
|
104
121
|
.pf-v6-c-nav,
|
|
@@ -133,6 +150,31 @@
|
|
|
133
150
|
.pf-v6-c-nav.pf-m-fill {
|
|
134
151
|
flex-grow: 1;
|
|
135
152
|
}
|
|
153
|
+
.pf-v6-c-nav.pf-m-docked {
|
|
154
|
+
--pf-v6-c-nav--PaddingBlockStart: 0;
|
|
155
|
+
--pf-v6-c-nav--PaddingBlockEnd: 0;
|
|
156
|
+
--pf-v6-c-nav__list--RowGap: var(--pf-v6-c-nav--m-docked__list--RowGap);
|
|
157
|
+
--pf-v6-c-nav__link--PaddingInlineStart: var(--pf-v6-c-nav--m-docked__link--PaddingInlineStart);
|
|
158
|
+
--pf-v6-c-nav__link--PaddingInlineEnd: var(--pf-v6-c-nav--m-docked__link--PaddingInlineEnd);
|
|
159
|
+
--pf-v6-c-nav__link--hover--BackgroundColor: var(--pf-v6-c-nav--m-docked__link--hover--BackgroundColor);
|
|
160
|
+
--pf-v6-c-nav__link--m-current--BackgroundColor: var(--pf-v6-c-nav--m-docked__link--m-current--BackgroundColor);
|
|
161
|
+
width: 100%;
|
|
162
|
+
}
|
|
163
|
+
@media (min-width: 62rem) {
|
|
164
|
+
.pf-v6-c-nav.pf-m-docked {
|
|
165
|
+
width: fit-content;
|
|
166
|
+
}
|
|
167
|
+
.pf-v6-c-nav.pf-m-docked .pf-v6-c-nav__link-text {
|
|
168
|
+
display: none;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-nav.pf-m-docked, .pf-v6-c-nav.pf-m-docked.pf-m-text-expanded {
|
|
172
|
+
width: 100%;
|
|
173
|
+
}
|
|
174
|
+
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-nav.pf-m-docked .pf-v6-c-nav__link-text, .pf-v6-c-nav.pf-m-docked.pf-m-text-expanded .pf-v6-c-nav__link-text {
|
|
175
|
+
display: revert;
|
|
176
|
+
}
|
|
177
|
+
|
|
136
178
|
.pf-v6-c-nav .pf-v6-c-menu {
|
|
137
179
|
--pf-v6-c-menu--MinWidth: 100%;
|
|
138
180
|
}
|
|
@@ -196,14 +238,34 @@
|
|
|
196
238
|
}
|
|
197
239
|
|
|
198
240
|
.pf-v6-c-nav__item {
|
|
241
|
+
position: relative;
|
|
199
242
|
scroll-snap-align: var(--pf-v6-c-nav__item--ScrollSnapAlign);
|
|
200
243
|
}
|
|
244
|
+
.pf-v6-c-nav__item::before {
|
|
245
|
+
position: absolute;
|
|
246
|
+
inset-block-start: 0;
|
|
247
|
+
inset-block-end: 0;
|
|
248
|
+
inset-inline-start: var(--pf-v6-c-nav__item--accent--offset);
|
|
249
|
+
width: var(--pf-v6-c-nav__item--accent--size);
|
|
250
|
+
pointer-events: none;
|
|
251
|
+
content: var(--pf-v6-c-nav__item--accent--content, "");
|
|
252
|
+
background-color: var(--pf-v6-c-nav__item--accent--color);
|
|
253
|
+
border-radius: var(--pf-v6-c-nav__item--accent--BorderRadius);
|
|
254
|
+
transition-timing-function: var(--pf-v6-c-nav__item--accent--TransitionTimingFunction);
|
|
255
|
+
transition-duration: var(--pf-v6-c-nav__item--accent--TransitionDuration);
|
|
256
|
+
transition-property: scale;
|
|
257
|
+
scale: 1 var(--pf-v6-c-nav__item--accent--ScaleY);
|
|
258
|
+
}
|
|
201
259
|
.pf-v6-c-nav__item > .pf-v6-c-nav__link[button] {
|
|
202
260
|
margin-block-end: var(--pf-v6-c-nav__button--RowGap--row-offset);
|
|
203
261
|
}
|
|
204
262
|
.pf-v6-c-nav__item.pf-m-expanded:last-child > .pf-v6-c-nav__subnav {
|
|
205
263
|
margin-block-end: calc(var(--pf-v6-c-nav__subnav--PaddingBlockEnd) * -1);
|
|
206
264
|
}
|
|
265
|
+
.pf-v6-c-nav__item:has(> .pf-v6-c-nav__link.pf-m-current) {
|
|
266
|
+
--pf-v6-c-nav__item--accent--ScaleY: var(--pf-v6-c-nav__item--current--accent--ScaleY);
|
|
267
|
+
--pf-v6-c-nav__item--accent--TransitionDuration: var(--pf-v6-c-nav__item--current--accent--TransitionDuration);
|
|
268
|
+
}
|
|
207
269
|
|
|
208
270
|
.pf-v6-c-nav__section {
|
|
209
271
|
row-gap: var(--pf-v6-c-nav__section--RowGap, var(--pf-v6-c-nav__list--RowGap));
|
|
@@ -262,7 +324,13 @@
|
|
|
262
324
|
}
|
|
263
325
|
|
|
264
326
|
.pf-v6-c-nav__link-icon {
|
|
327
|
+
min-width: 1lh;
|
|
265
328
|
color: var(--pf-v6-c-nav__link-icon--Color);
|
|
329
|
+
text-align: center;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.pf-v6-c-nav__link-text {
|
|
333
|
+
font-size: var(--pf-v6-c-nav__link-text--FontSize, inherit);
|
|
266
334
|
}
|
|
267
335
|
|
|
268
336
|
.pf-v6-c-nav__toggle {
|
|
@@ -320,6 +388,7 @@
|
|
|
320
388
|
}
|
|
321
389
|
|
|
322
390
|
.pf-v6-c-nav:where(.pf-m-horizontal) {
|
|
391
|
+
--pf-v6-c-nav__item--accent--content: none;
|
|
323
392
|
padding: 0;
|
|
324
393
|
overflow: hidden;
|
|
325
394
|
}
|
|
@@ -340,12 +409,14 @@
|
|
|
340
409
|
scroll-snap-type: var(--pf-v6-c-nav__list--ScrollSnapType);
|
|
341
410
|
scroll-padding-inline-end: var(--pf-v6-c-nav--m-horizontal__list--PaddingInlineEnd);
|
|
342
411
|
-webkit-overflow-scrolling: touch;
|
|
343
|
-
scrollbar-width: none;
|
|
344
|
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
345
412
|
}
|
|
346
413
|
.pf-v6-c-nav:where(.pf-m-horizontal) .pf-v6-c-nav__list::-webkit-scrollbar {
|
|
347
414
|
display: none;
|
|
348
415
|
}
|
|
416
|
+
.pf-v6-c-nav:where(.pf-m-horizontal) .pf-v6-c-nav__list {
|
|
417
|
+
scrollbar-width: none;
|
|
418
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
419
|
+
}
|
|
349
420
|
.pf-v6-c-nav:where(.pf-m-horizontal) .pf-v6-c-nav__link {
|
|
350
421
|
outline-offset: var(--pf-v6-c-nav--OutlineOffset);
|
|
351
422
|
}
|
package/components/Nav/nav.scss
CHANGED
|
@@ -40,16 +40,27 @@
|
|
|
40
40
|
// * Nav item
|
|
41
41
|
--#{$nav}__item--RowGap: var(--#{$nav}__list--RowGap);
|
|
42
42
|
|
|
43
|
+
// Nav item accent
|
|
44
|
+
--#{$nav}__item--accent--size: var(--pf-t--global--border--width--extra-strong);
|
|
45
|
+
--#{$nav}__item--accent--color: var(--pf-t--global--color--brand--accent--default);
|
|
46
|
+
--#{$nav}__item--accent--offset: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
47
|
+
--#{$nav}__item--accent--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
48
|
+
--#{$nav}__item--accent--ScaleY: 0;
|
|
49
|
+
--#{$nav}__item--current--accent--ScaleY: 1;
|
|
50
|
+
--#{$nav}__item--accent--TransitionDuration: 0;
|
|
51
|
+
--#{$nav}__item--current--accent--TransitionDuration: var(--pf-t--global--motion--duration--fade--default);
|
|
52
|
+
--#{$nav}__item--accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
53
|
+
|
|
43
54
|
// * Nav item toggle icon
|
|
44
55
|
--#{$nav}__item__toggle-icon--Rotate: 0;
|
|
45
|
-
--#{$nav}__item--m-expanded__toggle-icon--Rotate:
|
|
56
|
+
--#{$nav}__item--m-expanded__toggle-icon--Rotate: -180deg;
|
|
46
57
|
--#{$nav}__item__toggle-icon--TransitionDuration--transform: var(--pf-t--global--motion--duration--icon--default);
|
|
47
58
|
--#{$nav}__item__toggle-icon--TransitionTimingFunction--transform: var(--pf-t--global--motion--timing-function--default);
|
|
48
59
|
|
|
49
60
|
// * Nav link
|
|
50
61
|
--#{$nav}__link--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
51
62
|
--#{$nav}__link--AlignItems: baseline;
|
|
52
|
-
--#{$nav}__link--BorderRadius: var(--pf-t--global--border--radius--
|
|
63
|
+
--#{$nav}__link--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
|
|
53
64
|
--#{$nav}__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
54
65
|
--#{$nav}__link--WhiteSpace: normal;
|
|
55
66
|
--#{$nav}__link--Color: var(--pf-t--global--text--color--subtle);
|
|
@@ -74,6 +85,9 @@
|
|
|
74
85
|
--#{$nav}__link-icon--Color: var(--pf-t--global--icon--color--subtle);
|
|
75
86
|
--#{$nav}__link--m-current__link-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
76
87
|
|
|
88
|
+
// Nav link text
|
|
89
|
+
--#{$nav}__link-text--FontSize: initial;
|
|
90
|
+
|
|
77
91
|
// * Nav subnav
|
|
78
92
|
--#{$nav}__subnav--RowGap: var(--pf-t--global--border--width--extra-strong);
|
|
79
93
|
--#{$nav}__subnav--PaddingBlockStart: var(--#{$nav}__item--RowGap); // needed to keep focus outline on first item from being cut off
|
|
@@ -129,6 +143,13 @@
|
|
|
129
143
|
--#{$nav}--m-horizontal--m-subnav__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
130
144
|
--#{$nav}--m-horizontal--m-subnav__link--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
131
145
|
--#{$nav}--m-horizontal--m-subnav__link--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
146
|
+
|
|
147
|
+
// Docked
|
|
148
|
+
--#{$nav}--m-docked__list--RowGap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
149
|
+
--#{$nav}--m-docked__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
150
|
+
--#{$nav}--m-docked__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
151
|
+
--#{$nav}--m-docked__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
152
|
+
--#{$nav}--m-docked__link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
132
153
|
}
|
|
133
154
|
|
|
134
155
|
// - Nav display - default to grid
|
|
@@ -168,6 +189,35 @@
|
|
|
168
189
|
flex-grow: 1;
|
|
169
190
|
}
|
|
170
191
|
|
|
192
|
+
&.pf-m-docked {
|
|
193
|
+
--#{$nav}--PaddingBlockStart: 0;
|
|
194
|
+
--#{$nav}--PaddingBlockEnd: 0;
|
|
195
|
+
--#{$nav}__list--RowGap: var(--#{$nav}--m-docked__list--RowGap);
|
|
196
|
+
--#{$nav}__link--PaddingInlineStart: var(--#{$nav}--m-docked__link--PaddingInlineStart);
|
|
197
|
+
--#{$nav}__link--PaddingInlineEnd: var(--#{$nav}--m-docked__link--PaddingInlineEnd);
|
|
198
|
+
--#{$nav}__link--hover--BackgroundColor: var(--#{$nav}--m-docked__link--hover--BackgroundColor);
|
|
199
|
+
--#{$nav}__link--m-current--BackgroundColor: var(--#{$nav}--m-docked__link--m-current--BackgroundColor);
|
|
200
|
+
|
|
201
|
+
width: 100%;
|
|
202
|
+
|
|
203
|
+
@media (min-width: #{$pf-v6-global--breakpoint--dock--desktop}) {
|
|
204
|
+
width: fit-content;
|
|
205
|
+
|
|
206
|
+
.#{$nav}__link-text {
|
|
207
|
+
display: none;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@at-root .#{$page}__dock.pf-m-text-expanded &,
|
|
212
|
+
&.pf-m-text-expanded {
|
|
213
|
+
width: 100%;
|
|
214
|
+
|
|
215
|
+
.#{$nav}__link-text {
|
|
216
|
+
display: revert;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
171
221
|
.#{$menu} {
|
|
172
222
|
--#{$menu}--MinWidth: 100%;
|
|
173
223
|
|
|
@@ -244,8 +294,25 @@
|
|
|
244
294
|
|
|
245
295
|
// - Nav item
|
|
246
296
|
.#{$nav}__item {
|
|
297
|
+
position: relative;
|
|
247
298
|
scroll-snap-align: var(--#{$nav}__item--ScrollSnapAlign);
|
|
248
299
|
|
|
300
|
+
&::before {
|
|
301
|
+
position: absolute;
|
|
302
|
+
inset-block-start: 0;
|
|
303
|
+
inset-block-end: 0;
|
|
304
|
+
inset-inline-start: var(--#{$nav}__item--accent--offset);
|
|
305
|
+
width: var(--#{$nav}__item--accent--size);
|
|
306
|
+
pointer-events: none;
|
|
307
|
+
content: var(--#{$nav}__item--accent--content, "");
|
|
308
|
+
background-color: var(--#{$nav}__item--accent--color);
|
|
309
|
+
border-radius: var(--#{$nav}__item--accent--BorderRadius);
|
|
310
|
+
transition-timing-function: var(--#{$nav}__item--accent--TransitionTimingFunction);
|
|
311
|
+
transition-duration: var(--#{$nav}__item--accent--TransitionDuration);
|
|
312
|
+
transition-property: scale;
|
|
313
|
+
scale: 1 var(--#{$nav}__item--accent--ScaleY);
|
|
314
|
+
}
|
|
315
|
+
|
|
249
316
|
> .#{$nav}__link[button] {
|
|
250
317
|
margin-block-end: var(--#{$nav}__button--RowGap--row-offset);
|
|
251
318
|
}
|
|
@@ -255,6 +322,11 @@
|
|
|
255
322
|
margin-block-end: calc(var(--#{$nav}__subnav--PaddingBlockEnd) * -1); // offset bottom padding
|
|
256
323
|
}
|
|
257
324
|
}
|
|
325
|
+
|
|
326
|
+
&:has(> .#{$nav}__link.pf-m-current) {
|
|
327
|
+
--#{$nav}__item--accent--ScaleY: var(--#{$nav}__item--current--accent--ScaleY);
|
|
328
|
+
--#{$nav}__item--accent--TransitionDuration: var(--#{$nav}__item--current--accent--TransitionDuration);
|
|
329
|
+
}
|
|
258
330
|
}
|
|
259
331
|
|
|
260
332
|
// - Nav section
|
|
@@ -305,7 +377,6 @@
|
|
|
305
377
|
border-radius: inherit;
|
|
306
378
|
}
|
|
307
379
|
|
|
308
|
-
|
|
309
380
|
// explicitly set background-color prop to avoid affecting child elements settings
|
|
310
381
|
&:hover,
|
|
311
382
|
&.pf-m-hover,
|
|
@@ -326,9 +397,16 @@
|
|
|
326
397
|
}
|
|
327
398
|
}
|
|
328
399
|
|
|
329
|
-
// - Nav
|
|
400
|
+
// - Nav link icon
|
|
330
401
|
.#{$nav}__link-icon {
|
|
402
|
+
min-width: 1lh;
|
|
331
403
|
color: var(--#{$nav}__link-icon--Color);
|
|
404
|
+
text-align: center;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
// - Nav link text
|
|
408
|
+
.#{$nav}__link-text {
|
|
409
|
+
font-size: var(--#{$nav}__link-text--FontSize, inherit);
|
|
332
410
|
}
|
|
333
411
|
|
|
334
412
|
// - Nav toggle caret
|
|
@@ -341,7 +419,7 @@
|
|
|
341
419
|
transform: translateY(var(--#{$nav}__toggle--TranslateY));
|
|
342
420
|
}
|
|
343
421
|
|
|
344
|
-
// - Nav toggle icon
|
|
422
|
+
// - Nav toggle caret icon
|
|
345
423
|
.#{$nav}__toggle-icon {
|
|
346
424
|
display: inline-block;
|
|
347
425
|
transition-timing-function: var(--#{$nav}__item__toggle-icon--TransitionTimingFunction--transform);
|
|
@@ -404,6 +482,8 @@
|
|
|
404
482
|
|
|
405
483
|
// - Nav horizontal
|
|
406
484
|
.#{$nav}:where(.pf-m-horizontal) {
|
|
485
|
+
--#{$nav}__item--accent--content: none;
|
|
486
|
+
|
|
407
487
|
padding: 0;
|
|
408
488
|
overflow: hidden;
|
|
409
489
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--pf-v6-c-notification-drawer__header-status--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
15
15
|
--pf-v6-c-notification-drawer__header-status--FontSize: var(--pf-t--global--font--size--body--default);
|
|
16
16
|
--pf-v6-c-notification-drawer__header-status--Color: var(--pf-t--global--text--color--subtle);
|
|
17
|
+
--pf-v6-c-notification-drawer__header-action--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
17
18
|
--pf-v6-c-notification-drawer__body--ZIndex: var(--pf-t--global--z-index--xs);
|
|
18
19
|
--pf-v6-c-notification-drawer__body--PaddingBlockStart: 0;
|
|
19
20
|
--pf-v6-c-notification-drawer__body--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
--pf-v6-c-notification-drawer__list-item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
28
29
|
--pf-v6-c-notification-drawer__list-item--BorderWidth: var(--pf-t--global--border--width--box--status--default);
|
|
29
30
|
--pf-v6-c-notification-drawer__list-item--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
31
|
+
--pf-v6-c-notification-drawer__list-item--OutlineOffset: -0.25rem;
|
|
30
32
|
--pf-v6-c-notification-drawer__list-item--m-info__list-item-header-icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
31
33
|
--pf-v6-c-notification-drawer__list-item--m-info__list-item--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
32
34
|
--pf-v6-c-notification-drawer__list-item--m-warning__list-item-header-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
--pf-v6-c-notification-drawer__group-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
70
72
|
--pf-v6-c-notification-drawer__group-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
71
73
|
--pf-v6-c-notification-drawer__group-toggle-icon--Transition: transform var(--pf-v6-c-notification-drawer__group-toggle-icon--TransitionDuration) var(--pf-v6-c-notification-drawer__group-toggle-icon--TransitionTimingFunction);
|
|
72
|
-
--pf-v6-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate:
|
|
74
|
+
--pf-v6-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate: -180deg;
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
.pf-v6-c-notification-drawer {
|
|
@@ -108,6 +110,7 @@
|
|
|
108
110
|
|
|
109
111
|
.pf-v6-c-notification-drawer__header-action {
|
|
110
112
|
display: flex;
|
|
113
|
+
gap: var(--pf-v6-c-notification-drawer__header-action--Gap);
|
|
111
114
|
align-items: center;
|
|
112
115
|
margin-inline-start: auto;
|
|
113
116
|
}
|
|
@@ -136,8 +139,16 @@
|
|
|
136
139
|
padding-inline-start: var(--pf-v6-c-notification-drawer__list-item--PaddingInlineStart);
|
|
137
140
|
padding-inline-end: var(--pf-v6-c-notification-drawer__list-item--PaddingInlineEnd);
|
|
138
141
|
background-color: var(--pf-v6-c-notification-drawer__list-item--BackgroundColor);
|
|
139
|
-
border: var(--pf-v6-c-notification-drawer__list-item--BorderWidth) solid var(--pf-v6-c-notification-drawer__list-item--BorderColor);
|
|
140
142
|
border-radius: var(--pf-v6-c-notification-drawer__list-item--BorderRadius);
|
|
143
|
+
outline-offset: var(--pf-v6-c-notification-drawer__list-item--OutlineOffset);
|
|
144
|
+
}
|
|
145
|
+
.pf-v6-c-notification-drawer__list-item::before {
|
|
146
|
+
position: absolute;
|
|
147
|
+
inset: 0;
|
|
148
|
+
pointer-events: none;
|
|
149
|
+
content: "";
|
|
150
|
+
border: var(--pf-v6-c-notification-drawer__list-item--BorderWidth) solid var(--pf-v6-c-notification-drawer__list-item--BorderColor);
|
|
151
|
+
border-radius: inherit;
|
|
141
152
|
}
|
|
142
153
|
.pf-v6-c-notification-drawer__list-item.pf-m-info {
|
|
143
154
|
--pf-v6-c-notification-drawer__list-item--BorderColor: var(--pf-v6-c-notification-drawer__list-item--m-info__list-item--BorderColor);
|
|
@@ -163,7 +174,6 @@
|
|
|
163
174
|
--pf-v6-c-notification-drawer__list-item--BorderWidth: var(--pf-v6-c-notification-drawer__list-item--m-read--BorderWidth);
|
|
164
175
|
--pf-v6-c-notification-drawer__list-item--BackgroundColor: var(--pf-v6-c-notification-drawer__list-item--m-read--BackgroundColor);
|
|
165
176
|
--pf-v6-c-notification-drawer__list-item--BorderColor: var(--pf-v6-c-notification-drawer__list-item--m-read--BorderColor);
|
|
166
|
-
position: relative;
|
|
167
177
|
}
|
|
168
178
|
.pf-v6-c-notification-drawer__list-item.pf-m-hoverable {
|
|
169
179
|
cursor: pointer;
|
|
@@ -191,9 +201,9 @@
|
|
|
191
201
|
}
|
|
192
202
|
.pf-v6-c-notification-drawer__list-item-header-title.pf-m-truncate {
|
|
193
203
|
display: -webkit-box;
|
|
204
|
+
overflow: hidden;
|
|
194
205
|
-webkit-box-orient: vertical;
|
|
195
206
|
-webkit-line-clamp: var(--pf-v6-c-notification-drawer__list-item-header-title--max-lines);
|
|
196
|
-
overflow: hidden;
|
|
197
207
|
}
|
|
198
208
|
|
|
199
209
|
.pf-v6-c-notification-drawer__list-item-action {
|
|
@@ -247,9 +257,9 @@
|
|
|
247
257
|
|
|
248
258
|
.pf-v6-c-notification-drawer__group-toggle-title {
|
|
249
259
|
display: -webkit-box;
|
|
260
|
+
overflow: hidden;
|
|
250
261
|
-webkit-box-orient: vertical;
|
|
251
262
|
-webkit-line-clamp: var(--pf-v6-c-notification-drawer__group-toggle-title--max-lines);
|
|
252
|
-
overflow: hidden;
|
|
253
263
|
flex: 1;
|
|
254
264
|
margin-inline-end: var(--pf-v6-c-notification-drawer__group-toggle-title--MarginInlineEnd);
|
|
255
265
|
font-size: var(--pf-v6-c-notification-drawer__group-toggle-title--FontSize);
|
|
@@ -262,15 +272,15 @@
|
|
|
262
272
|
margin-inline-end: var(--pf-v6-c-notification-drawer__group-toggle-count--MarginInlineEnd);
|
|
263
273
|
}
|
|
264
274
|
|
|
275
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-notification-drawer__group-toggle-icon {
|
|
276
|
+
scale: -1 1;
|
|
277
|
+
}
|
|
278
|
+
|
|
265
279
|
.pf-v6-c-notification-drawer__group-toggle-icon {
|
|
266
280
|
margin-inline-end: var(--pf-v6-c-notification-drawer__group-toggle-icon--MarginInlineEnd);
|
|
267
281
|
color: var(--pf-v6-c-notification-drawer__group-toggle-icon--Color);
|
|
268
282
|
transition: var(--pf-v6-c-notification-drawer__group-toggle-icon--Transition);
|
|
269
283
|
}
|
|
270
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-notification-drawer__group-toggle-icon {
|
|
271
|
-
scale: -1 1;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
284
|
.pf-v6-c-notification-drawer__group.pf-m-expanded .pf-v6-c-notification-drawer__group-toggle-icon {
|
|
275
285
|
transform: rotate(var(--pf-v6-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
|
|
276
286
|
}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
--#{$notification-drawer}__header-status--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
19
19
|
--#{$notification-drawer}__header-status--FontSize: var(--pf-t--global--font--size--body--default);
|
|
20
20
|
--#{$notification-drawer}__header-status--Color: var(--pf-t--global--text--color--subtle);
|
|
21
|
+
--#{$notification-drawer}__header-action--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
21
22
|
|
|
22
23
|
// Body
|
|
23
24
|
--#{$notification-drawer}__body--ZIndex: var(--pf-t--global--z-index--xs);
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
--#{$notification-drawer}__list-item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
38
39
|
--#{$notification-drawer}__list-item--BorderWidth: var(--pf-t--global--border--width--box--status--default);
|
|
39
40
|
--#{$notification-drawer}__list-item--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
41
|
+
--#{$notification-drawer}__list-item--OutlineOffset: #{pf-size-prem(-4px)};
|
|
40
42
|
|
|
41
43
|
// List item modifiers
|
|
42
44
|
--#{$notification-drawer}__list-item--m-info__list-item-header-icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
@@ -104,7 +106,7 @@
|
|
|
104
106
|
--#{$notification-drawer}__group-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
105
107
|
--#{$notification-drawer}__group-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
106
108
|
--#{$notification-drawer}__group-toggle-icon--Transition: transform var(--#{$notification-drawer}__group-toggle-icon--TransitionDuration) var(--#{$notification-drawer}__group-toggle-icon--TransitionTimingFunction); // TODO remove in breaking change along with shorthand property
|
|
107
|
-
--#{$notification-drawer}__group--m-expanded__group-toggle-icon--Rotate:
|
|
109
|
+
--#{$notification-drawer}__group--m-expanded__group-toggle-icon--Rotate: -180deg;
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
.#{$notification-drawer} {
|
|
@@ -143,6 +145,7 @@
|
|
|
143
145
|
|
|
144
146
|
.#{$notification-drawer}__header-action {
|
|
145
147
|
display: flex;
|
|
148
|
+
gap: var(--#{$notification-drawer}__header-action--Gap);
|
|
146
149
|
align-items: center;
|
|
147
150
|
margin-inline-start: auto;
|
|
148
151
|
}
|
|
@@ -171,8 +174,17 @@
|
|
|
171
174
|
padding-inline-start: var(--#{$notification-drawer}__list-item--PaddingInlineStart);
|
|
172
175
|
padding-inline-end: var(--#{$notification-drawer}__list-item--PaddingInlineEnd);
|
|
173
176
|
background-color: var(--#{$notification-drawer}__list-item--BackgroundColor);
|
|
174
|
-
border: var(--#{$notification-drawer}__list-item--BorderWidth) solid var(--#{$notification-drawer}__list-item--BorderColor);
|
|
175
177
|
border-radius: var(--#{$notification-drawer}__list-item--BorderRadius);
|
|
178
|
+
outline-offset: var(--#{$notification-drawer}__list-item--OutlineOffset);
|
|
179
|
+
|
|
180
|
+
&::before {
|
|
181
|
+
position: absolute;
|
|
182
|
+
inset: 0;
|
|
183
|
+
pointer-events: none;
|
|
184
|
+
content: '';
|
|
185
|
+
border: var(--#{$notification-drawer}__list-item--BorderWidth) solid var(--#{$notification-drawer}__list-item--BorderColor);
|
|
186
|
+
border-radius: inherit;
|
|
187
|
+
}
|
|
176
188
|
|
|
177
189
|
&.pf-m-info {
|
|
178
190
|
--#{$notification-drawer}__list-item--BorderColor: var(--#{$notification-drawer}__list-item--m-info__list-item--BorderColor);
|
|
@@ -203,8 +215,6 @@
|
|
|
203
215
|
--#{$notification-drawer}__list-item--BorderWidth: var(--#{$notification-drawer}__list-item--m-read--BorderWidth);
|
|
204
216
|
--#{$notification-drawer}__list-item--BackgroundColor: var(--#{$notification-drawer}__list-item--m-read--BackgroundColor);
|
|
205
217
|
--#{$notification-drawer}__list-item--BorderColor: var(--#{$notification-drawer}__list-item--m-read--BorderColor);
|
|
206
|
-
|
|
207
|
-
position: relative;
|
|
208
218
|
}
|
|
209
219
|
|
|
210
220
|
&.pf-m-hoverable {
|
|
@@ -316,4 +326,3 @@
|
|
|
316
326
|
transform: rotate(var(--#{$notification-drawer}__group--m-expanded__group-toggle-icon--Rotate));
|
|
317
327
|
}
|
|
318
328
|
}
|
|
319
|
-
|