@patternfly/patternfly 6.1.0-prerelease.1 → 6.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 +5 -5
- package/components/Button/button.css +18 -2
- package/components/Button/button.scss +19 -3
- package/components/CodeEditor/code-editor.css +15 -0
- package/components/CodeEditor/code-editor.scss +16 -1
- package/components/Content/content.css +9 -0
- package/components/Content/content.scss +7 -0
- package/components/DataList/data-list.css +6 -0
- package/components/DataList/data-list.scss +7 -0
- package/components/Label/label-group.css +12 -0
- package/components/Label/label-group.scss +14 -0
- package/components/Label/label.css +5 -0
- package/components/Label/label.scss +5 -0
- package/components/Menu/menu.css +7 -3
- package/components/Menu/menu.scss +5 -3
- package/components/MenuToggle/menu-toggle.css +27 -11
- package/components/MenuToggle/menu-toggle.scss +24 -17
- package/components/Page/page.css +4 -1
- package/components/Page/page.scss +3 -2
- package/components/Table/table-grid.css +12 -12
- package/components/Table/table-grid.scss +4 -4
- package/components/Table/table-tree-view.css +4 -4
- package/components/Table/table-tree-view.scss +4 -4
- package/components/Table/table.css +7 -4
- package/components/Table/table.scss +9 -5
- package/components/Title/title.css +4 -0
- package/components/Title/title.scss +7 -0
- package/components/Wizard/wizard.css +1 -1
- package/components/Wizard/wizard.scss +1 -1
- package/components/_index.css +131 -38
- package/docs/components/Button/examples/Button.md +1 -1
- package/docs/components/CodeEditor/examples/CodeEditor.css +3 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +158 -7
- package/docs/components/Content/examples/Content.md +8 -7
- package/docs/components/DataList/examples/DataList.md +15 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -18
- package/docs/components/Label/examples/Label.css +12 -0
- package/docs/components/Label/examples/Label.md +162 -0
- package/docs/components/Menu/examples/Menu.md +24 -32
- package/docs/components/MenuToggle/examples/MenuToggle.md +1309 -533
- package/docs/components/Page/examples/Page.css +1 -1
- package/docs/components/Page/examples/Page.md +10 -7
- package/docs/components/Table/examples/Table.md +469 -2769
- package/docs/components/Title/examples/Title.md +10 -0
- package/docs/demos/AboutModal/examples/AboutModal.md +2 -4
- package/docs/demos/Alert/examples/Alert.md +6 -12
- package/docs/demos/BackToTop/examples/BackToTop.md +2 -4
- package/docs/demos/Banner/examples/Banner.md +4 -8
- package/docs/demos/Card/examples/Card.css +4 -0
- package/docs/demos/Card/examples/Card.md +13 -21
- package/docs/demos/CardView/examples/CardView.md +2 -4
- package/docs/demos/Dashboard/examples/Dashboard.md +2 -4
- package/docs/demos/DataList/examples/DataList.md +13 -46
- package/docs/demos/DescriptionList/examples/DescriptionList.md +11 -42
- package/docs/demos/Drawer/examples/Drawer.md +6 -12
- package/docs/demos/JumpLinks/examples/JumpLinks.md +8 -16
- package/docs/demos/Masthead/examples/Masthead.md +18 -36
- package/docs/demos/Modal/examples/Modal.md +12 -24
- package/docs/demos/Nav/examples/Nav.md +12 -24
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +10 -20
- package/docs/demos/Page/examples/Page.md +24 -48
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +14 -28
- package/docs/demos/Skeleton/examples/Skeleton.md +2 -4
- package/docs/demos/Table/examples/Table.md +191 -984
- package/docs/demos/Tabs/examples/Tabs.md +18 -60
- package/docs/demos/Toolbar/examples/Toolbar.md +16 -80
- package/docs/demos/Wizard/examples/Wizard.md +18 -36
- package/docs/layouts/Level/examples/Level.css +1 -2
- package/docs/layouts/Level/examples/Level.md +15 -3
- package/docs/layouts/Split/examples/Split.css +1 -2
- package/docs/layouts/Split/examples/Split.md +4 -4
- package/docs/layouts/Stack/examples/Stack.css +1 -2
- package/docs/layouts/Stack/examples/Stack.md +4 -4
- package/layouts/Split/split.css +1 -2
- package/layouts/Split/split.scss +4 -3
- package/layouts/Stack/stack.css +1 -2
- package/layouts/Stack/stack.scss +4 -3
- package/layouts/_index.css +2 -4
- package/package.json +3 -3
- package/patternfly-no-globals.css +133 -42
- package/patternfly.css +133 -42
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
|
@@ -50,6 +50,8 @@
|
|
|
50
50
|
--pf-v6-c-menu-toggle--m-primary__toggle-icon--Color: var(--pf-t--global--icon--color--on-brand--default);
|
|
51
51
|
--pf-v6-c-menu-toggle--m-primary--hover__toggle-icon--Color: var(--pf-t--global--icon--color--on-brand--hover);
|
|
52
52
|
--pf-v6-c-menu-toggle--m-primary--expanded__toggle-icon--Color: var(--pf-t--global--icon--color--on-brand--clicked);
|
|
53
|
+
--pf-v6-c-menu-toggle--m-primary--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--compact);
|
|
54
|
+
--pf-v6-c-menu-toggle--m-primary--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--compact);
|
|
53
55
|
--pf-v6-c-menu-toggle--m-secondary--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--default);
|
|
54
56
|
--pf-v6-c-menu-toggle--m-secondary--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--default);
|
|
55
57
|
--pf-v6-c-menu-toggle--m-secondary--Color: var(--pf-t--global--text--color--brand--default);
|
|
@@ -64,6 +66,8 @@
|
|
|
64
66
|
--pf-v6-c-menu-toggle--m-secondary__toggle-icon--Color: var(--pf-t--global--icon--color--brand--default);
|
|
65
67
|
--pf-v6-c-menu-toggle--m-secondary--hover__toggle-icon--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
66
68
|
--pf-v6-c-menu-toggle--m-secondary--expanded__toggle-icon--Color: var(--pf-t--global--icon--color--brand--clicked);
|
|
69
|
+
--pf-v6-c-menu-toggle--m-secondary--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--compact);
|
|
70
|
+
--pf-v6-c-menu-toggle--m-secondary--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--compact);
|
|
67
71
|
--pf-v6-c-menu-toggle--m-full-height--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--spacious);
|
|
68
72
|
--pf-v6-c-menu-toggle--m-full-height--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--spacious);
|
|
69
73
|
--pf-v6-c-menu-toggle--m-split-button--child--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
|
@@ -74,6 +78,8 @@
|
|
|
74
78
|
--pf-v6-c-menu-toggle--m-split-button--child--disabled--BorderInlineStartColor: var(--pf-t--global--icon--color--on-disabled);
|
|
75
79
|
--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineStart--offset: var(--pf-t--global--spacer--control--horizontal--default);
|
|
76
80
|
--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineEnd--offset: var(--pf-t--global--spacer--control--horizontal--default);
|
|
81
|
+
--pf-v6-c-menu-toggle--m-split-button--m-small--pill--child--PaddingInlineStart--offset: var(--pf-t--global--spacer--control--horizontal--compact);
|
|
82
|
+
--pf-v6-c-menu-toggle--m-split-button--m-small--pill--child--PaddingInlineEnd--offset: var(--pf-t--global--spacer--control--horizontal--compact);
|
|
77
83
|
--pf-v6-c-menu-toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
78
84
|
--pf-v6-c-menu-toggle--m-split-button--m-primary--child--hover--BackgroundColor: var(--pf-t--global--color--brand--hover);
|
|
79
85
|
--pf-v6-c-menu-toggle--m-split-button--m-primary--child--BorderInlineStartColor: var(--pf-t--global--border--color--default);
|
|
@@ -88,6 +94,8 @@
|
|
|
88
94
|
--pf-v6-c-menu-toggle__button--m-text--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
89
95
|
--pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--default);
|
|
90
96
|
--pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
|
|
97
|
+
--pf-v6-c-menu-toggle--m-small__button--toggle-icon--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--compact);
|
|
98
|
+
--pf-v6-c-menu-toggle--m-small__button--toggle-icon--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--compact);
|
|
91
99
|
--pf-v6-c-menu-toggle--m-plain--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
|
92
100
|
--pf-v6-c-menu-toggle--m-plain--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
|
93
101
|
--pf-v6-c-menu-toggle--m-plain--Color: var(--pf-t--global--icon--color--regular);
|
|
@@ -99,6 +107,8 @@
|
|
|
99
107
|
--pf-v6-c-menu-toggle--m-plain--disabled__icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
100
108
|
--pf-v6-c-menu-toggle--m-plain--disabled__toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
101
109
|
--pf-v6-c-menu-toggle--m-plain--disabled--BackgroundColor: transparent;
|
|
110
|
+
--pf-v6-c-menu-toggle--m-plain--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
111
|
+
--pf-v6-c-menu-toggle--m-plain--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
102
112
|
--pf-v6-c-menu-toggle--m-typeahead__button--AlignSelf: stretch;
|
|
103
113
|
--pf-v6-c-menu-toggle--m-small--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--compact);
|
|
104
114
|
--pf-v6-c-menu-toggle--m-small--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--compact);
|
|
@@ -168,6 +178,8 @@
|
|
|
168
178
|
--pf-v6-c-menu-toggle--hover__toggle-icon--Color: var(--pf-v6-c-menu-toggle--m-primary--hover__toggle-icon--Color);
|
|
169
179
|
--pf-v6-c-menu-toggle--expanded__toggle-icon--Color: var(--pf-v6-c-menu-toggle--m-primary--expanded__toggle-icon--Color);
|
|
170
180
|
--pf-v6-c-menu-toggle__toggle-icon--Color: var(--pf-v6-c-menu-toggle--m-primary__toggle-icon--Color);
|
|
181
|
+
--pf-v6-c-menu-toggle--m-small--PaddingInlineStart: var(--pf-v6-c-menu-toggle--m-primary--m-small--PaddingInlineStart);
|
|
182
|
+
--pf-v6-c-menu-toggle--m-small--PaddingInlineEnd: var(--pf-v6-c-menu-toggle--m-primary--m-small--PaddingInlineEnd);
|
|
171
183
|
}
|
|
172
184
|
.pf-v6-c-menu-toggle.pf-m-secondary {
|
|
173
185
|
--pf-v6-c-menu-toggle--PaddingInlineStart: var(--pf-v6-c-menu-toggle--m-secondary--PaddingInlineStart);
|
|
@@ -183,6 +195,8 @@
|
|
|
183
195
|
--pf-v6-c-menu-toggle--hover__toggle-icon--Color: var(--pf-v6-c-menu-toggle--m-secondary--hover__toggle-icon--Color);
|
|
184
196
|
--pf-v6-c-menu-toggle--expanded__toggle-icon--Color: var(--pf-v6-c-menu-toggle--m-secondary--expanded__toggle-icon--Color);
|
|
185
197
|
--pf-v6-c-menu-toggle__toggle-icon--Color: var(--pf-v6-c-menu-toggle--m-secondary__toggle-icon--Color);
|
|
198
|
+
--pf-v6-c-menu-toggle--m-small--PaddingInlineStart: var(--pf-v6-c-menu-toggle--m-secondary--m-small--PaddingInlineStart);
|
|
199
|
+
--pf-v6-c-menu-toggle--m-small--PaddingInlineEnd: var(--pf-v6-c-menu-toggle--m-secondary--m-small--PaddingInlineEnd);
|
|
186
200
|
}
|
|
187
201
|
.pf-v6-c-menu-toggle.pf-m-full-height {
|
|
188
202
|
--pf-v6-c-menu-toggle--PaddingInlineEnd: var(--pf-v6-c-menu-toggle--m-full-height--PaddingInlineEnd);
|
|
@@ -207,6 +221,8 @@
|
|
|
207
221
|
--pf-v6-c-menu-toggle--disabled__icon--Color: var(--pf-v6-c-menu-toggle--m-plain--disabled__icon--Color);
|
|
208
222
|
--pf-v6-c-menu-toggle--disabled__toggle-icon--Color: var(--pf-v6-c-menu-toggle--m-plain--disabled__icon--Color);
|
|
209
223
|
--pf-v6-c-menu-toggle--disabled--BackgroundColor: var(--pf-v6-c-menu-toggle--m-plain--disabled--BackgroundColor);
|
|
224
|
+
--pf-v6-c-menu-toggle--m-small--PaddingInlineStart: var(--pf-v6-c-menu-toggle--m-plain--m-small--PaddingInlineStart);
|
|
225
|
+
--pf-v6-c-menu-toggle--m-small--PaddingInlineEnd: var(--pf-v6-c-menu-toggle--m-plain--m-small--PaddingInlineEnd);
|
|
210
226
|
}
|
|
211
227
|
.pf-v6-c-menu-toggle.pf-m-plain::before {
|
|
212
228
|
border: none;
|
|
@@ -233,6 +249,10 @@
|
|
|
233
249
|
--pf-v6-c-menu-toggle--PaddingBlockEnd: var(--pf-v6-c-menu-toggle--m-small--PaddingBlockEnd);
|
|
234
250
|
--pf-v6-c-menu-toggle--PaddingInlineStart: var(--pf-v6-c-menu-toggle--m-small--PaddingInlineStart);
|
|
235
251
|
--pf-v6-c-menu-toggle--PaddingInlineEnd: var(--pf-v6-c-menu-toggle--m-small--PaddingInlineEnd);
|
|
252
|
+
--pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineStart: var(--pf-v6-c-menu-toggle--m-small__button--toggle-icon--PaddingInlineStart);
|
|
253
|
+
--pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineEnd: var(--pf-v6-c-menu-toggle--m-small__button--toggle-icon--PaddingInlineEnd);
|
|
254
|
+
--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineStart--offset: var(--pf-v6-c-menu-toggle--m-split-button--m-small--pill--child--PaddingInlineStart--offset);
|
|
255
|
+
--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineEnd--offset: var(--pf-v6-c-menu-toggle--m-split-button--m-small--pill--child--PaddingInlineEnd--offset);
|
|
236
256
|
}
|
|
237
257
|
.pf-v6-c-menu-toggle.pf-m-success {
|
|
238
258
|
--pf-v6-c-menu-toggle--BorderColor: var(--pf-v6-c-menu-toggle--m-success--BorderColor);
|
|
@@ -311,13 +331,13 @@
|
|
|
311
331
|
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary {
|
|
312
332
|
--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor: var(--pf-v6-c-menu-toggle--m-split-button--m-secondary--child--BorderInlineStartColor);
|
|
313
333
|
}
|
|
314
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-
|
|
315
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-check:not(.pf-m-standalone):first-child, .pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-
|
|
334
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-toggle__controls:only-child)):first-child,
|
|
335
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-check:not(.pf-m-standalone):first-child, .pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-toggle__controls:only-child)):first-child,
|
|
316
336
|
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-check:not(.pf-m-standalone):first-child {
|
|
317
337
|
padding-inline-end: var(--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineEnd--offset);
|
|
318
338
|
}
|
|
319
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-
|
|
320
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-check:not(.pf-m-standalone):last-child, .pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-
|
|
339
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-toggle__controls:only-child)):last-child,
|
|
340
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-check:not(.pf-m-standalone):last-child, .pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-toggle__controls:only-child)):last-child,
|
|
321
341
|
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-check:not(.pf-m-standalone):last-child {
|
|
322
342
|
padding-inline-start: var(--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineStart--offset);
|
|
323
343
|
}
|
|
@@ -383,13 +403,6 @@
|
|
|
383
403
|
flex-wrap: nowrap;
|
|
384
404
|
}
|
|
385
405
|
|
|
386
|
-
.pf-v6-c-menu-toggle__controls,
|
|
387
|
-
.pf-v6-c-menu-toggle__toggle-icon {
|
|
388
|
-
display: flex;
|
|
389
|
-
align-items: center;
|
|
390
|
-
justify-content: center;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
406
|
.pf-v6-c-menu-toggle__icon {
|
|
394
407
|
flex-shrink: 0;
|
|
395
408
|
}
|
|
@@ -401,7 +414,10 @@
|
|
|
401
414
|
}
|
|
402
415
|
|
|
403
416
|
.pf-v6-c-menu-toggle__controls {
|
|
417
|
+
display: flex;
|
|
404
418
|
gap: var(--pf-v6-c-menu-toggle__controls--Gap);
|
|
419
|
+
align-items: center;
|
|
420
|
+
justify-content: center;
|
|
405
421
|
margin-inline-start: auto;
|
|
406
422
|
}
|
|
407
423
|
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
// TODO: standardize this layout
|
|
4
|
-
// TODO: add .#{$menu-toggle}__main to house extra elements, like .#{$menu-toggle}__icon, .#{$menu-toggle}__text, .#{$menu-toggle}__count, .#{$menu-toggle}__controls
|
|
5
|
-
// TODO: transition to row/column gap instead of margins
|
|
6
|
-
// TODO: abstract button / control styling to affect any/all variants
|
|
7
|
-
// TODO: move controls to wrap buttons, not the other way around
|
|
8
|
-
// TODO: update text-input-button to use gap
|
|
9
|
-
// TODO: label all variables group - // * Menu toggle (vars) // - Menu toggle (selectors)
|
|
10
|
-
|
|
11
3
|
@include pf-root($menu-toggle) {
|
|
12
4
|
--#{$menu-toggle}--Gap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
13
5
|
--#{$menu-toggle}--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
|
|
@@ -72,6 +64,8 @@
|
|
|
72
64
|
--#{$menu-toggle}--m-primary__toggle-icon--Color: var(--pf-t--global--icon--color--on-brand--default);
|
|
73
65
|
--#{$menu-toggle}--m-primary--hover__toggle-icon--Color: var(--pf-t--global--icon--color--on-brand--hover);
|
|
74
66
|
--#{$menu-toggle}--m-primary--expanded__toggle-icon--Color: var(--pf-t--global--icon--color--on-brand--clicked);
|
|
67
|
+
--#{$menu-toggle}--m-primary--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--compact);
|
|
68
|
+
--#{$menu-toggle}--m-primary--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--compact);
|
|
75
69
|
|
|
76
70
|
// * Menu toggle secondary
|
|
77
71
|
--#{$menu-toggle}--m-secondary--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--default);
|
|
@@ -88,6 +82,8 @@
|
|
|
88
82
|
--#{$menu-toggle}--m-secondary__toggle-icon--Color: var(--pf-t--global--icon--color--brand--default);
|
|
89
83
|
--#{$menu-toggle}--m-secondary--hover__toggle-icon--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
90
84
|
--#{$menu-toggle}--m-secondary--expanded__toggle-icon--Color: var(--pf-t--global--icon--color--brand--clicked);
|
|
85
|
+
--#{$menu-toggle}--m-secondary--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--compact);
|
|
86
|
+
--#{$menu-toggle}--m-secondary--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--compact);
|
|
91
87
|
|
|
92
88
|
// Full height
|
|
93
89
|
--#{$menu-toggle}--m-full-height--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--spacious);
|
|
@@ -102,6 +98,8 @@
|
|
|
102
98
|
--#{$menu-toggle}--m-split-button--child--disabled--BorderInlineStartColor: var(--pf-t--global--icon--color--on-disabled);
|
|
103
99
|
--#{$menu-toggle}--m-split-button--pill--child--PaddingInlineStart--offset: var(--pf-t--global--spacer--control--horizontal--default);
|
|
104
100
|
--#{$menu-toggle}--m-split-button--pill--child--PaddingInlineEnd--offset: var(--pf-t--global--spacer--control--horizontal--default);
|
|
101
|
+
--#{$menu-toggle}--m-split-button--m-small--pill--child--PaddingInlineStart--offset: var(--pf-t--global--spacer--control--horizontal--compact);
|
|
102
|
+
--#{$menu-toggle}--m-split-button--m-small--pill--child--PaddingInlineEnd--offset: var(--pf-t--global--spacer--control--horizontal--compact);
|
|
105
103
|
|
|
106
104
|
// Split button action, primary
|
|
107
105
|
--#{$menu-toggle}--m-split-button--m-primary--child--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
@@ -122,6 +120,8 @@
|
|
|
122
120
|
--#{$menu-toggle}__button--m-text--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
123
121
|
--#{$menu-toggle}__button--toggle-icon--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--default);
|
|
124
122
|
--#{$menu-toggle}__button--toggle-icon--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
|
|
123
|
+
--#{$menu-toggle}--m-small__button--toggle-icon--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--compact);
|
|
124
|
+
--#{$menu-toggle}--m-small__button--toggle-icon--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--compact);
|
|
125
125
|
|
|
126
126
|
// Menu toggle plain
|
|
127
127
|
--#{$menu-toggle}--m-plain--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
|
@@ -135,6 +135,8 @@
|
|
|
135
135
|
--#{$menu-toggle}--m-plain--disabled__icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
136
136
|
--#{$menu-toggle}--m-plain--disabled__toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
137
137
|
--#{$menu-toggle}--m-plain--disabled--BackgroundColor: transparent;
|
|
138
|
+
--#{$menu-toggle}--m-plain--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
139
|
+
--#{$menu-toggle}--m-plain--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
138
140
|
|
|
139
141
|
// Typeahead
|
|
140
142
|
--#{$menu-toggle}--m-typeahead__button--AlignSelf: stretch;
|
|
@@ -224,6 +226,8 @@
|
|
|
224
226
|
--#{$menu-toggle}--hover__toggle-icon--Color: var(--#{$menu-toggle}--m-primary--hover__toggle-icon--Color);
|
|
225
227
|
--#{$menu-toggle}--expanded__toggle-icon--Color: var(--#{$menu-toggle}--m-primary--expanded__toggle-icon--Color);
|
|
226
228
|
--#{$menu-toggle}__toggle-icon--Color: var(--#{$menu-toggle}--m-primary__toggle-icon--Color);
|
|
229
|
+
--#{$menu-toggle}--m-small--PaddingInlineStart: var(--#{$menu-toggle}--m-primary--m-small--PaddingInlineStart);
|
|
230
|
+
--#{$menu-toggle}--m-small--PaddingInlineEnd: var(--#{$menu-toggle}--m-primary--m-small--PaddingInlineEnd);
|
|
227
231
|
}
|
|
228
232
|
|
|
229
233
|
&.pf-m-secondary {
|
|
@@ -241,6 +245,8 @@
|
|
|
241
245
|
--#{$menu-toggle}--hover__toggle-icon--Color: var(--#{$menu-toggle}--m-secondary--hover__toggle-icon--Color);
|
|
242
246
|
--#{$menu-toggle}--expanded__toggle-icon--Color: var(--#{$menu-toggle}--m-secondary--expanded__toggle-icon--Color);
|
|
243
247
|
--#{$menu-toggle}__toggle-icon--Color: var(--#{$menu-toggle}--m-secondary__toggle-icon--Color);
|
|
248
|
+
--#{$menu-toggle}--m-small--PaddingInlineStart: var(--#{$menu-toggle}--m-secondary--m-small--PaddingInlineStart);
|
|
249
|
+
--#{$menu-toggle}--m-small--PaddingInlineEnd: var(--#{$menu-toggle}--m-secondary--m-small--PaddingInlineEnd);
|
|
244
250
|
}
|
|
245
251
|
|
|
246
252
|
&.pf-m-full-height {
|
|
@@ -269,6 +275,8 @@
|
|
|
269
275
|
--#{$menu-toggle}--disabled__icon--Color: var(--#{$menu-toggle}--m-plain--disabled__icon--Color);
|
|
270
276
|
--#{$menu-toggle}--disabled__toggle-icon--Color: var(--#{$menu-toggle}--m-plain--disabled__icon--Color);
|
|
271
277
|
--#{$menu-toggle}--disabled--BackgroundColor: var(--#{$menu-toggle}--m-plain--disabled--BackgroundColor);
|
|
278
|
+
--#{$menu-toggle}--m-small--PaddingInlineStart: var(--#{$menu-toggle}--m-plain--m-small--PaddingInlineStart);
|
|
279
|
+
--#{$menu-toggle}--m-small--PaddingInlineEnd: var(--#{$menu-toggle}--m-plain--m-small--PaddingInlineEnd);
|
|
272
280
|
|
|
273
281
|
&::before {
|
|
274
282
|
border: none;
|
|
@@ -304,6 +312,10 @@
|
|
|
304
312
|
--#{$menu-toggle}--PaddingBlockEnd: var(--#{$menu-toggle}--m-small--PaddingBlockEnd);
|
|
305
313
|
--#{$menu-toggle}--PaddingInlineStart: var(--#{$menu-toggle}--m-small--PaddingInlineStart);
|
|
306
314
|
--#{$menu-toggle}--PaddingInlineEnd: var(--#{$menu-toggle}--m-small--PaddingInlineEnd);
|
|
315
|
+
--#{$menu-toggle}__button--toggle-icon--PaddingInlineStart: var(--#{$menu-toggle}--m-small__button--toggle-icon--PaddingInlineStart);
|
|
316
|
+
--#{$menu-toggle}__button--toggle-icon--PaddingInlineEnd: var(--#{$menu-toggle}--m-small__button--toggle-icon--PaddingInlineEnd);
|
|
317
|
+
--#{$menu-toggle}--m-split-button--pill--child--PaddingInlineStart--offset: var(--#{$menu-toggle}--m-split-button--m-small--pill--child--PaddingInlineStart--offset);
|
|
318
|
+
--#{$menu-toggle}--m-split-button--pill--child--PaddingInlineEnd--offset: var(--#{$menu-toggle}--m-split-button--m-small--pill--child--PaddingInlineEnd--offset);
|
|
307
319
|
}
|
|
308
320
|
|
|
309
321
|
&.pf-m-success {
|
|
@@ -411,7 +423,7 @@
|
|
|
411
423
|
&.pf-m-primary,
|
|
412
424
|
&.pf-m-secondary {
|
|
413
425
|
// Reduce the padding before/after the border unless it's an icon/check-only element
|
|
414
|
-
.#{$menu-toggle}__button:not(:has(.#{$menu-toggle}
|
|
426
|
+
.#{$menu-toggle}__button:not(:has(.#{$menu-toggle}__controls:only-child)),
|
|
415
427
|
.#{$check}:not(.pf-m-standalone) {
|
|
416
428
|
&:first-child {
|
|
417
429
|
padding-inline-end: var(--#{$menu-toggle}--m-split-button--pill--child--PaddingInlineEnd--offset);
|
|
@@ -500,14 +512,6 @@
|
|
|
500
512
|
flex-wrap: nowrap;
|
|
501
513
|
}
|
|
502
514
|
|
|
503
|
-
// - Menu toggle controls - Menu toggle icon
|
|
504
|
-
.#{$menu-toggle}__controls,
|
|
505
|
-
.#{$menu-toggle}__toggle-icon {
|
|
506
|
-
display: flex;
|
|
507
|
-
align-items: center;
|
|
508
|
-
justify-content: center;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
515
|
.#{$menu-toggle}__icon {
|
|
512
516
|
flex-shrink: 0;
|
|
513
517
|
|
|
@@ -523,7 +527,10 @@
|
|
|
523
527
|
|
|
524
528
|
// - Menu toggle controls
|
|
525
529
|
.#{$menu-toggle}__controls {
|
|
530
|
+
display: flex;
|
|
526
531
|
gap: var(--#{$menu-toggle}__controls--Gap);
|
|
532
|
+
align-items: center;
|
|
533
|
+
justify-content: center;
|
|
527
534
|
margin-inline-start: auto; // TODO: possibly replace as part of one of the other TODOs at top of file
|
|
528
535
|
}
|
|
529
536
|
|
package/components/Page/page.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
|
|
5
5
|
--pf-v6-c-page__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
6
6
|
--pf-v6-c-page__sidebar--Width: 18.125rem;
|
|
7
|
-
--pf-v6-c-page__sidebar--xl--Width:
|
|
7
|
+
--pf-v6-c-page__sidebar--xl--Width: 18.125rem;
|
|
8
8
|
--pf-v6-c-page__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
9
9
|
--pf-v6-c-page__sidebar--BoxShadow: none;
|
|
10
10
|
--pf-v6-c-page__sidebar--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--default);
|
|
@@ -193,18 +193,21 @@
|
|
|
193
193
|
flex-grow: 0;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
196
197
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
197
198
|
.pf-v6-c-page__main-tabs.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
198
199
|
.pf-v6-c-page__main-section.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
199
200
|
.pf-v6-c-page__main-wizard.pf-m-limit-width > .pf-v6-c-page__main-body {
|
|
200
201
|
max-width: var(--pf-v6-c-page--section--m-limit-width--MaxWidth);
|
|
201
202
|
}
|
|
203
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width.pf-m-align-center,
|
|
202
204
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width.pf-m-align-center,
|
|
203
205
|
.pf-v6-c-page__main-tabs.pf-m-limit-width.pf-m-align-center,
|
|
204
206
|
.pf-v6-c-page__main-section.pf-m-limit-width.pf-m-align-center,
|
|
205
207
|
.pf-v6-c-page__main-wizard.pf-m-limit-width.pf-m-align-center {
|
|
206
208
|
align-items: center;
|
|
207
209
|
}
|
|
210
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
208
211
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
209
212
|
.pf-v6-c-page__main-tabs.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
210
213
|
.pf-v6-c-page__main-section.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
@@ -15,7 +15,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
15
15
|
// Sidebar
|
|
16
16
|
--#{$page}__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
17
17
|
--#{$page}__sidebar--Width: #{pf-size-prem(290px)};
|
|
18
|
-
--#{$page}__sidebar--xl--Width:
|
|
18
|
+
--#{$page}__sidebar--xl--Width: #{pf-size-prem(290px)}; // TODO Can remove at breaking change
|
|
19
19
|
--#{$page}__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
20
20
|
--#{$page}__sidebar--BoxShadow: none;
|
|
21
21
|
|
|
@@ -136,7 +136,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
136
136
|
background-color: var(--#{$page}--BackgroundColor);
|
|
137
137
|
|
|
138
138
|
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
139
|
-
--#{$page}__sidebar--Width: var(--#{$page}__sidebar--xl--Width);
|
|
139
|
+
--#{$page}__sidebar--Width: var(--#{$page}__sidebar--xl--Width); // TODO can remove at breaking change
|
|
140
140
|
|
|
141
141
|
grid-template-areas:
|
|
142
142
|
"header header"
|
|
@@ -247,6 +247,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
+
.#{$page}__main-subnav,
|
|
250
251
|
.#{$page}__main-breadcrumb,
|
|
251
252
|
.#{$page}__main-tabs,
|
|
252
253
|
.#{$page}__main-section,
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
--pf-v6-c-table--cell--Width: auto;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
@media screen and (max-width: 48rem) {
|
|
358
|
+
@media screen and (max-width: calc(48rem - 1px)) {
|
|
359
359
|
.pf-m-grid-md.pf-v6-c-table {
|
|
360
360
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
361
361
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -625,14 +625,14 @@
|
|
|
625
625
|
text-align: end;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
@media screen and (max-width: 48rem) and (max-width: 36rem) {
|
|
628
|
+
@media screen and (max-width: calc(48rem - 1px)) and (max-width: 36rem) {
|
|
629
629
|
.pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__action {
|
|
630
630
|
grid-row-start: 1;
|
|
631
631
|
grid-column-start: 2;
|
|
632
632
|
margin-inline-start: 0;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
@media screen and (max-width: 48rem) {
|
|
635
|
+
@media screen and (max-width: calc(48rem - 1px)) {
|
|
636
636
|
.pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
637
637
|
grid-column: 2;
|
|
638
638
|
grid-row: 2;
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
@media screen and (max-width: 62rem) {
|
|
661
|
+
@media screen and (max-width: calc(62rem - 1px)) {
|
|
662
662
|
.pf-m-grid-lg.pf-v6-c-table {
|
|
663
663
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
664
664
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -928,14 +928,14 @@
|
|
|
928
928
|
text-align: end;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
@media screen and (max-width: 62rem) and (max-width: 36rem) {
|
|
931
|
+
@media screen and (max-width: calc(62rem - 1px)) and (max-width: 36rem) {
|
|
932
932
|
.pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__action {
|
|
933
933
|
grid-row-start: 1;
|
|
934
934
|
grid-column-start: 2;
|
|
935
935
|
margin-inline-start: 0;
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
|
-
@media screen and (max-width: 62rem) {
|
|
938
|
+
@media screen and (max-width: calc(62rem - 1px)) {
|
|
939
939
|
.pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
940
940
|
grid-column: 2;
|
|
941
941
|
grid-row: 2;
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
}
|
|
962
962
|
}
|
|
963
963
|
|
|
964
|
-
@media screen and (max-width: 75rem) {
|
|
964
|
+
@media screen and (max-width: calc(75rem - 1px)) {
|
|
965
965
|
.pf-m-grid-xl.pf-v6-c-table {
|
|
966
966
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
967
967
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -1231,14 +1231,14 @@
|
|
|
1231
1231
|
text-align: end;
|
|
1232
1232
|
}
|
|
1233
1233
|
}
|
|
1234
|
-
@media screen and (max-width: 75rem) and (max-width: 36rem) {
|
|
1234
|
+
@media screen and (max-width: calc(75rem - 1px)) and (max-width: 36rem) {
|
|
1235
1235
|
.pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__action {
|
|
1236
1236
|
grid-row-start: 1;
|
|
1237
1237
|
grid-column-start: 2;
|
|
1238
1238
|
margin-inline-start: 0;
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
|
-
@media screen and (max-width: 75rem) {
|
|
1241
|
+
@media screen and (max-width: calc(75rem - 1px)) {
|
|
1242
1242
|
.pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
1243
1243
|
grid-column: 2;
|
|
1244
1244
|
grid-row: 2;
|
|
@@ -1264,7 +1264,7 @@
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
|
-
@media screen and (max-width: 90.625rem) {
|
|
1267
|
+
@media screen and (max-width: calc(90.625rem - 1px)) {
|
|
1268
1268
|
.pf-m-grid-2xl.pf-v6-c-table {
|
|
1269
1269
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
1270
1270
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -1534,14 +1534,14 @@
|
|
|
1534
1534
|
text-align: end;
|
|
1535
1535
|
}
|
|
1536
1536
|
}
|
|
1537
|
-
@media screen and (max-width: 90.625rem) and (max-width: 36rem) {
|
|
1537
|
+
@media screen and (max-width: calc(90.625rem - 1px)) and (max-width: 36rem) {
|
|
1538
1538
|
.pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__action {
|
|
1539
1539
|
grid-row-start: 1;
|
|
1540
1540
|
grid-column-start: 2;
|
|
1541
1541
|
margin-inline-start: 0;
|
|
1542
1542
|
}
|
|
1543
1543
|
}
|
|
1544
|
-
@media screen and (max-width: 90.625rem) {
|
|
1544
|
+
@media screen and (max-width: calc(90.625rem - 1px)) {
|
|
1545
1545
|
.pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
1546
1546
|
grid-column: 2;
|
|
1547
1547
|
grid-row: 2;
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.pf-m-grid-md.#{$table} {
|
|
10
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--md) {
|
|
10
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--md)) {
|
|
11
11
|
@content;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.pf-m-grid-lg.#{$table} {
|
|
16
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--lg) {
|
|
16
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--lg)) {
|
|
17
17
|
@content;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.pf-m-grid-xl.#{$table} {
|
|
22
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--xl) {
|
|
22
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--xl)) {
|
|
23
23
|
@content;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.pf-m-grid-2xl.#{$table} {
|
|
28
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--2xl) {
|
|
28
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--2xl)) {
|
|
29
29
|
@content;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingInlineStart: calc(var(--pf-v6-c-table__tree-view-main--nested-indent--base) * 9 + var(--pf-v6-c-table__tree-view-main--indent--base));
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
@media screen and (max-width: 48rem) {
|
|
249
|
+
@media screen and (max-width: calc(48rem - 1px)) {
|
|
250
250
|
.pf-m-tree-view-grid-md.pf-v6-c-table {
|
|
251
251
|
--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
252
252
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
@media screen and (max-width: 62rem) {
|
|
392
|
+
@media screen and (max-width: calc(62rem - 1px)) {
|
|
393
393
|
.pf-m-tree-view-grid-lg.pf-v6-c-table {
|
|
394
394
|
--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
395
395
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
|
|
535
|
-
@media screen and (max-width: 75rem) {
|
|
535
|
+
@media screen and (max-width: calc(75rem - 1px)) {
|
|
536
536
|
.pf-m-tree-view-grid-xl.pf-v6-c-table {
|
|
537
537
|
--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
538
538
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -675,7 +675,7 @@
|
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
677
|
|
|
678
|
-
@media screen and (max-width: 90.625rem) {
|
|
678
|
+
@media screen and (max-width: calc(90.625rem - 1px)) {
|
|
679
679
|
.pf-m-tree-view-grid-2xl.pf-v6-c-table {
|
|
680
680
|
--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
681
681
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -126,25 +126,25 @@ $pf-v6-c-tree-view--MaxDepth: 10;
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.pf-m-tree-view-grid-md.#{$table} {
|
|
129
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--md) {
|
|
129
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--md)) {
|
|
130
130
|
@content;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.pf-m-tree-view-grid-lg.#{$table} {
|
|
135
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--lg) {
|
|
135
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--lg)) {
|
|
136
136
|
@content;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.pf-m-tree-view-grid-xl.#{$table} {
|
|
141
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--xl) {
|
|
141
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--xl)) {
|
|
142
142
|
@content;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.pf-m-tree-view-grid-2xl.#{$table} {
|
|
147
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--2xl) {
|
|
147
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--2xl)) {
|
|
148
148
|
@content;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
--pf-v6-c-table--cell--Color: var(--pf-t--global--text--color--regular);
|
|
28
28
|
--pf-v6-c-table--cell--first-last-child--PaddingInline: var(--pf-t--global--spacer--inset--page-chrome);
|
|
29
29
|
--pf-v6-c-table__tr--m-first-cell-offset-reset--cell--PaddingInlineStart: var(--pf-v6-c-table--cell--Padding--base);
|
|
30
|
-
--pf-v6-c-table--cell--MinWidth:
|
|
30
|
+
--pf-v6-c-table--cell--MinWidth: calc(var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineEnd));
|
|
31
31
|
--pf-v6-c-table--cell--MaxWidth: none;
|
|
32
32
|
--pf-v6-c-table--cell--Width: auto;
|
|
33
33
|
--pf-v6-c-table--cell--Overflow: visible;
|
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
--pf-v6-c-table--cell--m-help--MinWidth: 11ch;
|
|
42
42
|
--pf-v6-c-table--m-truncate--cell--MaxWidth: 1px;
|
|
43
43
|
--pf-v6-c-table--m-truncate--cell--MinWidth: calc(5ch + var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineStart));
|
|
44
|
+
--pf-v6-c-table__text--MinWidth: 100%;
|
|
45
|
+
--pf-v6-c-table__text--m-truncate--MinWidth: 5ch;
|
|
44
46
|
--pf-v6-c-table--m-truncate__text--MinWidth: 5ch;
|
|
45
47
|
--pf-v6-c-table--cell--hidden-visible--Display: table-cell;
|
|
46
48
|
--pf-v6-c-table__toggle--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -429,11 +431,10 @@
|
|
|
429
431
|
}
|
|
430
432
|
|
|
431
433
|
.pf-v6-c-table__text {
|
|
432
|
-
--pf-v6-c-table--cell--MaxWidth: 100%;
|
|
433
434
|
position: relative;
|
|
434
435
|
display: block;
|
|
435
436
|
width: var(--pf-v6-c-table--cell--Width);
|
|
436
|
-
min-width: var(--pf-v6-c-
|
|
437
|
+
min-width: var(--pf-v6-c-table__text--MinWidth);
|
|
437
438
|
max-width: var(--pf-v6-c-table--cell--MaxWidth);
|
|
438
439
|
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
439
440
|
line-height: var(--pf-v6-c-table--cell--LineHeight);
|
|
@@ -443,7 +444,7 @@
|
|
|
443
444
|
}
|
|
444
445
|
.pf-v6-c-table__text.pf-m-truncate {
|
|
445
446
|
--pf-v6-c-table--cell--MinWidth: 100%;
|
|
446
|
-
--pf-v6-c-
|
|
447
|
+
min-width: max(var(--pf-v6-c-table__text--m-truncate--MinWidth), var(--pf-v6-c-table__text--MinWidth));
|
|
447
448
|
}
|
|
448
449
|
.pf-v6-c-table__text.pf-m-truncate > :where(th, td) {
|
|
449
450
|
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
@@ -496,6 +497,7 @@
|
|
|
496
497
|
.pf-v6-c-table__button-content .pf-v6-c-table__text,
|
|
497
498
|
.pf-v6-c-table__column-help .pf-v6-c-table__text {
|
|
498
499
|
min-width: auto;
|
|
500
|
+
max-width: 100%;
|
|
499
501
|
}
|
|
500
502
|
.pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-nowrap .pf-v6-c-table__button-content,
|
|
501
503
|
.pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__column-help,
|
|
@@ -526,6 +528,7 @@
|
|
|
526
528
|
.pf-v6-c-table .pf-v6-c-table__draggable {
|
|
527
529
|
--pf-v6-c-table--cell--MinWidth: 0;
|
|
528
530
|
--pf-v6-c-table--cell--Width: 1%;
|
|
531
|
+
max-width: none;
|
|
529
532
|
}
|
|
530
533
|
|
|
531
534
|
.pf-v6-c-table .pf-v6-c-table__favorite {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
--#{$table}__tr--m-first-cell-offset-reset--cell--PaddingInlineStart: var(--#{$table}--cell--Padding--base);
|
|
49
49
|
|
|
50
50
|
// * Table cell - default variables
|
|
51
|
-
--#{$table}--cell--MinWidth:
|
|
51
|
+
--#{$table}--cell--MinWidth: calc(var(--#{$table}--cell--PaddingInlineEnd) + var(--#{$table}--cell--PaddingInlineEnd));
|
|
52
52
|
--#{$table}--cell--MaxWidth: none;
|
|
53
53
|
--#{$table}--cell--Width: auto;
|
|
54
54
|
--#{$table}--cell--Overflow: visible;
|
|
@@ -70,6 +70,8 @@
|
|
|
70
70
|
--#{$table}--m-truncate--cell--MinWidth: calc(5ch + var(--#{$table}--cell--PaddingInlineEnd) + var(--#{$table}--cell--PaddingInlineStart));
|
|
71
71
|
|
|
72
72
|
// * Table truncate
|
|
73
|
+
--#{$table}__text--MinWidth: 100%;
|
|
74
|
+
--#{$table}__text--m-truncate--MinWidth: 5ch;
|
|
73
75
|
--#{$table}--m-truncate__text--MinWidth: 5ch;
|
|
74
76
|
|
|
75
77
|
// * Table cell hidden visible
|
|
@@ -602,12 +604,10 @@
|
|
|
602
604
|
|
|
603
605
|
// - Table text
|
|
604
606
|
.#{$table}__text {
|
|
605
|
-
--#{$table}--cell--MaxWidth: 100%;
|
|
606
|
-
|
|
607
607
|
position: relative;
|
|
608
608
|
display: block;
|
|
609
609
|
width: var(--#{$table}--cell--Width);
|
|
610
|
-
min-width: var(--#{$table}--
|
|
610
|
+
min-width: var(--#{$table}__text--MinWidth);
|
|
611
611
|
max-width: var(--#{$table}--cell--MaxWidth);
|
|
612
612
|
overflow: var(--#{$table}--cell--Overflow);
|
|
613
613
|
line-height: var(--#{$table}--cell--LineHeight);
|
|
@@ -618,7 +618,8 @@
|
|
|
618
618
|
// Only apply these settings if specifically modified
|
|
619
619
|
&.pf-m-truncate {
|
|
620
620
|
--#{$table}--cell--MinWidth: 100%;
|
|
621
|
-
|
|
621
|
+
|
|
622
|
+
min-width: max(var(--#{$table}__text--m-truncate--MinWidth), var(--#{$table}__text--MinWidth));
|
|
622
623
|
|
|
623
624
|
> :where(th, td) {
|
|
624
625
|
overflow: var(--#{$table}--cell--Overflow);
|
|
@@ -682,6 +683,7 @@
|
|
|
682
683
|
|
|
683
684
|
.#{$table}__text {
|
|
684
685
|
min-width: auto;
|
|
686
|
+
max-width: 100%;
|
|
685
687
|
}
|
|
686
688
|
|
|
687
689
|
.#{$table} thead:where(.#{$table}__thead).pf-m-nowrap &,
|
|
@@ -715,6 +717,8 @@
|
|
|
715
717
|
.#{$table} .#{$table}__draggable {
|
|
716
718
|
--#{$table}--cell--MinWidth: 0;
|
|
717
719
|
--#{$table}--cell--Width: 1%;
|
|
720
|
+
|
|
721
|
+
max-width: none;
|
|
718
722
|
}
|
|
719
723
|
// stylelint-enable
|
|
720
724
|
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
--pf-v6-c-title--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
37
37
|
--pf-v6-c-title--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
|
|
38
38
|
--pf-v6-c-title--m-h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
39
|
+
--pf-v6-c-title--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
.pf-v6-c-title {
|
|
@@ -101,4 +102,7 @@
|
|
|
101
102
|
font-size: var(--pf-v6-c-title--m-h6--FontSize);
|
|
102
103
|
font-weight: var(--pf-v6-c-title--m-h6--FontWeight);
|
|
103
104
|
line-height: var(--pf-v6-c-title--m-h6--LineHeight);
|
|
105
|
+
}
|
|
106
|
+
.pf-v6-c-title.pf-m-page-title {
|
|
107
|
+
font-weight: var(--pf-v6-c-title--m-page-title--FontWeight);
|
|
104
108
|
}
|
|
@@ -64,6 +64,9 @@
|
|
|
64
64
|
--#{$title}--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
65
65
|
--#{$title}--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
|
|
66
66
|
--#{$title}--m-h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
67
|
+
|
|
68
|
+
// Page title
|
|
69
|
+
--#{$title}--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
.#{$title} {
|
|
@@ -141,4 +144,8 @@
|
|
|
141
144
|
font-weight: var(--#{$title}--m-h6--FontWeight);
|
|
142
145
|
line-height: var(--#{$title}--m-h6--LineHeight);
|
|
143
146
|
}
|
|
147
|
+
|
|
148
|
+
&.pf-m-page-title {
|
|
149
|
+
font-weight: var(--#{$title}--m-page-title--FontWeight);
|
|
150
|
+
}
|
|
144
151
|
}
|