@patternfly/patternfly 6.0.0-alpha.201 → 6.0.0-alpha.202

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.
Files changed (37) hide show
  1. package/components/Masthead/masthead.css +172 -95
  2. package/components/Masthead/masthead.scss +74 -49
  3. package/components/Nav/nav.css +5 -4
  4. package/components/Nav/nav.scss +5 -4
  5. package/components/Page/page.css +18 -12
  6. package/components/Page/page.scss +18 -12
  7. package/components/_index.css +195 -111
  8. package/docs/components/Masthead/examples/masthead.md +506 -493
  9. package/docs/components/Nav/examples/Navigation.md +0 -1
  10. package/docs/components/Page/examples/Page.md +98 -89
  11. package/docs/components/Wizard/examples/Wizard.md +1 -1
  12. package/docs/demos/AboutModal/examples/AboutModal.md +87 -83
  13. package/docs/demos/Alert/examples/Alert.md +263 -251
  14. package/docs/demos/BackToTop/examples/BackToTop.md +87 -83
  15. package/docs/demos/Banner/examples/Banner.md +177 -173
  16. package/docs/demos/CardView/examples/CardView.md +90 -88
  17. package/docs/demos/Dashboard/examples/Dashboard.md +87 -83
  18. package/docs/demos/DataList/examples/DataList.md +352 -344
  19. package/docs/demos/DescriptionList/examples/DescriptionList.md +262 -252
  20. package/docs/demos/Drawer/examples/Drawer.md +437 -423
  21. package/docs/demos/JumpLinks/examples/JumpLinks.md +524 -500
  22. package/docs/demos/Masthead/examples/Masthead.md +772 -736
  23. package/docs/demos/Modal/examples/Modal.md +522 -498
  24. package/docs/demos/Nav/examples/Nav.md +511 -487
  25. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +435 -425
  26. package/docs/demos/Page/examples/Page.md +959 -915
  27. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +611 -584
  28. package/docs/demos/Skeleton/examples/Skeleton.md +87 -83
  29. package/docs/demos/Table/examples/Table.md +1320 -1288
  30. package/docs/demos/Tabs/examples/Tabs.md +526 -504
  31. package/docs/demos/Toolbar/examples/Toolbar.md +174 -166
  32. package/docs/demos/Wizard/examples/Wizard.md +790 -767
  33. package/package.json +1 -1
  34. package/patternfly-no-globals.css +195 -111
  35. package/patternfly.css +195 -111
  36. package/patternfly.min.css +1 -1
  37. package/patternfly.min.css.map +1 -1
