@patternfly/patternfly 6.0.0-alpha.9 → 6.0.0-alpha.90
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/CODE_OF_CONDUCT.md +1 -2
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- 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/base/_common.scss +8 -4
- package/base/_globals.scss +4 -6
- package/base/_variables.scss +2 -7
- package/base/patternfly-common.css +8 -4
- package/base/patternfly-globals.css +4 -3
- package/base/patternfly-variables.css +1005 -856
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +319 -290
- package/base/tokens/_tokens-default.scss +485 -329
- package/base/tokens/_tokens-font.scss +122 -58
- package/base/tokens/_tokens-palette.scss +71 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +57 -94
- package/components/AboutModalBox/about-modal-box.scss +37 -62
- package/components/Accordion/accordion.css +85 -177
- package/components/Accordion/accordion.scss +96 -195
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +59 -84
- package/components/Alert/alert.scss +62 -78
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -16
- package/components/BackToTop/back-to-top.scss +12 -12
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/BackgroundImage/background-image.css +5 -1
- package/components/BackgroundImage/background-image.scss +5 -1
- package/components/Badge/badge.css +23 -15
- package/components/Badge/badge.scss +25 -17
- package/components/Banner/banner.css +90 -64
- package/components/Banner/banner.scss +95 -32
- package/components/Breadcrumb/breadcrumb.css +27 -16
- package/components/Breadcrumb/breadcrumb.scss +27 -18
- package/components/Button/button.css +398 -354
- package/components/Button/button.scss +455 -477
- package/components/CalendarMonth/calendar-month.css +61 -92
- package/components/CalendarMonth/calendar-month.scss +68 -63
- package/components/Card/card.css +100 -194
- package/components/Card/card.scss +121 -237
- package/components/Check/check.css +24 -21
- package/components/Check/check.scss +25 -23
- package/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/components/ClipboardCopy/clipboard-copy.scss +34 -26
- package/components/CodeBlock/code-block.css +22 -9
- package/components/CodeBlock/code-block.scss +22 -10
- package/components/CodeEditor/code-editor.css +94 -72
- package/components/CodeEditor/code-editor.scss +104 -82
- package/components/Content/content.css +7 -7
- package/components/Content/content.scss +7 -7
- package/components/DataList/data-list.css +101 -158
- package/components/DataList/data-list.scss +95 -154
- package/components/DatePicker/date-picker.css +13 -14
- package/components/DatePicker/date-picker.scss +12 -16
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/Divider/divider.css +91 -169
- package/components/Divider/divider.scss +60 -77
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/Drawer/drawer.css +112 -113
- package/components/Drawer/drawer.scss +134 -134
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/DualListSelector/dual-list-selector.css +54 -51
- package/components/DualListSelector/dual-list-selector.scss +55 -54
- package/components/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +64 -62
- package/components/ExpandableSection/expandable-section.scss +73 -76
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Form/form.css +66 -116
- package/components/Form/form.scss +63 -128
- package/components/FormControl/form-control.css +86 -111
- package/components/FormControl/form-control.scss +88 -92
- package/components/HelperText/helper-text.css +28 -34
- package/components/HelperText/helper-text.scss +30 -40
- package/components/Hint/hint.css +28 -21
- package/components/Hint/hint.scss +28 -24
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/InlineEdit/inline-edit.css +8 -7
- package/components/InlineEdit/inline-edit.scss +8 -7
- package/components/InputGroup/input-group.css +22 -38
- package/components/InputGroup/input-group.scss +21 -29
- package/components/JumpLinks/jump-links.css +34 -34
- package/components/JumpLinks/jump-links.scss +35 -36
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +378 -355
- package/components/Label/label.scss +431 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +68 -112
- package/components/Login/login.scss +54 -82
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +388 -417
- package/components/Menu/menu.scss +370 -525
- package/components/MenuToggle/menu-toggle.css +223 -276
- package/components/MenuToggle/menu-toggle.scss +322 -390
- package/components/ModalBox/modal-box.css +59 -52
- package/components/ModalBox/modal-box.scss +57 -53
- package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
- package/components/Nav/nav.css +240 -918
- package/components/Nav/nav.scss +300 -1082
- package/components/NotificationBadge/notification-badge.css +4 -4
- package/components/NotificationBadge/notification-badge.scss +4 -4
- package/components/NotificationDrawer/notification-drawer.css +104 -115
- package/components/NotificationDrawer/notification-drawer.scss +106 -116
- package/components/NumberInput/number-input.css +8 -8
- package/components/NumberInput/number-input.scss +7 -12
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +56 -164
- package/components/Page/page.scss +60 -154
- package/components/Pagination/pagination.css +57 -124
- package/components/Pagination/pagination.scss +40 -128
- package/components/Panel/panel.css +27 -23
- package/components/Panel/panel.scss +29 -26
- package/components/Popover/popover.css +42 -53
- package/components/Popover/popover.scss +46 -55
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/components/ProgressStepper/progress-stepper.css +72 -69
- package/components/ProgressStepper/progress-stepper.scss +65 -65
- package/components/Radio/radio.css +27 -20
- package/components/Radio/radio.scss +28 -22
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +32 -52
- package/components/SimpleList/simple-list.scss +37 -51
- package/components/Skeleton/skeleton.css +18 -20
- package/components/Skeleton/skeleton.scss +17 -21
- package/components/SkipToContent/skip-to-content.css +6 -3
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +34 -30
- package/components/Slider/slider.scss +46 -43
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +42 -38
- package/components/Switch/switch.scss +48 -43
- package/components/TabContent/tab-content.css +17 -11
- package/components/TabContent/tab-content.scss +18 -14
- package/components/Table/table-grid.css +31 -47
- package/components/Table/table-grid.scss +42 -55
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +81 -74
- package/components/Table/table-tree-view.scss +53 -39
- package/components/Table/table.css +159 -264
- package/components/Table/table.scss +216 -351
- package/components/Tabs/tabs.css +142 -175
- package/components/Tabs/tabs.scss +158 -218
- package/components/TextInputGroup/text-input-group.css +0 -14
- package/components/TextInputGroup/text-input-group.scss +3 -16
- package/components/Tile/tile.css +40 -81
- package/components/Tile/tile.scss +38 -84
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +54 -48
- package/components/ToggleGroup/toggle-group.scss +62 -50
- package/components/Toolbar/toolbar.css +2527 -1031
- package/components/Toolbar/toolbar.scss +233 -520
- package/components/Tooltip/tooltip.css +16 -18
- package/components/Tooltip/tooltip.scss +20 -24
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- package/components/Wizard/wizard.css +122 -205
- package/components/Wizard/wizard.scss +121 -181
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.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 +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +4 -0
- package/docs/components/Button/examples/Button.md +1439 -113
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +44 -220
- package/docs/components/Card/examples/Card.md +550 -133
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/DatePicker/examples/DatePicker.md +5 -2
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +30 -5
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- package/docs/components/DualListSelector/examples/DualListSelector.md +18 -18
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +3090 -703
- package/docs/components/LogViewer/examples/LogViewer.md +100 -80
- package/docs/components/Login/examples/Login.md +160 -105
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +7 -11
- package/docs/components/Menu/examples/Menu.md +213 -486
- package/docs/components/MenuToggle/examples/MenuToggle.md +253 -224
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +1 -23
- package/docs/components/Nav/examples/Navigation.md +69 -243
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +1 -1
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +985 -3341
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Wizard/examples/Wizard.md +31 -7
- package/docs/demos/AboutModal/examples/AboutModal.md +116 -35
- package/docs/demos/Alert/examples/Alert.md +366 -99
- package/docs/demos/BackToTop/examples/BackToTop.md +114 -33
- package/docs/demos/Banner/examples/Banner.md +235 -68
- package/docs/demos/Button/examples/Button.md +1 -1
- package/docs/demos/Card/examples/Card.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +256 -192
- package/docs/demos/ContextSelector/examples/ContextSelector.md +414 -107
- package/docs/demos/Dashboard/examples/Dashboard.md +114 -33
- package/docs/demos/DataList/examples/DataList.md +1049 -950
- package/docs/demos/DescriptionList/examples/DescriptionList.md +342 -99
- package/docs/demos/Drawer/examples/Drawer.md +700 -271
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +989 -409
- package/docs/demos/Masthead/examples/Masthead.md +833 -357
- package/docs/demos/Modal/examples/Modal.md +717 -222
- package/docs/demos/Nav/examples/Nav.md +763 -926
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +575 -165
- package/docs/demos/Page/examples/Page.md +1050 -309
- package/docs/demos/Page/examples/Penta.md +73 -31
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +20 -16
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1276 -861
- package/docs/demos/Skeleton/examples/Skeleton.md +114 -33
- package/docs/demos/Table/examples/Table.md +4002 -3503
- package/docs/demos/Tabs/examples/Tabs.md +711 -219
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1350 -1480
- package/docs/demos/Wizard/examples/Wizard.md +1134 -315
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +1021 -868
- package/patternfly-base-no-globals.css +1021 -868
- package/patternfly-base-theme-dark-unversioned.css +1027 -873
- package/patternfly-base.css +1027 -873
- package/patternfly-no-globals.css +9048 -8979
- package/patternfly-theme-dark-unversioned.css +9051 -8981
- package/patternfly.css +9051 -8981
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- 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/Button/themes/dark/button.scss +0 -51
- package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DatePicker/themes/dark/date-picker.scss +0 -8
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/MenuToggle/themes/dark/menu-toggle.scss +0 -27
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tabs/themes/dark/tabs.scss +0 -10
- package/components/TextInputGroup/themes/dark/text-input-group.scss +0 -11
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/components/TreeView/themes/dark/tree-view.scss +0 -8
- package/components/Wizard/themes/dark/wizard.scss +0 -12
- package/docs/components/Avatar/examples/Avatar.css +0 -3
|
@@ -1,202 +1,89 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
$pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map(
|
|
5
|
-
$pf-v5-
|
|
6
|
-
|
|
1
|
+
$pf-v5-c-toolbar--spacer-map: build-spacer-map();
|
|
2
|
+
$pf-v5-c-toolbar--inset-map: build-spacer-map();
|
|
3
|
+
$pf-v5-c-toolbar--align-items--alignments: ('stretch', 'baseline', 'start', 'center', 'end');
|
|
4
|
+
$pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map('base');
|
|
5
|
+
$pf-v5--include-toolbar-breakpoints: true !default;
|
|
6
|
+
|
|
7
|
+
@if $pf-v5--include-toolbar-breakpoints {
|
|
8
|
+
$pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
|
|
9
|
+
}
|
|
7
10
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--#{$toolbar}--RowGap
|
|
11
|
-
--#{$toolbar}--
|
|
12
|
-
--#{$toolbar}--
|
|
13
|
-
--#{$toolbar}--
|
|
14
|
-
--#{$toolbar}--
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
--#{$toolbar}__item--
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
--#{$toolbar}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
--#{$toolbar}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
--#{$toolbar}--m-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
--#{$toolbar}--m-
|
|
37
|
-
|
|
38
|
-
//
|
|
39
|
-
--#{$toolbar}__content--Display: flex;
|
|
40
|
-
--#{$toolbar}__content--AlignItems: var(--#{$toolbar}--AlignItems--base);
|
|
41
|
-
--#{$toolbar}__content--RowGap: var(--#{$toolbar}--RowGap--base);
|
|
42
|
-
--#{$toolbar}__content--PaddingRight: var(--#{$pf-global}--spacer--md); // remove at breaking change
|
|
43
|
-
--#{$toolbar}__content--PaddingLeft: var(--#{$pf-global}--spacer--md); // remove at breaking change
|
|
44
|
-
|
|
45
|
-
// Content section
|
|
46
|
-
--#{$toolbar}__content-section--Display: flex;
|
|
47
|
-
--#{$toolbar}__content-section--AlignItems: var(--#{$toolbar}--AlignItems--base);
|
|
48
|
-
--#{$toolbar}__content-section--RowGap: var(--#{$toolbar}--item--RowGap--base);
|
|
49
|
-
|
|
50
|
-
// Insets
|
|
51
|
-
--#{$toolbar}--m-page-insets--inset: var(--#{$pf-global}--spacer--md); // make this the default inset at breaking change
|
|
52
|
-
--#{$toolbar}--m-page-insets--xl--inset: var(--#{$pf-global}--spacer--lg); // make this the default inset at breaking change
|
|
53
|
-
|
|
54
|
-
// Expandable content
|
|
55
|
-
--#{$toolbar}__expandable-content--Display: grid;
|
|
56
|
-
--#{$toolbar}__expandable-content--PaddingTop: 0;
|
|
57
|
-
--#{$toolbar}__expandable-content--PaddingRight: var(--#{$toolbar}__content--PaddingRight);
|
|
58
|
-
--#{$toolbar}__expandable-content--PaddingBottom: var(--#{$pf-global}--spacer--md);
|
|
59
|
-
--#{$toolbar}__expandable-content--PaddingLeft: var(--#{$toolbar}__content--PaddingLeft);
|
|
60
|
-
--#{$toolbar}__expandable-content--lg--PaddingRight: 0;
|
|
61
|
-
--#{$toolbar}__expandable-content--lg--PaddingBottom: 0;
|
|
62
|
-
--#{$toolbar}__expandable-content--lg--PaddingLeft: 0;
|
|
63
|
-
--#{$toolbar}__expandable-content--ZIndex: var(--#{$pf-global}--ZIndex--sm);
|
|
64
|
-
--#{$toolbar}__expandable-content--BoxShadow: var(--#{$pf-global}--BoxShadow--md-bottom);
|
|
65
|
-
--#{$toolbar}__expandable-content--BackgroundColor: var(--#{$toolbar}--BackgroundColor);
|
|
66
|
-
|
|
67
|
-
// Expanded
|
|
68
|
-
--#{$toolbar}__expandable-content--m-expanded--GridRowGap: var(--#{$pf-global}--gutter--md);
|
|
69
|
-
|
|
70
|
-
// Chip container
|
|
71
|
-
--#{$toolbar}__group--m-chip-container--MarginTop: calc(var(--#{$pf-global}--spacer--md) * -1);
|
|
72
|
-
--#{$toolbar}__group--m-chip-container__item--MarginTop: var(--#{$pf-global}--spacer--md);
|
|
73
|
-
|
|
74
|
-
// Base spacer - shared value
|
|
75
|
-
--#{$toolbar}--spacer--base: var(--#{$pf-global}--spacer--md);
|
|
76
|
-
|
|
77
|
-
// Spacer values
|
|
78
|
-
--#{$toolbar}__item--spacer: var(--#{$toolbar}--spacer--base);
|
|
79
|
-
--#{$toolbar}__item--Width: auto;
|
|
80
|
-
--#{$toolbar}__group--spacer: var(--#{$toolbar}--spacer--base);
|
|
81
|
-
|
|
82
|
-
// Toggle group
|
|
83
|
-
--#{$toolbar}__group--m-toggle-group--spacer: var(--#{$pf-global}--spacer--sm);
|
|
84
|
-
|
|
85
|
-
// update
|
|
86
|
-
--#{$toolbar}__group--m-toggle-group--m-show--spacer: var(--#{$toolbar}__group--spacer);
|
|
87
|
-
|
|
88
|
-
// Icon button group
|
|
89
|
-
--#{$toolbar}__group--m-icon-button-group--spacer: var(--#{$toolbar}__group--spacer);
|
|
90
|
-
--#{$toolbar}__group--m-icon-button-group--space-items: 0;
|
|
91
|
-
|
|
92
|
-
// Button group
|
|
93
|
-
--#{$toolbar}__group--m-button-group--spacer: var(--#{$toolbar}__group--spacer);
|
|
94
|
-
--#{$toolbar}__group--m-button-group--space-items: var(--#{$pf-global}--spacer--sm);
|
|
95
|
-
|
|
96
|
-
// Filter group
|
|
97
|
-
--#{$toolbar}__group--m-filter-group--spacer: var(--#{$toolbar}__group--spacer);
|
|
98
|
-
--#{$toolbar}__group--m-filter-group--space-items: 0;
|
|
99
|
-
|
|
100
|
-
// Overflow menu item
|
|
101
|
-
--#{$toolbar}__item--m-overflow-menu--spacer: var(--#{$toolbar}__item--spacer);
|
|
102
|
-
|
|
103
|
-
// Bulk select
|
|
104
|
-
--#{$toolbar}__item--m-bulk-select--spacer: var(--#{$pf-global}--spacer--lg);
|
|
105
|
-
|
|
106
|
-
// Expand all
|
|
11
|
+
:root,
|
|
12
|
+
[data-theme="#{$toolbar}"] {
|
|
13
|
+
--#{$toolbar}--RowGap: var(--pf-t--global--spacer--sm);
|
|
14
|
+
--#{$toolbar}--ColumnGap: var(--pf-t--global--spacer--md);
|
|
15
|
+
--#{$toolbar}--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
16
|
+
--#{$toolbar}--PaddingInline: var(--pf-t--global--spacer--md);
|
|
17
|
+
--#{$toolbar}--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
18
|
+
--#{$toolbar}--FontSize: var(--pf-t--global--font--size--body--default);
|
|
19
|
+
|
|
20
|
+
// * Toolbar item
|
|
21
|
+
--#{$toolbar}__item--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
22
|
+
|
|
23
|
+
// * Toolbar content * Toolbar expandable content
|
|
24
|
+
--#{$toolbar}__content--RowGap: var(--pf-t--global--spacer--sm);
|
|
25
|
+
--#{$toolbar}__content--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
26
|
+
--#{$toolbar}__content--PaddingInline: var(--#{$toolbar}--PaddingInline);
|
|
27
|
+
|
|
28
|
+
// * Toolbar expandable content
|
|
29
|
+
--#{$toolbar}__expandable-content--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
30
|
+
--#{$toolbar}__expandable-content--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
31
|
+
--#{$toolbar}__expandable-content--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
32
|
+
|
|
33
|
+
// * Toolbar chip group
|
|
34
|
+
// * Toolbar sticky
|
|
35
|
+
--#{$toolbar}--m-sticky--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
36
|
+
--#{$toolbar}--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
37
|
+
|
|
38
|
+
// * Toolbar insets
|
|
39
|
+
--#{$toolbar}--m-page-insets--inset: var(--#{$page}--inset);
|
|
40
|
+
|
|
41
|
+
// * Toolbar expand all
|
|
107
42
|
--#{$toolbar}__expand-all-icon--Rotate: 0;
|
|
108
|
-
--#{$toolbar}__expand-all-icon--Transition: var(--#{$pf-global}--Transition);
|
|
43
|
+
--#{$toolbar}__expand-all-icon--Transition: var(--#{$pf-global}--Transition); // TODO: update when transition is tokenized
|
|
109
44
|
--#{$toolbar}__item--m-expand-all--m-expanded__expand-all-icon--Rotate: 90deg;
|
|
110
45
|
|
|
111
|
-
//
|
|
112
|
-
--#{$toolbar}
|
|
113
|
-
|
|
114
|
-
// Chip group
|
|
115
|
-
--#{$toolbar}__item--m-chip-group--spacer: var(--#{$pf-global}--spacer--sm);
|
|
116
|
-
|
|
117
|
-
// Label
|
|
118
|
-
--#{$toolbar}__item--m-label--spacer: var(--#{$toolbar}__item--spacer);
|
|
119
|
-
--#{$toolbar}__item--m-label--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
120
|
-
--#{$toolbar}__item--m-label--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
121
|
-
|
|
122
|
-
// Input
|
|
123
|
-
--#{$toolbar}__item--m-form-control--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
124
|
-
|
|
125
|
-
// Label in expanded content
|
|
126
|
-
--#{$toolbar}__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--#{$toolbar}__expandable-content--m-expanded--GridRowGap) + var(--#{$pf-global}--spacer--sm));
|
|
127
|
-
--#{$toolbar}__expandable-content__item--m-label--FontSize: var(--#{$pf-global}--FontSize--sm);
|
|
128
|
-
|
|
129
|
-
// Toggle
|
|
130
|
-
--#{$toolbar}__toggle--m-expanded__c-button--m-plain--Color: var(--#{$pf-global}--Color--100);
|
|
46
|
+
// * Toolbar filter group
|
|
47
|
+
--#{$toolbar}__group--m-filter-group--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
131
48
|
|
|
132
|
-
//
|
|
133
|
-
--#{$toolbar}--
|
|
134
|
-
|
|
135
|
-
// Full Height
|
|
136
|
-
--#{$toolbar}--m-full-height--PaddingTop: 0;
|
|
137
|
-
--#{$toolbar}--m-full-height--PaddingBottom: 0;
|
|
138
|
-
--#{$toolbar}--m-full-height__item--Display: flex;
|
|
139
|
-
--#{$toolbar}--m-full-height__item--AlignItems: center;
|
|
49
|
+
// * Toolbar label
|
|
50
|
+
--#{$toolbar}__item--m-label--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
51
|
+
}
|
|
140
52
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
53
|
+
// - Toolbar content - Toolbar group - Toolbar item - Toolbar group chip container - Toolbar group chip group
|
|
54
|
+
.#{$toolbar}__content-section,
|
|
55
|
+
.#{$toolbar}__group,
|
|
56
|
+
.#{$toolbar}__item,
|
|
57
|
+
.#{$toolbar}__group.pf-m-chip-group-container,
|
|
58
|
+
.#{$toolbar}__group.pf-m-chip-group {
|
|
59
|
+
@include pf-v5-hidden-visible(flex);
|
|
146
60
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
61
|
+
flex-wrap: wrap;
|
|
62
|
+
}
|
|
150
63
|
|
|
64
|
+
// - Toolbar - Toolbar content
|
|
65
|
+
.#{$toolbar},
|
|
66
|
+
.#{$toolbar}__content {
|
|
151
67
|
position: relative;
|
|
152
68
|
display: grid;
|
|
153
|
-
|
|
154
|
-
padding-block-start: var(--#{$toolbar}--PaddingTop);
|
|
155
|
-
padding-block-end: var(--#{$toolbar}--PaddingBottom);
|
|
156
|
-
background-color: var(--#{$toolbar}--BackgroundColor);
|
|
69
|
+
}
|
|
157
70
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
71
|
+
// - Toolbar
|
|
72
|
+
.#{$toolbar} {
|
|
73
|
+
width: var(--#{$toolbar}--Width, auto);
|
|
74
|
+
font-size: var(--#{$toolbar}--FontSize);
|
|
75
|
+
line-height: var(--#{$toolbar}--LineHeight);
|
|
162
76
|
|
|
77
|
+
// - Toolbar sticky
|
|
163
78
|
&.pf-m-sticky {
|
|
164
79
|
position: sticky;
|
|
165
|
-
|
|
80
|
+
inset-block-start: 0;
|
|
166
81
|
z-index: var(--#{$toolbar}--m-sticky--ZIndex);
|
|
167
82
|
box-shadow: var(--#{$toolbar}--m-sticky--BoxShadow);
|
|
168
83
|
}
|
|
169
84
|
|
|
170
|
-
|
|
171
|
-
--#{$toolbar}--PaddingTop: var(--#{$toolbar}--m-full-height--PaddingTop);
|
|
172
|
-
--#{$toolbar}--PaddingBottom: var(--#{$toolbar}--m-full-height--PaddingTop);
|
|
173
|
-
--#{$toolbar}__item--Display: var(--#{$toolbar}--m-full-height__item--Display);
|
|
174
|
-
|
|
175
|
-
height: 100%;
|
|
176
|
-
|
|
177
|
-
&,
|
|
178
|
-
.#{$toolbar}__content,
|
|
179
|
-
.#{$toolbar}__content-section,
|
|
180
|
-
.#{$toolbar}__expandable-content,
|
|
181
|
-
.#{$toolbar}__group {
|
|
182
|
-
min-width: 0;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&,
|
|
186
|
-
.#{$toolbar}__content,
|
|
187
|
-
.#{$toolbar}__content-section,
|
|
188
|
-
.#{$toolbar}__group,
|
|
189
|
-
.#{$toolbar}__item {
|
|
190
|
-
align-self: stretch;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
:where(.#{$toolbar}__item) {
|
|
194
|
-
--#{$toolbar}__item--AlignItems: var(--#{$toolbar}--m-full-height__item--AlignItems);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
85
|
+
// - Toolbar static
|
|
198
86
|
&.pf-m-static {
|
|
199
|
-
&,
|
|
200
87
|
.#{$toolbar}__content {
|
|
201
88
|
position: static;
|
|
202
89
|
}
|
|
@@ -205,450 +92,276 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
205
92
|
position: absolute;
|
|
206
93
|
}
|
|
207
94
|
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
// Divider
|
|
211
|
-
.#{$toolbar}__content-section,
|
|
212
|
-
.#{$toolbar}__group {
|
|
213
|
-
// set this var here so specificity is 20
|
|
214
|
-
> .#{$divider} {
|
|
215
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}--c-divider--m-vertical--spacer);
|
|
216
|
-
}
|
|
217
95
|
|
|
218
|
-
|
|
219
|
-
|
|
96
|
+
// - Toolbar full height
|
|
97
|
+
&.pf-m-full-height {
|
|
98
|
+
--#{$toolbar}--PaddingBlockStart: 0;
|
|
99
|
+
--#{$toolbar}--PaddinkBlockEnd: 0;
|
|
220
100
|
|
|
221
|
-
|
|
222
|
-
|
|
101
|
+
.#{$toolbar}__group,
|
|
102
|
+
.#{$toolbar}__item {
|
|
103
|
+
align-items: stretch;
|
|
104
|
+
align-self: stretch;
|
|
223
105
|
}
|
|
224
106
|
}
|
|
225
107
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
&.pf-m-align-items-center {
|
|
231
|
-
--#{$toolbar}__group--AlignItems: var(--#{$toolbar}--m-align-items-center--AlignItems);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
&.pf-m-align-items-baseline {
|
|
235
|
-
--#{$toolbar}__group--AlignItems: var(--#{$toolbar}--m-align-items-baseline--AlignItems);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
&.pf-m-align-self-start {
|
|
239
|
-
align-self: flex-start;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
&.pf-m-align-self-center {
|
|
243
|
-
--#{$toolbar}__group--AlignSelf: var(--#{$toolbar}--m-align-self-center--AlignItems);
|
|
108
|
+
// - Toolbar page insets
|
|
109
|
+
&.pf-m-page-insets {
|
|
110
|
+
--#{$toolbar}--PaddingInlineStart: var(--#{$toolbar}--m-page-insets--inset);
|
|
111
|
+
--#{$toolbar}--PaddingInlineEnd: var(--#{$toolbar}--m-page-insets--inset);
|
|
244
112
|
}
|
|
245
113
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}
|
|
114
|
+
// @include resize-observer-placeholder('md') {
|
|
115
|
+
// do resize observer things here
|
|
116
|
+
// }
|
|
249
117
|
}
|
|
250
118
|
|
|
251
|
-
//
|
|
252
|
-
.#{$toolbar}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
align-items: var(--#{$toolbar}__group--AlignItems);
|
|
259
|
-
align-self: var(--#{$toolbar}__group--AlignSelf);
|
|
260
|
-
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
261
|
-
|
|
262
|
-
// Button group
|
|
263
|
-
&.pf-m-button-group {
|
|
264
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__group--m-button-group--spacer);
|
|
265
|
-
|
|
266
|
-
> * {
|
|
267
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__group--m-button-group--space-items);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
// Icon button group
|
|
272
|
-
&.pf-m-icon-button-group {
|
|
273
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__group--m-icon-button-group--spacer);
|
|
274
|
-
|
|
275
|
-
> * {
|
|
276
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__group--m-icon-button-group--space-items);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
// Filter group
|
|
281
|
-
&.pf-m-filter-group {
|
|
282
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__group--m-filter-group--spacer);
|
|
283
|
-
|
|
284
|
-
> * {
|
|
285
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__group--m-filter-group--space-items);
|
|
286
|
-
}
|
|
119
|
+
// - Toolbar content - Toolbar content section - Toolbar expandable content
|
|
120
|
+
.#{$toolbar}__content,
|
|
121
|
+
.#{$toolbar}__content-section,
|
|
122
|
+
.#{$toolbar}__expandable-content {
|
|
123
|
+
row-gap: var(--#{$toolbar}__content--RowGap);
|
|
124
|
+
column-gap: var(--#{$toolbar}--ColumnGap);
|
|
125
|
+
}
|
|
287
126
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
127
|
+
// - Toolbar content expandable content
|
|
128
|
+
.#{$toolbar}__content,
|
|
129
|
+
.#{$toolbar}__expandable-content {
|
|
130
|
+
padding-block-start: var(--#{$toolbar}__content--PaddingBlockStart, var(--#{$toolbar}__content--PaddingBlock));
|
|
131
|
+
padding-block-end: var(--#{$toolbar}__content--PaddingBlockEnd, var(--#{$toolbar}__content--PaddingBlock));
|
|
132
|
+
padding-inline-start: var(--#{$toolbar}__content--PaddingInlineStart, var(--#{$toolbar}__content--PaddingInline));
|
|
133
|
+
padding-inline-end: var(--#{$toolbar}__content--PaddingInlineEnd, var(--#{$toolbar}__content--PaddingInline));
|
|
134
|
+
}
|
|
292
135
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
136
|
+
// - Toolbar content section
|
|
137
|
+
.#{$toolbar}__content-section {
|
|
138
|
+
align-items: start;
|
|
296
139
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
140
|
+
// push pagination to inline-end when flex items are not wrapped
|
|
141
|
+
&:has(.#{$toolbar}__item.pf-m-pagination:not(:only-child):last-child) {
|
|
142
|
+
.#{$toolbar}__item.pf-m-pagination {
|
|
143
|
+
margin-inline-start: revert;
|
|
300
144
|
}
|
|
301
145
|
|
|
302
|
-
.#{$toolbar}
|
|
303
|
-
|
|
146
|
+
> .#{$toolbar}__group,
|
|
147
|
+
> .#{$toolbar}__item {
|
|
148
|
+
&:nth-last-child(2) {
|
|
149
|
+
flex: 1;
|
|
150
|
+
}
|
|
304
151
|
}
|
|
305
152
|
}
|
|
306
|
-
|
|
307
|
-
// &:last-child must always come last for spacing system to work properly, as it has the same specificity as the preceding modifiers
|
|
308
|
-
&:last-child {
|
|
309
|
-
--#{$toolbar}--spacer: 0;
|
|
310
|
-
}
|
|
311
153
|
}
|
|
312
154
|
|
|
313
|
-
//
|
|
155
|
+
// - Toolbar item
|
|
314
156
|
.#{$toolbar}__item {
|
|
315
|
-
--#{$toolbar}--
|
|
316
|
-
|
|
317
|
-
@include pf-v5-build-css-variable-stack("--#{$toolbar}__item--Width--base", "--#{$toolbar}__item--Width", $pf-v5-c-toolbar--breakpoint-map);
|
|
318
|
-
@include pf-v5-build-css-variable-stack("--#{$toolbar}__item--MinWidth--base", "--#{$toolbar}__item--MinWidth", $pf-v5-c-toolbar--breakpoint-map);
|
|
319
|
-
@include pf-v5-hidden-visible(var(--#{$toolbar}__item--Display));
|
|
320
|
-
|
|
321
|
-
align-items: var(--#{$toolbar}__item--AlignItems);
|
|
322
|
-
align-self: var(--#{$toolbar}__item--AlignSelf);
|
|
323
|
-
width: var(--#{$toolbar}__item--Width--base);
|
|
324
|
-
min-width: var(--#{$toolbar}__item--MinWidth--base);
|
|
325
|
-
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
326
|
-
|
|
327
|
-
&.pf-m-align-items-start {
|
|
328
|
-
align-items: flex-start;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
&.pf-m-align-items-center {
|
|
332
|
-
align-items: center;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
&.pf-m-align-items-baseline {
|
|
336
|
-
align-items: baseline;
|
|
337
|
-
}
|
|
157
|
+
row-gap: var(--#{$toolbar}__item--RowGap, var(--#{$toolbar}--RowGap));
|
|
158
|
+
column-gap: var(--#{$toolbar}__item--ColumnGap);
|
|
338
159
|
|
|
339
|
-
|
|
340
|
-
align-self: flex-start;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
&.pf-m-align-self-center {
|
|
344
|
-
align-self: center;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
&.pf-m-align-self-baseline {
|
|
348
|
-
align-self: baseline;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
// Overflow menu
|
|
352
|
-
&.pf-m-overflow-menu {
|
|
353
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-overflow-menu--spacer);
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
// Bulk select
|
|
357
|
-
&.pf-m-bulk-select {
|
|
358
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-bulk-select--spacer);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
// Expand
|
|
160
|
+
// - Toolbar expand
|
|
362
161
|
&.pf-m-expand-all.pf-m-expanded {
|
|
363
162
|
--#{$toolbar}__expand-all-icon--Rotate: var(--#{$toolbar}__item--m-expand-all--m-expanded__expand-all-icon--Rotate);
|
|
364
163
|
}
|
|
365
164
|
|
|
366
|
-
//
|
|
367
|
-
&.pf-m-search-filter {
|
|
368
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-search-filter--spacer);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
// Chip group
|
|
372
|
-
&.pf-m-chip-group {
|
|
373
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-chip-group--spacer);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
// Label
|
|
165
|
+
// - Toolbar label
|
|
377
166
|
&.pf-m-label {
|
|
378
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-label--spacer);
|
|
379
|
-
|
|
380
167
|
font-weight: var(--#{$toolbar}__item--m-label--FontWeight);
|
|
381
|
-
transform: translateY(var(--#{$pf-global}--spacer--form-element));
|
|
382
168
|
}
|
|
383
169
|
|
|
384
|
-
//
|
|
170
|
+
// - Toolbar pagination
|
|
385
171
|
&.pf-m-pagination {
|
|
386
172
|
margin-inline-start: auto;
|
|
387
173
|
|
|
388
|
-
|
|
174
|
+
&.#{$pagination} {
|
|
389
175
|
flex-wrap: nowrap;
|
|
390
176
|
}
|
|
391
177
|
}
|
|
392
|
-
|
|
393
|
-
// &:last-child must always come last for spacing system to work properly, as it has the same specificity as the preceding modifiers
|
|
394
|
-
&:last-child {
|
|
395
|
-
--#{$toolbar}--spacer: 0;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.#{$toolbar}__group,
|
|
400
|
-
.#{$toolbar}__item {
|
|
401
|
-
&.pf-m-overflow-container {
|
|
402
|
-
flex: 1;
|
|
403
|
-
overflow: hidden;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.#{$toolbar}__expand-all-icon {
|
|
408
|
-
display: inline-block;
|
|
409
|
-
transition: var(--#{$toolbar}__expand-all-icon--Transition);
|
|
410
|
-
transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
|
|
411
|
-
|
|
412
|
-
// @include pf-v5-mirror-inline-on-rtl; - TODO: mirror this icon in breaking change
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.#{$toolbar}__content,
|
|
416
|
-
.#{$toolbar}__content-section {
|
|
417
|
-
flex-wrap: wrap;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
// Content
|
|
421
|
-
.#{$toolbar}__content {
|
|
422
|
-
@include pf-v5-hidden-visible(var(--#{$toolbar}__content--Display));
|
|
423
|
-
|
|
424
|
-
position: relative;
|
|
425
|
-
row-gap: var(--#{$toolbar}__content--RowGap);
|
|
426
|
-
align-items: var(--#{$toolbar}__content--AlignItems);
|
|
427
|
-
padding-inline-start: var(--#{$toolbar}__content--PaddingLeft);
|
|
428
|
-
padding-inline-end: var(--#{$toolbar}__content--PaddingRight);
|
|
429
178
|
}
|
|
430
179
|
|
|
431
|
-
//
|
|
432
|
-
.#{$toolbar}
|
|
433
|
-
|
|
180
|
+
// - Toolbar group
|
|
181
|
+
.#{$toolbar}__group {
|
|
182
|
+
row-gap: var(--#{$toolbar}__group--RowGap, var(--#{$toolbar}--RowGap));
|
|
183
|
+
column-gap: var(--#{$toolbar}__group--ColumnGap, var(--#{$toolbar}--ColumnGap));
|
|
184
|
+
align-items: baseline;
|
|
434
185
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
186
|
+
// - Toolbar icon button group - Toolbar filter group
|
|
187
|
+
&.pf-m-icon-button-group {
|
|
188
|
+
column-gap: var(--#{$toolbar}__group--m-icon-button-group--ColumnGap, 0);
|
|
189
|
+
}
|
|
438
190
|
|
|
439
|
-
&.pf-m-
|
|
440
|
-
|
|
191
|
+
&.pf-m-filter-group {
|
|
192
|
+
column-gap: var(--#{$toolbar}__group--m-filter-group--ColumnGap);
|
|
441
193
|
}
|
|
442
194
|
|
|
443
|
-
|
|
444
|
-
|
|
195
|
+
// - Toolbar filter group - Toolbar chip container
|
|
196
|
+
&.pf-m-filter-group,
|
|
197
|
+
&.pf-m-chip-group-container {
|
|
198
|
+
flex-wrap: nowrap;
|
|
445
199
|
}
|
|
446
200
|
|
|
447
|
-
|
|
448
|
-
|
|
201
|
+
// - Toolbar chip group
|
|
202
|
+
&.pf-m-chip-group {
|
|
203
|
+
flex: 1;
|
|
449
204
|
}
|
|
450
205
|
}
|
|
451
206
|
|
|
452
|
-
//
|
|
207
|
+
// - Toolbar expandable content
|
|
453
208
|
.#{$toolbar}__expandable-content {
|
|
454
209
|
position: absolute;
|
|
455
|
-
inset-block-start:
|
|
456
|
-
inset-inline-start: 0;
|
|
457
|
-
inset-inline-end: 0;
|
|
210
|
+
inset-block-start: 100%;
|
|
458
211
|
z-index: var(--#{$toolbar}__expandable-content--ZIndex);
|
|
459
212
|
display: none;
|
|
460
213
|
width: 100%;
|
|
461
|
-
padding-block-start: var(--#{$toolbar}__expandable-content--PaddingTop);
|
|
462
|
-
padding-block-end: var(--#{$toolbar}__expandable-content--PaddingBottom);
|
|
463
|
-
padding-inline-start: var(--#{$toolbar}__expandable-content--PaddingLeft);
|
|
464
|
-
padding-inline-end: var(--#{$toolbar}__expandable-content--PaddingRight);
|
|
465
214
|
background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
|
|
466
215
|
box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
|
|
467
216
|
|
|
468
217
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
469
218
|
position: static;
|
|
219
|
+
padding: 0;
|
|
470
220
|
box-shadow: none;
|
|
471
221
|
}
|
|
472
222
|
|
|
473
|
-
&.pf-m-expanded
|
|
474
|
-
display: grid;
|
|
475
|
-
grid-row-gap: var(--#{$toolbar}__expandable-content--m-expanded--GridRowGap);
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.#{$toolbar}__group,
|
|
479
|
-
.#{$toolbar}__item {
|
|
480
|
-
--#{$toolbar}--spacer: 0;
|
|
481
|
-
}
|
|
482
|
-
|
|
223
|
+
&.pf-m-expanded,
|
|
483
224
|
.#{$toolbar}__group {
|
|
484
225
|
display: grid;
|
|
485
|
-
grid-row-gap: var(--#{$toolbar}__expandable-content--m-expanded--GridRowGap);
|
|
486
226
|
}
|
|
487
227
|
|
|
488
|
-
.#{$toolbar}__item
|
|
489
|
-
|
|
490
|
-
font-size: var(--#{$toolbar}__expandable-content__item--m-label--FontSize);
|
|
228
|
+
.#{$toolbar}__item > * {
|
|
229
|
+
flex-basis: 100%;
|
|
491
230
|
}
|
|
492
231
|
}
|
|
493
232
|
|
|
494
|
-
//
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
flex-wrap: wrap;
|
|
500
|
-
grid-row-gap: 0;
|
|
501
|
-
align-items: baseline;
|
|
502
|
-
margin-block-start: var(--#{$toolbar}__group--m-chip-container--MarginTop);
|
|
503
|
-
|
|
504
|
-
.#{$toolbar}__item {
|
|
505
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__item--spacer);
|
|
506
|
-
--#{$toolbar}__item--AlignSelf: auto;
|
|
507
|
-
|
|
508
|
-
margin-block-start: var(--#{$toolbar}__group--m-chip-container__item--MarginTop);
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.#{$toolbar}__group {
|
|
512
|
-
--#{$toolbar}__group--AlignItems: center;
|
|
513
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__group--spacer);
|
|
514
|
-
|
|
515
|
-
display: flex;
|
|
516
|
-
flex-wrap: wrap;
|
|
517
|
-
grid-row-gap: 0;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.#{$toolbar}__group:last-child,
|
|
521
|
-
.#{$toolbar}__item:last-child {
|
|
522
|
-
--#{$toolbar}--spacer: 0;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
233
|
+
// - Toolbar expand all
|
|
234
|
+
.#{$toolbar}__expand-all-icon {
|
|
235
|
+
display: inline-block;
|
|
236
|
+
transition: var(--#{$toolbar}__expand-all-icon--Transition);
|
|
237
|
+
transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
|
|
525
238
|
|
|
526
|
-
|
|
527
|
-
--#{$chip-group}--MarginRight: 0;
|
|
239
|
+
@include pf-v5-mirror-inline-on-rtl; // - TODO: mirror this icon in breaking change
|
|
528
240
|
}
|
|
529
241
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}
|
|
242
|
+
// - Toolbar group - Toolbar item
|
|
243
|
+
.#{$toolbar}__group,
|
|
244
|
+
.#{$toolbar}__item {
|
|
245
|
+
align-self: baseline;
|
|
533
246
|
|
|
534
|
-
|
|
535
|
-
|
|
247
|
+
&.pf-m-overflow-container {
|
|
248
|
+
flex: 1;
|
|
249
|
+
overflow: auto;
|
|
250
|
+
}
|
|
536
251
|
}
|
|
537
252
|
|
|
538
|
-
// Toggle group modifiers
|
|
539
253
|
@each $breakpoint, $breakpoint-value in $pf-v5-c-toolbar--breakpoint-map {
|
|
540
254
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
541
255
|
|
|
542
256
|
@include pf-v5-apply-breakpoint($breakpoint) {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
.#{$toolbar}__item {
|
|
548
|
-
display: flex;
|
|
549
|
-
flex: 0 1 auto;
|
|
257
|
+
.#{$toolbar}__group,
|
|
258
|
+
.#{$toolbar}__item {
|
|
259
|
+
&.pf-m-align-start#{$breakpoint-name} {
|
|
260
|
+
margin-inline-start: 0;
|
|
550
261
|
}
|
|
551
262
|
|
|
552
|
-
|
|
553
|
-
|
|
263
|
+
&.pf-m-align-center#{$breakpoint-name} {
|
|
264
|
+
margin-inline-start: auto;
|
|
265
|
+
margin-inline-end: auto;
|
|
554
266
|
}
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
267
|
|
|
559
|
-
|
|
560
|
-
.#{$toolbar} {
|
|
561
|
-
// Build spacing modifiers
|
|
562
|
-
@each $breakpoint, $breakpoint-value in $pf-v5-c-toolbar--breakpoint-map {
|
|
563
|
-
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
564
|
-
|
|
565
|
-
@include pf-v5-apply-breakpoint($breakpoint) {
|
|
566
|
-
// Align right
|
|
567
|
-
.#{$toolbar}__item.pf-m-align-right#{$breakpoint-name},
|
|
568
|
-
.#{$toolbar}__group.pf-m-align-right#{$breakpoint-name} {
|
|
268
|
+
&.pf-m-align-end#{$breakpoint-name} {
|
|
569
269
|
margin-inline-start: auto;
|
|
570
|
-
|
|
571
|
-
& ~ .pf-m-pagination {
|
|
572
|
-
margin-inline-start: 0;
|
|
573
|
-
}
|
|
574
270
|
}
|
|
575
271
|
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
.#{$toolbar}__group.pf-m-align-left#{$breakpoint-name} {
|
|
579
|
-
margin-inline-start: 0;
|
|
580
|
-
|
|
581
|
-
& ~ .pf-m-pagination {
|
|
582
|
-
margin-inline-start: auto;
|
|
583
|
-
}
|
|
272
|
+
&.pf-m-flex-grow#{$breakpoint-name} {
|
|
273
|
+
flex-grow: 1;
|
|
584
274
|
}
|
|
585
275
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
flex-wrap: nowrap;
|
|
276
|
+
@each $alignment in $pf-v5-c-toolbar--align-items--alignments {
|
|
277
|
+
&.pf-m-align-self-#{$alignment}#{$breakpoint-name} {
|
|
278
|
+
align-self: #{$alignment};
|
|
590
279
|
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
591
282
|
|
|
592
|
-
|
|
593
|
-
|
|
283
|
+
// - Toolbar - Toolbar content - Toolbar content section
|
|
284
|
+
.#{$toolbar},
|
|
285
|
+
.#{$toolbar}__content,
|
|
286
|
+
.#{$toolbar}__content-section {
|
|
287
|
+
// Inset modifiers
|
|
288
|
+
@each $inset, $inset-value in $pf-v5-c-toolbar--inset-map {
|
|
289
|
+
&.pf-m-inset-#{$inset}#{$breakpoint-name} {
|
|
290
|
+
--#{$toolbar}__content--PaddingInline: #{$inset-value};
|
|
594
291
|
}
|
|
595
292
|
}
|
|
596
293
|
}
|
|
597
|
-
}
|
|
598
294
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
295
|
+
// - Toolbar group - Toolbar item - Toolbar content - Toolbar content section
|
|
296
|
+
.#{$toolbar}__group,
|
|
297
|
+
.#{$toolbar}__item,
|
|
298
|
+
.#{$toolbar}__content,
|
|
299
|
+
.#{$toolbar}__content-section {
|
|
300
|
+
&.pf-m-wrap#{$breakpoint-name} {
|
|
301
|
+
flex-wrap: wrap;
|
|
302
|
+
}
|
|
602
303
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
> :last-child {
|
|
611
|
-
--#{$toolbar}--spacer: 0;
|
|
612
|
-
}
|
|
304
|
+
&.pf-m-nowrap#{$breakpoint-name} {
|
|
305
|
+
flex-wrap: nowrap;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@each $alignment in $pf-v5-c-toolbar--align-items--alignments {
|
|
309
|
+
&.pf-m-align-items-#{$alignment}#{$breakpoint-name} {
|
|
310
|
+
align-items: #{$alignment};
|
|
613
311
|
}
|
|
614
312
|
}
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
313
|
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
314
|
+
@each $gap, $gap-value in $pf-v5-c-toolbar--spacer-map {
|
|
315
|
+
&.pf-m-gap-#{$gap}#{$breakpoint-name} {
|
|
316
|
+
column-gap: #{$gap-value};
|
|
317
|
+
}
|
|
318
|
+
}
|
|
621
319
|
|
|
622
|
-
|
|
320
|
+
// Row and column gap modifiers
|
|
623
321
|
@each $spacer, $spacer-value in $pf-v5-c-toolbar--spacer-map {
|
|
624
|
-
|
|
625
|
-
|
|
322
|
+
&.pf-m-column-gap-#{$spacer}#{$breakpoint-name} {
|
|
323
|
+
column-gap: #{$spacer-value};
|
|
324
|
+
}
|
|
626
325
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
326
|
+
&.pf-m-row-gap-#{$spacer}#{$breakpoint-name} {
|
|
327
|
+
column-gap: #{$spacer-value};
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&.pf-m-margin-inline-start#{$spacer}#{$breakpoint-name} {
|
|
331
|
+
margin-inline-start: #{$spacer-value};
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&.pf-m-margin-inline-end#{$spacer}#{$breakpoint-name} {
|
|
335
|
+
margin-inline-end: #{$spacer-value};
|
|
630
336
|
}
|
|
631
337
|
}
|
|
632
338
|
}
|
|
633
|
-
}
|
|
634
339
|
|
|
635
|
-
|
|
636
|
-
$
|
|
340
|
+
// - Toolbar toggle group
|
|
341
|
+
.#{$toolbar}__group:where(.pf-m-toggle-group) {
|
|
342
|
+
&.pf-m-show#{$breakpoint-name} {
|
|
343
|
+
.#{$toolbar}__group,
|
|
344
|
+
.#{$toolbar}__item {
|
|
345
|
+
display: flex;
|
|
346
|
+
flex: 0 1 auto;
|
|
347
|
+
}
|
|
637
348
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
349
|
+
.#{$toolbar}__toggle {
|
|
350
|
+
display: none;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
&, // default value
|
|
355
|
+
&.pf-m-hide#{$breakpoint-name} {
|
|
356
|
+
.#{$toolbar}__group,
|
|
357
|
+
.#{$toolbar}__item {
|
|
358
|
+
display: none;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.#{$toolbar}__toggle {
|
|
362
|
+
display: inline-block;
|
|
644
363
|
}
|
|
645
364
|
}
|
|
646
365
|
}
|
|
647
366
|
}
|
|
648
367
|
}
|
|
649
|
-
// stylelint-enable
|
|
650
|
-
|
|
651
|
-
// Override .pf-m-toggle-group margin modifier
|
|
652
|
-
.#{$toolbar}__content-section > :last-child {
|
|
653
|
-
--#{$toolbar}--spacer: 0;
|
|
654
|
-
}
|