@patternfly/patternfly 6.0.0-alpha.103 → 6.0.0-alpha.105
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/base/patternfly-variables.css +22 -19
- package/base/tokens/_tokens-charts.scss +6 -6
- package/base/tokens/_tokens-dark.scss +4 -3
- package/base/tokens/_tokens-default.scss +20 -18
- package/base/tokens/_tokens-palette.scss +1 -1
- package/components/Drawer/drawer.css +5 -4
- package/components/Drawer/drawer.scss +7 -6
- package/components/FormControl/form-control.scss +1 -1
- package/components/MenuToggle/menu-toggle.css +24 -0
- package/components/MenuToggle/menu-toggle.scss +36 -0
- 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/MenuToggle/examples/MenuToggle.md +64 -0
- 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-base-no-globals-theme-dark-unversioned.css +22 -19
- package/patternfly-base-no-globals.css +22 -19
- package/patternfly-base-theme-dark-unversioned.css +22 -19
- package/patternfly-base.css +22 -19
- package/patternfly-no-globals.css +75 -46
- package/patternfly-theme-dark-unversioned.css +75 -46
- package/patternfly.css +75 -46
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -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. |
|
|
@@ -1101,6 +1101,67 @@ cssPrefix: pf-v6-c-menu-toggle
|
|
|
1101
1101
|
|
|
1102
1102
|
```
|
|
1103
1103
|
|
|
1104
|
+
### Status
|
|
1105
|
+
|
|
1106
|
+
```html isBeta
|
|
1107
|
+
<button
|
|
1108
|
+
class="pf-v6-c-menu-toggle pf-m-success"
|
|
1109
|
+
type="button"
|
|
1110
|
+
aria-expanded="false"
|
|
1111
|
+
>
|
|
1112
|
+
<span class="pf-v6-c-menu-toggle__text">Success</span>
|
|
1113
|
+
<span class="pf-v6-c-menu-toggle__controls">
|
|
1114
|
+
<span class="pf-v6-c-menu-toggle__status-icon">
|
|
1115
|
+
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
1116
|
+
</span>
|
|
1117
|
+
<span class="pf-v6-c-menu-toggle__toggle-icon">
|
|
1118
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1119
|
+
</span>
|
|
1120
|
+
</span>
|
|
1121
|
+
</button>
|
|
1122
|
+
|
|
1123
|
+
<br />
|
|
1124
|
+
<br />
|
|
1125
|
+
|
|
1126
|
+
<button
|
|
1127
|
+
class="pf-v6-c-menu-toggle pf-m-warning"
|
|
1128
|
+
type="button"
|
|
1129
|
+
aria-expanded="false"
|
|
1130
|
+
>
|
|
1131
|
+
<span class="pf-v6-c-menu-toggle__text">Warning</span>
|
|
1132
|
+
<span class="pf-v6-c-menu-toggle__controls">
|
|
1133
|
+
<span class="pf-v6-c-menu-toggle__status-icon">
|
|
1134
|
+
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
1135
|
+
</span>
|
|
1136
|
+
<span class="pf-v6-c-menu-toggle__toggle-icon">
|
|
1137
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1138
|
+
</span>
|
|
1139
|
+
</span>
|
|
1140
|
+
</button>
|
|
1141
|
+
|
|
1142
|
+
<br />
|
|
1143
|
+
<br />
|
|
1144
|
+
|
|
1145
|
+
<button
|
|
1146
|
+
class="pf-v6-c-menu-toggle pf-m-danger"
|
|
1147
|
+
type="button"
|
|
1148
|
+
aria-expanded="false"
|
|
1149
|
+
>
|
|
1150
|
+
<span class="pf-v6-c-menu-toggle__text">Danger</span>
|
|
1151
|
+
<span class="pf-v6-c-menu-toggle__controls">
|
|
1152
|
+
<span class="pf-v6-c-menu-toggle__status-icon">
|
|
1153
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
1154
|
+
</span>
|
|
1155
|
+
<span class="pf-v6-c-menu-toggle__toggle-icon">
|
|
1156
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1157
|
+
</span>
|
|
1158
|
+
</span>
|
|
1159
|
+
</button>
|
|
1160
|
+
|
|
1161
|
+
```
|
|
1162
|
+
|
|
1163
|
+
## Documentation
|
|
1164
|
+
|
|
1104
1165
|
### Accessibility
|
|
1105
1166
|
|
|
1106
1167
|
| Class | Applied to | Outcome |
|
|
@@ -1131,3 +1192,6 @@ cssPrefix: pf-v6-c-menu-toggle
|
|
|
1131
1192
|
| `.pf-m-expanded` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the expanded state. |
|
|
1132
1193
|
| `.pf-m-full-height` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component to full height of parent. |
|
|
1133
1194
|
| `.pf-m-full-width` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component to full width of parent. |
|
|
1195
|
+
| `.pf-m-success` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the success state. |
|
|
1196
|
+
| `.pf-m-warning` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the warning state. |
|
|
1197
|
+
| `.pf-m-danger` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the danger state. |
|
|
@@ -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
|
```
|