@patternfly/patternfly 6.0.0-alpha.103 → 6.0.0-alpha.104
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/components/Drawer/drawer.css +5 -4
- package/components/Drawer/drawer.scss +7 -6
- package/components/Page/page.css +24 -23
- package/components/Page/page.scss +24 -23
- package/docs/components/Drawer/examples/Drawer.md +2 -1
- package/docs/components/Page/deprecated/PageHeader.md +113 -99
- package/docs/components/Page/examples/Page.md +114 -100
- package/docs/demos/AboutModal/examples/AboutModal.md +81 -79
- package/docs/demos/Alert/examples/Alert.md +551 -524
- package/docs/demos/BackToTop/examples/BackToTop.md +211 -209
- package/docs/demos/Banner/examples/Banner.md +420 -412
- package/docs/demos/CardView/examples/CardView.md +1302 -1297
- package/docs/demos/ContextSelector/examples/ContextSelector.md +536 -523
- package/docs/demos/Dashboard/examples/Dashboard.md +1344 -1314
- package/docs/demos/DataList/examples/DataList.md +3006 -2958
- package/docs/demos/DescriptionList/examples/DescriptionList.md +532 -518
- package/docs/demos/Drawer/examples/Drawer.md +544 -528
- package/docs/demos/JumpLinks/examples/JumpLinks.md +915 -897
- package/docs/demos/Masthead/examples/Masthead.md +729 -711
- package/docs/demos/Modal/examples/Modal.md +486 -474
- package/docs/demos/Nav/examples/Nav.md +528 -510
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +440 -435
- package/docs/demos/Page/examples/Page.md +1656 -1633
- package/docs/demos/Page/examples/Penta.md +632 -577
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5222 -5080
- package/docs/demos/Skeleton/examples/Skeleton.md +177 -175
- package/docs/demos/Table/examples/Table.md +14137 -13972
- package/docs/demos/Tabs/examples/Tabs.md +2206 -2138
- package/docs/demos/Toolbar/examples/Toolbar.md +1322 -1269
- package/docs/demos/Wizard/examples/Wizard.md +1571 -1553
- package/package.json +1 -1
- package/patternfly-no-globals.css +29 -27
- package/patternfly-theme-dark-unversioned.css +29 -27
- package/patternfly.css +29 -27
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
--pf-v6-c-drawer__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
4
4
|
--pf-v6-c-drawer__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
5
5
|
--pf-v6-c-drawer__content--FlexBasis: 100%;
|
|
6
|
-
--pf-v6-c-drawer__content--BackgroundColor:
|
|
6
|
+
--pf-v6-c-drawer__content--BackgroundColor: transparent;
|
|
7
|
+
--pf-v6-c-drawer__content--m-primary--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
7
8
|
--pf-v6-c-drawer__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
8
9
|
--pf-v6-c-drawer__content--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
9
10
|
--pf-v6-c-drawer__panel--MinWidth: 50%;
|
|
@@ -204,12 +205,12 @@
|
|
|
204
205
|
order: 0;
|
|
205
206
|
background-color: var(--pf-v6-c-drawer__content--BackgroundColor);
|
|
206
207
|
}
|
|
208
|
+
.pf-v6-c-drawer__content.pf-m-primary {
|
|
209
|
+
--pf-v6-c-drawer__content--BackgroundColor: var(--pf-v6-c-drawer__content--m-primary--BackgroundColor);
|
|
210
|
+
}
|
|
207
211
|
.pf-v6-c-drawer__content.pf-m-secondary {
|
|
208
212
|
--pf-v6-c-drawer__content--BackgroundColor: var(--pf-v6-c-drawer__content--m-secondary--BackgroundColor);
|
|
209
213
|
}
|
|
210
|
-
.pf-v6-c-drawer__content.pf-m-no-background {
|
|
211
|
-
--pf-v6-c-drawer__content--BackgroundColor: transparent;
|
|
212
|
-
}
|
|
213
214
|
.pf-v6-c-drawer__content > .pf-v6-c-drawer__body {
|
|
214
215
|
padding-block-start: var(--pf-v6-c-drawer__content__body--PaddingTop);
|
|
215
216
|
padding-block-end: var(--pf-v6-c-drawer__content__body--PaddingBottom);
|
|
@@ -11,7 +11,8 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
11
11
|
|
|
12
12
|
// Content
|
|
13
13
|
--#{$drawer}__content--FlexBasis: 100%;
|
|
14
|
-
--#{$drawer}__content--BackgroundColor:
|
|
14
|
+
--#{$drawer}__content--BackgroundColor: transparent;
|
|
15
|
+
--#{$drawer}__content--m-primary--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
15
16
|
--#{$drawer}__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
16
17
|
--#{$drawer}__content--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
17
18
|
|
|
@@ -266,14 +267,14 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
266
267
|
order: 0;
|
|
267
268
|
background-color: var(--#{$drawer}__content--BackgroundColor);
|
|
268
269
|
|
|
269
|
-
&.pf-m-
|
|
270
|
-
--#{$drawer}__content--BackgroundColor: var(--#{$drawer}__content--m-
|
|
270
|
+
&.pf-m-primary {
|
|
271
|
+
--#{$drawer}__content--BackgroundColor: var(--#{$drawer}__content--m-primary--BackgroundColor);
|
|
271
272
|
}
|
|
272
273
|
|
|
273
|
-
&.pf-m-
|
|
274
|
-
--#{$drawer}__content--BackgroundColor:
|
|
274
|
+
&.pf-m-secondary {
|
|
275
|
+
--#{$drawer}__content--BackgroundColor: var(--#{$drawer}__content--m-secondary--BackgroundColor);
|
|
275
276
|
}
|
|
276
|
-
|
|
277
|
+
|
|
277
278
|
> .#{$drawer}__body {
|
|
278
279
|
padding-block-start: var(--#{$drawer}__content__body--PaddingTop);
|
|
279
280
|
padding-block-end: var(--#{$drawer}__content__body--PaddingBottom);
|
package/components/Page/page.css
CHANGED
|
@@ -121,19 +121,19 @@
|
|
|
121
121
|
--pf-v6-c-page__sidebar-body--m-menu--BorderTopColor: var(--pf-t--global--border--color--default);
|
|
122
122
|
--pf-v6-c-page__sidebar-body--m-menu--BorderTopWidth: var(--pf-t--global--border--width--button--default);
|
|
123
123
|
--pf-v6-c-page__sidebar-body--m-menu--c-context-selector--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
124
|
-
--pf-v6-c-page__main--ZIndex: var(--pf-v6-global--ZIndex--xs);
|
|
125
|
-
--pf-v6-c-page__main--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg));
|
|
126
|
-
--pf-v6-c-page__main--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
127
|
-
--pf-v6-c-page__main--MarginInlineStart: var(--pf-t--global--spacer--lg);
|
|
128
|
-
--pf-v6-c-page__main--MarginInlineEnd: var(--pf-t--global--spacer--lg);
|
|
129
|
-
--pf-v6-c-page__main--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
130
|
-
--pf-v6-c-page__main--BorderWidth: var(--pf-t--global--spacer--sm);
|
|
131
|
-
--pf-v6-c-page__main--BorderColor: var(--pf-v6-c-page__main--BackgroundColor);
|
|
124
|
+
--pf-v6-c-page__main-container--ZIndex: var(--pf-v6-global--ZIndex--xs);
|
|
125
|
+
--pf-v6-c-page__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg));
|
|
126
|
+
--pf-v6-c-page__main-container--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
127
|
+
--pf-v6-c-page__main-container--MarginInlineStart: var(--pf-t--global--spacer--lg);
|
|
128
|
+
--pf-v6-c-page__main-container--MarginInlineEnd: var(--pf-t--global--spacer--lg);
|
|
129
|
+
--pf-v6-c-page__main-container--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
130
|
+
--pf-v6-c-page__main-container--BorderWidth: var(--pf-t--global--spacer--sm);
|
|
131
|
+
--pf-v6-c-page__main-container--BorderColor: var(--pf-v6-c-page__main-container--BackgroundColor);
|
|
132
132
|
--pf-v6-c-page__main-section--MarginTop: var(--pf-t--global--spacer--md);
|
|
133
133
|
--pf-v6-c-page__main-section--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
134
134
|
--pf-v6-c-page__main-section--PaddingRight: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
|
135
135
|
--pf-v6-c-page__main-section--PaddingBottom: 0;
|
|
136
|
-
--pf-v6-c-page__main-section--PaddingLeft: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
|
136
|
+
--pf-v6-c-page__main-section--PaddingLeft: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main-container--BorderWidth));
|
|
137
137
|
--pf-v6-c-page__main-breadcrumb--main-section--PaddingTop: var(--pf-t--global--spacer--md);
|
|
138
138
|
--pf-v6-c-page__main-section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
139
139
|
--pf-v6-c-page__main-section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
@@ -161,9 +161,9 @@
|
|
|
161
161
|
--pf-v6-c-page__main-subnav--PaddingInlineStart: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
|
162
162
|
--pf-v6-c-page__main-subnav--PaddingInlineEnd: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
|
163
163
|
--pf-v6-c-page__main-breadcrumb--PaddingTop: var(--pf-t--global--spacer--md);
|
|
164
|
-
--pf-v6-c-page__main-breadcrumb--PaddingRight: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
|
164
|
+
--pf-v6-c-page__main-breadcrumb--PaddingRight: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main-container--BorderWidth));
|
|
165
165
|
--pf-v6-c-page__main-breadcrumb--PaddingBottom: 0;
|
|
166
|
-
--pf-v6-c-page__main-breadcrumb--PaddingLeft: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
|
166
|
+
--pf-v6-c-page__main-breadcrumb--PaddingLeft: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main-container--BorderWidth));
|
|
167
167
|
--pf-v6-c-page__main-breadcrumb--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
168
168
|
--pf-v6-c-page__main-tabs--PaddingTop: 0;
|
|
169
169
|
--pf-v6-c-page__main-tabs--PaddingRight: 0;
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
}
|
|
210
210
|
@media (min-width: 1200px) {
|
|
211
211
|
.pf-v6-c-page {
|
|
212
|
-
grid-template-areas: "header header" "
|
|
212
|
+
grid-template-areas: "header header" "sidebar main";
|
|
213
213
|
grid-template-columns: max-content 1fr;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
z-index: var(--pf-v6-c-page__sidebar--ZIndex);
|
|
322
322
|
display: flex;
|
|
323
323
|
flex-direction: column;
|
|
324
|
-
grid-area:
|
|
324
|
+
grid-area: sidebar;
|
|
325
325
|
grid-row-start: 2;
|
|
326
326
|
grid-column-start: 1;
|
|
327
327
|
width: var(--pf-v6-c-page__sidebar--Width);
|
|
@@ -633,26 +633,27 @@
|
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
|
|
636
|
-
.pf-v6-c-page__main {
|
|
636
|
+
.pf-v6-c-page__main-container {
|
|
637
637
|
align-self: start;
|
|
638
|
-
max-height: var(--pf-v6-c-page__main--MaxHeight);
|
|
638
|
+
max-height: var(--pf-v6-c-page__main-container--MaxHeight);
|
|
639
639
|
margin-block-start: 0;
|
|
640
|
-
margin-inline-start: var(--pf-v6-c-page__main--MarginInlineStart);
|
|
641
|
-
margin-inline-end: var(--pf-v6-c-page__main--MarginInlineEnd);
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
border
|
|
640
|
+
margin-inline-start: var(--pf-v6-c-page__main-container--MarginInlineStart);
|
|
641
|
+
margin-inline-end: var(--pf-v6-c-page__main-container--MarginInlineEnd);
|
|
642
|
+
overflow: auto;
|
|
643
|
+
background: var(--pf-v6-c-page__main-container--BackgroundColor);
|
|
644
|
+
border: var(--pf-v6-c-page__main-container--BorderWidth) solid var(--pf-v6-c-page__main-container--BorderColor);
|
|
645
|
+
border-radius: var(--pf-v6-c-page__main-container--BorderRadius);
|
|
645
646
|
}
|
|
646
647
|
|
|
647
|
-
.pf-v6-c-page__main,
|
|
648
|
+
.pf-v6-c-page__main-container,
|
|
648
649
|
.pf-v6-c-page__drawer {
|
|
649
|
-
z-index: var(--pf-v6-c-page__main--ZIndex);
|
|
650
|
+
z-index: var(--pf-v6-c-page__main-container--ZIndex);
|
|
650
651
|
grid-area: main;
|
|
651
652
|
overflow-x: hidden;
|
|
652
653
|
overflow-y: auto;
|
|
653
654
|
-webkit-overflow-scrolling: touch;
|
|
654
655
|
}
|
|
655
|
-
.pf-v6-c-page__main:focus,
|
|
656
|
+
.pf-v6-c-page__main-container:focus,
|
|
656
657
|
.pf-v6-c-page__drawer:focus {
|
|
657
658
|
outline: 0;
|
|
658
659
|
}
|
|
@@ -104,22 +104,22 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
104
104
|
--#{$page}__sidebar--TranslateX: var(--#{$page}__sidebar--xl--TranslateX);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
//
|
|
108
|
-
--#{$page}__main--ZIndex: var(--#{$pf-global}--ZIndex--xs);
|
|
109
|
-
--#{$page}__main--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg));
|
|
110
|
-
--#{$page}__main--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
111
|
-
--#{$page}__main--MarginInlineStart: var(--pf-t--global--spacer--lg);
|
|
112
|
-
--#{$page}__main--MarginInlineEnd: var(--pf-t--global--spacer--lg);
|
|
113
|
-
--#{$page}__main--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
114
|
-
--#{$page}__main--BorderWidth: var(--pf-t--global--spacer--sm); // TODO Change to be a page outline token
|
|
115
|
-
--#{$page}__main--BorderColor: var(--#{$page}__main--BackgroundColor); // TODO Border should match the background to blend in - change to be a page outline token
|
|
107
|
+
// Container for the main content area (grid area)
|
|
108
|
+
--#{$page}__main-container--ZIndex: var(--#{$pf-global}--ZIndex--xs);
|
|
109
|
+
--#{$page}__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg));
|
|
110
|
+
--#{$page}__main-container--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
111
|
+
--#{$page}__main-container--MarginInlineStart: var(--pf-t--global--spacer--lg);
|
|
112
|
+
--#{$page}__main-container--MarginInlineEnd: var(--pf-t--global--spacer--lg);
|
|
113
|
+
--#{$page}__main-container--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
114
|
+
--#{$page}__main-container--BorderWidth: var(--pf-t--global--spacer--sm); // TODO Change to be a page outline token
|
|
115
|
+
--#{$page}__main-container--BorderColor: var(--#{$page}__main-container--BackgroundColor); // TODO Border should match the background to blend in - change to be a page outline token
|
|
116
116
|
|
|
117
117
|
// Main section
|
|
118
118
|
--#{$page}__main-section--MarginTop: var(--pf-t--global--spacer--md);
|
|
119
119
|
--#{$page}__main-section--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
120
120
|
--#{$page}__main-section--PaddingRight: calc(var(--pf-t--global--spacer--lg) - var(--#{$page}__main--BorderWidth)); // subtract the border of the main section - TODO, see if we can remove the need for this calc(), or possibly move it down to the property definition so a user can theme this without a calc()
|
|
121
121
|
--#{$page}__main-section--PaddingBottom: 0;
|
|
122
|
-
--#{$page}__main-section--PaddingLeft: calc(var(--pf-t--global--spacer--lg) - var(--#{$page}__main--BorderWidth)); // subtract the border of the main section
|
|
122
|
+
--#{$page}__main-section--PaddingLeft: calc(var(--pf-t--global--spacer--lg) - var(--#{$page}__main-container--BorderWidth)); // subtract the border of the main section
|
|
123
123
|
--#{$page}__main-breadcrumb--main-section--PaddingTop: var(--pf-t--global--spacer--md);
|
|
124
124
|
--#{$page}__main-section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
125
125
|
--#{$page}__main-section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
@@ -159,9 +159,9 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
159
159
|
|
|
160
160
|
// Main section breadcrumb
|
|
161
161
|
--#{$page}__main-breadcrumb--PaddingTop: var(--pf-t--global--spacer--md);
|
|
162
|
-
--#{$page}__main-breadcrumb--PaddingRight: calc(var(--pf-t--global--spacer--lg) - var(--#{$page}__main--BorderWidth)); // subtract the border of the main section
|
|
162
|
+
--#{$page}__main-breadcrumb--PaddingRight: calc(var(--pf-t--global--spacer--lg) - var(--#{$page}__main-container--BorderWidth)); // subtract the border of the main section
|
|
163
163
|
--#{$page}__main-breadcrumb--PaddingBottom: 0;
|
|
164
|
-
--#{$page}__main-breadcrumb--PaddingLeft: calc(var(--pf-t--global--spacer--lg) - var(--#{$page}__main--BorderWidth)); // subtract the border of the main section
|
|
164
|
+
--#{$page}__main-breadcrumb--PaddingLeft: calc(var(--pf-t--global--spacer--lg) - var(--#{$page}__main-container--BorderWidth)); // subtract the border of the main section
|
|
165
165
|
--#{$page}__main-breadcrumb--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
166
166
|
|
|
167
167
|
// Main section tabs
|
|
@@ -192,7 +192,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
192
192
|
@media (min-width: $pf-v5-global--breakpoint--xl) {
|
|
193
193
|
grid-template-areas:
|
|
194
194
|
"header header"
|
|
195
|
-
"
|
|
195
|
+
"sidebar main";
|
|
196
196
|
grid-template-columns: max-content 1fr;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -316,7 +316,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
316
316
|
z-index: var(--#{$page}__sidebar--ZIndex);
|
|
317
317
|
display: flex;
|
|
318
318
|
flex-direction: column;
|
|
319
|
-
grid-area:
|
|
319
|
+
grid-area: sidebar;
|
|
320
320
|
grid-row-start: 2;
|
|
321
321
|
grid-column-start: 1;
|
|
322
322
|
width: var(--#{$page}__sidebar--Width);
|
|
@@ -492,20 +492,21 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
// Main & Drawer
|
|
495
|
-
.#{$page}__main {
|
|
495
|
+
.#{$page}__main-container {
|
|
496
496
|
align-self: start;
|
|
497
|
-
max-height: var(--#{$page}__main--MaxHeight);
|
|
497
|
+
max-height: var(--#{$page}__main-container--MaxHeight);
|
|
498
498
|
margin-block-start: 0;
|
|
499
|
-
margin-inline-start: var(--#{$page}__main--MarginInlineStart);
|
|
500
|
-
margin-inline-end: var(--#{$page}__main--MarginInlineEnd);
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
border
|
|
499
|
+
margin-inline-start: var(--#{$page}__main-container--MarginInlineStart);
|
|
500
|
+
margin-inline-end: var(--#{$page}__main-container--MarginInlineEnd);
|
|
501
|
+
overflow: auto;
|
|
502
|
+
background: var(--#{$page}__main-container--BackgroundColor);
|
|
503
|
+
border: var(--#{$page}__main-container--BorderWidth) solid var(--#{$page}__main-container--BorderColor);
|
|
504
|
+
border-radius: var(--#{$page}__main-container--BorderRadius);
|
|
504
505
|
}
|
|
505
506
|
|
|
506
|
-
.#{$page}__main,
|
|
507
|
+
.#{$page}__main-container,
|
|
507
508
|
.#{$page}__drawer {
|
|
508
|
-
z-index: var(--#{$page}__main--ZIndex);
|
|
509
|
+
z-index: var(--#{$page}__main-container--ZIndex);
|
|
509
510
|
grid-area: main;
|
|
510
511
|
overflow-x: hidden;
|
|
511
512
|
overflow-y: auto;
|
|
@@ -775,7 +775,8 @@ cssPrefix: pf-v6-c-drawer
|
|
|
775
775
|
| `.pf-m-no-border` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel border treatment to disable all border treatment. |
|
|
776
776
|
| `.pf-m-padding` | `.pf-v6-c-drawer__body` | Modifies the element to add padding. |
|
|
777
777
|
| `.pf-m-no-padding` | `.pf-v6-c-drawer__body` | Modifies the element to remove padding. |
|
|
778
|
-
| `.pf-m-no-background` | `.pf-v6-c-drawer__section`, `.pf-v6-c-
|
|
778
|
+
| `.pf-m-no-background` | `.pf-v6-c-drawer__section`, `.pf-v6-c-drawer__panel` | Modifies the drawer element background color to transparent. |
|
|
779
|
+
| `.pf-m-primary` | `.pf-v6-c-drawer__content` | Modifies the drawer content to use the primary background color. |
|
|
779
780
|
| `.pf-m-secondary` | `.pf-v6-c-drawer__section`, `.pf-v6-c-drawer__content`, `.pf-v6-c-drawer__panel` | Modifies the drawer element to use the secondary background color. |
|
|
780
781
|
| `.pf-m-width-{25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel width at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
781
782
|
| `.pf-m-resizable` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel to be resizable. Intended for use with the `.pf-v6-c-drawer__splitter` element. |
|
|
@@ -21,27 +21,29 @@ deprecated: true
|
|
|
21
21
|
<div class="pf-v6-c-page__sidebar">
|
|
22
22
|
<div class="pf-v6-c-page__sidebar-body">Navigation</div>
|
|
23
23
|
</div>
|
|
24
|
-
<
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
24
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
25
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
26
|
+
<section class="pf-v6-c-page__main-section pf-m-dark-100">
|
|
27
|
+
This
|
|
28
|
+
<code>.pf-v6-c-page__main-section</code> uses
|
|
29
|
+
<code>.pf-m-dark-100</code>.
|
|
30
|
+
</section>
|
|
31
|
+
<section class="pf-v6-c-page__main-section pf-m-dark-200">
|
|
32
|
+
This
|
|
33
|
+
<code>.pf-v6-c-page__main-section</code> uses
|
|
34
|
+
<code>.pf-m-dark-200</code>.
|
|
35
|
+
</section>
|
|
36
|
+
<section class="pf-v6-c-page__main-section pf-m-light">
|
|
37
|
+
This
|
|
38
|
+
<code>.pf-v6-c-page__main-section</code> uses
|
|
39
|
+
<code>.pf-m-light</code>.
|
|
40
|
+
</section>
|
|
41
|
+
<section class="pf-v6-c-page__main-section">
|
|
42
|
+
This is a default
|
|
43
|
+
<code>.pf-v6-c-page__main-section</code>.
|
|
44
|
+
</section>
|
|
45
|
+
</main>
|
|
46
|
+
</div>
|
|
45
47
|
</div>
|
|
46
48
|
|
|
47
49
|
```
|
|
@@ -57,12 +59,14 @@ deprecated: true
|
|
|
57
59
|
<div class="pf-v6-c-page__header-nav">Navigation</div>
|
|
58
60
|
<div class="pf-v6-c-page__header-tools">header-tools</div>
|
|
59
61
|
</header>
|
|
60
|
-
<
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
63
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
64
|
+
<section class="pf-v6-c-page__main-section pf-m-dark-100"></section>
|
|
65
|
+
<section class="pf-v6-c-page__main-section pf-m-dark-200"></section>
|
|
66
|
+
<section class="pf-v6-c-page__main-section pf-m-light"></section>
|
|
67
|
+
<section class="pf-v6-c-page__main-section"></section>
|
|
68
|
+
</main>
|
|
69
|
+
</div>
|
|
66
70
|
</div>
|
|
67
71
|
|
|
68
72
|
```
|
|
@@ -85,9 +89,11 @@ deprecated: true
|
|
|
85
89
|
>inset content</div>
|
|
86
90
|
<div class="pf-v6-c-page__sidebar-body pf-m-page-insets">footer content</div>
|
|
87
91
|
</div>
|
|
88
|
-
<
|
|
89
|
-
<
|
|
90
|
-
|
|
92
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
93
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
94
|
+
<section class="pf-v6-c-page__main-section pf-m-light"></section>
|
|
95
|
+
</main>
|
|
96
|
+
</div>
|
|
91
97
|
</div>
|
|
92
98
|
|
|
93
99
|
```
|
|
@@ -103,19 +109,21 @@ deprecated: true
|
|
|
103
109
|
<div class="pf-v6-c-page__header-nav">Navigation</div>
|
|
104
110
|
<div class="pf-v6-c-page__header-tools">header-tools</div>
|
|
105
111
|
</header>
|
|
106
|
-
<
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
112
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
113
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
114
|
+
<section
|
|
115
|
+
class="pf-v6-c-page__main-section pf-m-light"
|
|
116
|
+
>A regular page section.</section>
|
|
117
|
+
<section class="pf-v6-c-page__main-section pf-m-fill">
|
|
118
|
+
This section uses
|
|
119
|
+
<code>.pf-m-fill</code> to fill the available space.
|
|
120
|
+
</section>
|
|
121
|
+
<section class="pf-v6-c-page__main-section pf-m-light pf-m-no-fill">
|
|
122
|
+
This section uses
|
|
123
|
+
<code>.pf-m-no-fill</code> to not fill the available space.
|
|
124
|
+
</section>
|
|
125
|
+
</main>
|
|
126
|
+
</div>
|
|
119
127
|
</div>
|
|
120
128
|
|
|
121
129
|
```
|
|
@@ -134,25 +142,27 @@ deprecated: true
|
|
|
134
142
|
<div class="pf-v6-c-page__sidebar">
|
|
135
143
|
<div class="pf-v6-c-page__sidebar-body">Navigation</div>
|
|
136
144
|
</div>
|
|
137
|
-
<
|
|
138
|
-
<
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
145
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
146
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
147
|
+
<section class="pf-v6-c-page__main-section">
|
|
148
|
+
This
|
|
149
|
+
<code>.pf-v6-c-page__main-section</code> has default padding.
|
|
150
|
+
</section>
|
|
151
|
+
<section class="pf-v6-c-page__main-section pf-m-no-padding pf-m-light">
|
|
152
|
+
This
|
|
153
|
+
<code>.pf-v6-c-page__main-section</code> uses
|
|
154
|
+
<code>.pf-m-no-padding</code> to remove all padding.
|
|
155
|
+
</section>
|
|
156
|
+
<section
|
|
157
|
+
class="pf-v6-c-page__main-section pf-m-no-padding pf-m-padding-on-md"
|
|
158
|
+
>
|
|
159
|
+
This
|
|
160
|
+
<code>.pf-v6-c-page__main-section</code> uses
|
|
161
|
+
<code>.pf-m-no-padding .pf-m-padding-on-md</code> to remove padding up to the
|
|
162
|
+
<code>md</code> breakpoint.
|
|
163
|
+
</section>
|
|
164
|
+
</main>
|
|
165
|
+
</div>
|
|
156
166
|
</div>
|
|
157
167
|
|
|
158
168
|
```
|
|
@@ -171,29 +181,31 @@ deprecated: true
|
|
|
171
181
|
<div class="pf-v6-c-page__sidebar">
|
|
172
182
|
<div class="pf-v6-c-page__sidebar-body">Navigation</div>
|
|
173
183
|
</div>
|
|
174
|
-
<
|
|
175
|
-
<
|
|
176
|
-
<
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
<
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
<
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
<
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
<
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
<
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
<
|
|
195
|
-
|
|
196
|
-
|
|
184
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
185
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
186
|
+
<section class="pf-v6-c-page__main-subnav">
|
|
187
|
+
<code>.pf-v6-c-page__main-subnav</code> for horizontal subnav navigation
|
|
188
|
+
</section>
|
|
189
|
+
<section class="pf-v6-c-page__main-nav">
|
|
190
|
+
<code>.pf-v6-c-page__main-nav</code> for tertiary navigation
|
|
191
|
+
</section>
|
|
192
|
+
<section class="pf-v6-c-page__main-tabs">
|
|
193
|
+
<code>.pf-v6-c-page__main-tabs</code> for tabs
|
|
194
|
+
</section>
|
|
195
|
+
<div class="pf-v6-c-page__main-group">
|
|
196
|
+
<code>.pf-v6-c-page__main-group</code> for a group of page sections
|
|
197
|
+
</div>
|
|
198
|
+
<section class="pf-v6-c-page__main-breadcrumb">
|
|
199
|
+
<code>.pf-v6-c-page__main-breadcrumb</code> for breadcrumbs
|
|
200
|
+
</section>
|
|
201
|
+
<section class="pf-v6-c-page__main-section">
|
|
202
|
+
<code>.pf-v6-c-page__main-section</code> for main sections
|
|
203
|
+
</section>
|
|
204
|
+
<section class="pf-v6-c-page__main-wizard">
|
|
205
|
+
<code>.pf-v6-c-page__main-wizard</code> for wizards
|
|
206
|
+
</section>
|
|
207
|
+
</main>
|
|
208
|
+
</div>
|
|
197
209
|
</div>
|
|
198
210
|
|
|
199
211
|
```
|
|
@@ -209,22 +221,24 @@ deprecated: true
|
|
|
209
221
|
</div>
|
|
210
222
|
<div class="pf-v6-c-page__header-tools">header-tools</div>
|
|
211
223
|
</header>
|
|
212
|
-
<
|
|
213
|
-
<
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
<div class="pf-v6-c-
|
|
218
|
-
<div class="pf-v6-c-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
224
|
+
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
225
|
+
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
226
|
+
<section
|
|
227
|
+
class="pf-v6-c-page__main-section pf-m-limit-width pf-m-align-center"
|
|
228
|
+
>
|
|
229
|
+
<div class="pf-v6-c-page__main-body">
|
|
230
|
+
<div class="pf-v6-c-card">
|
|
231
|
+
<div class="pf-v6-c-card__body">
|
|
232
|
+
When a width limited page section is wider than the value of
|
|
233
|
+
<code>--pf-v6-c-page--section--m-limit-width--MaxWidth</code>, the section will be centered in the main section.
|
|
234
|
+
<br />
|
|
235
|
+
<br />The content in this example is placed in a card to better illustrate how the section behaves when it is centered. A card is not required to center a page section.
|
|
236
|
+
</div>
|
|
223
237
|
</div>
|
|
224
238
|
</div>
|
|
225
|
-
</
|
|
226
|
-
</
|
|
227
|
-
</
|
|
239
|
+
</section>
|
|
240
|
+
</main>
|
|
241
|
+
</div>
|
|
228
242
|
</div>
|
|
229
243
|
|
|
230
244
|
```
|