@patternfly/patternfly 5.0.0-alpha.4 → 5.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/README.md +4 -4
- package/RELEASE-NOTES.md +18 -1
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/pfbg-icon.svg +1 -0
- package/assets/pficon/pficon.scss +7 -2
- package/assets/pficon/pficon.woff2 +0 -0
- package/base/_base.scss +0 -18
- package/base/_chart-globals.scss +0 -4
- package/base/_common.scss +0 -22
- package/base/_fa-icons.scss +1 -2
- package/base/_fonts.scss +22 -27
- package/base/_globals.scss +92 -86
- package/base/_icons.scss +1 -28
- package/base/_svg-icons.scss +6 -0
- package/base/_variables.scss +4 -4
- package/base/patternfly-common.css +0 -10
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fonts.css +17 -17
- package/base/patternfly-globals.css +35 -41
- package/base/patternfly-icons.css +8 -22
- package/base/patternfly-pf-icons.css +6 -2
- package/base/patternfly-themes.css +0 -42
- package/base/patternfly-variables.css +3 -3
- package/base/themes/dark/_globals.scss +1 -1
- package/base/themes/dark/_variables.scss +1 -1
- package/components/AboutModalBox/about-modal-box.css +20 -50
- package/components/AboutModalBox/about-modal-box.scss +22 -14
- package/components/Accordion/accordion.css +2 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/Alert/alert.css +17 -8
- package/components/Alert/alert.scss +21 -7
- package/components/Alert/themes/dark/alert.scss +1 -1
- package/components/AppLauncher/app-launcher.css +2 -0
- package/components/AppLauncher/app-launcher.scss +2 -0
- package/components/Avatar/avatar.scss +2 -2
- package/components/BackgroundImage/background-image.css +8 -35
- package/components/BackgroundImage/background-image.scss +17 -43
- package/components/Banner/banner.css +14 -52
- package/components/Banner/banner.scss +9 -13
- package/components/Breadcrumb/breadcrumb.css +2 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/CalendarMonth/calendar-month.css +2 -2
- package/components/CalendarMonth/calendar-month.scss +3 -3
- package/components/Card/card.css +115 -50
- package/components/Card/card.scss +164 -63
- package/components/Chip/chip.css +33 -24
- package/components/Chip/chip.scss +40 -31
- package/components/ChipGroup/chip-group.css +27 -17
- package/components/ChipGroup/chip-group.scss +36 -22
- package/components/Content/content.css +11 -5
- package/components/Content/content.scss +17 -9
- package/components/ContextSelector/context-selector.css +13 -6
- package/components/ContextSelector/context-selector.scss +14 -7
- package/components/DataList/data-list-grid.css +7 -7
- package/components/DataList/data-list-grid.scss +1 -1
- package/components/DataList/data-list.css +46 -40
- package/components/DataList/data-list.scss +37 -28
- package/components/DatePicker/date-picker.css +0 -8
- package/components/DatePicker/date-picker.scss +0 -9
- package/components/DescriptionList/description-list.css +7 -7
- package/components/DescriptionList/description-list.scss +7 -7
- package/components/Divider/divider.css +2 -2
- package/components/Divider/divider.scss +3 -3
- package/components/Drawer/drawer.css +15 -16
- package/components/Drawer/drawer.scss +2 -3
- package/components/Dropdown/dropdown.css +26 -25
- package/components/Dropdown/dropdown.scss +17 -18
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/EmptyState/empty-state.css +46 -52
- package/components/EmptyState/empty-state.scss +58 -57
- package/components/ExpandableSection/expandable-section.css +2 -0
- package/components/ExpandableSection/expandable-section.scss +2 -0
- package/components/Form/form.css +14 -12
- package/components/Form/form.scss +9 -7
- package/components/FormControl/form-control.css +2 -5
- package/components/FormControl/themes/dark/form-control.scss +2 -6
- package/components/HelperText/helper-text.css +4 -0
- package/components/HelperText/helper-text.scss +5 -0
- package/components/Hint/hint.css +2 -2
- package/components/Hint/hint.scss +2 -2
- package/components/Icon/icon.css +3 -3
- package/components/Icon/icon.scss +3 -3
- package/components/InputGroup/input-group.css +61 -85
- package/components/InputGroup/input-group.scss +55 -61
- package/components/InputGroup/themes/dark/input-group.scss +11 -25
- package/components/Label/label.css +49 -36
- package/components/Label/label.scss +53 -38
- package/components/Label/themes/dark/label.scss +2 -2
- package/components/LabelGroup/label-group.css +26 -22
- package/components/LabelGroup/label-group.scss +31 -26
- package/components/LogViewer/log-viewer.css +0 -38
- package/components/Login/login.css +20 -60
- package/components/Login/login.scss +16 -18
- package/components/Login/themes/dark/login.scss +4 -0
- package/components/Masthead/masthead.css +4 -42
- package/components/Masthead/masthead.scss +4 -4
- package/components/Menu/menu.css +9 -6
- package/components/Menu/menu.scss +34 -31
- package/components/MenuToggle/menu-toggle.css +3 -1
- package/components/MenuToggle/menu-toggle.scss +3 -1
- package/components/ModalBox/modal-box.css +12 -11
- package/components/ModalBox/modal-box.scss +14 -14
- package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
- package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
- package/components/Nav/nav.css +1 -1
- package/components/Nav/nav.scss +2 -2
- package/components/NotificationDrawer/notification-drawer.css +8 -8
- package/components/NotificationDrawer/notification-drawer.scss +8 -8
- package/components/OptionsMenu/options-menu.css +8 -10
- package/components/OptionsMenu/options-menu.scss +9 -11
- package/components/Page/page.css +101 -122
- package/components/Page/page.scss +49 -21
- package/components/Pagination/pagination.css +2 -110
- package/components/Pagination/pagination.scss +0 -6
- package/components/Popover/popover.css +31 -37
- package/components/Popover/popover.scss +32 -37
- package/components/Popover/themes/dark/popover.scss +3 -9
- package/components/Progress/progress.css +13 -10
- package/components/Progress/progress.scss +13 -10
- package/components/ProgressStepper/progress-stepper.css +5 -5
- package/components/ProgressStepper/progress-stepper.scss +5 -5
- package/components/SearchInput/search-input.css +4 -2
- package/components/SearchInput/search-input.scss +4 -2
- package/components/Select/select.css +1 -1
- package/components/Select/select.scss +1 -1
- package/components/Sidebar/sidebar.css +69 -26
- package/components/Sidebar/sidebar.scss +84 -27
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +2 -2
- package/components/Spinner/spinner.css +4 -133
- package/components/Spinner/spinner.scss +4 -173
- package/components/Table/table-grid.css +28 -28
- package/components/Table/table-scrollable.css +31 -26
- package/components/Table/table-scrollable.scss +33 -28
- package/components/Table/table-tree-view.css +14 -4
- package/components/Table/table-tree-view.scss +15 -0
- package/components/Table/table.css +67 -65
- package/components/Table/table.scss +65 -62
- package/components/Tabs/tabs.css +0 -4
- package/components/Tabs/tabs.scss +0 -7
- package/components/TextInputGroup/text-input-group.css +6 -4
- package/components/TextInputGroup/text-input-group.scss +6 -5
- package/components/Tile/tile.css +1 -1
- package/components/Tile/tile.scss +1 -1
- package/components/Timestamp/timestamp.css +3 -3
- package/components/Timestamp/timestamp.scss +3 -3
- package/components/Toolbar/toolbar.css +78 -43
- package/components/Toolbar/toolbar.scss +50 -10
- package/components/Tooltip/themes/dark/tooltip.scss +1 -11
- package/components/Tooltip/tooltip.css +7 -12
- package/components/Tooltip/tooltip.scss +6 -3
- package/components/TreeView/tree-view.css +7 -15
- package/components/TreeView/tree-view.scss +7 -18
- package/components/Wizard/wizard.css +16 -39
- package/components/Wizard/wizard.scss +20 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +20 -14
- package/docs/components/Accordion/examples/Accordion.md +12 -12
- package/docs/components/ActionList/examples/ActionList.md +6 -6
- package/docs/components/Alert/examples/Alert.md +29 -29
- package/docs/components/AlertGroup/examples/AlertGroup.md +15 -15
- package/docs/components/AppLauncher/examples/application-launcher.md +52 -46
- package/docs/components/Avatar/examples/Avatar.md +11 -11
- package/docs/components/BackToTop/examples/BackToTop.md +4 -4
- package/docs/components/Backdrop/examples/Backdrop.md +4 -4
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +13 -29
- package/docs/components/Badge/examples/Badge.md +5 -5
- package/docs/components/Banner/examples/Banner.md +8 -8
- package/docs/components/Brand/examples/Brand.md +9 -9
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
- package/docs/components/Button/examples/Button.md +51 -55
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +301 -284
- package/docs/components/Card/examples/Card.md +676 -116
- package/docs/components/Check/examples/Check.md +16 -19
- package/docs/components/Chip/examples/Chip.md +70 -52
- package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
- package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
- package/docs/components/Content/examples/Content.md +37 -9
- package/docs/components/ContextSelector/examples/context-selector.css +5 -1
- package/docs/components/ContextSelector/examples/context-selector.md +87 -80
- package/docs/components/DataList/examples/DataList.md +239 -202
- package/docs/components/DatePicker/examples/DatePicker.md +139 -104
- package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
- package/docs/components/Divider/examples/Divider.md +10 -10
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +43 -43
- package/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/docs/components/Dropdown/examples/Dropdown.md +125 -100
- package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
- package/docs/components/EmptyState/examples/EmptyState.md +130 -82
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
- package/docs/components/FileUpload/examples/FileUpload.md +150 -110
- package/docs/components/Form/examples/Form.md +152 -130
- package/docs/components/FormControl/examples/FormControl.md +21 -20
- package/docs/components/HelperText/examples/HelperText.md +24 -35
- package/docs/components/Hint/examples/Hint.md +7 -7
- package/docs/components/Icon/examples/Icon.md +11 -12
- package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
- package/docs/components/InputGroup/examples/InputGroup.md +229 -179
- package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
- package/docs/components/Label/examples/Label.md +1427 -746
- package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
- package/docs/components/List/examples/List.md +18 -18
- package/docs/components/LogViewer/examples/LogViewer.md +79 -74
- package/docs/components/Login/examples/Login.md +103 -181
- package/docs/components/Masthead/examples/masthead.md +9 -9
- package/docs/components/Menu/examples/Menu.md +93 -85
- package/docs/components/MenuToggle/examples/MenuToggle.md +29 -28
- package/docs/components/ModalBox/examples/ModalBox.md +113 -92
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +27 -26
- package/docs/components/Nav/examples/Navigation.md +69 -69
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +64 -64
- package/docs/components/NumberInput/examples/NumberInput.md +311 -239
- package/docs/components/OptionsMenu/examples/options-menu.md +28 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
- package/docs/components/Page/examples/Page.css +7 -1
- package/docs/components/Page/examples/Page.md +81 -54
- package/docs/components/Pagination/examples/Pagination.md +27 -27
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +206 -149
- package/docs/components/Progress/examples/Progress.md +32 -61
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -39
- package/docs/components/Radio/examples/Radio.md +12 -11
- package/docs/components/SearchInput/examples/SearchInput.md +185 -148
- package/docs/components/Select/examples/Select.md +372 -318
- package/docs/components/Sidebar/examples/Sidebar.md +70 -14
- package/docs/components/SimpleList/examples/SimpleList.md +15 -15
- package/docs/components/Skeleton/examples/Skeleton.md +8 -8
- package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
- package/docs/components/Slider/examples/Slider.md +84 -62
- package/docs/components/Spinner/examples/Spinner.md +18 -67
- package/docs/components/Switch/examples/Switch.md +19 -19
- package/docs/components/TabContent/examples/TabContent.md +13 -13
- package/docs/components/Table/examples/Table.css +4 -0
- package/docs/components/Table/examples/Table.md +5212 -5750
- package/docs/components/Tabs/examples/Tabs.md +155 -155
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +523 -406
- package/docs/components/Tile/examples/Tile.md +16 -17
- package/docs/components/Timestamp/examples/Timestamp.md +5 -5
- package/docs/components/Title/examples/Title.md +17 -17
- package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
- package/docs/components/Toolbar/examples/Toolbar.md +848 -726
- package/docs/components/Tooltip/examples/Tooltip.md +10 -10
- package/docs/components/TreeView/examples/TreeView.md +34 -34
- package/docs/components/Truncate/examples/Truncate.md +4 -5
- package/docs/components/Wizard/examples/Wizard.md +119 -127
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -5
- package/docs/demos/Alert/examples/Alert.md +118 -71
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
- package/docs/demos/Banner/examples/Banner.md +8 -9
- package/docs/demos/Button/examples/Button.md +10 -5
- package/docs/demos/Card/examples/Card.md +246 -168
- package/docs/demos/CardView/examples/CardView.md +57 -30
- package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
- package/docs/demos/Dashboard/examples/Dashboard.md +61 -38
- package/docs/demos/DataList/examples/DataList.md +312 -255
- package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
- package/docs/demos/Drawer/examples/Drawer.md +24 -22
- package/docs/demos/Form/examples/BasicForms.md +220 -213
- package/docs/demos/HelperText/examples/HelperText.md +16 -14
- package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
- package/docs/demos/Masthead/examples/Masthead.md +302 -284
- package/docs/demos/Modal/examples/Modal.md +54 -66
- package/docs/demos/Nav/examples/Nav.md +47 -47
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +70 -58
- package/docs/demos/Page/examples/Page.md +982 -51
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +22 -18
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +121 -106
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +345 -311
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
- package/docs/demos/Table/examples/Table.md +3373 -1333
- package/docs/demos/Tabs/examples/Tabs.md +141 -90
- package/docs/demos/Toolbar/examples/Toolbar.md +1994 -329
- package/docs/demos/Wizard/examples/Wizard.md +289 -266
- package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
- package/docs/layouts/Flex/examples/Flex.md +98 -98
- package/docs/layouts/Gallery/examples/Gallery.md +7 -7
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/layouts/Level/examples/Level.md +5 -5
- package/docs/layouts/Split/examples/Split.md +7 -7
- package/docs/layouts/Stack/examples/Stack.md +6 -6
- package/docs/utilities/Accessibility/examples/Accessibility.md +5 -5
- package/docs/utilities/Alignment/examples/Alignment.md +7 -7
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +13 -13
- package/docs/utilities/BoxShadow/examples/box-shadow.md +23 -23
- package/docs/utilities/Display/examples/Display.md +12 -12
- package/docs/utilities/Flex/examples/Flex.md +35 -35
- package/docs/utilities/Float/examples/Float.md +5 -5
- package/docs/utilities/Sizing/examples/Sizing.md +51 -51
- package/docs/utilities/Spacing/examples/Spacing.md +35 -35
- package/docs/utilities/Text/examples/Text.md +31 -31
- package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
- package/layouts/Gallery/gallery.css +1 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +7 -7
- package/layouts/Grid/grid.scss +2 -2
- package/package.json +60 -66
- package/patternfly-addons.css +48 -48
- package/{patternfly-base-no-reset.css → patternfly-base-no-globals.css} +28 -73
- package/{patternfly-base-no-reset.scss → patternfly-base-no-globals.scss} +1 -0
- package/patternfly-base.css +63 -114
- package/{patternfly-no-reset.css → patternfly-no-globals.css} +1206 -2449
- package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
- package/patternfly.css +1234 -2483
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +8 -24
- package/sass-utilities/mixins.scss +15 -39
- package/sass-utilities/placeholders.scss +0 -23
- package/sass-utilities/scss-variables.scss +5 -6
- package/sass-utilities/themes/dark/placeholders.scss +0 -22
- package/sass-utilities/themes/dark/scss-variables.scss +1 -1
- package/utilities/Spacing/spacing.scss +2 -2
- package/utilities/Text/text.css +48 -48
- package/utilities/Text/text.scss +6 -6
- package/utilities/Text/themes/dark/text.scss +2 -2
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
- package/assets/fonts/webfonts/fa-solid-900.woff +0 -0
- package/assets/pficon/pficon.woff +0 -0
- package/base/_shield-inheritable.scss +0 -69
- package/base/_shield-noninheritable.scss +0 -13
- package/base/patternfly-shield-inheritable.css +0 -66
- package/base/patternfly-shield-inheritable.scss +0 -4
- package/base/patternfly-shield-noninheritable.css +0 -9
- package/base/patternfly-shield-noninheritable.scss +0 -4
- package/sass-utilities/bs-variables.scss +0 -709
|
@@ -3,38 +3,51 @@
|
|
|
3
3
|
--pf-c-empty-state--PaddingRight: var(--pf-global--spacer--xl);
|
|
4
4
|
--pf-c-empty-state--PaddingBottom: var(--pf-global--spacer--xl);
|
|
5
5
|
--pf-c-empty-state--PaddingLeft: var(--pf-global--spacer--xl);
|
|
6
|
+
--pf-c-empty-state--m-xs--PaddingTop: var(--pf-global--spacer--md);
|
|
7
|
+
--pf-c-empty-state--m-xs--PaddingRight: var(--pf-global--spacer--md);
|
|
8
|
+
--pf-c-empty-state--m-xs--PaddingBottom: var(--pf-global--spacer--md);
|
|
9
|
+
--pf-c-empty-state--m-xs--PaddingLeft: var(--pf-global--spacer--md);
|
|
10
|
+
|
|
11
|
+
// Content
|
|
6
12
|
--pf-c-empty-state__content--MaxWidth: none;
|
|
13
|
+
--pf-c-empty-state--m-xs__content--MaxWidth: #{pf-size-prem(350px)};
|
|
14
|
+
--pf-c-empty-state--m-sm__content--MaxWidth: #{pf-size-prem(400px)};
|
|
15
|
+
--pf-c-empty-state--m-lg__content--MaxWidth: #{pf-size-prem(600px)};
|
|
16
|
+
|
|
17
|
+
// Icon
|
|
7
18
|
--pf-c-empty-state__icon--MarginBottom: var(--pf-global--spacer--lg);
|
|
8
19
|
--pf-c-empty-state__icon--FontSize: var(--pf-global--icon--FontSize--xl);
|
|
9
20
|
--pf-c-empty-state__icon--Color: var(--pf-global--icon--Color--light);
|
|
10
|
-
--pf-c-empty-
|
|
21
|
+
--pf-c-empty-state--m-xs__icon--MarginBottom: var(--pf-global--spacer--md);
|
|
22
|
+
--pf-c-empty-state--m-xl__icon--MarginBottom: var(--pf-global--spacer--xl);
|
|
23
|
+
--pf-c-empty-state--m-xl__icon--FontSize: #{pf-size-prem(100px)};
|
|
24
|
+
|
|
25
|
+
// Title text
|
|
26
|
+
--pf-c-empty-state__title-text--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
|
|
27
|
+
--pf-c-empty-state__title-text--FontSize: var(--pf-global--FontSize--xl);
|
|
28
|
+
--pf-c-empty-state__title-text--FontWeight: var(--pf-global--FontWeight--normal);
|
|
29
|
+
--pf-c-empty-state__title-text--LineHeight: var(--pf-global--LineHeight--md);
|
|
30
|
+
--pf-c-empty-state--m-xs__title-text--FontSize: var(--pf-global--FontSize--md);
|
|
31
|
+
--pf-c-empty-state--m-xl__title-text--FontSize: var(--pf-global--FontSize--4xl);
|
|
32
|
+
--pf-c-empty-state--m-xl__title-text--LineHeight: var(--pf-global--LineHeight--sm);
|
|
33
|
+
|
|
34
|
+
// Body
|
|
11
35
|
--pf-c-empty-state__body--MarginTop: var(--pf-global--spacer--md);
|
|
12
36
|
--pf-c-empty-state__body--Color: var(--pf-global--Color--200);
|
|
13
|
-
--pf-c-empty-
|
|
14
|
-
--pf-c-empty-state__primary--secondary--MarginTop: var(--pf-global--spacer--sm);
|
|
15
|
-
--pf-c-empty-state__secondary--MarginTop: var(--pf-global--spacer--xl);
|
|
16
|
-
--pf-c-empty-state__secondary--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
17
|
-
--pf-c-empty-state__secondary--child--MarginRight: calc(var(--pf-global--spacer--xs) / 2);
|
|
18
|
-
--pf-c-empty-state__secondary--child--MarginBottom: var(--pf-global--spacer--xs);
|
|
19
|
-
--pf-c-empty-state__secondary--child--MarginLeft: calc(var(--pf-global--spacer--xs) / 2);
|
|
20
|
-
--pf-c-empty-state--m-xs__content--MaxWidth: #{pf-size-prem(350px)};
|
|
37
|
+
--pf-c-empty-state--body--FontSize: var(--pf-global--FontSize--md);
|
|
21
38
|
--pf-c-empty-state--m-xs__body--FontSize: var(--pf-global--FontSize--sm);
|
|
22
|
-
--pf-c-empty-state--m-xs--button--FontSize: var(--pf-global--FontSize--sm);
|
|
23
|
-
--pf-c-empty-state--m-xs--PaddingTop: var(--pf-global--spacer--md);
|
|
24
|
-
--pf-c-empty-state--m-xs--PaddingRight: var(--pf-global--spacer--md);
|
|
25
|
-
--pf-c-empty-state--m-xs--PaddingBottom: var(--pf-global--spacer--md);
|
|
26
|
-
--pf-c-empty-state--m-xs--PaddingLeft: var(--pf-global--spacer--md);
|
|
27
|
-
--pf-c-empty-state--m-xs__icon--MarginBottom: var(--pf-global--spacer--md);
|
|
28
39
|
--pf-c-empty-state--m-xs__body--MarginTop: var(--pf-global--spacer--md);
|
|
29
|
-
--pf-c-empty-state--m-xs__primary--MarginTop: var(--pf-global--spacer--md);
|
|
30
|
-
--pf-c-empty-state--m-xs__secondary--MarginTop: var(--pf-global--spacer--md);
|
|
31
|
-
--pf-c-empty-state--m-sm__content--MaxWidth: #{pf-size-prem(400px)};
|
|
32
|
-
--pf-c-empty-state--m-lg__content--MaxWidth: #{pf-size-prem(600px)};
|
|
33
40
|
--pf-c-empty-state--m-xl__body--FontSize: var(--pf-global--FontSize--xl);
|
|
34
41
|
--pf-c-empty-state--m-xl__body--MarginTop: var(--pf-global--spacer--lg);
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
--pf-c-empty-
|
|
42
|
+
|
|
43
|
+
// Footer
|
|
44
|
+
--pf-c-empty-state__footer--RowGap: var(--pf-global--spacer--sm);
|
|
45
|
+
--pf-c-empty-state__footer--MarginTop: var(--pf-global--spacer--xl);
|
|
46
|
+
--pf-c-empty-state--m-xs__footer--MarginTop: var(--pf-global--spacer--md);
|
|
47
|
+
|
|
48
|
+
// Actions
|
|
49
|
+
--pf-c-empty-state__actions--RowGap: var(--pf-global--spacer--xs);
|
|
50
|
+
--pf-c-empty-state__actions--ColumnGap: var(--pf-global--spacer--xs);
|
|
38
51
|
|
|
39
52
|
display: flex;
|
|
40
53
|
align-items: center;
|
|
@@ -47,19 +60,12 @@
|
|
|
47
60
|
--pf-c-empty-state--PaddingRight: var(--pf-c-empty-state--m-xs--PaddingRight);
|
|
48
61
|
--pf-c-empty-state--PaddingBottom: var(--pf-c-empty-state--m-xs--PaddingBottom);
|
|
49
62
|
--pf-c-empty-state--PaddingLeft: var(--pf-c-empty-state--m-xs--PaddingLeft);
|
|
63
|
+
--pf-c-empty-state__title-text--FontSize: var(--pf-c-empty-state--m-xs__title-text--FontSize);
|
|
50
64
|
--pf-c-empty-state__content--MaxWidth: var(--pf-c-empty-state--m-xs__content--MaxWidth);
|
|
51
65
|
--pf-c-empty-state__icon--MarginBottom: var(--pf-c-empty-state--m-xs__icon--MarginBottom);
|
|
52
66
|
--pf-c-empty-state__body--MarginTop: var(--pf-c-empty-state--m-xs__body--MarginTop);
|
|
53
|
-
--pf-c-empty-
|
|
54
|
-
--pf-c-empty-
|
|
55
|
-
|
|
56
|
-
.pf-c-empty-state__body {
|
|
57
|
-
font-size: var(--pf-c-empty-state--m-xs__body--FontSize);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.pf-c-button {
|
|
61
|
-
--pf-c-button--FontSize: var(--pf-c-empty-state--m-xs--button--FontSize);
|
|
62
|
-
}
|
|
67
|
+
--pf-c-empty-state--body--FontSize: var(--pf-c-empty-state--m-xs__body--FontSize);
|
|
68
|
+
--pf-c-empty-state__footer--MarginTop: var(--pf-c-empty-state--m-xs__footer--MarginTop);
|
|
63
69
|
}
|
|
64
70
|
|
|
65
71
|
&.pf-m-sm {
|
|
@@ -72,13 +78,11 @@
|
|
|
72
78
|
|
|
73
79
|
&.pf-m-xl {
|
|
74
80
|
--pf-c-empty-state__body--MarginTop: var(--pf-c-empty-state--m-xl__body--MarginTop);
|
|
81
|
+
--pf-c-empty-state--body--FontSize: var(--pf-c-empty-state--m-xl__body--FontSize);
|
|
75
82
|
--pf-c-empty-state__icon--MarginBottom: var(--pf-c-empty-state--m-xl__icon--MarginBottom);
|
|
76
83
|
--pf-c-empty-state__icon--FontSize: var(--pf-c-empty-state--m-xl__icon--FontSize);
|
|
77
|
-
--pf-c-empty-
|
|
78
|
-
|
|
79
|
-
.pf-c-empty-state__body {
|
|
80
|
-
font-size: var(--pf-c-empty-state--m-xl__body--FontSize);
|
|
81
|
-
}
|
|
84
|
+
--pf-c-empty-state__title-text--FontSize: var(--pf-c-empty-state--m-xl__title-text--FontSize);
|
|
85
|
+
--pf-c-empty-state__title-text--LineHeight: var(--pf-c-empty-state--m-xl__title-text--LineHeight);
|
|
82
86
|
}
|
|
83
87
|
|
|
84
88
|
&.pf-m-full-height {
|
|
@@ -88,42 +92,39 @@
|
|
|
88
92
|
|
|
89
93
|
.pf-c-empty-state__content {
|
|
90
94
|
max-width: var(--pf-c-empty-state__content--MaxWidth);
|
|
91
|
-
|
|
92
|
-
> .pf-c-title.pf-m-lg {
|
|
93
|
-
font-size: var(--pf-c-empty-state__content--c-title--m-lg--FontSize);
|
|
94
|
-
}
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.pf-c-empty-state__icon {
|
|
98
98
|
margin-bottom: var(--pf-c-empty-state__icon--MarginBottom);
|
|
99
99
|
font-size: var(--pf-c-empty-state__icon--FontSize);
|
|
100
|
+
line-height: 1;
|
|
100
101
|
color: var(--pf-c-empty-state__icon--Color);
|
|
101
102
|
}
|
|
102
103
|
|
|
104
|
+
.pf-c-empty-state__title-text {
|
|
105
|
+
font-family: var(--pf-c-empty-state__title-text--FontFamily);
|
|
106
|
+
font-size: var(--pf-c-empty-state__title-text--FontSize);
|
|
107
|
+
font-weight: var(--pf-c-empty-state__title-text--FontWeight);
|
|
108
|
+
line-height: var(--pf-c-empty-state__title-text--LineHeight);
|
|
109
|
+
}
|
|
110
|
+
|
|
103
111
|
.pf-c-empty-state__body {
|
|
104
112
|
margin-top: var(--pf-c-empty-state__body--MarginTop);
|
|
113
|
+
font-size: var(--pf-c-empty-state--body--FontSize);
|
|
105
114
|
color: var(--pf-c-empty-state__body--Color);
|
|
106
115
|
}
|
|
107
116
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
117
|
+
.pf-c-empty-state__footer {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
row-gap: var(--pf-c-empty-state__footer--RowGap);
|
|
121
|
+
align-items: center;
|
|
122
|
+
margin-top: var(--pf-c-empty-state__footer--MarginTop);
|
|
115
123
|
}
|
|
116
124
|
|
|
117
|
-
.pf-c-empty-
|
|
125
|
+
.pf-c-empty-state__actions {
|
|
118
126
|
display: flex;
|
|
119
127
|
flex-wrap: wrap;
|
|
128
|
+
gap: var(--pf-c-empty-state__actions--RowGap) var(--pf-c-empty-state__actions--ColumnGap);
|
|
120
129
|
justify-content: center;
|
|
121
|
-
margin-top: var(--pf-c-empty-state__secondary--MarginTop);
|
|
122
|
-
margin-bottom: var(--pf-c-empty-state__secondary--MarginBottom);
|
|
123
|
-
|
|
124
|
-
> * {
|
|
125
|
-
margin-right: var(--pf-c-empty-state__secondary--child--MarginRight);
|
|
126
|
-
margin-bottom: var(--pf-c-empty-state__secondary--child--MarginBottom);
|
|
127
|
-
margin-left: var(--pf-c-empty-state__secondary--child--MarginLeft);
|
|
128
|
-
}
|
|
129
130
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
--pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
|
|
10
10
|
--pf-c-expandable-section__toggle--focus--Color: var(--pf-global--link--Color--hover);
|
|
11
11
|
--pf-c-expandable-section__toggle--m-expanded--Color: var(--pf-global--link--Color--hover);
|
|
12
|
+
--pf-c-expandable-section__toggle--BackgroundColor: transparent;
|
|
12
13
|
--pf-c-expandable-section__toggle-icon--MinWidth: 1em;
|
|
13
14
|
--pf-c-expandable-section__toggle-icon--Color: var(--pf-global--Color--100);
|
|
14
15
|
--pf-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
|
|
@@ -94,6 +95,7 @@
|
|
|
94
95
|
padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
|
|
95
96
|
margin-top: var(--pf-c-expandable-section__toggle--MarginTop);
|
|
96
97
|
color: var(--pf-c-expandable-section__toggle--Color);
|
|
98
|
+
background-color: var(--pf-c-expandable-section__toggle--BackgroundColor);
|
|
97
99
|
border: none;
|
|
98
100
|
}
|
|
99
101
|
.pf-c-expandable-section__toggle:hover {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
--pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
|
|
11
11
|
--pf-c-expandable-section__toggle--focus--Color: var(--pf-global--link--Color--hover);
|
|
12
12
|
--pf-c-expandable-section__toggle--m-expanded--Color: var(--pf-global--link--Color--hover);
|
|
13
|
+
--pf-c-expandable-section__toggle--BackgroundColor: transparent;
|
|
13
14
|
|
|
14
15
|
// Toggle icon
|
|
15
16
|
--pf-c-expandable-section__toggle-icon--MinWidth: 1em;
|
|
@@ -123,6 +124,7 @@
|
|
|
123
124
|
padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
|
|
124
125
|
margin-top: var(--pf-c-expandable-section__toggle--MarginTop);
|
|
125
126
|
color: var(--pf-c-expandable-section__toggle--Color);
|
|
127
|
+
background-color: var(--pf-c-expandable-section__toggle--BackgroundColor);
|
|
126
128
|
border: none;
|
|
127
129
|
|
|
128
130
|
&:hover {
|
package/components/Form/form.css
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
--pf-c-form__label-required--MarginLeft: var(--pf-global--spacer--xs);
|
|
19
19
|
--pf-c-form__label-required--FontSize: var(--pf-global--FontSize--sm);
|
|
20
20
|
--pf-c-form__label-required--Color: var(--pf-global--danger-color--100);
|
|
21
|
+
--pf-c-form__group-label-help--BackgroundColor: transparent;
|
|
21
22
|
--pf-c-form__group-label-help--PaddingTop: var(--pf-global--spacer--xs);
|
|
22
23
|
--pf-c-form__group-label-help--PaddingRight: var(--pf-global--spacer--xs);
|
|
23
24
|
--pf-c-form__group-label-help--PaddingBottom: var(--pf-global--spacer--xs);
|
|
@@ -108,8 +109,8 @@
|
|
|
108
109
|
}
|
|
109
110
|
.pf-c-form.pf-m-horizontal .pf-c-form__group {
|
|
110
111
|
display: grid;
|
|
111
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
112
112
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
113
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
113
114
|
}
|
|
114
115
|
.pf-c-form.pf-m-horizontal .pf-c-form__group-label {
|
|
115
116
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
@@ -128,8 +129,8 @@
|
|
|
128
129
|
}
|
|
129
130
|
.pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group {
|
|
130
131
|
display: grid;
|
|
131
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
132
132
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
133
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
133
134
|
}
|
|
134
135
|
.pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group-label {
|
|
135
136
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
@@ -148,8 +149,8 @@
|
|
|
148
149
|
}
|
|
149
150
|
.pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group {
|
|
150
151
|
display: grid;
|
|
151
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
152
152
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
153
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
153
154
|
}
|
|
154
155
|
.pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group-label {
|
|
155
156
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
@@ -168,8 +169,8 @@
|
|
|
168
169
|
}
|
|
169
170
|
.pf-c-form.pf-m-horizontal-on-md .pf-c-form__group {
|
|
170
171
|
display: grid;
|
|
171
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
172
172
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
173
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
173
174
|
}
|
|
174
175
|
.pf-c-form.pf-m-horizontal-on-md .pf-c-form__group-label {
|
|
175
176
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
@@ -188,8 +189,8 @@
|
|
|
188
189
|
}
|
|
189
190
|
.pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group {
|
|
190
191
|
display: grid;
|
|
191
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
192
192
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
193
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
193
194
|
}
|
|
194
195
|
.pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group-label {
|
|
195
196
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
@@ -208,8 +209,8 @@
|
|
|
208
209
|
}
|
|
209
210
|
.pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group {
|
|
210
211
|
display: grid;
|
|
211
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
212
212
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
213
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
213
214
|
}
|
|
214
215
|
.pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group-label {
|
|
215
216
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
@@ -228,8 +229,8 @@
|
|
|
228
229
|
}
|
|
229
230
|
.pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group {
|
|
230
231
|
display: grid;
|
|
231
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
232
232
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
233
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
233
234
|
}
|
|
234
235
|
.pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group-label {
|
|
235
236
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
@@ -323,6 +324,7 @@
|
|
|
323
324
|
line-height: 1;
|
|
324
325
|
color: var(--pf-c-form__group-label-help--Color);
|
|
325
326
|
cursor: pointer;
|
|
327
|
+
background-color: var(--pf-c-form__group-label-help--BackgroundColor);
|
|
326
328
|
border: 0;
|
|
327
329
|
transform: translateY(var(--pf-c-form__group-label-help--TranslateY));
|
|
328
330
|
}
|
|
@@ -344,9 +346,9 @@
|
|
|
344
346
|
--pf-c-form__group-control--m-inline--child--MarginRight: 0;
|
|
345
347
|
}
|
|
346
348
|
.pf-c-form__group-control.pf-m-stack {
|
|
349
|
+
--pf-c-form__helper-text--MarginTop: var(--pf-c-grid__group-control--m-stack__helper-text--MarginTop);
|
|
347
350
|
display: grid;
|
|
348
351
|
gap: var(--pf-c-grid__group-control--m-stack--Gap);
|
|
349
|
-
--pf-c-form__helper-text--MarginTop: var(--pf-c-grid__group-control--m-stack__helper-text--MarginTop);
|
|
350
352
|
}
|
|
351
353
|
.pf-c-form__group-control .pf-c-form__helper-text:first-child {
|
|
352
354
|
--pf-c-form__helper-text--MarginTop: 0;
|
|
@@ -430,8 +432,8 @@
|
|
|
430
432
|
}
|
|
431
433
|
|
|
432
434
|
.pf-c-form__field-group-toggle {
|
|
433
|
-
grid-column: 1/2;
|
|
434
435
|
grid-row: 1/2;
|
|
436
|
+
grid-column: 1/2;
|
|
435
437
|
padding-top: var(--pf-c-form__field-group-toggle--PaddingTop);
|
|
436
438
|
padding-right: var(--pf-c-form__field-group-toggle--PaddingRight);
|
|
437
439
|
}
|
|
@@ -453,9 +455,9 @@
|
|
|
453
455
|
}
|
|
454
456
|
|
|
455
457
|
.pf-c-form__field-group-header {
|
|
456
|
-
grid-column: var(--pf-c-form__field-group-header--GridColumn);
|
|
457
|
-
grid-row: 1/2;
|
|
458
458
|
display: flex;
|
|
459
|
+
grid-row: 1/2;
|
|
460
|
+
grid-column: var(--pf-c-form__field-group-header--GridColumn);
|
|
459
461
|
align-items: flex-start;
|
|
460
462
|
padding-top: var(--pf-c-form__field-group-header--PaddingTop);
|
|
461
463
|
padding-bottom: var(--pf-c-form__field-group-header--PaddingBottom);
|
|
@@ -488,8 +490,8 @@
|
|
|
488
490
|
}
|
|
489
491
|
|
|
490
492
|
.pf-c-form__field-group-body {
|
|
491
|
-
grid-column: var(--pf-c-form__field-group-body--GridColumn);
|
|
492
493
|
display: grid;
|
|
494
|
+
grid-column: var(--pf-c-form__field-group-body--GridColumn);
|
|
493
495
|
gap: var(--pf-c-form__field-group-body--Gap);
|
|
494
496
|
padding-top: var(--pf-c-form__field-group-body--PaddingTop);
|
|
495
497
|
padding-bottom: var(--pf-c-form__field-group-body--PaddingBottom);
|
|
@@ -79,6 +79,7 @@ $pf-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg",
|
|
|
79
79
|
--pf-c-form__label-required--Color: var(--pf-global--danger-color--100);
|
|
80
80
|
|
|
81
81
|
// Field level help
|
|
82
|
+
--pf-c-form__group-label-help--BackgroundColor: transparent;
|
|
82
83
|
--pf-c-form__group-label-help--PaddingTop: var(--pf-global--spacer--xs);
|
|
83
84
|
--pf-c-form__group-label-help--PaddingRight: var(--pf-global--spacer--xs);
|
|
84
85
|
--pf-c-form__group-label-help--PaddingBottom: var(--pf-global--spacer--xs);
|
|
@@ -192,8 +193,8 @@ $pf-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg",
|
|
|
192
193
|
|
|
193
194
|
.pf-c-form__group {
|
|
194
195
|
display: grid;
|
|
195
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
196
196
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
197
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
.pf-c-form__group-label {
|
|
@@ -305,6 +306,7 @@ $pf-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg",
|
|
|
305
306
|
line-height: 1;
|
|
306
307
|
color: var(--pf-c-form__group-label-help--Color);
|
|
307
308
|
cursor: pointer;
|
|
309
|
+
background-color: var(--pf-c-form__group-label-help--BackgroundColor);
|
|
308
310
|
border: 0;
|
|
309
311
|
transform: translateY(var(--pf-c-form__group-label-help--TranslateY));
|
|
310
312
|
|
|
@@ -333,10 +335,10 @@ $pf-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg",
|
|
|
333
335
|
}
|
|
334
336
|
|
|
335
337
|
&.pf-m-stack {
|
|
338
|
+
--pf-c-form__helper-text--MarginTop: var(--pf-c-grid__group-control--m-stack__helper-text--MarginTop);
|
|
339
|
+
|
|
336
340
|
display: grid;
|
|
337
341
|
gap: var(--pf-c-grid__group-control--m-stack--Gap);
|
|
338
|
-
|
|
339
|
-
--pf-c-form__helper-text--MarginTop: var(--pf-c-grid__group-control--m-stack__helper-text--MarginTop);
|
|
340
342
|
}
|
|
341
343
|
|
|
342
344
|
.pf-c-form__helper-text:first-child {
|
|
@@ -441,8 +443,8 @@ $pf-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg",
|
|
|
441
443
|
}
|
|
442
444
|
|
|
443
445
|
.pf-c-form__field-group-toggle {
|
|
444
|
-
grid-column: 1 / 2;
|
|
445
446
|
grid-row: 1 / 2;
|
|
447
|
+
grid-column: 1 / 2;
|
|
446
448
|
padding-top: var(--pf-c-form__field-group-toggle--PaddingTop);
|
|
447
449
|
padding-right: var(--pf-c-form__field-group-toggle--PaddingRight);
|
|
448
450
|
|
|
@@ -465,9 +467,9 @@ $pf-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg",
|
|
|
465
467
|
}
|
|
466
468
|
|
|
467
469
|
.pf-c-form__field-group-header {
|
|
468
|
-
grid-column: var(--pf-c-form__field-group-header--GridColumn);
|
|
469
|
-
grid-row: 1 / 2;
|
|
470
470
|
display: flex;
|
|
471
|
+
grid-row: 1 / 2;
|
|
472
|
+
grid-column: var(--pf-c-form__field-group-header--GridColumn);
|
|
471
473
|
align-items: flex-start;
|
|
472
474
|
padding-top: var(--pf-c-form__field-group-header--PaddingTop);
|
|
473
475
|
padding-bottom: var(--pf-c-form__field-group-header--PaddingBottom);
|
|
@@ -500,8 +502,8 @@ $pf-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg",
|
|
|
500
502
|
}
|
|
501
503
|
|
|
502
504
|
.pf-c-form__field-group-body {
|
|
503
|
-
grid-column: var(--pf-c-form__field-group-body--GridColumn);
|
|
504
505
|
display: grid;
|
|
506
|
+
grid-column: var(--pf-c-form__field-group-body--GridColumn);
|
|
505
507
|
gap: var(--pf-c-form__field-group-body--Gap);
|
|
506
508
|
padding-top: var(--pf-c-form__field-group-body--PaddingTop);
|
|
507
509
|
padding-bottom: var(--pf-c-form__field-group-body--PaddingBottom);
|
|
@@ -332,9 +332,9 @@ textarea.pf-c-form-control {
|
|
|
332
332
|
--pf-c-form-control--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
333
333
|
--pf-c-form-control--BorderLeftColor: transparent;
|
|
334
334
|
--pf-c-form-control--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
335
|
-
--pf-c-form-control--disabled--Color: var(--pf-global--
|
|
335
|
+
--pf-c-form-control--disabled--Color: var(--pf-global--palette--black-300);
|
|
336
336
|
--pf-c-form-control--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
337
|
-
--pf-c-form-control--readonly--BackgroundColor: var(--pf-global--
|
|
337
|
+
--pf-c-form-control--readonly--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
338
338
|
color: var(--pf-global--Color--100);
|
|
339
339
|
}
|
|
340
340
|
:where(.pf-theme-dark) .pf-c-form-control::-webkit-calendar-picker-indicator {
|
|
@@ -342,7 +342,4 @@ textarea.pf-c-form-control {
|
|
|
342
342
|
}
|
|
343
343
|
:where(.pf-theme-dark) .pf-c-form-control[readonly] {
|
|
344
344
|
border-bottom-color: var(--pf-global--palette--black-700);
|
|
345
|
-
}
|
|
346
|
-
:where(.pf-theme-dark) .pf-c-form-control:disabled {
|
|
347
|
-
color: var(--pf-global--palette--black-100);
|
|
348
345
|
}
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
--pf-c-form-control--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
9
9
|
--pf-c-form-control--BorderLeftColor: transparent;
|
|
10
10
|
--pf-c-form-control--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
11
|
-
--pf-c-form-control--disabled--Color: var(--pf-global--
|
|
11
|
+
--pf-c-form-control--disabled--Color: var(--pf-global--palette--black-300);
|
|
12
12
|
--pf-c-form-control--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
13
|
-
--pf-c-form-control--readonly--BackgroundColor: var(--pf-global--
|
|
13
|
+
--pf-c-form-control--readonly--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
14
14
|
|
|
15
15
|
color: var(--pf-global--Color--100);
|
|
16
16
|
|
|
@@ -22,9 +22,5 @@
|
|
|
22
22
|
&[readonly] {
|
|
23
23
|
border-bottom-color: var(--pf-global--palette--black-700); // should be a var?
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
&:disabled {
|
|
27
|
-
color: var(--pf-global--palette--black-100); // global var
|
|
28
|
-
}
|
|
29
25
|
}
|
|
30
26
|
}
|
package/components/Hint/hint.css
CHANGED
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
|
|
31
31
|
.pf-c-hint__actions {
|
|
32
32
|
display: inline-grid;
|
|
33
|
+
grid-row: 1;
|
|
34
|
+
grid-column: 2;
|
|
33
35
|
grid-auto-flow: column;
|
|
34
36
|
margin-left: var(--pf-c-hint__actions--MarginLeft);
|
|
35
37
|
text-align: right;
|
|
36
|
-
grid-column: 2;
|
|
37
|
-
grid-row: 1;
|
|
38
38
|
}
|
|
39
39
|
.pf-c-hint__actions .pf-c-dropdown .pf-c-dropdown__toggle.pf-m-plain {
|
|
40
40
|
margin-top: var(--pf-c-hint__actions--c-dropdown--MarginTop);
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
|
|
42
42
|
.pf-c-hint__actions {
|
|
43
43
|
display: inline-grid;
|
|
44
|
+
grid-row: 1;
|
|
45
|
+
grid-column: 2;
|
|
44
46
|
grid-auto-flow: column;
|
|
45
47
|
margin-left: var(--pf-c-hint__actions--MarginLeft);
|
|
46
48
|
text-align: right;
|
|
47
|
-
grid-column: 2;
|
|
48
|
-
grid-row: 1;
|
|
49
49
|
|
|
50
50
|
// Only applies to the plain dropdown
|
|
51
51
|
.pf-c-dropdown .pf-c-dropdown__toggle.pf-m-plain {
|
package/components/Icon/icon.css
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--pf-c-icon__content--m-warning--Color: var(--pf-global--warning-color--100);
|
|
17
17
|
--pf-c-icon__content--m-success--Color: var(--pf-global--success-color--100);
|
|
18
18
|
--pf-c-icon__content--m-info--Color: var(--pf-global--info-color--100);
|
|
19
|
-
--pf-c-icon__content--m-
|
|
19
|
+
--pf-c-icon__content--m-custom--Color: var(--pf-global--custom-color--100);
|
|
20
20
|
--pf-c-icon__content--FontSize: var(--pf-global--icon--FontSize--md);
|
|
21
21
|
--pf-c-icon--m-inline__content--FontSize: 1em;
|
|
22
22
|
--pf-c-icon__content--svg--VerticalAlign: -.125em;
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
.pf-c-icon__content.pf-m-info {
|
|
108
108
|
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-info--Color);
|
|
109
109
|
}
|
|
110
|
-
.pf-c-icon__content.pf-m-
|
|
111
|
-
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-
|
|
110
|
+
.pf-c-icon__content.pf-m-custom {
|
|
111
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-custom--Color);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.pf-c-icon__progress {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--pf-c-icon__content--m-warning--Color: var(--pf-global--warning-color--100);
|
|
26
26
|
--pf-c-icon__content--m-success--Color: var(--pf-global--success-color--100);
|
|
27
27
|
--pf-c-icon__content--m-info--Color: var(--pf-global--info-color--100);
|
|
28
|
-
--pf-c-icon__content--m-
|
|
28
|
+
--pf-c-icon__content--m-custom--Color: var(--pf-global--custom-color--100);
|
|
29
29
|
--pf-c-icon__content--FontSize: var(--pf-global--icon--FontSize--md);
|
|
30
30
|
--pf-c-icon--m-inline__content--FontSize: 1em;
|
|
31
31
|
--pf-c-icon__content--svg--VerticalAlign: -.125em;
|
|
@@ -135,8 +135,8 @@
|
|
|
135
135
|
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-info--Color);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
&.pf-m-
|
|
139
|
-
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-
|
|
138
|
+
&.pf-m-custom {
|
|
139
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-custom--Color);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|