@patternfly/patternfly 6.0.0-alpha.4 → 6.0.0-alpha.41
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/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 -9
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -5
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +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 +78 -104
- package/components/AboutModalBox/about-modal-box.scss +62 -74
- 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 +35 -23
- package/components/Button/button.scss +36 -26
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +28 -17
- package/components/Card/card.scss +32 -17
- package/components/Check/check.css +12 -10
- package/components/Check/check.scss +17 -12
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +100 -97
- package/components/Content/content.scss +101 -98
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +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 +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +59 -50
- package/components/Form/form.scss +50 -45
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- 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 +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +9 -9
- package/components/InlineEdit/inline-edit.scss +9 -9
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +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 +90 -100
- package/components/MenuToggle/menu-toggle.scss +93 -111
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +162 -133
- package/components/Nav/nav.scss +162 -135
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +232 -271
- package/components/Page/page.scss +180 -231
- package/components/Pagination/pagination.css +71 -121
- package/components/Pagination/pagination.scss +56 -127
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +108 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +16 -13
- package/components/Radio/radio.scss +20 -14
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +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 +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +10 -6
- package/components/Switch/switch.scss +11 -7
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +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 +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +57 -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 +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- 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 +2 -2
- 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/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/Label/examples/Label.md +12 -12
- 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 +151 -138
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +2 -8
- package/docs/components/Nav/examples/Navigation.md +240 -114
- 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/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/SimpleList/examples/SimpleList.md +3 -3
- 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/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 +303 -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 +259 -197
- package/docs/demos/ContextSelector/examples/ContextSelector.md +374 -91
- package/docs/demos/Dashboard/examples/Dashboard.md +104 -31
- package/docs/demos/DataList/examples/DataList.md +974 -907
- package/docs/demos/DescriptionList/examples/DescriptionList.md +303 -84
- package/docs/demos/Drawer/examples/Drawer.md +505 -140
- package/docs/demos/JumpLinks/examples/JumpLinks.md +606 -168
- package/docs/demos/Masthead/examples/Masthead.md +745 -310
- package/docs/demos/Modal/examples/Modal.md +606 -168
- package/docs/demos/Nav/examples/Nav.md +808 -224
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +510 -140
- package/docs/demos/Page/examples/Page.md +909 -252
- package/docs/demos/Page/examples/Penta.md +570 -503
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1293 -914
- package/docs/demos/Skeleton/examples/Skeleton.md +108 -63
- package/docs/demos/Table/examples/Table.md +3842 -3400
- 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 +1305 -1467
- 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 -804
- package/patternfly-base.css +928 -804
- package/patternfly-no-globals.css +5253 -4984
- package/patternfly-theme-dark-unversioned.css +5258 -4989
- package/patternfly.css +5258 -4989
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- 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
|
@@ -1,70 +1,79 @@
|
|
|
1
1
|
// @debug $expandable-section; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
:root {
|
|
4
4
|
// Toggle
|
|
5
|
-
--#{$expandable-section}__toggle--PaddingTop: var(
|
|
6
|
-
--#{$expandable-section}__toggle--PaddingRight: var(
|
|
7
|
-
--#{$expandable-section}__toggle--PaddingBottom: var(
|
|
8
|
-
--#{$expandable-section}__toggle--PaddingLeft:
|
|
9
|
-
--#{$expandable-section}__toggle--MarginTop: 0;
|
|
10
|
-
--#{$expandable-section}__toggle--Color: var(--#{$pf-global}--link--Color);
|
|
11
|
-
--#{$expandable-section}__toggle--hover--Color: var(--#{$pf-global}--link--Color--hover);
|
|
12
|
-
--#{$expandable-section}__toggle--active--Color: var(--#{$pf-global}--link--Color--hover);
|
|
13
|
-
--#{$expandable-section}__toggle--focus--Color: var(--#{$pf-global}--link--Color--hover);
|
|
14
|
-
--#{$expandable-section}__toggle--m-expanded--Color: var(--#{$pf-global}--link--Color--hover);
|
|
5
|
+
--#{$expandable-section}__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
6
|
+
--#{$expandable-section}__toggle--PaddingRight: var(--pf-t--global--spacer--md);
|
|
7
|
+
--#{$expandable-section}__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
8
|
+
--#{$expandable-section}__toggle--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
15
9
|
--#{$expandable-section}__toggle--BackgroundColor: transparent;
|
|
16
|
-
|
|
10
|
+
--#{$expandable-section}__toggle--ColumnGap: calc(var(--pf-t--global--spacer--xs) + var(--pf-t--global--spacer--sm));
|
|
11
|
+
|
|
17
12
|
// Toggle icon
|
|
18
13
|
--#{$expandable-section}__toggle-icon--MinWidth: 1em;
|
|
19
|
-
--#{$expandable-section}__toggle-icon--Color: var(
|
|
14
|
+
--#{$expandable-section}__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
20
15
|
--#{$expandable-section}__toggle-icon--Transition: .2s ease-in 0s;
|
|
21
16
|
--#{$expandable-section}__toggle-icon--Rotate: 0;
|
|
22
17
|
--#{$expandable-section}__toggle-icon--m-expand-top--Rotate: 0;
|
|
23
18
|
--#{$expandable-section}--m-expanded__toggle-icon--Rotate: 90deg;
|
|
24
19
|
--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
|
|
25
|
-
|
|
20
|
+
|
|
26
21
|
// Toggle text
|
|
27
|
-
--#{$expandable-section}__toggle-text--
|
|
22
|
+
--#{$expandable-section}__toggle-text--Color: var(--pf-t--global--color--brand--default);
|
|
23
|
+
--#{$expandable-section}__toggle-text--hover--Color: var(--pf-t--global--color--brand--hover);
|
|
24
|
+
--#{$expandable-section}--m-expanded__toggle-text--Color: var(--pf-t--global--color--brand--hover);
|
|
25
|
+
|
|
28
26
|
|
|
29
27
|
// Content
|
|
30
|
-
--#{$expandable-section}__content--
|
|
28
|
+
--#{$expandable-section}__content--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
29
|
+
--#{$expandable-section}__content--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
30
|
+
--#{$expandable-section}__content--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
31
|
+
--#{$expandable-section}__content--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
31
32
|
--#{$expandable-section}__content--MaxWidth: auto;
|
|
32
|
-
|
|
33
|
+
|
|
33
34
|
// Limit Width
|
|
34
35
|
--#{$expandable-section}--m-limit-width__content--MaxWidth: #{pf-size-prem(750px)};
|
|
36
|
+
|
|
37
|
+
// Large / Disclosure
|
|
38
|
+
--#{$expandable-section}--m-display-lg--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
39
|
+
--#{$expandable-section}--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
|
|
40
|
+
--#{$expandable-section}--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
41
|
+
--#{$expandable-section}--m-display-lg__toggle--PaddingTop: var(--pf-t--global--spacer--md);
|
|
42
|
+
--#{$expandable-section}--m-display-lg__toggle--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
43
|
+
--#{$expandable-section}--m-display-lg__toggle--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
44
|
+
--#{$expandable-section}--m-display-lg__toggle--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
45
|
+
--#{$expandable-section}--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
46
|
+
--#{$expandable-section}--m-display-lg__toggle--Width: 100%;
|
|
47
|
+
--#{$expandable-section}--m-display-lg__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
48
|
+
--#{$expandable-section}--m-display-lg__toggle--active--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
49
|
+
--#{$expandable-section}--m-display-lg__toggle--focus--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
50
|
+
--#{$expandable-section}--m-display-lg__content--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
51
|
+
--#{$expandable-section}--m-display-lg__content--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
52
|
+
--#{$expandable-section}--m-display-lg__content--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
53
|
+
--#{$expandable-section}--m-expanded--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium) var(--pf-t--global--border--radius--medium) 0 0;
|
|
35
54
|
|
|
36
|
-
// Large
|
|
37
|
-
--#{$expandable-section}--m-display-lg--BoxShadow: var(--#{$pf-global}--BoxShadow--md);
|
|
38
|
-
--#{$expandable-section}--m-display-lg__toggle--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
39
|
-
--#{$expandable-section}--m-display-lg__toggle--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
40
|
-
--#{$expandable-section}--m-display-lg__toggle--PaddingBottom: var(--#{$pf-global}--spacer--md);
|
|
41
|
-
--#{$expandable-section}--m-display-lg__toggle--PaddingLeft: var(--#{$pf-global}--spacer--md);
|
|
42
|
-
--#{$expandable-section}--m-display-lg__content--MarginTop: 0;
|
|
43
|
-
--#{$expandable-section}--m-display-lg__content--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
44
|
-
--#{$expandable-section}--m-display-lg__content--PaddingBottom: var(--#{$pf-global}--spacer--lg);
|
|
45
|
-
--#{$expandable-section}--m-display-lg__content--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
46
|
-
--#{$expandable-section}--m-display-lg--after--BackgroundColor: transparent;
|
|
47
|
-
--#{$expandable-section}--m-display-lg--after--Width: var(--#{$pf-global}--BorderWidth--lg);
|
|
48
|
-
--#{$expandable-section}--m-display-lg--m-expanded--after--BackgroundColor: var(--#{$pf-global}--primary-color--100);
|
|
49
55
|
|
|
50
56
|
// Indented
|
|
51
|
-
--#{$expandable-section}--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}__toggle
|
|
52
|
-
|
|
57
|
+
--#{$expandable-section}--m-indented__content--PaddingLeft--base: calc(var(--#{$expandable-section}__toggle--ColumnGap) + var(--#{$expandable-section}__toggle-icon--MinWidth));
|
|
58
|
+
--#{$expandable-section}--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}--m-indented__content--PaddingLeft--base) + var(--#{$expandable-section}__toggle--PaddingLeft));
|
|
59
|
+
--#{$expandable-section}--m-display-lg--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}--m-indented__content--PaddingLeft--base) + var(--#{$expandable-section}--m-display-lg__content--PaddingLeft));
|
|
60
|
+
|
|
53
61
|
// Truncate
|
|
62
|
+
--#{$expandable-section}--m-truncate--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
63
|
+
--#{$expandable-section}--m-truncate--PaddingRight: var(--pf-t--global--spacer--md);
|
|
64
|
+
--#{$expandable-section}--m-truncate--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
65
|
+
--#{$expandable-section}--m-truncate--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
66
|
+
--#{$expandable-section}--m-truncate__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
54
67
|
--#{$expandable-section}--m-truncate__content--LineClamp: 3;
|
|
55
|
-
|
|
56
|
-
|
|
68
|
+
}
|
|
57
69
|
|
|
70
|
+
.#{$expandable-section} {
|
|
58
71
|
&.pf-m-expanded {
|
|
59
|
-
--#{$expandable-section}__toggle--Color: var(--#{$expandable-section}
|
|
72
|
+
--#{$expandable-section}__toggle-text--Color: var(--#{$expandable-section}--m-expanded__toggle-text--Color);
|
|
60
73
|
--#{$expandable-section}__toggle-icon--Rotate: var(--#{$expandable-section}--m-expanded__toggle-icon--Rotate);
|
|
61
74
|
--#{$expandable-section}__toggle-icon--m-expand-top--Rotate: var(--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate);
|
|
62
75
|
--#{$expandable-section}--m-display-lg--after--BackgroundColor: var(--#{$expandable-section}--m-display-lg--m-expanded--after--BackgroundColor);
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
&.pf-m-detached,
|
|
66
|
-
&.pf-m-truncate {
|
|
67
|
-
--#{$expandable-section}__content--MarginTop: 0;
|
|
76
|
+
--#{$expandable-section}--m-display-lg__toggle--BorderRadius: var(--#{$expandable-section}--m-expanded--m-display-lg__toggle--BorderRadius);
|
|
68
77
|
}
|
|
69
78
|
|
|
70
79
|
&.pf-m-limit-width {
|
|
@@ -76,23 +85,19 @@
|
|
|
76
85
|
--#{$expandable-section}__toggle--PaddingRight: var(--#{$expandable-section}--m-display-lg__toggle--PaddingRight);
|
|
77
86
|
--#{$expandable-section}__toggle--PaddingBottom: var(--#{$expandable-section}--m-display-lg__toggle--PaddingBottom);
|
|
78
87
|
--#{$expandable-section}__toggle--PaddingLeft: var(--#{$expandable-section}--m-display-lg__toggle--PaddingLeft);
|
|
88
|
+
--#{$expandable-section}__toggle--hover--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--hover--BackgroundColor);
|
|
89
|
+
--#{$expandable-section}__toggle--active--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--active--BackgroundColor);
|
|
90
|
+
--#{$expandable-section}__toggle--focus--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--focus--BackgroundColor);
|
|
91
|
+
--#{$expandable-section}__toggle--BorderRadius: var(--#{$expandable-section}--m-display-lg__toggle--BorderRadius);
|
|
92
|
+
--#{$expandable-section}__toggle--Width: var(--#{$expandable-section}--m-display-lg__toggle--Width);
|
|
79
93
|
--#{$expandable-section}__content--PaddingRight: var(--#{$expandable-section}--m-display-lg__content--PaddingRight);
|
|
80
94
|
--#{$expandable-section}__content--PaddingBottom: var(--#{$expandable-section}--m-display-lg__content--PaddingBottom);
|
|
81
95
|
--#{$expandable-section}__content--PaddingLeft: var(--#{$expandable-section}--m-display-lg__content--PaddingLeft);
|
|
82
|
-
--#{$expandable-section}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
&::after {
|
|
88
|
-
position: absolute;
|
|
89
|
-
top: 0;
|
|
90
|
-
bottom: 0;
|
|
91
|
-
left: 0;
|
|
92
|
-
width: var(--#{$expandable-section}--m-display-lg--after--Width);
|
|
93
|
-
content: "";
|
|
94
|
-
background-color: var(--#{$expandable-section}--m-display-lg--after--BackgroundColor);
|
|
95
|
-
}
|
|
96
|
+
--#{$expandable-section}--m-indented__content--PaddingLeft: var(--#{$expandable-section}--m-display-lg--m-indented__content--PaddingLeft);
|
|
97
|
+
|
|
98
|
+
background-color: var(--#{$expandable-section}--m-display-lg--BackgroundColor);
|
|
99
|
+
border: solid 1px var(--#{$expandable-section}--m-display-lg--BorderColor);
|
|
100
|
+
border-radius: var(--#{$expandable-section}--m-display-lg--BorderRadius);
|
|
96
101
|
}
|
|
97
102
|
|
|
98
103
|
&.pf-m-indented {
|
|
@@ -100,11 +105,14 @@
|
|
|
100
105
|
}
|
|
101
106
|
|
|
102
107
|
&.pf-m-truncate {
|
|
103
|
-
--#{$expandable-section}__toggle--MarginTop: var(--#{$expandable-section}--m-truncate__toggle--MarginTop);
|
|
104
108
|
--#{$expandable-section}__toggle--PaddingTop: 0;
|
|
105
109
|
--#{$expandable-section}__toggle--PaddingRight: 0;
|
|
106
|
-
--#{$expandable-section}__toggle--PaddingBottom:
|
|
107
|
-
--#{$expandable-section}__toggle
|
|
110
|
+
--#{$expandable-section}__toggle--PaddingBottom: var(--#{$expandable-section}--m-truncate__toggle--PaddingBottom);
|
|
111
|
+
--#{$expandable-section}__toggle--PaddingLeft: 0;
|
|
112
|
+
--#{$expandable-section}__content--PaddingTop: 0;
|
|
113
|
+
--#{$expandable-section}__content--PaddingRight: 0;
|
|
114
|
+
--#{$expandable-section}__content--PaddingBottom: 0;
|
|
115
|
+
--#{$expandable-section}__content--PaddingLeft: 0;
|
|
108
116
|
|
|
109
117
|
&:not(.pf-m-expanded) .#{$expandable-section}__content {
|
|
110
118
|
// stylelint-disable
|
|
@@ -115,35 +123,29 @@
|
|
|
115
123
|
overflow: hidden;
|
|
116
124
|
}
|
|
117
125
|
}
|
|
118
|
-
|
|
119
|
-
&.pf-m-detached {
|
|
120
|
-
--#{$expandable-section}--m-truncate__toggle--MarginTop: 0;
|
|
121
|
-
}
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
.#{$expandable-section}__toggle {
|
|
125
129
|
display: flex;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
column-gap: var(--#{$expandable-section}__toggle--ColumnGap);
|
|
131
|
+
width: var(--#{$expandable-section}__toggle--Width, initial);
|
|
132
|
+
padding-block-start: var(--#{$expandable-section}__toggle--PaddingTop);
|
|
133
|
+
padding-block-end: var(--#{$expandable-section}__toggle--PaddingBottom);
|
|
134
|
+
padding-inline-start: var(--#{$expandable-section}__toggle--PaddingLeft);
|
|
135
|
+
padding-inline-end: var(--#{$expandable-section}__toggle--PaddingRight);
|
|
129
136
|
background-color: var(--#{$expandable-section}__toggle--BackgroundColor);
|
|
130
137
|
border: none;
|
|
138
|
+
border-radius: var(--#{$expandable-section}__toggle--BorderRadius, 0);
|
|
131
139
|
|
|
132
|
-
&:hover {
|
|
133
|
-
--#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--hover--Color);
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
&:active,
|
|
137
|
-
&.pf-m-active {
|
|
138
|
-
--#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--active--Color);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&:focus {
|
|
142
|
-
--#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--focus--Color);
|
|
140
|
+
&:is(:hover, :focus) {
|
|
141
|
+
--#{$expandable-section}__toggle-text--Color: var(--#{$expandable-section}__toggle-text--hover--Color);
|
|
142
|
+
--#{$expandable-section}__toggle--BackgroundColor: var(--#{$expandable-section}__toggle--hover--BackgroundColor, initial);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.#{$expandable-section}__toggle-icon {
|
|
147
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
148
|
+
|
|
147
149
|
min-width: var(--#{$expandable-section}__toggle-icon--MinWidth);
|
|
148
150
|
color: var(--#{$expandable-section}__toggle-icon--Color);
|
|
149
151
|
transition: var(--#{$expandable-section}__toggle-icon--Transition);
|
|
@@ -155,13 +157,13 @@
|
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
.#{$expandable-section}__toggle-text {
|
|
158
|
-
|
|
160
|
+
color: var(--#{$expandable-section}__toggle-text--Color);
|
|
159
161
|
}
|
|
160
162
|
|
|
161
163
|
.#{$expandable-section}__content {
|
|
162
164
|
max-width: var(--#{$expandable-section}__content--MaxWidth);
|
|
163
|
-
padding-
|
|
164
|
-
padding-
|
|
165
|
-
padding-
|
|
166
|
-
|
|
165
|
+
padding-block-start: var(--#{$expandable-section}__content--PaddingTop);
|
|
166
|
+
padding-block-end: var(--#{$expandable-section}__content--PaddingBottom);
|
|
167
|
+
padding-inline-start: var(--#{$expandable-section}__content--PaddingLeft);
|
|
168
|
+
padding-inline-end: var(--#{$expandable-section}__content--PaddingRight);
|
|
167
169
|
}
|
|
@@ -16,20 +16,14 @@
|
|
|
16
16
|
}
|
|
17
17
|
.pf-v5-c-file-upload.pf-m-drag-hover::before {
|
|
18
18
|
position: absolute;
|
|
19
|
-
|
|
20
|
-
right: 0;
|
|
21
|
-
bottom: 0;
|
|
22
|
-
left: 0;
|
|
19
|
+
inset: 0;
|
|
23
20
|
z-index: var(--pf-v5-c-file-upload--m-drag-hover--before--ZIndex);
|
|
24
21
|
content: "";
|
|
25
22
|
border: var(--pf-v5-c-file-upload--m-drag-hover--before--BorderWidth) solid var(--pf-v5-c-file-upload--m-drag-hover--before--BorderColor);
|
|
26
23
|
}
|
|
27
24
|
.pf-v5-c-file-upload.pf-m-drag-hover::after {
|
|
28
25
|
position: absolute;
|
|
29
|
-
|
|
30
|
-
right: 0;
|
|
31
|
-
bottom: 0;
|
|
32
|
-
left: 0;
|
|
26
|
+
inset: 0;
|
|
33
27
|
content: "";
|
|
34
28
|
background-color: var(--pf-v5-c-file-upload--m-drag-hover--after--BackgroundColor);
|
|
35
29
|
opacity: var(--pf-v5-c-file-upload--m-drag-hover--after--Opacity);
|
|
@@ -39,10 +33,10 @@
|
|
|
39
33
|
}
|
|
40
34
|
.pf-v5-c-file-upload.pf-m-loading .pf-v5-c-file-upload__file-details::before {
|
|
41
35
|
position: absolute;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
inset-block-start: 0;
|
|
37
|
+
inset-block-end: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
38
|
+
inset-inline-start: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
39
|
+
inset-inline-end: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
46
40
|
content: "";
|
|
47
41
|
background-color: var(--pf-v5-c-file-upload--m-loading__file-details--before--BackgroundColor);
|
|
48
42
|
}
|
|
@@ -58,12 +52,12 @@
|
|
|
58
52
|
.pf-v5-c-file-upload__file-details .pf-v5-c-form-control {
|
|
59
53
|
flex: 1 1 auto;
|
|
60
54
|
min-height: var(--pf-v5-c-file-upload__file-details__c-form-control--MinHeight);
|
|
61
|
-
border-
|
|
55
|
+
border-block-start: 0;
|
|
62
56
|
}
|
|
63
57
|
|
|
64
58
|
.pf-v5-c-file-upload__file-details-spinner {
|
|
65
59
|
position: absolute;
|
|
66
|
-
|
|
67
|
-
|
|
60
|
+
inset-block-start: 50%;
|
|
61
|
+
inset-inline-start: 50%;
|
|
68
62
|
transform: translate(-50%, -50%);
|
|
69
63
|
}
|
|
@@ -27,10 +27,7 @@
|
|
|
27
27
|
&.pf-m-drag-hover {
|
|
28
28
|
&::before {
|
|
29
29
|
position: absolute;
|
|
30
|
-
|
|
31
|
-
right: 0;
|
|
32
|
-
bottom: 0;
|
|
33
|
-
left: 0;
|
|
30
|
+
inset: 0;
|
|
34
31
|
z-index: var(--#{$file-upload}--m-drag-hover--before--ZIndex);
|
|
35
32
|
content: "";
|
|
36
33
|
border: var(--#{$file-upload}--m-drag-hover--before--BorderWidth) solid var(--#{$file-upload}--m-drag-hover--before--BorderColor);
|
|
@@ -38,10 +35,7 @@
|
|
|
38
35
|
|
|
39
36
|
&::after {
|
|
40
37
|
position: absolute;
|
|
41
|
-
|
|
42
|
-
right: 0;
|
|
43
|
-
bottom: 0;
|
|
44
|
-
left: 0;
|
|
38
|
+
inset: 0;
|
|
45
39
|
content: "";
|
|
46
40
|
background-color: var(--#{$file-upload}--m-drag-hover--after--BackgroundColor);
|
|
47
41
|
opacity: var(--#{$file-upload}--m-drag-hover--after--Opacity);
|
|
@@ -54,10 +48,10 @@
|
|
|
54
48
|
|
|
55
49
|
&::before {
|
|
56
50
|
position: absolute;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
inset-block-start: 0;
|
|
52
|
+
inset-block-end: var(--#{$file-upload}--m-loading__file-details--before--Left);
|
|
53
|
+
inset-inline-start: var(--#{$file-upload}--m-loading__file-details--before--Left);
|
|
54
|
+
inset-inline-end: var(--#{$file-upload}--m-loading__file-details--before--Left);
|
|
61
55
|
content: "";
|
|
62
56
|
background-color: var(--#{$file-upload}--m-loading__file-details--before--BackgroundColor);
|
|
63
57
|
}
|
|
@@ -78,13 +72,13 @@
|
|
|
78
72
|
.#{$form-control} {
|
|
79
73
|
flex: 1 1 auto;
|
|
80
74
|
min-height: var(--#{$file-upload}__file-details__c-form-control--MinHeight);
|
|
81
|
-
border-
|
|
75
|
+
border-block-start: 0;
|
|
82
76
|
}
|
|
83
77
|
}
|
|
84
78
|
|
|
85
79
|
.#{$file-upload}__file-details-spinner {
|
|
86
80
|
position: absolute;
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
inset-block-start: 50%;
|
|
82
|
+
inset-inline-start: 50%;
|
|
89
83
|
transform: translate(-50%, -50%);
|
|
90
84
|
}
|
package/components/Form/form.css
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
gap: var(--pf-v5-c-form--GridGap);
|
|
102
102
|
}
|
|
103
103
|
.pf-v5-c-form.pf-m-horizontal.pf-m-align-right .pf-v5-c-form__label {
|
|
104
|
-
text-align:
|
|
104
|
+
text-align: end;
|
|
105
105
|
}
|
|
106
106
|
@media screen and (min-width: 768px) {
|
|
107
107
|
.pf-v5-c-form.pf-m-horizontal {
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
114
114
|
}
|
|
115
115
|
.pf-v5-c-form.pf-m-horizontal .pf-v5-c-form__group-label {
|
|
116
|
-
padding-
|
|
116
|
+
padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
117
117
|
}
|
|
118
118
|
.pf-v5-c-form.pf-m-horizontal .pf-v5-c-form__group-label.pf-m-no-padding-top {
|
|
119
119
|
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
134
134
|
}
|
|
135
135
|
.pf-v5-c-form.pf-m-horizontal-on-xs .pf-v5-c-form__group-label {
|
|
136
|
-
padding-
|
|
136
|
+
padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
137
137
|
}
|
|
138
138
|
.pf-v5-c-form.pf-m-horizontal-on-xs .pf-v5-c-form__group-label.pf-m-no-padding-top {
|
|
139
139
|
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
154
154
|
}
|
|
155
155
|
.pf-v5-c-form.pf-m-horizontal-on-sm .pf-v5-c-form__group-label {
|
|
156
|
-
padding-
|
|
156
|
+
padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
157
157
|
}
|
|
158
158
|
.pf-v5-c-form.pf-m-horizontal-on-sm .pf-v5-c-form__group-label.pf-m-no-padding-top {
|
|
159
159
|
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
174
174
|
}
|
|
175
175
|
.pf-v5-c-form.pf-m-horizontal-on-md .pf-v5-c-form__group-label {
|
|
176
|
-
padding-
|
|
176
|
+
padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
177
177
|
}
|
|
178
178
|
.pf-v5-c-form.pf-m-horizontal-on-md .pf-v5-c-form__group-label.pf-m-no-padding-top {
|
|
179
179
|
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
194
194
|
}
|
|
195
195
|
.pf-v5-c-form.pf-m-horizontal-on-lg .pf-v5-c-form__group-label {
|
|
196
|
-
padding-
|
|
196
|
+
padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
197
197
|
}
|
|
198
198
|
.pf-v5-c-form.pf-m-horizontal-on-lg .pf-v5-c-form__group-label.pf-m-no-padding-top {
|
|
199
199
|
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
214
214
|
}
|
|
215
215
|
.pf-v5-c-form.pf-m-horizontal-on-xl .pf-v5-c-form__group-label {
|
|
216
|
-
padding-
|
|
216
|
+
padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
217
217
|
}
|
|
218
218
|
.pf-v5-c-form.pf-m-horizontal-on-xl .pf-v5-c-form__group-label.pf-m-no-padding-top {
|
|
219
219
|
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
234
234
|
}
|
|
235
235
|
.pf-v5-c-form.pf-m-horizontal-on-2xl .pf-v5-c-form__group-label {
|
|
236
|
-
padding-
|
|
236
|
+
padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
237
237
|
}
|
|
238
238
|
.pf-v5-c-form.pf-m-horizontal-on-2xl .pf-v5-c-form__group-label.pf-m-no-padding-top {
|
|
239
239
|
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
@@ -247,8 +247,11 @@
|
|
|
247
247
|
max-width: var(--pf-v5-c-form--m-limit-width--MaxWidth);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
+
.pf-v5-c-form__group {
|
|
251
|
+
min-width: 0;
|
|
252
|
+
}
|
|
250
253
|
.pf-v5-c-form__group.pf-m-action {
|
|
251
|
-
margin-
|
|
254
|
+
margin-block-start: var(--pf-v5-c-form__group--m-action--MarginTop);
|
|
252
255
|
overflow: hidden;
|
|
253
256
|
}
|
|
254
257
|
|
|
@@ -257,18 +260,18 @@
|
|
|
257
260
|
gap: var(--pf-v5-c-form__section--Gap);
|
|
258
261
|
}
|
|
259
262
|
.pf-v5-c-form__section + .pf-v5-c-form__group:not(.pf-m-action), .pf-v5-c-form__section:not(:first-child) {
|
|
260
|
-
margin-
|
|
263
|
+
margin-block-start: var(--pf-v5-c-form__section--MarginTop);
|
|
261
264
|
}
|
|
262
265
|
|
|
263
266
|
.pf-v5-c-form__section-title {
|
|
264
|
-
margin-
|
|
267
|
+
margin-block-end: var(--pf-v5-c-form__section-title--MarginBottom);
|
|
265
268
|
font-size: var(--pf-v5-c-form__section-title--FontSize);
|
|
266
269
|
font-weight: var(--pf-v5-c-form__section-title--FontWeight);
|
|
267
270
|
}
|
|
268
271
|
|
|
269
272
|
.pf-v5-c-form__group-label {
|
|
270
273
|
--pf-v5-c-form__helper-text--MarginTop: 0;
|
|
271
|
-
padding-
|
|
274
|
+
padding-block-end: var(--pf-v5-c-form__group-label--PaddingBottom);
|
|
272
275
|
}
|
|
273
276
|
.pf-v5-c-form__group-label.pf-m-info {
|
|
274
277
|
display: flex;
|
|
@@ -280,7 +283,7 @@
|
|
|
280
283
|
}
|
|
281
284
|
|
|
282
285
|
.pf-v5-c-form__group-label-info {
|
|
283
|
-
margin-
|
|
286
|
+
margin-inline-start: var(--pf-v5-c-form__group-label-info--MarginLeft);
|
|
284
287
|
font-size: var(--pf-v5-c-form__group-label-info--FontSize);
|
|
285
288
|
}
|
|
286
289
|
|
|
@@ -306,20 +309,20 @@
|
|
|
306
309
|
}
|
|
307
310
|
|
|
308
311
|
.pf-v5-c-form__label-required {
|
|
309
|
-
margin-
|
|
312
|
+
margin-inline-start: var(--pf-v5-c-form__label-required--MarginLeft);
|
|
310
313
|
font-size: var(--pf-v5-c-form__label-required--FontSize);
|
|
311
314
|
color: var(--pf-v5-c-form__label-required--Color);
|
|
312
315
|
}
|
|
313
316
|
|
|
314
317
|
.pf-v5-c-form__group-label-help {
|
|
315
|
-
padding-
|
|
316
|
-
padding-
|
|
317
|
-
padding-
|
|
318
|
-
padding-
|
|
319
|
-
margin-
|
|
320
|
-
margin-
|
|
321
|
-
margin-
|
|
322
|
-
margin-
|
|
318
|
+
padding-block-start: var(--pf-v5-c-form__group-label-help--PaddingTop);
|
|
319
|
+
padding-block-end: var(--pf-v5-c-form__group-label-help--PaddingBottom);
|
|
320
|
+
padding-inline-start: var(--pf-v5-c-form__group-label-help--PaddingLeft);
|
|
321
|
+
padding-inline-end: var(--pf-v5-c-form__group-label-help--PaddingRight);
|
|
322
|
+
margin-block-start: var(--pf-v5-c-form__group-label-help--MarginTop);
|
|
323
|
+
margin-block-end: var(--pf-v5-c-form__group-label-help--MarginBottom);
|
|
324
|
+
margin-inline-start: var(--pf-v5-c-form__group-label-help--MarginLeft);
|
|
325
|
+
margin-inline-end: var(--pf-v5-c-form__group-label-help--MarginRight);
|
|
323
326
|
font-size: var(--pf-v5-c-form__group-label-help--FontSize);
|
|
324
327
|
line-height: 1;
|
|
325
328
|
color: var(--pf-v5-c-form__group-label-help--Color);
|
|
@@ -335,12 +338,15 @@
|
|
|
335
338
|
--pf-v5-c-form__group-label-help--Color: var(--pf-v5-c-form__group-label-help--focus--Color);
|
|
336
339
|
}
|
|
337
340
|
|
|
341
|
+
.pf-v5-c-form__group-control {
|
|
342
|
+
min-width: 0;
|
|
343
|
+
}
|
|
338
344
|
.pf-v5-c-form__group-control.pf-m-inline {
|
|
339
345
|
display: flex;
|
|
340
346
|
flex-flow: row wrap;
|
|
341
347
|
}
|
|
342
348
|
.pf-v5-c-form__group-control.pf-m-inline > * {
|
|
343
|
-
margin-
|
|
349
|
+
margin-inline-end: var(--pf-v5-c-form__group-control--m-inline--child--MarginRight);
|
|
344
350
|
}
|
|
345
351
|
.pf-v5-c-form__group-control.pf-m-inline > :last-child {
|
|
346
352
|
--pf-v5-c-form__group-control--m-inline--child--MarginRight: 0;
|
|
@@ -352,11 +358,11 @@
|
|
|
352
358
|
}
|
|
353
359
|
.pf-v5-c-form__group-control .pf-v5-c-form__helper-text:first-child {
|
|
354
360
|
--pf-v5-c-form__helper-text--MarginTop: 0;
|
|
355
|
-
margin-
|
|
361
|
+
margin-block-end: var(--pf-v5-c-form__group-control__helper-text--MarginBottom);
|
|
356
362
|
}
|
|
357
363
|
|
|
358
364
|
.pf-v5-c-form__helper-text {
|
|
359
|
-
margin-
|
|
365
|
+
margin-block-start: var(--pf-v5-c-form__helper-text--MarginTop);
|
|
360
366
|
font-size: var(--pf-v5-c-form__helper-text--FontSize);
|
|
361
367
|
color: var(--pf-v5-c-form__helper-text--Color);
|
|
362
368
|
}
|
|
@@ -378,7 +384,7 @@
|
|
|
378
384
|
}
|
|
379
385
|
|
|
380
386
|
.pf-v5-c-form__helper-text-icon {
|
|
381
|
-
margin-
|
|
387
|
+
margin-inline-end: var(--pf-v5-c-form__helper-text-icon--MarginRight);
|
|
382
388
|
font-size: var(--pf-v5-c-form__helper-text-icon--FontSize);
|
|
383
389
|
}
|
|
384
390
|
|
|
@@ -389,24 +395,24 @@
|
|
|
389
395
|
.pf-v5-c-form__actions {
|
|
390
396
|
display: flex;
|
|
391
397
|
flex-wrap: wrap;
|
|
392
|
-
margin-
|
|
393
|
-
margin-
|
|
394
|
-
margin-
|
|
395
|
-
margin-
|
|
398
|
+
margin-block-start: var(--pf-v5-c-form__actions--MarginTop);
|
|
399
|
+
margin-block-end: var(--pf-v5-c-form__actions--MarginBottom);
|
|
400
|
+
margin-inline-start: var(--pf-v5-c-form__actions--MarginLeft);
|
|
401
|
+
margin-inline-end: var(--pf-v5-c-form__actions--MarginRight);
|
|
396
402
|
}
|
|
397
403
|
.pf-v5-c-form__actions > * {
|
|
398
|
-
margin-
|
|
399
|
-
margin-
|
|
400
|
-
margin-
|
|
401
|
-
margin-
|
|
404
|
+
margin-block-start: var(--pf-v5-c-form__actions--child--MarginTop);
|
|
405
|
+
margin-block-end: var(--pf-v5-c-form__actions--child--MarginBottom);
|
|
406
|
+
margin-inline-start: var(--pf-v5-c-form__actions--child--MarginLeft);
|
|
407
|
+
margin-inline-end: var(--pf-v5-c-form__actions--child--MarginRight);
|
|
402
408
|
}
|
|
403
409
|
|
|
404
410
|
.pf-v5-c-form__field-group {
|
|
405
411
|
--pf-v5-c-form__field-group--BorderTopWidth: var(--pf-v5-c-form__field-group--border-width-base);
|
|
406
412
|
display: grid;
|
|
407
413
|
grid-template-columns: minmax(var(--pf-v5-c-form__field-group--GridTemplateColumns--toggle), max-content) 1fr;
|
|
408
|
-
border-
|
|
409
|
-
border-
|
|
414
|
+
border-block-start: var(--pf-v5-c-form__field-group--BorderTopWidth) solid var(--pf-v5-c-form__field-group--BorderTopColor);
|
|
415
|
+
border-block-end: var(--pf-v5-c-form__field-group--BorderBottomWidth) solid var(--pf-v5-c-form__field-group--BorderBottomColor);
|
|
410
416
|
}
|
|
411
417
|
.pf-v5-c-form__field-group:last-child {
|
|
412
418
|
--pf-v5-c-form__field-group--BorderBottomWidth: 0;
|
|
@@ -415,7 +421,7 @@
|
|
|
415
421
|
--pf-v5-c-form__field-group--BorderTopWidth: 0;
|
|
416
422
|
}
|
|
417
423
|
.pf-v5-c-form__field-group + .pf-v5-c-form__field-group {
|
|
418
|
-
margin-
|
|
424
|
+
margin-block-start: var(--pf-v5-c-form__field-group--field-group--MarginTop);
|
|
419
425
|
}
|
|
420
426
|
.pf-v5-c-form__field-group .pf-v5-c-form__field-group {
|
|
421
427
|
--pf-v5-c-form__field-group-body--GridColumn: var(--pf-v5-c-form__field-group__field-group__field-group-body--GridColumn);
|
|
@@ -434,16 +440,16 @@
|
|
|
434
440
|
.pf-v5-c-form__field-group-toggle {
|
|
435
441
|
grid-row: 1/2;
|
|
436
442
|
grid-column: 1/2;
|
|
437
|
-
padding-
|
|
438
|
-
padding-
|
|
443
|
+
padding-block-start: var(--pf-v5-c-form__field-group-toggle--PaddingTop);
|
|
444
|
+
padding-inline-end: var(--pf-v5-c-form__field-group-toggle--PaddingRight);
|
|
439
445
|
}
|
|
440
446
|
.pf-v5-c-form__field-group-toggle + .pf-v5-c-form__field-group-header {
|
|
441
447
|
--pf-v5-c-form__field-group-header--GridColumn: var(--pf-v5-c-form__field-group-toggle--field-group-header--GridColumn);
|
|
442
448
|
}
|
|
443
449
|
|
|
444
450
|
.pf-v5-c-form__field-group-toggle-button {
|
|
445
|
-
margin-
|
|
446
|
-
margin-
|
|
451
|
+
margin-block-start: var(--pf-v5-c-form__field-group-toggle-button--MarginTop);
|
|
452
|
+
margin-block-end: var(--pf-v5-c-form__field-group-toggle-button--MarginBottom);
|
|
447
453
|
}
|
|
448
454
|
|
|
449
455
|
.pf-v5-c-form__field-group-toggle-icon {
|
|
@@ -453,14 +459,17 @@
|
|
|
453
459
|
transition: var(--pf-v5-c-form__field-group-toggle-icon--Transition);
|
|
454
460
|
transform: rotate(var(--pf-v5-c-form__field-group-toggle-icon--Rotate));
|
|
455
461
|
}
|
|
462
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-form__field-group-toggle-icon {
|
|
463
|
+
scale: -1 1;
|
|
464
|
+
}
|
|
456
465
|
|
|
457
466
|
.pf-v5-c-form__field-group-header {
|
|
458
467
|
display: flex;
|
|
459
468
|
grid-row: 1/2;
|
|
460
469
|
grid-column: var(--pf-v5-c-form__field-group-header--GridColumn);
|
|
461
470
|
align-items: flex-start;
|
|
462
|
-
padding-
|
|
463
|
-
padding-
|
|
471
|
+
padding-block-start: var(--pf-v5-c-form__field-group-header--PaddingTop);
|
|
472
|
+
padding-block-end: var(--pf-v5-c-form__field-group-header--PaddingBottom);
|
|
464
473
|
}
|
|
465
474
|
|
|
466
475
|
.pf-v5-c-form__field-group-header-main {
|
|
@@ -478,14 +487,14 @@
|
|
|
478
487
|
}
|
|
479
488
|
|
|
480
489
|
.pf-v5-c-form__field-group-header-description {
|
|
481
|
-
margin-
|
|
490
|
+
margin-block-start: var(--pf-v5-c-form__field-group-header-description--MarginTop);
|
|
482
491
|
color: var(--pf-v5-c-form__field-group-header-description--Color);
|
|
483
492
|
}
|
|
484
493
|
|
|
485
494
|
.pf-v5-c-form__field-group-header-actions {
|
|
486
|
-
margin-
|
|
487
|
-
margin-
|
|
488
|
-
margin-
|
|
495
|
+
margin-block-start: var(--pf-v5-c-form__field-group-header-actions--MarginTop);
|
|
496
|
+
margin-block-end: var(--pf-v5-c-form__field-group-header-actions--MarginBottom);
|
|
497
|
+
margin-inline-start: var(--pf-v5-c-form__field-group-header-actions--MarginLeft);
|
|
489
498
|
white-space: nowrap;
|
|
490
499
|
}
|
|
491
500
|
|
|
@@ -493,15 +502,15 @@
|
|
|
493
502
|
display: grid;
|
|
494
503
|
grid-column: var(--pf-v5-c-form__field-group-body--GridColumn);
|
|
495
504
|
gap: var(--pf-v5-c-form__field-group-body--Gap);
|
|
496
|
-
padding-
|
|
497
|
-
padding-
|
|
505
|
+
padding-block-start: var(--pf-v5-c-form__field-group-body--PaddingTop);
|
|
506
|
+
padding-block-end: var(--pf-v5-c-form__field-group-body--PaddingBottom);
|
|
498
507
|
}
|
|
499
508
|
.pf-v5-c-form__field-group-body > .pf-v5-c-form__field-group:first-child {
|
|
500
509
|
--pf-v5-c-form__field-group-toggle--PaddingTop: 0;
|
|
501
510
|
--pf-v5-c-form__field-group-header--PaddingTop: 0;
|
|
502
511
|
}
|
|
503
512
|
.pf-v5-c-form__field-group-body > .pf-v5-c-form__field-group:last-child {
|
|
504
|
-
margin-
|
|
513
|
+
margin-block-end: var(--pf-v5-c-form__field-group-body__field-group--last-child--MarginBottom);
|
|
505
514
|
}
|
|
506
515
|
|
|
507
516
|
:where(.pf-v5-theme-dark) .pf-v5-c-form {
|