@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.scss
CHANGED
|
@@ -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
|
}
|
|
@@ -1,106 +1,87 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-notification-badge--BackgroundColor: transparent;
|
|
3
|
+
--pf-v5-c-notification-badge--MinWidth: 40px;
|
|
4
|
+
--pf-v5-c-notification-badge--Gap: var(--pf-t--global--spacer--xs);
|
|
5
|
+
--pf-v5-c-notification-badge--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
6
|
+
--pf-v5-c-notification-badge--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
7
|
+
--pf-v5-c-notification-badge--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
8
|
+
--pf-v5-c-notification-badge--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
9
|
+
--pf-v5-c-notification-badge--MarginTop: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
10
|
+
--pf-v5-c-notification-badge--MarginRight: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
11
|
+
--pf-v5-c-notification-badge--MarginBottom: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
12
|
+
--pf-v5-c-notification-badge--MarginLeft: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
13
|
+
--pf-v5-c-notification-badge--before--BorderColor: transparent;
|
|
14
|
+
--pf-v5-c-notification-badge--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
15
|
+
--pf-v5-c-notification-badge--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
|
16
|
+
--pf-v5-c-notification-badge--m-read--Color: var(--pf-t--global--text--color--regular);
|
|
17
|
+
--pf-v5-c-notification-badge--m-read--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
18
|
+
--pf-v5-c-notification-badge--m-read--hover--before--BorderColor: var(--pf-t--global--border--color--hover);
|
|
19
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
|
|
20
|
+
--pf-v5-c-notification-badge--m-read--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
21
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
22
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
|
|
23
|
+
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-t--global--icon--color--on-brand--default);
|
|
24
|
+
--pf-v5-c-notification-badge--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
25
|
+
--pf-v5-c-notification-badge--m-unread--hover--BackgroundColor: var(--pf-t--global--color--brand--hover);
|
|
26
|
+
--pf-v5-c-notification-badge--m-unread--m-expanded--BackgroundColor: var(--pf-t--global--color--brand--active);
|
|
27
|
+
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-t--global--icon--color--status--on-danger--default);
|
|
28
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-t--global--color--status--danger--default);
|
|
29
|
+
--pf-v5-c-notification-badge--m-attention--hover--BackgroundColor: var(--pf-t--global--color--status--danger--hover);
|
|
30
|
+
--pf-v5-c-notification-badge--m-attention--m-expanded--BackgroundColor: var(--pf-t--global--color--status--danger--active);
|
|
31
|
+
}
|
|
32
|
+
|
|
1
33
|
.pf-v5-c-notification-badge {
|
|
2
|
-
|
|
3
|
-
--pf-v5-c-notification-badge--
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--pf-v5-c-notification-badge--
|
|
11
|
-
|
|
12
|
-
--pf-v5-c-notification-badge--
|
|
13
|
-
--pf-v5-c-notification-badge--
|
|
14
|
-
--pf-v5-c-notification-badge--
|
|
15
|
-
--pf-v5-c-notification-badge--
|
|
16
|
-
--pf-v5-c-notification-badge--after--Height: auto;
|
|
17
|
-
--pf-v5-c-notification-badge--after--BackgroundColor: transparent;
|
|
18
|
-
--pf-v5-c-notification-badge--after--TranslateX: 0;
|
|
19
|
-
--pf-v5-c-notification-badge--after--TranslateY: 0;
|
|
20
|
-
--pf-v5-c-notification-badge__i--Width: auto;
|
|
21
|
-
--pf-v5-c-notification-badge__i--Height: auto;
|
|
22
|
-
--pf-v5-c-notification-badge--m-read--after--BorderColor: transparent;
|
|
23
|
-
--pf-v5-c-notification-badge--m-read--after--BackgroundColor: transparent;
|
|
24
|
-
--pf-v5-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-200);
|
|
25
|
-
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-v5-global--Color--light-100);
|
|
26
|
-
--pf-v5-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-v5-global--active-color--100);
|
|
27
|
-
--pf-v5-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-v5-global--primary-color--200);
|
|
28
|
-
--pf-v5-c-notification-badge--m-unread--m-expanded--after--BackgroundColor: var(--pf-v5-global--primary-color--200);
|
|
29
|
-
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-v5-global--Color--light-100);
|
|
30
|
-
--pf-v5-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-v5-global--danger-color--100);
|
|
31
|
-
--pf-v5-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-v5-global--danger-color--200);
|
|
32
|
-
--pf-v5-c-notification-badge--m-attention--m-expanded--after--BackgroundColor: var(--pf-v5-global--danger-color--200);
|
|
33
|
-
--pf-v5-c-notification-badge__count--MarginLeft: var(--pf-v5-global--spacer--xs);
|
|
34
|
-
--pf-v5-c-notification-badge--pf-v5-pficon-attention-bell--LineHeight: var(--pf-v5-global--LineHeight--sm);
|
|
35
|
-
position: relative;
|
|
36
|
-
display: inline-block;
|
|
37
|
-
padding: var(--pf-v5-c-notification-badge--PaddingTop) var(--pf-v5-c-notification-badge--PaddingRight) var(--pf-v5-c-notification-badge--PaddingBottom) var(--pf-v5-c-notification-badge--PaddingLeft);
|
|
38
|
-
margin: var(--pf-v5-c-notification-badge--MarginTop) var(--pf-v5-c-notification-badge--MarginRight) var(--pf-v5-c-notification-badge--MarginBottom) var(--pf-v5-c-notification-badge--MarginLeft);
|
|
39
|
-
background-color: var(--pf-v5-c-notification-badge--after--BackgroundColor);
|
|
40
|
-
border-radius: var(--pf-v5-c-notification-badge--after--BorderRadius);
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
gap: var(--pf-v5-c-notification-badge--Gap);
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
padding-block-start: var(--pf-v5-c-notification-badge--PaddingTop);
|
|
39
|
+
padding-block-end: var(--pf-v5-c-notification-badge--PaddingBottom);
|
|
40
|
+
padding-inline-start: var(--pf-v5-c-notification-badge--PaddingLeft);
|
|
41
|
+
padding-inline-end: var(--pf-v5-c-notification-badge--PaddingRight);
|
|
42
|
+
margin-block-start: var(--pf-v5-c-notification-badge--MarginTop);
|
|
43
|
+
margin-block-end: var(--pf-v5-c-notification-badge--MarginBottom);
|
|
44
|
+
margin-inline-start: var(--pf-v5-c-notification-badge--MarginLeft);
|
|
45
|
+
margin-inline-end: var(--pf-v5-c-notification-badge--MarginRight);
|
|
46
|
+
background-color: var(--pf-v5-c-notification-badge--BackgroundColor);
|
|
47
|
+
border-radius: var(--pf-v5-c-notification-badge--BorderRadius);
|
|
41
48
|
}
|
|
42
49
|
.pf-v5-c-notification-badge::before {
|
|
43
50
|
position: absolute;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
width: var(--pf-v5-c-notification-badge--after--Width);
|
|
49
|
-
height: var(--pf-v5-c-notification-badge--after--Height);
|
|
51
|
+
inset-block-start: 0;
|
|
52
|
+
inset-block-end: 0;
|
|
53
|
+
inset-inline-start: 0;
|
|
54
|
+
inset-inline-end: 0;
|
|
50
55
|
content: "";
|
|
51
|
-
border: var(--pf-v5-c-notification-badge--
|
|
52
|
-
border-radius: var(--pf-v5-c-notification-badge--
|
|
53
|
-
transform: translate(var(--pf-v5-c-notification-badge--
|
|
54
|
-
}
|
|
55
|
-
.pf-v5-c-notification-badge > i {
|
|
56
|
-
width: var(--pf-v5-c-notification-badge__i--Width);
|
|
57
|
-
height: var(--pf-v5-c-notification-badge__i--Height);
|
|
58
|
-
}
|
|
59
|
-
.pf-v5-c-notification-badge > * {
|
|
60
|
-
position: relative;
|
|
61
|
-
}
|
|
62
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-attention-bell,
|
|
63
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-bell {
|
|
64
|
-
display: inline-block;
|
|
65
|
-
line-height: var(--pf-v5-c-notification-badge--pf-v5-pficon-attention-bell--LineHeight);
|
|
66
|
-
}
|
|
67
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-attention-bell::before,
|
|
68
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-bell::before {
|
|
69
|
-
vertical-align: bottom;
|
|
56
|
+
border: var(--pf-v5-c-notification-badge--before--BorderWidth) solid var(--pf-v5-c-notification-badge--before--BorderColor);
|
|
57
|
+
border-radius: var(--pf-v5-c-notification-badge--BorderRadius);
|
|
58
|
+
transform: translate(var(--pf-v5-c-notification-badge--before--TranslateX), var(--pf-v5-c-notification-badge--before--TranslateY));
|
|
70
59
|
}
|
|
71
60
|
.pf-v5-c-notification-badge.pf-m-read {
|
|
72
|
-
--pf-v5-c-notification-badge--
|
|
73
|
-
--pf-v5-c-notification-badge--
|
|
61
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-read--BackgroundColor);
|
|
62
|
+
--pf-v5-c-notification-badge--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--before--BorderColor);
|
|
74
63
|
color: var(--pf-v5-c-notification-badge--m-read--Color, inherit);
|
|
75
64
|
}
|
|
65
|
+
.pf-v5-c-notification-badge.pf-m-read:hover {
|
|
66
|
+
--pf-v5-c-notification-badge--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--hover--before--BorderColor);
|
|
67
|
+
}
|
|
76
68
|
.pf-v5-c-notification-badge.pf-m-unread {
|
|
77
|
-
--pf-v5-c-notification-badge--
|
|
69
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--BackgroundColor);
|
|
78
70
|
color: var(--pf-v5-c-notification-badge--m-unread--Color);
|
|
79
71
|
}
|
|
80
72
|
.pf-v5-c-notification-badge.pf-m-unread:hover {
|
|
81
|
-
--pf-v5-c-notification-badge--
|
|
73
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--hover--BackgroundColor);
|
|
82
74
|
}
|
|
83
75
|
.pf-v5-c-notification-badge.pf-m-attention {
|
|
84
|
-
--pf-v5-c-notification-badge--
|
|
76
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--BackgroundColor);
|
|
85
77
|
color: var(--pf-v5-c-notification-badge--m-attention--Color);
|
|
86
78
|
}
|
|
87
79
|
.pf-v5-c-notification-badge.pf-m-attention:hover {
|
|
88
|
-
--pf-v5-c-notification-badge--m-attention--
|
|
80
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--hover--BackgroundColor);
|
|
89
81
|
}
|
|
90
82
|
.pf-v5-c-notification-badge.pf-m-expanded {
|
|
91
|
-
--pf-v5-c-notification-badge--m-read--
|
|
92
|
-
--pf-v5-c-notification-badge--m-read--
|
|
93
|
-
--pf-v5-c-notification-badge--m-unread--
|
|
94
|
-
--pf-v5-c-notification-badge--m-attention--
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.pf-v5-c-notification-badge__count {
|
|
98
|
-
margin-left: var(--pf-v5-c-notification-badge__count--MarginLeft);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-notification-badge {
|
|
102
|
-
--pf-v5-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
103
|
-
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-v5-global--primary-color--400);
|
|
104
|
-
--pf-v5-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
|
105
|
-
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-v5-global--palette--black-900);
|
|
83
|
+
--pf-v5-c-notification-badge--m-read--BackgroundColor: var(--pf-v5-c-notification-badge--m-read--m-expanded--BackgroundColor);
|
|
84
|
+
--pf-v5-c-notification-badge--m-read--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor);
|
|
85
|
+
--pf-v5-c-notification-badge--m-unread--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--m-expanded--BackgroundColor);
|
|
86
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--m-expanded--BackgroundColor);
|
|
106
87
|
}
|