@@ -6,37 +6,52 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
6
6
  :where(:root, .#{$masthead}) {
7
7
  // * Masthead
8
8
  --#{$masthead}--RowGap: var(--pf-t--global--spacer--sm);
9
- --#{$masthead}--ColumnGap: var(--pf-t--global--spacer--md);
9
+ --#{$masthead}--ColumnGap: var(--pf-t--global--spacer--gutter--default);
10
10
  --#{$masthead}--BorderWidth: var(--pf-t--global--border--width--divider--default);
11
11
  --#{$masthead}--PaddingBlock: var(--pf-t--global--spacer--md);
12
12
  --#{$masthead}--PaddingInline: var(--pf-t--global--spacer--lg);
13
13
  --#{$masthead}--BorderColor: var(--pf-t--global--border--color--default);
14
14
  --#{$masthead}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
15
15
 
16
+ // * Masthead main container holds the toggle and brand
17
+ --#{$masthead}__main--ColumnGap: var(--pf-t--global--spacer--md);
18
+ --#{$masthead}__main--MarginInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
19
+
16
20
  // * Masthead brand
17
- --#{$masthead}__brand--MarginInlineEnd: var(--pf-t--global--spacer--md);
18
- --#{$masthead}__brand--MaxHeight: #{pf-size-prem(38px)};
21
+ --#{$masthead}__logo--MaxHeight: #{pf-size-prem(38px)};
22
+ --#{$masthead}__logo--Width: #{pf-size-prem(189px)}; // width of sidebar - toggle - inline padding - gutter = 189
19
23
 
20
24
  // * Masthead toggle
21
25
  --#{$masthead}__toggle--Size: var(--pf-t--global--icon--size--xl);
22
26
 
27
+ // * Masthead content
28
+ --#{$masthead}__content--ColumnGap: var(--pf-t--global--spacer--md);
29
+
23
30
  // * Masthead stack
31
+ --#{$masthead}--m-display-stack--ColumnGap: var(--pf-t--global--spacer--gutter--default);
24
32
  --#{$masthead}--m-display-stack--GridTemplateColumns: max-content 1fr;
25
- --#{$masthead}--m-display-stack__main--GridColumn: -1 / 1;
26
- --#{$masthead}--m-display-stack__main--Order: -1;
27
- --#{$masthead}--m-display-stack__main--PaddingBlockEnd: var(--#{$masthead}--RowGap);
28
- --#{$masthead}--m-display-stack__main--BorderBlockEnd: var(--#{$masthead}--BorderWidth) solid var(--#{$masthead}--BorderColor);
33
+ --#{$masthead}--m-display-stack__brand--GridColumn: -1 / 1;
34
+ --#{$masthead}--m-display-stack__brand--Order: -1;
35
+ --#{$masthead}--m-display-stack__brand--PaddingBlockEnd: var(--#{$masthead}--RowGap);
36
+ --#{$masthead}--m-display-stack__brand--BorderBlockEnd: var(--#{$masthead}--BorderWidth) solid var(--#{$masthead}--BorderColor);
29
37
  --#{$masthead}--m-display-stack__content--GridColumn: 2;
30
38
  --#{$masthead}--m-display-stack__content--Order: 1;
39
+ --#{$masthead}--m-display-stack__main--Display: contents;
40
+ --#{$masthead}--m-display-stack__main--ColumnGap: unset; // no column gap needed until it's flex display
31
41
 
32
42
  // * Masthead inline
33
- --#{$masthead}--m-display-inline--GridTemplateColumns: max-content max-content 1fr;
34
- --#{$masthead}--m-display-inline__main--GridColumn: 2;
35
- --#{$masthead}--m-display-inline__main--Order: 0;
36
- --#{$masthead}--m-display-inline__main--PaddingBlockEnd: 0;
37
- --#{$masthead}--m-display-inline__main--BorderBlockEnd: 0;
38
- --#{$masthead}--m-display-inline__content--GridColumn: 3;
43
+ --#{$masthead}--m-display-inline--ColumnGap: 0;
44
+ --#{$masthead}--m-display-inline--GridTemplateColumns: min-content 1fr;
45
+ --#{$masthead}--m-display-inline--breakpoint--xl--GridTemplateColumns: subgrid;
46
+ --#{$masthead}--m-display-inline__brand--GridColumn: initial;
47
+ --#{$masthead}--m-display-inline__brand--Order: initial;
48
+ --#{$masthead}--m-display-inline__brand--PaddingBlockEnd: 0;
49
+ --#{$masthead}--m-display-inline__brand--BorderBlockEnd: 0;
50
+ --#{$masthead}--m-display-inline__main--GridColumn: 1;
51
+ --#{$masthead}--m-display-inline__content--GridColumn: 2;
39
52
  --#{$masthead}--m-display-inline__content--Order: 0;
53
+ --#{$masthead}--m-display-inline__main--Display: flex;
54
+ --#{$masthead}--m-display-inline__main--ColumnGap: var(--pf-t--global--spacer--md);
40
55
 
41
56
  // * Masthead toolbar
42
57
  --#{$masthead}__expandable-content--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
@@ -45,29 +60,36 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
45
60
  // * Masthead toolbar
46
61
  --#{$masthead}--c-toolbar--Width: 100%;
47
62
  --#{$masthead}--c-toolbar--PaddingBlock: 0;
48
- --#{$masthead}--c-toolbar--PaddingInline: 0;
49
63
  }
