@patternfly/patternfly 5.1.0-prerelease.1 → 5.1.0-prerelease.10
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 +10 -0
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +22 -0
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +7 -0
- package/base/patternfly-common.css +17 -2
- package/base/patternfly-globals.css +1 -1
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +5 -0
- package/components/AboutModalBox/about-modal-box.css +20 -13
- package/components/AboutModalBox/about-modal-box.scss +20 -13
- package/components/Accordion/accordion.css +33 -20
- package/components/Accordion/accordion.scss +32 -20
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +7 -4
- package/components/Alert/alert-group.scss +7 -4
- package/components/Alert/alert.css +16 -13
- package/components/Alert/alert.scss +16 -13
- 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 +2 -2
- package/components/BackgroundImage/background-image.scss +2 -2
- package/components/Badge/badge.css +2 -2
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +5 -2
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +6 -3
- package/components/Breadcrumb/breadcrumb.scss +6 -3
- package/components/Button/button.css +23 -17
- package/components/Button/button.scss +22 -16
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +21 -15
- package/components/CalendarMonth/calendar-month.scss +21 -15
- package/components/Card/card.css +21 -16
- package/components/Card/card.scss +21 -16
- package/components/Check/check.css +2 -2
- package/components/Check/check.scss +2 -2
- 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 +16 -10
- package/components/ClipboardCopy/clipboard-copy.scss +14 -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 +33 -30
- package/components/Content/content.scss +33 -30
- 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 -49
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +66 -84
- package/components/DataList/data-list.scss +45 -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 +75 -60
- package/components/Drawer/drawer.scss +51 -36
- package/components/Dropdown/dropdown.css +75 -66
- package/components/Dropdown/dropdown.scss +65 -56
- 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 +50 -50
- package/components/Form/form.scss +44 -44
- package/components/FormControl/form-control.css +21 -11
- package/components/FormControl/form-control.scss +21 -11
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- 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 +24 -24
- package/components/JumpLinks/jump-links.scss +24 -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 +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +19 -22
- package/components/Masthead/masthead.scss +19 -22
- package/components/Menu/menu.css +69 -66
- package/components/Menu/menu.scss +69 -67
- package/components/MenuToggle/menu-toggle.css +41 -29
- package/components/MenuToggle/menu-toggle.scss +41 -29
- package/components/ModalBox/modal-box.css +19 -19
- package/components/ModalBox/modal-box.scss +20 -20
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +100 -93
- package/components/Nav/nav.scss +98 -91
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +13 -7
- package/components/NotificationBadge/notification-badge.scss +13 -7
- package/components/NotificationDrawer/notification-drawer.css +28 -19
- package/components/NotificationDrawer/notification-drawer.scss +28 -19
- package/components/NumberInput/number-input.css +3 -3
- 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 +119 -65
- package/components/Page/page.scss +63 -39
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +28 -18
- 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 +24 -21
- package/components/Popover/popover.scss +24 -21
- package/components/Progress/progress.css +7 -7
- package/components/Progress/progress.scss +7 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +4 -5
- package/components/Radio/radio.scss +4 -5
- 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 +2 -5
- package/components/Skeleton/skeleton.scss +2 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +46 -26
- package/components/Slider/slider.scss +54 -26
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +256 -219
- package/components/Table/table-grid.scss +53 -39
- package/components/Table/table-scrollable.css +2 -2
- package/components/Table/table-scrollable.scss +2 -2
- package/components/Table/table-tree-view.css +107 -104
- package/components/Table/table-tree-view.scss +32 -32
- package/components/Table/table.css +87 -69
- package/components/Table/table.scss +87 -69
- package/components/Tabs/tabs.css +66 -48
- package/components/Tabs/tabs.scss +66 -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/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +44 -41
- package/components/Toolbar/toolbar.scss +24 -21
- package/components/Tooltip/tooltip.css +19 -16
- package/components/Tooltip/tooltip.scss +19 -16
- package/components/TreeView/tree-view.css +42 -27
- package/components/TreeView/tree-view.scss +43 -28
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AppLauncher/deprecated/application-launcher.md +155 -70
- package/docs/components/Badge/examples/Badge.md +16 -4
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +11 -5
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +1 -0
- package/docs/components/Card/examples/Card.md +152 -64
- package/docs/components/Chip/examples/Chip.md +31 -11
- package/docs/components/ContextSelector/deprecated/context-selector.md +198 -96
- package/docs/components/DataList/examples/DataList.md +391 -136
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +881 -367
- package/docs/components/DualListSelector/examples/DualListSelector.md +368 -128
- package/docs/components/FormControl/examples/FormControl.md +2 -1
- package/docs/components/Hint/examples/Hint.md +57 -24
- package/docs/components/InlineEdit/examples/InlineEdit.md +46 -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 +40 -30
- package/docs/components/Menu/examples/Menu.md +41 -20
- package/docs/components/MenuToggle/examples/MenuToggle.md +1 -1
- package/docs/components/ModalBox/examples/ModalBox.css +2 -2
- package/docs/components/Nav/examples/Navigation.css +2 -2
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +619 -240
- package/docs/components/OptionsMenu/deprecated/options-menu.md +403 -160
- package/docs/components/OverflowMenu/examples/overflow-menu.md +45 -34
- package/docs/components/Pagination/examples/Pagination.md +195 -65
- package/docs/components/Popover/examples/Popover.css +2 -2
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +50 -0
- package/docs/components/Select/deprecated/Select.css +3 -3
- package/docs/components/Select/deprecated/Select.md +43 -55
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +4546 -1668
- package/docs/components/Tabs/examples/Tabs.md +1094 -438
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +2 -2
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +148 -80
- package/docs/components/TreeView/examples/TreeView.md +23 -8
- package/docs/components/Wizard/examples/Wizard.md +75 -36
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +49 -24
- package/docs/demos/CardView/examples/CardView.md +182 -74
- package/docs/demos/ContextSelector/examples/ContextSelector.md +95 -47
- package/docs/demos/Dashboard/examples/Dashboard.md +18 -9
- package/docs/demos/DataList/examples/DataList.md +163 -70
- package/docs/demos/DescriptionList/examples/DescriptionList.md +20 -9
- package/docs/demos/Drawer/examples/Drawer.md +20 -9
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +803 -338
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +241 -101
- package/docs/demos/Table/examples/Table.md +1422 -607
- package/docs/demos/Tabs/examples/Tabs.md +113 -48
- package/docs/demos/Toolbar/examples/Toolbar.md +320 -127
- package/docs/demos/Wizard/examples/Wizard.md +191 -41
- 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 +40 -37
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +27 -3
- package/patternfly-base-no-globals.css +27 -3
- package/patternfly-base-theme-dark-unversioned.css +28 -4
- package/patternfly-base.css +28 -4
- package/patternfly-no-globals.css +2420 -1872
- package/patternfly-theme-dark-unversioned.css +2421 -1873
- package/patternfly.css +2421 -1873
- 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/placeholders.scss +1 -1
- package/sass-utilities/scss-variables.scss +8 -8
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
|
@@ -62,38 +62,38 @@
|
|
|
62
62
|
--pf-v5-c-popover--MaxWidth: none;
|
|
63
63
|
}
|
|
64
64
|
.pf-v5-c-popover.pf-m-top .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-top-left .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-top-right .pf-v5-c-popover__arrow {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
inset-block-end: 0;
|
|
66
|
+
inset-inline-start: 50%;
|
|
67
67
|
transform: translateX(var(--pf-v5-c-popover__arrow--m-top--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-top--Rotate));
|
|
68
68
|
}
|
|
69
69
|
.pf-v5-c-popover.pf-m-bottom .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-bottom-left .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-bottom-right .pf-v5-c-popover__arrow {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
inset-block-start: 0;
|
|
71
|
+
inset-inline-start: 50%;
|
|
72
72
|
transform: translateX(var(--pf-v5-c-popover__arrow--m-bottom--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-bottom--Rotate));
|
|
73
73
|
}
|
|
74
74
|
.pf-v5-c-popover.pf-m-left .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-left-top .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-left-bottom .pf-v5-c-popover__arrow {
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
inset-block-start: 50%;
|
|
76
|
+
inset-inline-end: 0;
|
|
77
77
|
transform: translateX(var(--pf-v5-c-popover__arrow--m-left--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-left--Rotate));
|
|
78
78
|
}
|
|
79
79
|
.pf-v5-c-popover.pf-m-right .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-right-top .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-right-bottom .pf-v5-c-popover__arrow {
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
inset-block-start: 50%;
|
|
81
|
+
inset-inline-start: 0;
|
|
82
82
|
transform: translateX(var(--pf-v5-c-popover__arrow--m-right--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-right--Rotate));
|
|
83
83
|
}
|
|
84
84
|
.pf-v5-c-popover.pf-m-left-top .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-right-top .pf-v5-c-popover__arrow {
|
|
85
|
-
|
|
85
|
+
inset-block-start: var(--pf-v5-c-popover__arrow--Height);
|
|
86
86
|
}
|
|
87
87
|
.pf-v5-c-popover.pf-m-left-bottom .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-right-bottom .pf-v5-c-popover__arrow {
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
inset-block-start: auto;
|
|
89
|
+
inset-block-end: 0;
|
|
90
90
|
}
|
|
91
91
|
.pf-v5-c-popover.pf-m-top-left .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-bottom-left .pf-v5-c-popover__arrow {
|
|
92
|
-
|
|
92
|
+
inset-inline-start: var(--pf-v5-c-popover__arrow--Width);
|
|
93
93
|
}
|
|
94
94
|
.pf-v5-c-popover.pf-m-top-right .pf-v5-c-popover__arrow, .pf-v5-c-popover.pf-m-bottom-right .pf-v5-c-popover__arrow {
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
inset-inline-start: auto;
|
|
96
|
+
inset-inline-end: 0;
|
|
97
97
|
}
|
|
98
98
|
.pf-v5-c-popover.pf-m-danger {
|
|
99
99
|
--pf-v5-c-popover__title-icon--Color: var(--pf-v5-c-popover--m-danger__title-icon--Color);
|
|
@@ -118,17 +118,20 @@
|
|
|
118
118
|
|
|
119
119
|
.pf-v5-c-popover__content {
|
|
120
120
|
position: relative;
|
|
121
|
-
padding: var(--pf-v5-c-popover__content--PaddingTop)
|
|
121
|
+
padding-block-start: var(--pf-v5-c-popover__content--PaddingTop);
|
|
122
|
+
padding-block-end: var(--pf-v5-c-popover__content--PaddingBottom);
|
|
123
|
+
padding-inline-start: var(--pf-v5-c-popover__content--PaddingLeft);
|
|
124
|
+
padding-inline-end: var(--pf-v5-c-popover__content--PaddingRight);
|
|
122
125
|
background-color: var(--pf-v5-c-popover__content--BackgroundColor);
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
.pf-v5-c-popover__close {
|
|
126
129
|
position: absolute;
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
inset-block-start: var(--pf-v5-c-popover__close--Top);
|
|
131
|
+
inset-inline-end: var(--pf-v5-c-popover__close--Right);
|
|
129
132
|
}
|
|
130
133
|
.pf-v5-c-popover__close + * {
|
|
131
|
-
padding-
|
|
134
|
+
padding-inline-end: var(--pf-v5-c-popover__close--sibling--PaddingRight);
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
.pf-v5-c-popover__arrow {
|
|
@@ -141,7 +144,7 @@
|
|
|
141
144
|
}
|
|
142
145
|
|
|
143
146
|
.pf-v5-c-popover__header {
|
|
144
|
-
margin-
|
|
147
|
+
margin-block-end: var(--pf-v5-c-popover__header--MarginBottom);
|
|
145
148
|
}
|
|
146
149
|
|
|
147
150
|
.pf-v5-c-popover__title {
|
|
@@ -150,7 +153,7 @@
|
|
|
150
153
|
}
|
|
151
154
|
|
|
152
155
|
.pf-v5-c-popover__title-icon {
|
|
153
|
-
margin-
|
|
156
|
+
margin-inline-end: var(--pf-v5-c-popover__title-icon--MarginRight);
|
|
154
157
|
font-size: var(--pf-v5-c-popover__title-icon--FontSize);
|
|
155
158
|
color: var(--pf-v5-c-popover__title-icon--Color);
|
|
156
159
|
}
|
|
@@ -167,7 +170,7 @@
|
|
|
167
170
|
}
|
|
168
171
|
|
|
169
172
|
.pf-v5-c-popover__footer {
|
|
170
|
-
margin-
|
|
173
|
+
margin-block-start: var(--pf-v5-c-popover__footer--MarginTop);
|
|
171
174
|
}
|
|
172
175
|
|
|
173
176
|
:where(.pf-v5-theme-dark) .pf-v5-c-popover {
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
&.pf-m-top-left,
|
|
93
93
|
&.pf-m-top-right {
|
|
94
94
|
.#{$popover}__arrow {
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
inset-block-end: 0;
|
|
96
|
+
inset-inline-start: 50%;
|
|
97
97
|
transform: translateX(var(--#{$popover}__arrow--m-top--TranslateX)) translateY(var(--#{$popover}__arrow--m-top--TranslateY)) rotate(var(--#{$popover}__arrow--m-top--Rotate));
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
&.pf-m-bottom-left,
|
|
103
103
|
&.pf-m-bottom-right {
|
|
104
104
|
.#{$popover}__arrow {
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
inset-block-start: 0;
|
|
106
|
+
inset-inline-start: 50%;
|
|
107
107
|
transform: translateX(var(--#{$popover}__arrow--m-bottom--TranslateX)) translateY(var(--#{$popover}__arrow--m-bottom--TranslateY)) rotate(var(--#{$popover}__arrow--m-bottom--Rotate));
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
&.pf-m-left-top,
|
|
113
113
|
&.pf-m-left-bottom {
|
|
114
114
|
.#{$popover}__arrow {
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
inset-block-start: 50%;
|
|
116
|
+
inset-inline-end: 0;
|
|
117
117
|
transform: translateX(var(--#{$popover}__arrow--m-left--TranslateX)) translateY(var(--#{$popover}__arrow--m-left--TranslateY)) rotate(var(--#{$popover}__arrow--m-left--Rotate));
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
&.pf-m-right-top,
|
|
123
123
|
&.pf-m-right-bottom {
|
|
124
124
|
.#{$popover}__arrow {
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
inset-block-start: 50%;
|
|
126
|
+
inset-inline-start: 0;
|
|
127
127
|
transform: translateX(var(--#{$popover}__arrow--m-right--TranslateX)) translateY(var(--#{$popover}__arrow--m-right--TranslateY)) rotate(var(--#{$popover}__arrow--m-right--Rotate));
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -131,30 +131,30 @@
|
|
|
131
131
|
&.pf-m-left-top,
|
|
132
132
|
&.pf-m-right-top {
|
|
133
133
|
.#{$popover}__arrow {
|
|
134
|
-
|
|
134
|
+
inset-block-start: var(--#{$popover}__arrow--Height);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
&.pf-m-left-bottom,
|
|
139
139
|
&.pf-m-right-bottom {
|
|
140
140
|
.#{$popover}__arrow {
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
inset-block-start: auto;
|
|
142
|
+
inset-block-end: 0;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
&.pf-m-top-left,
|
|
147
147
|
&.pf-m-bottom-left {
|
|
148
148
|
.#{$popover}__arrow {
|
|
149
|
-
|
|
149
|
+
inset-inline-start: var(--#{$popover}__arrow--Width);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
&.pf-m-top-right,
|
|
154
154
|
&.pf-m-bottom-right {
|
|
155
155
|
.#{$popover}__arrow {
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
inset-inline-start: auto;
|
|
157
|
+
inset-inline-end: 0;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
|
|
@@ -186,19 +186,22 @@
|
|
|
186
186
|
|
|
187
187
|
.#{$popover}__content {
|
|
188
188
|
position: relative;
|
|
189
|
-
padding: var(--#{$popover}__content--PaddingTop)
|
|
189
|
+
padding-block-start: var(--#{$popover}__content--PaddingTop);
|
|
190
|
+
padding-block-end: var(--#{$popover}__content--PaddingBottom);
|
|
191
|
+
padding-inline-start: var(--#{$popover}__content--PaddingLeft);
|
|
192
|
+
padding-inline-end: var(--#{$popover}__content--PaddingRight);
|
|
190
193
|
background-color: var(--#{$popover}__content--BackgroundColor);
|
|
191
194
|
}
|
|
192
195
|
|
|
193
196
|
// Close button
|
|
194
197
|
.#{$popover}__close {
|
|
195
198
|
position: absolute;
|
|
196
|
-
|
|
197
|
-
|
|
199
|
+
inset-block-start: var(--#{$popover}__close--Top);
|
|
200
|
+
inset-inline-end: var(--#{$popover}__close--Right);
|
|
198
201
|
|
|
199
202
|
// Create room for the close button
|
|
200
203
|
+ * {
|
|
201
|
-
padding-
|
|
204
|
+
padding-inline-end: var(--#{$popover}__close--sibling--PaddingRight);
|
|
202
205
|
}
|
|
203
206
|
}
|
|
204
207
|
|
|
@@ -212,7 +215,7 @@
|
|
|
212
215
|
}
|
|
213
216
|
|
|
214
217
|
.#{$popover}__header {
|
|
215
|
-
margin-
|
|
218
|
+
margin-block-end: var(--#{$popover}__header--MarginBottom);
|
|
216
219
|
}
|
|
217
220
|
|
|
218
221
|
.#{$popover}__title {
|
|
@@ -221,7 +224,7 @@
|
|
|
221
224
|
}
|
|
222
225
|
|
|
223
226
|
.#{$popover}__title-icon {
|
|
224
|
-
margin-
|
|
227
|
+
margin-inline-end: var(--#{$popover}__title-icon--MarginRight);
|
|
225
228
|
font-size: var(--#{$popover}__title-icon--FontSize);
|
|
226
229
|
color: var(--#{$popover}__title-icon--Color);
|
|
227
230
|
}
|
|
@@ -239,7 +242,7 @@
|
|
|
239
242
|
}
|
|
240
243
|
|
|
241
244
|
.#{$popover}__footer {
|
|
242
|
-
margin-
|
|
245
|
+
margin-block-start: var(--#{$popover}__footer--MarginTop);
|
|
243
246
|
}
|
|
244
247
|
|
|
245
248
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
.pf-v5-c-progress.pf-m-outside .pf-v5-c-progress__measure.pf-m-static-width {
|
|
71
71
|
min-width: var(--pf-v5-c-progress__measure--m-static-width--MinWidth);
|
|
72
|
-
text-align:
|
|
72
|
+
text-align: start;
|
|
73
73
|
}
|
|
74
74
|
.pf-v5-c-progress.pf-m-outside .pf-v5-c-progress__bar,
|
|
75
75
|
.pf-v5-c-progress.pf-m-outside .pf-v5-c-progress__indicator {
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
gap: var(--pf-v5-c-progress__status--Gap);
|
|
125
125
|
align-items: flex-start;
|
|
126
126
|
justify-content: flex-end;
|
|
127
|
-
text-align:
|
|
127
|
+
text-align: end;
|
|
128
128
|
word-break: break-word;
|
|
129
129
|
}
|
|
130
130
|
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
}
|
|
143
143
|
.pf-v5-c-progress__bar::before {
|
|
144
144
|
position: absolute;
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
inset-block-start: 0;
|
|
146
|
+
inset-inline-start: 0;
|
|
147
147
|
width: 100%;
|
|
148
148
|
height: 100%;
|
|
149
149
|
content: "";
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
|
|
154
154
|
.pf-v5-c-progress__indicator {
|
|
155
155
|
position: absolute;
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
inset-block-start: 0;
|
|
157
|
+
inset-inline-start: 0;
|
|
158
158
|
height: var(--pf-v5-c-progress__indicator--Height);
|
|
159
159
|
background-color: var(--pf-v5-c-progress__indicator--BackgroundColor);
|
|
160
160
|
}
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
.pf-v5-c-progress__helper-text {
|
|
163
163
|
grid-row: 3/4;
|
|
164
164
|
grid-column: 1/3;
|
|
165
|
-
margin-
|
|
165
|
+
margin-block-start: var(--pf-v5-c-progress__helper-text--MarginTop);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
:where(.pf-v5-theme-dark) .pf-v5-c-progress {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
|
|
94
94
|
&.pf-m-static-width {
|
|
95
95
|
min-width: var(--#{$progress}__measure--m-static-width--MinWidth);
|
|
96
|
-
text-align:
|
|
96
|
+
text-align: start;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
gap: var(--#{$progress}__status--Gap);
|
|
167
167
|
align-items: flex-start;
|
|
168
168
|
justify-content: flex-end;
|
|
169
|
-
text-align:
|
|
169
|
+
text-align: end;
|
|
170
170
|
word-break: break-word;
|
|
171
171
|
}
|
|
172
172
|
|
|
@@ -186,8 +186,8 @@
|
|
|
186
186
|
|
|
187
187
|
&::before {
|
|
188
188
|
position: absolute;
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
inset-block-start: 0;
|
|
190
|
+
inset-inline-start: 0;
|
|
191
191
|
width: 100%;
|
|
192
192
|
height: 100%;
|
|
193
193
|
content: "";
|
|
@@ -200,8 +200,8 @@
|
|
|
200
200
|
// It is assumed that the width of the progress__indicator is set inline or via Javascript
|
|
201
201
|
.#{$progress}__indicator {
|
|
202
202
|
position: absolute; // position absolute to bring above the semi-transparent bar overlay
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
inset-block-start: 0;
|
|
204
|
+
inset-inline-start: 0;
|
|
205
205
|
height: var(--#{$progress}__indicator--Height);
|
|
206
206
|
background-color: var(--#{$progress}__indicator--BackgroundColor);
|
|
207
207
|
}
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
.#{$progress}__helper-text {
|
|
210
210
|
grid-row: 3 / 4;
|
|
211
211
|
grid-column: 1 / 3;
|
|
212
|
-
margin-
|
|
212
|
+
margin-block-start: var(--#{$progress}__helper-text--MarginTop);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
--pf-v5-c-progress-stepper--m-vertical--m-compact--GridTemplateColumns: 1fr;
|
|
18
18
|
--pf-v5-c-progress-stepper--m-vertical--m-compact__step-connector--PaddingBottom: var(--pf-v5-global--spacer--sm);
|
|
19
19
|
--pf-v5-c-progress-stepper--m-vertical--m-compact__step-connector--GridRow: auto;
|
|
20
|
+
--pf-v5-c-progress-stepper--m-vertical--m-compact__step-main--MarginTop: 0;
|
|
20
21
|
--pf-v5-c-progress-stepper--m-vertical--m-compact__step-main--MarginRight: 0;
|
|
22
|
+
--pf-v5-c-progress-stepper--m-vertical--m-compact__step-main--MarginLeft: 0;
|
|
21
23
|
--pf-v5-c-progress-stepper--m-vertical--m-center__step-main--MarginRight: 0;
|
|
22
24
|
--pf-v5-c-progress-stepper--m-vertical--m-center__step-main--MarginLeft: 0;
|
|
23
25
|
--pf-v5-c-progress-stepper--m-horizontal--GridAutoFlow: column;
|
|
@@ -57,7 +59,7 @@
|
|
|
57
59
|
--pf-v5-c-progress-stepper--m-center__step-description--MarginRight: 0;
|
|
58
60
|
--pf-v5-c-progress-stepper--m-center__step-description--MarginLeft: 0;
|
|
59
61
|
--pf-v5-c-progress-stepper--GridTemplateRows: auto 1fr;
|
|
60
|
-
--pf-v5-c-progress-stepper__step-connector--JustifyContent: start;
|
|
62
|
+
--pf-v5-c-progress-stepper__step-connector--JustifyContent: flex-start;
|
|
61
63
|
--pf-v5-c-progress-stepper__step-icon--ZIndex: var(--pf-v5-global--ZIndex--xs);
|
|
62
64
|
--pf-v5-c-progress-stepper__step-icon--Width: 1.75rem;
|
|
63
65
|
--pf-v5-c-progress-stepper__step-icon--Height: var(--pf-v5-c-progress-stepper__step-icon--Width);
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
--pf-v5-c-progress-stepper__pficon--MarginTop: 3px;
|
|
70
72
|
--pf-v5-c-progress-stepper__fa-exclamation-triangle--MarginTop: -5px;
|
|
71
73
|
--pf-v5-c-progress-stepper__step-title--Color: var(--pf-v5-global--Color--100);
|
|
72
|
-
--pf-v5-c-progress-stepper__step-title--TextAlign:
|
|
74
|
+
--pf-v5-c-progress-stepper__step-title--TextAlign: start;
|
|
73
75
|
--pf-v5-c-progress-stepper__step-title--FontSize: var(--pf-v5-global--FontSize--md);
|
|
74
76
|
--pf-v5-c-progress-stepper__step-title--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
|
75
77
|
--pf-v5-c-progress-stepper__step--m-current__step-title--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
@@ -91,7 +93,7 @@
|
|
|
91
93
|
--pf-v5-c-progress-stepper__step-description--MarginTop: var(--pf-v5-global--spacer--xs);
|
|
92
94
|
--pf-v5-c-progress-stepper__step-description--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
93
95
|
--pf-v5-c-progress-stepper__step-description--Color: var(--pf-v5-global--Color--200);
|
|
94
|
-
--pf-v5-c-progress-stepper__step-description--TextAlign:
|
|
96
|
+
--pf-v5-c-progress-stepper__step-description--TextAlign: start;
|
|
95
97
|
--pf-v5-c-progress-stepper--GridAutoFlow: var(--pf-v5-c-progress-stepper--m-vertical--GridAutoFlow);
|
|
96
98
|
--pf-v5-c-progress-stepper--GridTemplateColumns: var(--pf-v5-c-progress-stepper--m-vertical--GridTemplateColumns);
|
|
97
99
|
--pf-v5-c-progress-stepper__step-connector--before--Top: var(--pf-v5-c-progress-stepper--m-vertical__step-connector--before--Top);
|
|
@@ -160,7 +162,7 @@
|
|
|
160
162
|
position: relative;
|
|
161
163
|
}
|
|
162
164
|
.pf-v5-c-progress-stepper.pf-m-center .pf-v5-c-progress-stepper__step:not(:last-of-type) > .pf-v5-c-progress-stepper__step-connector::before {
|
|
163
|
-
|
|
165
|
+
inset-inline-start: var(--pf-v5-c-progress-stepper--m-center__step-connector--before--Left);
|
|
164
166
|
}
|
|
165
167
|
.pf-v5-c-progress-stepper.pf-m-center:not(.pf-m-compact) .pf-v5-c-progress-stepper__step:not(:last-of-type) > .pf-v5-c-progress-stepper__step-main::before {
|
|
166
168
|
content: var(--pf-v5-c-progress-stepper--m-center__step-main--before--Content);
|
|
@@ -177,8 +179,9 @@
|
|
|
177
179
|
--pf-v5-c-progress-stepper__step--m-current__step-title--FontWeight: var(--pf-v5-c-progress-stepper--m-compact__step-title--FontWeight);
|
|
178
180
|
--pf-v5-c-progress-stepper__pficon--MarginTop: var(--pf-v5-c-progress-stepper--m-compact__pficon--MarginTop);
|
|
179
181
|
--pf-v5-c-progress-stepper__fa-exclamation-triangle--MarginTop: var(--pf-v5-c-progress-stepper--m-compact__fa-exclamation-triangle--MarginTop);
|
|
180
|
-
--pf-v5-c-progress-stepper--m-vertical__step-main--
|
|
182
|
+
--pf-v5-c-progress-stepper--m-vertical__step-main--MarginTop: var(--pf-v5-c-progress-stepper--m-vertical--m-compact__step-main--MarginTop);
|
|
181
183
|
--pf-v5-c-progress-stepper--m-vertical__step-main--MarginRight: var(--pf-v5-c-progress-stepper--m-vertical--m-compact__step-main--MarginRight);
|
|
184
|
+
--pf-v5-c-progress-stepper--m-vertical__step-main--MarginLeft: var(--pf-v5-c-progress-stepper--m-vertical--m-compact__step-main--MarginLeft);
|
|
182
185
|
display: inline-grid;
|
|
183
186
|
grid-template-columns: var(--pf-v5-c-progress-stepper--m-compact--GridTemplateColumns);
|
|
184
187
|
grid-auto-flow: var(--pf-v5-c-progress-stepper--m-compact--GridAutoFlow);
|
|
@@ -186,15 +189,15 @@
|
|
|
186
189
|
.pf-v5-c-progress-stepper.pf-m-compact .pf-v5-c-progress-stepper__step-connector {
|
|
187
190
|
grid-row: var(--pf-v5-c-progress-stepper--m-compact__step-connector--GridRow);
|
|
188
191
|
min-width: var(--pf-v5-c-progress-stepper--m-compact__step-connector--MinWidth);
|
|
189
|
-
padding-
|
|
192
|
+
padding-block-end: var(--pf-v5-c-progress-stepper--m-compact__step-connector--PaddingBottom);
|
|
190
193
|
}
|
|
191
194
|
.pf-v5-c-progress-stepper.pf-m-compact .pf-v5-c-progress-stepper__step-main {
|
|
192
|
-
margin-
|
|
195
|
+
margin-block-end: var(--pf-v5-c-progress-stepper--m-compact__step-main--MarginBottom);
|
|
193
196
|
}
|
|
194
197
|
.pf-v5-c-progress-stepper.pf-m-compact .pf-v5-c-progress-stepper__step:not(.pf-m-current) .pf-v5-c-progress-stepper__step-main {
|
|
195
198
|
position: fixed;
|
|
196
|
-
|
|
197
|
-
|
|
199
|
+
inset-block-start: 0;
|
|
200
|
+
inset-inline-start: 0;
|
|
198
201
|
overflow: hidden;
|
|
199
202
|
clip: rect(0, 0, 0, 0);
|
|
200
203
|
white-space: nowrap;
|
|
@@ -248,13 +251,13 @@
|
|
|
248
251
|
}
|
|
249
252
|
.pf-v5-c-progress-stepper__step:not(:last-of-type) > .pf-v5-c-progress-stepper__step-connector::before {
|
|
250
253
|
position: absolute;
|
|
251
|
-
|
|
252
|
-
|
|
254
|
+
inset-block-start: var(--pf-v5-c-progress-stepper__step-connector--before--Top);
|
|
255
|
+
inset-inline-start: var(--pf-v5-c-progress-stepper__step-connector--before--Left);
|
|
253
256
|
width: var(--pf-v5-c-progress-stepper__step-connector--before--Width);
|
|
254
257
|
height: var(--pf-v5-c-progress-stepper__step-connector--before--Height);
|
|
255
258
|
content: "";
|
|
256
|
-
border-
|
|
257
|
-
border-
|
|
259
|
+
border-block-end: var(--pf-v5-c-progress-stepper__step-connector--before--BorderBottomWidth) solid var(--pf-v5-c-progress-stepper__step-connector--before--BorderBottomColor);
|
|
260
|
+
border-inline-end: var(--pf-v5-c-progress-stepper__step-connector--before--BorderRightWidth) solid var(--pf-v5-c-progress-stepper__step-connector--before--BorderRightColor);
|
|
258
261
|
transform: var(--pf-v5-c-progress-stepper__step-connector--before--Transform);
|
|
259
262
|
}
|
|
260
263
|
|
|
@@ -272,25 +275,28 @@
|
|
|
272
275
|
border-radius: 50%;
|
|
273
276
|
}
|
|
274
277
|
.pf-v5-c-progress-stepper__step-icon .pf-v5-pficon {
|
|
275
|
-
margin-
|
|
278
|
+
margin-block-start: var(--pf-v5-c-progress-stepper__pficon--MarginTop);
|
|
276
279
|
}
|
|
277
280
|
.pf-v5-c-progress-stepper__step-icon .fa-exclamation-triangle {
|
|
278
|
-
margin-
|
|
281
|
+
margin-block-start: var(--pf-v5-c-progress-stepper__fa-exclamation-triangle--MarginTop);
|
|
279
282
|
}
|
|
280
283
|
|
|
281
284
|
.pf-v5-c-progress-stepper__step-main {
|
|
282
285
|
min-width: 0;
|
|
283
|
-
margin: var(--pf-v5-c-progress-stepper__step-main--MarginTop)
|
|
286
|
+
margin-block-start: var(--pf-v5-c-progress-stepper__step-main--MarginTop);
|
|
287
|
+
margin-block-end: var(--pf-v5-c-progress-stepper__step-main--MarginBottom);
|
|
288
|
+
margin-inline-start: var(--pf-v5-c-progress-stepper__step-main--MarginLeft);
|
|
289
|
+
margin-inline-end: var(--pf-v5-c-progress-stepper__step-main--MarginRight);
|
|
284
290
|
text-align: var(--pf-v5-c-progress-stepper--step-main--TextAlign, auto);
|
|
285
291
|
overflow-wrap: anywhere;
|
|
286
292
|
}
|
|
287
293
|
.pf-v5-c-progress-stepper__step:not(:last-of-type) > .pf-v5-c-progress-stepper__step-main::before {
|
|
288
294
|
position: absolute;
|
|
289
|
-
|
|
290
|
-
|
|
295
|
+
inset-block-start: calc(100% + var(--pf-v5-c-progress-stepper__step-main--MarginTop));
|
|
296
|
+
inset-inline-start: calc(50% - var(--pf-v5-c-progress-stepper__step-connector--before--BorderRightWidth) / 2);
|
|
291
297
|
width: auto;
|
|
292
298
|
height: calc(var(--pf-v5-c-progress-stepper__step-main--MarginTop) + var(--pf-v5-c-progress-stepper__step-main--MarginBottom));
|
|
293
|
-
border-
|
|
299
|
+
border-inline-end: var(--pf-v5-c-progress-stepper__step-connector--before--BorderRightWidth) solid var(--pf-v5-c-progress-stepper__step-connector--before--BorderRightColor);
|
|
294
300
|
}
|
|
295
301
|
|
|
296
302
|
.pf-v5-c-progress-stepper__step-title {
|
|
@@ -319,7 +325,7 @@
|
|
|
319
325
|
}
|
|
320
326
|
|
|
321
327
|
.pf-v5-c-progress-stepper__step-description {
|
|
322
|
-
margin-
|
|
328
|
+
margin-block-start: var(--pf-v5-c-progress-stepper__step-description--MarginTop);
|
|
323
329
|
font-size: var(--pf-v5-c-progress-stepper__step-description--FontSize);
|
|
324
330
|
color: var(--pf-v5-c-progress-stepper__step-description--Color);
|
|
325
331
|
text-align: var(--pf-v5-c-progress-stepper__step-description--TextAlign);
|
|
@@ -79,7 +79,9 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
79
79
|
--#{$progress-stepper}--m-vertical--m-compact--GridTemplateColumns: 1fr;
|
|
80
80
|
--#{$progress-stepper}--m-vertical--m-compact__step-connector--PaddingBottom: var(--#{$pf-global}--spacer--sm);
|
|
81
81
|
--#{$progress-stepper}--m-vertical--m-compact__step-connector--GridRow: auto;
|
|
82
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginTop: 0;
|
|
82
83
|
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginRight: 0;
|
|
84
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginLeft: 0;
|
|
83
85
|
|
|
84
86
|
// Center, vertical
|
|
85
87
|
--#{$progress-stepper}--m-vertical--m-center__step-main--MarginRight: 0;
|
|
@@ -133,7 +135,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
133
135
|
--#{$progress-stepper}--GridTemplateRows: auto 1fr;
|
|
134
136
|
|
|
135
137
|
// Step connector variables
|
|
136
|
-
--#{$progress-stepper}__step-connector--JustifyContent: start;
|
|
138
|
+
--#{$progress-stepper}__step-connector--JustifyContent: flex-start;
|
|
137
139
|
|
|
138
140
|
// Step icon variables
|
|
139
141
|
--#{$progress-stepper}__step-icon--ZIndex: var(--#{$pf-global}--ZIndex--xs);
|
|
@@ -151,7 +153,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
151
153
|
|
|
152
154
|
// Step Title variables
|
|
153
155
|
--#{$progress-stepper}__step-title--Color: var(--#{$pf-global}--Color--100);
|
|
154
|
-
--#{$progress-stepper}__step-title--TextAlign:
|
|
156
|
+
--#{$progress-stepper}__step-title--TextAlign: start;
|
|
155
157
|
--#{$progress-stepper}__step-title--FontSize: var(--#{$pf-global}--FontSize--md);
|
|
156
158
|
--#{$progress-stepper}__step-title--FontWeight: var(--#{$pf-global}--FontWeight--normal);
|
|
157
159
|
--#{$progress-stepper}__step--m-current__step-title--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
@@ -179,7 +181,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
179
181
|
--#{$progress-stepper}__step-description--MarginTop: var(--#{$pf-global}--spacer--xs);
|
|
180
182
|
--#{$progress-stepper}__step-description--FontSize: var(--#{$pf-global}--FontSize--sm);
|
|
181
183
|
--#{$progress-stepper}__step-description--Color: var(--#{$pf-global}--Color--200);
|
|
182
|
-
--#{$progress-stepper}__step-description--TextAlign:
|
|
184
|
+
--#{$progress-stepper}__step-description--TextAlign: start;
|
|
183
185
|
|
|
184
186
|
// Vertical by default
|
|
185
187
|
@include pf-v5-c-progress-stepper--m-vertical;
|
|
@@ -216,7 +218,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
216
218
|
}
|
|
217
219
|
|
|
218
220
|
.#{$progress-stepper}__step:not(:last-of-type) > .#{$progress-stepper}__step-connector::before {
|
|
219
|
-
|
|
221
|
+
inset-inline-start: var(--#{$progress-stepper}--m-center__step-connector--before--Left);
|
|
220
222
|
}
|
|
221
223
|
|
|
222
224
|
// If not compact variant, swap borders from connector to main
|
|
@@ -240,8 +242,9 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
240
242
|
--#{$progress-stepper}__step--m-current__step-title--FontWeight: var(--#{$progress-stepper}--m-compact__step-title--FontWeight);
|
|
241
243
|
--#{$progress-stepper}__pficon--MarginTop: var(--#{$progress-stepper}--m-compact__pficon--MarginTop);
|
|
242
244
|
--#{$progress-stepper}__fa-exclamation-triangle--MarginTop: var(--#{$progress-stepper}--m-compact__fa-exclamation-triangle--MarginTop);
|
|
243
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
245
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginTop: var(--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginTop);
|
|
244
246
|
--#{$progress-stepper}--m-vertical__step-main--MarginRight: var(--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginRight);
|
|
247
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginLeft: var(--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginLeft);
|
|
245
248
|
|
|
246
249
|
display: inline-grid;
|
|
247
250
|
grid-template-columns: var(--#{$progress-stepper}--m-compact--GridTemplateColumns);
|
|
@@ -250,11 +253,11 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
250
253
|
.#{$progress-stepper}__step-connector {
|
|
251
254
|
grid-row: var(--#{$progress-stepper}--m-compact__step-connector--GridRow);
|
|
252
255
|
min-width: var(--#{$progress-stepper}--m-compact__step-connector--MinWidth);
|
|
253
|
-
padding-
|
|
256
|
+
padding-block-end: var(--#{$progress-stepper}--m-compact__step-connector--PaddingBottom);
|
|
254
257
|
}
|
|
255
258
|
|
|
256
259
|
.#{$progress-stepper}__step-main {
|
|
257
|
-
margin-
|
|
260
|
+
margin-block-end: var(--#{$progress-stepper}--m-compact__step-main--MarginBottom);
|
|
258
261
|
}
|
|
259
262
|
|
|
260
263
|
.#{$progress-stepper}__step:not(.pf-m-current) .#{$progress-stepper}__step-main {
|
|
@@ -327,13 +330,13 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
327
330
|
|
|
328
331
|
.#{$progress-stepper}__step:not(:last-of-type) > &::before {
|
|
329
332
|
position: absolute;
|
|
330
|
-
|
|
331
|
-
|
|
333
|
+
inset-block-start: var(--#{$progress-stepper}__step-connector--before--Top); // half the height
|
|
334
|
+
inset-inline-start: var(--#{$progress-stepper}__step-connector--before--Left);
|
|
332
335
|
width: var(--#{$progress-stepper}__step-connector--before--Width);
|
|
333
336
|
height: var(--#{$progress-stepper}__step-connector--before--Height);
|
|
334
337
|
content: "";
|
|
335
|
-
border-
|
|
336
|
-
border-
|
|
338
|
+
border-block-end: var(--#{$progress-stepper}__step-connector--before--BorderBottomWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderBottomColor);
|
|
339
|
+
border-inline-end: var(--#{$progress-stepper}__step-connector--before--BorderRightWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderRightColor);
|
|
337
340
|
transform: var(--#{$progress-stepper}__step-connector--before--Transform);
|
|
338
341
|
}
|
|
339
342
|
}
|
|
@@ -355,12 +358,12 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
355
358
|
// Align pficons with the font awesome icons
|
|
356
359
|
// stylelint-disable
|
|
357
360
|
.pf-v5-pficon {
|
|
358
|
-
margin-
|
|
361
|
+
margin-block-start: var(--#{$progress-stepper}__pficon--MarginTop);
|
|
359
362
|
}
|
|
360
363
|
|
|
361
364
|
// Push the triangle up to fit inside the circle
|
|
362
365
|
.fa-exclamation-triangle {
|
|
363
|
-
margin-
|
|
366
|
+
margin-block-start: var(--#{$progress-stepper}__fa-exclamation-triangle--MarginTop);
|
|
364
367
|
}
|
|
365
368
|
// stylelint-enable
|
|
366
369
|
}
|
|
@@ -368,18 +371,21 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
368
371
|
// Step main
|
|
369
372
|
.#{$progress-stepper}__step-main {
|
|
370
373
|
min-width: 0;
|
|
371
|
-
margin: var(--#{$progress-stepper}__step-main--MarginTop)
|
|
374
|
+
margin-block-start: var(--#{$progress-stepper}__step-main--MarginTop);
|
|
375
|
+
margin-block-end: var(--#{$progress-stepper}__step-main--MarginBottom);
|
|
376
|
+
margin-inline-start: var(--#{$progress-stepper}__step-main--MarginLeft);
|
|
377
|
+
margin-inline-end: var(--#{$progress-stepper}__step-main--MarginRight);
|
|
372
378
|
text-align: var(--#{$progress-stepper}--step-main--TextAlign, auto);
|
|
373
379
|
overflow-wrap: anywhere;
|
|
374
380
|
|
|
375
381
|
// Draw a new border for vertical alignment using step main
|
|
376
382
|
.#{$progress-stepper}__step:not(:last-of-type) > &::before {
|
|
377
383
|
position: absolute;
|
|
378
|
-
|
|
379
|
-
|
|
384
|
+
inset-block-start: calc(100% + var(--#{$progress-stepper}__step-main--MarginTop));
|
|
385
|
+
inset-inline-start: calc(50% - calc(var(--#{$progress-stepper}__step-connector--before--BorderRightWidth) / 2));
|
|
380
386
|
width: auto;
|
|
381
387
|
height: calc(var(--#{$progress-stepper}__step-main--MarginTop) + var(--#{$progress-stepper}__step-main--MarginBottom));
|
|
382
|
-
border-
|
|
388
|
+
border-inline-end: var(--#{$progress-stepper}__step-connector--before--BorderRightWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderRightColor);
|
|
383
389
|
}
|
|
384
390
|
}
|
|
385
391
|
|
|
@@ -389,7 +395,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
389
395
|
font-weight: var(--#{$progress-stepper}__step-title--FontWeight);
|
|
390
396
|
color: var(--#{$progress-stepper}__step-title--Color);
|
|
391
397
|
text-align: var(--#{$progress-stepper}__step-title--TextAlign);
|
|
392
|
-
background:none;
|
|
398
|
+
background: none;
|
|
393
399
|
border: 0;
|
|
394
400
|
|
|
395
401
|
&.pf-m-help-text {
|
|
@@ -414,7 +420,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
414
420
|
|
|
415
421
|
// Step description
|
|
416
422
|
.#{$progress-stepper}__step-description {
|
|
417
|
-
margin-
|
|
423
|
+
margin-block-start: var(--#{$progress-stepper}__step-description--MarginTop);
|
|
418
424
|
font-size: var(--#{$progress-stepper}__step-description--FontSize);
|
|
419
425
|
color: var(--#{$progress-stepper}__step-description--Color);
|
|
420
426
|
text-align: var(--#{$progress-stepper}__step-description--TextAlign);
|
|
@@ -11,11 +11,10 @@
|
|
|
11
11
|
--pf-v5-c-radio__description--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
12
12
|
--pf-v5-c-radio__description--Color: var(--pf-v5-global--Color--200);
|
|
13
13
|
--pf-v5-c-radio__body--MarginTop: var(--pf-v5-global--spacer--sm);
|
|
14
|
-
display:
|
|
14
|
+
display: grid;
|
|
15
15
|
grid-template-columns: auto 1fr;
|
|
16
16
|
grid-gap: var(--pf-v5-c-radio--GridGap);
|
|
17
17
|
align-items: baseline;
|
|
18
|
-
width: 100%;
|
|
19
18
|
}
|
|
20
19
|
.pf-v5-c-radio.pf-m-standalone {
|
|
21
20
|
--pf-v5-c-radio--GridGap: 0;
|
|
@@ -34,10 +33,10 @@
|
|
|
34
33
|
-moz-transform: translateY(var(--pf-v5-c-radio__input--TranslateY--moz));
|
|
35
34
|
}
|
|
36
35
|
.pf-v5-c-radio__input:first-child {
|
|
37
|
-
margin-
|
|
36
|
+
margin-inline-start: var(--pf-v5-c-radio__input--first-child--MarginLeft);
|
|
38
37
|
}
|
|
39
38
|
.pf-v5-c-radio__input:last-child {
|
|
40
|
-
margin-
|
|
39
|
+
margin-inline-end: var(--pf-v5-c-radio__input--last-child--MarginRight);
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
.pf-v5-c-radio__description {
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
|
|
49
48
|
.pf-v5-c-radio__body {
|
|
50
49
|
grid-column: 2;
|
|
51
|
-
margin-
|
|
50
|
+
margin-block-start: var(--pf-v5-c-radio__body--MarginTop);
|
|
52
51
|
}
|
|
53
52
|
|
|
54
53
|
.pf-v5-c-radio__label,
|