@patternfly/patternfly 6.0.0-alpha.3 → 6.0.0-alpha.30
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 +5 -9
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -5
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +886 -771
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +426 -306
- package/base/tokens/_tokens-font.scss +59 -35
- package/base/tokens/_tokens-palette.scss +69 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +80 -108
- package/components/AboutModalBox/about-modal-box.scss +64 -78
- package/components/Accordion/accordion.css +96 -175
- package/components/Accordion/accordion.scss +106 -193
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +17 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- 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 +91 -69
- package/components/Banner/banner.scss +95 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +35 -23
- package/components/Button/button.scss +36 -26
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +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 +75 -59
- package/components/ExpandableSection/expandable-section.scss +81 -72
- 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 +9 -9
- package/components/InlineEdit/inline-edit.scss +9 -9
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +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 +110 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +16 -13
- package/components/Radio/radio.scss +20 -14
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +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 +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +10 -6
- package/components/Switch/switch.scss +11 -7
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +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 +76 -44
- package/components/Tooltip/tooltip.scss +93 -77
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +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 +614 -416
- package/docs/components/Alert/examples/Alert.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +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/ExpandableSection/examples/ExpandableSection.md +47 -24
- 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/Popover/examples/Popover.md +1 -1
- 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 +28 -12
- 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 +921 -784
- package/patternfly-base-no-globals.css +921 -784
- package/patternfly-base-theme-dark-unversioned.css +926 -789
- package/patternfly-base.css +926 -789
- package/patternfly-no-globals.css +4816 -4221
- package/patternfly-theme-dark-unversioned.css +4821 -4226
- package/patternfly.css +4821 -4226
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -47,9 +47,8 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
:root {
|
|
51
51
|
--pf-v5-c-toolbar--AlignItems--base: flex-start;
|
|
52
|
-
--pf-v5-c-toolbar--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
|
53
52
|
--pf-v5-c-toolbar--RowGap--base: var(--pf-v5-global--spacer--lg);
|
|
54
53
|
--pf-v5-c-toolbar--RowGap: var(--pf-v5-c-toolbar--RowGap--base);
|
|
55
54
|
--pf-v5-c-toolbar--PaddingTop: var(--pf-v5-global--spacer--md);
|
|
@@ -115,6 +114,9 @@
|
|
|
115
114
|
--pf-v5-c-toolbar__item--m-label--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
116
115
|
--pf-v5-c-toolbar__item--m-label--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
117
116
|
--pf-v5-c-toolbar__item--m-label--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
117
|
+
--pf-v5-c-toolbar__item--m-form-element--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
118
|
+
--pf-v5-c-toolbar__item--m-form-element--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
119
|
+
--pf-v5-c-toolbar__item--m-form-element--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
118
120
|
--pf-v5-c-toolbar__item--m-form-control--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
119
121
|
--pf-v5-c-toolbar__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--pf-v5-c-toolbar__expandable-content--m-expanded--GridRowGap) + var(--pf-v5-global--spacer--sm));
|
|
120
122
|
--pf-v5-c-toolbar__expandable-content__item--m-label--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
@@ -124,11 +126,14 @@
|
|
|
124
126
|
--pf-v5-c-toolbar--m-full-height--PaddingBottom: 0;
|
|
125
127
|
--pf-v5-c-toolbar--m-full-height__item--Display: flex;
|
|
126
128
|
--pf-v5-c-toolbar--m-full-height__item--AlignItems: center;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.pf-v5-c-toolbar {
|
|
127
132
|
position: relative;
|
|
128
133
|
display: grid;
|
|
129
134
|
row-gap: var(--pf-v5-c-toolbar--RowGap);
|
|
130
|
-
padding-
|
|
131
|
-
padding-
|
|
135
|
+
padding-block-start: var(--pf-v5-c-toolbar--PaddingTop);
|
|
136
|
+
padding-block-end: var(--pf-v5-c-toolbar--PaddingBottom);
|
|
132
137
|
background-color: var(--pf-v5-c-toolbar--BackgroundColor);
|
|
133
138
|
}
|
|
134
139
|
@media screen and (min-width: 992px) {
|
|
@@ -149,7 +154,7 @@
|
|
|
149
154
|
}
|
|
150
155
|
.pf-v5-c-toolbar.pf-m-sticky {
|
|
151
156
|
position: sticky;
|
|
152
|
-
|
|
157
|
+
inset-block-start: 0;
|
|
153
158
|
z-index: var(--pf-v5-c-toolbar--m-sticky--ZIndex);
|
|
154
159
|
box-shadow: var(--pf-v5-c-toolbar--m-sticky--BoxShadow);
|
|
155
160
|
}
|
|
@@ -190,7 +195,7 @@
|
|
|
190
195
|
}
|
|
191
196
|
.pf-v5-c-toolbar__content-section > .pf-v5-c-divider.pf-m-vertical,
|
|
192
197
|
.pf-v5-c-toolbar__group > .pf-v5-c-divider.pf-m-vertical {
|
|
193
|
-
margin-
|
|
198
|
+
margin-inline-end: var(--pf-v5-c-toolbar--spacer);
|
|
194
199
|
}
|
|
195
200
|
.pf-v5-c-toolbar__content-section > .pf-v5-c-divider.pf-m-vertical:last-child,
|
|
196
201
|
.pf-v5-c-toolbar__group > .pf-v5-c-divider.pf-m-vertical:last-child {
|
|
@@ -227,7 +232,7 @@
|
|
|
227
232
|
row-gap: var(--pf-v5-c-toolbar__group--RowGap);
|
|
228
233
|
align-items: var(--pf-v5-c-toolbar__group--AlignItems);
|
|
229
234
|
align-self: var(--pf-v5-c-toolbar__group--AlignSelf);
|
|
230
|
-
margin-
|
|
235
|
+
margin-inline-end: var(--pf-v5-c-toolbar--spacer);
|
|
231
236
|
}
|
|
232
237
|
.pf-v5-c-toolbar__group.pf-m-button-group {
|
|
233
238
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__group--m-button-group--spacer);
|
|
@@ -248,7 +253,7 @@
|
|
|
248
253
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__group--m-filter-group--space-items);
|
|
249
254
|
}
|
|
250
255
|
.pf-v5-c-toolbar__group.pf-m-filter-group > * + * {
|
|
251
|
-
margin-
|
|
256
|
+
margin-inline-start: -1px;
|
|
252
257
|
}
|
|
253
258
|
.pf-v5-c-toolbar__group.pf-m-toggle-group {
|
|
254
259
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__group--m-toggle-group--spacer);
|
|
@@ -273,7 +278,7 @@
|
|
|
273
278
|
align-self: var(--pf-v5-c-toolbar__item--AlignSelf);
|
|
274
279
|
width: var(--pf-v5-c-toolbar__item--Width--base);
|
|
275
280
|
min-width: var(--pf-v5-c-toolbar__item--MinWidth--base);
|
|
276
|
-
margin-
|
|
281
|
+
margin-inline-end: var(--pf-v5-c-toolbar--spacer);
|
|
277
282
|
}
|
|
278
283
|
@media (min-width: 576px) {
|
|
279
284
|
.pf-v5-c-toolbar__item {
|
|
@@ -361,10 +366,15 @@
|
|
|
361
366
|
.pf-v5-c-toolbar__item.pf-m-label {
|
|
362
367
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-label--spacer);
|
|
363
368
|
font-weight: var(--pf-v5-c-toolbar__item--m-label--FontWeight);
|
|
364
|
-
transform: translateY(var(--pf-v5-
|
|
369
|
+
transform: translateY(var(--pf-v5-c-toolbar__item--m-label--TranslateY));
|
|
370
|
+
}
|
|
371
|
+
.pf-v5-c-toolbar__item.pf-m-form-element {
|
|
372
|
+
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-form-element--spacer);
|
|
373
|
+
font-weight: var(--pf-v5-c-toolbar__item--m-form-element--FontWeight);
|
|
374
|
+
transform: translateY(var(--pf-v5-c-toolbar__item--m-form-element--TranslateY));
|
|
365
375
|
}
|
|
366
376
|
.pf-v5-c-toolbar__item.pf-m-pagination {
|
|
367
|
-
margin-
|
|
377
|
+
margin-inline-start: auto;
|
|
368
378
|
}
|
|
369
379
|
.pf-v5-c-toolbar__item.pf-m-pagination .pf-v5-c-pagination {
|
|
370
380
|
flex-wrap: nowrap;
|
|
@@ -395,8 +405,8 @@
|
|
|
395
405
|
position: relative;
|
|
396
406
|
row-gap: var(--pf-v5-c-toolbar__content--RowGap);
|
|
397
407
|
align-items: var(--pf-v5-c-toolbar__content--AlignItems);
|
|
398
|
-
padding-
|
|
399
|
-
padding-
|
|
408
|
+
padding-inline-start: var(--pf-v5-c-toolbar__content--PaddingLeft);
|
|
409
|
+
padding-inline-end: var(--pf-v5-c-toolbar__content--PaddingRight);
|
|
400
410
|
}
|
|
401
411
|
|
|
402
412
|
.pf-v5-c-toolbar__content-section {
|
|
@@ -417,13 +427,16 @@
|
|
|
417
427
|
|
|
418
428
|
.pf-v5-c-toolbar__expandable-content {
|
|
419
429
|
position: absolute;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
430
|
+
inset-block-start: calc(100% + var(--pf-v5-c-toolbar__content--RowGap));
|
|
431
|
+
inset-inline-start: 0;
|
|
432
|
+
inset-inline-end: 0;
|
|
423
433
|
z-index: var(--pf-v5-c-toolbar__expandable-content--ZIndex);
|
|
424
434
|
display: none;
|
|
425
435
|
width: 100%;
|
|
426
|
-
padding: var(--pf-v5-c-toolbar__expandable-content--PaddingTop)
|
|
436
|
+
padding-block-start: var(--pf-v5-c-toolbar__expandable-content--PaddingTop);
|
|
437
|
+
padding-block-end: var(--pf-v5-c-toolbar__expandable-content--PaddingBottom);
|
|
438
|
+
padding-inline-start: var(--pf-v5-c-toolbar__expandable-content--PaddingLeft);
|
|
439
|
+
padding-inline-end: var(--pf-v5-c-toolbar__expandable-content--PaddingRight);
|
|
427
440
|
background-color: var(--pf-v5-c-toolbar__expandable-content--BackgroundColor);
|
|
428
441
|
box-shadow: var(--pf-v5-c-toolbar__expandable-content--BoxShadow);
|
|
429
442
|
}
|
|
@@ -446,7 +459,7 @@
|
|
|
446
459
|
grid-row-gap: var(--pf-v5-c-toolbar__expandable-content--m-expanded--GridRowGap);
|
|
447
460
|
}
|
|
448
461
|
.pf-v5-c-toolbar__expandable-content .pf-v5-c-toolbar__item.pf-m-label {
|
|
449
|
-
margin-
|
|
462
|
+
margin-block-end: var(--pf-v5-c-toolbar__expandable-content__item--m-label--MarginBottom);
|
|
450
463
|
font-size: var(--pf-v5-c-toolbar__expandable-content__item--m-label--FontSize);
|
|
451
464
|
}
|
|
452
465
|
|
|
@@ -456,13 +469,13 @@
|
|
|
456
469
|
flex-wrap: wrap;
|
|
457
470
|
grid-row-gap: 0;
|
|
458
471
|
align-items: baseline;
|
|
459
|
-
margin-
|
|
472
|
+
margin-block-start: var(--pf-v5-c-toolbar__group--m-chip-container--MarginTop);
|
|
460
473
|
}
|
|
461
474
|
.pf-v5-c-toolbar__content.pf-m-chip-container .pf-v5-c-toolbar__item,
|
|
462
475
|
.pf-v5-c-toolbar__group.pf-m-chip-container .pf-v5-c-toolbar__item {
|
|
463
476
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
464
477
|
--pf-v5-c-toolbar__item--AlignSelf: auto;
|
|
465
|
-
margin-
|
|
478
|
+
margin-block-start: var(--pf-v5-c-toolbar__group--m-chip-container__item--MarginTop);
|
|
466
479
|
}
|
|
467
480
|
.pf-v5-c-toolbar__content.pf-m-chip-container .pf-v5-c-toolbar__group,
|
|
468
481
|
.pf-v5-c-toolbar__group.pf-m-chip-container .pf-v5-c-toolbar__group {
|
|
@@ -570,19 +583,19 @@
|
|
|
570
583
|
}
|
|
571
584
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right,
|
|
572
585
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right {
|
|
573
|
-
margin-
|
|
586
|
+
margin-inline-start: auto;
|
|
574
587
|
}
|
|
575
588
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right ~ .pf-m-pagination,
|
|
576
589
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right ~ .pf-m-pagination {
|
|
577
|
-
margin-
|
|
590
|
+
margin-inline-start: 0;
|
|
578
591
|
}
|
|
579
592
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left,
|
|
580
593
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left {
|
|
581
|
-
margin-
|
|
594
|
+
margin-inline-start: 0;
|
|
582
595
|
}
|
|
583
596
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left ~ .pf-m-pagination,
|
|
584
597
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left ~ .pf-m-pagination {
|
|
585
|
-
margin-
|
|
598
|
+
margin-inline-start: auto;
|
|
586
599
|
}
|
|
587
600
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__content-section.pf-m-nowrap,
|
|
588
601
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-nowrap {
|
|
@@ -595,19 +608,19 @@
|
|
|
595
608
|
@media (min-width: 576px) {
|
|
596
609
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-sm,
|
|
597
610
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-sm {
|
|
598
|
-
margin-
|
|
611
|
+
margin-inline-start: auto;
|
|
599
612
|
}
|
|
600
613
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-sm ~ .pf-m-pagination,
|
|
601
614
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-sm ~ .pf-m-pagination {
|
|
602
|
-
margin-
|
|
615
|
+
margin-inline-start: 0;
|
|
603
616
|
}
|
|
604
617
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-sm,
|
|
605
618
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-sm {
|
|
606
|
-
margin-
|
|
619
|
+
margin-inline-start: 0;
|
|
607
620
|
}
|
|
608
621
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-sm ~ .pf-m-pagination,
|
|
609
622
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-sm ~ .pf-m-pagination {
|
|
610
|
-
margin-
|
|
623
|
+
margin-inline-start: auto;
|
|
611
624
|
}
|
|
612
625
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__content-section.pf-m-nowrap-on-sm,
|
|
613
626
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-nowrap-on-sm {
|
|
@@ -621,19 +634,19 @@
|
|
|
621
634
|
@media (min-width: 768px) {
|
|
622
635
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-md,
|
|
623
636
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-md {
|
|
624
|
-
margin-
|
|
637
|
+
margin-inline-start: auto;
|
|
625
638
|
}
|
|
626
639
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-md ~ .pf-m-pagination,
|
|
627
640
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-md ~ .pf-m-pagination {
|
|
628
|
-
margin-
|
|
641
|
+
margin-inline-start: 0;
|
|
629
642
|
}
|
|
630
643
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-md,
|
|
631
644
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-md {
|
|
632
|
-
margin-
|
|
645
|
+
margin-inline-start: 0;
|
|
633
646
|
}
|
|
634
647
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-md ~ .pf-m-pagination,
|
|
635
648
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-md ~ .pf-m-pagination {
|
|
636
|
-
margin-
|
|
649
|
+
margin-inline-start: auto;
|
|
637
650
|
}
|
|
638
651
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__content-section.pf-m-nowrap-on-md,
|
|
639
652
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-nowrap-on-md {
|
|
@@ -647,19 +660,19 @@
|
|
|
647
660
|
@media (min-width: 992px) {
|
|
648
661
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-lg,
|
|
649
662
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-lg {
|
|
650
|
-
margin-
|
|
663
|
+
margin-inline-start: auto;
|
|
651
664
|
}
|
|
652
665
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-lg ~ .pf-m-pagination,
|
|
653
666
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-lg ~ .pf-m-pagination {
|
|
654
|
-
margin-
|
|
667
|
+
margin-inline-start: 0;
|
|
655
668
|
}
|
|
656
669
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-lg,
|
|
657
670
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-lg {
|
|
658
|
-
margin-
|
|
671
|
+
margin-inline-start: 0;
|
|
659
672
|
}
|
|
660
673
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-lg ~ .pf-m-pagination,
|
|
661
674
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-lg ~ .pf-m-pagination {
|
|
662
|
-
margin-
|
|
675
|
+
margin-inline-start: auto;
|
|
663
676
|
}
|
|
664
677
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__content-section.pf-m-nowrap-on-lg,
|
|
665
678
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-nowrap-on-lg {
|
|
@@ -673,19 +686,19 @@
|
|
|
673
686
|
@media (min-width: 1200px) {
|
|
674
687
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-xl,
|
|
675
688
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-xl {
|
|
676
|
-
margin-
|
|
689
|
+
margin-inline-start: auto;
|
|
677
690
|
}
|
|
678
691
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-xl ~ .pf-m-pagination,
|
|
679
692
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-xl ~ .pf-m-pagination {
|
|
680
|
-
margin-
|
|
693
|
+
margin-inline-start: 0;
|
|
681
694
|
}
|
|
682
695
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-xl,
|
|
683
696
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-xl {
|
|
684
|
-
margin-
|
|
697
|
+
margin-inline-start: 0;
|
|
685
698
|
}
|
|
686
699
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-xl ~ .pf-m-pagination,
|
|
687
700
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-xl ~ .pf-m-pagination {
|
|
688
|
-
margin-
|
|
701
|
+
margin-inline-start: auto;
|
|
689
702
|
}
|
|
690
703
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__content-section.pf-m-nowrap-on-xl,
|
|
691
704
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-nowrap-on-xl {
|
|
@@ -699,19 +712,19 @@
|
|
|
699
712
|
@media (min-width: 1450px) {
|
|
700
713
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-2xl,
|
|
701
714
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-2xl {
|
|
702
|
-
margin-
|
|
715
|
+
margin-inline-start: auto;
|
|
703
716
|
}
|
|
704
717
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-right-on-2xl ~ .pf-m-pagination,
|
|
705
718
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-right-on-2xl ~ .pf-m-pagination {
|
|
706
|
-
margin-
|
|
719
|
+
margin-inline-start: 0;
|
|
707
720
|
}
|
|
708
721
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-2xl,
|
|
709
722
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-2xl {
|
|
710
|
-
margin-
|
|
723
|
+
margin-inline-start: 0;
|
|
711
724
|
}
|
|
712
725
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__item.pf-m-align-left-on-2xl ~ .pf-m-pagination,
|
|
713
726
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-align-left-on-2xl ~ .pf-m-pagination {
|
|
714
|
-
margin-
|
|
727
|
+
margin-inline-start: auto;
|
|
715
728
|
}
|
|
716
729
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__content-section.pf-m-nowrap-on-2xl,
|
|
717
730
|
.pf-v5-c-toolbar .pf-v5-c-toolbar__group.pf-m-nowrap-on-2xl {
|
|
@@ -5,9 +5,8 @@ $pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg",
|
|
|
5
5
|
$pf-v5-c-toolbar--spacer-map: build-spacer-map("none", "sm", "md", "lg");
|
|
6
6
|
$pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
:root {
|
|
9
9
|
--#{$toolbar}--AlignItems--base: flex-start;
|
|
10
|
-
--#{$toolbar}--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
|
|
11
10
|
--#{$toolbar}--RowGap--base: var(--#{$pf-global}--spacer--lg); // row-gap between toolbar content elements
|
|
12
11
|
--#{$toolbar}--RowGap: var(--#{$toolbar}--RowGap--base);
|
|
13
12
|
--#{$toolbar}--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
@@ -117,11 +116,16 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
117
116
|
|
|
118
117
|
// Label
|
|
119
118
|
--#{$toolbar}__item--m-label--spacer: var(--#{$toolbar}__item--spacer);
|
|
120
|
-
--#{$toolbar}__item--m-label--TranslateY: var(
|
|
119
|
+
--#{$toolbar}__item--m-label--TranslateY: var(--#{$pf-global}--spacer--form-element);
|
|
121
120
|
--#{$toolbar}__item--m-label--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
122
121
|
|
|
122
|
+
// Form control inline
|
|
123
|
+
--#{$toolbar}__item--m-form-element--spacer: var(--#{$toolbar}__item--spacer);
|
|
124
|
+
--#{$toolbar}__item--m-form-element--TranslateY: var(--#{$pf-global}--spacer--form-element);
|
|
125
|
+
--#{$toolbar}__item--m-form-element--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
126
|
+
|
|
123
127
|
// Input
|
|
124
|
-
--#{$toolbar}__item--m-form-control--TranslateY: var(
|
|
128
|
+
--#{$toolbar}__item--m-form-control--TranslateY: var(--#{$pf-global}--spacer--form-element);
|
|
125
129
|
|
|
126
130
|
// Label in expanded content
|
|
127
131
|
--#{$toolbar}__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--#{$toolbar}__expandable-content--m-expanded--GridRowGap) + var(--#{$pf-global}--spacer--sm));
|
|
@@ -138,7 +142,9 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
138
142
|
--#{$toolbar}--m-full-height--PaddingBottom: 0;
|
|
139
143
|
--#{$toolbar}--m-full-height__item--Display: flex;
|
|
140
144
|
--#{$toolbar}--m-full-height__item--AlignItems: center;
|
|
145
|
+
}
|
|
141
146
|
|
|
147
|
+
.#{$toolbar} {
|
|
142
148
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
143
149
|
--#{$toolbar}__expandable-content--PaddingRight: var(--#{$toolbar}__expandable-content--lg--PaddingRight);
|
|
144
150
|
--#{$toolbar}__expandable-content--PaddingBottom: var(--#{$toolbar}__expandable-content--lg--PaddingBottom);
|
|
@@ -152,8 +158,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
152
158
|
position: relative;
|
|
153
159
|
display: grid;
|
|
154
160
|
row-gap: var(--#{$toolbar}--RowGap);
|
|
155
|
-
padding-
|
|
156
|
-
padding-
|
|
161
|
+
padding-block-start: var(--#{$toolbar}--PaddingTop);
|
|
162
|
+
padding-block-end: var(--#{$toolbar}--PaddingBottom);
|
|
157
163
|
background-color: var(--#{$toolbar}--BackgroundColor);
|
|
158
164
|
|
|
159
165
|
&.pf-m-page-insets {
|
|
@@ -163,7 +169,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
163
169
|
|
|
164
170
|
&.pf-m-sticky {
|
|
165
171
|
position: sticky;
|
|
166
|
-
|
|
172
|
+
inset-block-start: 0;
|
|
167
173
|
z-index: var(--#{$toolbar}--m-sticky--ZIndex);
|
|
168
174
|
box-shadow: var(--#{$toolbar}--m-sticky--BoxShadow);
|
|
169
175
|
}
|
|
@@ -217,7 +223,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
217
223
|
}
|
|
218
224
|
|
|
219
225
|
> .#{$divider}.pf-m-vertical {
|
|
220
|
-
margin-
|
|
226
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
221
227
|
|
|
222
228
|
&:last-child {
|
|
223
229
|
--#{$toolbar}--spacer: 0;
|
|
@@ -258,7 +264,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
258
264
|
row-gap: var(--#{$toolbar}__group--RowGap);
|
|
259
265
|
align-items: var(--#{$toolbar}__group--AlignItems);
|
|
260
266
|
align-self: var(--#{$toolbar}__group--AlignSelf);
|
|
261
|
-
margin-
|
|
267
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
262
268
|
|
|
263
269
|
// Button group
|
|
264
270
|
&.pf-m-button-group {
|
|
@@ -287,7 +293,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
287
293
|
}
|
|
288
294
|
|
|
289
295
|
> * + * {
|
|
290
|
-
margin-
|
|
296
|
+
margin-inline-start: -1px;
|
|
291
297
|
}
|
|
292
298
|
}
|
|
293
299
|
|
|
@@ -323,7 +329,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
323
329
|
align-self: var(--#{$toolbar}__item--AlignSelf);
|
|
324
330
|
width: var(--#{$toolbar}__item--Width--base);
|
|
325
331
|
min-width: var(--#{$toolbar}__item--MinWidth--base);
|
|
326
|
-
margin-
|
|
332
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
327
333
|
|
|
328
334
|
&.pf-m-align-items-start {
|
|
329
335
|
align-items: flex-start;
|
|
@@ -379,12 +385,20 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
379
385
|
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-label--spacer);
|
|
380
386
|
|
|
381
387
|
font-weight: var(--#{$toolbar}__item--m-label--FontWeight);
|
|
382
|
-
transform: translateY(var(--#{$
|
|
388
|
+
transform: translateY(var(--#{$toolbar}__item--m-label--TranslateY));
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
// Form element
|
|
392
|
+
&.pf-m-form-element {
|
|
393
|
+
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-form-element--spacer);
|
|
394
|
+
|
|
395
|
+
font-weight: var(--#{$toolbar}__item--m-form-element--FontWeight);
|
|
396
|
+
transform: translateY(var(--#{$toolbar}__item--m-form-element--TranslateY));
|
|
383
397
|
}
|
|
384
398
|
|
|
385
399
|
// Total items
|
|
386
400
|
&.pf-m-pagination {
|
|
387
|
-
margin-
|
|
401
|
+
margin-inline-start: auto;
|
|
388
402
|
|
|
389
403
|
.#{$pagination} {
|
|
390
404
|
flex-wrap: nowrap;
|
|
@@ -409,6 +423,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
409
423
|
display: inline-block;
|
|
410
424
|
transition: var(--#{$toolbar}__expand-all-icon--Transition);
|
|
411
425
|
transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
|
|
426
|
+
|
|
427
|
+
// @include pf-v5-mirror-inline-on-rtl; - TODO: mirror this icon in breaking change
|
|
412
428
|
}
|
|
413
429
|
|
|
414
430
|
.#{$toolbar}__content,
|
|
@@ -423,8 +439,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
423
439
|
position: relative;
|
|
424
440
|
row-gap: var(--#{$toolbar}__content--RowGap);
|
|
425
441
|
align-items: var(--#{$toolbar}__content--AlignItems);
|
|
426
|
-
padding-
|
|
427
|
-
padding-
|
|
442
|
+
padding-inline-start: var(--#{$toolbar}__content--PaddingLeft);
|
|
443
|
+
padding-inline-end: var(--#{$toolbar}__content--PaddingRight);
|
|
428
444
|
}
|
|
429
445
|
|
|
430
446
|
// Content section
|
|
@@ -451,13 +467,16 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
451
467
|
// Expandable content
|
|
452
468
|
.#{$toolbar}__expandable-content {
|
|
453
469
|
position: absolute;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
470
|
+
inset-block-start: calc(100% + var(--#{$toolbar}__content--RowGap));
|
|
471
|
+
inset-inline-start: 0;
|
|
472
|
+
inset-inline-end: 0;
|
|
457
473
|
z-index: var(--#{$toolbar}__expandable-content--ZIndex);
|
|
458
474
|
display: none;
|
|
459
475
|
width: 100%;
|
|
460
|
-
padding: var(--#{$toolbar}__expandable-content--PaddingTop)
|
|
476
|
+
padding-block-start: var(--#{$toolbar}__expandable-content--PaddingTop);
|
|
477
|
+
padding-block-end: var(--#{$toolbar}__expandable-content--PaddingBottom);
|
|
478
|
+
padding-inline-start: var(--#{$toolbar}__expandable-content--PaddingLeft);
|
|
479
|
+
padding-inline-end: var(--#{$toolbar}__expandable-content--PaddingRight);
|
|
461
480
|
background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
|
|
462
481
|
box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
|
|
463
482
|
|
|
@@ -482,7 +501,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
482
501
|
}
|
|
483
502
|
|
|
484
503
|
.#{$toolbar}__item.pf-m-label {
|
|
485
|
-
margin-
|
|
504
|
+
margin-block-end: var(--#{$toolbar}__expandable-content__item--m-label--MarginBottom);
|
|
486
505
|
font-size: var(--#{$toolbar}__expandable-content__item--m-label--FontSize);
|
|
487
506
|
}
|
|
488
507
|
}
|
|
@@ -495,13 +514,13 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
495
514
|
flex-wrap: wrap;
|
|
496
515
|
grid-row-gap: 0;
|
|
497
516
|
align-items: baseline;
|
|
498
|
-
margin-
|
|
517
|
+
margin-block-start: var(--#{$toolbar}__group--m-chip-container--MarginTop);
|
|
499
518
|
|
|
500
519
|
.#{$toolbar}__item {
|
|
501
520
|
--#{$toolbar}--spacer: var(--#{$toolbar}__item--spacer);
|
|
502
521
|
--#{$toolbar}__item--AlignSelf: auto;
|
|
503
522
|
|
|
504
|
-
margin-
|
|
523
|
+
margin-block-start: var(--#{$toolbar}__group--m-chip-container__item--MarginTop);
|
|
505
524
|
}
|
|
506
525
|
|
|
507
526
|
.#{$toolbar}__group {
|
|
@@ -562,20 +581,20 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
562
581
|
// Align right
|
|
563
582
|
.#{$toolbar}__item.pf-m-align-right#{$breakpoint-name},
|
|
564
583
|
.#{$toolbar}__group.pf-m-align-right#{$breakpoint-name} {
|
|
565
|
-
margin-
|
|
584
|
+
margin-inline-start: auto;
|
|
566
585
|
|
|
567
586
|
& ~ .pf-m-pagination {
|
|
568
|
-
margin-
|
|
587
|
+
margin-inline-start: 0;
|
|
569
588
|
}
|
|
570
589
|
}
|
|
571
590
|
|
|
572
591
|
// Align left
|
|
573
592
|
.#{$toolbar}__item.pf-m-align-left#{$breakpoint-name},
|
|
574
593
|
.#{$toolbar}__group.pf-m-align-left#{$breakpoint-name} {
|
|
575
|
-
margin-
|
|
594
|
+
margin-inline-start: 0;
|
|
576
595
|
|
|
577
596
|
& ~ .pf-m-pagination {
|
|
578
|
-
margin-
|
|
597
|
+
margin-inline-start: auto;
|
|
579
598
|
}
|
|
580
599
|
}
|
|
581
600
|
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
:root {
|
|
2
2
|
--pf-v5-c-tooltip--MaxWidth: 18.75rem;
|
|
3
|
-
--pf-v5-c-tooltip--BoxShadow: var(--pf-
|
|
4
|
-
--pf-v5-c-tooltip__content--PaddingTop: var(--pf-
|
|
5
|
-
--pf-v5-c-tooltip__content--PaddingRight: var(--pf-
|
|
6
|
-
--pf-v5-c-tooltip__content--PaddingBottom: var(--pf-
|
|
7
|
-
--pf-v5-c-tooltip__content--PaddingLeft: var(--pf-
|
|
8
|
-
--pf-v5-c-tooltip__content--Color: var(--pf-
|
|
9
|
-
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-
|
|
10
|
-
--pf-v5-c-tooltip__content--FontSize: var(--pf-
|
|
3
|
+
--pf-v5-c-tooltip--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
4
|
+
--pf-v5-c-tooltip__content--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
5
|
+
--pf-v5-c-tooltip__content--PaddingRight: var(--pf-t--global--spacer--md);
|
|
6
|
+
--pf-v5-c-tooltip__content--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
7
|
+
--pf-v5-c-tooltip__content--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
8
|
+
--pf-v5-c-tooltip__content--Color: var(--pf-t--global--text--color--inverse);
|
|
9
|
+
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
|
|
10
|
+
--pf-v5-c-tooltip__content--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
11
|
+
--pf-v5-c-tooltip__content--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
11
12
|
--pf-v5-c-tooltip__arrow--Width: 0.9375rem;
|
|
12
13
|
--pf-v5-c-tooltip__arrow--Height: 0.9375rem;
|
|
13
|
-
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-
|
|
14
|
-
--pf-v5-c-tooltip__arrow--BoxShadow: var(--pf-
|
|
14
|
+
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
|
|
15
|
+
--pf-v5-c-tooltip__arrow--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
15
16
|
--pf-v5-c-tooltip__arrow--m-top--TranslateX: -50%;
|
|
16
17
|
--pf-v5-c-tooltip__arrow--m-top--TranslateY: 50%;
|
|
17
18
|
--pf-v5-c-tooltip__arrow--m-top--Rotate: 45deg;
|
|
@@ -24,68 +25,99 @@
|
|
|
24
25
|
--pf-v5-c-tooltip__arrow--m-left--TranslateX: 50%;
|
|
25
26
|
--pf-v5-c-tooltip__arrow--m-left--TranslateY: -50%;
|
|
26
27
|
--pf-v5-c-tooltip__arrow--m-left--Rotate: 45deg;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.pf-v5-c-tooltip {
|
|
27
31
|
position: relative;
|
|
28
32
|
max-width: var(--pf-v5-c-tooltip--MaxWidth);
|
|
29
33
|
box-shadow: var(--pf-v5-c-tooltip--BoxShadow);
|
|
30
34
|
}
|
|
31
|
-
.pf-v5-c-tooltip.pf-m-top
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
.pf-v5-c-tooltip:is(.pf-m-top,
|
|
36
|
+
.pf-m-top-left,
|
|
37
|
+
.pf-m-top-right) {
|
|
38
|
+
--pf-v5-c-tooltip__arrow--Bottom: var(--pf-v5-c-tooltip--m-top--Bottom, 0);
|
|
39
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-top--Left, 50%);
|
|
40
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-top--TranslateX);
|
|
41
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
|
42
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-top--Rotate);
|
|
35
43
|
}
|
|
36
|
-
.pf-v5-c-tooltip.pf-m-bottom
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
44
|
+
.pf-v5-c-tooltip:is(.pf-m-bottom,
|
|
45
|
+
.pf-m-bottom-left,
|
|
46
|
+
.pf-m-bottom-right) {
|
|
47
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-bottom--Top, 0);
|
|
48
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-bottom--Left, 50%);
|
|
49
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX);
|
|
50
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY);
|
|
51
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate);
|
|
40
52
|
}
|
|
41
|
-
.pf-v5-c-tooltip.pf-m-left
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
53
|
+
.pf-v5-c-tooltip:is(.pf-m-left,
|
|
54
|
+
.pf-m-left-top,
|
|
55
|
+
.pf-m-left-bottom) {
|
|
56
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-left--Top, 50%);
|
|
57
|
+
--pf-v5-c-tooltip__arrow--Right: var(--pf-v5-c-tooltip--m-left--Right, 0);
|
|
58
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
|
59
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-left--TranslateY);
|
|
60
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-left--Rotate);
|
|
45
61
|
}
|
|
46
|
-
.pf-v5-c-tooltip.pf-m-right
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
62
|
+
.pf-v5-c-tooltip:is(.pf-m-right,
|
|
63
|
+
.pf-m-right-top,
|
|
64
|
+
.pf-m-right-bottom) {
|
|
65
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-right--Top, 50%);
|
|
66
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-right--Left, 0);
|
|
67
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-right--TranslateX);
|
|
68
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-right--TranslateY);
|
|
69
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-right--Rotate);
|
|
50
70
|
}
|
|
51
|
-
.pf-v5-c-tooltip.pf-m-left-top
|
|
52
|
-
|
|
71
|
+
.pf-v5-c-tooltip:is(.pf-m-left-top,
|
|
72
|
+
.pf-m-right-top) {
|
|
73
|
+
--pf-v5-c-tooltip__arrow--Top: 0;
|
|
74
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
|
53
75
|
}
|
|
54
|
-
.pf-v5-c-tooltip.pf-m-left-bottom
|
|
55
|
-
|
|
56
|
-
|
|
76
|
+
.pf-v5-c-tooltip:is(.pf-m-left-bottom,
|
|
77
|
+
.pf-m-right-bottom) {
|
|
78
|
+
--pf-v5-c-tooltip__arrow--Top: auto;
|
|
79
|
+
--pf-v5-c-tooltip__arrow--Bottom: 0;
|
|
57
80
|
}
|
|
58
|
-
.pf-v5-c-tooltip.pf-m-top-left
|
|
59
|
-
|
|
81
|
+
.pf-v5-c-tooltip:is(.pf-m-top-left,
|
|
82
|
+
.pf-m-bottom-left) {
|
|
83
|
+
--pf-v5-c-tooltip__arrow--Left: 0;
|
|
84
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
|
60
85
|
}
|
|
61
|
-
.pf-v5-c-tooltip.pf-m-top-right
|
|
62
|
-
|
|
63
|
-
|
|
86
|
+
.pf-v5-c-tooltip:is(.pf-m-top-right,
|
|
87
|
+
.pf-m-bottom-right) {
|
|
88
|
+
--pf-v5-c-tooltip__arrow--Right: 0;
|
|
89
|
+
--pf-v5-c-tooltip__arrow--Left: auto;
|
|
64
90
|
}
|
|
65
91
|
|
|
66
92
|
.pf-v5-c-tooltip__content {
|
|
67
93
|
position: relative;
|
|
68
|
-
padding: var(--pf-v5-c-tooltip__content--PaddingTop)
|
|
94
|
+
padding-block-start: var(--pf-v5-c-tooltip__content--PaddingTop);
|
|
95
|
+
padding-block-end: var(--pf-v5-c-tooltip__content--PaddingBottom);
|
|
96
|
+
padding-inline-start: var(--pf-v5-c-tooltip__content--PaddingLeft);
|
|
97
|
+
padding-inline-end: var(--pf-v5-c-tooltip__content--PaddingRight);
|
|
69
98
|
font-size: var(--pf-v5-c-tooltip__content--FontSize);
|
|
70
99
|
color: var(--pf-v5-c-tooltip__content--Color);
|
|
71
100
|
text-align: center;
|
|
72
101
|
word-break: break-word;
|
|
73
102
|
background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
|
|
103
|
+
border-radius: var(--pf-v5-c-tooltip__content--BorderRadius);
|
|
74
104
|
}
|
|
75
105
|
.pf-v5-c-tooltip__content.pf-m-text-align-left {
|
|
76
|
-
text-align:
|
|
106
|
+
text-align: start;
|
|
77
107
|
}
|
|
78
108
|
|
|
79
109
|
.pf-v5-c-tooltip__arrow {
|
|
80
110
|
position: absolute;
|
|
111
|
+
/* stylelint-disable liberty/use-logical-spec */
|
|
112
|
+
top: var(--pf-v5-c-tooltip__arrow--Top, auto);
|
|
113
|
+
right: var(--pf-v5-c-tooltip__arrow--Right, auto);
|
|
114
|
+
bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
|
|
115
|
+
left: var(--pf-v5-c-tooltip__arrow--Left, auto);
|
|
116
|
+
/* stylelint-enable */
|
|
81
117
|
width: var(--pf-v5-c-tooltip__arrow--Width);
|
|
82
118
|
height: var(--pf-v5-c-tooltip__arrow--Height);
|
|
83
119
|
pointer-events: none;
|
|
84
120
|
background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
|
|
85
121
|
box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
|
|
89
|
-
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
90
|
-
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
122
|
+
transform: translateX(var(--pf-v5-c-tooltip__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-tooltip__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-tooltip__arrow--Rotate, 0));
|
|
91
123
|
}
|