50
64
 
51
65
  // * Masthead display stack
52
66
  @mixin pf-v6-c-masthead--m-display-stack {
67
+ --#{$masthead}--ColumnGap: var(--#{$masthead}--m-display-stack--ColumnGap);
53
68
  --#{$masthead}--GridTemplateColumns: var(--#{$masthead}--m-display-stack--GridTemplateColumns);
54
- --#{$masthead}__main--GridColumn: var(--#{$masthead}--m-display-stack__main--GridColumn);
55
- --#{$masthead}__main--Order: var(--#{$masthead}--m-display-stack__main--Order);
56
- --#{$masthead}__main--PaddingBlockEnd: var(--#{$masthead}--m-display-stack__main--PaddingBlockEnd);
57
- --#{$masthead}__main--BorderBlockEnd: var(--#{$masthead}--m-display-stack__main--BorderBlockEnd);
69
+ --#{$masthead}__brand--GridColumn: var(--#{$masthead}--m-display-stack__brand--GridColumn);
70
+ --#{$masthead}__brand--Order: var(--#{$masthead}--m-display-stack__brand--Order);
71
+ --#{$masthead}__brand--PaddingBlockEnd: var(--#{$masthead}--m-display-stack__brand--PaddingBlockEnd);
72
+ --#{$masthead}__brand--BorderBlockEnd: var(--#{$masthead}--m-display-stack__brand--BorderBlockEnd);
73
+ --#{$masthead}__main--GridColumn: unset;
58
74
  --#{$masthead}__content--GridColumn: var(--#{$masthead}--m-display-stack__content--GridColumn);
59
75
  --#{$masthead}__content--Order: var(--#{$masthead}--m-display-stack__content--Order);
76
+ --#{$masthead}__main--Display: var(--#{$masthead}--m-display-stack__main--Display);
77
+ --#{$masthead}__main--ColumnGap: var(--#{$masthead}--m-display-stack__main--ColumnGap);
60
78
  }
61
79
 
62
80
  // * Masthead display inline
63
81
  @mixin pf-v6-c-masthead--m-display-inline {
82
+ --#{$masthead}--ColumnGap: var(--#{$masthead}--m-display-inline--ColumnGap);
64
83
  --#{$masthead}--GridTemplateColumns: var(--#{$masthead}--m-display-inline--GridTemplateColumns);
84
+ --#{$masthead}__brand--GridColumn: var(--#{$masthead}--m-display-inline__brand--GridColumn);
85
+ --#{$masthead}__brand--Order: var(--#{$masthead}--m-display-inline__brand--Order);
86
+ --#{$masthead}__brand--PaddingBlockEnd: var(--#{$masthead}--m-display-inline__brand--PaddingBlockEnd);
87
+ --#{$masthead}__brand--BorderBlockEnd: var(--#{$masthead}--m-display-inline__brand--BorderBlockEnd);
65
88
  --#{$masthead}__main--GridColumn: var(--#{$masthead}--m-display-inline__main--GridColumn);
66
- --#{$masthead}__main--Order: var(--#{$masthead}--m-display-inline__main--Order);
67
- --#{$masthead}__main--PaddingBlockEnd: var(--#{$masthead}--m-display-inline__main--PaddingBlockEnd);
68
- --#{$masthead}__main--BorderBlockEnd: var(--#{$masthead}--m-display-inline__main--BorderBlockEnd);
69
89
  --#{$masthead}__content--GridColumn: var(--#{$masthead}--m-display-inline__content--GridColumn);
70
90
  --#{$masthead}__content--Order: var(--#{$masthead}--m-display-inline__content--Order);
91
+ --#{$masthead}__main--Display: var(--#{$masthead}--m-display-inline__main--Display);
92
+ --#{$masthead}__main--ColumnGap: var(--#{$masthead}--m-display-inline__main--ColumnGap);
71
93
  }
