@patternfly/patternfly 6.0.0-alpha.2 → 6.0.0-alpha.21
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/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +29 -4
- package/base/_globals.scss +15 -24
- package/base/_variables.scss +8 -0
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +15 -20
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +385 -222
- package/base/tokens/_tokens-dark.scss +117 -82
- package/base/tokens/_tokens-default.scss +181 -144
- package/base/tokens/_tokens-font.scss +105 -0
- package/base/tokens/_tokens-palette.scss +2 -4
- package/components/AboutModalBox/about-modal-box.css +80 -108
- package/components/AboutModalBox/about-modal-box.scss +64 -78
- package/components/Accordion/accordion.css +43 -21
- package/components/Accordion/accordion.scss +45 -21
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/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 +25 -17
- package/components/Badge/badge.scss +27 -19
- 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 +167 -195
- package/components/Button/button.scss +185 -157
- 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 +12 -10
- package/components/Check/check.scss +17 -12
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +100 -97
- package/components/Content/content.scss +101 -98
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +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 +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +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 +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +68 -125
- package/components/Masthead/masthead.scss +123 -153
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +89 -100
- package/components/MenuToggle/menu-toggle.scss +92 -112
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +162 -133
- package/components/Nav/nav.scss +162 -135
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +232 -271
- package/components/Page/page.scss +180 -231
- package/components/Pagination/pagination.css +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 +16 -13
- package/components/Radio/radio.scss +20 -14
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +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 +10 -6
- package/components/Switch/switch.scss +11 -7
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +176 -159
- package/components/Table/table.scss +177 -165
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +57 -44
- package/components/Toolbar/toolbar.scss +45 -26
- 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/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +95 -0
- package/docs/components/Alert/examples/Alert.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +75 -32
- 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 +125 -17
- 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 +250 -160
- package/docs/components/Login/examples/Login.md +5 -0
- package/docs/components/Masthead/examples/masthead.md +7 -54
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +594 -543
- package/docs/components/MenuToggle/examples/MenuToggle.md +151 -138
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -25
- package/docs/components/Nav/examples/Navigation.md +239 -113
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/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/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +570 -2803
- 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/AboutModal/examples/AboutModal.md +85 -10
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- 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 +139 -79
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
- package/docs/demos/DataList/examples/DataList.md +524 -354
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +793 -277
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +420 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +824 -451
- package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
- package/docs/demos/Table/examples/Table.md +2313 -1887
- package/docs/demos/Tabs/examples/Tabs.md +528 -71
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +870 -1044
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- 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 +412 -231
- package/patternfly-base-no-globals.css +412 -231
- package/patternfly-base-theme-dark-unversioned.css +429 -249
- package/patternfly-base.css +429 -249
- package/patternfly-no-globals.css +4150 -3510
- package/patternfly-theme-dark-unversioned.css +4167 -3528
- package/patternfly.css +4167 -3528
- 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/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/Page/themes/dark/page.scss +0 -69
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
--pf-v5-c-accordion__toggle--after--Width: var(--pf-v5-global--BorderWidth--lg);
|
|
27
27
|
--pf-v5-c-accordion__toggle--m-expanded--after--BackgroundColor: var(--pf-v5-global--primary-color--100);
|
|
28
28
|
--pf-v5-c-accordion__toggle--BackgroundColor: transparent;
|
|
29
|
+
--pf-v5-c-accordion__toggle--JustifyContent: space-between;
|
|
30
|
+
--pf-v5-c-accordion__toggle--ColumnGap: 0;
|
|
31
|
+
--pf-v5-c-accordion--m-toggle-start__toggle--JustifyContent: start;
|
|
32
|
+
--pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-v5-global--spacer--md);
|
|
29
33
|
--pf-v5-c-accordion__toggle-text--MaxWidth: calc(100% - var(--pf-v5-global--spacer--lg));
|
|
30
34
|
--pf-v5-c-accordion__toggle--hover__toggle-text--Color: var(--pf-v5-global--link--Color);
|
|
31
35
|
--pf-v5-c-accordion__toggle--active__toggle-text--Color: var(--pf-v5-global--link--Color);
|
|
@@ -79,6 +83,10 @@
|
|
|
79
83
|
color: var(--pf-v5-global--Color--100);
|
|
80
84
|
background-color: var(--pf-v5-c-accordion--BackgroundColor);
|
|
81
85
|
}
|
|
86
|
+
.pf-v5-c-accordion.pf-m-toggle-start {
|
|
87
|
+
--pf-v5-c-accordion__toggle--JustifyContent: var(--pf-v5-c-accordion--m-toggle-start__toggle--JustifyContent);
|
|
88
|
+
--pf-v5-c-accordion__toggle--ColumnGap: var(--pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap);
|
|
89
|
+
}
|
|
82
90
|
.pf-v5-c-accordion.pf-m-display-lg {
|
|
83
91
|
--pf-v5-c-accordion__toggle--PaddingTop: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingTop);
|
|
84
92
|
--pf-v5-c-accordion__toggle--PaddingRight: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingRight);
|
|
@@ -105,39 +113,47 @@
|
|
|
105
113
|
}
|
|
106
114
|
.pf-v5-c-accordion.pf-m-bordered {
|
|
107
115
|
--pf-v5-c-accordion__toggle--after--Top: var(--pf-v5-c-accordion--m-bordered__toggle--after--Top);
|
|
108
|
-
border-
|
|
116
|
+
border-block-start: var(--pf-v5-c-accordion--m-bordered--BorderTopWidth) solid var(--pf-v5-c-accordion--m-bordered--BorderTopColor);
|
|
109
117
|
}
|
|
110
118
|
.pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__toggle::before {
|
|
111
119
|
position: absolute;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
120
|
+
inset-block-start: 0;
|
|
121
|
+
inset-block-end: 0;
|
|
122
|
+
inset-inline-start: 0;
|
|
123
|
+
inset-inline-end: 0;
|
|
116
124
|
content: "";
|
|
117
|
-
border:
|
|
118
|
-
border-
|
|
125
|
+
border-color: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderColor);
|
|
126
|
+
border-style: solid;
|
|
127
|
+
border-block-start-width: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderTopWidth);
|
|
128
|
+
border-block-end-width: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth);
|
|
129
|
+
border-inline-start-width: 0;
|
|
130
|
+
border-inline-end-width: 0;
|
|
119
131
|
}
|
|
120
132
|
.pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__toggle.pf-m-expanded {
|
|
121
133
|
--pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth: 0;
|
|
122
134
|
}
|
|
123
135
|
.pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__expandable-content.pf-m-expanded .pf-v5-c-accordion__expandable-content-body:last-child::before {
|
|
124
136
|
position: absolute;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
137
|
+
inset-block-start: 0;
|
|
138
|
+
inset-block-end: 0;
|
|
139
|
+
inset-inline-start: 0;
|
|
140
|
+
inset-inline-end: 0;
|
|
129
141
|
pointer-events: none;
|
|
130
142
|
content: "";
|
|
131
|
-
border-
|
|
143
|
+
border-block-end: var(--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth) solid var(--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor);
|
|
132
144
|
}
|
|
133
145
|
|
|
134
146
|
.pf-v5-c-accordion__toggle {
|
|
135
147
|
position: relative;
|
|
136
148
|
display: flex;
|
|
149
|
+
column-gap: var(--pf-v5-c-accordion__toggle--ColumnGap);
|
|
137
150
|
align-items: center;
|
|
138
|
-
justify-content:
|
|
151
|
+
justify-content: var(--pf-v5-c-accordion__toggle--JustifyContent);
|
|
139
152
|
width: 100%;
|
|
140
|
-
padding: var(--pf-v5-c-accordion__toggle--PaddingTop)
|
|
153
|
+
padding-block-start: var(--pf-v5-c-accordion__toggle--PaddingTop);
|
|
154
|
+
padding-block-end: var(--pf-v5-c-accordion__toggle--PaddingBottom);
|
|
155
|
+
padding-inline-start: var(--pf-v5-c-accordion__toggle--PaddingLeft);
|
|
156
|
+
padding-inline-end: var(--pf-v5-c-accordion__toggle--PaddingRight);
|
|
141
157
|
font-family: var(--pf-v5-c-accordion__toggle--FontFamily, inherit);
|
|
142
158
|
font-size: var(--pf-v5-c-accordion__toggle--FontSize, inherit);
|
|
143
159
|
background-color: var(--pf-v5-c-accordion__toggle--BackgroundColor);
|
|
@@ -145,9 +161,9 @@
|
|
|
145
161
|
}
|
|
146
162
|
.pf-v5-c-accordion__toggle::after {
|
|
147
163
|
position: absolute;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
164
|
+
inset-block-start: var(--pf-v5-c-accordion__toggle--after--Top);
|
|
165
|
+
inset-block-end: 0;
|
|
166
|
+
inset-inline-start: 0;
|
|
151
167
|
width: var(--pf-v5-c-accordion__toggle--after--Width);
|
|
152
168
|
content: "";
|
|
153
169
|
background-color: var(--pf-v5-c-accordion__toggle--after--BackgroundColor);
|
|
@@ -193,6 +209,9 @@
|
|
|
193
209
|
.pf-v5-c-accordion__toggle-icon {
|
|
194
210
|
transition: var(--pf-v5-c-accordion__toggle-icon--Transition);
|
|
195
211
|
}
|
|
212
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-accordion__toggle-icon {
|
|
213
|
+
scale: -1 1;
|
|
214
|
+
}
|
|
196
215
|
|
|
197
216
|
.pf-v5-c-accordion__expandable-content {
|
|
198
217
|
font-size: var(--pf-v5-c-accordion__expandable-content--FontSize);
|
|
@@ -208,13 +227,16 @@
|
|
|
208
227
|
|
|
209
228
|
.pf-v5-c-accordion__expandable-content-body {
|
|
210
229
|
position: relative;
|
|
211
|
-
padding: var(--pf-v5-c-accordion__expandable-content-body--PaddingTop)
|
|
230
|
+
padding-block-start: var(--pf-v5-c-accordion__expandable-content-body--PaddingTop);
|
|
231
|
+
padding-block-end: var(--pf-v5-c-accordion__expandable-content-body--PaddingBottom);
|
|
232
|
+
padding-inline-start: var(--pf-v5-c-accordion__expandable-content-body--PaddingLeft);
|
|
233
|
+
padding-inline-end: var(--pf-v5-c-accordion__expandable-content-body--PaddingRight);
|
|
212
234
|
}
|
|
213
235
|
.pf-v5-c-accordion__expandable-content-body::after {
|
|
214
236
|
position: absolute;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
237
|
+
inset-block-start: 0;
|
|
238
|
+
inset-block-end: 0;
|
|
239
|
+
inset-inline-start: 0;
|
|
218
240
|
width: var(--pf-v5-c-accordion__expandable-content-body--after--Width);
|
|
219
241
|
content: "";
|
|
220
242
|
background-color: var(--pf-v5-c-accordion__expandable-content-body--after--BackgroundColor);
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
--#{$accordion}__toggle--after--Width: var(--#{$pf-global}--BorderWidth--lg);
|
|
20
20
|
--#{$accordion}__toggle--m-expanded--after--BackgroundColor: var(--#{$pf-global}--primary-color--100);
|
|
21
21
|
--#{$accordion}__toggle--BackgroundColor: transparent;
|
|
22
|
+
--#{$accordion}__toggle--JustifyContent: space-between;
|
|
23
|
+
--#{$accordion}__toggle--ColumnGap: 0;
|
|
24
|
+
|
|
25
|
+
// Accordion toggle toggle-start modifier
|
|
26
|
+
--#{$accordion}--m-toggle-start__toggle--JustifyContent: start;
|
|
27
|
+
--#{$accordion}--m-toggle-start__toggle--ColumnGap: var(--#{$pf-global}--spacer--md);
|
|
22
28
|
|
|
23
29
|
// accordion toggle text
|
|
24
30
|
--#{$accordion}__toggle-text--MaxWidth: calc(100% - var(--#{$pf-global}--spacer--lg));
|
|
@@ -85,6 +91,11 @@
|
|
|
85
91
|
|
|
86
92
|
background-color: var(--#{$accordion}--BackgroundColor);
|
|
87
93
|
|
|
94
|
+
&.pf-m-toggle-start {
|
|
95
|
+
--#{$accordion}__toggle--JustifyContent: var(--#{$accordion}--m-toggle-start__toggle--JustifyContent);
|
|
96
|
+
--#{$accordion}__toggle--ColumnGap: var(--#{$accordion}--m-toggle-start__toggle--ColumnGap);
|
|
97
|
+
}
|
|
98
|
+
|
|
88
99
|
&.pf-m-display-lg {
|
|
89
100
|
--#{$accordion}__toggle--PaddingTop: var(--#{$accordion}--m-display-lg__toggle--PaddingTop);
|
|
90
101
|
--#{$accordion}__toggle--PaddingRight: var(--#{$accordion}--m-display-lg__toggle--PaddingRight);
|
|
@@ -114,18 +125,22 @@
|
|
|
114
125
|
&.pf-m-bordered {
|
|
115
126
|
--#{$accordion}__toggle--after--Top: var(--#{$accordion}--m-bordered__toggle--after--Top);
|
|
116
127
|
|
|
117
|
-
border-
|
|
128
|
+
border-block-start: var(--#{$accordion}--m-bordered--BorderTopWidth) solid var(--#{$accordion}--m-bordered--BorderTopColor);
|
|
118
129
|
|
|
119
130
|
.#{$accordion}__toggle {
|
|
120
131
|
&::before {
|
|
121
132
|
position: absolute;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
133
|
+
inset-block-start: 0;
|
|
134
|
+
inset-block-end: 0;
|
|
135
|
+
inset-inline-start: 0;
|
|
136
|
+
inset-inline-end: 0;
|
|
126
137
|
content: "";
|
|
127
|
-
border:
|
|
128
|
-
border-
|
|
138
|
+
border-color: var(--#{$accordion}--m-bordered__toggle--before--BorderColor);
|
|
139
|
+
border-style: solid;
|
|
140
|
+
border-block-start-width: var(--#{$accordion}--m-bordered__toggle--before--BorderTopWidth);
|
|
141
|
+
border-block-end-width: var(--#{$accordion}--m-bordered__toggle--before--BorderBottomWidth);
|
|
142
|
+
border-inline-start-width: 0;
|
|
143
|
+
border-inline-end-width: 0;
|
|
129
144
|
}
|
|
130
145
|
|
|
131
146
|
&.pf-m-expanded {
|
|
@@ -139,13 +154,13 @@
|
|
|
139
154
|
.#{$accordion}__expandable-content-body:last-child {
|
|
140
155
|
&::before {
|
|
141
156
|
position: absolute;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
157
|
+
inset-block-start: 0;
|
|
158
|
+
inset-block-end: 0;
|
|
159
|
+
inset-inline-start: 0;
|
|
160
|
+
inset-inline-end: 0;
|
|
146
161
|
pointer-events: none;
|
|
147
162
|
content: "";
|
|
148
|
-
border-
|
|
163
|
+
border-block-end: var(--#{$accordion}--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth) solid var(--#{$accordion}--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor);
|
|
149
164
|
}
|
|
150
165
|
}
|
|
151
166
|
}
|
|
@@ -157,10 +172,14 @@
|
|
|
157
172
|
.#{$accordion}__toggle {
|
|
158
173
|
position: relative;
|
|
159
174
|
display: flex;
|
|
175
|
+
column-gap: var(--#{$accordion}__toggle--ColumnGap);
|
|
160
176
|
align-items: center;
|
|
161
|
-
justify-content:
|
|
177
|
+
justify-content: var(--#{$accordion}__toggle--JustifyContent);
|
|
162
178
|
width: 100%;
|
|
163
|
-
padding: var(--#{$accordion}__toggle--PaddingTop)
|
|
179
|
+
padding-block-start: var(--#{$accordion}__toggle--PaddingTop);
|
|
180
|
+
padding-block-end: var(--#{$accordion}__toggle--PaddingBottom);
|
|
181
|
+
padding-inline-start: var(--#{$accordion}__toggle--PaddingLeft);
|
|
182
|
+
padding-inline-end: var(--#{$accordion}__toggle--PaddingRight);
|
|
164
183
|
font-family: var(--#{$accordion}__toggle--FontFamily, inherit);
|
|
165
184
|
font-size: var(--#{$accordion}__toggle--FontSize, inherit);
|
|
166
185
|
background-color: var(--#{$accordion}__toggle--BackgroundColor);
|
|
@@ -168,9 +187,9 @@
|
|
|
168
187
|
|
|
169
188
|
&::after {
|
|
170
189
|
position: absolute;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
190
|
+
inset-block-start: var(--#{$accordion}__toggle--after--Top);
|
|
191
|
+
inset-block-end: 0;
|
|
192
|
+
inset-inline-start: 0;
|
|
174
193
|
width: var(--#{$accordion}__toggle--after--Width);
|
|
175
194
|
content: "";
|
|
176
195
|
background-color: var(--#{$accordion}__toggle--after--BackgroundColor);
|
|
@@ -223,6 +242,8 @@
|
|
|
223
242
|
}
|
|
224
243
|
|
|
225
244
|
.#{$accordion}__toggle-icon {
|
|
245
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
246
|
+
|
|
226
247
|
transition: var(--#{$accordion}__toggle-icon--Transition);
|
|
227
248
|
}
|
|
228
249
|
|
|
@@ -242,13 +263,16 @@
|
|
|
242
263
|
|
|
243
264
|
.#{$accordion}__expandable-content-body {
|
|
244
265
|
position: relative;
|
|
245
|
-
padding: var(--#{$accordion}__expandable-content-body--PaddingTop)
|
|
266
|
+
padding-block-start: var(--#{$accordion}__expandable-content-body--PaddingTop);
|
|
267
|
+
padding-block-end: var(--#{$accordion}__expandable-content-body--PaddingBottom);
|
|
268
|
+
padding-inline-start: var(--#{$accordion}__expandable-content-body--PaddingLeft);
|
|
269
|
+
padding-inline-end: var(--#{$accordion}__expandable-content-body--PaddingRight);
|
|
246
270
|
|
|
247
271
|
&::after {
|
|
248
272
|
position: absolute;
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
273
|
+
inset-block-start: 0;
|
|
274
|
+
inset-block-end: 0;
|
|
275
|
+
inset-inline-start: 0;
|
|
252
276
|
width: var(--#{$accordion}__expandable-content-body--after--Width);
|
|
253
277
|
content: "";
|
|
254
278
|
background-color: var(--#{$accordion}__expandable-content-body--after--BackgroundColor);
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
}
|
|
14
14
|
.pf-v5-c-action-list > * + *,
|
|
15
15
|
.pf-v5-c-action-list__group > * + * {
|
|
16
|
-
margin-
|
|
16
|
+
margin-inline-start: var(--pf-v5-c-action-list--child--spacer);
|
|
17
17
|
}
|
|
18
18
|
.pf-v5-c-action-list > * + .pf-v5-c-action-list__group,
|
|
19
19
|
.pf-v5-c-action-list .pf-v5-c-action-list__group + *,
|
|
20
20
|
.pf-v5-c-action-list__group > * + .pf-v5-c-action-list__group,
|
|
21
21
|
.pf-v5-c-action-list__group .pf-v5-c-action-list__group + * {
|
|
22
|
-
margin-
|
|
22
|
+
margin-inline-start: var(--pf-v5-c-action-list--group--spacer);
|
|
23
23
|
}
|
|
24
24
|
.pf-v5-c-action-list.pf-m-icons,
|
|
25
25
|
.pf-v5-c-action-list__group.pf-m-icons {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
align-items: center;
|
|
16
16
|
|
|
17
17
|
> * + * {
|
|
18
|
-
margin-
|
|
18
|
+
margin-inline-start: var(--#{$action-list}--child--spacer);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
> * + .#{$action-list}__group,
|
|
22
22
|
.#{$action-list}__group + * {
|
|
23
|
-
margin-
|
|
23
|
+
margin-inline-start: var(--#{$action-list}--group--spacer);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&.pf-m-icons {
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
.pf-v5-c-alert-group {
|
|
2
|
-
--pf-v5-c-alert-group__item--MarginTop: var(--pf-
|
|
3
|
-
--pf-v5-c-alert-group--m-toast--Top: var(--pf-
|
|
4
|
-
--pf-v5-c-alert-group--m-toast--Right: var(--pf-
|
|
2
|
+
--pf-v5-c-alert-group__item--MarginTop: var(--pf-t--global--spacer--md);
|
|
3
|
+
--pf-v5-c-alert-group--m-toast--Top: var(--pf-t--global--spacer--2xl);
|
|
4
|
+
--pf-v5-c-alert-group--m-toast--Right: var(--pf-t--global--spacer--xl);
|
|
5
5
|
--pf-v5-c-alert-group--m-toast--MaxWidth: 37.5rem;
|
|
6
6
|
--pf-v5-c-alert-group--m-toast--ZIndex: var(--pf-v5-global--ZIndex--2xl);
|
|
7
7
|
--pf-v5-c-alert-group__overflow-button--BorderWidth: 0;
|
|
8
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
9
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
10
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
11
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
12
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
13
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
14
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
15
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
16
|
-
--pf-v5-c-alert-group__overflow-button--hover--
|
|
17
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
18
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
19
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
20
|
-
--pf-v5-c-alert-group__overflow-button--
|
|
8
|
+
--pf-v5-c-alert-group__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
9
|
+
--pf-v5-c-alert-group__overflow-button--PaddingTop: var(--pf-t--global--spacer--md);
|
|
10
|
+
--pf-v5-c-alert-group__overflow-button--PaddingRight: var(--pf-t--global--spacer--md);
|
|
11
|
+
--pf-v5-c-alert-group__overflow-button--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
12
|
+
--pf-v5-c-alert-group__overflow-button--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
13
|
+
--pf-v5-c-alert-group__overflow-button--Color: var(--pf-t--global--text--color--link--default);
|
|
14
|
+
--pf-v5-c-alert-group__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
15
|
+
--pf-v5-c-alert-group__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
16
|
+
--pf-v5-c-alert-group__overflow-button--hover--Color: var(--pf-t--global--text--color--link--hover);
|
|
17
|
+
--pf-v5-c-alert-group__overflow-button--hover--BackgroundColor: var(--pf-t--global--background--color--floating--hover);
|
|
18
|
+
--pf-v5-c-alert-group__overflow-button--hover--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
19
|
+
--pf-v5-c-alert-group__overflow-button--focus--Color: var(--pf-t--global--text--color--link--hover);
|
|
20
|
+
--pf-v5-c-alert-group__overflow-button--focus--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
21
|
+
--pf-v5-c-alert-group__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
|
|
22
|
+
--pf-v5-c-alert-group__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
21
23
|
}
|
|
22
24
|
.pf-v5-c-alert-group > * + * {
|
|
23
|
-
margin-
|
|
25
|
+
margin-block-start: var(--pf-v5-c-alert-group__item--MarginTop);
|
|
24
26
|
}
|
|
25
27
|
.pf-v5-c-alert-group.pf-m-toast {
|
|
26
28
|
position: fixed;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
inset-block-start: var(--pf-v5-c-alert-group--m-toast--Top);
|
|
30
|
+
inset-inline-end: var(--pf-v5-c-alert-group--m-toast--Right);
|
|
29
31
|
z-index: var(--pf-v5-c-alert-group--m-toast--ZIndex);
|
|
30
32
|
width: calc(100% - var(--pf-v5-c-alert-group--m-toast--Right) * 2);
|
|
31
33
|
max-width: var(--pf-v5-c-alert-group--m-toast--MaxWidth);
|
|
@@ -34,14 +36,19 @@
|
|
|
34
36
|
.pf-v5-c-alert-group__overflow-button {
|
|
35
37
|
position: relative;
|
|
36
38
|
width: 100%;
|
|
37
|
-
padding: var(--pf-v5-c-alert-group__overflow-button--PaddingTop)
|
|
39
|
+
padding-block-start: var(--pf-v5-c-alert-group__overflow-button--PaddingTop);
|
|
40
|
+
padding-block-end: var(--pf-v5-c-alert-group__overflow-button--PaddingBottom);
|
|
41
|
+
padding-inline-start: var(--pf-v5-c-alert-group__overflow-button--PaddingLeft);
|
|
42
|
+
padding-inline-end: var(--pf-v5-c-alert-group__overflow-button--PaddingRight);
|
|
38
43
|
color: var(--pf-v5-c-alert-group__overflow-button--Color);
|
|
39
44
|
background-color: var(--pf-v5-c-alert-group__overflow-button--BackgroundColor);
|
|
40
45
|
border-width: var(--pf-v5-c-alert-group__overflow-button--BorderWidth);
|
|
46
|
+
border-radius: var(--pf-v5-c-alert-group__overflow-button--BorderRadius);
|
|
41
47
|
box-shadow: var(--pf-v5-c-alert-group__overflow-button--BoxShadow);
|
|
42
48
|
}
|
|
43
49
|
.pf-v5-c-alert-group__overflow-button:hover {
|
|
44
50
|
--pf-v5-c-alert-group__overflow-button--Color: var(--pf-v5-c-alert-group__overflow-button--hover--Color);
|
|
51
|
+
--pf-v5-c-alert-group__overflow-button--BackgroundColor: var(--pf-v5-c-alert-group__overflow-button--hover--BackgroundColor);
|
|
45
52
|
--pf-v5-c-alert-group__overflow-button--BoxShadow: var(--pf-v5-c-alert-group__overflow-button--hover--BoxShadow);
|
|
46
53
|
}
|
|
47
54
|
.pf-v5-c-alert-group__overflow-button:focus {
|
|
@@ -3,40 +3,42 @@
|
|
|
3
3
|
// Tabs
|
|
4
4
|
.#{$alert-group} {
|
|
5
5
|
// Alert group variables
|
|
6
|
-
--#{$alert-group}__item--MarginTop: var(
|
|
6
|
+
--#{$alert-group}__item--MarginTop: var(--pf-t--global--spacer--md);
|
|
7
7
|
|
|
8
8
|
// Toast variables
|
|
9
|
-
--#{$alert-group}--m-toast--Top: var(
|
|
10
|
-
--#{$alert-group}--m-toast--Right: var(
|
|
9
|
+
--#{$alert-group}--m-toast--Top: var(--pf-t--global--spacer--2xl);
|
|
10
|
+
--#{$alert-group}--m-toast--Right: var(--pf-t--global--spacer--xl);
|
|
11
11
|
--#{$alert-group}--m-toast--MaxWidth: #{pf-size-prem(600px)};
|
|
12
12
|
--#{$alert-group}--m-toast--ZIndex: var(--#{$pf-global}--ZIndex--2xl);
|
|
13
13
|
|
|
14
14
|
// Overflow button
|
|
15
15
|
--#{$alert-group}__overflow-button--BorderWidth: 0;
|
|
16
|
-
--#{$alert-group}__overflow-button--
|
|
17
|
-
--#{$alert-group}__overflow-button--
|
|
18
|
-
--#{$alert-group}__overflow-button--
|
|
19
|
-
--#{$alert-group}__overflow-button--
|
|
20
|
-
--#{$alert-group}__overflow-button--
|
|
21
|
-
--#{$alert-group}__overflow-button--
|
|
22
|
-
--#{$alert-group}__overflow-button--
|
|
23
|
-
--#{$alert-group}__overflow-button--
|
|
24
|
-
--#{$alert-group}__overflow-button--hover--
|
|
25
|
-
--#{$alert-group}__overflow-button--
|
|
26
|
-
--#{$alert-group}__overflow-button--
|
|
27
|
-
--#{$alert-group}__overflow-button--
|
|
28
|
-
--#{$alert-group}__overflow-button--
|
|
16
|
+
--#{$alert-group}__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
17
|
+
--#{$alert-group}__overflow-button--PaddingTop: var(--pf-t--global--spacer--md);
|
|
18
|
+
--#{$alert-group}__overflow-button--PaddingRight: var(--pf-t--global--spacer--md);
|
|
19
|
+
--#{$alert-group}__overflow-button--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
20
|
+
--#{$alert-group}__overflow-button--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
21
|
+
--#{$alert-group}__overflow-button--Color: var(--pf-t--global--text--color--link--default);
|
|
22
|
+
--#{$alert-group}__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
23
|
+
--#{$alert-group}__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
24
|
+
--#{$alert-group}__overflow-button--hover--Color: var(--pf-t--global--text--color--link--hover);
|
|
25
|
+
--#{$alert-group}__overflow-button--hover--BackgroundColor: var(--pf-t--global--background--color--floating--hover);
|
|
26
|
+
--#{$alert-group}__overflow-button--hover--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
27
|
+
--#{$alert-group}__overflow-button--focus--Color: var(--pf-t--global--text--color--link--hover);
|
|
28
|
+
--#{$alert-group}__overflow-button--focus--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
29
|
+
--#{$alert-group}__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
|
|
30
|
+
--#{$alert-group}__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
29
31
|
|
|
30
32
|
// Spacing between alerts
|
|
31
33
|
> * + * {
|
|
32
|
-
margin-
|
|
34
|
+
margin-block-start: var(--#{$alert-group}__item--MarginTop);
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
// Toast positioning modifier
|
|
36
38
|
&.pf-m-toast {
|
|
37
39
|
position: fixed;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
inset-block-start: var(--#{$alert-group}--m-toast--Top);
|
|
41
|
+
inset-inline-end: var(--#{$alert-group}--m-toast--Right);
|
|
40
42
|
z-index: var(--#{$alert-group}--m-toast--ZIndex);
|
|
41
43
|
width: calc(100% - calc(var(--#{$alert-group}--m-toast--Right) * 2));
|
|
42
44
|
max-width: var(--#{$alert-group}--m-toast--MaxWidth);
|
|
@@ -46,14 +48,19 @@
|
|
|
46
48
|
.#{$alert-group}__overflow-button {
|
|
47
49
|
position: relative;
|
|
48
50
|
width: 100%;
|
|
49
|
-
padding: var(--#{$alert-group}__overflow-button--PaddingTop)
|
|
51
|
+
padding-block-start: var(--#{$alert-group}__overflow-button--PaddingTop);
|
|
52
|
+
padding-block-end: var(--#{$alert-group}__overflow-button--PaddingBottom);
|
|
53
|
+
padding-inline-start: var(--#{$alert-group}__overflow-button--PaddingLeft);
|
|
54
|
+
padding-inline-end: var(--#{$alert-group}__overflow-button--PaddingRight);
|
|
50
55
|
color: var(--#{$alert-group}__overflow-button--Color);
|
|
51
56
|
background-color: var(--#{$alert-group}__overflow-button--BackgroundColor);
|
|
52
57
|
border-width: var(--#{$alert-group}__overflow-button--BorderWidth);
|
|
58
|
+
border-radius: var(--#{$alert-group}__overflow-button--BorderRadius);
|
|
53
59
|
box-shadow: var(--#{$alert-group}__overflow-button--BoxShadow);
|
|
54
60
|
|
|
55
61
|
&:hover {
|
|
56
62
|
--#{$alert-group}__overflow-button--Color: var(--#{$alert-group}__overflow-button--hover--Color);
|
|
63
|
+
--#{$alert-group}__overflow-button--BackgroundColor: var(--#{$alert-group}__overflow-button--hover--BackgroundColor);
|
|
57
64
|
--#{$alert-group}__overflow-button--BoxShadow: var(--#{$alert-group}__overflow-button--hover--BoxShadow);
|
|
58
65
|
}
|
|
59
66
|
|