@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.9
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 +13 -3
- 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 +21 -0
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +7 -0
- package/base/patternfly-common.css +16 -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 +16 -0
- package/base/tokens/_tokens-font.scss +16 -14
- package/components/AboutModalBox/about-modal-box.css +23 -12
- package/components/AboutModalBox/about-modal-box.scss +25 -12
- 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 -5
- 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 +33 -21
- package/components/Button/button.scss +35 -23
- 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 +25 -17
- package/components/Card/card.scss +24 -17
- 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 -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/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 +18 -9
- package/components/FormControl/form-control.scss +18 -9
- 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 +79 -65
- package/components/Menu/menu.scss +80 -68
- package/components/MenuToggle/menu-toggle.css +33 -27
- package/components/MenuToggle/menu-toggle.scss +33 -27
- 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 +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 +135 -77
- package/components/Page/page.scss +81 -52
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +27 -17
- 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 +72 -40
- package/components/Popover/popover.scss +95 -75
- 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 +3 -3
- package/components/Radio/radio.scss +3 -3
- 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 -195
- 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 +92 -70
- package/components/Table/table.scss +90 -70
- 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 +26 -21
- package/components/Tooltip/tooltip.css +60 -28
- package/components/Tooltip/tooltip.scss +76 -56
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- 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/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +15 -15
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- 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/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +120 -30
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +90 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +60 -39
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +4 -21
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- 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 +525 -431
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +26 -10
- package/docs/demos/CardView/examples/CardView.md +24 -20
- package/docs/demos/Dashboard/examples/Dashboard.md +3 -3
- package/docs/demos/DataList/examples/DataList.md +8 -2
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -124
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +336 -252
- package/docs/demos/Tabs/examples/Tabs.md +28 -21
- package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +44 -44
- 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 +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +37 -3
- package/patternfly-base-no-globals.css +37 -3
- package/patternfly-base-theme-dark-unversioned.css +38 -4
- package/patternfly-base.css +38 -4
- package/patternfly-no-globals.css +2748 -1960
- package/patternfly-theme-dark-unversioned.css +2749 -1961
- package/patternfly.css +2749 -1961
- 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/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
package/components/Nav/nav.css
CHANGED
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
--pf-v5-c-menu__item-description--Color: var(--pf-v5-c-nav--c-menu__item-description--Color);
|
|
350
350
|
}
|
|
351
351
|
.pf-v5-c-nav .pf-v5-c-menu:first-child > .pf-v5-c-menu__content {
|
|
352
|
-
border-
|
|
352
|
+
border-block-end: var(--pf-v5-c-nav--c-menu__item--before--BorderBottomWidth) solid var(--pf-v5-c-nav--c-menu__item--before--BorderBottomColor);
|
|
353
353
|
}
|
|
354
354
|
.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 {
|
|
355
355
|
--pf-v5-c-menu--BoxShadow: var(--pf-v5-c-nav--c-menu--m-flyout--BoxShadow);
|
|
@@ -361,10 +361,10 @@
|
|
|
361
361
|
--pf-v5-c-menu__item--PaddingRight: var(--pf-v5-c-nav--c-menu--m-flyout__item--PaddingRight);
|
|
362
362
|
--pf-v5-c-menu__item--PaddingBottom: var(--pf-v5-c-nav--c-menu--m-flyout__item--PaddingBottom);
|
|
363
363
|
--pf-v5-c-menu__item--PaddingLeft: var(--pf-v5-c-nav--c-menu--m-flyout__item--PaddingLeft);
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
364
|
+
inset-block-start: var(--pf-v5-c-nav--c-menu--m-flyout--c-menu--Top);
|
|
365
|
+
inset-block-end: var(--pf-v5-c-nav--c-menu--m-flyout--c-menu--Bottom);
|
|
366
|
+
inset-inline-start: var(--pf-v5-c-nav--c-menu--m-flyout--c-menu--Left);
|
|
367
|
+
inset-inline-end: var(--pf-v5-c-nav--c-menu--m-flyout--c-menu--Right);
|
|
368
368
|
}
|
|
369
369
|
.pf-v5-c-nav .pf-v5-c-menu.pf-m-flyout .pf-v5-c-menu__item:hover {
|
|
370
370
|
--pf-v5-c-nav--c-menu__item--after--BorderLeftWidth: var(--pf-v5-c-nav--c-menu--m-flyout__item--hover--after--BorderLeftWidth);
|
|
@@ -379,8 +379,8 @@
|
|
|
379
379
|
--pf-v5-c-nav--c-menu--m-flyout--c-menu--Left: auto;
|
|
380
380
|
}
|
|
381
381
|
.pf-v5-c-nav .pf-v5-c-menu .pf-v5-c-divider {
|
|
382
|
-
margin-
|
|
383
|
-
margin-
|
|
382
|
+
margin-block-start: 0;
|
|
383
|
+
margin-block-end: 0;
|
|
384
384
|
}
|
|
385
385
|
.pf-v5-c-nav .pf-v5-c-menu__item {
|
|
386
386
|
position: relative;
|
|
@@ -388,19 +388,19 @@
|
|
|
388
388
|
}
|
|
389
389
|
.pf-v5-c-nav .pf-v5-c-menu__item::before, .pf-v5-c-nav .pf-v5-c-menu__item::after {
|
|
390
390
|
position: absolute;
|
|
391
|
-
|
|
391
|
+
inset-block-start: 0;
|
|
392
392
|
content: "";
|
|
393
393
|
}
|
|
394
394
|
.pf-v5-c-nav .pf-v5-c-menu__item::before {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
border-
|
|
395
|
+
inset-block-end: calc(var(--pf-v5-c-nav--c-menu__item--before--BorderBottomWidth) * -1);
|
|
396
|
+
inset-inline-start: 0;
|
|
397
|
+
inset-inline-end: 0;
|
|
398
|
+
border-block-end: var(--pf-v5-c-nav--c-menu__item--before--BorderBottomWidth) solid var(--pf-v5-c-nav--c-menu__item--before--BorderBottomColor);
|
|
399
399
|
}
|
|
400
400
|
.pf-v5-c-nav .pf-v5-c-menu__item::after {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
border-
|
|
401
|
+
inset-block-end: 0;
|
|
402
|
+
inset-inline-start: 0;
|
|
403
|
+
border-inline-start: var(--pf-v5-c-nav--c-menu__item--after--BorderLeftWidth) solid var(--pf-v5-c-nav--c-menu__item--after--BorderLeftColor);
|
|
404
404
|
}
|
|
405
405
|
.pf-v5-c-nav .pf-v5-c-menu__item.pf-m-current {
|
|
406
406
|
--pf-v5-c-nav--c-menu__item--after--BorderLeftWidth: var(--pf-v5-c-nav--c-menu__item--m-current--after--BorderLeftWidth);
|
|
@@ -414,8 +414,12 @@
|
|
|
414
414
|
--pf-v5-c-menu__item--FontWeight: var(--pf-v5-c-nav--c-menu__list-item--m-drill-up__item--FontWeight);
|
|
415
415
|
}
|
|
416
416
|
.pf-v5-c-nav .pf-v5-c-menu__item-toggle-icon {
|
|
417
|
-
margin-
|
|
417
|
+
margin-inline-start: calc(var(--pf-v5-c-menu__item-toggle-icon--PaddingLeft) * -1);
|
|
418
418
|
}
|
|
419
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav .pf-v5-c-menu__item-toggle-icon {
|
|
420
|
+
scale: -1 1;
|
|
421
|
+
}
|
|
422
|
+
|
|
419
423
|
.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 {
|
|
420
424
|
content: none;
|
|
421
425
|
}
|
|
@@ -454,16 +458,16 @@
|
|
|
454
458
|
white-space: nowrap;
|
|
455
459
|
}
|
|
456
460
|
.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 {
|
|
457
|
-
|
|
458
|
-
|
|
461
|
+
inset-block-start: auto;
|
|
462
|
+
inset-block-end: 0;
|
|
459
463
|
}
|
|
460
464
|
.pf-v5-c-nav.pf-m-horizontal .pf-v5-c-nav__link::before {
|
|
461
|
-
|
|
462
|
-
|
|
465
|
+
inset-inline-start: var(--pf-v5-c-nav--m-horizontal__link--Left);
|
|
466
|
+
inset-inline-end: var(--pf-v5-c-nav--m-horizontal__link--Right);
|
|
463
467
|
}
|
|
464
468
|
.pf-v5-c-nav.pf-m-tertiary .pf-v5-c-nav__link::before {
|
|
465
|
-
|
|
466
|
-
|
|
469
|
+
inset-inline-start: var(--pf-v5-c-nav--m-tertiary__link--Left);
|
|
470
|
+
inset-inline-end: var(--pf-v5-c-nav--m-tertiary__link--Right);
|
|
467
471
|
}
|
|
468
472
|
.pf-v5-c-nav.pf-m-light {
|
|
469
473
|
--pf-v5-c-nav__item--before--BorderColor: var(--pf-v5-c-nav--m-light__item--before--BorderColor);
|
|
@@ -581,20 +585,20 @@
|
|
|
581
585
|
}
|
|
582
586
|
.pf-v5-c-nav .pf-v5-c-divider {
|
|
583
587
|
--pf-v5-c-divider--after--BackgroundColor: var(--pf-v5-c-nav--c-divider--BackgroundColor);
|
|
584
|
-
padding-
|
|
585
|
-
padding-
|
|
586
|
-
margin-
|
|
587
|
-
margin-
|
|
588
|
+
padding-inline-start: var(--pf-v5-c-nav--c-divider--PaddingLeft);
|
|
589
|
+
padding-inline-end: var(--pf-v5-c-nav--c-divider--PaddingRight);
|
|
590
|
+
margin-block-start: var(--pf-v5-c-nav--c-divider--MarginTop);
|
|
591
|
+
margin-block-end: var(--pf-v5-c-nav--c-divider--MarginBottom);
|
|
588
592
|
}
|
|
589
593
|
.pf-v5-c-nav.pf-m-scrollable .pf-v5-c-nav__scroll-button {
|
|
590
594
|
opacity: 1;
|
|
591
595
|
}
|
|
592
596
|
.pf-v5-c-nav.pf-m-scrollable .pf-v5-c-nav__scroll-button:nth-of-type(1) {
|
|
593
|
-
margin-
|
|
597
|
+
margin-inline-end: 0;
|
|
594
598
|
transform: translateX(0);
|
|
595
599
|
}
|
|
596
600
|
.pf-v5-c-nav.pf-m-scrollable .pf-v5-c-nav__scroll-button:nth-of-type(2) {
|
|
597
|
-
margin-
|
|
601
|
+
margin-inline-start: 0;
|
|
598
602
|
transform: translateX(0);
|
|
599
603
|
}
|
|
600
604
|
.pf-v5-c-nav.pf-m-overflow-hidden {
|
|
@@ -604,8 +608,8 @@
|
|
|
604
608
|
.pf-v5-c-nav__list {
|
|
605
609
|
position: relative;
|
|
606
610
|
display: block;
|
|
607
|
-
padding-
|
|
608
|
-
padding-
|
|
611
|
+
padding-block-start: var(--pf-v5-c-nav__list--PaddingTop);
|
|
612
|
+
padding-block-end: var(--pf-v5-c-nav__list--PaddingBottom);
|
|
609
613
|
}
|
|
610
614
|
|
|
611
615
|
.pf-v5-c-nav__item {
|
|
@@ -616,14 +620,14 @@
|
|
|
616
620
|
}
|
|
617
621
|
.pf-v5-c-nav__item.pf-m-expandable::before {
|
|
618
622
|
position: absolute;
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
623
|
+
inset-block-end: calc(var(--pf-v5-c-nav__item--before--BorderWidth) * -1);
|
|
624
|
+
inset-inline-start: 0;
|
|
625
|
+
inset-inline-end: 0;
|
|
622
626
|
content: "";
|
|
623
|
-
border-
|
|
627
|
+
border-block-end: var(--pf-v5-c-nav__item--before--BorderWidth) solid var(--pf-v5-c-nav__item--before--BorderColor);
|
|
624
628
|
}
|
|
625
629
|
.pf-v5-c-nav__item:not(:first-child) {
|
|
626
|
-
margin-
|
|
630
|
+
margin-block-start: var(--pf-v5-c-nav__item--MarginTop);
|
|
627
631
|
}
|
|
628
632
|
.pf-v5-c-nav__item .pf-v5-c-nav__item:not(.pf-m-expanded) .pf-v5-c-nav__toggle-icon {
|
|
629
633
|
transform: rotate(0);
|
|
@@ -634,18 +638,18 @@
|
|
|
634
638
|
}
|
|
635
639
|
@media screen and (min-width: 1200px) {
|
|
636
640
|
.pf-v5-c-nav__item .pf-v5-c-nav__item.pf-m-expandable::before {
|
|
637
|
-
border-
|
|
641
|
+
border-block-end: none;
|
|
638
642
|
}
|
|
639
643
|
}
|
|
640
644
|
.pf-v5-c-nav__item .pf-v5-c-nav__item.pf-m-expandable .pf-v5-c-nav__list::before {
|
|
641
645
|
position: absolute;
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
+
inset-block-start: 0;
|
|
647
|
+
inset-block-end: 0;
|
|
648
|
+
inset-inline-start: 0;
|
|
649
|
+
inset-inline-end: 0;
|
|
646
650
|
pointer-events: none;
|
|
647
651
|
content: "";
|
|
648
|
-
border-
|
|
652
|
+
border-inline-start: var(--pf-v5-c-nav__item--before--BorderWidth) solid var(--pf-v5-c-nav__item--before--BorderColor);
|
|
649
653
|
}
|
|
650
654
|
.pf-v5-c-nav__item .pf-v5-c-nav__toggle-icon {
|
|
651
655
|
transform: rotate(var(--pf-v5-c-nav__item__toggle-icon--Rotate));
|
|
@@ -681,11 +685,11 @@
|
|
|
681
685
|
--pf-v5-c-nav--c-menu--m-flyout--c-menu--Bottom: var(--pf-v5-c-nav__item--m-flyout--c-menu--m-top--Bottom);
|
|
682
686
|
--pf-v5-c-nav--c-menu--m-flyout--c-menu--Right: var(--pf-v5-c-nav__item--m-flyout--c-menu--m-left--Right);
|
|
683
687
|
position: absolute;
|
|
684
|
-
|
|
685
|
-
|
|
688
|
+
inset-block-start: var(--pf-v5-c-nav__item--m-flyout--c-menu--Top);
|
|
689
|
+
inset-inline-start: var(--pf-v5-c-nav__item--m-flyout--c-menu--Left);
|
|
686
690
|
}
|
|
687
691
|
.pf-v5-c-nav__item.pf-m-flyout .pf-v5-c-menu .pf-v5-c-menu {
|
|
688
|
-
|
|
692
|
+
inset-block-start: var(--pf-v5-c-nav__item--m-flyout--c-menu--c-menu--Top);
|
|
689
693
|
}
|
|
690
694
|
.pf-v5-c-nav__item.pf-m-flyout .pf-v5-c-menu .pf-v5-c-menu__list-item:first-child {
|
|
691
695
|
--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);
|
|
@@ -697,22 +701,22 @@
|
|
|
697
701
|
}
|
|
698
702
|
.pf-v5-c-nav__item.pf-m-flyout .pf-v5-c-menu .pf-v5-c-menu__item::before {
|
|
699
703
|
position: absolute;
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
704
|
+
inset-block-end: 0;
|
|
705
|
+
inset-inline-start: 0;
|
|
706
|
+
inset-inline-end: 0;
|
|
703
707
|
content: "";
|
|
704
|
-
border-
|
|
708
|
+
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);
|
|
705
709
|
}
|
|
706
710
|
.pf-v5-c-nav__item.pf-m-flyout .pf-v5-c-menu .pf-v5-c-menu__item:hover::after {
|
|
707
711
|
position: absolute;
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
712
|
+
inset-block-start: var(--pf-v5-c-nav__item--m-flyout--c-menu__item--hover--after--Top);
|
|
713
|
+
inset-block-end: 0;
|
|
714
|
+
inset-inline-start: 0;
|
|
711
715
|
content: "";
|
|
712
|
-
border-
|
|
716
|
+
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);
|
|
713
717
|
}
|
|
714
718
|
.pf-v5-c-nav__item.pf-m-drilldown.pf-m-expanded > .pf-v5-c-nav__subnav {
|
|
715
|
-
|
|
719
|
+
inset-inline-start: 0;
|
|
716
720
|
z-index: var(--pf-v5-c-nav__item--m-drilldown--m-expanded__subnav--ZIndex);
|
|
717
721
|
}
|
|
718
722
|
|
|
@@ -720,7 +724,10 @@
|
|
|
720
724
|
position: relative;
|
|
721
725
|
display: flex;
|
|
722
726
|
align-items: baseline;
|
|
723
|
-
padding: var(--pf-v5-c-nav__link--PaddingTop)
|
|
727
|
+
padding-block-start: var(--pf-v5-c-nav__link--PaddingTop);
|
|
728
|
+
padding-block-end: var(--pf-v5-c-nav__link--PaddingBottom);
|
|
729
|
+
padding-inline-start: var(--pf-v5-c-nav__link--PaddingLeft);
|
|
730
|
+
padding-inline-end: var(--pf-v5-c-nav__link--PaddingRight);
|
|
724
731
|
font-size: var(--pf-v5-c-nav__link--FontSize);
|
|
725
732
|
font-weight: var(--pf-v5-c-nav__link--FontWeight);
|
|
726
733
|
color: var(--pf-v5-c-nav__link--Color);
|
|
@@ -733,63 +740,63 @@
|
|
|
733
740
|
border: 0 solid;
|
|
734
741
|
}
|
|
735
742
|
.pf-v5-c-nav__link::before {
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
743
|
+
inset-block-end: calc(var(--pf-v5-c-nav__link--before--BorderBottomWidth) * -1);
|
|
744
|
+
inset-inline-start: 0;
|
|
745
|
+
inset-inline-end: 0;
|
|
739
746
|
border-color: var(--pf-v5-c-nav__link--before--BorderColor);
|
|
740
|
-
border-
|
|
747
|
+
border-block-end-width: var(--pf-v5-c-nav__link--before--BorderBottomWidth);
|
|
741
748
|
}
|
|
742
749
|
.pf-v5-c-nav__link::after {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
750
|
+
inset-block-start: 0;
|
|
751
|
+
inset-block-end: 0;
|
|
752
|
+
inset-inline-start: 0;
|
|
746
753
|
border: 0 solid;
|
|
747
754
|
border-color: var(--pf-v5-c-nav__link--after--BorderColor);
|
|
748
|
-
border-
|
|
755
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--after--BorderLeftWidth);
|
|
749
756
|
}
|
|
750
757
|
.pf-v5-c-nav__link:hover, .pf-v5-c-nav__link.pf-m-hover {
|
|
751
758
|
color: var(--pf-v5-c-nav__link--hover--Color);
|
|
752
759
|
background-color: var(--pf-v5-c-nav__link--hover--BackgroundColor);
|
|
753
760
|
}
|
|
754
761
|
.pf-v5-c-nav__link:hover::before, .pf-v5-c-nav__link.pf-m-hover::before {
|
|
755
|
-
border-
|
|
762
|
+
border-block-end-width: var(--pf-v5-c-nav__link--hover--before--BorderBottomWidth);
|
|
756
763
|
}
|
|
757
764
|
.pf-v5-c-nav__link:hover::after, .pf-v5-c-nav__link.pf-m-hover::after {
|
|
758
765
|
border-color: var(--pf-v5-c-nav__link--hover--after--BorderColor);
|
|
759
|
-
border-
|
|
766
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--hover--after--BorderLeftWidth);
|
|
760
767
|
}
|
|
761
768
|
.pf-v5-c-nav__link:focus {
|
|
762
769
|
color: var(--pf-v5-c-nav__link--focus--Color);
|
|
763
770
|
background-color: var(--pf-v5-c-nav__link--focus--BackgroundColor);
|
|
764
771
|
}
|
|
765
772
|
.pf-v5-c-nav__link:focus::before {
|
|
766
|
-
border-
|
|
773
|
+
border-block-end-width: var(--pf-v5-c-nav__link--focus--before--BorderBottomWidth);
|
|
767
774
|
}
|
|
768
775
|
.pf-v5-c-nav__link:focus::after {
|
|
769
776
|
border-color: var(--pf-v5-c-nav__link--focus--after--BorderColor);
|
|
770
|
-
border-
|
|
777
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--focus--after--BorderLeftWidth);
|
|
771
778
|
}
|
|
772
779
|
.pf-v5-c-nav__link:active {
|
|
773
780
|
color: var(--pf-v5-c-nav__link--active--Color);
|
|
774
781
|
background-color: var(--pf-v5-c-nav__link--active--BackgroundColor);
|
|
775
782
|
}
|
|
776
783
|
.pf-v5-c-nav__link:active::before {
|
|
777
|
-
border-
|
|
784
|
+
border-block-end-width: var(--pf-v5-c-nav__link--active--before--BorderBottomWidth);
|
|
778
785
|
}
|
|
779
786
|
.pf-v5-c-nav__link:active::after {
|
|
780
787
|
border-color: var(--pf-v5-c-nav__link--active--after--BorderColor);
|
|
781
|
-
border-
|
|
788
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--active--after--BorderLeftWidth);
|
|
782
789
|
}
|
|
783
790
|
.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 {
|
|
784
791
|
color: var(--pf-v5-c-nav__link--m-current--Color);
|
|
785
792
|
background-color: var(--pf-v5-c-nav__link--m-current--BackgroundColor);
|
|
786
793
|
}
|
|
787
794
|
.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 {
|
|
788
|
-
border-
|
|
795
|
+
border-block-end-width: var(--pf-v5-c-nav__link--m-current--before--BorderBottomWidth);
|
|
789
796
|
}
|
|
790
797
|
.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 {
|
|
791
798
|
border-color: var(--pf-v5-c-nav__link--m-current--after--BorderColor);
|
|
792
|
-
border-
|
|
799
|
+
border-inline-start-width: var(--pf-v5-c-nav__link--m-current--after--BorderLeftWidth);
|
|
793
800
|
}
|
|
794
801
|
.pf-v5-c-nav__link, .pf-v5-c-nav__link:hover, .pf-v5-c-nav__link:focus, .pf-v5-c-nav__link:active {
|
|
795
802
|
width: 100%;
|
|
@@ -816,8 +823,8 @@
|
|
|
816
823
|
--pf-v5-c-nav--c-divider--PaddingRight: var(--pf-v5-c-nav__subnav--c-divider--PaddingRight);
|
|
817
824
|
--pf-v5-c-nav--c-divider--PaddingLeft: var(--pf-v5-c-nav__subnav--c-divider--PaddingLeft);
|
|
818
825
|
max-height: var(--pf-v5-c-nav__subnav--MaxHeight);
|
|
819
|
-
padding-
|
|
820
|
-
padding-
|
|
826
|
+
padding-block-end: var(--pf-v5-c-nav__subnav--PaddingBottom);
|
|
827
|
+
padding-inline-start: var(--pf-v5-c-nav__subnav--PaddingLeft);
|
|
821
828
|
transition: var(--pf-v5-c-nav--Transition);
|
|
822
829
|
scrollbar-width: none;
|
|
823
830
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
@@ -841,21 +848,25 @@
|
|
|
841
848
|
|
|
842
849
|
.pf-v5-c-nav__toggle {
|
|
843
850
|
flex: none;
|
|
844
|
-
padding-
|
|
845
|
-
padding-
|
|
846
|
-
margin-
|
|
851
|
+
padding-inline-start: var(--pf-v5-c-nav__toggle--PaddingLeft);
|
|
852
|
+
padding-inline-end: var(--pf-v5-c-nav__toggle--PaddingRight);
|
|
853
|
+
margin-inline-start: auto;
|
|
847
854
|
font-size: var(--pf-v5-c-nav__toggle--FontSize);
|
|
848
855
|
line-height: 1;
|
|
849
856
|
}
|
|
850
857
|
.pf-v5-c-nav__toggle.pf-m-start {
|
|
851
|
-
margin-
|
|
852
|
-
margin-
|
|
858
|
+
margin-inline-start: calc(var(--pf-v5-c-nav__toggle--PaddingRight) * -1);
|
|
859
|
+
margin-inline-end: var(--pf-v5-c-nav__toggle--m-start--MarginRight);
|
|
853
860
|
}
|
|
854
861
|
|
|
855
862
|
.pf-v5-c-nav__toggle-icon {
|
|
856
863
|
display: inline-block;
|
|
857
864
|
transition: var(--pf-v5-c-nav__toggle-icon--Transition);
|
|
858
865
|
}
|
|
866
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav__toggle-icon {
|
|
867
|
+
scale: -1 1;
|
|
868
|
+
}
|
|
869
|
+
|
|
859
870
|
.pf-v5-c-nav__item.pf-m-expanded .pf-v5-c-nav__toggle-icon {
|
|
860
871
|
transform: rotate(var(--pf-v5-c-nav__item--m-expanded__toggle-icon--Rotate));
|
|
861
872
|
}
|
|
@@ -881,21 +892,24 @@
|
|
|
881
892
|
--pf-v5-c-nav--c-divider--MarginBottom: 0;
|
|
882
893
|
}
|
|
883
894
|
.pf-v5-c-nav__section:first-child {
|
|
884
|
-
padding-
|
|
895
|
+
padding-block-start: var(--pf-v5-c-nav__section--first-child--PaddingTop);
|
|
885
896
|
}
|
|
886
897
|
.pf-v5-c-nav__section + .pf-v5-c-nav__section {
|
|
887
|
-
margin-
|
|
898
|
+
margin-block-start: var(--pf-v5-c-nav__section--section--MarginTop);
|
|
888
899
|
}
|
|
889
900
|
.pf-v5-c-nav__section:last-child {
|
|
890
|
-
padding-
|
|
901
|
+
padding-block-end: var(--pf-v5-c-nav__section--last-child--PaddingBottom);
|
|
891
902
|
}
|
|
892
903
|
|
|
893
904
|
.pf-v5-c-nav__section-title {
|
|
894
|
-
padding: var(--pf-v5-c-nav__section-title--PaddingTop)
|
|
895
|
-
|
|
905
|
+
padding-block-start: var(--pf-v5-c-nav__section-title--PaddingTop);
|
|
906
|
+
padding-block-end: var(--pf-v5-c-nav__section-title--PaddingBottom);
|
|
907
|
+
padding-inline-start: var(--pf-v5-c-nav__section-title--PaddingLeft);
|
|
908
|
+
padding-inline-end: var(--pf-v5-c-nav__section-title--PaddingRight);
|
|
909
|
+
margin-block-end: var(--pf-v5-c-nav__section-title--MarginBottom);
|
|
896
910
|
font-size: var(--pf-v5-c-nav__section-title--FontSize);
|
|
897
911
|
color: var(--pf-v5-c-nav__section-title--Color);
|
|
898
|
-
border-
|
|
912
|
+
border-block-end: var(--pf-v5-c-nav__section-title--BorderBottomWidth) solid var(--pf-v5-c-nav__section-title--BorderBottomColor);
|
|
899
913
|
}
|
|
900
914
|
|
|
901
915
|
.pf-v5-c-nav__scroll-button {
|
|
@@ -908,13 +922,18 @@
|
|
|
908
922
|
opacity: 0;
|
|
909
923
|
transition: var(--pf-v5-c-nav__scroll-button--Transition);
|
|
910
924
|
}
|
|
925
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav__scroll-button > * {
|
|
926
|
+
scale: -1 1;
|
|
927
|
+
}
|
|
928
|
+
|
|
911
929
|
.pf-v5-c-nav__scroll-button::before {
|
|
912
930
|
position: absolute;
|
|
913
|
-
|
|
914
|
-
|
|
931
|
+
inset-block-start: 0;
|
|
932
|
+
inset-block-end: 0;
|
|
915
933
|
content: "";
|
|
916
|
-
border: solid var(--pf-v5-c-nav__scroll-button--before--BorderColor);
|
|
917
|
-
border-width:
|
|
934
|
+
border: 0 solid var(--pf-v5-c-nav__scroll-button--before--BorderColor);
|
|
935
|
+
border-inline-start-width: var(--pf-v5-c-nav__scroll-button--before--BorderLeftWidth);
|
|
936
|
+
border-inline-end-width: var(--pf-v5-c-nav__scroll-button--before--BorderRightWidth);
|
|
918
937
|
}
|
|
919
938
|
.pf-v5-c-nav__scroll-button:hover {
|
|
920
939
|
color: var(--pf-v5-c-nav__scroll-button--hover--Color);
|
|
@@ -931,19 +950,27 @@
|
|
|
931
950
|
}
|
|
932
951
|
.pf-v5-c-nav__scroll-button:nth-of-type(1) {
|
|
933
952
|
--pf-v5-c-nav__scroll-button--before--BorderRightWidth: var(--pf-v5-c-nav__scroll-button--before--BorderWidth);
|
|
934
|
-
margin-
|
|
953
|
+
margin-inline-end: calc(var(--pf-v5-c-nav__scroll-button--Width) * -1);
|
|
935
954
|
transform: translateX(-100%);
|
|
936
955
|
}
|
|
956
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav__scroll-button:nth-of-type(1) {
|
|
957
|
+
transform: translateX(calc(-100% * var(--pf-v5-global--inverse--multiplier)));
|
|
958
|
+
}
|
|
959
|
+
|
|
937
960
|
.pf-v5-c-nav__scroll-button:nth-of-type(1)::before {
|
|
938
|
-
|
|
961
|
+
inset-inline-end: 0;
|
|
939
962
|
}
|
|
940
963
|
.pf-v5-c-nav__scroll-button:nth-of-type(2) {
|
|
941
964
|
--pf-v5-c-nav__scroll-button--before--BorderLeftWidth: var(--pf-v5-c-nav__scroll-button--before--BorderWidth);
|
|
942
|
-
margin-
|
|
965
|
+
margin-inline-start: calc(var(--pf-v5-c-nav__scroll-button--Width) * -1);
|
|
943
966
|
transform: translateX(100%);
|
|
944
967
|
}
|
|
968
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-nav__scroll-button:nth-of-type(2) {
|
|
969
|
+
transform: translateX(calc(100% * var(--pf-v5-global--inverse--multiplier)));
|
|
970
|
+
}
|
|
971
|
+
|
|
945
972
|
.pf-v5-c-nav__scroll-button:nth-of-type(2)::before {
|
|
946
|
-
|
|
973
|
+
inset-inline-start: 0;
|
|
947
974
|
}
|
|
948
975
|
|
|
949
976
|
:where(.pf-v5-theme-dark) .pf-v5-c-nav {
|
|
@@ -965,10 +992,10 @@
|
|
|
965
992
|
--pf-v5-c-nav__link--m-current--before--BorderBottomWidth: 0;
|
|
966
993
|
}
|
|
967
994
|
:where(.pf-v5-theme-dark) .pf-v5-c-nav__link::before {
|
|
968
|
-
|
|
995
|
+
inset-block-end: 0;
|
|
969
996
|
}
|
|
970
997
|
:where(.pf-v5-theme-dark) .pf-v5-c-nav__link::after {
|
|
971
|
-
|
|
998
|
+
inset-block-start: var(--pf-v5-c-nav__item--item__link--after--Top);
|
|
972
999
|
}
|
|
973
1000
|
:where(.pf-v5-theme-dark) .pf-v5-c-nav__item + .pf-v5-c-nav__item {
|
|
974
1001
|
--pf-v5-c-nav__link--after--Top: var(--pf-v5-c-nav__item--item__link--after--Top);
|