@patternfly/patternfly 6.0.0-alpha.4 → 6.0.0-alpha.41
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/CODE_OF_CONDUCT.md +1 -2
- package/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +29 -4
- package/base/_globals.scss +5 -9
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -5
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +889 -787
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +428 -306
- package/base/tokens/_tokens-font.scss +41 -46
- package/base/tokens/_tokens-palette.scss +69 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +78 -104
- package/components/AboutModalBox/about-modal-box.scss +62 -74
- package/components/Accordion/accordion.css +96 -175
- package/components/Accordion/accordion.scss +106 -193
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- package/components/Backdrop/backdrop.css +8 -4
- package/components/Backdrop/backdrop.scss +7 -4
- package/components/BackgroundImage/background-image.css +11 -4
- package/components/BackgroundImage/background-image.scss +13 -4
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +95 -69
- package/components/Banner/banner.scss +100 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +35 -23
- package/components/Button/button.scss +36 -26
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +28 -17
- package/components/Card/card.scss +32 -17
- package/components/Check/check.css +12 -10
- package/components/Check/check.scss +17 -12
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +100 -97
- package/components/Content/content.scss +101 -98
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +64 -38
- package/components/EmptyState/empty-state.scss +70 -38
- package/components/ExpandableSection/expandable-section.css +75 -66
- package/components/ExpandableSection/expandable-section.scss +82 -80
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +59 -50
- package/components/Form/form.scss +50 -45
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- package/components/HelperText/helper-text.css +29 -35
- package/components/HelperText/helper-text.scss +31 -41
- package/components/Hint/hint.css +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +9 -9
- package/components/InlineEdit/inline-edit.scss +9 -9
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +273 -498
- package/components/Masthead/masthead.scss +137 -282
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +90 -100
- package/components/MenuToggle/menu-toggle.scss +93 -111
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +162 -133
- package/components/Nav/nav.scss +162 -135
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +232 -271
- package/components/Page/page.scss +180 -231
- package/components/Pagination/pagination.css +71 -121
- package/components/Pagination/pagination.scss +56 -127
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +108 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +16 -13
- package/components/Radio/radio.scss +20 -14
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +45 -56
- package/components/SimpleList/simple-list.scss +51 -55
- package/components/Skeleton/skeleton.css +24 -25
- package/components/Skeleton/skeleton.scss +21 -26
- package/components/SkipToContent/skip-to-content.css +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +10 -6
- package/components/Switch/switch.scss +11 -7
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +105 -89
- package/components/Table/table.scss +105 -89
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +57 -43
- package/components/Toolbar/toolbar.scss +45 -25
- package/components/Tooltip/tooltip.css +74 -44
- package/components/Tooltip/tooltip.scss +93 -77
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +13 -0
- package/components/Truncate/truncate.scss +19 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +143 -37
- package/docs/components/Check/examples/Check.md +71 -58
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +4 -5
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/Label/examples/Label.md +12 -12
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +250 -160
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +594 -543
- package/docs/components/MenuToggle/examples/MenuToggle.md +151 -138
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +2 -8
- package/docs/components/Nav/examples/Navigation.md +240 -114
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/Radio/examples/Radio.md +62 -54
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +10 -10
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +663 -2894
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +103 -30
- package/docs/demos/Alert/examples/Alert.md +303 -84
- package/docs/demos/BackToTop/examples/BackToTop.md +101 -28
- package/docs/demos/Banner/examples/Banner.md +209 -58
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +28 -12
- package/docs/demos/CardView/examples/CardView.md +259 -197
- package/docs/demos/ContextSelector/examples/ContextSelector.md +374 -91
- package/docs/demos/Dashboard/examples/Dashboard.md +104 -31
- package/docs/demos/DataList/examples/DataList.md +974 -907
- package/docs/demos/DescriptionList/examples/DescriptionList.md +303 -84
- package/docs/demos/Drawer/examples/Drawer.md +505 -140
- package/docs/demos/JumpLinks/examples/JumpLinks.md +606 -168
- package/docs/demos/Masthead/examples/Masthead.md +745 -310
- package/docs/demos/Modal/examples/Modal.md +606 -168
- package/docs/demos/Nav/examples/Nav.md +808 -224
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +510 -140
- package/docs/demos/Page/examples/Page.md +909 -252
- package/docs/demos/Page/examples/Penta.md +570 -503
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1293 -914
- package/docs/demos/Skeleton/examples/Skeleton.md +108 -63
- package/docs/demos/Table/examples/Table.md +3842 -3400
- package/docs/demos/Tabs/examples/Tabs.md +636 -191
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1305 -1467
- package/docs/demos/Wizard/examples/Wizard.md +909 -252
- package/docs/layouts/Flex/examples/Flex.md +16 -16
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +36 -32
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +923 -799
- package/patternfly-base-no-globals.css +923 -799
- package/patternfly-base-theme-dark-unversioned.css +928 -804
- package/patternfly-base.css +928 -804
- package/patternfly-no-globals.css +5253 -4984
- package/patternfly-theme-dark-unversioned.css +5258 -4989
- package/patternfly.css +5258 -4989
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
package/components/Nav/nav.scss
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
// @debug $nav; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
|
|
3
1
|
.#{$nav} {
|
|
4
2
|
--#{$nav}--Transition: var(--#{$pf-global}--Transition);
|
|
5
3
|
|
|
6
4
|
// Light theme
|
|
7
5
|
--#{$nav}--m-light__item--before--BorderColor: var(--#{$pf-global}--BorderColor--300);
|
|
8
6
|
--#{$nav}--m-light__item--m-current--not--m-expanded__link--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-300);
|
|
9
|
-
--#{$nav}--m-light__link--Color: var(
|
|
10
|
-
--#{$nav}--m-light__link--hover--Color: var(
|
|
11
|
-
--#{$nav}--m-light__link--focus--Color: var(
|
|
12
|
-
--#{$nav}--m-light__link--active--Color: var(
|
|
13
|
-
--#{$nav}--m-light__link--m-current--Color: var(
|
|
14
|
-
--#{$nav}--m-light__link--hover--BackgroundColor: var(
|
|
15
|
-
--#{$nav}--m-light__link--focus--BackgroundColor: var(
|
|
16
|
-
--#{$nav}--m-light__link--active--BackgroundColor: var(
|
|
17
|
-
--#{$nav}--m-light__link--m-current--BackgroundColor: var(
|
|
7
|
+
--#{$nav}--m-light__link--Color: var(--pf-t--global--text--color--subtle);
|
|
8
|
+
--#{$nav}--m-light__link--hover--Color: var(--pf-t--global--text--color--subtle);
|
|
9
|
+
--#{$nav}--m-light__link--focus--Color: var(--pf-t--global--text--color--subtle);
|
|
10
|
+
--#{$nav}--m-light__link--active--Color: var(--pf-t--global--text--color--subtle);
|
|
11
|
+
--#{$nav}--m-light__link--m-current--Color: var(--pf-t--global--text--color--regular);
|
|
12
|
+
--#{$nav}--m-light__link--hover--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
13
|
+
--#{$nav}--m-light__link--focus--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
14
|
+
--#{$nav}--m-light__link--active--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
15
|
+
--#{$nav}--m-light__link--m-current--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
18
16
|
--#{$nav}--m-light__link--before--BorderColor: var(--#{$pf-global}--BorderColor--300);
|
|
19
17
|
--#{$nav}--m-light__link--after--BorderColor: var(--#{$pf-global}--active-color--100);
|
|
20
18
|
--#{$nav}--m-light__link--m-current--after--BorderColor: var(--#{$pf-global}--active-color--100);
|
|
21
|
-
--#{$nav}--m-light__section-title--Color: var(
|
|
22
|
-
--#{$nav}--m-light__section-title--BorderBottomColor:
|
|
19
|
+
--#{$nav}--m-light__section-title--Color: var(--pf-t--global--text--color--regular);
|
|
20
|
+
--#{$nav}--m-light__section-title--BorderBottomColor: transparent;
|
|
23
21
|
--#{$nav}--m-light--c-divider--BackgroundColor: var(--#{$pf-global}--BorderColor--300);
|
|
24
22
|
|
|
25
23
|
// Light subnav
|
|
@@ -36,38 +34,40 @@
|
|
|
36
34
|
--#{$nav}__item--MarginTop: 0;
|
|
37
35
|
--#{$nav}__item--m-current--not--m-expanded__link--BackgroundColor: var(--#{$pf-global}--BackgroundColor--dark-400);
|
|
38
36
|
--#{$nav}__link--m-current--not--m-expanded__link--after--BorderWidth: var(--#{$pf-global}--BorderWidth--xl);
|
|
39
|
-
--#{$nav}__item__item__link--PaddingRight: var(
|
|
37
|
+
--#{$nav}__item__item__link--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
40
38
|
--#{$nav}__item__item__toggle--FontSize: var(--#{$pf-global}--FontSize--sm);
|
|
41
39
|
--#{$nav}__item__toggle-icon--Rotate: 0;
|
|
42
40
|
--#{$nav}__item--m-expanded__toggle-icon--Rotate: 90deg;
|
|
41
|
+
--#{$nav}__item--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
43
42
|
|
|
44
43
|
// Item ::before borders
|
|
45
44
|
--#{$nav}__item--before--BorderColor: var(--#{$pf-global}--BackgroundColor--dark-200);
|
|
46
45
|
--#{$nav}__item--before--BorderWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
47
46
|
|
|
48
47
|
// Link
|
|
49
|
-
--#{$nav}__link--FontSize: var(
|
|
50
|
-
--#{$nav}__link--FontWeight: var(
|
|
51
|
-
--#{$nav}__link--PaddingTop: var(
|
|
52
|
-
--#{$nav}__link--PaddingRight: var(
|
|
53
|
-
--#{$nav}__link--PaddingBottom: var(
|
|
54
|
-
--#{$nav}__link--PaddingLeft: var(
|
|
55
|
-
--#{$nav}__link--
|
|
56
|
-
--#{$nav}__link--xl--
|
|
57
|
-
--#{$nav}__link--
|
|
58
|
-
--#{$nav}__link--
|
|
59
|
-
--#{$nav}__link--
|
|
60
|
-
--#{$nav}__link--
|
|
61
|
-
--#{$nav}__link--
|
|
48
|
+
--#{$nav}__link--FontSize: var(--pf-t--global--font--size--body--default);
|
|
49
|
+
--#{$nav}__link--FontWeight: var(--pf-t--global--font--weight--body);
|
|
50
|
+
--#{$nav}__link--PaddingTop: var(--pf-t--global--spacer--md);
|
|
51
|
+
--#{$nav}__link--PaddingRight: var(--pf-t--global--spacer--md);
|
|
52
|
+
--#{$nav}__link--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
53
|
+
--#{$nav}__link--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
54
|
+
--#{$nav}__link--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
55
|
+
--#{$nav}__link--xl--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
56
|
+
--#{$nav}__link--xl--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
57
|
+
--#{$nav}__link--Color: var(--pf-t--global--text--color--subtle);
|
|
58
|
+
--#{$nav}__link--hover--Color: var(--pf-t--global--text--color--subtle);
|
|
59
|
+
--#{$nav}__link--focus--Color: var(--pf-t--global--text--color--subtle);
|
|
60
|
+
--#{$nav}__link--active--Color: var(--pf-t--global--text--color--subtle);
|
|
61
|
+
--#{$nav}__link--m-current--Color: var(--pf-t--global--text--color--regular);
|
|
62
62
|
--#{$nav}__link--BackgroundColor: transparent;
|
|
63
|
-
--#{$nav}__link--hover--BackgroundColor: var(
|
|
64
|
-
--#{$nav}__link--focus--BackgroundColor: var(
|
|
65
|
-
--#{$nav}__link--active--BackgroundColor: var(
|
|
66
|
-
--#{$nav}__link--m-current--BackgroundColor: var(
|
|
63
|
+
--#{$nav}__link--hover--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
64
|
+
--#{$nav}__link--focus--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
65
|
+
--#{$nav}__link--active--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
66
|
+
--#{$nav}__link--m-current--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
67
67
|
--#{$nav}__link--OutlineOffset: calc(var(--#{$pf-global}--spacer--xs) * -1);
|
|
68
68
|
|
|
69
69
|
// Link ::before borders
|
|
70
|
-
--#{$nav}__link--before--BorderColor:
|
|
70
|
+
--#{$nav}__link--before--BorderColor: transparent;
|
|
71
71
|
--#{$nav}__link--before--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
72
72
|
--#{$nav}__link--hover--before--BorderBottomWidth: 0;
|
|
73
73
|
--#{$nav}__link--focus--before--BorderBottomWidth: 0;
|
|
@@ -225,16 +225,16 @@
|
|
|
225
225
|
--#{$nav}__section--section--MarginTop: var(--#{$pf-global}--spacer--xl);
|
|
226
226
|
|
|
227
227
|
// Nav section title
|
|
228
|
-
--#{$nav}__section-title--PaddingTop: var(
|
|
229
|
-
--#{$nav}__section-title--PaddingRight: var(
|
|
230
|
-
--#{$nav}__section-title--PaddingBottom: var(
|
|
231
|
-
--#{$nav}__section-title--PaddingLeft: var(
|
|
232
|
-
--#{$nav}__section-title--MarginBottom: var(
|
|
233
|
-
--#{$nav}__section-title--xl--PaddingRight: var(
|
|
234
|
-
--#{$nav}__section-title--xl--PaddingLeft: var(
|
|
235
|
-
--#{$nav}__section-title--FontSize: var(
|
|
236
|
-
--#{$nav}__section-title--Color: var(
|
|
237
|
-
--#{$nav}__section-title--BorderBottomColor:
|
|
228
|
+
--#{$nav}__section-title--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
229
|
+
--#{$nav}__section-title--PaddingRight: var(--pf-t--global--spacer--md);
|
|
230
|
+
--#{$nav}__section-title--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
231
|
+
--#{$nav}__section-title--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
232
|
+
--#{$nav}__section-title--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
233
|
+
--#{$nav}__section-title--xl--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
234
|
+
--#{$nav}__section-title--xl--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
235
|
+
--#{$nav}__section-title--FontSize: var(--pf-t--global--font--size--body--default);
|
|
236
|
+
--#{$nav}__section-title--Color: var(--pf-t--global--text--color--regular);
|
|
237
|
+
--#{$nav}__section-title--BorderBottomColor: transparent;
|
|
238
238
|
--#{$nav}__section-title--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
239
239
|
|
|
240
240
|
// Scroll buttons
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
--#{$menu}__item-description--Color: var(--#{$nav}--c-menu__item-description--Color);
|
|
420
420
|
|
|
421
421
|
&:first-child > .#{$menu}__content {
|
|
422
|
-
border-
|
|
422
|
+
border-block-end: var(--#{$nav}--c-menu__item--before--BorderBottomWidth) solid var(--#{$nav}--c-menu__item--before--BorderBottomColor);
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
&.pf-m-flyout,
|
|
@@ -434,10 +434,10 @@
|
|
|
434
434
|
--#{$menu}__item--PaddingBottom: var(--#{$nav}--c-menu--m-flyout__item--PaddingBottom);
|
|
435
435
|
--#{$menu}__item--PaddingLeft: var(--#{$nav}--c-menu--m-flyout__item--PaddingLeft);
|
|
436
436
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
437
|
+
inset-block-start: var(--#{$nav}--c-menu--m-flyout--c-menu--Top);
|
|
438
|
+
inset-block-end: var(--#{$nav}--c-menu--m-flyout--c-menu--Bottom);
|
|
439
|
+
inset-inline-start: var(--#{$nav}--c-menu--m-flyout--c-menu--Left);
|
|
440
|
+
inset-inline-end: var(--#{$nav}--c-menu--m-flyout--c-menu--Right);
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
&.pf-m-flyout {
|
|
@@ -462,8 +462,8 @@
|
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
.#{$divider} {
|
|
465
|
-
margin-
|
|
466
|
-
margin-
|
|
465
|
+
margin-block-start: 0;
|
|
466
|
+
margin-block-end: 0;
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
|
|
@@ -474,21 +474,21 @@
|
|
|
474
474
|
&::before,
|
|
475
475
|
&::after {
|
|
476
476
|
position: absolute;
|
|
477
|
-
|
|
477
|
+
inset-block-start: 0;
|
|
478
478
|
content: "";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
&::before {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
border-
|
|
482
|
+
inset-block-end: calc(var(--#{$nav}--c-menu__item--before--BorderBottomWidth) * -1);
|
|
483
|
+
inset-inline-start: 0;
|
|
484
|
+
inset-inline-end: 0;
|
|
485
|
+
border-block-end: var(--#{$nav}--c-menu__item--before--BorderBottomWidth) solid var(--#{$nav}--c-menu__item--before--BorderBottomColor);
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
&::after {
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
border-
|
|
489
|
+
inset-block-end: 0;
|
|
490
|
+
inset-inline-start: 0;
|
|
491
|
+
border-inline-start: var(--#{$nav}--c-menu__item--after--BorderLeftWidth) solid var(--#{$nav}--c-menu__item--after--BorderLeftColor);
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
&.pf-m-current {
|
|
@@ -508,7 +508,9 @@
|
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
.#{$menu}__item-toggle-icon {
|
|
511
|
-
|
|
511
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
512
|
+
|
|
513
|
+
margin-inline-start: calc(var(--#{$menu}__item-toggle-icon--PaddingLeft) * -1);
|
|
512
514
|
}
|
|
513
515
|
|
|
514
516
|
&.pf-m-horizontal,
|
|
@@ -554,20 +556,20 @@
|
|
|
554
556
|
white-space: nowrap;
|
|
555
557
|
|
|
556
558
|
&::before {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
+
inset-block-start: auto;
|
|
560
|
+
inset-block-end: 0;
|
|
559
561
|
}
|
|
560
562
|
}
|
|
561
563
|
}
|
|
562
564
|
|
|
563
565
|
&.pf-m-horizontal .#{$nav}__link::before {
|
|
564
|
-
|
|
565
|
-
|
|
566
|
+
inset-inline-start: var(--#{$nav}--m-horizontal__link--Left);
|
|
567
|
+
inset-inline-end: var(--#{$nav}--m-horizontal__link--Right);
|
|
566
568
|
}
|
|
567
569
|
|
|
568
570
|
&.pf-m-tertiary .#{$nav}__link::before {
|
|
569
|
-
|
|
570
|
-
|
|
571
|
+
inset-inline-start: var(--#{$nav}--m-tertiary__link--Left);
|
|
572
|
+
inset-inline-end: var(--#{$nav}--m-tertiary__link--Right);
|
|
571
573
|
}
|
|
572
574
|
|
|
573
575
|
&.pf-m-light {
|
|
@@ -708,10 +710,10 @@
|
|
|
708
710
|
.#{$divider} {
|
|
709
711
|
--#{$divider}--after--BackgroundColor: var(--#{$nav}--c-divider--BackgroundColor);
|
|
710
712
|
|
|
711
|
-
padding-
|
|
712
|
-
padding-
|
|
713
|
-
margin-
|
|
714
|
-
margin-
|
|
713
|
+
padding-inline-start: var(--#{$nav}--c-divider--PaddingLeft);
|
|
714
|
+
padding-inline-end: var(--#{$nav}--c-divider--PaddingRight);
|
|
715
|
+
margin-block-start: var(--#{$nav}--c-divider--MarginTop);
|
|
716
|
+
margin-block-end: var(--#{$nav}--c-divider--MarginBottom);
|
|
715
717
|
}
|
|
716
718
|
|
|
717
719
|
&.pf-m-scrollable {
|
|
@@ -721,12 +723,12 @@
|
|
|
721
723
|
|
|
722
724
|
// Scroll buttons
|
|
723
725
|
.#{$nav}__scroll-button:nth-of-type(1) {
|
|
724
|
-
margin-
|
|
726
|
+
margin-inline-end: 0;
|
|
725
727
|
transform: translateX(0);
|
|
726
728
|
}
|
|
727
729
|
|
|
728
730
|
.#{$nav}__scroll-button:nth-of-type(2) {
|
|
729
|
-
margin-
|
|
731
|
+
margin-inline-start: 0;
|
|
730
732
|
transform: translateX(0);
|
|
731
733
|
}
|
|
732
734
|
}
|
|
@@ -740,8 +742,8 @@
|
|
|
740
742
|
.#{$nav}__list {
|
|
741
743
|
position: relative;
|
|
742
744
|
display: block;
|
|
743
|
-
padding-
|
|
744
|
-
padding-
|
|
745
|
+
padding-block-start: var(--#{$nav}__list--PaddingTop);
|
|
746
|
+
padding-block-end: var(--#{$nav}__list--PaddingBottom);
|
|
745
747
|
}
|
|
746
748
|
|
|
747
749
|
// Borders
|
|
@@ -753,16 +755,16 @@
|
|
|
753
755
|
|
|
754
756
|
&::before {
|
|
755
757
|
position: absolute;
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
758
|
+
inset-block-end: calc(var(--#{$nav}__item--before--BorderWidth) * -1);
|
|
759
|
+
inset-inline-start: 0;
|
|
760
|
+
inset-inline-end: 0;
|
|
759
761
|
content: "";
|
|
760
|
-
border-
|
|
762
|
+
border-block-end: var(--#{$nav}__item--before--BorderWidth) solid var(--#{$nav}__item--before--BorderColor);
|
|
761
763
|
}
|
|
762
764
|
}
|
|
763
765
|
|
|
764
766
|
&:not(:first-child) {
|
|
765
|
-
margin-
|
|
767
|
+
margin-block-start: var(--#{$nav}__item--MarginTop);
|
|
766
768
|
}
|
|
767
769
|
|
|
768
770
|
.#{$nav}__item {
|
|
@@ -777,20 +779,20 @@
|
|
|
777
779
|
// stylelint-disable max-nesting-depth
|
|
778
780
|
&::before {
|
|
779
781
|
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
780
|
-
border-
|
|
782
|
+
border-block-end: none;
|
|
781
783
|
}
|
|
782
784
|
}
|
|
783
785
|
// stylelint-enable
|
|
784
786
|
|
|
785
787
|
.#{$nav}__list::before {
|
|
786
788
|
position: absolute;
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
789
|
+
inset-block-start: 0;
|
|
790
|
+
inset-block-end: 0;
|
|
791
|
+
inset-inline-start: 0;
|
|
792
|
+
inset-inline-end: 0;
|
|
791
793
|
pointer-events: none;
|
|
792
794
|
content: "";
|
|
793
|
-
border-
|
|
795
|
+
border-inline-start: var(--#{$nav}__item--before--BorderWidth) solid var(--#{$nav}__item--before--BorderColor);
|
|
794
796
|
}
|
|
795
797
|
}
|
|
796
798
|
}
|
|
@@ -835,11 +837,11 @@
|
|
|
835
837
|
--#{$nav}--c-menu--m-flyout--c-menu--Right: var(--#{$nav}__item--m-flyout--c-menu--m-left--Right);
|
|
836
838
|
|
|
837
839
|
position: absolute;
|
|
838
|
-
|
|
839
|
-
|
|
840
|
+
inset-block-start: var(--#{$nav}__item--m-flyout--c-menu--Top);
|
|
841
|
+
inset-inline-start: var(--#{$nav}__item--m-flyout--c-menu--Left);
|
|
840
842
|
|
|
841
843
|
.#{$menu} {
|
|
842
|
-
|
|
844
|
+
inset-block-start: var(--#{$nav}__item--m-flyout--c-menu--c-menu--Top);
|
|
843
845
|
}
|
|
844
846
|
|
|
845
847
|
.#{$menu}__list-item:first-child {
|
|
@@ -854,21 +856,21 @@
|
|
|
854
856
|
|
|
855
857
|
&::before {
|
|
856
858
|
position: absolute;
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
859
|
+
inset-block-end: 0;
|
|
860
|
+
inset-inline-start: 0;
|
|
861
|
+
inset-inline-end: 0;
|
|
860
862
|
content: "";
|
|
861
|
-
border-
|
|
863
|
+
border-block-end: var(--#{$nav}__item--m-flyout--c-menu__item--before--BorderBottomWidth) solid var(--#{$nav}__item--m-flyout--c-menu__item--before--BorderBottomColor);
|
|
862
864
|
}
|
|
863
865
|
|
|
864
866
|
&:hover {
|
|
865
867
|
&::after {
|
|
866
868
|
position: absolute;
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
869
|
+
inset-block-start: var(--#{$nav}__item--m-flyout--c-menu__item--hover--after--Top);
|
|
870
|
+
inset-block-end: 0;
|
|
871
|
+
inset-inline-start: 0;
|
|
870
872
|
content: "";
|
|
871
|
-
border-
|
|
873
|
+
border-inline-start: var(--#{$nav}__item--m-flyout--c-menu__item--hover--after--BorderLeftWidth) solid var(--#{$nav}__item--m-flyout--c-menu__item--hover--after--BorderLeftColor);
|
|
872
874
|
}
|
|
873
875
|
}
|
|
874
876
|
}
|
|
@@ -879,7 +881,7 @@
|
|
|
879
881
|
&.pf-m-drilldown {
|
|
880
882
|
&.pf-m-expanded {
|
|
881
883
|
> .#{$nav}__subnav {
|
|
882
|
-
|
|
884
|
+
inset-inline-start: 0;
|
|
883
885
|
z-index: var(--#{$nav}__item--m-drilldown--m-expanded__subnav--ZIndex);
|
|
884
886
|
}
|
|
885
887
|
}
|
|
@@ -891,7 +893,10 @@
|
|
|
891
893
|
position: relative;
|
|
892
894
|
display: flex;
|
|
893
895
|
align-items: baseline;
|
|
894
|
-
padding: var(--#{$nav}__link--PaddingTop)
|
|
896
|
+
padding-block-start: var(--#{$nav}__link--PaddingTop);
|
|
897
|
+
padding-block-end: var(--#{$nav}__link--PaddingBottom);
|
|
898
|
+
padding-inline-start: var(--#{$nav}__link--PaddingLeft);
|
|
899
|
+
padding-inline-end: var(--#{$nav}__link--PaddingRight);
|
|
895
900
|
font-size: var(--#{$nav}__link--FontSize);
|
|
896
901
|
font-weight: var(--#{$nav}__link--FontWeight);
|
|
897
902
|
color: var(--#{$nav}__link--Color);
|
|
@@ -906,20 +911,20 @@
|
|
|
906
911
|
}
|
|
907
912
|
|
|
908
913
|
&::before {
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
914
|
+
inset-block-end: calc(var(--#{$nav}__link--before--BorderBottomWidth) * -1);
|
|
915
|
+
inset-inline-start: 0;
|
|
916
|
+
inset-inline-end: 0;
|
|
912
917
|
border-color: var(--#{$nav}__link--before--BorderColor);
|
|
913
|
-
border-
|
|
918
|
+
border-block-end-width: var(--#{$nav}__link--before--BorderBottomWidth);
|
|
914
919
|
}
|
|
915
920
|
|
|
916
921
|
&::after {
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
922
|
+
inset-block-start: 0;
|
|
923
|
+
inset-block-end: 0;
|
|
924
|
+
inset-inline-start: 0;
|
|
920
925
|
border: 0 solid;
|
|
921
926
|
border-color: var(--#{$nav}__link--after--BorderColor);
|
|
922
|
-
border-
|
|
927
|
+
border-inline-start-width: var(--#{$nav}__link--after--BorderLeftWidth);
|
|
923
928
|
}
|
|
924
929
|
|
|
925
930
|
// States
|
|
@@ -930,12 +935,12 @@
|
|
|
930
935
|
background-color: var(--#{$nav}__link--hover--BackgroundColor);
|
|
931
936
|
|
|
932
937
|
&::before {
|
|
933
|
-
border-
|
|
938
|
+
border-block-end-width: var(--#{$nav}__link--hover--before--BorderBottomWidth);
|
|
934
939
|
}
|
|
935
940
|
|
|
936
941
|
&::after {
|
|
937
942
|
border-color: var(--#{$nav}__link--hover--after--BorderColor);
|
|
938
|
-
border-
|
|
943
|
+
border-inline-start-width: var(--#{$nav}__link--hover--after--BorderLeftWidth);
|
|
939
944
|
}
|
|
940
945
|
}
|
|
941
946
|
|
|
@@ -944,12 +949,12 @@
|
|
|
944
949
|
background-color: var(--#{$nav}__link--focus--BackgroundColor);
|
|
945
950
|
|
|
946
951
|
&::before {
|
|
947
|
-
border-
|
|
952
|
+
border-block-end-width: var(--#{$nav}__link--focus--before--BorderBottomWidth);
|
|
948
953
|
}
|
|
949
954
|
|
|
950
955
|
&::after {
|
|
951
956
|
border-color: var(--#{$nav}__link--focus--after--BorderColor);
|
|
952
|
-
border-
|
|
957
|
+
border-inline-start-width: var(--#{$nav}__link--focus--after--BorderLeftWidth);
|
|
953
958
|
}
|
|
954
959
|
}
|
|
955
960
|
|
|
@@ -958,12 +963,12 @@
|
|
|
958
963
|
background-color: var(--#{$nav}__link--active--BackgroundColor);
|
|
959
964
|
|
|
960
965
|
&::before {
|
|
961
|
-
border-
|
|
966
|
+
border-block-end-width: var(--#{$nav}__link--active--before--BorderBottomWidth);
|
|
962
967
|
}
|
|
963
968
|
|
|
964
969
|
&::after {
|
|
965
970
|
border-color: var(--#{$nav}__link--active--after--BorderColor);
|
|
966
|
-
border-
|
|
971
|
+
border-inline-start-width: var(--#{$nav}__link--active--after--BorderLeftWidth);
|
|
967
972
|
}
|
|
968
973
|
}
|
|
969
974
|
|
|
@@ -974,12 +979,12 @@
|
|
|
974
979
|
background-color: var(--#{$nav}__link--m-current--BackgroundColor);
|
|
975
980
|
|
|
976
981
|
&::before {
|
|
977
|
-
border-
|
|
982
|
+
border-block-end-width: var(--#{$nav}__link--m-current--before--BorderBottomWidth);
|
|
978
983
|
}
|
|
979
984
|
|
|
980
985
|
&::after {
|
|
981
986
|
border-color: var(--#{$nav}__link--m-current--after--BorderColor);
|
|
982
|
-
border-
|
|
987
|
+
border-inline-start-width: var(--#{$nav}__link--m-current--after--BorderLeftWidth);
|
|
983
988
|
}
|
|
984
989
|
}
|
|
985
990
|
|
|
@@ -1016,8 +1021,8 @@
|
|
|
1016
1021
|
--#{$nav}--c-divider--PaddingLeft: var(--#{$nav}__subnav--c-divider--PaddingLeft);
|
|
1017
1022
|
|
|
1018
1023
|
max-height: var(--#{$nav}__subnav--MaxHeight);
|
|
1019
|
-
padding-
|
|
1020
|
-
padding-
|
|
1024
|
+
padding-block-end: var(--#{$nav}__subnav--PaddingBottom);
|
|
1025
|
+
padding-inline-start: var(--#{$nav}__subnav--PaddingLeft);
|
|
1021
1026
|
transition: var(--#{$nav}--Transition);
|
|
1022
1027
|
|
|
1023
1028
|
.#{$nav}__subnav {
|
|
@@ -1044,15 +1049,15 @@
|
|
|
1044
1049
|
// Toggle caret
|
|
1045
1050
|
.#{$nav}__toggle {
|
|
1046
1051
|
flex: none;
|
|
1047
|
-
padding-
|
|
1048
|
-
padding-
|
|
1049
|
-
margin-
|
|
1052
|
+
padding-inline-start: var(--#{$nav}__toggle--PaddingLeft);
|
|
1053
|
+
padding-inline-end: var(--#{$nav}__toggle--PaddingRight);
|
|
1054
|
+
margin-inline-start: auto;
|
|
1050
1055
|
font-size: var(--#{$nav}__toggle--FontSize);
|
|
1051
1056
|
line-height: 1;
|
|
1052
1057
|
|
|
1053
1058
|
&.pf-m-start {
|
|
1054
|
-
margin-
|
|
1055
|
-
margin-
|
|
1059
|
+
margin-inline-start: calc(var(--#{$nav}__toggle--PaddingRight) * -1);
|
|
1060
|
+
margin-inline-end: var(--#{$nav}__toggle--m-start--MarginRight);
|
|
1056
1061
|
}
|
|
1057
1062
|
}
|
|
1058
1063
|
|
|
@@ -1061,6 +1066,8 @@
|
|
|
1061
1066
|
display: inline-block;
|
|
1062
1067
|
transition: var(--#{$nav}__toggle-icon--Transition);
|
|
1063
1068
|
|
|
1069
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
1070
|
+
|
|
1064
1071
|
.#{$nav}__item.pf-m-expanded & {
|
|
1065
1072
|
transform: rotate(var(--#{$nav}__item--m-expanded__toggle-icon--Rotate));
|
|
1066
1073
|
}
|
|
@@ -1094,25 +1101,28 @@
|
|
|
1094
1101
|
--#{$nav}--c-divider--MarginBottom: 0;
|
|
1095
1102
|
|
|
1096
1103
|
&:first-child {
|
|
1097
|
-
padding-
|
|
1104
|
+
padding-block-start: var(--#{$nav}__section--first-child--PaddingTop);
|
|
1098
1105
|
}
|
|
1099
1106
|
|
|
1100
1107
|
& + & {
|
|
1101
|
-
margin-
|
|
1108
|
+
margin-block-start: var(--#{$nav}__section--section--MarginTop);
|
|
1102
1109
|
}
|
|
1103
1110
|
|
|
1104
1111
|
&:last-child {
|
|
1105
|
-
padding-
|
|
1112
|
+
padding-block-end: var(--#{$nav}__section--last-child--PaddingBottom);
|
|
1106
1113
|
}
|
|
1107
1114
|
}
|
|
1108
1115
|
|
|
1109
1116
|
// Section title
|
|
1110
1117
|
.#{$nav}__section-title {
|
|
1111
|
-
padding: var(--#{$nav}__section-title--PaddingTop)
|
|
1112
|
-
|
|
1118
|
+
padding-block-start: var(--#{$nav}__section-title--PaddingTop);
|
|
1119
|
+
padding-block-end: var(--#{$nav}__section-title--PaddingBottom);
|
|
1120
|
+
padding-inline-start: var(--#{$nav}__section-title--PaddingLeft);
|
|
1121
|
+
padding-inline-end: var(--#{$nav}__section-title--PaddingRight);
|
|
1122
|
+
margin-block-end: var(--#{$nav}__section-title--MarginBottom);
|
|
1113
1123
|
font-size: var(--#{$nav}__section-title--FontSize);
|
|
1114
1124
|
color: var(--#{$nav}__section-title--Color);
|
|
1115
|
-
border-
|
|
1125
|
+
border-block-end: var(--#{$nav}__section-title--BorderBottomWidth) solid var(--#{$nav}__section-title--BorderBottomColor);
|
|
1116
1126
|
}
|
|
1117
1127
|
|
|
1118
1128
|
// Scroll buttons
|
|
@@ -1126,13 +1136,20 @@
|
|
|
1126
1136
|
opacity: 0;
|
|
1127
1137
|
transition: var(--#{$nav}__scroll-button--Transition);
|
|
1128
1138
|
|
|
1139
|
+
// Mirror only the contents to avoid flipping the borders
|
|
1140
|
+
// TODO at breaking change, add an icon wrapper to be mirrored
|
|
1141
|
+
> * {
|
|
1142
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1129
1145
|
&::before {
|
|
1130
1146
|
position: absolute;
|
|
1131
|
-
|
|
1132
|
-
|
|
1147
|
+
inset-block-start: 0;
|
|
1148
|
+
inset-block-end: 0;
|
|
1133
1149
|
content: "";
|
|
1134
|
-
border: solid var(--#{$nav}__scroll-button--before--BorderColor);
|
|
1135
|
-
border-width:
|
|
1150
|
+
border: 0 solid var(--#{$nav}__scroll-button--before--BorderColor);
|
|
1151
|
+
border-inline-start-width: var(--#{$nav}__scroll-button--before--BorderLeftWidth);
|
|
1152
|
+
border-inline-end-width: var(--#{$nav}__scroll-button--before--BorderRightWidth);
|
|
1136
1153
|
}
|
|
1137
1154
|
|
|
1138
1155
|
&:hover {
|
|
@@ -1155,22 +1172,32 @@
|
|
|
1155
1172
|
&:nth-of-type(1) {
|
|
1156
1173
|
--#{$nav}__scroll-button--before--BorderRightWidth: var(--#{$nav}__scroll-button--before--BorderWidth);
|
|
1157
1174
|
|
|
1158
|
-
margin-
|
|
1159
|
-
transform: translateX(-100%);
|
|
1175
|
+
margin-inline-end: calc(var(--#{$nav}__scroll-button--Width) * -1);
|
|
1160
1176
|
|
|
1177
|
+
@include pf-v5-bidirectional-style(
|
|
1178
|
+
$prop: transform,
|
|
1179
|
+
$ltr-val: translateX(-100%),
|
|
1180
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(-100%)})
|
|
1181
|
+
);
|
|
1182
|
+
|
|
1161
1183
|
&::before {
|
|
1162
|
-
|
|
1184
|
+
inset-inline-end: 0;
|
|
1163
1185
|
}
|
|
1164
1186
|
}
|
|
1165
1187
|
|
|
1166
1188
|
&:nth-of-type(2) {
|
|
1167
1189
|
--#{$nav}__scroll-button--before--BorderLeftWidth: var(--#{$nav}__scroll-button--before--BorderWidth);
|
|
1168
1190
|
|
|
1169
|
-
margin-
|
|
1170
|
-
|
|
1191
|
+
margin-inline-start: calc(var(--#{$nav}__scroll-button--Width) * -1);
|
|
1192
|
+
|
|
1193
|
+
@include pf-v5-bidirectional-style(
|
|
1194
|
+
$prop: transform,
|
|
1195
|
+
$ltr-val: translateX(100%),
|
|
1196
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(100%)})
|
|
1197
|
+
);
|
|
1171
1198
|
|
|
1172
1199
|
&::before {
|
|
1173
|
-
|
|
1200
|
+
inset-inline-start: 0;
|
|
1174
1201
|
}
|
|
1175
1202
|
}
|
|
1176
1203
|
}
|