@patternfly/react-styles 5.0.0 → 5.1.1-prerelease.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/css/components/AboutModalBox/about-modal-box.css +20 -13
- package/css/components/Accordion/accordion.css +30 -20
- package/css/components/ActionList/action-list.css +2 -2
- package/css/components/Alert/alert-group.css +7 -4
- package/css/components/Alert/alert.css +16 -13
- 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 +6 -3
- package/css/components/Button/button.css +23 -17
- package/css/components/CalendarMonth/calendar-month.css +21 -15
- 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 +16 -10
- 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 +20 -14
- package/css/components/EmptyState/empty-state.css +7 -4
- package/css/components/ExpandableSection/expandable-section.css +13 -10
- 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 +69 -66
- 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 +100 -93
- package/css/components/NotificationBadge/notification-badge.css +13 -7
- package/css/components/NotificationDrawer/notification-drawer.css +28 -19
- 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 +119 -65
- package/css/components/Pagination/pagination.css +24 -18
- 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 +17 -20
- package/css/components/Switch/switch.css +5 -5
- 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 +47 -35
- 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 +2 -2
- 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 +3 -3
@@ -67,19 +67,22 @@
|
|
67
67
|
color: var(--pf-v5-global--Color--100);
|
68
68
|
display: inline-flex;
|
69
69
|
flex-direction: column;
|
70
|
-
padding: var(--pf-v5-c-calendar-month--PaddingTop)
|
70
|
+
padding-block-start: var(--pf-v5-c-calendar-month--PaddingTop);
|
71
|
+
padding-block-end: var(--pf-v5-c-calendar-month--PaddingBottom);
|
72
|
+
padding-inline-start: var(--pf-v5-c-calendar-month--PaddingLeft);
|
73
|
+
padding-inline-end: var(--pf-v5-c-calendar-month--PaddingRight);
|
71
74
|
font-size: var(--pf-v5-c-calendar-month--FontSize);
|
72
75
|
background-color: var(--pf-v5-c-calendar-month--BackgroundColor);
|
73
76
|
}
|
74
77
|
|
75
78
|
.pf-v5-c-calendar-month__header {
|
76
79
|
display: flex;
|
77
|
-
margin-
|
80
|
+
margin-block-end: var(--pf-v5-c-calendar-month__header--MarginBottom);
|
78
81
|
}
|
79
82
|
|
80
83
|
.pf-v5-c-calendar-month__header-nav-control {
|
81
|
-
margin-
|
82
|
-
margin-
|
84
|
+
margin-inline-start: var(--pf-v5-c-calendar-month__header-nav-control--MarginLeft);
|
85
|
+
margin-inline-end: var(--pf-v5-c-calendar-month__header-nav-control--MarginRight);
|
83
86
|
}
|
84
87
|
.pf-v5-c-calendar-month__header-nav-control.pf-m-prev-month {
|
85
88
|
--pf-v5-c-calendar-month__header-nav-control--MarginRight: var(--pf-v5-c-calendar-month__header-nav-control--m-prev-month--MarginRight);
|
@@ -103,11 +106,11 @@
|
|
103
106
|
}
|
104
107
|
|
105
108
|
.pf-v5-c-calendar-month__days {
|
106
|
-
border-
|
109
|
+
border-block-end: var(--pf-v5-c-calendar-month__days--BorderBottomWidth) solid var(--pf-v5-c-calendar-month__days--BorderBottomColor);
|
107
110
|
}
|
108
111
|
|
109
112
|
.pf-v5-c-calendar-month__day {
|
110
|
-
padding-
|
113
|
+
padding-block-end: var(--pf-v5-c-calendar-month__day--PaddingBottom);
|
111
114
|
font-weight: var(--pf-v5-c-calendar-month__day--FontWeight);
|
112
115
|
text-align: center;
|
113
116
|
}
|
@@ -119,15 +122,18 @@
|
|
119
122
|
.pf-v5-c-calendar-month__dates-cell {
|
120
123
|
--pf-v5-c-calendar-month__dates-cell--before--Top: var(--pf-v5-c-calendar-month__dates-cell--PaddingTop);
|
121
124
|
position: relative;
|
122
|
-
padding: var(--pf-v5-c-calendar-month__dates-cell--PaddingTop)
|
125
|
+
padding-block-start: var(--pf-v5-c-calendar-month__dates-cell--PaddingTop);
|
126
|
+
padding-block-end: var(--pf-v5-c-calendar-month__dates-cell--PaddingBottom);
|
127
|
+
padding-inline-start: var(--pf-v5-c-calendar-month__dates-cell--PaddingLeft);
|
128
|
+
padding-inline-end: var(--pf-v5-c-calendar-month__dates-cell--PaddingRight);
|
123
129
|
text-align: center;
|
124
130
|
}
|
125
131
|
.pf-v5-c-calendar-month__dates-cell::before {
|
126
132
|
position: absolute;
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
133
|
+
inset-block-start: var(--pf-v5-c-calendar-month__dates-cell--before--Top);
|
134
|
+
inset-block-end: var(--pf-v5-c-calendar-month__dates-cell--before--Bottom);
|
135
|
+
inset-inline-start: var(--pf-v5-c-calendar-month__dates-cell--before--Left);
|
136
|
+
inset-inline-end: var(--pf-v5-c-calendar-month__dates-cell--before--Right);
|
131
137
|
content: "";
|
132
138
|
background-color: var(--pf-v5-c-calendar-month__dates-cell--before--BackgroundColor);
|
133
139
|
}
|
@@ -175,10 +181,10 @@
|
|
175
181
|
}
|
176
182
|
.pf-v5-c-calendar-month__date::after {
|
177
183
|
position: absolute;
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
184
|
+
inset-block-start: 0;
|
185
|
+
inset-block-end: 0;
|
186
|
+
inset-inline-start: 0;
|
187
|
+
inset-inline-end: 0;
|
182
188
|
content: "";
|
183
189
|
border: var(--pf-v5-c-calendar-month__date--after--BorderWidth) solid var(--pf-v5-c-calendar-month__date--after--BorderColor);
|
184
190
|
}
|
@@ -145,9 +145,9 @@
|
|
145
145
|
}
|
146
146
|
.pf-v5-c-card.pf-m-hoverable-raised::before, .pf-v5-c-card.pf-m-selectable-raised::before, .pf-v5-c-card.pf-m-non-selectable-raised::before {
|
147
147
|
position: absolute;
|
148
|
-
|
149
|
-
|
150
|
-
|
148
|
+
inset-block-end: var(--pf-v5-c-card--m-selectable-raised--before--Bottom);
|
149
|
+
inset-inline-start: var(--pf-v5-c-card--m-selectable-raised--before--Left);
|
150
|
+
inset-inline-end: var(--pf-v5-c-card--m-selectable-raised--before--Right);
|
151
151
|
height: var(--pf-v5-c-card--m-selectable-raised--before--Height);
|
152
152
|
content: "";
|
153
153
|
background-color: var(--pf-v5-c-card--m-selectable-raised--before--BackgroundColor);
|
@@ -233,7 +233,7 @@
|
|
233
233
|
height: var(--pf-v5-c-card--m-full-height--Height);
|
234
234
|
}
|
235
235
|
.pf-v5-c-card > .pf-v5-c-divider + .pf-v5-c-card__header, .pf-v5-c-card > .pf-v5-c-divider + .pf-v5-c-card__title, .pf-v5-c-card > .pf-v5-c-divider + .pf-v5-c-card__body, .pf-v5-c-card > .pf-v5-c-divider + .pf-v5-c-card__footer {
|
236
|
-
padding-
|
236
|
+
padding-block-start: var(--pf-v5-c-card--c-divider--child--PaddingTop);
|
237
237
|
}
|
238
238
|
|
239
239
|
.pf-v5-c-card__header {
|
@@ -260,7 +260,10 @@
|
|
260
260
|
|
261
261
|
.pf-v5-c-card__header-toggle {
|
262
262
|
align-self: flex-start;
|
263
|
-
margin: var(--pf-v5-c-card__header-toggle--MarginTop)
|
263
|
+
margin-block-start: var(--pf-v5-c-card__header-toggle--MarginTop);
|
264
|
+
margin-block-end: var(--pf-v5-c-card__header-toggle--MarginBottom);
|
265
|
+
margin-inline-start: var(--pf-v5-c-card__header-toggle--MarginLeft);
|
266
|
+
margin-inline-end: var(--pf-v5-c-card__header-toggle--MarginRight);
|
264
267
|
}
|
265
268
|
|
266
269
|
.pf-v5-c-card__header-toggle-icon {
|
@@ -281,8 +284,10 @@
|
|
281
284
|
align-items: center;
|
282
285
|
align-self: flex-start;
|
283
286
|
order: 1;
|
284
|
-
padding-
|
285
|
-
margin: var(--pf-v5-c-card__actions--MarginTop)
|
287
|
+
padding-inline-start: var(--pf-v5-c-card__actions--PaddingLeft);
|
288
|
+
margin-block-start: var(--pf-v5-c-card__actions--MarginTop);
|
289
|
+
margin-block-end: var(--pf-v5-c-card__actions--MarginBottom);
|
290
|
+
margin-inline-start: auto;
|
286
291
|
}
|
287
292
|
.pf-v5-c-card__actions + .pf-v5-c-card__title,
|
288
293
|
.pf-v5-c-card__actions + .pf-v5-c-card__body,
|
@@ -346,20 +351,20 @@
|
|
346
351
|
.pf-v5-c-card__title,
|
347
352
|
.pf-v5-c-card__body,
|
348
353
|
.pf-v5-c-card__footer {
|
349
|
-
padding-
|
350
|
-
padding-
|
351
|
-
padding-
|
354
|
+
padding-block-end: var(--pf-v5-c-card--child--PaddingBottom);
|
355
|
+
padding-inline-start: var(--pf-v5-c-card--child--PaddingLeft);
|
356
|
+
padding-inline-end: var(--pf-v5-c-card--child--PaddingRight);
|
352
357
|
}
|
353
358
|
.pf-v5-c-card__header:first-child,
|
354
359
|
.pf-v5-c-card__title:first-child,
|
355
360
|
.pf-v5-c-card__body:first-child,
|
356
361
|
.pf-v5-c-card__footer:first-child {
|
357
|
-
padding-
|
362
|
+
padding-block-start: var(--pf-v5-c-card--first-child--PaddingTop);
|
358
363
|
}
|
359
364
|
|
360
365
|
.pf-v5-c-card__header:not(:last-child),
|
361
366
|
.pf-v5-c-card__title:not(:last-child) {
|
362
|
-
padding-
|
367
|
+
padding-block-end: var(--pf-v5-c-card__title--not--last-child--PaddingBottom);
|
363
368
|
}
|
364
369
|
|
365
370
|
.pf-v5-c-card__expandable-content {
|
@@ -380,10 +385,10 @@
|
|
380
385
|
|
381
386
|
.pf-v5-c-card__sr-input:focus + .pf-v5-c-card::after {
|
382
387
|
position: absolute;
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
388
|
+
inset-block-start: 0;
|
389
|
+
inset-block-end: 0;
|
390
|
+
inset-inline-start: 0;
|
391
|
+
inset-inline-end: 0;
|
387
392
|
content: "";
|
388
393
|
border: var(--pf-v5-c-card__input--focus--BorderWidth) solid var(--pf-v5-c-card__input--focus--BorderColor);
|
389
394
|
}
|
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
.pf-v5-c-check__body {
|
40
40
|
grid-column: 2;
|
41
|
-
margin-
|
41
|
+
margin-block-start: var(--pf-v5-c-check__body--MarginTop);
|
42
42
|
}
|
43
43
|
|
44
44
|
.pf-v5-c-check__input {
|
@@ -63,7 +63,7 @@ label.pf-v5-c-check, .pf-v5-c-check__label,
|
|
63
63
|
}
|
64
64
|
|
65
65
|
.pf-v5-c-check__label-required {
|
66
|
-
margin-
|
66
|
+
margin-inline-start: var(--pf-v5-c-check__label-required--MarginLeft);
|
67
67
|
font-size: var(--pf-v5-c-check__label-required--FontSize);
|
68
68
|
color: var(--pf-v5-c-check__label-required--Color);
|
69
69
|
}
|
@@ -35,10 +35,10 @@
|
|
35
35
|
row-gap: var(--pf-v5-c-chip-group--RowGap);
|
36
36
|
column-gap: var(--pf-v5-c-chip-group--ColumnGap);
|
37
37
|
max-width: 100%;
|
38
|
-
padding-
|
39
|
-
padding-
|
40
|
-
padding-
|
41
|
-
padding-
|
38
|
+
padding-block-start: var(--pf-v5-c-chip-group--PaddingTop);
|
39
|
+
padding-block-end: var(--pf-v5-c-chip-group--PaddingBottom);
|
40
|
+
padding-inline-start: var(--pf-v5-c-chip-group--PaddingLeft);
|
41
|
+
padding-inline-end: var(--pf-v5-c-chip-group--PaddingRight);
|
42
42
|
}
|
43
43
|
.pf-v5-c-chip-group.pf-m-category {
|
44
44
|
--pf-v5-c-chip-group--PaddingTop: var(--pf-v5-c-chip-group--m-category--PaddingTop);
|
@@ -88,6 +88,6 @@
|
|
88
88
|
.pf-v5-c-chip-group__close {
|
89
89
|
display: flex;
|
90
90
|
align-self: flex-start;
|
91
|
-
margin-
|
92
|
-
margin-
|
91
|
+
margin-block-start: var(--pf-v5-c-chip-group__close--MarginTop);
|
92
|
+
margin-block-end: var(--pf-v5-c-chip-group__close--MarginBottom);
|
93
93
|
}
|
@@ -28,6 +28,7 @@
|
|
28
28
|
--pf-v5-c-chip__content--ColumnGap: var(--pf-v5-global--spacer--xs);
|
29
29
|
--pf-v5-c-chip__text--Color: var(--pf-v5-global--Color--100);
|
30
30
|
--pf-v5-c-chip__text--MaxWidth: 16ch;
|
31
|
+
--pf-v5-c-chip__c-badge--MarginLeft: var(--pf-v5-global--spacer--xs);
|
31
32
|
--pf-v5-c-chip__actions--FontSize: var(--pf-v5-global--FontSize--xs);
|
32
33
|
--pf-v5-c-chip__actions--c-button--PaddingTop: var(--pf-v5-global--spacer--xs);
|
33
34
|
--pf-v5-c-chip__actions--c-button--PaddingRight: var(--pf-v5-global--spacer--sm);
|
@@ -43,17 +44,20 @@
|
|
43
44
|
display: inline-flex;
|
44
45
|
align-items: center;
|
45
46
|
min-width: 0;
|
46
|
-
padding: var(--pf-v5-c-chip--PaddingTop)
|
47
|
+
padding-block-start: var(--pf-v5-c-chip--PaddingTop);
|
48
|
+
padding-block-end: var(--pf-v5-c-chip--PaddingBottom);
|
49
|
+
padding-inline-start: var(--pf-v5-c-chip--PaddingLeft);
|
50
|
+
padding-inline-end: var(--pf-v5-c-chip--PaddingRight);
|
47
51
|
list-style: none;
|
48
52
|
background-color: var(--pf-v5-c-chip--BackgroundColor);
|
49
53
|
border-radius: var(--pf-v5-c-chip--BorderRadius);
|
50
54
|
}
|
51
55
|
.pf-v5-c-chip::before {
|
52
56
|
position: absolute;
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
+
inset-block-start: 0;
|
58
|
+
inset-block-end: 0;
|
59
|
+
inset-inline-start: 0;
|
60
|
+
inset-inline-end: 0;
|
57
61
|
content: "";
|
58
62
|
border: var(--pf-v5-c-chip--before--BorderWidth) solid var(--pf-v5-c-chip--before--BorderColor);
|
59
63
|
border-radius: var(--pf-v5-c-chip--before--BorderRadius);
|
@@ -80,10 +84,13 @@
|
|
80
84
|
max-width: var(--pf-v5-c-chip__text--MaxWidth);
|
81
85
|
color: var(--pf-v5-c-chip__text--Color);
|
82
86
|
}
|
87
|
+
.pf-v5-c-chip__text .pf-v5-c-badge {
|
88
|
+
margin-inline-start: var(--pf-v5-c-chip__c-badge--MarginLeft);
|
89
|
+
}
|
83
90
|
|
84
91
|
.pf-v5-c-chip__icon + .pf-v5-c-chip__text,
|
85
92
|
.pf-v5-c-chip__text + .pf-v5-c-chip__icon {
|
86
|
-
margin-
|
93
|
+
margin-inline-start: var(--pf-v5-c-chip__icon--MarginLeft);
|
87
94
|
}
|
88
95
|
|
89
96
|
.pf-v5-c-chip__content {
|
@@ -102,9 +109,9 @@
|
|
102
109
|
--pf-v5-c-button--PaddingBottom: var(--pf-v5-c-chip__actions--c-button--PaddingBottom);
|
103
110
|
--pf-v5-c-button--PaddingLeft: var(--pf-v5-c-chip__actions--c-button--PaddingLeft);
|
104
111
|
--pf-v5-c-button--FontSize: var(--pf-v5-c-chip__actions--c-button--FontSize);
|
105
|
-
margin-
|
106
|
-
margin-
|
107
|
-
margin-
|
112
|
+
margin-block-start: var(--pf-v5-c-chip__actions--c-button--MarginTop);
|
113
|
+
margin-block-end: var(--pf-v5-c-chip__actions--c-button--MarginBottom);
|
114
|
+
margin-inline-end: var(--pf-v5-c-chip__actions--c-button--MarginRight);
|
108
115
|
line-height: 1;
|
109
116
|
}
|
110
117
|
|
@@ -30,9 +30,9 @@
|
|
30
30
|
}
|
31
31
|
.pf-v5-c-clipboard-copy.pf-m-inline {
|
32
32
|
display: inline;
|
33
|
-
padding-
|
34
|
-
padding-
|
35
|
-
padding-
|
33
|
+
padding-block-start: var(--pf-v5-c-clipboard-copy--m-inline--PaddingTop);
|
34
|
+
padding-block-end: var(--pf-v5-c-clipboard-copy--m-inline--PaddingBottom);
|
35
|
+
padding-inline-start: var(--pf-v5-c-clipboard-copy--m-inline--PaddingLeft);
|
36
36
|
white-space: nowrap;
|
37
37
|
background-color: var(--pf-v5-c-clipboard-copy--m-inline--BackgroundColor);
|
38
38
|
}
|
@@ -44,7 +44,7 @@
|
|
44
44
|
display: flex;
|
45
45
|
}
|
46
46
|
.pf-v5-c-clipboard-copy__group > * + * {
|
47
|
-
margin-
|
47
|
+
margin-inline-start: -1px;
|
48
48
|
}
|
49
49
|
|
50
50
|
.pf-v5-c-clipboard-copy__toggle-icon {
|
@@ -52,12 +52,18 @@
|
|
52
52
|
}
|
53
53
|
|
54
54
|
.pf-v5-c-clipboard-copy__expandable-content {
|
55
|
-
padding: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingTop)
|
55
|
+
padding-block-start: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingTop);
|
56
|
+
padding-block-end: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingBottom);
|
57
|
+
padding-inline-start: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingLeft);
|
58
|
+
padding-inline-end: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingRight);
|
56
59
|
word-wrap: break-word;
|
57
60
|
background-color: var(--pf-v5-c-clipboard-copy__expandable-content--BackgroundColor);
|
58
61
|
background-clip: padding-box;
|
59
62
|
border: solid var(--pf-v5-c-clipboard-copy__expandable-content--BorderColor);
|
60
|
-
border-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderTopWidth)
|
63
|
+
border-block-start-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderTopWidth);
|
64
|
+
border-block-end-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderBottomWidth);
|
65
|
+
border-inline-start-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderLeftWidth);
|
66
|
+
border-inline-end-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderRightWidth);
|
61
67
|
box-shadow: var(--pf-v5-c-clipboard-copy__expandable-content--BoxShadow);
|
62
68
|
}
|
63
69
|
.pf-v5-c-clipboard-copy__expandable-content pre {
|
@@ -78,8 +84,8 @@
|
|
78
84
|
}
|
79
85
|
|
80
86
|
.pf-v5-c-clipboard-copy__actions-item {
|
81
|
-
margin-
|
82
|
-
margin-
|
87
|
+
margin-block-start: calc(-1 * var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingTop));
|
88
|
+
margin-block-end: calc(-1 * var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingBottom));
|
83
89
|
}
|
84
90
|
.pf-v5-c-clipboard-copy__actions-item .pf-v5-c-button {
|
85
91
|
--pf-v5-c-button--PaddingTop: var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingTop);
|
@@ -92,8 +98,8 @@
|
|
92
98
|
--pf-v5-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
93
99
|
}
|
94
100
|
:where(.pf-v5-theme-dark) .pf-v5-c-clipboard-copy__group > * + * {
|
95
|
-
margin-
|
96
|
-
border-
|
101
|
+
margin-inline-start: 0;
|
102
|
+
border-inline-start: 1px solid var(--pf-v5-global--palette--black-700) !important;
|
97
103
|
}
|
98
104
|
:where(.pf-v5-theme-dark) .pf-v5-c-clipboard-copy__expandable-content {
|
99
105
|
border: 0;
|
@@ -13,16 +13,19 @@
|
|
13
13
|
|
14
14
|
.pf-v5-c-code-block__header {
|
15
15
|
display: flex;
|
16
|
-
border-
|
16
|
+
border-block-end: var(--pf-v5-c-code-block__header--BorderBottomWidth) solid var(--pf-v5-c-code-block__header--BorderBottomColor);
|
17
17
|
}
|
18
18
|
|
19
19
|
.pf-v5-c-code-block__actions {
|
20
20
|
display: flex;
|
21
|
-
margin-
|
21
|
+
margin-inline-start: auto;
|
22
22
|
}
|
23
23
|
|
24
24
|
.pf-v5-c-code-block__content {
|
25
|
-
padding: var(--pf-v5-c-code-block__content--PaddingTop)
|
25
|
+
padding-block-start: var(--pf-v5-c-code-block__content--PaddingTop);
|
26
|
+
padding-block-end: var(--pf-v5-c-code-block__content--PaddingBottom);
|
27
|
+
padding-inline-start: var(--pf-v5-c-code-block__content--PaddingLeft);
|
28
|
+
padding-inline-end: var(--pf-v5-c-code-block__content--PaddingRight);
|
26
29
|
}
|
27
30
|
|
28
31
|
.pf-v5-c-code-block__pre {
|
@@ -45,12 +45,12 @@
|
|
45
45
|
}
|
46
46
|
.pf-v5-c-code-editor__header::before {
|
47
47
|
position: absolute;
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
inset-block-end: 0;
|
49
|
+
inset-inline-start: 0;
|
50
|
+
inset-inline-end: 0;
|
51
51
|
pointer-events: none;
|
52
52
|
content: "";
|
53
|
-
border-
|
53
|
+
border-block-end: var(--pf-v5-c-code-editor__header--before--BorderBottomWidth) solid var(--pf-v5-c-code-editor__header--before--BorderBottomColor);
|
54
54
|
}
|
55
55
|
|
56
56
|
.pf-v5-c-code-editor__controls {
|
@@ -66,13 +66,13 @@
|
|
66
66
|
--pf-v5-c-code-editor__controls--c-button--m-control--Color: var(--pf-v5-c-code-editor__controls--c-button--m-control--focus--Color);
|
67
67
|
}
|
68
68
|
.pf-v5-c-code-editor__controls .pf-v5-c-button.pf-m-control:disabled::after {
|
69
|
-
border-
|
69
|
+
border-block-end-color: var(--pf-v5-c-code-editor__controls--c-button--m-control--disabled--after--BorderBottomColor);
|
70
70
|
}
|
71
71
|
|
72
72
|
.pf-v5-c-code-editor__header-main {
|
73
73
|
flex-grow: 1;
|
74
|
-
padding-
|
75
|
-
padding-
|
74
|
+
padding-inline-start: var(--pf-v5-c-code-editor__header-main--PaddingLeft);
|
75
|
+
padding-inline-end: var(--pf-v5-c-code-editor__header-main--PaddingRight);
|
76
76
|
}
|
77
77
|
|
78
78
|
.pf-v5-c-code-editor__main {
|
@@ -84,20 +84,20 @@
|
|
84
84
|
}
|
85
85
|
.pf-v5-c-code-editor__main.pf-m-drag-hover::after {
|
86
86
|
position: absolute;
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
87
|
+
inset-block-start: 0;
|
88
|
+
inset-block-end: 0;
|
89
|
+
inset-inline-start: 0;
|
90
|
+
inset-inline-end: 0;
|
91
91
|
content: "";
|
92
92
|
background-color: var(--pf-v5-c-code-editor__main--m-drag-hover--after--BackgroundColor);
|
93
93
|
opacity: var(--pf-v5-c-code-editor__main--m-drag-hover--after--Opacity);
|
94
94
|
}
|
95
95
|
.pf-v5-c-code-editor__main.pf-m-drag-hover::before {
|
96
96
|
position: absolute;
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
97
|
+
inset-block-start: 0;
|
98
|
+
inset-block-end: 0;
|
99
|
+
inset-inline-start: 0;
|
100
|
+
inset-inline-end: 0;
|
101
101
|
content: "";
|
102
102
|
border: var(--pf-v5-c-code-editor__main--m-drag-hover--before--BorderWidth) solid var(--pf-v5-c-code-editor__main--m-drag-hover--before--BorderColor);
|
103
103
|
}
|
@@ -106,12 +106,15 @@
|
|
106
106
|
}
|
107
107
|
|
108
108
|
.pf-v5-c-code-editor__header + .pf-v5-c-code-editor__main {
|
109
|
-
border-
|
109
|
+
border-block-start-width: 0;
|
110
110
|
}
|
111
111
|
|
112
112
|
.pf-v5-c-code-editor__code {
|
113
113
|
position: relative;
|
114
|
-
padding: var(--pf-v5-c-code-editor__code--PaddingTop)
|
114
|
+
padding-block-start: var(--pf-v5-c-code-editor__code--PaddingTop);
|
115
|
+
padding-block-end: var(--pf-v5-c-code-editor__code--PaddingBottom);
|
116
|
+
padding-inline-start: var(--pf-v5-c-code-editor__code--PaddingLeft);
|
117
|
+
padding-inline-end: var(--pf-v5-c-code-editor__code--PaddingRight);
|
115
118
|
}
|
116
119
|
.pf-v5-c-code-editor__code .pf-v5-c-code-editor__code-pre {
|
117
120
|
font-family: var(--pf-v5-c-code-editor__code-pre--FontFamily);
|
@@ -123,17 +126,23 @@
|
|
123
126
|
position: relative;
|
124
127
|
display: flex;
|
125
128
|
align-items: center;
|
126
|
-
padding: var(--pf-v5-c-code-editor__tab--PaddingTop)
|
127
|
-
|
129
|
+
padding-block-start: var(--pf-v5-c-code-editor__tab--PaddingTop);
|
130
|
+
padding-block-end: var(--pf-v5-c-code-editor__tab--PaddingBottom);
|
131
|
+
padding-inline-start: var(--pf-v5-c-code-editor__tab--PaddingLeft);
|
132
|
+
padding-inline-end: var(--pf-v5-c-code-editor__tab--PaddingRight);
|
133
|
+
margin-inline-start: auto;
|
128
134
|
color: var(--pf-v5-c-code-editor__tab--Color);
|
129
135
|
background-color: var(--pf-v5-c-code-editor__tab--BackgroundColor);
|
130
136
|
border-color: var(--pf-v5-c-code-editor__tab--BorderColor);
|
131
137
|
border-style: solid;
|
132
|
-
border-width: var(--pf-v5-c-code-editor__tab--BorderTopWidth)
|
138
|
+
border-block-start-width: var(--pf-v5-c-code-editor__tab--BorderTopWidth);
|
139
|
+
border-block-end-width: var(--pf-v5-c-code-editor__tab--BorderBottomWidth);
|
140
|
+
border-inline-start-width: var(--pf-v5-c-code-editor__tab--BorderLeftWidth);
|
141
|
+
border-inline-end-width: var(--pf-v5-c-code-editor__tab--BorderRightWidth);
|
133
142
|
}
|
134
143
|
|
135
144
|
.pf-v5-c-code-editor__tab-icon + .pf-v5-c-code-editor__tab-text {
|
136
|
-
margin-
|
145
|
+
margin-inline-start: var(--pf-v5-c-code-editor__tab-icon--text--MarginLeft);
|
137
146
|
}
|
138
147
|
|
139
148
|
:where(.pf-v5-theme-dark) .pf-v5-c-code-editor {
|
@@ -141,5 +150,5 @@
|
|
141
150
|
--pf-v5-c-code-editor--m-read-only__main--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
142
151
|
}
|
143
152
|
:where(.pf-v5-theme-dark) .pf-v5-c-code-editor__controls > * + * {
|
144
|
-
border-
|
153
|
+
border-inline-start: 1px solid var(--pf-v5-global--palette--black-700);
|
145
154
|
}
|
@@ -85,7 +85,7 @@
|
|
85
85
|
color: var(--pf-v5-c-content--a--visited--Color);
|
86
86
|
}
|
87
87
|
.pf-v5-c-content li + li {
|
88
|
-
margin-
|
88
|
+
margin-block-start: var(--pf-v5-c-content--li--MarginTop);
|
89
89
|
}
|
90
90
|
.pf-v5-c-content p:not(:last-child),
|
91
91
|
.pf-v5-c-content dl:not(:last-child),
|
@@ -96,7 +96,7 @@
|
|
96
96
|
.pf-v5-c-content pre:not(:last-child),
|
97
97
|
.pf-v5-c-content table:not(:last-child),
|
98
98
|
.pf-v5-c-content hr:not(:last-child) {
|
99
|
-
margin-
|
99
|
+
margin-block-end: var(--pf-v5-c-content--MarginBottom);
|
100
100
|
}
|
101
101
|
.pf-v5-c-content h1,
|
102
102
|
.pf-v5-c-content h2,
|
@@ -113,7 +113,7 @@
|
|
113
113
|
.pf-v5-c-content h4:first-child,
|
114
114
|
.pf-v5-c-content h5:first-child,
|
115
115
|
.pf-v5-c-content h6:first-child {
|
116
|
-
margin-
|
116
|
+
margin-block-start: 0;
|
117
117
|
}
|
118
118
|
.pf-v5-c-content h1:last-child,
|
119
119
|
.pf-v5-c-content h2:last-child,
|
@@ -121,7 +121,7 @@
|
|
121
121
|
.pf-v5-c-content h4:last-child,
|
122
122
|
.pf-v5-c-content h5:last-child,
|
123
123
|
.pf-v5-c-content h6:last-child {
|
124
|
-
margin-
|
124
|
+
margin-block-end: 0;
|
125
125
|
}
|
126
126
|
.pf-v5-c-content ol,
|
127
127
|
.pf-v5-c-content ul {
|
@@ -129,48 +129,48 @@
|
|
129
129
|
}
|
130
130
|
.pf-v5-c-content ol.pf-m-plain,
|
131
131
|
.pf-v5-c-content ul.pf-m-plain {
|
132
|
-
padding-
|
133
|
-
margin-
|
132
|
+
padding-inline-start: 0;
|
133
|
+
margin-inline-start: 0;
|
134
134
|
list-style: none;
|
135
135
|
}
|
136
136
|
.pf-v5-c-content h1 {
|
137
|
-
margin-
|
138
|
-
margin-
|
137
|
+
margin-block-start: var(--pf-v5-c-content--h1--MarginTop);
|
138
|
+
margin-block-end: var(--pf-v5-c-content--h1--MarginBottom);
|
139
139
|
font-size: var(--pf-v5-c-content--h1--FontSize);
|
140
140
|
font-weight: var(--pf-v5-c-content--h1--FontWeight);
|
141
141
|
line-height: var(--pf-v5-c-content--h1--LineHeight);
|
142
142
|
}
|
143
143
|
.pf-v5-c-content h2 {
|
144
|
-
margin-
|
145
|
-
margin-
|
144
|
+
margin-block-start: var(--pf-v5-c-content--h2--MarginTop);
|
145
|
+
margin-block-end: var(--pf-v5-c-content--h2--MarginBottom);
|
146
146
|
font-size: var(--pf-v5-c-content--h2--FontSize);
|
147
147
|
font-weight: var(--pf-v5-c-content--h2--FontWeight);
|
148
148
|
line-height: var(--pf-v5-c-content--h2--LineHeight);
|
149
149
|
}
|
150
150
|
.pf-v5-c-content h3 {
|
151
|
-
margin-
|
152
|
-
margin-
|
151
|
+
margin-block-start: var(--pf-v5-c-content--h3--MarginTop);
|
152
|
+
margin-block-end: var(--pf-v5-c-content--h3--MarginBottom);
|
153
153
|
font-size: var(--pf-v5-c-content--h3--FontSize);
|
154
154
|
font-weight: var(--pf-v5-c-content--h3--FontWeight);
|
155
155
|
line-height: var(--pf-v5-c-content--h3--LineHeight);
|
156
156
|
}
|
157
157
|
.pf-v5-c-content h4 {
|
158
|
-
margin-
|
159
|
-
margin-
|
158
|
+
margin-block-start: var(--pf-v5-c-content--h4--MarginTop);
|
159
|
+
margin-block-end: var(--pf-v5-c-content--h4--MarginBottom);
|
160
160
|
font-size: var(--pf-v5-c-content--h4--FontSize);
|
161
161
|
font-weight: var(--pf-v5-c-content--h4--FontWeight);
|
162
162
|
line-height: var(--pf-v5-c-content--h4--LineHeight);
|
163
163
|
}
|
164
164
|
.pf-v5-c-content h5 {
|
165
|
-
margin-
|
166
|
-
margin-
|
165
|
+
margin-block-start: var(--pf-v5-c-content--h5--MarginTop);
|
166
|
+
margin-block-end: var(--pf-v5-c-content--h5--MarginBottom);
|
167
167
|
font-size: var(--pf-v5-c-content--h5--FontSize);
|
168
168
|
font-weight: var(--pf-v5-c-content--h5--FontWeight);
|
169
169
|
line-height: var(--pf-v5-c-content--h5--LineHeight);
|
170
170
|
}
|
171
171
|
.pf-v5-c-content h6 {
|
172
|
-
margin-
|
173
|
-
margin-
|
172
|
+
margin-block-start: var(--pf-v5-c-content--h6--MarginTop);
|
173
|
+
margin-block-end: var(--pf-v5-c-content--h6--MarginBottom);
|
174
174
|
font-size: var(--pf-v5-c-content--h6--FontSize);
|
175
175
|
font-weight: var(--pf-v5-c-content--h6--FontWeight);
|
176
176
|
line-height: var(--pf-v5-c-content--h6--LineHeight);
|
@@ -182,12 +182,15 @@
|
|
182
182
|
color: var(--pf-v5-c-content--small--Color);
|
183
183
|
}
|
184
184
|
.pf-v5-c-content small:not(:last-child) {
|
185
|
-
margin-
|
185
|
+
margin-block-end: var(--pf-v5-c-content--small--MarginBottom);
|
186
186
|
}
|
187
187
|
.pf-v5-c-content blockquote {
|
188
|
-
padding: var(--pf-v5-c-content--blockquote--PaddingTop)
|
188
|
+
padding-block-start: var(--pf-v5-c-content--blockquote--PaddingTop);
|
189
|
+
padding-block-end: var(--pf-v5-c-content--blockquote--PaddingBottom);
|
190
|
+
padding-inline-start: var(--pf-v5-c-content--blockquote--PaddingLeft);
|
191
|
+
padding-inline-end: var(--pf-v5-c-content--blockquote--PaddingRight);
|
189
192
|
color: var(--pf-v5-c-content--blockquote--Color);
|
190
|
-
border-
|
193
|
+
border-inline-start: var(--pf-v5-c-content--blockquote--BorderLeftWidth) solid var(--pf-v5-c-content--blockquote--BorderLeftColor);
|
191
194
|
}
|
192
195
|
.pf-v5-c-content hr {
|
193
196
|
height: var(--pf-v5-c-content--hr--Height);
|
@@ -195,29 +198,29 @@
|
|
195
198
|
border: none;
|
196
199
|
}
|
197
200
|
.pf-v5-c-content ol {
|
198
|
-
padding-
|
199
|
-
margin-
|
201
|
+
padding-inline-start: var(--pf-v5-c-content--ol--PaddingLeft);
|
202
|
+
margin-inline-start: var(--pf-v5-c-content--ol--MarginLeft);
|
200
203
|
}
|
201
204
|
.pf-v5-c-content ol ul {
|
202
205
|
--pf-v5-c-content--ul--MarginLeft: var(--pf-v5-c-content--ul--nested--MarginLeft);
|
203
|
-
margin-
|
206
|
+
margin-block-start: var(--pf-v5-c-content--ul--nested--MarginTop);
|
204
207
|
}
|
205
208
|
.pf-v5-c-content ol ol {
|
206
209
|
--pf-v5-c-content--ol--MarginLeft: var(--pf-v5-c-content--ol--nested--MarginLeft);
|
207
|
-
margin-
|
210
|
+
margin-block-start: var(--pf-v5-c-content--ol--nested--MarginTop);
|
208
211
|
}
|
209
212
|
.pf-v5-c-content ul {
|
210
|
-
padding-
|
211
|
-
margin-
|
213
|
+
padding-inline-start: var(--pf-v5-c-content--ul--PaddingLeft);
|
214
|
+
margin-inline-start: var(--pf-v5-c-content--ul--MarginLeft);
|
212
215
|
list-style: var(--pf-v5-c-content--ul--ListStyle);
|
213
216
|
}
|
214
217
|
.pf-v5-c-content ul ul {
|
215
218
|
--pf-v5-c-content--ul--MarginLeft: var(--pf-v5-c-content--ul--nested--MarginLeft);
|
216
|
-
margin-
|
219
|
+
margin-block-start: var(--pf-v5-c-content--ul--nested--MarginTop);
|
217
220
|
}
|
218
221
|
.pf-v5-c-content ul ol {
|
219
222
|
--pf-v5-c-content--ol--MarginLeft: var(--pf-v5-c-content--ol--nested--MarginLeft);
|
220
|
-
margin-
|
223
|
+
margin-block-start: var(--pf-v5-c-content--ol--nested--MarginTop);
|
221
224
|
}
|
222
225
|
.pf-v5-c-content dl {
|
223
226
|
display: grid;
|
@@ -234,7 +237,7 @@
|
|
234
237
|
font-weight: var(--pf-v5-c-content--dt--FontWeight);
|
235
238
|
}
|
236
239
|
.pf-v5-c-content dt:not(:first-child) {
|
237
|
-
margin-
|
240
|
+
margin-block-start: var(--pf-v5-c-content--dt--MarginTop);
|
238
241
|
}
|
239
242
|
@media screen and (min-width: 576px) {
|
240
243
|
.pf-v5-c-content dt:not(:first-child) {
|