@patternfly/patternfly 6.5.0-prerelease.8 → 6.5.0-prerelease.81
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 +2 -2
- package/assets/fontawesome/_variables.scss +2 -1
- package/assets/images/Felt-Bkg-Generic-Dark.svg +82 -0
- package/assets/images/Felt-Bkg-Generic-Light.svg +82 -0
- package/assets/images/PF-Bkg-Generic-Dark.svg +76 -0
- package/assets/images/PF-Bkg-Generic-Light.svg +74 -0
- 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 +17 -0
- package/base/patternfly-svg-icons.scss +20 -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 +26 -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 +12 -6
- package/components/Banner/banner.scss +7 -0
- package/components/Brand/brand.css +3 -1
- package/components/Breadcrumb/breadcrumb.css +10 -5
- package/components/Breadcrumb/breadcrumb.scss +6 -2
- package/components/Button/button.css +173 -71
- package/components/Button/button.scss +188 -72
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +51 -15
- package/components/Card/card.scss +65 -9
- package/components/ClipboardCopy/clipboard-copy.css +14 -7
- package/components/ClipboardCopy/clipboard-copy.scss +13 -4
- package/components/CodeEditor/code-editor.css +2 -2
- package/components/CodeEditor/code-editor.scss +2 -2
- package/components/Compass/compass.css +399 -0
- package/components/Compass/compass.scss +413 -0
- package/components/DataList/data-list.css +30 -23
- package/components/DataList/data-list.scss +3 -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 +224 -75
- package/components/Drawer/drawer.scss +194 -27
- 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 +111 -16
- package/components/Masthead/masthead.scss +111 -1
- package/components/Menu/menu.css +49 -33
- package/components/Menu/menu.scss +26 -19
- package/components/MenuToggle/menu-toggle.css +35 -8
- package/components/MenuToggle/menu-toggle.scss +42 -8
- 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/OverflowMenu/overflow-menu.css +16 -0
- package/components/OverflowMenu/overflow-menu.scss +20 -1
- package/components/Page/page.css +421 -32
- package/components/Page/page.scss +397 -15
- package/components/Pagination/pagination.css +56 -4
- package/components/Pagination/pagination.scss +71 -6
- package/components/Panel/panel.css +41 -3
- package/components/Panel/panel.scss +56 -3
- 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-scrollable.css +1 -1
- package/components/Table/table-scrollable.scss +1 -1
- package/components/Table/table-tree-view.css +4 -2
- package/components/Table/table.css +104 -57
- package/components/Table/table.scss +92 -37
- package/components/Tabs/tabs.css +39 -33
- package/components/Tabs/tabs.scss +38 -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 +44 -19
- package/components/ToggleGroup/toggle-group.scss +51 -22
- package/components/Toolbar/toolbar.css +195 -16
- package/components/Toolbar/toolbar.scss +89 -9
- 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 +2740 -829
- 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 +196 -5
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +313 -26
- package/docs/components/Button/examples/Button.md +2829 -333
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +156 -12
- package/docs/components/Card/examples/Card.md +335 -12
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +293 -28
- package/docs/components/CodeBlock/examples/CodeBlock.md +104 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +234 -18
- package/docs/components/Compass/examples/Compass.css +8 -0
- package/docs/components/Compass/examples/Compass.md +109 -0
- package/docs/components/DataList/examples/DataList.md +468 -78
- 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 +415 -35
- package/docs/components/DualListSelector/examples/DualListSelector.md +1247 -161
- package/docs/components/EmptyState/examples/EmptyState.md +78 -6
- 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/Hint/examples/Hint.md +39 -3
- package/docs/components/Icon/examples/Icon.md +105 -9
- package/docs/components/InlineEdit/examples/InlineEdit.md +338 -26
- package/docs/components/InputGroup/examples/InputGroup.md +40 -4
- 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 +39 -3
- package/docs/components/Masthead/examples/masthead.md +80 -1
- package/docs/components/Menu/examples/Menu.md +1679 -133
- package/docs/components/MenuToggle/examples/MenuToggle.md +1514 -118
- 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 +898 -62
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +1079 -83
- package/docs/components/OverflowMenu/examples/overflow-menu.css +6 -3
- package/docs/components/OverflowMenu/examples/overflow-menu.md +164 -11
- package/docs/components/Page/examples/Page.md +211 -25
- package/docs/components/Pagination/examples/Pagination.md +1291 -80
- package/docs/components/Panel/examples/Panel.css +3 -0
- package/docs/components/Panel/examples/Panel.md +71 -4
- 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.css +2 -1
- package/docs/components/Table/examples/Table.md +7543 -653
- package/docs/components/Tabs/examples/Tabs.md +5734 -471
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +600 -48
- package/docs/components/ToggleGroup/examples/toggle-group.md +261 -15
- package/docs/components/Toolbar/examples/Toolbar.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +1145 -88
- package/docs/components/TreeView/examples/TreeView.md +1390 -130
- package/docs/components/Wizard/examples/Wizard.md +828 -73
- package/docs/demos/AboutModal/examples/AboutModal.md +158 -53
- package/docs/demos/Alert/examples/Alert.md +539 -164
- package/docs/demos/BackToTop/examples/BackToTop.md +158 -53
- package/docs/demos/Banner/examples/Banner.md +290 -104
- package/docs/demos/Button/examples/Button.md +13 -1
- package/docs/demos/Card/examples/Card.md +1041 -134
- package/docs/demos/CardView/examples/CardView.md +570 -171
- package/docs/demos/Compass/examples/Compass.md +10005 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +745 -177
- package/docs/demos/DataList/examples/DataList.md +1301 -292
- package/docs/demos/DescriptionList/examples/DescriptionList.md +472 -160
- package/docs/demos/Drawer/examples/Drawer.md +718 -262
- package/docs/demos/Form/examples/BasicForms.md +273 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +862 -319
- package/docs/demos/Masthead/examples/Masthead.md +1119 -489
- package/docs/demos/Modal/examples/Modal.md +948 -321
- package/docs/demos/Nav/examples/Nav.md +3449 -499
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +2418 -405
- package/docs/demos/Page/examples/Page.md +2137 -773
- 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 +1913 -504
- package/docs/demos/Skeleton/examples/Skeleton.md +145 -52
- package/docs/demos/Table/examples/Table.md +11807 -2275
- package/docs/demos/Tabs/examples/Tabs.md +1117 -337
- package/docs/demos/Toolbar/examples/Toolbar.md +1818 -286
- package/docs/demos/Wizard/examples/Wizard.md +1705 -526
- 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 +55 -17
- package/patternfly-base-no-globals.css +969 -489
- package/patternfly-base.css +976 -489
- package/patternfly-charts.css +3 -3
- package/patternfly-no-globals.css +3623 -1194
- package/patternfly.css +3630 -1194
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +48 -0
- package/sass-utilities/functions.scss +32 -25
- package/sass-utilities/mixins.scss +54 -23
- package/sass-utilities/namespaces-components.scss +6 -0
- package/sass-utilities/scss-variables.scss +3 -0
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
--#{$table}__toggle--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
84
84
|
--#{$table}__toggle--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
85
85
|
--#{$table}__toggle--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
86
|
-
--#{$table}__toggle--c-button__toggle-icon--Rotate:
|
|
86
|
+
--#{$table}__toggle--c-button__toggle-icon--Rotate: 0;
|
|
87
87
|
--#{$table}__toggle--c-button__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
88
88
|
--#{$table}__toggle--c-button__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
89
|
-
--#{$table}__toggle--c-button--m-expanded__toggle-icon--Rotate:
|
|
89
|
+
--#{$table}__toggle--c-button--m-expanded__toggle-icon--Rotate: -180deg;
|
|
90
90
|
|
|
91
91
|
// * Table button
|
|
92
92
|
--#{$table}__button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
--#{$table}__button--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
100
100
|
--#{$table}__button--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
101
101
|
--#{$table}__button--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
102
|
-
--#{$table}__button--BorderRadius: var(--pf-t--global--border--radius--
|
|
102
|
+
--#{$table}__button--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
|
|
103
103
|
--#{$table}__button--hover--Color: var(--pf-t--global--text--color--regular);
|
|
104
104
|
--#{$table}__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
105
105
|
|
|
@@ -180,16 +180,16 @@
|
|
|
180
180
|
|
|
181
181
|
// * Table compound expansion toggle button
|
|
182
182
|
--#{$table}__compound-expansion-toggle__button--Color: var(--pf-t--global--icon--color--brand--default);
|
|
183
|
-
--#{$table}__compound-expansion-toggle__button--BackgroundColor:
|
|
183
|
+
--#{$table}__compound-expansion-toggle__button--BackgroundColor: transparent;
|
|
184
184
|
--#{$table}__compound-expansion-toggle__button--hover--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
185
|
-
--#{$table}__compound-expansion-toggle__button--hover--BackgroundColor: var(--pf-t--global--background--color--
|
|
186
|
-
--#{$table}__compound-expansion-toggle__button--expanded--BackgroundColor: var(--pf-t--global--background--color--
|
|
185
|
+
--#{$table}__compound-expansion-toggle__button--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
186
|
+
--#{$table}__compound-expansion-toggle__button--expanded--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
187
187
|
|
|
188
188
|
// * Table compound expansion toggle button after
|
|
189
189
|
--#{$table}__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
190
190
|
--#{$table}__compound-expansion-toggle__button--after--BorderRadius: inherit;
|
|
191
191
|
--#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth: 0;
|
|
192
|
-
--#{$table}__compound-expansion-toggle__button--hover--after--BorderBlockStartWidth:
|
|
192
|
+
--#{$table}__compound-expansion-toggle__button--hover--after--BorderBlockStartWidth: 0;
|
|
193
193
|
--#{$table}__compound-expansion-toggle--m-expanded__button--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
|
|
194
194
|
|
|
195
195
|
// * Compound expandable
|
|
@@ -239,6 +239,9 @@
|
|
|
239
239
|
--#{$table}__tbody--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
240
240
|
|
|
241
241
|
// * Table nested column header
|
|
242
|
+
--#{$table}__thead--m-nested-column-header--BorderBlockEndWidth: var(--#{$table}--border-width--base);
|
|
243
|
+
--#{$table}__thead--m-nested-column-header--BorderBlockEndColor: var(--#{$table}--BorderColor);
|
|
244
|
+
--#{$table}__thead--m-nested-column-header--after--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
242
245
|
--#{$table}__thead--m-nested-column-header--button--OutlineOffset: #{pf-size-prem(-3px)};
|
|
243
246
|
--#{$table}__thead--m-nested-column-header__tr--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
244
247
|
--#{$table}__thead--m-nested-column-header__tr--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
@@ -251,12 +254,27 @@
|
|
|
251
254
|
--#{$table}__nested-column-header__button--PaddingInlineEnd: calc(var(--#{$table}__button--PaddingInlineEnd) - (var(--pf-t--global--spacer--control--horizontal--plain) / 2));
|
|
252
255
|
|
|
253
256
|
// * Table striped
|
|
254
|
-
--#{$table}--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--
|
|
257
|
+
--#{$table}--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--striped--row--default);
|
|
255
258
|
|
|
256
259
|
// * Table sticky header
|
|
260
|
+
--#{$table}--m-sticky-header--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
|
|
257
261
|
--#{$table}--m-sticky-header--cell--ZIndex: var(--pf-t--global--z-index--xs);
|
|
258
262
|
--#{$table}--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
|
259
263
|
--#{$table}--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
264
|
+
--#{$table}--m-sticky-header--BorderRadius: 0;
|
|
265
|
+
--#{$table}--m-sticky-header--BoxShadow: 0;
|
|
266
|
+
--#{$table}--m-sticky-header--BorderBlockEndWidth: var(--#{$table}--border-width--base);
|
|
267
|
+
--#{$table}--m-sticky-header--BorderBlockEndColor: var(--#{$table}--BorderColor);
|
|
268
|
+
--#{$table}--m-sticky-header--BorderRadius--glass: var(--pf-t--global--border--radius--medium);
|
|
269
|
+
--#{$table}--m-sticky-header--BoxShadow--glass: var(--pf-t--global--box-shadow--sm);
|
|
270
|
+
--#{$table}--m-sticky-header--TransitionTimingFunction--BackgroundColor: var(--pf-t--global--motion--timing-function--default);
|
|
271
|
+
--#{$table}--m-sticky-header--TransitionDuration--BackgroundColor: var(--pf-t--global--motion--duration--fade--default);
|
|
272
|
+
|
|
273
|
+
:where(.pf-v6-theme-glass) & {
|
|
274
|
+
--#{$table}--m-sticky-header--BorderBlockEndWidth: 0;
|
|
275
|
+
--#{$table}--m-sticky-header--BoxShadow: var(--#{$table}--m-sticky-header--BoxShadow--glass);
|
|
276
|
+
--#{$table}--m-sticky-header--BorderRadius: var(--#{$table}--m-sticky-header--BorderRadius--glass);
|
|
277
|
+
}
|
|
260
278
|
}
|
|
261
279
|
|
|
262
280
|
// TODO: update grouping comments to // Table {element}
|
|
@@ -266,45 +284,76 @@
|
|
|
266
284
|
width: 100%;
|
|
267
285
|
background-color: var(--#{$table}--BackgroundColor);
|
|
268
286
|
|
|
287
|
+
:where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
|
|
288
|
+
:where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
|
|
289
|
+
--#{$table}--BackgroundColor: transparent;
|
|
290
|
+
--#{$table}__expandable-row-content--BackgroundColor: transparent;
|
|
291
|
+
--#{$table}__expandable-row-content--PaddingInlineStart: 0;
|
|
292
|
+
--#{$table}__expandable-row-content--PaddingInlineEnd: 0;
|
|
293
|
+
--#{$table}__control-row--BackgroundColor: transparent;
|
|
294
|
+
}
|
|
295
|
+
|
|
269
296
|
&.pf-m-fixed {
|
|
270
297
|
table-layout: fixed;
|
|
271
298
|
}
|
|
272
299
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
300
|
+
&.pf-m-sticky-header-base > .#{$table}__thead {
|
|
301
|
+
&::before,
|
|
302
|
+
&::after {
|
|
303
|
+
opacity: 0;
|
|
304
|
+
transition-timing-function: var(--#{$table}--m-sticky-header--TransitionTimingFunction--BackgroundColor);
|
|
305
|
+
transition-duration: var(--#{$table}--m-sticky-header--TransitionDuration--BackgroundColor);
|
|
306
|
+
transition-property: opacity;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
280
309
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
310
|
+
&.pf-m-sticky-header,
|
|
311
|
+
&.pf-m-sticky-header-stuck {
|
|
312
|
+
--#{$table}__thead--m-nested-column-header--BorderBlockEndWidth: 0;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
&.pf-m-sticky-header-stuck > .#{$table}__thead {
|
|
316
|
+
&::before,
|
|
317
|
+
&::after {
|
|
318
|
+
opacity: 1;
|
|
291
319
|
}
|
|
292
320
|
}
|
|
293
321
|
|
|
294
|
-
&.pf-m-sticky-header
|
|
322
|
+
&.pf-m-sticky-header,
|
|
323
|
+
&.pf-m-sticky-header-base {
|
|
295
324
|
position: relative;
|
|
296
325
|
|
|
297
|
-
|
|
326
|
+
> .#{$table}__thead {
|
|
327
|
+
position: sticky;
|
|
328
|
+
inset-block-start: 0;
|
|
329
|
+
z-index: var(--#{$table}--m-sticky-header--ZIndex);
|
|
330
|
+
|
|
331
|
+
&::before {
|
|
332
|
+
position: absolute;
|
|
333
|
+
inset: 0;
|
|
334
|
+
z-index: -1;
|
|
335
|
+
pointer-events: none;
|
|
336
|
+
content: '';
|
|
337
|
+
background-color: var(--#{$table}--m-sticky-header--BackgroundColor);
|
|
338
|
+
border-radius: var(--#{$table}--m-sticky-header--BorderRadius);
|
|
339
|
+
box-shadow: var(--#{$table}--m-sticky-header--BoxShadow);
|
|
340
|
+
}
|
|
341
|
+
|
|
298
342
|
> :where(th, td) {
|
|
299
343
|
z-index: var(--#{$table}--m-sticky-header--cell--ZIndex); // set z-index here to allow sticky column to override
|
|
300
344
|
}
|
|
301
345
|
}
|
|
346
|
+
}
|
|
302
347
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
348
|
+
&.pf-m-sticky-header,
|
|
349
|
+
&.pf-m-sticky-header-base {
|
|
350
|
+
> .#{$table}__thead::after {
|
|
351
|
+
position: absolute;
|
|
352
|
+
inset: 0;
|
|
353
|
+
z-index: var(--#{$table}--m-sticky-header--border--ZIndex);
|
|
354
|
+
pointer-events: none;
|
|
355
|
+
content: '';
|
|
356
|
+
border-block-end: var(--#{$table}--m-sticky-header--BorderBlockEndWidth) solid var(--#{$table}--m-sticky-header--BorderBlockEndColor);
|
|
308
357
|
}
|
|
309
358
|
}
|
|
310
359
|
|
|
@@ -324,11 +373,6 @@
|
|
|
324
373
|
}
|
|
325
374
|
}
|
|
326
375
|
|
|
327
|
-
// - Table plain
|
|
328
|
-
&.pf-m-plain {
|
|
329
|
-
--#{$table}--BackgroundColor: transparent;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
376
|
// - Table striped
|
|
333
377
|
// stylelint-disable
|
|
334
378
|
&.pf-m-striped:not(.pf-m-expandable) > tbody:where(.#{$table}__tbody) > tr:where(.#{$table}__tr):nth-child(odd), // regular table
|
|
@@ -1212,6 +1256,17 @@
|
|
|
1212
1256
|
|
|
1213
1257
|
// - Table nested column header button
|
|
1214
1258
|
&.pf-m-nested-column-header {
|
|
1259
|
+
position: relative;
|
|
1260
|
+
|
|
1261
|
+
&::after {
|
|
1262
|
+
position: absolute;
|
|
1263
|
+
inset: 0;
|
|
1264
|
+
z-index: var(--#{$table}__thead--m-nested-column-header--after--ZIndex);
|
|
1265
|
+
pointer-events: none;
|
|
1266
|
+
content: '';
|
|
1267
|
+
border-block-end: var(--#{$table}__thead--m-nested-column-header--BorderBlockEndWidth) solid var(--#{$table}__thead--m-nested-column-header--BorderBlockEndColor);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1215
1270
|
.#{$table}__button {
|
|
1216
1271
|
--#{$table}__button--PaddingInlineStart: var(--#{$table}__nested-column-header__button--PaddingInlineStart);
|
|
1217
1272
|
--#{$table}__button--PaddingInlineEnd: var(--#{$table}__nested-column-header__button--PaddingInlineEnd);
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
--pf-v6-c-tabs--m-vertical__item--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
39
39
|
--pf-v6-c-tabs__item--m-current--BackgroundColor: transparent;
|
|
40
40
|
--pf-v6-c-tabs--m-box__item--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
41
|
-
--pf-v6-c-tabs--m-box__item--m-current--BackgroundColor:
|
|
42
|
-
--pf-v6-c-tabs--m-box--m-secondary__item--BackgroundColor:
|
|
41
|
+
--pf-v6-c-tabs--m-box__item--m-current--BackgroundColor: transparent;
|
|
42
|
+
--pf-v6-c-tabs--m-box--m-secondary__item--BackgroundColor: transparent;
|
|
43
43
|
--pf-v6-c-tabs--m-box--m-secondary__item--m-current--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
44
44
|
--pf-v6-c-tabs__item--m-action--before--ZIndex: var(--pf-t--global--z-index--sm);
|
|
45
45
|
--pf-v6-c-tabs__link--Color: var(--pf-t--global--text--color--subtle);
|
|
46
46
|
--pf-v6-c-tabs__link--FontSize: var(--pf-t--global--font--size--sm);
|
|
47
47
|
--pf-v6-c-tabs__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
48
|
-
--pf-v6-c-tabs__link--BorderRadius: var(--pf-t--global--border--radius--
|
|
48
|
+
--pf-v6-c-tabs__link--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
|
|
49
49
|
--pf-v6-c-tabs__link--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
50
50
|
--pf-v6-c-tabs__link--BorderColor: transparent;
|
|
51
51
|
--pf-v6-c-tabs__link--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
@@ -55,21 +55,21 @@
|
|
|
55
55
|
--pf-v6-c-tabs__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
56
56
|
--pf-v6-c-tabs__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
57
57
|
--pf-v6-c-tabs__link--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
58
|
-
--pf-v6-c-tabs__link--disabled--Color: var(--pf-t--global--text--color--
|
|
59
|
-
--pf-v6-c-tabs__link--disabled--BackgroundColor:
|
|
58
|
+
--pf-v6-c-tabs__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
59
|
+
--pf-v6-c-tabs__link--disabled--BackgroundColor: transparent;
|
|
60
60
|
--pf-v6-c-tabs__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
61
61
|
--pf-v6-c-tabs__item--m-current__link--Color: var(--pf-t--global--text--color--regular);
|
|
62
62
|
--pf-v6-c-tabs__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
63
63
|
--pf-v6-c-tabs--m-vertical__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
64
64
|
--pf-v6-c-tabs--m-vertical__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
65
65
|
--pf-v6-c-tabs--m-box__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
66
|
-
--pf-v6-c-tabs--m-box__link--disabled--Color: var(--pf-t--global--text--color--
|
|
67
|
-
--pf-v6-c-tabs--m-box__link--disabled--BackgroundColor:
|
|
66
|
+
--pf-v6-c-tabs--m-box__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
67
|
+
--pf-v6-c-tabs--m-box__link--disabled--BackgroundColor: transparent;
|
|
68
68
|
--pf-v6-c-tabs--m-box__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
69
69
|
--pf-v6-c-tabs--m-box__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
70
70
|
--pf-v6-c-tabs--m-box--m-secondary__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
71
|
-
--pf-v6-c-tabs--m-box--m-secondary__link--disabled--Color: var(--pf-t--global--text--color--
|
|
72
|
-
--pf-v6-c-tabs--m-box--m-secondary__link--disabled--BackgroundColor:
|
|
71
|
+
--pf-v6-c-tabs--m-box--m-secondary__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
72
|
+
--pf-v6-c-tabs--m-box--m-secondary__link--disabled--BackgroundColor: transparent;
|
|
73
73
|
--pf-v6-c-tabs--m-box--m-secondary__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
74
74
|
--pf-v6-c-tabs--m-box--m-secondary__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
75
75
|
--pf-v6-c-tabs--m-subtab__link--FontSize: var(--pf-t--global--font--size--xs);
|
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
90
90
|
--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndColor: var(--pf-t--global--border--color--high-contrast);
|
|
91
91
|
--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
92
|
+
--pf-v6-c-tabs--m-box__link--m-current--before--BorderBlockEndColor: var(--pf-t--global--border--color--alt);
|
|
92
93
|
--pf-v6-c-tabs__link--disabled--before--BorderInlineEndWidth: 0;
|
|
93
94
|
--pf-v6-c-tabs__link--disabled--before--BorderBlockEndWidth: var(--pf-v6-c-tabs--before--border-width--base);
|
|
94
95
|
--pf-v6-c-tabs__link--disabled--before--BorderInlineStartWidth: 0;
|
|
@@ -101,7 +102,9 @@
|
|
|
101
102
|
--pf-v6-c-tabs__link--after--BorderBlockStartWidth: 0;
|
|
102
103
|
--pf-v6-c-tabs__link--after--BorderInlineEndWidth: 0;
|
|
103
104
|
--pf-v6-c-tabs__link--after--BorderInlineStartWidth: 0;
|
|
104
|
-
--pf-v6-c-
|
|
105
|
+
--pf-v6-c-tabs__link--after--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
106
|
+
--pf-v6-c-tabs--m-box__link--after--BorderRadius: var(--pf-t--global--border--radius--sharp);
|
|
107
|
+
--pf-v6-c-tabs__item--m-current__link--after--BorderColor: var(--pf-t--global--color--brand--accent--default);
|
|
105
108
|
--pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
|
|
106
109
|
--pf-v6-c-tabs--link-accent--start: 0;
|
|
107
110
|
--pf-v6-c-tabs--link-accent--length: 0;
|
|
@@ -149,7 +152,7 @@
|
|
|
149
152
|
--pf-v6-c-tabs__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
150
153
|
--pf-v6-c-tabs__toggle-icon--Transition: transform var(--pf-v6-c-tabs__toggle-icon--TransitionDuration) var(--pf-v6-c-tabs__toggle-icon--TransitionTimingFunction);
|
|
151
154
|
--pf-v6-c-tabs__toggle-icon--Rotate: 0;
|
|
152
|
-
--pf-v6-c-tabs--m-expanded__toggle-icon--Rotate:
|
|
155
|
+
--pf-v6-c-tabs--m-expanded__toggle-icon--Rotate: -180deg;
|
|
153
156
|
--pf-v6-c-tabs--m-expandable--RowGap: var(--pf-t--global--spacer--sm);
|
|
154
157
|
--pf-v6-c-tabs--m-expandable--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
155
158
|
--pf-v6-c-tabs--m-expandable--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -168,13 +171,14 @@
|
|
|
168
171
|
--pf-v6-c-tabs__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
169
172
|
--pf-v6-c-tabs--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
170
173
|
--pf-v6-c-tabs--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
174
|
+
--pf-v6-c-tabs--m-nav--m-subtab__scroll-button--button--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
171
175
|
--pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
172
176
|
--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
173
177
|
--pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
174
178
|
--pf-v6-c-tabs__link-toggle-icon--Transition: transform var(--pf-v6-c-tabs__link-toggle-icon--TransitionDuration) var(--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction);
|
|
175
179
|
--pf-v6-c-tabs__link-toggle-icon--Rotate: 0;
|
|
176
180
|
--pf-v6-c-tabs__link-toggle-icon--FontSize: var(--pf-t--global--font--size--sm);
|
|
177
|
-
--pf-v6-c-tabs__link--m-expanded__toggle-icon--Rotate:
|
|
181
|
+
--pf-v6-c-tabs__link--m-expanded__toggle-icon--Rotate: -180deg;
|
|
178
182
|
}
|
|
179
183
|
|
|
180
184
|
.pf-v6-c-tabs {
|
|
@@ -241,6 +245,7 @@
|
|
|
241
245
|
--pf-v6-c-tabs__link--before--BorderBlockEndWidth: var(--pf-v6-c-tabs__link--before--border-width--base);
|
|
242
246
|
--pf-v6-c-tabs__link--after--InsetBlockStart: 0;
|
|
243
247
|
--pf-v6-c-tabs__link--after--InsetBlockEnd: auto;
|
|
248
|
+
--pf-v6-c-tabs__link--after--BorderRadius: var(--pf-v6-c-tabs--m-box__link--after--BorderRadius);
|
|
244
249
|
}
|
|
245
250
|
.pf-v6-c-tabs.pf-m-box .pf-v6-c-tabs__link {
|
|
246
251
|
--pf-v6-c-tabs__link--after--BorderBlockStartWidth: var(--pf-v6-c-tabs__link--after--BorderWidth);
|
|
@@ -250,7 +255,7 @@
|
|
|
250
255
|
}
|
|
251
256
|
.pf-v6-c-tabs.pf-m-box .pf-v6-c-tabs__item.pf-m-current {
|
|
252
257
|
--pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__item--m-current__link--BackgroundColor);
|
|
253
|
-
--pf-v6-c-tabs__link--before--BorderBlockEndColor: var(--pf-v6-c-
|
|
258
|
+
--pf-v6-c-tabs__link--before--BorderBlockEndColor: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderBlockEndColor);
|
|
254
259
|
--pf-v6-c-tabs__link--before--BorderInlineStartColor: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartColor);
|
|
255
260
|
--pf-v6-c-tabs__link--before--BorderInlineStartWidth: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartWidth);
|
|
256
261
|
--pf-v6-c-tabs__link--before--BorderInlineEndColor: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndColor);
|
|
@@ -302,8 +307,8 @@
|
|
|
302
307
|
}
|
|
303
308
|
.pf-v6-c-tabs.pf-m-vertical .pf-v6-c-tabs__list {
|
|
304
309
|
position: relative;
|
|
305
|
-
flex-direction: column;
|
|
306
310
|
flex-grow: 1;
|
|
311
|
+
flex-direction: column;
|
|
307
312
|
max-width: var(--pf-v6-c-tabs--m-vertical--MaxWidth);
|
|
308
313
|
}
|
|
309
314
|
.pf-v6-c-tabs.pf-m-vertical .pf-v6-c-tabs__list::before {
|
|
@@ -420,7 +425,8 @@
|
|
|
420
425
|
--pf-v6-c-tabs__link--before--BorderBlockStartWidth: var(--pf-v6-c-tabs__link--before--border-width--base);
|
|
421
426
|
}
|
|
422
427
|
.pf-v6-c-tabs.pf-m-box.pf-m-vertical .pf-v6-c-tabs__item.pf-m-current {
|
|
423
|
-
--pf-v6-c-tabs__link--before--BorderInlineEndColor: var(--pf-v6-c-
|
|
428
|
+
--pf-v6-c-tabs__link--before--BorderInlineEndColor: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderBlockEndColor);
|
|
429
|
+
--pf-v6-c-tabs__link--before--BorderInlineEndWidth: var(--pf-v6-c-tabs__link--before--border-width--base);
|
|
424
430
|
--pf-v6-c-tabs__link--before--BorderBlockEndColor: var(--pf-v6-c-tabs__link--before--border-color--base);
|
|
425
431
|
}
|
|
426
432
|
.pf-v6-c-tabs.pf-m-box.pf-m-vertical .pf-v6-c-tabs__item:first-child.pf-m-current {
|
|
@@ -448,22 +454,23 @@
|
|
|
448
454
|
.pf-v6-c-tabs.pf-m-nav {
|
|
449
455
|
--pf-v6-c-tabs__link--disabled--BackgroundColor: transparent;
|
|
450
456
|
--pf-v6-c-tabs__link--disabled--Color: var(--pf-v6-c-tabs--m-nav__link--disabled--Color);
|
|
451
|
-
--pf-v6-c-tabs__link--hover--BorderColor: transparent;
|
|
452
457
|
--pf-v6-c-tabs__link--BorderRadius: var(--pf-v6-c-tabs--m-nav__link--BorderRadius);
|
|
453
458
|
}
|
|
454
459
|
.pf-v6-c-tabs.pf-m-nav::before,
|
|
455
460
|
.pf-v6-c-tabs.pf-m-nav .pf-v6-c-tabs__link::before {
|
|
456
461
|
border: 0;
|
|
457
462
|
}
|
|
463
|
+
.pf-v6-c-tabs.pf-m-nav.pf-m-subtab .pf-v6-c-tabs__scroll-button .pf-v6-c-button {
|
|
464
|
+
--pf-v6-c-button--FontSize: var(--pf-v6-c-tabs--m-nav--m-subtab__scroll-button--button--FontSize);
|
|
465
|
+
}
|
|
458
466
|
|
|
459
467
|
.pf-v6-c-tabs__toggle {
|
|
460
468
|
display: var(--pf-v6-c-tabs__toggle--Display);
|
|
461
469
|
align-items: center;
|
|
462
470
|
}
|
|
463
471
|
|
|
464
|
-
.pf-v6-
|
|
465
|
-
|
|
466
|
-
white-space: normal;
|
|
472
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs__toggle-icon {
|
|
473
|
+
scale: -1 1;
|
|
467
474
|
}
|
|
468
475
|
|
|
469
476
|
.pf-v6-c-tabs__toggle-icon {
|
|
@@ -471,10 +478,10 @@
|
|
|
471
478
|
transition: var(--pf-v6-c-tabs__toggle-icon--Transition);
|
|
472
479
|
transform: rotate(var(--pf-v6-c-tabs__toggle-icon--Rotate));
|
|
473
480
|
}
|
|
474
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs__toggle-icon {
|
|
475
|
-
scale: -1 1;
|
|
476
|
-
}
|
|
477
481
|
|
|
482
|
+
.pf-v6-c-tabs__list::-webkit-scrollbar {
|
|
483
|
+
display: none;
|
|
484
|
+
}
|
|
478
485
|
.pf-v6-c-tabs__list {
|
|
479
486
|
scrollbar-width: none;
|
|
480
487
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
@@ -486,20 +493,17 @@
|
|
|
486
493
|
scroll-snap-type: var(--pf-v6-c-tabs__list--ScrollSnapType);
|
|
487
494
|
-webkit-overflow-scrolling: touch;
|
|
488
495
|
}
|
|
489
|
-
.pf-v6-c-tabs__list::-webkit-scrollbar {
|
|
490
|
-
display: none;
|
|
491
|
-
}
|
|
492
496
|
|
|
493
497
|
.pf-v6-c-tabs__item {
|
|
494
498
|
position: relative;
|
|
495
499
|
display: flex;
|
|
496
500
|
flex: none;
|
|
497
501
|
column-gap: var(--pf-v6-c-tabs__item--ColumnGap);
|
|
498
|
-
scroll-snap-align: var(--pf-v6-c-tabs__item--ScrollSnapAlign);
|
|
499
502
|
padding-block-start: var(--pf-v6-c-tabs__item--PaddingBlockStart);
|
|
500
503
|
padding-block-end: var(--pf-v6-c-tabs__item--PaddingBlockEnd);
|
|
501
504
|
padding-inline-start: var(--pf-v6-c-tabs__item--PaddingInlineStart);
|
|
502
505
|
padding-inline-end: var(--pf-v6-c-tabs__item--PaddingInlineEnd);
|
|
506
|
+
scroll-snap-align: var(--pf-v6-c-tabs__item--ScrollSnapAlign);
|
|
503
507
|
background-color: var(--pf-v6-c-tabs__item--BackgroundColor);
|
|
504
508
|
}
|
|
505
509
|
.pf-v6-c-tabs__item.pf-m-current {
|
|
@@ -552,6 +556,10 @@
|
|
|
552
556
|
border: 0;
|
|
553
557
|
}
|
|
554
558
|
|
|
559
|
+
.pf-v6-c-tabs__item.pf-m-action, .pf-v6-c-tabs__link {
|
|
560
|
+
--pf-v6-c-tabs__link--after--BorderBlockEndWidth: var(--pf-v6-c-tabs__link--after--BorderWidth);
|
|
561
|
+
}
|
|
562
|
+
|
|
555
563
|
.pf-v6-c-tabs__link {
|
|
556
564
|
display: flex;
|
|
557
565
|
flex: 1;
|
|
@@ -569,10 +577,6 @@
|
|
|
569
577
|
border-radius: var(--pf-v6-c-tabs__link--BorderRadius);
|
|
570
578
|
transition: background-color var(--pf-v6-c-tabs__link--TransitionDuration--background-color) var(--pf-v6-c-tabs__link--TransitionTimingFunction--background-color);
|
|
571
579
|
}
|
|
572
|
-
.pf-v6-c-tabs__item.pf-m-action, .pf-v6-c-tabs__link {
|
|
573
|
-
--pf-v6-c-tabs__link--after--BorderBlockEndWidth: var(--pf-v6-c-tabs__link--after--BorderWidth);
|
|
574
|
-
}
|
|
575
|
-
|
|
576
580
|
.pf-v6-c-tabs__item.pf-m-action::before, .pf-v6-c-tabs__link::before {
|
|
577
581
|
pointer-events: none;
|
|
578
582
|
border-block-start-color: var(--pf-v6-c-tabs__link--before--BorderBlockStartColor);
|
|
@@ -595,6 +599,7 @@
|
|
|
595
599
|
border-block-end-width: var(--pf-v6-c-tabs__link--after--BorderBlockEndWidth);
|
|
596
600
|
border-inline-start-width: var(--pf-v6-c-tabs__link--after--BorderInlineStartWidth);
|
|
597
601
|
border-inline-end-width: var(--pf-v6-c-tabs__link--after--BorderInlineEndWidth);
|
|
602
|
+
border-radius: var(--pf-v6-c-tabs__link--after--BorderRadius);
|
|
598
603
|
}
|
|
599
604
|
|
|
600
605
|
.pf-v6-c-tabs__link:where(:hover, :focus) {
|
|
@@ -627,6 +632,10 @@
|
|
|
627
632
|
--pf-v6-c-tabs__link-toggle-icon--Rotate: var(--pf-v6-c-tabs__link--m-expanded__toggle-icon--Rotate);
|
|
628
633
|
}
|
|
629
634
|
|
|
635
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs__link-toggle-icon {
|
|
636
|
+
scale: -1 1;
|
|
637
|
+
}
|
|
638
|
+
|
|
630
639
|
.pf-v6-c-tabs__link-toggle-icon {
|
|
631
640
|
align-self: end;
|
|
632
641
|
font-size: var(--pf-v6-c-tabs__link-toggle-icon--FontSize);
|
|
@@ -634,9 +643,6 @@
|
|
|
634
643
|
transition: var(--pf-v6-c-tabs__link-toggle-icon--Transition);
|
|
635
644
|
transform: rotate(var(--pf-v6-c-tabs__link-toggle-icon--Rotate));
|
|
636
645
|
}
|
|
637
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs__link-toggle-icon {
|
|
638
|
-
scale: -1 1;
|
|
639
|
-
}
|
|
640
646
|
|
|
641
647
|
.pf-v6-c-tabs__item-action {
|
|
642
648
|
display: flex;
|
|
@@ -56,8 +56,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
56
56
|
--#{$tabs}--m-vertical__item--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
57
57
|
--#{$tabs}__item--m-current--BackgroundColor: transparent;
|
|
58
58
|
--#{$tabs}--m-box__item--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
59
|
-
--#{$tabs}--m-box__item--m-current--BackgroundColor:
|
|
60
|
-
--#{$tabs}--m-box--m-secondary__item--BackgroundColor:
|
|
59
|
+
--#{$tabs}--m-box__item--m-current--BackgroundColor: transparent;
|
|
60
|
+
--#{$tabs}--m-box--m-secondary__item--BackgroundColor: transparent;
|
|
61
61
|
--#{$tabs}--m-box--m-secondary__item--m-current--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
62
62
|
--#{$tabs}__item--m-action--before--ZIndex: var(--pf-t--global--z-index--sm);
|
|
63
63
|
|
|
@@ -65,7 +65,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
65
65
|
--#{$tabs}__link--Color: var(--pf-t--global--text--color--subtle);
|
|
66
66
|
--#{$tabs}__link--FontSize: var(--pf-t--global--font--size--sm);
|
|
67
67
|
--#{$tabs}__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
68
|
-
--#{$tabs}__link--BorderRadius: var(--pf-t--global--border--radius--
|
|
68
|
+
--#{$tabs}__link--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
|
|
69
69
|
--#{$tabs}__link--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
70
70
|
--#{$tabs}__link--BorderColor: transparent;
|
|
71
71
|
--#{$tabs}__link--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
@@ -75,21 +75,21 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
75
75
|
--#{$tabs}__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
76
76
|
--#{$tabs}__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
77
77
|
--#{$tabs}__link--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
78
|
-
--#{$tabs}__link--disabled--Color: var(--pf-t--global--text--color--
|
|
79
|
-
--#{$tabs}__link--disabled--BackgroundColor:
|
|
78
|
+
--#{$tabs}__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
79
|
+
--#{$tabs}__link--disabled--BackgroundColor: transparent;
|
|
80
80
|
--#{$tabs}__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
81
81
|
--#{$tabs}__item--m-current__link--Color: var(--pf-t--global--text--color--regular);
|
|
82
82
|
--#{$tabs}__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
83
83
|
--#{$tabs}--m-vertical__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
84
84
|
--#{$tabs}--m-vertical__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
85
85
|
--#{$tabs}--m-box__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
86
|
-
--#{$tabs}--m-box__link--disabled--Color: var(--pf-t--global--text--color--
|
|
87
|
-
--#{$tabs}--m-box__link--disabled--BackgroundColor:
|
|
86
|
+
--#{$tabs}--m-box__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
87
|
+
--#{$tabs}--m-box__link--disabled--BackgroundColor: transparent;
|
|
88
88
|
--#{$tabs}--m-box__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
89
89
|
--#{$tabs}--m-box__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
90
90
|
--#{$tabs}--m-box--m-secondary__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
91
|
-
--#{$tabs}--m-box--m-secondary__link--disabled--Color: var(--pf-t--global--text--color--
|
|
92
|
-
--#{$tabs}--m-box--m-secondary__link--disabled--BackgroundColor:
|
|
91
|
+
--#{$tabs}--m-box--m-secondary__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
92
|
+
--#{$tabs}--m-box--m-secondary__link--disabled--BackgroundColor: transparent;
|
|
93
93
|
--#{$tabs}--m-box--m-secondary__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
94
94
|
--#{$tabs}--m-box--m-secondary__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
95
95
|
--#{$tabs}--m-subtab__link--FontSize: var(--pf-t--global--font--size--xs);
|
|
@@ -111,6 +111,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
111
111
|
--#{$tabs}--m-box__link--m-current--before--BorderInlineStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
112
112
|
--#{$tabs}--m-box__link--m-current--before--BorderInlineEndColor: var(--pf-t--global--border--color--high-contrast);
|
|
113
113
|
--#{$tabs}--m-box__link--m-current--before--BorderInlineEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
114
|
+
--#{$tabs}--m-box__link--m-current--before--BorderBlockEndColor: var(--pf-t--global--border--color--alt);
|
|
114
115
|
--#{$tabs}__link--disabled--before--BorderInlineEndWidth: 0;
|
|
115
116
|
--#{$tabs}__link--disabled--before--BorderBlockEndWidth: var(--#{$tabs}--before--border-width--base);
|
|
116
117
|
--#{$tabs}__link--disabled--before--BorderInlineStartWidth: 0;
|
|
@@ -125,7 +126,9 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
125
126
|
--#{$tabs}__link--after--BorderBlockStartWidth: 0;
|
|
126
127
|
--#{$tabs}__link--after--BorderInlineEndWidth: 0;
|
|
127
128
|
--#{$tabs}__link--after--BorderInlineStartWidth: 0;
|
|
128
|
-
--#{$tabs}
|
|
129
|
+
--#{$tabs}__link--after--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
130
|
+
--#{$tabs}--m-box__link--after--BorderRadius: var(--pf-t--global--border--radius--sharp);
|
|
131
|
+
--#{$tabs}__item--m-current__link--after--BorderColor: var(--pf-t--global--color--brand--accent--default);
|
|
129
132
|
--#{$tabs}__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
|
|
130
133
|
|
|
131
134
|
// Link accent
|
|
@@ -183,7 +186,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
183
186
|
--#{$tabs}__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
184
187
|
--#{$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
188
|
--#{$tabs}__toggle-icon--Rotate: 0;
|
|
186
|
-
--#{$tabs}--m-expanded__toggle-icon--Rotate:
|
|
189
|
+
--#{$tabs}--m-expanded__toggle-icon--Rotate: -180deg;
|
|
187
190
|
--#{$tabs}--m-expandable--RowGap: var(--pf-t--global--spacer--sm);
|
|
188
191
|
--#{$tabs}--m-expandable--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
189
192
|
--#{$tabs}--m-expandable--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -208,6 +211,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
208
211
|
// Nav variant
|
|
209
212
|
--#{$tabs}--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
210
213
|
--#{$tabs}--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
214
|
+
--#{$tabs}--m-nav--m-subtab__scroll-button--button--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
211
215
|
|
|
212
216
|
// Overflow menu toggle icon
|
|
213
217
|
--#{$tabs}__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
@@ -216,7 +220,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
216
220
|
--#{$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
|
|
217
221
|
--#{$tabs}__link-toggle-icon--Rotate: 0;
|
|
218
222
|
--#{$tabs}__link-toggle-icon--FontSize: var(--pf-t--global--font--size--sm);
|
|
219
|
-
--#{$tabs}__link--m-expanded__toggle-icon--Rotate:
|
|
223
|
+
--#{$tabs}__link--m-expanded__toggle-icon--Rotate: -180deg;
|
|
220
224
|
}
|
|
221
225
|
|
|
222
226
|
.#{$tabs} {
|
|
@@ -306,6 +310,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
306
310
|
--#{$tabs}__link--before--BorderBlockEndWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
307
311
|
--#{$tabs}__link--after--InsetBlockStart: 0;
|
|
308
312
|
--#{$tabs}__link--after--InsetBlockEnd: auto;
|
|
313
|
+
--#{$tabs}__link--after--BorderRadius: var(--#{$tabs}--m-box__link--after--BorderRadius);
|
|
309
314
|
|
|
310
315
|
.#{$tabs}__link {
|
|
311
316
|
--#{$tabs}__link--after--BorderBlockStartWidth: var(--#{$tabs}__link--after--BorderWidth);
|
|
@@ -318,7 +323,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
318
323
|
|
|
319
324
|
.#{$tabs}__item.pf-m-current {
|
|
320
325
|
--#{$tabs}__link--BackgroundColor: var(--#{$tabs}__item--m-current__link--BackgroundColor);
|
|
321
|
-
--#{$tabs}__link--before--BorderBlockEndColor: var(--#{$tabs}
|
|
326
|
+
--#{$tabs}__link--before--BorderBlockEndColor: var(--#{$tabs}--m-box__link--m-current--before--BorderBlockEndColor);
|
|
322
327
|
--#{$tabs}__link--before--BorderInlineStartColor: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineStartColor);
|
|
323
328
|
--#{$tabs}__link--before--BorderInlineStartWidth: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineStartWidth);
|
|
324
329
|
--#{$tabs}__link--before--BorderInlineEndColor: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineEndColor);
|
|
@@ -383,8 +388,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
383
388
|
|
|
384
389
|
.#{$tabs}__list {
|
|
385
390
|
position: relative;
|
|
386
|
-
flex-direction: column;
|
|
387
391
|
flex-grow: 1;
|
|
392
|
+
flex-direction: column;
|
|
388
393
|
max-width: var(--#{$tabs}--m-vertical--MaxWidth);
|
|
389
394
|
|
|
390
395
|
&::before {
|
|
@@ -421,7 +426,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
421
426
|
}
|
|
422
427
|
|
|
423
428
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
424
|
-
$breakpoint-name:
|
|
429
|
+
$breakpoint-name: "";
|
|
430
|
+
|
|
431
|
+
@if $breakpoint != "base" {
|
|
432
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
433
|
+
}
|
|
425
434
|
|
|
426
435
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
427
436
|
// stylelint-disable max-nesting-depth
|
|
@@ -471,13 +480,15 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
471
480
|
.#{$tabs}__item:last-child {
|
|
472
481
|
--#{$tabs}__link--before--BorderInlineEndWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
473
482
|
}
|
|
483
|
+
|
|
474
484
|
.#{$tabs}__item:first-child {
|
|
475
485
|
--#{$tabs}__link--before--BorderBlockStartWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
476
486
|
}
|
|
477
487
|
|
|
478
488
|
// Add border right color and weight
|
|
479
489
|
.#{$tabs}__item.pf-m-current {
|
|
480
|
-
--#{$tabs}__link--before--BorderInlineEndColor: var(--#{$tabs}
|
|
490
|
+
--#{$tabs}__link--before--BorderInlineEndColor: var(--#{$tabs}--m-box__link--m-current--before--BorderBlockEndColor);
|
|
491
|
+
--#{$tabs}__link--before--BorderInlineEndWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
481
492
|
--#{$tabs}__link--before--BorderBlockEndColor: var(--#{$tabs}__link--before--border-color--base);
|
|
482
493
|
}
|
|
483
494
|
|
|
@@ -519,13 +530,16 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
519
530
|
&.pf-m-nav {
|
|
520
531
|
--#{$tabs}__link--disabled--BackgroundColor: transparent;
|
|
521
532
|
--#{$tabs}__link--disabled--Color: var(--#{$tabs}--m-nav__link--disabled--Color);
|
|
522
|
-
--#{$tabs}__link--hover--BorderColor: transparent;
|
|
523
533
|
--#{$tabs}__link--BorderRadius: var(--#{$tabs}--m-nav__link--BorderRadius);
|
|
524
534
|
|
|
525
535
|
&::before,
|
|
526
536
|
.#{$tabs}__link::before {
|
|
527
537
|
border: 0;
|
|
528
538
|
}
|
|
539
|
+
|
|
540
|
+
&.pf-m-subtab .#{$tabs}__scroll-button .#{$button} {
|
|
541
|
+
--#{$button}--FontSize: var(--#{$tabs}--m-nav--m-subtab__scroll-button--button--FontSize);
|
|
542
|
+
}
|
|
529
543
|
}
|
|
530
544
|
}
|
|
531
545
|
|
|
@@ -535,13 +549,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
535
549
|
align-items: center;
|
|
536
550
|
}
|
|
537
551
|
|
|
538
|
-
.#{$tabs}__toggle-button {
|
|
539
|
-
.#{$button} {
|
|
540
|
-
justify-content: start;
|
|
541
|
-
white-space: normal;
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
|
|
545
552
|
.#{$tabs}__toggle-icon {
|
|
546
553
|
@include pf-v6-mirror-inline-on-rtl;
|
|
547
554
|
|
|
@@ -569,11 +576,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
569
576
|
display: flex;
|
|
570
577
|
flex: none;
|
|
571
578
|
column-gap: var(--#{$tabs}__item--ColumnGap);
|
|
572
|
-
scroll-snap-align: var(--#{$tabs}__item--ScrollSnapAlign);
|
|
573
579
|
padding-block-start: var(--#{$tabs}__item--PaddingBlockStart);
|
|
574
580
|
padding-block-end: var(--#{$tabs}__item--PaddingBlockEnd);
|
|
575
581
|
padding-inline-start: var(--#{$tabs}__item--PaddingInlineStart);
|
|
576
582
|
padding-inline-end: var(--#{$tabs}__item--PaddingInlineEnd);
|
|
583
|
+
scroll-snap-align: var(--#{$tabs}__item--ScrollSnapAlign);
|
|
577
584
|
background-color: var(--#{$tabs}__item--BackgroundColor);
|
|
578
585
|
|
|
579
586
|
// Current
|
|
@@ -682,6 +689,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
682
689
|
border-block-end-width: var(--#{$tabs}__link--after--BorderBlockEndWidth);
|
|
683
690
|
border-inline-start-width: var(--#{$tabs}__link--after--BorderInlineStartWidth);
|
|
684
691
|
border-inline-end-width: var(--#{$tabs}__link--after--BorderInlineEndWidth);
|
|
692
|
+
border-radius: var(--#{$tabs}__link--after--BorderRadius);
|
|
685
693
|
}
|
|
686
694
|
}
|
|
687
695
|
|
|
@@ -799,7 +807,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
799
807
|
// stylelint-disable no-duplicate-selectors, max-nesting-depth
|
|
800
808
|
.#{$tabs} {
|
|
801
809
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
802
|
-
$breakpoint-name:
|
|
810
|
+
$breakpoint-name: "";
|
|
811
|
+
|
|
812
|
+
@if $breakpoint != "base" {
|
|
813
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
814
|
+
}
|
|
803
815
|
|
|
804
816
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
805
817
|
@each $spacer, $spacer-value in $pf-v6-c-tabs--spacer-map {
|