@patternfly/patternfly 5.1.0-prerelease.2 → 5.1.0-prerelease.20
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 +10 -0
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +22 -0
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +7 -0
- package/base/patternfly-common.css +17 -2
- package/base/patternfly-globals.css +1 -1
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +5 -0
- package/components/AboutModalBox/about-modal-box.css +20 -13
- package/components/AboutModalBox/about-modal-box.scss +20 -13
- package/components/Accordion/accordion.css +33 -20
- package/components/Accordion/accordion.scss +32 -20
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +7 -4
- package/components/Alert/alert-group.scss +7 -4
- package/components/Alert/alert.css +19 -13
- package/components/Alert/alert.scss +18 -13
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +2 -2
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +5 -2
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +23 -17
- package/components/Button/button.scss +22 -16
- 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 +24 -16
- package/components/Card/card.scss +23 -16
- package/components/Check/check.css +2 -2
- package/components/Check/check.scss +2 -2
- 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 +33 -30
- package/components/Content/content.scss +33 -30
- 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 -49
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -84
- 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/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -61
- package/components/Drawer/drawer.scss +92 -43
- package/components/Dropdown/dropdown.css +75 -66
- package/components/Dropdown/dropdown.scss +65 -56
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +21 -11
- package/components/FormControl/form-control.scss +21 -11
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- 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 +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +19 -22
- package/components/Masthead/masthead.scss +19 -22
- package/components/Menu/menu.css +80 -66
- package/components/Menu/menu.scss +81 -69
- package/components/MenuToggle/menu-toggle.css +41 -29
- package/components/MenuToggle/menu-toggle.scss +41 -29
- package/components/ModalBox/modal-box.css +19 -19
- package/components/ModalBox/modal-box.scss +20 -20
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +120 -93
- package/components/Nav/nav.scss +120 -93
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +13 -7
- package/components/NotificationBadge/notification-badge.scss +13 -7
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +3 -3
- 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 +123 -65
- package/components/Page/page.scss +69 -40
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +28 -18
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +82 -31
- package/components/Popover/popover.scss +104 -45
- package/components/Progress/progress.css +7 -7
- package/components/Progress/progress.scss +7 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +4 -5
- package/components/Radio/radio.scss +4 -5
- 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 +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +256 -219
- package/components/Table/table-grid.scss +53 -39
- 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 +91 -69
- package/components/Table/table.scss +89 -69
- 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/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +44 -41
- package/components/Toolbar/toolbar.scss +24 -21
- package/components/Tooltip/tooltip.css +76 -25
- package/components/Tooltip/tooltip.scss +100 -41
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +51 -29
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AppLauncher/deprecated/application-launcher.md +155 -70
- package/docs/components/Badge/examples/Badge.md +16 -4
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +11 -5
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +1 -0
- package/docs/components/Card/examples/Card.md +152 -64
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ContextSelector/deprecated/context-selector.md +198 -96
- package/docs/components/DataList/examples/DataList.md +391 -136
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +881 -367
- package/docs/components/DualListSelector/examples/DualListSelector.md +368 -128
- package/docs/components/FormControl/examples/FormControl.md +2 -1
- package/docs/components/Hint/examples/Hint.md +57 -24
- package/docs/components/InlineEdit/examples/InlineEdit.md +46 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +40 -30
- package/docs/components/Menu/examples/Menu.md +41 -20
- package/docs/components/MenuToggle/examples/MenuToggle.md +1 -1
- package/docs/components/ModalBox/examples/ModalBox.css +2 -8
- package/docs/components/Nav/examples/Navigation.css +3 -26
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +619 -240
- package/docs/components/OptionsMenu/deprecated/options-menu.md +403 -160
- package/docs/components/OverflowMenu/examples/overflow-menu.md +45 -34
- package/docs/components/Pagination/examples/Pagination.md +195 -65
- package/docs/components/Popover/examples/Popover.css +3 -9
- package/docs/components/Popover/examples/Popover.md +4 -4
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +50 -0
- package/docs/components/Select/deprecated/Select.css +3 -3
- package/docs/components/Select/deprecated/Select.md +40 -52
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +4548 -1670
- package/docs/components/Tabs/examples/Tabs.md +1094 -438
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +218 -128
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +8 -6
- package/docs/components/TreeView/examples/TreeView.md +23 -8
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/components/Wizard/examples/Wizard.md +75 -36
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +72 -31
- package/docs/demos/CardView/examples/CardView.md +182 -74
- package/docs/demos/ContextSelector/examples/ContextSelector.md +95 -47
- package/docs/demos/Dashboard/examples/Dashboard.md +18 -9
- package/docs/demos/DataList/examples/DataList.md +163 -70
- package/docs/demos/DescriptionList/examples/DescriptionList.md +20 -9
- package/docs/demos/Drawer/examples/Drawer.md +20 -9
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +803 -338
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +241 -101
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +1422 -607
- package/docs/demos/Tabs/examples/Tabs.md +113 -48
- package/docs/demos/Toolbar/examples/Toolbar.md +318 -123
- package/docs/demos/Wizard/examples/Wizard.md +191 -41
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- 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 +40 -37
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +27 -3
- package/patternfly-base-no-globals.css +27 -3
- package/patternfly-base-theme-dark-unversioned.css +28 -4
- package/patternfly-base.css +28 -4
- package/patternfly-no-globals.css +2687 -1894
- package/patternfly-theme-dark-unversioned.css +2688 -1895
- package/patternfly.css +2688 -1895
- 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/placeholders.scss +1 -1
- package/sass-utilities/scss-variables.scss +8 -8
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
package/components/Nav/nav.css
CHANGED
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
--pf-v5-c-menu__item-description--Color: var(--pf-v5-c-nav--c-menu__item-description--Color);
|
|
348
348
|
}
|
|
349
349
|
.pf-v5-c-nav .pf-v5-c-menu:first-child > .pf-v5-c-menu__content {
|
|
350
|
-
border-
|
|
350
|
+
border-block-end: var(--pf-v5-c-nav--c-menu__item--before--BorderBottomWidth) solid var(--pf-v5-c-nav--c-menu__item--before--BorderBottomColor);
|
|
351
351
|
}
|
|
352
352
|
.pf-v5-c-nav .pf-v5-c-menu.pf-m-flyout, .pf-v5-c-nav .pf-v5-c-menu.pf-m-flyout .pf-v5-c-menu {
|
|
353
353
|
--pf-v5-c-menu--BoxShadow: var(--pf-v5-c-nav--c-menu--m-flyout--BoxShadow);
|
|
@@ -359,10 +359,10 @@
|
|
|
359
359
|
--pf-v5-c-menu__item--PaddingRight: var(--pf-v5-c-nav--c-menu--m-flyout__item--PaddingRight);
|
|
360
360
|
--pf-v5-c-menu__item--PaddingBottom: var(--pf-v5-c-nav--c-menu--m-flyout__item--PaddingBottom);
|
|
361
361
|
--pf-v5-c-menu__item--PaddingLeft: var(--pf-v5-c-nav--c-menu--m-flyout__item--PaddingLeft);
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
362
|
+
inset-block-start: var(--pf-v5-c-nav--c-menu--m-flyout--c-menu--Top);
|
|
363
|
+
inset-block-end: var(--pf-v5-c-nav--c-menu--m-flyout--c-menu--Bottom);
|
|
364
|
+
inset-inline-start: var(--pf-v5-c-nav--c-menu--m-flyout--c-menu--Left);
|
|
365
|
+
inset-inline-end: var(--pf-v5-c-nav--c-menu--m-flyout--c-menu--Right);
|
|
366
366
|
}
|
|
367
367
|
.pf-v5-c-nav .pf-v5-c-menu.pf-m-flyout .pf-v5-c-menu__item:hover {
|
|
368
368
|
--pf-v5-c-nav--c-menu__item--after--BorderLeftWidth: var(--pf-v5-c-nav--c-menu--m-flyout__item--hover--after--BorderLeftWidth);
|
|
@@ -377,8 +377,8 @@
|
|
|
377
377
|
--pf-v5-c-nav--c-menu--m-flyout--c-menu--Left: auto;
|
|
378
378
|
}
|
|
379
379
|
.pf-v5-c-nav .pf-v5-c-menu .pf-v5-c-divider {
|
|
380
|
-
margin-
|
|
381
|
-
margin-
|
|
380
|
+
margin-block-start: 0;
|
|
381
|
+
margin-block-end: 0;
|
|
382
382
|
}
|
|
383
383
|
.pf-v5-c-nav .pf-v5-c-menu__item {
|
|
384
384
|
position: relative;
|
|
@@ -386,19 +386,19 @@
|
|
|
386
386
|
}
|
|
387
387
|
.pf-v5-c-nav .pf-v5-c-menu__item::before, .pf-v5-c-nav .pf-v5-c-menu__item::after {
|
|
388
388
|
position: absolute;
|
|
389
|
-
|
|
389
|
+
inset-block-start: 0;
|
|
390
390
|
content: "";
|
|
391
391
|
}
|
|
392
392
|
.pf-v5-c-nav .pf-v5-c-menu__item::before {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
border-
|
|
393
|
+
inset-block-end: calc(var(--pf-v5-c-nav--c-menu__item--before--BorderBottomWidth) * -1);
|
|
394
|
+
inset-inline-start: 0;
|
|
395
|
+
inset-inline-end: 0;
|
|
396
|
+
border-block-end: var(--pf-v5-c-nav--c-menu__item--before--BorderBottomWidth) solid var(--pf-v5-c-nav--c-menu__item--before--BorderBottomColor);
|
|
397
397
|
}
|
|
398
398
|
.pf-v5-c-nav .pf-v5-c-menu__item::after {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
border-
|
|
399
|
+
inset-block-end: 0;
|
|
400
|
+
inset-inline-start: 0;
|
|
401
|
+
border-inline-start: var(--pf-v5-c-nav--c-menu__item--after--BorderLeftWidth) solid var(--pf-v5-c-nav--c-menu__item--after--BorderLeftColor);
|
|
402
402
|
}
|
|
403
403
|
.pf-v5-c-nav .pf-v5-c-menu__item.pf-m-current {
|
|
404
404
|
--pf-v5-c-nav--c-menu__item--after--BorderLeftWidth: var(--pf-v5-c-nav--c-menu__item--m-current--after--BorderLeftWidth);
|
|
@@ -412,8 +412,12 @@
|
|
|
412
412
|
--pf-v5-c-menu__item--FontWeight: var(--pf-v5-c-nav--c-menu__list-item--m-drill-up__item--FontWeight);
|
|
413
413
|
}
|
|
414
414
|
.pf-v5-c-nav .pf-v5-c-menu__item-toggle-icon {
|
|
415
|
-
margin-
|
|
415
|
+
margin-inline-start: calc(var(--pf-v5-c-menu__item-toggle-icon--PaddingLeft) * -1);
|
|
416
416
|
}
|
|
417
|
+
:where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav .pf-v5-c-menu__item-toggle-icon {
|
|
418
|
+
scale: -1 1;
|
|
419
|
+
}
|
|
420
|
+
|
|
417
421
|
.pf-v5-c-nav.pf-m-horizontal .pf-v5-c-nav__link::after, .pf-v5-c-nav.pf-m-tertiary .pf-v5-c-nav__link::after {
|
|
418
422
|
content: none;
|
|
419
423
|
}
|
|
@@ -452,16 +456,16 @@
|
|
|
452
456
|
white-space: nowrap;
|
|
453
457
|
}
|
|
454
458
|
.pf-v5-c-nav.pf-m-horizontal .pf-v5-c-nav__link::before, .pf-v5-c-nav.pf-m-tertiary .pf-v5-c-nav__link::before, .pf-v5-c-nav.pf-m-horizontal-subnav .pf-v5-c-nav__link::before {
|
|
455
|
-
|
|
456
|
-
|
|
459
|
+
inset-block-start: auto;
|
|
460
|
+
inset-block-end: 0;
|
|
457
461
|
}
|
|
458
462
|
.pf-v5-c-nav.pf-m-horizontal .pf-v5-c-nav__link::before {
|
|
459
|
-
|
|
460
|
-
|
|
463
|
+
inset-inline-start: var(--pf-v5-c-nav--m-horizontal__link--Left);
|
|
464
|
+
inset-inline-end: var(--pf-v5-c-nav--m-horizontal__link--Right);
|
|
461
465
|
}
|
|
462
466
|
.pf-v5-c-nav.pf-m-tertiary .pf-v5-c-nav__link::before {
|
|
463
|
-
|
|
464
|
-
|
|
467
|
+
inset-inline-start: var(--pf-v5-c-nav--m-tertiary__link--Left);
|
|
468
|
+
inset-inline-end: var(--pf-v5-c-nav--m-tertiary__link--Right);
|
|
465
469
|
}
|
|
466
470
|
.pf-v5-c-nav.pf-m-light {
|
|
467
471
|
--pf-v5-c-nav__item--before--BorderColor: var(--pf-v5-c-nav--m-light__item--before--BorderColor);
|
|
@@ -579,20 +583,20 @@
|
|
|
579
583
|
}
|
|
580
584
|
.pf-v5-c-nav .pf-v5-c-divider {
|
|
581
585
|
--pf-v5-c-divider--after--BackgroundColor: var(--pf-v5-c-nav--c-divider--BackgroundColor);
|
|
582
|
-
padding-
|
|
583
|
-
padding-
|
|
584
|
-
margin-
|
|
585
|
-
margin-
|
|
586
|
+
padding-inline-start: var(--pf-v5-c-nav--c-divider--PaddingLeft);
|
|
587
|
+
padding-inline-end: var(--pf-v5-c-nav--c-divider--PaddingRight);
|
|
588
|
+
margin-block-start: var(--pf-v5-c-nav--c-divider--MarginTop);
|
|
589
|
+
margin-block-end: var(--pf-v5-c-nav--c-divider--MarginBottom);
|
|
586
590
|
}
|
|
587
591
|
.pf-v5-c-nav.pf-m-scrollable .pf-v5-c-nav__scroll-button {
|
|
588
592
|
opacity: 1;
|
|
589
593
|
}
|
|
590
594
|
.pf-v5-c-nav.pf-m-scrollable .pf-v5-c-nav__scroll-button:nth-of-type(1) {
|
|
591
|
-
margin-
|
|
595
|
+
margin-inline-end: 0;
|
|
592
596
|
transform: translateX(0);
|
|
593
597
|
}
|
|
594
598
|
.pf-v5-c-nav.pf-m-scrollable .pf-v5-c-nav__scroll-button:nth-of-type(2) {
|
|
595
|
-
margin-
|
|
599
|
+
margin-inline-start: 0;
|
|
596
600
|
transform: translateX(0);
|
|
597
601
|
}
|
|
598
602
|
.pf-v5-c-nav.pf-m-overflow-hidden {
|
|
@@ -602,8 +606,8 @@
|
|
|
602
606
|
.pf-v5-c-nav__list {
|
|
603
607
|
position: relative;
|
|
604
608
|
display: block;
|
|
605
|
-
padding-
|
|
606
|
-
padding-
|
|
609
|
+
padding-block-start: var(--pf-v5-c-nav__list--PaddingTop);
|
|
610
|
+
padding-block-end: var(--pf-v5-c-nav__list--PaddingBottom);
|
|
607
611
|
}
|
|
608
612
|
|
|
609
613
|
.pf-v5-c-nav__item {
|
|
@@ -614,14 +618,14 @@
|
|
|
614
618
|
}
|
|
615
619
|
.pf-v5-c-nav__item.pf-m-expandable::before {
|
|
616
620
|
position: absolute;
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
621
|
+
inset-block-end: calc(var(--pf-v5-c-nav__item--before--BorderWidth) * -1);
|
|
622
|
+
inset-inline-start: 0;
|
|
623
|
+
inset-inline-end: 0;
|
|
620
624
|
content: "";
|
|
621
|
-
border-
|
|
625
|
+
border-block-end: var(--pf-v5-c-nav__item--before--BorderWidth) solid var(--pf-v5-c-nav__item--before--BorderColor);
|
|
622
626
|
}
|
|
623
627
|
.pf-v5-c-nav__item:not(:first-child) {
|
|
624
|
-
margin-
|
|
628
|
+
margin-block-start: var(--pf-v5-c-nav__item--MarginTop);
|
|
625
629
|
}
|
|
626
630
|
.pf-v5-c-nav__item .pf-v5-c-nav__item:not(.pf-m-expanded) .pf-v5-c-nav__toggle-icon {
|
|
627
631
|
transform: rotate(0);
|
|
@@ -632,18 +636,18 @@
|
|
|
632
636
|
}
|
|
633
637
|
@media screen and (min-width: 1200px) {
|
|
634
638
|
.pf-v5-c-nav__item .pf-v5-c-nav__item.pf-m-expandable::before {
|
|
635
|
-
border-
|
|
639
|
+
border-block-end: none;
|
|
636
640
|
}
|
|
637
641
|
}
|
|
638
642
|
.pf-v5-c-nav__item .pf-v5-c-nav__item.pf-m-expandable .pf-v5-c-nav__list::before {
|
|
639
643
|
position: absolute;
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
+
inset-block-start: 0;
|
|
645
|
+
inset-block-end: 0;
|
|
646
|
+
inset-inline-start: 0;
|
|
647
|
+
inset-inline-end: 0;
|
|
644
648
|
pointer-events: none;
|
|
645
649
|
content: "";
|
|
646
|
-
border-
|
|
650
|
+
border-inline-start: var(--pf-v5-c-nav__item--before--BorderWidth) solid var(--pf-v5-c-nav__item--before--BorderColor);
|
|
647
651
|
}
|
|
648
652
|
.pf-v5-c-nav__item .pf-v5-c-nav__toggle-icon {
|
|
649
653
|
transform: rotate(var(--pf-v5-c-nav__item__toggle-icon--Rotate));
|
|
@@ -679,11 +683,11 @@
|
|
|
679
683
|
--pf-v5-c-nav--c-menu--m-flyout--c-menu--Bottom: var(--pf-v5-c-nav__item--m-flyout--c-menu--m-top--Bottom);
|
|
680
684
|
--pf-v5-c-nav--c-menu--m-flyout--c-menu--Right: var(--pf-v5-c-nav__item--m-flyout--c-menu--m-left--Right);
|
|
681
685
|
position: absolute;
|
|
682
|
-
|
|
683
|
-
|
|
686
|
+
inset-block-start: var(--pf-v5-c-nav__item--m-flyout--c-menu--Top);
|
|
687
|
+
inset-inline-start: var(--pf-v5-c-nav__item--m-flyout--c-menu--Left);
|
|
684
688
|
}
|
|
685
689
|
.pf-v5-c-nav__item.pf-m-flyout .pf-v5-c-menu .pf-v5-c-menu {
|
|
686
|
-
|
|
690
|
+
inset-block-start: var(--pf-v5-c-nav__item--m-flyout--c-menu--c-menu--Top);
|
|
687
691
|
}
|
|
688
692
|
.pf-v5-c-nav__item.pf-m-flyout .pf-v5-c-menu .pf-v5-c-menu__list-item:first-child {
|
|
689
693
|
--pf-v5-c-nav__item--m-flyout--c-menu--c-menu--Top: var(--pf-v5-c-nav__item--m-flyout--c-menu__list-item--first-child--c-menu--Top);
|
|
@@ -695,22 +699,22 @@
|
|
|
695
699
|
}
|
|
696
700
|
.pf-v5-c-nav__item.pf-m-flyout .pf-v5-c-menu .pf-v5-c-menu__item::before {
|
|
697
701
|
position: absolute;
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
702
|
+
inset-block-end: 0;
|
|
703
|
+
inset-inline-start: 0;
|
|
704
|
+
inset-inline-end: 0;
|
|
701
705
|
content: "";
|
|
702
|
-
border-
|
|
706
|
+
border-block-end: var(--pf-v5-c-nav__item--m-flyout--c-menu__item--before--BorderBottomWidth) solid var(--pf-v5-c-nav__item--m-flyout--c-menu__item--before--BorderBottomColor);
|
|
703
707
|
}
|
|
704
708
|
.pf-v5-c-nav__item.pf-m-flyout .pf-v5-c-menu .pf-v5-c-menu__item:hover::after {
|
|
705
709
|
position: absolute;
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
710
|
+
inset-block-start: var(--pf-v5-c-nav__item--m-flyout--c-menu__item--hover--after--Top);
|
|
711
|
+
inset-block-end: 0;
|
|
712
|
+
inset-inline-start: 0;
|
|
709
713
|
content: "";
|
|
710
|
-
border-
|
|
714
|
+
border-inline-start: var(--pf-v5-c-nav__item--m-flyout--c-menu__item--hover--after--BorderLeftWidth) solid var(--pf-v5-c-nav__item--m-flyout--c-menu__item--hover--after--BorderLeftColor);
|
|
711
715
|
}
|
|
712
716
|
.pf-v5-c-nav__item.pf-m-drilldown.pf-m-expanded > .pf-v5-c-nav__subnav {
|
|
713
|
-
|
|
717
|
+
inset-inline-start: 0;
|
|
714
718
|
z-index: var(--pf-v5-c-nav__item--m-drilldown--m-expanded__subnav--ZIndex);
|
|
715
719
|
}
|
|
716
720
|
|
|
@@ -718,7 +722,10 @@
|
|
|
718
722
|
position: relative;
|
|
719
723
|
display: flex;
|
|
720
724
|
align-items: baseline;
|
|
721
|
-
padding: var(--pf-v5-c-nav__link--PaddingTop)
|
|
725
|
+
padding-block-start: var(--pf-v5-c-nav__link--PaddingTop);
|
|
726
|
+
padding-block-end: var(--pf-v5-c-nav__link--PaddingBottom);
|
|
727
|
+
padding-inline-start: var(--pf-v5-c-nav__link--PaddingLeft);
|
|
728
|
+
padding-inline-end: var(--pf-v5-c-nav__link--PaddingRight);
|
|
722
729
|
font-size: var(--pf-v5-c-nav__link--FontSize);
|
|
723
730
|
font-weight: var(--pf-v5-c-nav__link--FontWeight);
|
|
724
731
|
color: var(--pf-v5-c-nav__link--Color);
|
|
@@ -731,63 +738,63 @@
|
|
|
731
738
|
border: 0 solid;
|
|
732
739
|
}
|
|
733
740
|
.pf-v5-c-nav__link::before {
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
741
|
+
inset-block-end: calc(var(--pf-v5-c-nav__link--before--BorderBottomWidth) * -1);
|
|
742
|
+
inset-inline-start: 0;
|
|
743
|
+
inset-inline-end: 0;
|
|
737
744
|
border-color: var(--pf-v5-c-nav__link--before--BorderColor);
|
|
738
|
-
border-
|
|
745
|
+
border-block-end-width: var(--pf-v5-c-nav__link--before--BorderBottomWidth);
|
|
739
746
|
}
|
|
740
747
|
.pf-v5-c-nav__link::after {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
748
|
+
inset-block-start: 0;
|
|
749
|
+
inset-block-end: 0;
|
|
750
|
+
inset-inline-start: 0;
|
|
744
751
|
border: 0 solid;
|
|
745
752
|
border-color: var(--pf-v5-c-nav__link--after--BorderColor);
|
|
746
|
-
border-
|
|
753
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--after--BorderLeftWidth);
|
|
747
754
|
}
|
|
748
755
|
.pf-v5-c-nav__link:hover, .pf-v5-c-nav__link.pf-m-hover {
|
|
749
756
|
color: var(--pf-v5-c-nav__link--hover--Color);
|
|
750
757
|
background-color: var(--pf-v5-c-nav__link--hover--BackgroundColor);
|
|
751
758
|
}
|
|
752
759
|
.pf-v5-c-nav__link:hover::before, .pf-v5-c-nav__link.pf-m-hover::before {
|
|
753
|
-
border-
|
|
760
|
+
border-block-end-width: var(--pf-v5-c-nav__link--hover--before--BorderBottomWidth);
|
|
754
761
|
}
|
|
755
762
|
.pf-v5-c-nav__link:hover::after, .pf-v5-c-nav__link.pf-m-hover::after {
|
|
756
763
|
border-color: var(--pf-v5-c-nav__link--hover--after--BorderColor);
|
|
757
|
-
border-
|
|
764
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--hover--after--BorderLeftWidth);
|
|
758
765
|
}
|
|
759
766
|
.pf-v5-c-nav__link:focus {
|
|
760
767
|
color: var(--pf-v5-c-nav__link--focus--Color);
|
|
761
768
|
background-color: var(--pf-v5-c-nav__link--focus--BackgroundColor);
|
|
762
769
|
}
|
|
763
770
|
.pf-v5-c-nav__link:focus::before {
|
|
764
|
-
border-
|
|
771
|
+
border-block-end-width: var(--pf-v5-c-nav__link--focus--before--BorderBottomWidth);
|
|
765
772
|
}
|
|
766
773
|
.pf-v5-c-nav__link:focus::after {
|
|
767
774
|
border-color: var(--pf-v5-c-nav__link--focus--after--BorderColor);
|
|
768
|
-
border-
|
|
775
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--focus--after--BorderLeftWidth);
|
|
769
776
|
}
|
|
770
777
|
.pf-v5-c-nav__link:active {
|
|
771
778
|
color: var(--pf-v5-c-nav__link--active--Color);
|
|
772
779
|
background-color: var(--pf-v5-c-nav__link--active--BackgroundColor);
|
|
773
780
|
}
|
|
774
781
|
.pf-v5-c-nav__link:active::before {
|
|
775
|
-
border-
|
|
782
|
+
border-block-end-width: var(--pf-v5-c-nav__link--active--before--BorderBottomWidth);
|
|
776
783
|
}
|
|
777
784
|
.pf-v5-c-nav__link:active::after {
|
|
778
785
|
border-color: var(--pf-v5-c-nav__link--active--after--BorderColor);
|
|
779
|
-
border-
|
|
786
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--active--after--BorderLeftWidth);
|
|
780
787
|
}
|
|
781
788
|
.pf-v5-c-nav__link.pf-m-current, .pf-v5-c-nav__link.pf-m-current:hover, .pf-v5-c-nav__item.pf-m-current:not(.pf-m-expanded) .pf-v5-c-nav__link {
|
|
782
789
|
color: var(--pf-v5-c-nav__link--m-current--Color);
|
|
783
790
|
background-color: var(--pf-v5-c-nav__link--m-current--BackgroundColor);
|
|
784
791
|
}
|
|
785
792
|
.pf-v5-c-nav__link.pf-m-current::before, .pf-v5-c-nav__link.pf-m-current:hover::before, .pf-v5-c-nav__item.pf-m-current:not(.pf-m-expanded) .pf-v5-c-nav__link::before {
|
|
786
|
-
border-
|
|
793
|
+
border-block-end-width: var(--pf-v5-c-nav__link--m-current--before--BorderBottomWidth);
|
|
787
794
|
}
|
|
788
795
|
.pf-v5-c-nav__link.pf-m-current::after, .pf-v5-c-nav__link.pf-m-current:hover::after, .pf-v5-c-nav__item.pf-m-current:not(.pf-m-expanded) .pf-v5-c-nav__link::after {
|
|
789
796
|
border-color: var(--pf-v5-c-nav__link--m-current--after--BorderColor);
|
|
790
|
-
border-
|
|
797
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--m-current--after--BorderLeftWidth);
|
|
791
798
|
}
|
|
792
799
|
.pf-v5-c-nav__link, .pf-v5-c-nav__link:hover, .pf-v5-c-nav__link:focus, .pf-v5-c-nav__link:active {
|
|
793
800
|
width: 100%;
|
|
@@ -814,8 +821,8 @@
|
|
|
814
821
|
--pf-v5-c-nav--c-divider--PaddingRight: var(--pf-v5-c-nav__subnav--c-divider--PaddingRight);
|
|
815
822
|
--pf-v5-c-nav--c-divider--PaddingLeft: var(--pf-v5-c-nav__subnav--c-divider--PaddingLeft);
|
|
816
823
|
max-height: var(--pf-v5-c-nav__subnav--MaxHeight);
|
|
817
|
-
padding-
|
|
818
|
-
padding-
|
|
824
|
+
padding-block-end: var(--pf-v5-c-nav__subnav--PaddingBottom);
|
|
825
|
+
padding-inline-start: var(--pf-v5-c-nav__subnav--PaddingLeft);
|
|
819
826
|
transition: var(--pf-v5-c-nav--Transition);
|
|
820
827
|
scrollbar-width: none;
|
|
821
828
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
@@ -839,21 +846,25 @@
|
|
|
839
846
|
|
|
840
847
|
.pf-v5-c-nav__toggle {
|
|
841
848
|
flex: none;
|
|
842
|
-
padding-
|
|
843
|
-
padding-
|
|
844
|
-
margin-
|
|
849
|
+
padding-inline-start: var(--pf-v5-c-nav__toggle--PaddingLeft);
|
|
850
|
+
padding-inline-end: var(--pf-v5-c-nav__toggle--PaddingRight);
|
|
851
|
+
margin-inline-start: auto;
|
|
845
852
|
font-size: var(--pf-v5-c-nav__toggle--FontSize);
|
|
846
853
|
line-height: 1;
|
|
847
854
|
}
|
|
848
855
|
.pf-v5-c-nav__toggle.pf-m-start {
|
|
849
|
-
margin-
|
|
850
|
-
margin-
|
|
856
|
+
margin-inline-start: calc(var(--pf-v5-c-nav__toggle--PaddingRight) * -1);
|
|
857
|
+
margin-inline-end: var(--pf-v5-c-nav__toggle--m-start--MarginRight);
|
|
851
858
|
}
|
|
852
859
|
|
|
853
860
|
.pf-v5-c-nav__toggle-icon {
|
|
854
861
|
display: inline-block;
|
|
855
862
|
transition: var(--pf-v5-c-nav__toggle-icon--Transition);
|
|
856
863
|
}
|
|
864
|
+
:where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav__toggle-icon {
|
|
865
|
+
scale: -1 1;
|
|
866
|
+
}
|
|
867
|
+
|
|
857
868
|
.pf-v5-c-nav__item.pf-m-expanded .pf-v5-c-nav__toggle-icon {
|
|
858
869
|
transform: rotate(var(--pf-v5-c-nav__item--m-expanded__toggle-icon--Rotate));
|
|
859
870
|
}
|
|
@@ -879,21 +890,24 @@
|
|
|
879
890
|
--pf-v5-c-nav--c-divider--MarginBottom: 0;
|
|
880
891
|
}
|
|
881
892
|
.pf-v5-c-nav__section:first-child {
|
|
882
|
-
padding-
|
|
893
|
+
padding-block-start: var(--pf-v5-c-nav__section--first-child--PaddingTop);
|
|
883
894
|
}
|
|
884
895
|
.pf-v5-c-nav__section + .pf-v5-c-nav__section {
|
|
885
|
-
margin-
|
|
896
|
+
margin-block-start: var(--pf-v5-c-nav__section--section--MarginTop);
|
|
886
897
|
}
|
|
887
898
|
.pf-v5-c-nav__section:last-child {
|
|
888
|
-
padding-
|
|
899
|
+
padding-block-end: var(--pf-v5-c-nav__section--last-child--PaddingBottom);
|
|
889
900
|
}
|
|
890
901
|
|
|
891
902
|
.pf-v5-c-nav__section-title {
|
|
892
|
-
padding: var(--pf-v5-c-nav__section-title--PaddingTop)
|
|
893
|
-
|
|
903
|
+
padding-block-start: var(--pf-v5-c-nav__section-title--PaddingTop);
|
|
904
|
+
padding-block-end: var(--pf-v5-c-nav__section-title--PaddingBottom);
|
|
905
|
+
padding-inline-start: var(--pf-v5-c-nav__section-title--PaddingLeft);
|
|
906
|
+
padding-inline-end: var(--pf-v5-c-nav__section-title--PaddingRight);
|
|
907
|
+
margin-block-end: var(--pf-v5-c-nav__section-title--MarginBottom);
|
|
894
908
|
font-size: var(--pf-v5-c-nav__section-title--FontSize);
|
|
895
909
|
color: var(--pf-v5-c-nav__section-title--Color);
|
|
896
|
-
border-
|
|
910
|
+
border-block-end: var(--pf-v5-c-nav__section-title--BorderBottomWidth) solid var(--pf-v5-c-nav__section-title--BorderBottomColor);
|
|
897
911
|
}
|
|
898
912
|
|
|
899
913
|
.pf-v5-c-nav__scroll-button {
|
|
@@ -906,13 +920,18 @@
|
|
|
906
920
|
opacity: 0;
|
|
907
921
|
transition: var(--pf-v5-c-nav__scroll-button--Transition);
|
|
908
922
|
}
|
|
923
|
+
:where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav__scroll-button > * {
|
|
924
|
+
scale: -1 1;
|
|
925
|
+
}
|
|
926
|
+
|
|
909
927
|
.pf-v5-c-nav__scroll-button::before {
|
|
910
928
|
position: absolute;
|
|
911
|
-
|
|
912
|
-
|
|
929
|
+
inset-block-start: 0;
|
|
930
|
+
inset-block-end: 0;
|
|
913
931
|
content: "";
|
|
914
|
-
border: solid var(--pf-v5-c-nav__scroll-button--before--BorderColor);
|
|
915
|
-
border-width:
|
|
932
|
+
border: 0 solid var(--pf-v5-c-nav__scroll-button--before--BorderColor);
|
|
933
|
+
border-inline-start-width: var(--pf-v5-c-nav__scroll-button--before--BorderLeftWidth);
|
|
934
|
+
border-inline-end-width: var(--pf-v5-c-nav__scroll-button--before--BorderRightWidth);
|
|
916
935
|
}
|
|
917
936
|
.pf-v5-c-nav__scroll-button:hover {
|
|
918
937
|
color: var(--pf-v5-c-nav__scroll-button--hover--Color);
|
|
@@ -929,19 +948,27 @@
|
|
|
929
948
|
}
|
|
930
949
|
.pf-v5-c-nav__scroll-button:nth-of-type(1) {
|
|
931
950
|
--pf-v5-c-nav__scroll-button--before--BorderRightWidth: var(--pf-v5-c-nav__scroll-button--before--BorderWidth);
|
|
932
|
-
margin-
|
|
951
|
+
margin-inline-end: calc(var(--pf-v5-c-nav__scroll-button--Width) * -1);
|
|
933
952
|
transform: translateX(-100%);
|
|
934
953
|
}
|
|
954
|
+
:where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav__scroll-button:nth-of-type(1) {
|
|
955
|
+
transform: translateX(calc(-100% * var(--pf-v5-global--inverse--multiplier)));
|
|
956
|
+
}
|
|
957
|
+
|
|
935
958
|
.pf-v5-c-nav__scroll-button:nth-of-type(1)::before {
|
|
936
|
-
|
|
959
|
+
inset-inline-end: 0;
|
|
937
960
|
}
|
|
938
961
|
.pf-v5-c-nav__scroll-button:nth-of-type(2) {
|
|
939
962
|
--pf-v5-c-nav__scroll-button--before--BorderLeftWidth: var(--pf-v5-c-nav__scroll-button--before--BorderWidth);
|
|
940
|
-
margin-
|
|
963
|
+
margin-inline-start: calc(var(--pf-v5-c-nav__scroll-button--Width) * -1);
|
|
941
964
|
transform: translateX(100%);
|
|
942
965
|
}
|
|
966
|
+
:where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav__scroll-button:nth-of-type(2) {
|
|
967
|
+
transform: translateX(calc(100% * var(--pf-v5-global--inverse--multiplier)));
|
|
968
|
+
}
|
|
969
|
+
|
|
943
970
|
.pf-v5-c-nav__scroll-button:nth-of-type(2)::before {
|
|
944
|
-
|
|
971
|
+
inset-inline-start: 0;
|
|
945
972
|
}
|
|
946
973
|
|
|
947
974
|
:where(.pf-v5-theme-dark) .pf-v5-c-nav {
|
|
@@ -963,10 +990,10 @@
|
|
|
963
990
|
--pf-v5-c-nav__link--m-current--before--BorderBottomWidth: 0;
|
|
964
991
|
}
|
|
965
992
|
:where(.pf-v5-theme-dark) .pf-v5-c-nav__link::before {
|
|
966
|
-
|
|
993
|
+
inset-block-end: 0;
|
|
967
994
|
}
|
|
968
995
|
:where(.pf-v5-theme-dark) .pf-v5-c-nav__link::after {
|
|
969
|
-
|
|
996
|
+
inset-block-start: var(--pf-v5-c-nav__item--item__link--after--Top);
|
|
970
997
|
}
|
|
971
998
|
:where(.pf-v5-theme-dark) .pf-v5-c-nav__item + .pf-v5-c-nav__item {
|
|
972
999
|
--pf-v5-c-nav__link--after--Top: var(--pf-v5-c-nav__item--item__link--after--Top);
|