@patternfly/patternfly 6.0.0-alpha.6 → 6.0.0-alpha.61
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-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/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 -7
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -4
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +889 -787
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +428 -306
- package/base/tokens/_tokens-font.scss +41 -46
- 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/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- package/components/Backdrop/backdrop.css +8 -4
- package/components/Backdrop/backdrop.scss +7 -4
- package/components/BackgroundImage/background-image.css +11 -4
- package/components/BackgroundImage/background-image.scss +13 -4
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +95 -69
- package/components/Banner/banner.scss +100 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +422 -359
- package/components/Button/button.scss +480 -487
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +28 -17
- package/components/Card/card.scss +32 -17
- package/components/Check/check.css +25 -22
- package/components/Check/check.scss +26 -24
- 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 +47 -41
- package/components/ClipboardCopy/clipboard-copy.scss +50 -34
- package/components/CodeBlock/code-block.css +24 -12
- package/components/CodeBlock/code-block.scss +24 -13
- 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 +40 -37
- package/components/Content/content.scss +40 -37
- 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 +165 -209
- package/components/DataList/data-list.scss +138 -185
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +47 -39
- package/components/DescriptionList/description-list.scss +33 -30
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/DragDrop/drag-drop.css +26 -22
- package/components/DragDrop/drag-drop.scss +26 -25
- 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 +64 -38
- package/components/EmptyState/empty-state.scss +70 -38
- package/components/ExpandableSection/expandable-section.css +75 -66
- package/components/ExpandableSection/expandable-section.scss +82 -80
- package/components/FileUpload/file-upload.css +31 -43
- package/components/FileUpload/file-upload.scss +31 -49
- package/components/Form/form.css +111 -154
- package/components/Form/form.scss +101 -160
- package/components/FormControl/form-control.css +95 -111
- package/components/FormControl/form-control.scss +97 -92
- package/components/HelperText/helper-text.css +29 -35
- package/components/HelperText/helper-text.scss +31 -41
- package/components/Hint/hint.css +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +155 -19
- package/components/Icon/icon.scss +188 -21
- package/components/InlineEdit/inline-edit.css +12 -11
- package/components/InlineEdit/inline-edit.scss +12 -11
- package/components/InputGroup/input-group.css +32 -42
- package/components/InputGroup/input-group.scss +31 -33
- package/components/JumpLinks/jump-links.css +61 -58
- package/components/JumpLinks/jump-links.scss +61 -60
- package/components/Label/label-group.css +48 -50
- package/components/Label/label-group.scss +48 -51
- package/components/Label/label.css +266 -363
- package/components/Label/label.scss +306 -356
- 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 +273 -498
- package/components/Masthead/masthead.scss +137 -282
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +37 -31
- package/components/MenuToggle/menu-toggle.scss +37 -33
- 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 +248 -899
- package/components/Nav/nav.scss +304 -1059
- 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 +130 -128
- package/components/NotificationDrawer/notification-drawer.scss +130 -129
- package/components/NumberInput/number-input.css +10 -10
- package/components/NumberInput/number-input.scss +9 -14
- 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 +182 -232
- package/components/Page/page.scss +130 -195
- package/components/Pagination/pagination.css +71 -121
- package/components/Pagination/pagination.scss +56 -127
- package/components/Panel/panel.css +40 -30
- package/components/Panel/panel.scss +42 -33
- package/components/Popover/popover.css +108 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +40 -52
- package/components/Progress/progress.scss +48 -62
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +30 -23
- package/components/Radio/radio.scss +31 -25
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +31 -14
- package/components/Sidebar/sidebar.scss +34 -16
- package/components/SimpleList/simple-list.css +45 -56
- package/components/SimpleList/simple-list.scss +51 -55
- package/components/Skeleton/skeleton.css +24 -25
- package/components/Skeleton/skeleton.scss +21 -26
- package/components/SkipToContent/skip-to-content.css +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +80 -55
- package/components/Slider/slider.scss +96 -65
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +49 -41
- package/components/Switch/switch.scss +51 -42
- package/components/TabContent/tab-content.css +21 -12
- package/components/TabContent/tab-content.scss +22 -15
- 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 +105 -89
- package/components/Table/table.scss +105 -89
- 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 +47 -88
- package/components/Tile/tile.scss +45 -91
- 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 +48 -58
- package/components/ToggleGroup/toggle-group.scss +48 -56
- package/components/Toolbar/toolbar.css +57 -43
- package/components/Toolbar/toolbar.scss +45 -25
- package/components/Tooltip/tooltip.css +74 -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 +13 -0
- package/components/Truncate/truncate.scss +19 -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 +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 +6 -2
- package/docs/components/Button/examples/Button.md +1425 -87
- package/docs/components/Card/examples/Card.md +143 -37
- package/docs/components/Check/examples/Check.md +71 -58
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +4 -5
- package/docs/components/DragDrop/examples/DragDrop.css +3 -3
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- 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 +1001 -225
- 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 +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- 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 +109 -96
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -42
- package/docs/components/Nav/examples/Navigation.md +305 -353
- 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/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- 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 +62 -54
- package/docs/components/Select/deprecated/Select.md +184 -177
- 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.css +2 -2
- package/docs/components/Table/examples/Table.md +10 -10
- 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/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +663 -2894
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +103 -30
- package/docs/demos/Alert/examples/Alert.md +327 -84
- package/docs/demos/BackToTop/examples/BackToTop.md +101 -28
- package/docs/demos/Banner/examples/Banner.md +209 -58
- 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 +263 -205
- package/docs/demos/ContextSelector/examples/ContextSelector.md +373 -90
- package/docs/demos/Dashboard/examples/Dashboard.md +104 -31
- package/docs/demos/DataList/examples/DataList.md +995 -928
- package/docs/demos/DescriptionList/examples/DescriptionList.md +303 -84
- package/docs/demos/Drawer/examples/Drawer.md +605 -220
- package/docs/demos/Form/examples/BasicForms.md +133 -82
- package/docs/demos/JumpLinks/examples/JumpLinks.md +881 -353
- package/docs/demos/Masthead/examples/Masthead.md +767 -323
- package/docs/demos/Modal/examples/Modal.md +639 -192
- package/docs/demos/Nav/examples/Nav.md +685 -896
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +510 -140
- package/docs/demos/Page/examples/Page.md +933 -264
- package/docs/demos/Page/examples/Penta.md +569 -501
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1296 -917
- package/docs/demos/Skeleton/examples/Skeleton.md +108 -63
- package/docs/demos/Table/examples/Table.md +3832 -3390
- package/docs/demos/Tabs/examples/Tabs.md +636 -191
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1331 -1493
- package/docs/demos/Wizard/examples/Wizard.md +909 -252
- package/docs/layouts/Flex/examples/Flex.md +16 -16
- 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 +36 -32
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +923 -799
- package/patternfly-base-no-globals.css +923 -799
- package/patternfly-base-theme-dark-unversioned.css +928 -803
- package/patternfly-base.css +928 -803
- package/patternfly-no-globals.css +6887 -7357
- package/patternfly-theme-dark-unversioned.css +6892 -7361
- package/patternfly.css +6892 -7361
- 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 +80 -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/Button/themes/dark/button.scss +0 -51
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- 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/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- 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/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/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -147,10 +147,19 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
147
147
|
|
|
148
148
|
// Box shadow
|
|
149
149
|
--#{$drawer}__panel--BoxShadow: none;
|
|
150
|
-
--#{$drawer}--m-expanded__panel--BoxShadow: var(--#{$pf-global}--BoxShadow--lg-left);
|
|
151
|
-
--#{$drawer}--m-expanded--m-panel-left__panel--BoxShadow: var(--#{$pf-global}--BoxShadow--lg-right);
|
|
152
150
|
--#{$drawer}--m-expanded--m-panel-bottom__panel--BoxShadow: var(--#{$pf-global}--BoxShadow--lg-top);
|
|
153
151
|
|
|
152
|
+
@include pf-v5-bidirectional-style(
|
|
153
|
+
$prop: --#{$drawer}--m-expanded__panel--BoxShadow,
|
|
154
|
+
$ltr-val: var(--#{$pf-global}--BoxShadow--lg-left),
|
|
155
|
+
$rtl-val: var(--#{$pf-global}--BoxShadow--lg-right)
|
|
156
|
+
);
|
|
157
|
+
@include pf-v5-bidirectional-style(
|
|
158
|
+
$prop: --#{$drawer}--m-expanded--m-panel-left__panel--BoxShadow,
|
|
159
|
+
$ltr-val: var(--#{$pf-global}--BoxShadow--lg-right),
|
|
160
|
+
$rtl-val: var(--#{$pf-global}--BoxShadow--lg-left)
|
|
161
|
+
);
|
|
162
|
+
|
|
154
163
|
// Divider
|
|
155
164
|
--#{$drawer}__panel--after--Width: var(--#{$pf-global}--BorderWidth--sm);
|
|
156
165
|
--#{$drawer}--m-panel-bottom__panel--after--Height: var(--#{$pf-global}--BorderWidth--sm);
|
|
@@ -168,15 +177,20 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
168
177
|
&.pf-m-inline,
|
|
169
178
|
&.pf-m-static {
|
|
170
179
|
> .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
171
|
-
padding-
|
|
180
|
+
padding-inline-start: var(--#{$drawer}--m-inline__panel--PaddingLeft);
|
|
172
181
|
}
|
|
173
182
|
}
|
|
174
183
|
|
|
175
184
|
&.pf-m-panel-left > .#{$drawer}__main {
|
|
176
185
|
> .#{$drawer}__panel {
|
|
177
186
|
order: 0;
|
|
178
|
-
margin-
|
|
179
|
-
|
|
187
|
+
margin-inline-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
188
|
+
|
|
189
|
+
@include pf-v5-bidirectional-style(
|
|
190
|
+
$prop: transform,
|
|
191
|
+
$ltr-val: translateX(-100%),
|
|
192
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(-100%)}),
|
|
193
|
+
);
|
|
180
194
|
}
|
|
181
195
|
|
|
182
196
|
> .#{$drawer}__content {
|
|
@@ -192,7 +206,11 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
192
206
|
// stylelint-disable selector-max-class
|
|
193
207
|
&.pf-m-expanded {
|
|
194
208
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
195
|
-
|
|
209
|
+
@include pf-v5-bidirectional-style(
|
|
210
|
+
$prop: transform,
|
|
211
|
+
$ltr-val: translateX(-100%),
|
|
212
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(-100%)}),
|
|
213
|
+
);
|
|
196
214
|
}
|
|
197
215
|
|
|
198
216
|
&.pf-m-panel-left > .#{$drawer}__main > .#{$drawer}__panel {
|
|
@@ -252,7 +270,8 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
252
270
|
z-index: var(--#{$drawer}__content--ZIndex);
|
|
253
271
|
flex-basis: var(--#{$drawer}__content--FlexBasis);
|
|
254
272
|
order: 0;
|
|
255
|
-
|
|
273
|
+
|
|
274
|
+
// background-color: var(--#{$drawer}__content--BackgroundColor);
|
|
256
275
|
|
|
257
276
|
&.pf-m-no-background {
|
|
258
277
|
--#{$drawer}__content--BackgroundColor: transparent;
|
|
@@ -263,7 +282,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
263
282
|
}
|
|
264
283
|
|
|
265
284
|
> .#{$drawer}__body {
|
|
266
|
-
padding: var(--#{$drawer}__content--child--PaddingTop)
|
|
285
|
+
padding-block-start: var(--#{$drawer}__content--child--PaddingTop);
|
|
286
|
+
padding-block-end: var(--#{$drawer}__content--child--PaddingBottom);
|
|
287
|
+
padding-inline-start: var(--#{$drawer}__content--child--PaddingLeft);
|
|
288
|
+
padding-inline-end: var(--#{$drawer}__content--child--PaddingRight);
|
|
267
289
|
}
|
|
268
290
|
}
|
|
269
291
|
|
|
@@ -283,8 +305,8 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
283
305
|
|
|
284
306
|
&::after {
|
|
285
307
|
position: absolute;
|
|
286
|
-
|
|
287
|
-
|
|
308
|
+
inset-block-start: 0;
|
|
309
|
+
inset-inline-start: 0;
|
|
288
310
|
width: var(--#{$drawer}__panel--after--Width);
|
|
289
311
|
height: 100%;
|
|
290
312
|
content: "";
|
|
@@ -340,13 +362,16 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
340
362
|
grid-row: 1;
|
|
341
363
|
grid-column: 2;
|
|
342
364
|
align-self: baseline;
|
|
343
|
-
margin-
|
|
344
|
-
margin-
|
|
365
|
+
margin-block-start: var(--#{$drawer}__actions--MarginTop);
|
|
366
|
+
margin-inline-end: var(--#{$drawer}__actions--MarginRight);
|
|
345
367
|
}
|
|
346
368
|
|
|
347
369
|
// Modified content children
|
|
348
370
|
.#{$drawer}__body {
|
|
349
|
-
padding: var(--#{$drawer}--child--PaddingTop)
|
|
371
|
+
padding-block-start: var(--#{$drawer}--child--PaddingTop);
|
|
372
|
+
padding-block-end: var(--#{$drawer}--child--PaddingBottom);
|
|
373
|
+
padding-inline-start: var(--#{$drawer}--child--PaddingLeft);
|
|
374
|
+
padding-inline-end: var(--#{$drawer}--child--PaddingRight);
|
|
350
375
|
|
|
351
376
|
// No padding
|
|
352
377
|
&.pf-m-no-padding {
|
|
@@ -354,18 +379,21 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
354
379
|
|
|
355
380
|
> .#{$drawer}__actions,
|
|
356
381
|
> .#{$drawer}__head > .#{$drawer}__actions {
|
|
357
|
-
margin-
|
|
358
|
-
margin-
|
|
382
|
+
margin-block-start: 0;
|
|
383
|
+
margin-inline-end: 0;
|
|
359
384
|
}
|
|
360
385
|
}
|
|
361
386
|
|
|
362
387
|
// Padding
|
|
363
388
|
&.pf-m-padding {
|
|
364
|
-
padding: var(--#{$drawer}--child--m-padding--PaddingTop)
|
|
389
|
+
padding-block-start: var(--#{$drawer}--child--m-padding--PaddingTop);
|
|
390
|
+
padding-block-end: var(--#{$drawer}--child--m-padding--PaddingBottom);
|
|
391
|
+
padding-inline-start: var(--#{$drawer}--child--m-padding--PaddingLeft);
|
|
392
|
+
padding-inline-end: var(--#{$drawer}--child--m-padding--PaddingRight);
|
|
365
393
|
}
|
|
366
394
|
|
|
367
395
|
&:not(.pf-m-no-padding) + * {
|
|
368
|
-
padding-
|
|
396
|
+
padding-block-start: 0;
|
|
369
397
|
}
|
|
370
398
|
|
|
371
399
|
&:last-child {
|
|
@@ -408,21 +436,30 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
408
436
|
|
|
409
437
|
&::after {
|
|
410
438
|
position: absolute;
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
439
|
+
inset-block-start: 0;
|
|
440
|
+
inset-block-end: 0;
|
|
441
|
+
inset-inline-start: 0;
|
|
442
|
+
inset-inline-end: 0;
|
|
415
443
|
content: "";
|
|
416
444
|
border: solid var(--#{$drawer}__splitter--after--BorderColor);
|
|
417
|
-
border-width: var(--#{$drawer}__splitter--after--BorderTopWidth)
|
|
445
|
+
border-block-start-width: var(--#{$drawer}__splitter--after--BorderTopWidth);
|
|
446
|
+
border-block-end-width: var(--#{$drawer}__splitter--after--BorderBottomWidth);
|
|
447
|
+
border-inline-start-width: var(--#{$drawer}__splitter--after--BorderLeftWidth);
|
|
448
|
+
border-inline-end-width: var(--#{$drawer}__splitter--after--BorderRightWidth);
|
|
418
449
|
}
|
|
419
450
|
}
|
|
420
451
|
|
|
421
452
|
.#{$drawer}__splitter-handle {
|
|
422
453
|
position: absolute;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
454
|
+
inset-block-start: var(--#{$drawer}__splitter-handle--Top);
|
|
455
|
+
inset-inline-start: var(--#{$drawer}__splitter-handle--Left);
|
|
456
|
+
|
|
457
|
+
@include pf-v5-bidirectional-style(
|
|
458
|
+
$prop: transform,
|
|
459
|
+
$ltr-val: translate(-50%, -50%),
|
|
460
|
+
$rtl-val: translate(#{pf-v5-calc-inverse(-50%)}, -50%),
|
|
461
|
+
);
|
|
462
|
+
|
|
426
463
|
|
|
427
464
|
&::after {
|
|
428
465
|
display: block;
|
|
@@ -431,7 +468,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
431
468
|
content: "";
|
|
432
469
|
border-color: var(--#{$drawer}__splitter-handle--after--BorderColor);
|
|
433
470
|
border-style: solid;
|
|
434
|
-
border-width: var(--#{$drawer}__splitter-handle--after--BorderTopWidth)
|
|
471
|
+
border-block-start-width: var(--#{$drawer}__splitter-handle--after--BorderTopWidth);
|
|
472
|
+
border-block-end-width: var(--#{$drawer}__splitter-handle--after--BorderBottomWidth);
|
|
473
|
+
border-inline-start-width: var(--#{$drawer}__splitter-handle--after--BorderLeftWidth);
|
|
474
|
+
border-inline-end-width: var(--#{$drawer}__splitter-handle--after--BorderRightWidth);
|
|
435
475
|
}
|
|
436
476
|
}
|
|
437
477
|
|
|
@@ -477,8 +517,8 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
477
517
|
&.pf-m-inline,
|
|
478
518
|
&.pf-m-static {
|
|
479
519
|
> .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
480
|
-
padding-
|
|
481
|
-
padding-
|
|
520
|
+
padding-inline-start: 0;
|
|
521
|
+
padding-inline-end: var(--#{$drawer}--m-panel-left--m-inline__panel--PaddingRight);
|
|
482
522
|
}
|
|
483
523
|
}
|
|
484
524
|
|
|
@@ -487,8 +527,8 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
487
527
|
}
|
|
488
528
|
|
|
489
529
|
> .#{$drawer}__main > .#{$drawer}__panel::after {
|
|
490
|
-
|
|
491
|
-
|
|
530
|
+
inset-inline-start: auto;
|
|
531
|
+
inset-inline-end: 0;
|
|
492
532
|
}
|
|
493
533
|
|
|
494
534
|
> .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
|
|
@@ -513,14 +553,14 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
513
553
|
&.pf-m-inline,
|
|
514
554
|
&.pf-m-static {
|
|
515
555
|
> .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
516
|
-
padding-
|
|
517
|
-
padding-
|
|
556
|
+
padding-block-start: var(--#{$drawer}--m-panel-bottom--m-inline__panel--PaddingTop);
|
|
557
|
+
padding-inline-start: 0;
|
|
518
558
|
}
|
|
519
559
|
}
|
|
520
560
|
|
|
521
561
|
> .#{$drawer}__main > .#{$drawer}__panel::after {
|
|
522
|
-
|
|
523
|
-
|
|
562
|
+
inset-block-start: 0;
|
|
563
|
+
inset-inline-start: auto;
|
|
524
564
|
width: 100%;
|
|
525
565
|
height: var(--#{$drawer}--m-panel-bottom__panel--after--Height);
|
|
526
566
|
}
|
|
@@ -626,14 +666,19 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
626
666
|
}
|
|
627
667
|
|
|
628
668
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
629
|
-
margin-
|
|
630
|
-
|
|
669
|
+
margin-inline-start: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
670
|
+
|
|
671
|
+
@include pf-v5-bidirectional-style(
|
|
672
|
+
$prop: transform,
|
|
673
|
+
$ltr-val: translateX(100%),
|
|
674
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(100%)}),
|
|
675
|
+
);
|
|
631
676
|
}
|
|
632
677
|
|
|
633
678
|
// stylelint-disable selector-max-class, selector-max-combinators, selector-max-compound-selectors
|
|
634
679
|
// Inline, expanded
|
|
635
680
|
&.pf-m-expanded > .#{$drawer}__main > .#{$drawer}__panel {
|
|
636
|
-
margin-
|
|
681
|
+
margin-inline-start: 0;
|
|
637
682
|
transform: translateX(0);
|
|
638
683
|
}
|
|
639
684
|
|
|
@@ -644,14 +689,19 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
644
689
|
// Panel left
|
|
645
690
|
&.pf-m-panel-left {
|
|
646
691
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
647
|
-
margin-
|
|
648
|
-
margin-
|
|
649
|
-
|
|
692
|
+
margin-inline-start: 0;
|
|
693
|
+
margin-inline-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
694
|
+
|
|
695
|
+
@include pf-v5-bidirectional-style(
|
|
696
|
+
$prop: transform,
|
|
697
|
+
$ltr-val: translateX(-100%),
|
|
698
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(-100%)}),
|
|
699
|
+
);
|
|
650
700
|
}
|
|
651
701
|
|
|
652
702
|
// Inline, expanded, panel left
|
|
653
703
|
&.pf-m-expanded > .#{$drawer}__main > .#{$drawer}__panel {
|
|
654
|
-
margin-
|
|
704
|
+
margin-inline-end: 0;
|
|
655
705
|
transform: translateX(0);
|
|
656
706
|
}
|
|
657
707
|
|
|
@@ -663,13 +713,13 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
663
713
|
// Panel bottom
|
|
664
714
|
&.pf-m-panel-bottom {
|
|
665
715
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
666
|
-
margin-
|
|
716
|
+
margin-block-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
667
717
|
transform: translateY(100%);
|
|
668
718
|
}
|
|
669
719
|
|
|
670
720
|
// Inline, expanded, panel left
|
|
671
721
|
&.pf-m-expanded > .#{$drawer}__main > .#{$drawer}__panel {
|
|
672
|
-
margin-
|
|
722
|
+
margin-block-end: 0;
|
|
673
723
|
transform: translateY(0);
|
|
674
724
|
}
|
|
675
725
|
}
|
|
@@ -685,7 +735,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
685
735
|
// stylelint-disable max-nesting-depth, selector-max-class, selector-max-combinators, selector-max-compound-selectors
|
|
686
736
|
&.pf-m-panel-left {
|
|
687
737
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
688
|
-
margin-
|
|
738
|
+
margin-inline-end: 0;
|
|
689
739
|
transform: translateX(0);
|
|
690
740
|
}
|
|
691
741
|
}
|
|
@@ -147,19 +147,19 @@
|
|
|
147
147
|
--pf-v5-c-dropdown--m-full-height__toggle--PaddingLeft: var(--pf-v5-global--spacer--lg);
|
|
148
148
|
position: relative;
|
|
149
149
|
display: inline-flex;
|
|
150
|
-
align-items: start;
|
|
150
|
+
align-items: flex-start;
|
|
151
151
|
max-width: 100%;
|
|
152
152
|
}
|
|
153
153
|
.pf-v5-c-dropdown .pf-v5-c-divider {
|
|
154
|
-
margin-
|
|
155
|
-
margin-
|
|
154
|
+
margin-block-start: var(--pf-v5-c-dropdown--c-divider--MarginTop);
|
|
155
|
+
margin-block-end: var(--pf-v5-c-dropdown--c-divider--MarginBottom);
|
|
156
156
|
}
|
|
157
157
|
.pf-v5-c-dropdown .pf-v5-c-divider:last-child {
|
|
158
158
|
--pf-v5-c-dropdown--c-divider--MarginBottom: 0;
|
|
159
159
|
}
|
|
160
160
|
.pf-v5-c-dropdown > .pf-v5-c-menu {
|
|
161
161
|
position: absolute;
|
|
162
|
-
|
|
162
|
+
inset-block-start: var(--pf-v5-c-dropdown--c-menu--Top);
|
|
163
163
|
z-index: var(--pf-v5-c-dropdown--c-menu--ZIndex);
|
|
164
164
|
}
|
|
165
165
|
.pf-v5-c-dropdown.pf-m-full-height {
|
|
@@ -176,10 +176,10 @@
|
|
|
176
176
|
align-self: stretch;
|
|
177
177
|
}
|
|
178
178
|
.pf-v5-c-dropdown.pf-m-full-height .pf-v5-c-dropdown__toggle::before {
|
|
179
|
-
border-
|
|
179
|
+
border-block-start-width: var(--pf-v5-c-dropdown--m-full-height__toggle--before--BorderTopWidth);
|
|
180
180
|
}
|
|
181
181
|
.pf-v5-c-dropdown.pf-m-full-height:hover .pf-v5-c-dropdown__toggle::before {
|
|
182
|
-
border-
|
|
182
|
+
border-block-end-width: var(--pf-v5-c-dropdown--m-full-height__toggle--hover--before--BorderBottomWidth);
|
|
183
183
|
}
|
|
184
184
|
.pf-v5-c-dropdown.pf-m-expanded {
|
|
185
185
|
--pf-v5-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-v5-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor);
|
|
@@ -193,7 +193,10 @@
|
|
|
193
193
|
align-items: center;
|
|
194
194
|
min-width: var(--pf-v5-c-dropdown__toggle--MinWidth);
|
|
195
195
|
max-width: 100%;
|
|
196
|
-
padding: var(--pf-v5-c-dropdown__toggle--PaddingTop)
|
|
196
|
+
padding-block-start: var(--pf-v5-c-dropdown__toggle--PaddingTop);
|
|
197
|
+
padding-block-end: var(--pf-v5-c-dropdown__toggle--PaddingBottom);
|
|
198
|
+
padding-inline-start: var(--pf-v5-c-dropdown__toggle--PaddingLeft);
|
|
199
|
+
padding-inline-end: var(--pf-v5-c-dropdown__toggle--PaddingRight);
|
|
197
200
|
font-size: var(--pf-v5-c-dropdown__toggle--FontSize);
|
|
198
201
|
font-weight: var(--pf-v5-c-dropdown__toggle--FontWeight);
|
|
199
202
|
line-height: var(--pf-v5-c-dropdown__toggle--LineHeight);
|
|
@@ -203,13 +206,16 @@
|
|
|
203
206
|
}
|
|
204
207
|
.pf-v5-c-dropdown__toggle::before, .pf-v5-c-dropdown__toggle.pf-m-action .pf-v5-c-dropdown__toggle-button::before {
|
|
205
208
|
position: absolute;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
209
|
+
inset-block-start: 0;
|
|
210
|
+
inset-block-end: 0;
|
|
211
|
+
inset-inline-start: 0;
|
|
212
|
+
inset-inline-end: 0;
|
|
210
213
|
content: "";
|
|
211
214
|
border: var(--pf-v5-c-dropdown__toggle--before--BorderWidth) solid;
|
|
212
|
-
border-color: var(--pf-v5-c-dropdown__toggle--before--BorderTopColor)
|
|
215
|
+
border-block-start-color: var(--pf-v5-c-dropdown__toggle--before--BorderTopColor);
|
|
216
|
+
border-block-end-color: var(--pf-v5-c-dropdown__toggle--before--BorderBottomColor);
|
|
217
|
+
border-inline-start-color: var(--pf-v5-c-dropdown__toggle--before--BorderLeftColor);
|
|
218
|
+
border-inline-end-color: var(--pf-v5-c-dropdown__toggle--before--BorderRightColor);
|
|
213
219
|
}
|
|
214
220
|
.pf-v5-c-dropdown__toggle.pf-m-disabled, .pf-v5-c-dropdown__toggle:disabled {
|
|
215
221
|
--pf-v5-c-dropdown__toggle--m-primary--Color: var(--pf-v5-c-dropdown__toggle--m-primary--disabled--Color);
|
|
@@ -231,10 +237,10 @@
|
|
|
231
237
|
}
|
|
232
238
|
.pf-v5-c-dropdown__toggle.pf-m-split-button > * {
|
|
233
239
|
position: relative;
|
|
234
|
-
padding-
|
|
235
|
-
padding-
|
|
236
|
-
padding-
|
|
237
|
-
padding-
|
|
240
|
+
padding-block-start: var(--pf-v5-c-dropdown__toggle--m-split-button--child--PaddingTop);
|
|
241
|
+
padding-block-end: var(--pf-v5-c-dropdown__toggle--m-split-button--child--PaddingBottom);
|
|
242
|
+
padding-inline-start: var(--pf-v5-c-dropdown__toggle--m-split-button--child--PaddingLeft);
|
|
243
|
+
padding-inline-end: var(--pf-v5-c-dropdown__toggle--m-split-button--child--PaddingRight);
|
|
238
244
|
}
|
|
239
245
|
.pf-v5-c-dropdown__toggle.pf-m-split-button > *:first-child {
|
|
240
246
|
--pf-v5-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-v5-c-dropdown__toggle--m-split-button--first-child--PaddingLeft);
|
|
@@ -247,16 +253,16 @@
|
|
|
247
253
|
--pf-v5-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-v5-c-dropdown__toggle--m-split-button--m-action--child--PaddingLeft);
|
|
248
254
|
}
|
|
249
255
|
.pf-v5-c-dropdown__toggle.pf-m-split-button.pf-m-action .pf-v5-c-dropdown__toggle-button {
|
|
250
|
-
margin-
|
|
256
|
+
margin-inline-end: var(--pf-v5-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight);
|
|
251
257
|
}
|
|
252
258
|
.pf-v5-c-dropdown__toggle.pf-m-split-button.pf-m-action .pf-v5-c-dropdown__toggle-button::before {
|
|
253
|
-
border-
|
|
259
|
+
border-inline-start: 0;
|
|
254
260
|
}
|
|
255
261
|
.pf-v5-c-dropdown__toggle.pf-m-split-button.pf-m-action .pf-v5-c-dropdown__toggle-button:last-child {
|
|
256
262
|
--pf-v5-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: 0;
|
|
257
263
|
}
|
|
258
264
|
.pf-v5-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary > :not(:first-child) {
|
|
259
|
-
border-
|
|
265
|
+
border-inline-start: var(--pf-v5-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth) solid var(--pf-v5-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor);
|
|
260
266
|
}
|
|
261
267
|
.pf-v5-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary.pf-m-disabled, .pf-v5-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary[disabled] {
|
|
262
268
|
--pf-v5-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: 0;
|
|
@@ -273,21 +279,19 @@
|
|
|
273
279
|
}
|
|
274
280
|
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-check > input,
|
|
275
281
|
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-check .pf-v5-c-check {
|
|
282
|
+
--pf-v5-c-check__input--TranslateY: none;
|
|
276
283
|
align-self: revert;
|
|
277
284
|
width: auto;
|
|
278
285
|
cursor: pointer;
|
|
279
286
|
visibility: var(--pf-v5-c-dropdown__toggle--m-split-button__toggle-check__input--Visibility, unset);
|
|
280
287
|
}
|
|
281
|
-
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-check .pf-v5-c-check__input {
|
|
282
|
-
-moz-transform: none;
|
|
283
|
-
}
|
|
284
288
|
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-button {
|
|
285
289
|
color: var(--pf-v5-c-dropdown__toggle-button--Color);
|
|
286
290
|
background-color: var(--pf-v5-c-dropdown__toggle-button--BackgroundColor);
|
|
287
291
|
border: 0;
|
|
288
292
|
}
|
|
289
293
|
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-text {
|
|
290
|
-
margin-
|
|
294
|
+
margin-inline-start: var(--pf-v5-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft);
|
|
291
295
|
}
|
|
292
296
|
.pf-v5-c-dropdown__toggle.pf-m-primary.pf-m-split-button:not(.pf-m-disabled) {
|
|
293
297
|
--pf-v5-c-dropdown__toggle--before--BorderWidth: 0;
|
|
@@ -307,27 +311,27 @@
|
|
|
307
311
|
--pf-v5-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-v5-c-dropdown__toggle--m-split-button--m-primary--child--focus--BackgroundColor);
|
|
308
312
|
}
|
|
309
313
|
.pf-v5-c-dropdown__toggle.pf-m-primary.pf-m-split-button:not(.pf-m-disabled) > :first-child {
|
|
310
|
-
border-
|
|
311
|
-
border-
|
|
314
|
+
border-start-start-radius: var(--pf-v5-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius);
|
|
315
|
+
border-end-start-radius: var(--pf-v5-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius);
|
|
312
316
|
}
|
|
313
317
|
.pf-v5-c-dropdown__toggle.pf-m-primary.pf-m-split-button:not(.pf-m-disabled) > :last-child {
|
|
314
|
-
border-
|
|
315
|
-
border-
|
|
318
|
+
border-start-end-radius: var(--pf-v5-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius);
|
|
319
|
+
border-end-end-radius: var(--pf-v5-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius);
|
|
316
320
|
}
|
|
317
321
|
.pf-v5-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):hover::before, .pf-v5-c-dropdown__toggle.pf-m-action .pf-v5-c-dropdown__toggle-button:hover::before {
|
|
318
322
|
--pf-v5-c-dropdown__toggle--before--BorderBottomColor: var(--pf-v5-c-dropdown__toggle--hover--before--BorderBottomColor);
|
|
319
323
|
}
|
|
320
324
|
.pf-v5-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):focus::before, .pf-v5-c-dropdown__toggle.pf-m-action .pf-v5-c-dropdown__toggle-button:focus::before {
|
|
321
325
|
--pf-v5-c-dropdown__toggle--before--BorderBottomColor: var(--pf-v5-c-dropdown__toggle--focus--before--BorderBottomColor);
|
|
322
|
-
border-
|
|
326
|
+
border-block-end-width: var(--pf-v5-c-dropdown__toggle--focus--before--BorderBottomWidth);
|
|
323
327
|
}
|
|
324
328
|
.pf-v5-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):active::before, .pf-v5-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary).pf-m-active::before, .pf-v5-c-dropdown__toggle.pf-m-action .pf-v5-c-dropdown__toggle-button:active::before {
|
|
325
329
|
--pf-v5-c-dropdown__toggle--before--BorderBottomColor: var(--pf-v5-c-dropdown__toggle--active--before--BorderBottomColor);
|
|
326
|
-
border-
|
|
330
|
+
border-block-end-width: var(--pf-v5-c-dropdown__toggle--active--before--BorderBottomWidth);
|
|
327
331
|
}
|
|
328
332
|
.pf-m-expanded > .pf-v5-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary)::before, .pf-m-expanded > .pf-v5-c-dropdown__toggle.pf-m-action .pf-v5-c-dropdown__toggle-button::before {
|
|
329
333
|
--pf-v5-c-dropdown__toggle--before--BorderBottomColor: var(--pf-v5-c-dropdown--m-expanded__toggle--before--BorderBottomColor);
|
|
330
|
-
border-
|
|
334
|
+
border-block-end-width: var(--pf-v5-c-dropdown--m-expanded__toggle--before--BorderBottomWidth);
|
|
331
335
|
}
|
|
332
336
|
.pf-v5-c-dropdown__toggle.pf-m-plain {
|
|
333
337
|
--pf-v5-c-dropdown__toggle-icon--Color: var(--pf-v5-c-dropdown--m-plain__toggle-icon--Color);
|
|
@@ -422,18 +426,18 @@
|
|
|
422
426
|
--pf-v5-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-v5-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth);
|
|
423
427
|
}
|
|
424
428
|
.pf-v5-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:first-child::before {
|
|
425
|
-
border-
|
|
426
|
-
border-
|
|
429
|
+
border-start-start-radius: var(--pf-v5-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
430
|
+
border-end-start-radius: var(--pf-v5-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
427
431
|
}
|
|
428
432
|
.pf-v5-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:last-child::before {
|
|
429
|
-
border-
|
|
430
|
-
border-
|
|
433
|
+
border-start-end-radius: var(--pf-v5-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
434
|
+
border-end-end-radius: var(--pf-v5-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
431
435
|
}
|
|
432
436
|
.pf-v5-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:first-child)::before {
|
|
433
|
-
border-
|
|
437
|
+
border-inline-start: var(--pf-v5-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base) solid var(--pf-v5-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
434
438
|
}
|
|
435
439
|
.pf-v5-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:last-child)::before {
|
|
436
|
-
border-
|
|
440
|
+
border-inline-end: 0;
|
|
437
441
|
}
|
|
438
442
|
.pf-v5-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled).pf-m-action::before {
|
|
439
443
|
border: 0;
|
|
@@ -455,13 +459,13 @@
|
|
|
455
459
|
|
|
456
460
|
.pf-v5-c-dropdown__toggle-text {
|
|
457
461
|
flex: 1 1 auto;
|
|
458
|
-
text-align:
|
|
462
|
+
text-align: start;
|
|
459
463
|
}
|
|
460
464
|
|
|
461
465
|
.pf-v5-c-dropdown__toggle-icon {
|
|
462
|
-
padding-
|
|
463
|
-
padding-
|
|
464
|
-
margin-
|
|
466
|
+
padding-inline-start: var(--pf-v5-c-dropdown__toggle-icon--PaddingLeft);
|
|
467
|
+
padding-inline-end: var(--pf-v5-c-dropdown__toggle-icon--PaddingRight);
|
|
468
|
+
margin-inline-start: var(--pf-v5-c-dropdown__toggle-icon--MarginLeft);
|
|
465
469
|
line-height: var(--pf-v5-c-dropdown__toggle-icon--LineHeight);
|
|
466
470
|
color: var(--pf-v5-c-dropdown__toggle-icon--Color, inherit);
|
|
467
471
|
}
|
|
@@ -477,7 +481,7 @@
|
|
|
477
481
|
|
|
478
482
|
.pf-v5-c-dropdown__toggle-progress {
|
|
479
483
|
position: absolute;
|
|
480
|
-
|
|
484
|
+
inset-inline-start: var(--pf-v5-c-dropdown__toggle--m-split-button--child--PaddingLeft);
|
|
481
485
|
visibility: var(--pf-v5-c-dropdown__toggle-progress--Visibility);
|
|
482
486
|
}
|
|
483
487
|
.pf-v5-c-dropdown__toggle-progress .pf-v5-c-spinner {
|
|
@@ -486,10 +490,10 @@
|
|
|
486
490
|
|
|
487
491
|
.pf-v5-c-dropdown__menu {
|
|
488
492
|
position: absolute;
|
|
489
|
-
|
|
493
|
+
inset-block-start: var(--pf-v5-c-dropdown__menu--Top);
|
|
490
494
|
z-index: var(--pf-v5-c-dropdown__menu--ZIndex);
|
|
491
|
-
padding-
|
|
492
|
-
padding-
|
|
495
|
+
padding-block-start: var(--pf-v5-c-dropdown__menu--PaddingTop);
|
|
496
|
+
padding-block-end: var(--pf-v5-c-dropdown__menu--PaddingBottom);
|
|
493
497
|
background: var(--pf-v5-c-dropdown__menu--BackgroundColor);
|
|
494
498
|
background-clip: padding-box;
|
|
495
499
|
box-shadow: var(--pf-v5-c-dropdown__menu--BoxShadow);
|
|
@@ -497,10 +501,10 @@
|
|
|
497
501
|
.pf-v5-c-dropdown__menu.pf-m-static {
|
|
498
502
|
--pf-v5-c-dropdown--m-top__menu--TranslateY: 0;
|
|
499
503
|
position: static;
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
+
inset-block-start: auto;
|
|
505
|
+
inset-block-end: auto;
|
|
506
|
+
inset-inline-start: auto;
|
|
507
|
+
inset-inline-end: auto;
|
|
504
508
|
z-index: auto;
|
|
505
509
|
min-width: min-content;
|
|
506
510
|
}
|
|
@@ -511,60 +515,60 @@
|
|
|
511
515
|
}
|
|
512
516
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-right,
|
|
513
517
|
.pf-v5-c-dropdown__menu.pf-m-align-right {
|
|
514
|
-
|
|
518
|
+
inset-inline-end: 0;
|
|
515
519
|
}
|
|
516
520
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-left,
|
|
517
521
|
.pf-v5-c-dropdown__menu.pf-m-align-left {
|
|
518
|
-
|
|
522
|
+
inset-inline-end: auto;
|
|
519
523
|
}
|
|
520
524
|
@media (min-width: 576px) {
|
|
521
525
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-right-on-sm,
|
|
522
526
|
.pf-v5-c-dropdown__menu.pf-m-align-right-on-sm {
|
|
523
|
-
|
|
527
|
+
inset-inline-end: 0;
|
|
524
528
|
}
|
|
525
529
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-left-on-sm,
|
|
526
530
|
.pf-v5-c-dropdown__menu.pf-m-align-left-on-sm {
|
|
527
|
-
|
|
531
|
+
inset-inline-end: auto;
|
|
528
532
|
}
|
|
529
533
|
}
|
|
530
534
|
@media (min-width: 768px) {
|
|
531
535
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-right-on-md,
|
|
532
536
|
.pf-v5-c-dropdown__menu.pf-m-align-right-on-md {
|
|
533
|
-
|
|
537
|
+
inset-inline-end: 0;
|
|
534
538
|
}
|
|
535
539
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-left-on-md,
|
|
536
540
|
.pf-v5-c-dropdown__menu.pf-m-align-left-on-md {
|
|
537
|
-
|
|
541
|
+
inset-inline-end: auto;
|
|
538
542
|
}
|
|
539
543
|
}
|
|
540
544
|
@media (min-width: 992px) {
|
|
541
545
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-right-on-lg,
|
|
542
546
|
.pf-v5-c-dropdown__menu.pf-m-align-right-on-lg {
|
|
543
|
-
|
|
547
|
+
inset-inline-end: 0;
|
|
544
548
|
}
|
|
545
549
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-left-on-lg,
|
|
546
550
|
.pf-v5-c-dropdown__menu.pf-m-align-left-on-lg {
|
|
547
|
-
|
|
551
|
+
inset-inline-end: auto;
|
|
548
552
|
}
|
|
549
553
|
}
|
|
550
554
|
@media (min-width: 1200px) {
|
|
551
555
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-right-on-xl,
|
|
552
556
|
.pf-v5-c-dropdown__menu.pf-m-align-right-on-xl {
|
|
553
|
-
|
|
557
|
+
inset-inline-end: 0;
|
|
554
558
|
}
|
|
555
559
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-left-on-xl,
|
|
556
560
|
.pf-v5-c-dropdown__menu.pf-m-align-left-on-xl {
|
|
557
|
-
|
|
561
|
+
inset-inline-end: auto;
|
|
558
562
|
}
|
|
559
563
|
}
|
|
560
564
|
@media (min-width: 1450px) {
|
|
561
565
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-right-on-2xl,
|
|
562
566
|
.pf-v5-c-dropdown__menu.pf-m-align-right-on-2xl {
|
|
563
|
-
|
|
567
|
+
inset-inline-end: 0;
|
|
564
568
|
}
|
|
565
569
|
.pf-v5-c-dropdown .pf-v5-c-menu.pf-m-align-left-on-2xl,
|
|
566
570
|
.pf-v5-c-dropdown__menu.pf-m-align-left-on-2xl {
|
|
567
|
-
|
|
571
|
+
inset-inline-end: auto;
|
|
568
572
|
}
|
|
569
573
|
}
|
|
570
574
|
|
|
@@ -580,12 +584,15 @@
|
|
|
580
584
|
.pf-v5-c-dropdown__menu-item {
|
|
581
585
|
display: block;
|
|
582
586
|
width: 100%;
|
|
583
|
-
padding: var(--pf-v5-c-dropdown__menu-item--PaddingTop)
|
|
587
|
+
padding-block-start: var(--pf-v5-c-dropdown__menu-item--PaddingTop);
|
|
588
|
+
padding-block-end: var(--pf-v5-c-dropdown__menu-item--PaddingBottom);
|
|
589
|
+
padding-inline-start: var(--pf-v5-c-dropdown__menu-item--PaddingLeft);
|
|
590
|
+
padding-inline-end: var(--pf-v5-c-dropdown__menu-item--PaddingRight);
|
|
584
591
|
font-size: var(--pf-v5-c-dropdown__menu-item--FontSize);
|
|
585
592
|
font-weight: var(--pf-v5-c-dropdown__menu-item--FontWeight);
|
|
586
593
|
line-height: var(--pf-v5-c-dropdown__menu-item--LineHeight);
|
|
587
594
|
color: var(--pf-v5-c-dropdown__menu-item--Color);
|
|
588
|
-
text-align:
|
|
595
|
+
text-align: start;
|
|
589
596
|
white-space: nowrap;
|
|
590
597
|
background-color: var(--pf-v5-c-dropdown__menu-item--BackgroundColor);
|
|
591
598
|
border: none;
|
|
@@ -611,7 +618,7 @@
|
|
|
611
618
|
}
|
|
612
619
|
.pf-v5-c-dropdown__menu-item.pf-m-icon.pf-m-description {
|
|
613
620
|
flex-direction: column;
|
|
614
|
-
align-items: start;
|
|
621
|
+
align-items: flex-start;
|
|
615
622
|
}
|
|
616
623
|
.pf-v5-c-dropdown__menu-item.pf-m-icon .pf-v5-c-dropdown__menu-item-main {
|
|
617
624
|
display: flex;
|
|
@@ -630,7 +637,7 @@
|
|
|
630
637
|
justify-content: center;
|
|
631
638
|
width: var(--pf-v5-c-dropdown__menu-item-icon--Width);
|
|
632
639
|
height: var(--pf-v5-c-dropdown__menu-item-icon--Height);
|
|
633
|
-
margin-
|
|
640
|
+
margin-inline-end: var(--pf-v5-c-dropdown__menu-item-icon--MarginRight);
|
|
634
641
|
}
|
|
635
642
|
.pf-v5-c-dropdown__menu-item-icon > * {
|
|
636
643
|
max-width: 100%;
|
|
@@ -643,14 +650,14 @@
|
|
|
643
650
|
}
|
|
644
651
|
|
|
645
652
|
.pf-v5-c-dropdown__group + .pf-v5-c-dropdown__group {
|
|
646
|
-
padding-
|
|
653
|
+
padding-block-start: var(--pf-v5-c-dropdown__group--group--PaddingTop);
|
|
647
654
|
}
|
|
648
655
|
|
|
649
656
|
.pf-v5-c-dropdown__group-title {
|
|
650
|
-
padding-
|
|
651
|
-
padding-
|
|
652
|
-
padding-
|
|
653
|
-
padding-
|
|
657
|
+
padding-block-start: var(--pf-v5-c-dropdown__group-title--PaddingTop);
|
|
658
|
+
padding-block-end: var(--pf-v5-c-dropdown__group-title--PaddingBottom);
|
|
659
|
+
padding-inline-start: var(--pf-v5-c-dropdown__group-title--PaddingLeft);
|
|
660
|
+
padding-inline-end: var(--pf-v5-c-dropdown__group-title--PaddingRight);
|
|
654
661
|
font-size: var(--pf-v5-c-dropdown__group-title--FontSize);
|
|
655
662
|
font-weight: var(--pf-v5-c-dropdown__group-title--FontWeight);
|
|
656
663
|
color: var(--pf-v5-c-dropdown__group-title--Color);
|