@patternfly/patternfly 6.0.0-alpha.2 → 6.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +29 -4
- package/base/_globals.scss +15 -24
- package/base/_variables.scss +8 -0
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +15 -20
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +385 -222
- package/base/tokens/_tokens-dark.scss +117 -82
- package/base/tokens/_tokens-default.scss +181 -144
- package/base/tokens/_tokens-font.scss +105 -0
- package/base/tokens/_tokens-palette.scss +2 -4
- package/components/AboutModalBox/about-modal-box.css +80 -108
- package/components/AboutModalBox/about-modal-box.scss +64 -78
- package/components/Accordion/accordion.css +43 -21
- package/components/Accordion/accordion.scss +45 -21
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +5 -5
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +167 -195
- package/components/Button/button.scss +185 -157
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +12 -10
- package/components/Check/check.scss +17 -12
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +100 -97
- package/components/Content/content.scss +101 -98
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +68 -125
- package/components/Masthead/masthead.scss +123 -153
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +89 -100
- package/components/MenuToggle/menu-toggle.scss +92 -112
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +162 -133
- package/components/Nav/nav.scss +162 -135
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +232 -271
- package/components/Page/page.scss +180 -231
- package/components/Pagination/pagination.css +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +72 -40
- package/components/Popover/popover.scss +95 -75
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +16 -13
- package/components/Radio/radio.scss +20 -14
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +10 -6
- package/components/Switch/switch.scss +11 -7
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +176 -159
- package/components/Table/table.scss +177 -165
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +57 -44
- package/components/Toolbar/toolbar.scss +45 -26
- package/components/Tooltip/tooltip.css +60 -28
- package/components/Tooltip/tooltip.scss +76 -56
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +95 -0
- package/docs/components/Alert/examples/Alert.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +75 -32
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +125 -17
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +250 -160
- package/docs/components/Login/examples/Login.md +5 -0
- package/docs/components/Masthead/examples/masthead.md +7 -54
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +594 -543
- package/docs/components/MenuToggle/examples/MenuToggle.md +151 -138
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -25
- package/docs/components/Nav/examples/Navigation.md +239 -113
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +570 -2803
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +85 -10
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +26 -10
- package/docs/demos/CardView/examples/CardView.md +139 -79
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
- package/docs/demos/DataList/examples/DataList.md +524 -354
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +793 -277
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +420 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +824 -451
- package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
- package/docs/demos/Table/examples/Table.md +2313 -1887
- package/docs/demos/Tabs/examples/Tabs.md +528 -71
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +870 -1044
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +412 -231
- package/patternfly-base-no-globals.css +412 -231
- package/patternfly-base-theme-dark-unversioned.css +429 -249
- package/patternfly-base.css +429 -249
- package/patternfly-no-globals.css +4150 -3510
- package/patternfly-theme-dark-unversioned.css +4167 -3528
- package/patternfly.css +4167 -3528
- 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/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- 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/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -185,7 +185,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
185
185
|
&.pf-m-horizontal {
|
|
186
186
|
&.pf-m-align-right {
|
|
187
187
|
.#{$form}__label {
|
|
188
|
-
text-align:
|
|
188
|
+
text-align: end;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
|
|
@@ -199,7 +199,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.#{$form}__group-label {
|
|
202
|
-
padding-
|
|
202
|
+
padding-block-start: var(--#{$form}--m-horizontal__group-label--md--PaddingTop);
|
|
203
203
|
|
|
204
204
|
// stylelint-disable-next-line
|
|
205
205
|
&.pf-m-no-padding-top {
|
|
@@ -222,7 +222,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
222
222
|
|
|
223
223
|
.#{$form}__group {
|
|
224
224
|
&.pf-m-action {
|
|
225
|
-
margin-
|
|
225
|
+
margin-block-start: var(--#{$form}__group--m-action--MarginTop);
|
|
226
226
|
overflow: hidden; // keeps the negative bottom margin bottom on .#{$form}__actions from triggering overflow
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -233,12 +233,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
233
233
|
|
|
234
234
|
& + .#{$form}__group:not(.pf-m-action),
|
|
235
235
|
&:not(:first-child) {
|
|
236
|
-
margin-
|
|
236
|
+
margin-block-start: var(--#{$form}__section--MarginTop);
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
.#{$form}__section-title {
|
|
241
|
-
margin-
|
|
241
|
+
margin-block-end: var(--#{$form}__section-title--MarginBottom);
|
|
242
242
|
font-size: var(--#{$form}__section-title--FontSize);
|
|
243
243
|
font-weight: var(--#{$form}__section-title--FontWeight);
|
|
244
244
|
}
|
|
@@ -246,7 +246,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
246
246
|
.#{$form}__group-label {
|
|
247
247
|
--#{$form}__helper-text--MarginTop: 0;
|
|
248
248
|
|
|
249
|
-
padding-
|
|
249
|
+
padding-block-end: var(--#{$form}__group-label--PaddingBottom);
|
|
250
250
|
|
|
251
251
|
&.pf-m-info {
|
|
252
252
|
display: flex;
|
|
@@ -259,7 +259,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.#{$form}__group-label-info {
|
|
262
|
-
margin-
|
|
262
|
+
margin-inline-start: var(--#{$form}__group-label-info--MarginLeft);
|
|
263
263
|
font-size: var(--#{$form}__group-label-info--FontSize);
|
|
264
264
|
}
|
|
265
265
|
|
|
@@ -289,20 +289,20 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
.#{$form}__label-required {
|
|
292
|
-
margin-
|
|
292
|
+
margin-inline-start: var(--#{$form}__label-required--MarginLeft);
|
|
293
293
|
font-size: var(--#{$form}__label-required--FontSize);
|
|
294
294
|
color: var(--#{$form}__label-required--Color);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
.#{$form}__group-label-help {
|
|
298
|
-
padding-
|
|
299
|
-
padding-
|
|
300
|
-
padding-
|
|
301
|
-
padding-
|
|
302
|
-
margin-
|
|
303
|
-
margin-
|
|
304
|
-
margin-
|
|
305
|
-
margin-
|
|
298
|
+
padding-block-start: var(--#{$form}__group-label-help--PaddingTop);
|
|
299
|
+
padding-block-end: var(--#{$form}__group-label-help--PaddingBottom);
|
|
300
|
+
padding-inline-start: var(--#{$form}__group-label-help--PaddingLeft);
|
|
301
|
+
padding-inline-end: var(--#{$form}__group-label-help--PaddingRight);
|
|
302
|
+
margin-block-start: var(--#{$form}__group-label-help--MarginTop);
|
|
303
|
+
margin-block-end: var(--#{$form}__group-label-help--MarginBottom);
|
|
304
|
+
margin-inline-start: var(--#{$form}__group-label-help--MarginLeft);
|
|
305
|
+
margin-inline-end: var(--#{$form}__group-label-help--MarginRight);
|
|
306
306
|
font-size: var(--#{$form}__group-label-help--FontSize);
|
|
307
307
|
line-height: 1;
|
|
308
308
|
color: var(--#{$form}__group-label-help--Color);
|
|
@@ -327,7 +327,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
327
327
|
flex-flow: row wrap;
|
|
328
328
|
|
|
329
329
|
> * {
|
|
330
|
-
margin-
|
|
330
|
+
margin-inline-end: var(--#{$form}__group-control--m-inline--child--MarginRight);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
> :last-child {
|
|
@@ -345,12 +345,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
345
345
|
.#{$form}__helper-text:first-child {
|
|
346
346
|
--#{$form}__helper-text--MarginTop: 0;
|
|
347
347
|
|
|
348
|
-
margin-
|
|
348
|
+
margin-block-end: var(--#{$form}__group-control__helper-text--MarginBottom);
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
.#{$form}__helper-text {
|
|
353
|
-
margin-
|
|
353
|
+
margin-block-start: var(--#{$form}__helper-text--MarginTop);
|
|
354
354
|
font-size: var(--#{$form}__helper-text--FontSize);
|
|
355
355
|
color: var(--#{$form}__helper-text--Color);
|
|
356
356
|
|
|
@@ -377,7 +377,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
.#{$form}__helper-text-icon {
|
|
380
|
-
margin-
|
|
380
|
+
margin-inline-end: var(--#{$form}__helper-text-icon--MarginRight);
|
|
381
381
|
font-size: var(--#{$form}__helper-text-icon--FontSize);
|
|
382
382
|
}
|
|
383
383
|
|
|
@@ -389,16 +389,16 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
389
389
|
.#{$form}__actions {
|
|
390
390
|
display: flex;
|
|
391
391
|
flex-wrap: wrap;
|
|
392
|
-
margin-
|
|
393
|
-
margin-
|
|
394
|
-
margin-
|
|
395
|
-
margin-
|
|
392
|
+
margin-block-start: var(--#{$form}__actions--MarginTop);
|
|
393
|
+
margin-block-end: var(--#{$form}__actions--MarginBottom);
|
|
394
|
+
margin-inline-start: var(--#{$form}__actions--MarginLeft);
|
|
395
|
+
margin-inline-end: var(--#{$form}__actions--MarginRight);
|
|
396
396
|
|
|
397
397
|
> * {
|
|
398
|
-
margin-
|
|
399
|
-
margin-
|
|
400
|
-
margin-
|
|
401
|
-
margin-
|
|
398
|
+
margin-block-start: var(--#{$form}__actions--child--MarginTop);
|
|
399
|
+
margin-block-end: var(--#{$form}__actions--child--MarginBottom);
|
|
400
|
+
margin-inline-start: var(--#{$form}__actions--child--MarginLeft);
|
|
401
|
+
margin-inline-end: var(--#{$form}__actions--child--MarginRight);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
|
|
@@ -407,8 +407,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
407
407
|
|
|
408
408
|
display: grid;
|
|
409
409
|
grid-template-columns: minmax(var(--#{$form}__field-group--GridTemplateColumns--toggle), max-content) 1fr;
|
|
410
|
-
border-
|
|
411
|
-
border-
|
|
410
|
+
border-block-start: var(--#{$form}__field-group--BorderTopWidth) solid var(--#{$form}__field-group--BorderTopColor);
|
|
411
|
+
border-block-end: var(--#{$form}__field-group--BorderBottomWidth) solid var(--#{$form}__field-group--BorderBottomColor);
|
|
412
412
|
|
|
413
413
|
&:last-child {
|
|
414
414
|
--#{$form}__field-group--BorderBottomWidth: 0;
|
|
@@ -420,7 +420,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
& + & {
|
|
423
|
-
margin-
|
|
423
|
+
margin-block-start: var(--#{$form}__field-group--field-group--MarginTop);
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
// nested
|
|
@@ -446,8 +446,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
446
446
|
.#{$form}__field-group-toggle {
|
|
447
447
|
grid-row: 1 / 2;
|
|
448
448
|
grid-column: 1 / 2;
|
|
449
|
-
padding-
|
|
450
|
-
padding-
|
|
449
|
+
padding-block-start: var(--#{$form}__field-group-toggle--PaddingTop);
|
|
450
|
+
padding-inline-end: var(--#{$form}__field-group-toggle--PaddingRight);
|
|
451
451
|
|
|
452
452
|
+ .#{$form}__field-group-header {
|
|
453
453
|
--#{$form}__field-group-header--GridColumn: var(--#{$form}__field-group-toggle--field-group-header--GridColumn);
|
|
@@ -455,8 +455,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
.#{$form}__field-group-toggle-button {
|
|
458
|
-
margin-
|
|
459
|
-
margin-
|
|
458
|
+
margin-block-start: var(--#{$form}__field-group-toggle-button--MarginTop);
|
|
459
|
+
margin-block-end: var(--#{$form}__field-group-toggle-button--MarginBottom);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
.#{$form}__field-group-toggle-icon {
|
|
@@ -465,6 +465,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
465
465
|
text-align: center;
|
|
466
466
|
transition: var(--#{$form}__field-group-toggle-icon--Transition);
|
|
467
467
|
transform: rotate(var(--#{$form}__field-group-toggle-icon--Rotate));
|
|
468
|
+
|
|
469
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
468
470
|
}
|
|
469
471
|
|
|
470
472
|
.#{$form}__field-group-header {
|
|
@@ -472,8 +474,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
472
474
|
grid-row: 1 / 2;
|
|
473
475
|
grid-column: var(--#{$form}__field-group-header--GridColumn);
|
|
474
476
|
align-items: flex-start;
|
|
475
|
-
padding-
|
|
476
|
-
padding-
|
|
477
|
+
padding-block-start: var(--#{$form}__field-group-header--PaddingTop);
|
|
478
|
+
padding-block-end: var(--#{$form}__field-group-header--PaddingBottom);
|
|
477
479
|
}
|
|
478
480
|
|
|
479
481
|
.#{$form}__field-group-header-main {
|
|
@@ -491,14 +493,14 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
491
493
|
}
|
|
492
494
|
|
|
493
495
|
.#{$form}__field-group-header-description {
|
|
494
|
-
margin-
|
|
496
|
+
margin-block-start: var(--#{$form}__field-group-header-description--MarginTop);
|
|
495
497
|
color: var(--#{$form}__field-group-header-description--Color);
|
|
496
498
|
}
|
|
497
499
|
|
|
498
500
|
.#{$form}__field-group-header-actions {
|
|
499
|
-
margin-
|
|
500
|
-
margin-
|
|
501
|
-
margin-
|
|
501
|
+
margin-block-start: var(--#{$form}__field-group-header-actions--MarginTop);
|
|
502
|
+
margin-block-end: var(--#{$form}__field-group-header-actions--MarginBottom);
|
|
503
|
+
margin-inline-start: var(--#{$form}__field-group-header-actions--MarginLeft);
|
|
502
504
|
white-space: nowrap;
|
|
503
505
|
}
|
|
504
506
|
|
|
@@ -506,8 +508,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
506
508
|
display: grid;
|
|
507
509
|
grid-column: var(--#{$form}__field-group-body--GridColumn);
|
|
508
510
|
gap: var(--#{$form}__field-group-body--Gap);
|
|
509
|
-
padding-
|
|
510
|
-
padding-
|
|
511
|
+
padding-block-start: var(--#{$form}__field-group-body--PaddingTop);
|
|
512
|
+
padding-block-end: var(--#{$form}__field-group-body--PaddingBottom);
|
|
511
513
|
|
|
512
514
|
> .#{$form}__field-group {
|
|
513
515
|
&:first-child {
|
|
@@ -516,7 +518,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
516
518
|
}
|
|
517
519
|
|
|
518
520
|
&:last-child {
|
|
519
|
-
margin-
|
|
521
|
+
margin-block-end: var(--#{$form}__field-group-body__field-group--last-child--MarginBottom);
|
|
520
522
|
}
|
|
521
523
|
}
|
|
522
524
|
}
|
|
@@ -105,17 +105,26 @@
|
|
|
105
105
|
content: "";
|
|
106
106
|
}
|
|
107
107
|
.pf-v5-c-form-control::before {
|
|
108
|
-
border-color: var(--pf-v5-c-form-control--before--BorderTopColor) var(--pf-v5-c-form-control--before--BorderRightColor) var(--pf-v5-c-form-control--before--BorderBottomColor) var(--pf-v5-c-form-control--before--BorderLeftColor);
|
|
109
108
|
border-style: var(--pf-v5-c-form-control--before--BorderStyle, solid);
|
|
110
|
-
border-
|
|
109
|
+
border-block-start-color: var(--pf-v5-c-form-control--before--BorderTopColor);
|
|
110
|
+
border-block-start-width: var(--pf-v5-c-form-control--before--BorderTopWidth);
|
|
111
|
+
border-block-end-color: var(--pf-v5-c-form-control--before--BorderBottomColor);
|
|
112
|
+
border-block-end-width: var(--pf-v5-c-form-control--before--BorderBottomWidth);
|
|
113
|
+
border-inline-start-color: var(--pf-v5-c-form-control--before--BorderLeftColor);
|
|
114
|
+
border-inline-start-width: var(--pf-v5-c-form-control--before--BorderLeftWidth);
|
|
115
|
+
border-inline-end-color: var(--pf-v5-c-form-control--before--BorderRightColor);
|
|
116
|
+
border-inline-end-width: var(--pf-v5-c-form-control--before--BorderRightWidth);
|
|
111
117
|
}
|
|
112
118
|
.pf-v5-c-form-control::after {
|
|
113
|
-
border-
|
|
119
|
+
border-block-end: var(--pf-v5-c-form-control--after--BorderBottomWidth) var(--pf-v5-c-form-control--after--BorderStyle, solid) var(--pf-v5-c-form-control--after--BorderBottomColor);
|
|
114
120
|
}
|
|
115
121
|
.pf-v5-c-form-control > :is(input, select, textarea) {
|
|
116
122
|
grid-row: 1/2;
|
|
117
123
|
grid-column: 1/-1;
|
|
118
|
-
padding: var(--pf-v5-c-form-control--PaddingTop)
|
|
124
|
+
padding-block-start: var(--pf-v5-c-form-control--PaddingTop);
|
|
125
|
+
padding-block-end: var(--pf-v5-c-form-control--PaddingBottom);
|
|
126
|
+
padding-inline-start: var(--pf-v5-c-form-control--PaddingLeft);
|
|
127
|
+
padding-inline-end: var(--pf-v5-c-form-control--PaddingRight);
|
|
119
128
|
color: var(--pf-v5-c-form-control--Color);
|
|
120
129
|
background-color: transparent;
|
|
121
130
|
border: none;
|
|
@@ -238,7 +247,7 @@
|
|
|
238
247
|
}
|
|
239
248
|
|
|
240
249
|
.pf-v5-c-form-control__icon {
|
|
241
|
-
padding-
|
|
250
|
+
padding-block-start: var(--pf-v5-c-form-control__icon--PaddingTop);
|
|
242
251
|
color: var(--pf-v5-c-form-control__icon--Color);
|
|
243
252
|
}
|
|
244
253
|
.pf-v5-c-form-control__icon.pf-m-status {
|
|
@@ -248,9 +257,9 @@
|
|
|
248
257
|
.pf-v5-c-form-control__toggle-icon {
|
|
249
258
|
grid-row: 1/2;
|
|
250
259
|
grid-column: 3;
|
|
251
|
-
padding-
|
|
252
|
-
padding-
|
|
253
|
-
padding-
|
|
260
|
+
padding-block-start: var(--pf-v5-c-form-control__toggle-icon--PaddingTop);
|
|
261
|
+
padding-inline-start: var(--pf-v5-c-form-control__toggle-icon--PaddingLeft);
|
|
262
|
+
padding-inline-end: var(--pf-v5-c-form-control__toggle-icon--PaddingRight);
|
|
254
263
|
color: var(--pf-v5-c-form-control__toggle-icon--Color);
|
|
255
264
|
pointer-events: none;
|
|
256
265
|
}
|
|
@@ -261,7 +270,7 @@
|
|
|
261
270
|
grid-row: 1/2;
|
|
262
271
|
grid-column: 2;
|
|
263
272
|
gap: var(--pf-v5-c-form-control__utilities--Gap);
|
|
264
|
-
padding-
|
|
273
|
+
padding-inline-end: var(--pf-v5-c-form-control__utilities--PaddingRight);
|
|
265
274
|
pointer-events: none;
|
|
266
275
|
}
|
|
267
276
|
|
|
@@ -136,19 +136,28 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
&::before {
|
|
139
|
-
border-color: var(--#{$form-control}--before--BorderTopColor) var(--#{$form-control}--before--BorderRightColor) var(--#{$form-control}--before--BorderBottomColor) var(--#{$form-control}--before--BorderLeftColor);
|
|
140
139
|
border-style: var(--#{$form-control}--before--BorderStyle, solid);
|
|
141
|
-
border-
|
|
140
|
+
border-block-start-color: var(--#{$form-control}--before--BorderTopColor);
|
|
141
|
+
border-block-start-width: var(--#{$form-control}--before--BorderTopWidth);
|
|
142
|
+
border-block-end-color: var(--#{$form-control}--before--BorderBottomColor);
|
|
143
|
+
border-block-end-width: var(--#{$form-control}--before--BorderBottomWidth);
|
|
144
|
+
border-inline-start-color: var(--#{$form-control}--before--BorderLeftColor);
|
|
145
|
+
border-inline-start-width: var(--#{$form-control}--before--BorderLeftWidth);
|
|
146
|
+
border-inline-end-color: var(--#{$form-control}--before--BorderRightColor);
|
|
147
|
+
border-inline-end-width: var(--#{$form-control}--before--BorderRightWidth);
|
|
142
148
|
}
|
|
143
149
|
|
|
144
150
|
&::after {
|
|
145
|
-
border-
|
|
151
|
+
border-block-end: var(--#{$form-control}--after--BorderBottomWidth) var(--#{$form-control}--after--BorderStyle, solid) var(--#{$form-control}--after--BorderBottomColor);
|
|
146
152
|
}
|
|
147
153
|
|
|
148
154
|
> :is(input, select, textarea) {
|
|
149
155
|
grid-row: 1 / 2;
|
|
150
156
|
grid-column: 1 / -1;
|
|
151
|
-
padding: var(--#{$form-control}--PaddingTop)
|
|
157
|
+
padding-block-start: var(--#{$form-control}--PaddingTop);
|
|
158
|
+
padding-block-end: var(--#{$form-control}--PaddingBottom);
|
|
159
|
+
padding-inline-start: var(--#{$form-control}--PaddingLeft);
|
|
160
|
+
padding-inline-end: var(--#{$form-control}--PaddingRight);
|
|
152
161
|
color: var(--#{$form-control}--Color);
|
|
153
162
|
background-color: transparent;
|
|
154
163
|
border: none;
|
|
@@ -308,7 +317,7 @@
|
|
|
308
317
|
}
|
|
309
318
|
|
|
310
319
|
.#{$form-control}__icon {
|
|
311
|
-
padding-
|
|
320
|
+
padding-block-start: var(--#{$form-control}__icon--PaddingTop);
|
|
312
321
|
color: var(--#{$form-control}__icon--Color);
|
|
313
322
|
|
|
314
323
|
&.pf-m-status {
|
|
@@ -319,9 +328,9 @@
|
|
|
319
328
|
.#{$form-control}__toggle-icon {
|
|
320
329
|
grid-row: 1 / 2;
|
|
321
330
|
grid-column: 3;
|
|
322
|
-
padding-
|
|
323
|
-
padding-
|
|
324
|
-
padding-
|
|
331
|
+
padding-block-start: var(--#{$form-control}__toggle-icon--PaddingTop);
|
|
332
|
+
padding-inline-start: var(--#{$form-control}__toggle-icon--PaddingLeft);
|
|
333
|
+
padding-inline-end: var(--#{$form-control}__toggle-icon--PaddingRight);
|
|
325
334
|
color: var(--#{$form-control}__toggle-icon--Color);
|
|
326
335
|
pointer-events: none;
|
|
327
336
|
}
|
|
@@ -332,7 +341,7 @@
|
|
|
332
341
|
grid-row: 1 / 2;
|
|
333
342
|
grid-column: 2;
|
|
334
343
|
gap: var(--#{$form-control}__utilities--Gap);
|
|
335
|
-
padding-
|
|
344
|
+
padding-inline-end: var(--#{$form-control}__utilities--PaddingRight);
|
|
336
345
|
pointer-events: none;
|
|
337
346
|
}
|
|
338
347
|
|
package/components/Hint/hint.css
CHANGED
|
@@ -1,30 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-c-hint--GridRowGap: var(--pf-
|
|
3
|
-
--pf-v5-c-hint--PaddingTop: var(--pf-
|
|
4
|
-
--pf-v5-c-hint--PaddingRight: var(--pf-
|
|
5
|
-
--pf-v5-c-hint--PaddingBottom: var(--pf-
|
|
6
|
-
--pf-v5-c-hint--PaddingLeft: var(--pf-
|
|
7
|
-
--pf-v5-c-hint--BackgroundColor: var(--pf-
|
|
8
|
-
--pf-v5-c-hint--BorderColor: var(--pf-
|
|
9
|
-
--pf-v5-c-hint--BorderWidth: var(--pf-
|
|
10
|
-
--pf-v5-c-hint--
|
|
11
|
-
--pf-v5-c-hint--Color: var(--pf-
|
|
12
|
-
--pf-v5-c-hint__title--
|
|
13
|
-
--pf-v5-c-
|
|
14
|
-
--pf-v5-c-
|
|
15
|
-
--pf-v5-c-
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-hint--GridRowGap: var(--pf-t--global--spacer--sm);
|
|
3
|
+
--pf-v5-c-hint--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
4
|
+
--pf-v5-c-hint--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
5
|
+
--pf-v5-c-hint--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
6
|
+
--pf-v5-c-hint--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
7
|
+
--pf-v5-c-hint--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
8
|
+
--pf-v5-c-hint--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
9
|
+
--pf-v5-c-hint--BorderWidth: var(--pf-t--global--border--width--200);
|
|
10
|
+
--pf-v5-c-hint--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
11
|
+
--pf-v5-c-hint--Color: var(--pf-t--global--text--color--regular);
|
|
12
|
+
--pf-v5-c-hint__title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
13
|
+
--pf-v5-c-hint__title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
14
|
+
--pf-v5-c-hint__title--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
15
|
+
--pf-v5-c-hint__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
16
|
+
--pf-v5-c-hint__body--FontSize: var(--pf-t--global--font--size--body--md);
|
|
17
|
+
--pf-v5-c-hint__footer--MarginTop: var(--pf-t--global--spacer--sm);
|
|
18
|
+
--pf-v5-c-hint__footer--child--MarginRight: var(--pf-t--global--spacer--md);
|
|
19
|
+
--pf-v5-c-hint__actions--MarginLeft: var(--pf-t--global--spacer--2xl);
|
|
16
20
|
--pf-v5-c-hint__actions--c-dropdown--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pf-v5-c-hint {
|
|
17
24
|
display: grid;
|
|
18
25
|
grid-template-columns: 1fr auto;
|
|
19
26
|
grid-row-gap: var(--pf-v5-c-hint--GridRowGap);
|
|
20
|
-
padding: var(--pf-v5-c-hint--PaddingTop)
|
|
27
|
+
padding-block-start: var(--pf-v5-c-hint--PaddingTop);
|
|
28
|
+
padding-block-end: var(--pf-v5-c-hint--PaddingBottom);
|
|
29
|
+
padding-inline-start: var(--pf-v5-c-hint--PaddingLeft);
|
|
30
|
+
padding-inline-end: var(--pf-v5-c-hint--PaddingRight);
|
|
21
31
|
color: var(--pf-v5-c-hint--Color);
|
|
22
32
|
background-color: var(--pf-v5-c-hint--BackgroundColor);
|
|
23
33
|
border: var(--pf-v5-c-hint--BorderWidth) solid var(--pf-v5-c-hint--BorderColor);
|
|
24
|
-
|
|
34
|
+
border-radius: var(--pf-v5-c-hint--BorderRadius);
|
|
25
35
|
}
|
|
26
36
|
.pf-v5-c-hint .pf-v5-c-button.pf-m-link.pf-m-inline {
|
|
27
|
-
text-align:
|
|
37
|
+
text-align: start;
|
|
28
38
|
white-space: normal;
|
|
29
39
|
}
|
|
30
40
|
|
|
@@ -33,18 +43,22 @@
|
|
|
33
43
|
grid-row: 1;
|
|
34
44
|
grid-column: 2;
|
|
35
45
|
grid-auto-flow: column;
|
|
36
|
-
margin-
|
|
37
|
-
text-align:
|
|
46
|
+
margin-inline-start: var(--pf-v5-c-hint__actions--MarginLeft);
|
|
47
|
+
text-align: end;
|
|
38
48
|
}
|
|
39
49
|
.pf-v5-c-hint__actions .pf-v5-c-dropdown .pf-v5-c-dropdown__toggle.pf-m-plain {
|
|
40
|
-
margin-
|
|
50
|
+
margin-block-start: var(--pf-v5-c-hint__actions--c-dropdown--MarginTop);
|
|
41
51
|
}
|
|
42
52
|
.pf-v5-c-hint__actions + .pf-v5-c-hint__body {
|
|
43
53
|
grid-column: 1;
|
|
44
54
|
}
|
|
45
55
|
|
|
46
56
|
.pf-v5-c-hint__title {
|
|
57
|
+
align-self: center;
|
|
58
|
+
font-family: var(--pf-v5-c-hint__title--FontFamily);
|
|
47
59
|
font-size: var(--pf-v5-c-hint__title--FontSize);
|
|
60
|
+
font-weight: var(--pf-v5-c-hint__title--FontWeight);
|
|
61
|
+
line-height: var(--pf-v5-c-hint__title--LineHeight);
|
|
48
62
|
}
|
|
49
63
|
|
|
50
64
|
.pf-v5-c-hint__body {
|
|
@@ -54,12 +68,8 @@
|
|
|
54
68
|
|
|
55
69
|
.pf-v5-c-hint__footer {
|
|
56
70
|
grid-column: 1/-1;
|
|
71
|
+
margin-block-start: var(--pf-v5-c-hint__footer--MarginTop);
|
|
57
72
|
}
|
|
58
73
|
.pf-v5-c-hint__footer > :not(:last-child) {
|
|
59
|
-
margin-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-hint {
|
|
63
|
-
--pf-v5-c-hint--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
64
|
-
--pf-v5-c-hint--BorderColor: var(--pf-v5-global--BorderColor--300);
|
|
74
|
+
margin-inline-end: var(--pf-v5-c-hint__footer--child--MarginRight);
|
|
65
75
|
}
|
|
@@ -1,42 +1,51 @@
|
|
|
1
1
|
// @debug $hint; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
--#{$hint}--GridRowGap: var(
|
|
5
|
-
--#{$hint}--PaddingTop: var(
|
|
6
|
-
--#{$hint}--PaddingRight: var(
|
|
7
|
-
--#{$hint}--PaddingBottom: var(
|
|
8
|
-
--#{$hint}--PaddingLeft: var(
|
|
9
|
-
--#{$hint}--BackgroundColor: var(
|
|
10
|
-
--#{$hint}--BorderColor: var(
|
|
11
|
-
--#{$hint}--BorderWidth: var(
|
|
12
|
-
--#{$hint}--
|
|
13
|
-
--#{$hint}--Color: var(
|
|
3
|
+
:root {
|
|
4
|
+
--#{$hint}--GridRowGap: var(--pf-t--global--spacer--sm);
|
|
5
|
+
--#{$hint}--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
6
|
+
--#{$hint}--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
7
|
+
--#{$hint}--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
8
|
+
--#{$hint}--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
9
|
+
--#{$hint}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
10
|
+
--#{$hint}--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
11
|
+
--#{$hint}--BorderWidth: var(--pf-t--global--border--width--200); // TODO - need semantic variable
|
|
12
|
+
--#{$hint}--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
13
|
+
--#{$hint}--Color: var(--pf-t--global--text--color--regular);
|
|
14
14
|
|
|
15
15
|
// Hint Title
|
|
16
|
-
--#{$hint}__title--
|
|
16
|
+
--#{$hint}__title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
17
|
+
--#{$hint}__title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
18
|
+
--#{$hint}__title--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
19
|
+
--#{$hint}__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
17
20
|
|
|
18
21
|
// Hint Body
|
|
19
|
-
--#{$hint}__body--FontSize: var(
|
|
22
|
+
--#{$hint}__body--FontSize: var(--pf-t--global--font--size--body--md);
|
|
20
23
|
|
|
21
24
|
// Hint Footer
|
|
22
|
-
--#{$hint}__footer--
|
|
25
|
+
--#{$hint}__footer--MarginTop: var(--pf-t--global--spacer--sm);
|
|
26
|
+
--#{$hint}__footer--child--MarginRight: var(--pf-t--global--spacer--md);
|
|
23
27
|
|
|
24
28
|
// Hint Actions
|
|
25
|
-
--#{$hint}__actions--MarginLeft: var(
|
|
26
|
-
--#{$hint}__actions--c-dropdown--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
29
|
+
--#{$hint}__actions--MarginLeft: var(--pf-t--global--spacer--2xl);
|
|
30
|
+
--#{$hint}__actions--c-dropdown--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1); // TODO form element spacer
|
|
31
|
+
}
|
|
27
32
|
|
|
33
|
+
.#{$hint} {
|
|
28
34
|
display: grid;
|
|
29
35
|
grid-template-columns: 1fr auto;
|
|
30
36
|
grid-row-gap: var(--#{$hint}--GridRowGap);
|
|
31
|
-
padding: var(--#{$hint}--PaddingTop)
|
|
37
|
+
padding-block-start: var(--#{$hint}--PaddingTop);
|
|
38
|
+
padding-block-end: var(--#{$hint}--PaddingBottom);
|
|
39
|
+
padding-inline-start: var(--#{$hint}--PaddingLeft);
|
|
40
|
+
padding-inline-end: var(--#{$hint}--PaddingRight);
|
|
32
41
|
color: var(--#{$hint}--Color);
|
|
33
42
|
background-color: var(--#{$hint}--BackgroundColor);
|
|
34
43
|
border: var(--#{$hint}--BorderWidth) solid var(--#{$hint}--BorderColor);
|
|
35
|
-
|
|
44
|
+
border-radius: var(--#{$hint}--BorderRadius);
|
|
36
45
|
|
|
37
46
|
// Remove this when the inline link button is updated
|
|
38
47
|
.#{$button}.pf-m-link.pf-m-inline {
|
|
39
|
-
text-align:
|
|
48
|
+
text-align: start;
|
|
40
49
|
white-space: normal;
|
|
41
50
|
}
|
|
42
51
|
}
|
|
@@ -46,12 +55,12 @@
|
|
|
46
55
|
grid-row: 1;
|
|
47
56
|
grid-column: 2;
|
|
48
57
|
grid-auto-flow: column;
|
|
49
|
-
margin-
|
|
50
|
-
text-align:
|
|
58
|
+
margin-inline-start: var(--#{$hint}__actions--MarginLeft);
|
|
59
|
+
text-align: end;
|
|
51
60
|
|
|
52
61
|
// Only applies to the plain dropdown
|
|
53
62
|
.#{$dropdown} .#{$dropdown}__toggle.pf-m-plain {
|
|
54
|
-
margin-
|
|
63
|
+
margin-block-start: var(--#{$hint}__actions--c-dropdown--MarginTop);
|
|
55
64
|
}
|
|
56
65
|
|
|
57
66
|
+ .#{$hint}__body {
|
|
@@ -60,7 +69,11 @@
|
|
|
60
69
|
}
|
|
61
70
|
|
|
62
71
|
.#{$hint}__title {
|
|
72
|
+
align-self: center;
|
|
73
|
+
font-family: var(--#{$hint}__title--FontFamily);
|
|
63
74
|
font-size: var(--#{$hint}__title--FontSize);
|
|
75
|
+
font-weight: var(--#{$hint}__title--FontWeight);
|
|
76
|
+
line-height: var(--#{$hint}__title--LineHeight);
|
|
64
77
|
}
|
|
65
78
|
|
|
66
79
|
.#{$hint}__body {
|
|
@@ -70,15 +83,9 @@
|
|
|
70
83
|
|
|
71
84
|
.#{$hint}__footer {
|
|
72
85
|
grid-column: 1 / -1;
|
|
86
|
+
margin-block-start: var(--#{$hint}__footer--MarginTop);
|
|
73
87
|
|
|
74
88
|
> :not(:last-child) {
|
|
75
|
-
margin-
|
|
89
|
+
margin-inline-end: var(--#{$hint}__footer--child--MarginRight);
|
|
76
90
|
}
|
|
77
91
|
}
|
|
78
|
-
|
|
79
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
80
|
-
@import "themes/dark/hint";
|
|
81
|
-
|
|
82
|
-
@include pf-v5-theme-dark {
|
|
83
|
-
@include pf-v5-theme-dark-hint;
|
|
84
|
-
}
|
package/components/Icon/icon.css
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
.pf-v5-c-icon__progress {
|
|
116
116
|
position: absolute;
|
|
117
|
-
|
|
117
|
+
inset-block-start: calc(50% + 0.5 * var(--pf-v5-c-icon__content--svg--VerticalAlign));
|
|
118
118
|
opacity: var(--pf-v5-c-icon__progress--Opacity, 0);
|
|
119
119
|
transform: translateY(calc(-50% - 0.5 * var(--pf-v5-c-icon__content--svg--VerticalAlign)));
|
|
120
120
|
}
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
// Progress element
|
|
145
145
|
.#{$icon}__progress {
|
|
146
146
|
position: absolute;
|
|
147
|
-
|
|
147
|
+
inset-block-start: calc(50% + calc(.5 * var(--#{$icon}__content--svg--VerticalAlign)));
|
|
148
148
|
opacity: var(--#{$icon}__progress--Opacity, 0);
|
|
149
149
|
transform: translateY(calc(-50% - calc(.5 * var(--#{$icon}__content--svg--VerticalAlign))));
|
|
150
150
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
align-items: baseline;
|
|
13
13
|
}
|
|
14
14
|
.pf-v5-c-inline-edit__group > * {
|
|
15
|
-
margin-
|
|
15
|
+
margin-inline-end: var(--pf-v5-c-inline-edit__group--item--MarginRight);
|
|
16
16
|
}
|
|
17
17
|
.pf-v5-c-inline-edit__group.pf-m-icon-group {
|
|
18
18
|
--pf-v5-c-inline-edit__group--item--MarginRight: var(--pf-v5-c-inline-edit__action--m-icon-group--item--MarginRight);
|
|
19
19
|
}
|
|
20
20
|
.pf-v5-c-inline-edit__group.pf-m-footer {
|
|
21
|
-
margin-
|
|
21
|
+
margin-block-start: var(--pf-v5-c-inline-edit__group--m-footer--MarginTop);
|
|
22
22
|
}
|
|
23
23
|
.pf-v5-c-inline-edit__group.pf-m-column {
|
|
24
24
|
--pf-v5-c-inline-edit__group--item--MarginRight: 0;
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.pf-v5-c-inline-edit__label + .pf-v5-c-inline-edit__action.pf-m-enable > .pf-v5-c-button {
|
|
72
|
-
margin-
|
|
73
|
-
margin-
|
|
72
|
+
margin-block-start: calc(var(--pf-v5-c-button--PaddingTop) * -1);
|
|
73
|
+
margin-block-end: calc(var(--pf-v5-c-button--PaddingBottom) * -1);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.pf-v5-c-inline-edit__label.pf-m-bold {
|