72
94
 
73
95
  // - Masthead
@@ -75,7 +97,6 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
75
97
  .#{$toolbar} {
76
98
  --#{$toolbar}--Width: var(--#{$masthead}--c-toolbar--Width);
77
99
  --#{$toolbar}--PaddingBlockEnd: 0;
78
- --#{$toolbar}__content--PaddingInline: var(--#{$masthead}--c-toolbar--PaddingInline);
79
100
  --#{$toolbar}__content--MinWidth: 0;
80
101
  }
81
102
 
@@ -135,53 +156,57 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
135
156
  }
136
157
  }
137
158
 
159
+ .#{$masthead}__main {
160
+ display: var(--#{$masthead}__main--Display);
161
+ grid-column: var(--#{$masthead}__main--GridColumn);
162
+ column-gap: var(--#{$masthead}__main--ColumnGap);
163
+ align-items: center;
164
+ margin-inline-end: var(--#{$masthead}__main--MarginInlineEnd);
165
+ }
166
+
138
167
  // - Masthead main masthead content masthead logo
139
168
  .#{$masthead},
140
- .#{$masthead}__main {
169
+ .#{$masthead}__brand {
141
170
  position: relative;
142
171
  }
143
172
 
144
- .#{$masthead}__main,
145
- .#{$masthead}__content,
146
- .#{$masthead}__logo,
173
+ // - Masthead brand
147
174
  .#{$masthead}__brand {
148
175
  display: flex;
176
+ flex-shrink: 0;
177
+ grid-column: var(--#{$masthead}__brand--GridColumn, revert);
178
+ row-gap: var(--#{$masthead}__brand--RowGap, var(--#{$masthead}--RowGap));
149
179
  align-self: stretch;
150
- }
151
-
152
- // - Masthead main masthead brand masthead content
153
- .#{$masthead}__main,
154
- .#{$masthead}__brand,
155
- .#{$masthead}__content {
180
+ order: var(--#{$masthead}__brand--Order, revert);
156
181
  min-width: #{pf-size-prem(4ch)}; // allow flex containers to shrink to fit possible overflow
157
- }
158
-
159
- // - Masthead Main
160
- .#{$masthead}__main {
161
- grid-column: var(--#{$masthead}__main--GridColumn);
162
- row-gap: var(--#{$masthead}__main--RowGap, var(--#{$masthead}--RowGap));
163
- align-items: var(--#{$masthead}__main--AlignItems, var(--#{$masthead}--AlignItems));
164
- order: var(--#{$masthead}__main--Order);
165
- padding-block-end: var(--#{$masthead}__main--PaddingBlockEnd);
166
- border-block-end: var(--#{$masthead}__main--BorderBlockEnd);
182
+ padding-block-end: var(--#{$masthead}__brand--PaddingBlockEnd);
183
+ border-block-end: var(--#{$masthead}__brand--BorderBlockEnd);
167
184
  }
168
185
 
169
186
  // - Masthead content
170
187
  .#{$masthead}__content {
188
+ display: flex;
171
189
  flex-wrap: wrap;
172
190
  grid-column: var(--#{$masthead}__content--GridColumn);
173
191
  grid-column-end: -1; // force content to right edge or full available width
174
192
  row-gap: var(--#{$masthead}__content-RowGap, var(--#{$masthead}--RowGap));
175
- column-gap: var(--#{$masthead}__content-ColumnGap, var(--#{$masthead}--ColumnGap));
176
- align-items: var(--#{$masthead}__content--AlignItems, var(--#{$masthead}--AlignItems));
193
+ column-gap: var(--#{$masthead}__content--ColumnGap, var(--#{$masthead}--ColumnGap));
194
+ align-self: stretch;
177
195
  order: var(--#{$masthead}__content--Order);
196
+ min-width: #{pf-size-prem(4ch)}; // allow flex containers to shrink to fit possible overflow
178
197
  }
179
198
 
180
- // - Masthead brand
181
- .#{$masthead}__brand {
182
- align-items: var(--#{$masthead}__brand--AlignItems, var(--#{$masthead}--AlignItems));
183
- max-height: var(--#{$masthead}__brand--MaxHeight);
184
- margin-inline-end: var(--#{$masthead}__brand--MarginInlineEnd);
199
+ // - Masthead logo
200
+ .#{$masthead}__logo {
201
+ position: relative;
202
+ width: var(--#{$masthead}__logo--Width);
203
+ max-height: var(--#{$masthead}__logo--MaxHeight);
204
+
205
+ > * {
206
+ max-width: 100%;
207
+ max-height: 100%;
208
+ vertical-align: middle;
209
+ }
185
210
  }
186
211
 
187
212
  // - Masthead toggle
@@ -7,8 +7,8 @@
7
7
  --pf-v6-c-nav__list--ColumnGap: var(--pf-t--global--spacer--xs);
8
8
  --pf-v6-c-nav--PaddingBlockStart: var(--pf-t--global--spacer--md);
9
9
  --pf-v6-c-nav--PaddingBlockEnd: var(--pf-t--global--spacer--md);
10
- --pf-v6-c-nav--PaddingInlineStart: var(--pf-t--global--spacer--md);
11
- --pf-v6-c-nav--PaddingInlineEnd: var(--pf-t--global--spacer--md);
10
+ --pf-v6-c-nav--PaddingInlineStart: 0;
11
+ --pf-v6-c-nav--PaddingInlineEnd: 0;
12
12
  --pf-v6-c-nav--RowGap: var(--pf-t--global--spacer--lg);
13
13
  --pf-v6-c-nav--ColumnGap: 0;
14
14
  --pf-v6-c-nav--AlignItems: baseline;
@@ -98,8 +98,9 @@
98
98
  .pf-v6-c-nav.pf-m-overflow-hidden {
99
99
  overflow: hidden;
100
100
  }
101
- .pf-v6-c-nav.pf-m-full-width {
102
- width: 100%;
101
+ .pf-v6-c-nav.pf-m-inset {
102
+ --pf-v6-c-nav--PaddingInlineStart: var(--pf-t--global--spacer--md);
103
+ --pf-v6-c-nav--PaddingInlineEnd: var(--pf-t--global--spacer--md);
103
104
  }
104
105
  .pf-v6-c-nav.pf-m-fill {
105
106
  flex-grow: 1;
@@ -12,8 +12,8 @@
12
12
  // * Nav // default to row gap if no custom value is set
13
13
  --#{$nav}--PaddingBlockStart: var(--pf-t--global--spacer--md);
14
14
  --#{$nav}--PaddingBlockEnd: var(--pf-t--global--spacer--md);
15
- --#{$nav}--PaddingInlineStart: var(--pf-t--global--spacer--md);
16
- --#{$nav}--PaddingInlineEnd: var(--pf-t--global--spacer--md);
15
+ --#{$nav}--PaddingInlineStart: 0;
16
+ --#{$nav}--PaddingInlineEnd: 0;
17
17
  --#{$nav}--RowGap: var(--pf-t--global--spacer--lg);
18
18
  --#{$nav}--ColumnGap: 0;
19
19
  --#{$nav}--AlignItems: baseline;
@@ -126,8 +126,9 @@
126
126
  overflow: hidden;
127
127
  }
128
128
 
129
- &.pf-m-full-width {
130
- width: 100%;
129
+ &.pf-m-inset {
130
+ --#{$nav}--PaddingInlineStart: var(--pf-t--global--spacer--md);
131
+ --#{$nav}--PaddingInlineEnd: var(--pf-t--global--spacer--md);
131
132
  }
132
133
 
133
134
  &.pf-m-fill {
@@ -1,7 +1,6 @@
1
1
  :where(:root, .pf-v6-c-page) {
2
2
  --pf-v6-c-page--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
3
- --pf-v6-c-page--inset: var(--pf-t--global--spacer--md);
4
- --pf-v6-c-page--xl--inset: var(--pf-t--global--spacer--xl);
3
+ --pf-v6-c-page--inset: var(--pf-t--global--spacer--inset--page-chrome);
5
4
  --pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
6
5
  --pf-v6-c-page__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
7
6
  --pf-v6-c-page__sidebar--Width: 18.125rem;
@@ -15,6 +14,7 @@
15
14
  --pf-v6-c-page__sidebar--MarginInlineEnd: 0;
16
15
  --pf-v6-c-page__sidebar--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
17
16
  --pf-v6-c-page__sidebar--PaddingInlineStart: 0;
17
+ --pf-v6-c-page__sidebar--PaddingInlineEnd: 0;
18
18
  --pf-v6-c-page__sidebar-header--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
19
19
  --pf-v6-c-page__sidebar-header--BorderBlockEndColor: var(--pf-t--global--border--color--default);
20
20
  --pf-v6-c-page__sidebar-header--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -24,8 +24,8 @@
24
24
  --pf-v6-c-page__sidebar-title--LineHeight: var(--pf-t--global--font--line-height--heading);
25
25
  --pf-v6-c-page__sidebar-title--FontFamily: var(--pf-t--global--font--family--heading);
26
26
  --pf-v6-c-page__sidebar-title--FontWeight: var(--pf-t--global--font--weight--heading--default);
27
- --pf-v6-c-page__sidebar-body--PaddingInlineEnd: 0;
28
- --pf-v6-c-page__sidebar-body--PaddingInlineStart: 0;
27
+ --pf-v6-c-page__sidebar-body--PaddingInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
28
+ --pf-v6-c-page__sidebar-body--PaddingInlineStart: var(--pf-t--global--spacer--inset--page-chrome);
29
29
  --pf-v6-c-page__sidebar-body--m-page-insets--PaddingInlineEnd: var(--pf-v6-c-page--inset);
30
30
  --pf-v6-c-page__sidebar-body--m-page-insets--PaddingInlineStart: var(--pf-v6-c-page--inset);
31
31
  --pf-v6-c-page__sidebar-body--m-context-selector--PaddingInlineEnd: var(--pf-t--global--spacer--md);
@@ -33,8 +33,8 @@
33
33
  --pf-v6-c-page__main-container--ZIndex: var(--pf-t--global--z-index--xs);
34
34
  --pf-v6-c-page__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg));
35
35
  --pf-v6-c-page__main-container--BackgroundColor: var(--pf-t--global--background--color--primary--default);
36
- --pf-v6-c-page__main-container--MarginInlineStart: var(--pf-t--global--spacer--lg);
37
- --pf-v6-c-page__main-container--MarginInlineEnd: var(--pf-t--global--spacer--lg);
36
+ --pf-v6-c-page__main-container--MarginInlineStart: var(--pf-v6-c-page--inset);
37
+ --pf-v6-c-page__main-container--MarginInlineEnd: var(--pf-v6-c-page--inset);
38
38
  --pf-v6-c-page__main-container--BorderRadius: var(--pf-t--global--border--radius--large);
39
39
  --pf-v6-c-page__main-container--BorderWidth: var(--pf-t--global--spacer--sm);
40
40
  --pf-v6-c-page__main-container--BorderColor: var(--pf-v6-c-page__main-container--BackgroundColor);
@@ -75,11 +75,6 @@
75
75
  --pf-v6-c-page__main-wizard--BorderBlockStartColor: var(--pf-t--global--border--color--default);
76
76
  --pf-v6-c-page__main-wizard--BorderBlockStartWidth: var(--pf-t--global--border--width--action--default);
77
77
  }
78
- @media (min-width: 75rem) {
79
- :where(:root, .pf-v6-c-page) {
80
- --pf-v6-c-page--inset: var(--pf-v6-c-page--xl--inset);
81
- }
82
- }
83
78
  @media screen and (min-width: 75rem) {
84
79
  :where(:root, .pf-v6-c-page) {
85
80
  --pf-v6-c-page__sidebar--TranslateX: var(--pf-v6-c-page__sidebar--xl--TranslateX);
@@ -99,7 +94,7 @@
99
94
  @media (min-width: 75rem) {
100
95
  .pf-v6-c-page {
101
96
  grid-template-areas: "header header" "sidebar main";
102
- grid-template-columns: max-content 1fr;
97
+ grid-template-columns: var(--pf-v6-c-page__sidebar--Width) 1fr;
103
98
  }
104
99
  }
105
100
 
@@ -107,6 +102,11 @@
107
102
  z-index: var(--pf-v6-c-page--c-masthead--ZIndex);
108
103
  grid-area: header;
109
104
  }
105
+ @media (min-width: 75rem) {
106
+ .pf-v6-c-page > .pf-v6-c-masthead {
107
+ --pf-v6-c-masthead--m-display-inline--GridTemplateColumns: var(--pf-v6-c-masthead--m-display-inline--breakpoint--xl--GridTemplateColumns);
108
+ }
109
+ }
110
110
 
111
111
  .pf-v6-c-page__sidebar {
112
112
  z-index: var(--pf-v6-c-page__sidebar--ZIndex);
@@ -119,6 +119,7 @@
119
119
  padding-block-start: 0;
120
120
  padding-block-end: var(--pf-v6-c-page__sidebar--PaddingBlockEnd);
121
121
  padding-inline-start: var(--pf-v6-c-page__sidebar--PaddingInlineStart);
122
+ padding-inline-end: var(--pf-v6-c-page__sidebar--PaddingInlineEnd);
122
123
  margin-inline-end: var(--pf-v6-c-page__sidebar--MarginInlineEnd);
123
124
  overflow-x: hidden;
124
125
  overflow-y: auto;
@@ -398,6 +399,11 @@
398
399
  border: var(--pf-v6-c-page__main-container--BorderWidth) solid var(--pf-v6-c-page__main-container--BorderColor);
399
400
  border-radius: var(--pf-v6-c-page__main-container--BorderRadius);
400
401
  }
402
+ @media screen and (min-width: 75rem) {
403
+ .pf-v6-c-page__main-container {
404
+ --pf-v6-c-page__main-container--MarginInlineStart: 0;
405
+ }
406
+ }
401
407
  .pf-v6-c-page__main-container.pf-m-fill, .pf-v6-c-page__main-container:has(.pf-v6-c-page__main-wizard) {
402
408
  align-self: stretch;
403
409
  }
@@ -7,16 +7,11 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
7
7
 
8
8
  :where(:root, .#{$page}) {
9
9
  --#{$page}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
10
- --#{$page}--inset: var(--pf-t--global--spacer--md);
11
- --#{$page}--xl--inset: var(--pf-t--global--spacer--xl);
10
+ --#{$page}--inset: var(--pf-t--global--spacer--inset--page-chrome);
12
11
 
13
12
  // Header
14
13
  --#{$page}--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
15
14
 
16
- @media (min-width: $pf-v6-global--breakpoint--xl) {
17
- --#{$page}--inset: var(--#{$page}--xl--inset);
18
- }
19
-
20
15
  // Sidebar
21
16
  --#{$page}__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
22
17
  --#{$page}__sidebar--Width: #{pf-size-prem(290px)};
@@ -30,6 +25,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
30
25
  --#{$page}__sidebar--MarginInlineEnd: 0;
31
26
  --#{$page}__sidebar--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
32
27
  --#{$page}__sidebar--PaddingInlineStart: 0;
28
+ --#{$page}__sidebar--PaddingInlineEnd: 0;
33
29
 
34
30
 
35
31
  // Sidebar header
@@ -44,8 +40,8 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
44
40
  --#{$page}__sidebar-title--FontWeight: var(--pf-t--global--font--weight--heading--default);
45
41
 
46
42
  // Sidebar body
47
- --#{$page}__sidebar-body--PaddingInlineEnd: 0;
48
- --#{$page}__sidebar-body--PaddingInlineStart: 0;
43
+ --#{$page}__sidebar-body--PaddingInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
44
+ --#{$page}__sidebar-body--PaddingInlineStart: var(--pf-t--global--spacer--inset--page-chrome);
49
45
  --#{$page}__sidebar-body--m-page-insets--PaddingInlineEnd: var(--#{$page}--inset);
50
46
  --#{$page}__sidebar-body--m-page-insets--PaddingInlineStart: var(--#{$page}--inset);
51
47
  --#{$page}__sidebar-body--m-context-selector--PaddingInlineEnd: var(--pf-t--global--spacer--md);
@@ -59,8 +55,8 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
59
55
  --#{$page}__main-container--ZIndex: var(--pf-t--global--z-index--xs);
60
56
  --#{$page}__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg));
61
57
  --#{$page}__main-container--BackgroundColor: var(--pf-t--global--background--color--primary--default);
62
- --#{$page}__main-container--MarginInlineStart: var(--pf-t--global--spacer--lg);
63
- --#{$page}__main-container--MarginInlineEnd: var(--pf-t--global--spacer--lg);
58
+ --#{$page}__main-container--MarginInlineStart: var(--#{$page}--inset);
59
+ --#{$page}__main-container--MarginInlineEnd: var(--#{$page}--inset);
64
60
  --#{$page}__main-container--BorderRadius: var(--pf-t--global--border--radius--large);
65
61
  --#{$page}__main-container--BorderWidth: var(--pf-t--global--spacer--sm); // TODO Change to be a page outline token
66
62
  --#{$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
@@ -135,14 +131,19 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
135
131
  grid-template-areas:
136
132
  "header header"
137
133
  "sidebar main";
138
- grid-template-columns: max-content 1fr;
134
+ grid-template-columns: var(--#{$page}__sidebar--Width) 1fr;
139
135
  }
140
- }
136
+ }
141
137
 
142
138
  // Header
143
139
  .#{$page} > .#{$masthead} {
140
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
141
+ --#{$masthead}--m-display-inline--GridTemplateColumns: var(--#{$masthead}--m-display-inline--breakpoint--xl--GridTemplateColumns);
142
+ }
143
+
144
144
  z-index: var(--#{$page}--c-masthead--ZIndex);
145
145
  grid-area: header;
146
+
146
147
  }
147
148
 
148
149
  // Sidebar
@@ -157,6 +158,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
157
158
  padding-block-start: 0;
158
159
  padding-block-end: var(--#{$page}__sidebar--PaddingBlockEnd);
159
160
  padding-inline-start: var(--#{$page}__sidebar--PaddingInlineStart);
161
+ padding-inline-end: var(--#{$page}__sidebar--PaddingInlineEnd);
160
162
  margin-inline-end: var(--#{$page}__sidebar--MarginInlineEnd);
161
163
  overflow-x: hidden;
162
164
  overflow-y: auto;
@@ -318,6 +320,10 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
318
320
  border: var(--#{$page}__main-container--BorderWidth) solid var(--#{$page}__main-container--BorderColor);
319
321
  border-radius: var(--#{$page}__main-container--BorderRadius);
320
322
 
323
+ @media screen and (min-width: $pf-v6-global--breakpoint--xl) {
324
+ --#{$page}__main-container--MarginInlineStart: 0;
325
+ }
326
+
321
327
  &.pf-m-fill,
322
328
  &:has(.#{$page}__main-wizard) {
323
329
  align-self: stretch;