@patternfly/react-styles 5.1.0 → 5.1.1-prerelease.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -2
- package/css/components/AboutModalBox/about-modal-box.css +20 -13
- package/css/components/Accordion/accordion.css +33 -20
- package/css/components/Accordion/accordion.d.ts +3 -1
- package/css/components/Accordion/accordion.js +3 -1
- package/css/components/Accordion/accordion.mjs +3 -1
- package/css/components/ActionList/action-list.css +2 -2
- package/css/components/Alert/alert-group.css +7 -4
- package/css/components/Alert/alert.css +19 -13
- package/css/components/Alert/alert.d.ts +3 -1
- package/css/components/Alert/alert.js +3 -1
- package/css/components/Alert/alert.mjs +3 -1
- package/css/components/AppLauncher/app-launcher.css +32 -23
- package/css/components/BackToTop/back-to-top.css +2 -2
- package/css/components/Backdrop/backdrop.css +2 -2
- package/css/components/BackgroundImage/background-image.css +2 -2
- package/css/components/Badge/badge.css +2 -2
- package/css/components/Banner/banner.css +5 -2
- package/css/components/Breadcrumb/breadcrumb.css +9 -3
- package/css/components/Breadcrumb/breadcrumb.d.ts +3 -1
- package/css/components/Breadcrumb/breadcrumb.js +3 -1
- package/css/components/Breadcrumb/breadcrumb.mjs +3 -1
- package/css/components/Button/button.css +23 -17
- package/css/components/CalendarMonth/calendar-month.css +25 -15
- package/css/components/CalendarMonth/calendar-month.d.ts +3 -1
- package/css/components/CalendarMonth/calendar-month.js +3 -1
- package/css/components/CalendarMonth/calendar-month.mjs +3 -1
- package/css/components/Card/card.css +21 -16
- package/css/components/Check/check.css +2 -2
- package/css/components/Chip/chip-group.css +6 -6
- package/css/components/Chip/chip.css +16 -9
- package/css/components/Chip/chip.d.ts +1 -0
- package/css/components/Chip/chip.js +1 -0
- package/css/components/Chip/chip.mjs +1 -0
- package/css/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/css/components/ClipboardCopy/clipboard-copy.d.ts +3 -1
- package/css/components/ClipboardCopy/clipboard-copy.js +3 -1
- package/css/components/ClipboardCopy/clipboard-copy.mjs +3 -1
- package/css/components/CodeBlock/code-block.css +6 -3
- package/css/components/CodeEditor/code-editor.css +31 -22
- package/css/components/Content/content.css +33 -30
- package/css/components/ContextSelector/context-selector.css +41 -26
- package/css/components/DataList/data-list-grid.css +21 -49
- package/css/components/DataList/data-list.css +66 -84
- package/css/components/DatePicker/date-picker.css +8 -8
- package/css/components/DescriptionList/description-list.css +8 -5
- package/css/components/DragDrop/drag-drop.css +8 -8
- package/css/components/Drawer/drawer.css +75 -60
- package/css/components/Dropdown/dropdown.css +75 -66
- package/css/components/DualListSelector/dual-list-selector.css +29 -15
- package/css/components/DualListSelector/dual-list-selector.d.ts +4 -1
- package/css/components/DualListSelector/dual-list-selector.js +4 -1
- package/css/components/DualListSelector/dual-list-selector.mjs +4 -1
- package/css/components/EmptyState/empty-state.css +7 -4
- package/css/components/ExpandableSection/expandable-section.css +17 -10
- package/css/components/ExpandableSection/expandable-section.d.ts +3 -1
- package/css/components/ExpandableSection/expandable-section.js +3 -1
- package/css/components/ExpandableSection/expandable-section.mjs +3 -1
- package/css/components/FileUpload/file-upload.css +9 -15
- package/css/components/Form/form.css +50 -50
- package/css/components/FormControl/form-control.css +21 -11
- package/css/components/HelperText/helper-text.css +1 -1
- package/css/components/Hint/hint.css +9 -6
- package/css/components/Icon/icon.css +1 -1
- package/css/components/InlineEdit/inline-edit.css +4 -4
- package/css/components/InputGroup/input-group.css +12 -6
- package/css/components/JumpLinks/jump-links.css +24 -24
- package/css/components/Label/label-group.css +13 -10
- package/css/components/Label/label.css +9 -9
- package/css/components/List/list.css +9 -9
- package/css/components/LogViewer/log-viewer.css +14 -14
- package/css/components/Login/login.css +36 -27
- package/css/components/Masthead/masthead.css +19 -22
- package/css/components/Menu/menu.css +80 -66
- package/css/components/Menu/menu.d.ts +3 -1
- package/css/components/Menu/menu.js +3 -1
- package/css/components/Menu/menu.mjs +3 -1
- package/css/components/MenuToggle/menu-toggle.css +41 -29
- package/css/components/ModalBox/modal-box.css +19 -19
- package/css/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/css/components/Nav/nav.css +120 -93
- package/css/components/Nav/nav.d.ts +3 -1
- package/css/components/Nav/nav.js +3 -1
- package/css/components/Nav/nav.mjs +3 -1
- package/css/components/NotificationBadge/notification-badge.css +13 -7
- package/css/components/NotificationDrawer/notification-drawer.css +32 -19
- package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -1
- package/css/components/NotificationDrawer/notification-drawer.js +3 -1
- package/css/components/NotificationDrawer/notification-drawer.mjs +3 -1
- package/css/components/NumberInput/number-input.css +3 -3
- package/css/components/OptionsMenu/options-menu.css +43 -31
- package/css/components/OverflowMenu/overflow-menu.css +2 -2
- package/css/components/Page/page.css +123 -65
- package/css/components/Page/page.d.ts +3 -1
- package/css/components/Page/page.js +3 -1
- package/css/components/Page/page.mjs +3 -1
- package/css/components/Pagination/pagination.css +28 -18
- package/css/components/Pagination/pagination.d.ts +3 -1
- package/css/components/Pagination/pagination.js +3 -1
- package/css/components/Pagination/pagination.mjs +3 -1
- package/css/components/Panel/panel.css +13 -7
- package/css/components/Popover/popover.css +24 -21
- package/css/components/Progress/progress.css +7 -7
- package/css/components/ProgressStepper/progress-stepper.css +26 -20
- package/css/components/Radio/radio.css +4 -5
- package/css/components/Select/select.css +56 -47
- package/css/components/Sidebar/sidebar.css +11 -5
- package/css/components/SimpleList/simple-list.css +10 -4
- package/css/components/Skeleton/skeleton.css +2 -5
- package/css/components/SkipToContent/skip-to-content.css +3 -3
- package/css/components/Slider/slider.css +46 -26
- package/css/components/Slider/slider.d.ts +3 -1
- package/css/components/Slider/slider.js +3 -1
- package/css/components/Slider/slider.mjs +3 -1
- package/css/components/Switch/switch.css +9 -5
- package/css/components/Switch/switch.d.ts +3 -1
- package/css/components/Switch/switch.js +3 -1
- package/css/components/Switch/switch.mjs +3 -1
- package/css/components/TabContent/tab-content.css +4 -1
- package/css/components/Table/table-grid.css +256 -219
- package/css/components/Table/table-scrollable.css +2 -2
- package/css/components/Table/table-tree-view.css +107 -104
- package/css/components/Table/table.css +87 -69
- package/css/components/Tabs/tabs.css +66 -48
- package/css/components/TextInputGroup/text-input-group.css +15 -15
- package/css/components/Tile/tile.css +10 -10
- package/css/components/ToggleGroup/toggle-group.css +14 -11
- package/css/components/Toolbar/toolbar.css +44 -41
- package/css/components/Tooltip/tooltip.css +19 -16
- package/css/components/TreeView/tree-view.css +42 -27
- package/css/components/Wizard/wizard.css +57 -36
- package/css/components/Wizard/wizard.d.ts +3 -1
- package/css/components/Wizard/wizard.js +3 -1
- package/css/components/Wizard/wizard.mjs +3 -1
- package/css/docs/components/Button/examples/Button.css +2 -2
- package/css/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/css/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/css/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/css/docs/components/ModalBox/examples/ModalBox.css +2 -2
- package/css/docs/components/Nav/examples/Navigation.css +3 -26
- package/css/docs/components/Nav/examples/Navigation.d.ts +1 -1
- package/css/docs/components/Nav/examples/Navigation.js +1 -1
- package/css/docs/components/Nav/examples/Navigation.mjs +1 -1
- package/css/docs/components/Popover/examples/Popover.css +2 -2
- package/css/docs/components/Select/deprecated/Select.css +3 -3
- package/css/docs/components/Table/examples/Table.css +2 -2
- package/css/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/css/docs/components/Tile/examples/Tile.css +1 -1
- package/css/docs/demos/Card/examples/Card.css +3 -3
- package/css/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/css/layouts/Flex/flex.css +115 -43
- package/css/utilities/Accessibility/accessibility.css +12 -12
- package/css/utilities/Spacing/spacing.css +720 -960
- package/package.json +4 -8
@@ -80,7 +80,10 @@
|
|
80
80
|
display: flex;
|
81
81
|
flex-shrink: 0;
|
82
82
|
align-items: baseline;
|
83
|
-
padding: var(--pf-v5-c-notification-drawer__header--PaddingTop)
|
83
|
+
padding-block-start: var(--pf-v5-c-notification-drawer__header--PaddingTop);
|
84
|
+
padding-block-end: var(--pf-v5-c-notification-drawer__header--PaddingBottom);
|
85
|
+
padding-inline-start: var(--pf-v5-c-notification-drawer__header--PaddingLeft);
|
86
|
+
padding-inline-end: var(--pf-v5-c-notification-drawer__header--PaddingRight);
|
84
87
|
background-color: var(--pf-v5-c-notification-drawer__header--BackgroundColor);
|
85
88
|
box-shadow: var(--pf-v5-c-notification-drawer__header--BoxShadow);
|
86
89
|
}
|
@@ -90,13 +93,13 @@
|
|
90
93
|
}
|
91
94
|
|
92
95
|
.pf-v5-c-notification-drawer__header-status {
|
93
|
-
margin-
|
96
|
+
margin-inline-start: var(--pf-v5-c-notification-drawer__header-status--MarginLeft);
|
94
97
|
}
|
95
98
|
|
96
99
|
.pf-v5-c-notification-drawer__header-action {
|
97
100
|
display: flex;
|
98
101
|
align-items: center;
|
99
|
-
margin-
|
102
|
+
margin-inline-start: auto;
|
100
103
|
}
|
101
104
|
|
102
105
|
.pf-v5-c-notification-drawer__body {
|
@@ -109,9 +112,12 @@
|
|
109
112
|
position: relative;
|
110
113
|
display: grid;
|
111
114
|
grid-template-columns: 1fr auto;
|
112
|
-
padding: var(--pf-v5-c-notification-drawer__list-item--PaddingTop)
|
115
|
+
padding-block-start: var(--pf-v5-c-notification-drawer__list-item--PaddingTop);
|
116
|
+
padding-block-end: var(--pf-v5-c-notification-drawer__list-item--PaddingBottom);
|
117
|
+
padding-inline-start: var(--pf-v5-c-notification-drawer__list-item--PaddingLeft);
|
118
|
+
padding-inline-end: var(--pf-v5-c-notification-drawer__list-item--PaddingRight);
|
113
119
|
background-color: var(--pf-v5-c-notification-drawer__list-item--BackgroundColor);
|
114
|
-
border-
|
120
|
+
border-block-end: var(--pf-v5-c-notification-drawer__list-item--BorderBottomWidth) solid var(--pf-v5-c-notification-drawer__list-item--BorderBottomColor);
|
115
121
|
outline-offset: var(--pf-v5-c-notification-drawer__list-item--OutlineOffset);
|
116
122
|
box-shadow: var(--pf-v5-c-notification-drawer__list-item--BoxShadow);
|
117
123
|
}
|
@@ -124,8 +130,8 @@
|
|
124
130
|
}
|
125
131
|
.pf-v5-c-notification-drawer__list-item::before {
|
126
132
|
position: absolute;
|
127
|
-
|
128
|
-
|
133
|
+
inset-block-start: var(--pf-v5-c-notification-drawer__list-item--before--Top);
|
134
|
+
inset-block-end: var(--pf-v5-c-notification-drawer__list-item--before--Bottom);
|
129
135
|
width: var(--pf-v5-c-notification-drawer__list-item--before--Width);
|
130
136
|
content: "";
|
131
137
|
background-color: var(--pf-v5-c-notification-drawer__list-item--before--BackgroundColor);
|
@@ -172,11 +178,11 @@
|
|
172
178
|
grid-row: 1/2;
|
173
179
|
grid-column: 1/2;
|
174
180
|
align-items: baseline;
|
175
|
-
margin-
|
181
|
+
margin-block-end: var(--pf-v5-c-notification-drawer__list-item-header--MarginBottom);
|
176
182
|
}
|
177
183
|
|
178
184
|
.pf-v5-c-notification-drawer__list-item-header-icon {
|
179
|
-
margin-
|
185
|
+
margin-inline-end: var(--pf-v5-c-notification-drawer__list-item-header-icon--MarginRight);
|
180
186
|
color: var(--pf-v5-c-notification-drawer__list-item-header-icon--Color);
|
181
187
|
}
|
182
188
|
|
@@ -199,7 +205,7 @@
|
|
199
205
|
.pf-v5-c-notification-drawer__list-item-description {
|
200
206
|
grid-row: 2/3;
|
201
207
|
grid-column: 1/2;
|
202
|
-
margin-
|
208
|
+
margin-block-end: var(--pf-v5-c-notification-drawer__list-item-description--MarginBottom);
|
203
209
|
word-break: break-word;
|
204
210
|
}
|
205
211
|
|
@@ -219,7 +225,7 @@
|
|
219
225
|
min-height: var(--pf-v5-c-notification-drawer__group--m-expanded--MinHeight);
|
220
226
|
}
|
221
227
|
.pf-v5-c-notification-drawer__group.pf-m-expanded + .pf-v5-c-notification-drawer__group {
|
222
|
-
border-
|
228
|
+
border-block-start: var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopWidth) solid var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopColor);
|
223
229
|
}
|
224
230
|
.pf-v5-c-notification-drawer__group .pf-v5-c-notification-drawer__list-item:last-child {
|
225
231
|
--pf-v5-c-notification-drawer__list-item--BorderBottomWidth: 0;
|
@@ -230,10 +236,13 @@
|
|
230
236
|
display: flex;
|
231
237
|
align-items: baseline;
|
232
238
|
width: 100%;
|
233
|
-
padding: var(--pf-v5-c-notification-drawer__group-toggle--PaddingTop)
|
239
|
+
padding-block-start: var(--pf-v5-c-notification-drawer__group-toggle--PaddingTop);
|
240
|
+
padding-block-end: var(--pf-v5-c-notification-drawer__group-toggle--PaddingBottom);
|
241
|
+
padding-inline-start: var(--pf-v5-c-notification-drawer__group-toggle--PaddingLeft);
|
242
|
+
padding-inline-end: var(--pf-v5-c-notification-drawer__group-toggle--PaddingRight);
|
234
243
|
background-color: var(--pf-v5-c-notification-drawer__group-toggle--BackgroundColor);
|
235
|
-
border: solid var(--pf-v5-c-notification-drawer__group-toggle--BorderColor);
|
236
|
-
border-width:
|
244
|
+
border: 0 solid var(--pf-v5-c-notification-drawer__group-toggle--BorderColor);
|
245
|
+
border-block-end-width: var(--pf-v5-c-notification-drawer__group-toggle--BorderBottomWidth);
|
237
246
|
outline-offset: var(--pf-v5-c-notification-drawer__group-toggle--OutlineOffset);
|
238
247
|
}
|
239
248
|
|
@@ -243,21 +252,25 @@
|
|
243
252
|
-webkit-line-clamp: var(--pf-v5-c-notification-drawer__group-toggle-title--max-lines);
|
244
253
|
overflow: hidden;
|
245
254
|
flex: 1;
|
246
|
-
margin-
|
247
|
-
text-align:
|
255
|
+
margin-inline-end: var(--pf-v5-c-notification-drawer__group-toggle-title--MarginRight);
|
256
|
+
text-align: start;
|
248
257
|
word-break: break-word;
|
249
258
|
}
|
250
259
|
|
251
260
|
.pf-v5-c-notification-drawer__group-toggle-count {
|
252
|
-
margin-
|
253
|
-
margin-
|
261
|
+
margin-inline-start: auto;
|
262
|
+
margin-inline-end: var(--pf-v5-c-notification-drawer__group-toggle-count--MarginRight);
|
254
263
|
}
|
255
264
|
|
256
265
|
.pf-v5-c-notification-drawer__group-toggle-icon {
|
257
|
-
margin-
|
266
|
+
margin-inline-end: var(--pf-v5-c-notification-drawer__group-toggle-icon--MarginRight);
|
258
267
|
color: var(--pf-v5-c-notification-drawer__group-toggle-icon--Color);
|
259
268
|
transition: var(--pf-v5-c-notification-drawer__group-toggle-icon--Transition);
|
260
269
|
}
|
270
|
+
:where(.ws-dir-rtl, .pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-notification-drawer__group-toggle-icon {
|
271
|
+
scale: -1 1;
|
272
|
+
}
|
273
|
+
|
261
274
|
.pf-v5-c-notification-drawer__group.pf-m-expanded .pf-v5-c-notification-drawer__group-toggle-icon {
|
262
275
|
transform: rotate(var(--pf-v5-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
|
263
276
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import './notification-drawer.css';
|
2
2
|
declare const _default: {
|
3
|
+
"dirRtl": "pf-v5-m-dir-rtl",
|
3
4
|
"modifiers": {
|
4
5
|
"read": "pf-m-read",
|
5
6
|
"info": "pf-m-info",
|
@@ -30,6 +31,7 @@ declare const _default: {
|
|
30
31
|
"notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
|
31
32
|
"notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
|
32
33
|
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp",
|
33
|
-
"themeDark": "pf-v5-theme-dark"
|
34
|
+
"themeDark": "pf-v5-theme-dark",
|
35
|
+
"wsDirRtl": "ws-dir-rtl"
|
34
36
|
};
|
35
37
|
export default _default;
|
@@ -2,6 +2,7 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./notification-drawer.css');
|
4
4
|
exports.default = {
|
5
|
+
"dirRtl": "pf-v5-m-dir-rtl",
|
5
6
|
"modifiers": {
|
6
7
|
"read": "pf-m-read",
|
7
8
|
"info": "pf-m-info",
|
@@ -32,5 +33,6 @@ exports.default = {
|
|
32
33
|
"notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
|
33
34
|
"notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
|
34
35
|
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp",
|
35
|
-
"themeDark": "pf-v5-theme-dark"
|
36
|
+
"themeDark": "pf-v5-theme-dark",
|
37
|
+
"wsDirRtl": "ws-dir-rtl"
|
36
38
|
};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import './notification-drawer.css';
|
2
2
|
export default {
|
3
|
+
"dirRtl": "pf-v5-m-dir-rtl",
|
3
4
|
"modifiers": {
|
4
5
|
"read": "pf-m-read",
|
5
6
|
"info": "pf-m-info",
|
@@ -30,5 +31,6 @@ export default {
|
|
30
31
|
"notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
|
31
32
|
"notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
|
32
33
|
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp",
|
33
|
-
"themeDark": "pf-v5-theme-dark"
|
34
|
+
"themeDark": "pf-v5-theme-dark",
|
35
|
+
"wsDirRtl": "ws-dir-rtl"
|
34
36
|
};
|
@@ -2,8 +2,8 @@
|
|
2
2
|
appearance: textfield;
|
3
3
|
}
|
4
4
|
.pf-v5-c-number-input .pf-v5-c-form-control > :is(input)::-webkit-inner-spin-button, .pf-v5-c-number-input .pf-v5-c-form-control > :is(input)::-webkit-outer-spin-button {
|
5
|
-
appearance: none;
|
6
5
|
margin: 0;
|
6
|
+
appearance: none;
|
7
7
|
}
|
8
8
|
|
9
9
|
.pf-v5-c-number-input {
|
@@ -29,12 +29,12 @@
|
|
29
29
|
width: var(--pf-v5-c-number-input--c-form-control--Width);
|
30
30
|
}
|
31
31
|
.pf-v5-c-number-input .pf-v5-c-form-control > :is(input) {
|
32
|
-
text-align:
|
32
|
+
text-align: end;
|
33
33
|
}
|
34
34
|
|
35
35
|
.pf-v5-c-input-group + .pf-v5-c-number-input__unit,
|
36
36
|
.pf-v5-c-number-input__unit + .pf-v5-c-input-group {
|
37
|
-
margin-
|
37
|
+
margin-inline-start: var(--pf-v5-c-number-input__unit--c-input-group--MarginLeft);
|
38
38
|
}
|
39
39
|
|
40
40
|
.pf-v5-c-number-input__icon {
|
@@ -71,8 +71,8 @@
|
|
71
71
|
max-width: 100%;
|
72
72
|
}
|
73
73
|
.pf-v5-c-options-menu .pf-v5-c-divider {
|
74
|
-
margin-
|
75
|
-
margin-
|
74
|
+
margin-block-start: var(--pf-v5-c-options-menu--c-divider--MarginTop);
|
75
|
+
margin-block-end: var(--pf-v5-c-options-menu--c-divider--MarginBottom);
|
76
76
|
}
|
77
77
|
.pf-v5-c-options-menu .pf-v5-c-divider:last-child {
|
78
78
|
--pf-v5-c-options-menu--c-divider--MarginBottom: 0;
|
@@ -81,13 +81,16 @@
|
|
81
81
|
.pf-v5-c-options-menu__toggle:not(.pf-m-plain)::before,
|
82
82
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button::before {
|
83
83
|
position: absolute;
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
84
|
+
inset-block-start: 0;
|
85
|
+
inset-block-end: 0;
|
86
|
+
inset-inline-start: 0;
|
87
|
+
inset-inline-end: 0;
|
88
88
|
content: "";
|
89
89
|
border: var(--pf-v5-c-options-menu__toggle--BorderWidth) solid;
|
90
|
-
border-color: var(--pf-v5-c-options-menu__toggle--BorderTopColor)
|
90
|
+
border-block-start-color: var(--pf-v5-c-options-menu__toggle--BorderTopColor);
|
91
|
+
border-block-end-color: var(--pf-v5-c-options-menu__toggle--BorderBottomColor);
|
92
|
+
border-inline-start-color: var(--pf-v5-c-options-menu__toggle--BorderLeftColor);
|
93
|
+
border-inline-end-color: var(--pf-v5-c-options-menu__toggle--BorderRightColor);
|
91
94
|
}
|
92
95
|
.pf-v5-c-options-menu__toggle:not(.pf-m-plain):hover::before,
|
93
96
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button:hover::before {
|
@@ -97,12 +100,12 @@
|
|
97
100
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button:active::before,
|
98
101
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button.pf-m-active::before {
|
99
102
|
--pf-v5-c-options-menu__toggle--BorderBottomColor: var(--pf-v5-c-options-menu__toggle--active--BorderBottomColor);
|
100
|
-
border-
|
103
|
+
border-block-end-width: var(--pf-v5-c-options-menu__toggle--active--BorderBottomWidth);
|
101
104
|
}
|
102
105
|
.pf-v5-c-options-menu__toggle:not(.pf-m-plain):focus::before,
|
103
106
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button:focus::before {
|
104
107
|
--pf-v5-c-options-menu__toggle--BorderBottomColor: var(--pf-v5-c-options-menu__toggle--focus--BorderBottomColor);
|
105
|
-
border-
|
108
|
+
border-block-end-width: var(--pf-v5-c-options-menu__toggle--focus--BorderBottomWidth);
|
106
109
|
}
|
107
110
|
|
108
111
|
.pf-v5-c-options-menu__toggle {
|
@@ -112,14 +115,17 @@
|
|
112
115
|
align-items: center;
|
113
116
|
min-width: var(--pf-v5-c-options-menu__toggle--MinWidth);
|
114
117
|
max-width: 100%;
|
115
|
-
padding: var(--pf-v5-c-options-menu__toggle--PaddingTop)
|
118
|
+
padding-block-start: var(--pf-v5-c-options-menu__toggle--PaddingTop);
|
119
|
+
padding-block-end: var(--pf-v5-c-options-menu__toggle--PaddingBottom);
|
120
|
+
padding-inline-start: var(--pf-v5-c-options-menu__toggle--PaddingLeft);
|
121
|
+
padding-inline-end: var(--pf-v5-c-options-menu__toggle--PaddingRight);
|
116
122
|
color: var(--pf-v5-c-options-menu__toggle--Color);
|
117
123
|
background-color: var(--pf-v5-c-options-menu__toggle--BackgroundColor);
|
118
124
|
border: none;
|
119
125
|
}
|
120
126
|
.pf-v5-c-options-menu.pf-m-expanded > .pf-v5-c-options-menu__toggle::before {
|
121
127
|
--pf-v5-c-options-menu__toggle--BorderBottomColor: var(--pf-v5-c-options-menu__toggle--expanded--BorderBottomColor);
|
122
|
-
border-
|
128
|
+
border-block-end-width: var(--pf-v5-c-options-menu__toggle--expanded--BorderBottomWidth);
|
123
129
|
}
|
124
130
|
.pf-v5-c-options-menu__toggle.pf-m-plain {
|
125
131
|
--pf-v5-c-options-menu__toggle-icon--Color: var(--pf-v5-c-options-menu--m-plain__toggle-icon--Color);
|
@@ -152,7 +158,10 @@
|
|
152
158
|
}
|
153
159
|
|
154
160
|
.pf-v5-c-options-menu__toggle-button {
|
155
|
-
padding: var(--pf-v5-c-options-menu__toggle-button--PaddingTop)
|
161
|
+
padding-block-start: var(--pf-v5-c-options-menu__toggle-button--PaddingTop);
|
162
|
+
padding-block-end: var(--pf-v5-c-options-menu__toggle-button--PaddingBottom);
|
163
|
+
padding-inline-start: var(--pf-v5-c-options-menu__toggle-button--PaddingLeft);
|
164
|
+
padding-inline-end: var(--pf-v5-c-options-menu__toggle-button--PaddingRight);
|
156
165
|
background-color: var(--pf-v5-c-options-menu__toggle-button--BackgroundColor);
|
157
166
|
border: 0;
|
158
167
|
}
|
@@ -162,7 +171,7 @@
|
|
162
171
|
text-overflow: ellipsis;
|
163
172
|
white-space: nowrap;
|
164
173
|
flex: 1 1 auto;
|
165
|
-
text-align:
|
174
|
+
text-align: start;
|
166
175
|
}
|
167
176
|
|
168
177
|
.pf-v5-c-options-menu__toggle-icon,
|
@@ -171,8 +180,8 @@
|
|
171
180
|
}
|
172
181
|
|
173
182
|
.pf-v5-c-options-menu__toggle-icon {
|
174
|
-
padding-
|
175
|
-
padding-
|
183
|
+
padding-inline-start: var(--pf-v5-c-options-menu__toggle-icon--PaddingLeft);
|
184
|
+
padding-inline-end: var(--pf-v5-c-options-menu__toggle-icon--PaddingRight);
|
176
185
|
}
|
177
186
|
.pf-v5-c-options-menu.pf-m-top.pf-m-expanded .pf-v5-c-options-menu__toggle-icon {
|
178
187
|
transform: rotate(var(--pf-v5-c-options-menu--m-top--m-expanded__toggle-icon--Rotate));
|
@@ -180,17 +189,17 @@
|
|
180
189
|
|
181
190
|
.pf-v5-c-options-menu__menu {
|
182
191
|
position: absolute;
|
183
|
-
|
192
|
+
inset-block-start: var(--pf-v5-c-options-menu__menu--Top);
|
184
193
|
z-index: var(--pf-v5-c-options-menu__menu--ZIndex);
|
185
194
|
min-width: 100%;
|
186
|
-
padding-
|
187
|
-
padding-
|
195
|
+
padding-block-start: var(--pf-v5-c-options-menu__menu--PaddingTop);
|
196
|
+
padding-block-end: var(--pf-v5-c-options-menu__menu--PaddingBottom);
|
188
197
|
background-color: var(--pf-v5-c-options-menu__menu--BackgroundColor);
|
189
198
|
background-clip: padding-box;
|
190
199
|
box-shadow: var(--pf-v5-c-options-menu__menu--BoxShadow);
|
191
200
|
}
|
192
201
|
.pf-v5-c-options-menu__menu.pf-m-align-right {
|
193
|
-
|
202
|
+
inset-inline-end: 0;
|
194
203
|
}
|
195
204
|
.pf-v5-c-options-menu.pf-m-top .pf-v5-c-options-menu__menu {
|
196
205
|
--pf-v5-c-options-menu__menu--Top: var(--pf-v5-c-options-menu--m-top__menu--Top);
|
@@ -199,10 +208,10 @@
|
|
199
208
|
.pf-v5-c-options-menu__menu.pf-m-static {
|
200
209
|
--pf-v5-c-options-menu--m-top__menu--TranslateY: 0;
|
201
210
|
position: static;
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
211
|
+
inset-block-start: auto;
|
212
|
+
inset-block-end: auto;
|
213
|
+
inset-inline-start: auto;
|
214
|
+
inset-inline-end: auto;
|
206
215
|
z-index: auto;
|
207
216
|
min-width: min-content;
|
208
217
|
}
|
@@ -211,7 +220,10 @@
|
|
211
220
|
display: flex;
|
212
221
|
align-items: baseline;
|
213
222
|
width: 100%;
|
214
|
-
padding: var(--pf-v5-c-options-menu__menu-item--PaddingTop)
|
223
|
+
padding-block-start: var(--pf-v5-c-options-menu__menu-item--PaddingTop);
|
224
|
+
padding-block-end: var(--pf-v5-c-options-menu__menu-item--PaddingBottom);
|
225
|
+
padding-inline-start: var(--pf-v5-c-options-menu__menu-item--PaddingLeft);
|
226
|
+
padding-inline-end: var(--pf-v5-c-options-menu__menu-item--PaddingRight);
|
215
227
|
font-size: var(--pf-v5-c-options-menu__menu-item--FontSize);
|
216
228
|
color: var(--pf-v5-c-options-menu__menu-item--Color);
|
217
229
|
white-space: nowrap;
|
@@ -231,21 +243,21 @@
|
|
231
243
|
.pf-v5-c-options-menu__menu-item-icon {
|
232
244
|
align-self: center;
|
233
245
|
width: auto;
|
234
|
-
padding-
|
235
|
-
margin-
|
246
|
+
padding-inline-start: var(--pf-v5-c-options-menu__menu-item-icon--PaddingLeft);
|
247
|
+
margin-inline-start: auto;
|
236
248
|
font-size: var(--pf-v5-c-options-menu__menu-item-icon--FontSize);
|
237
249
|
color: var(--pf-v5-c-options-menu__menu-item-icon--Color);
|
238
250
|
}
|
239
251
|
|
240
252
|
.pf-v5-c-options-menu__group + .pf-v5-c-options-menu__group {
|
241
|
-
padding-
|
253
|
+
padding-block-start: var(--pf-v5-c-options-menu__group--group--PaddingTop);
|
242
254
|
}
|
243
255
|
|
244
256
|
.pf-v5-c-options-menu__group-title {
|
245
|
-
padding-
|
246
|
-
padding-
|
247
|
-
padding-
|
248
|
-
padding-
|
257
|
+
padding-block-start: var(--pf-v5-c-options-menu__group-title--PaddingTop);
|
258
|
+
padding-block-end: var(--pf-v5-c-options-menu__group-title--PaddingBottom);
|
259
|
+
padding-inline-start: var(--pf-v5-c-options-menu__group-title--PaddingLeft);
|
260
|
+
padding-inline-end: var(--pf-v5-c-options-menu__group-title--PaddingRight);
|
249
261
|
font-size: var(--pf-v5-c-options-menu__group-title--FontSize);
|
250
262
|
font-weight: var(--pf-v5-c-options-menu__group-title--FontWeight);
|
251
263
|
color: var(--pf-v5-c-options-menu__group-title--Color);
|
@@ -43,7 +43,7 @@
|
|
43
43
|
.pf-v5-c-overflow-menu__control,
|
44
44
|
.pf-v5-c-overflow-menu__group,
|
45
45
|
.pf-v5-c-overflow-menu__item {
|
46
|
-
margin-
|
46
|
+
margin-inline-end: var(--pf-v5-c-overflow-menu--spacer);
|
47
47
|
}
|
48
48
|
.pf-v5-c-overflow-menu__content:last-child,
|
49
49
|
.pf-v5-c-overflow-menu__control:last-child,
|
@@ -58,7 +58,7 @@
|
|
58
58
|
}
|
59
59
|
.pf-v5-c-overflow-menu > .pf-v5-c-divider.pf-m-vertical,
|
60
60
|
.pf-v5-c-overflow-menu__group > .pf-v5-c-divider.pf-m-vertical {
|
61
|
-
margin-
|
61
|
+
margin-inline-end: var(--pf-v5-c-overflow-menu--spacer);
|
62
62
|
}
|
63
63
|
.pf-v5-c-overflow-menu > .pf-v5-c-divider.pf-m-vertical:last-child,
|
64
64
|
.pf-v5-c-overflow-menu__group > .pf-v5-c-divider.pf-m-vertical:last-child {
|