@patternfly/patternfly 4.198.2 → 4.200.1
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/_variables.scss +7 -0
- package/base/patternfly-variables.css +5 -0
- package/components/DescriptionList/description-list.css +36 -2
- package/components/DescriptionList/description-list.scss +31 -2
- package/components/Page/page.css +154 -24
- package/components/Page/page.scss +23 -14
- package/components/Tabs/tabs.css +30 -0
- package/components/Tabs/tabs.scss +37 -0
- package/components/Wizard/wizard.css +2 -1
- package/components/Wizard/wizard.scss +3 -1
- package/docs/components/DescriptionList/examples/DescriptionList.md +316 -11
- package/docs/components/Page/examples/Page.md +2 -2
- package/docs/components/Tabs/examples/Tabs.md +214 -0
- package/docs/components/Wizard/examples/Wizard.md +59 -57
- package/docs/demos/Page/examples/Page.md +1044 -0
- package/docs/demos/Wizard/examples/Wizard.md +2581 -275
- package/package.json +1 -1
- package/patternfly-base-no-reset.css +5 -0
- package/patternfly-base.css +5 -0
- package/patternfly-no-reset.css +227 -27
- package/patternfly.css +227 -27
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +37 -1
- package/sass-utilities/mixins.scss +75 -7
- package/sass-utilities/scss-variables.scss +16 -0
package/base/_variables.scss
CHANGED
|
@@ -198,6 +198,13 @@
|
|
|
198
198
|
--pf-global--breakpoint--xl: #{$pf-global--breakpoint--xl};
|
|
199
199
|
--pf-global--breakpoint--2xl: #{$pf-global--breakpoint--2xl};
|
|
200
200
|
|
|
201
|
+
// Vertical breakpoints
|
|
202
|
+
--pf-global--height-breakpoint--sm: #{$pf-global--height-breakpoint--sm};
|
|
203
|
+
--pf-global--height-breakpoint--md: #{$pf-global--height-breakpoint--md};
|
|
204
|
+
--pf-global--height-breakpoint--lg: #{$pf-global--height-breakpoint--lg};
|
|
205
|
+
--pf-global--height-breakpoint--xl: #{$pf-global--height-breakpoint--xl};
|
|
206
|
+
--pf-global--height-breakpoint--2xl: #{$pf-global--height-breakpoint--2xl};
|
|
207
|
+
|
|
201
208
|
// Links
|
|
202
209
|
--pf-global--link--Color: #{$pf-global--link--Color};
|
|
203
210
|
--pf-global--link--Color--hover: #{$pf-global--link--Color--hover};
|
|
@@ -171,6 +171,11 @@
|
|
|
171
171
|
--pf-global--breakpoint--lg: 992px;
|
|
172
172
|
--pf-global--breakpoint--xl: 1200px;
|
|
173
173
|
--pf-global--breakpoint--2xl: 1450px;
|
|
174
|
+
--pf-global--height-breakpoint--sm: 0;
|
|
175
|
+
--pf-global--height-breakpoint--md: 40rem;
|
|
176
|
+
--pf-global--height-breakpoint--lg: 48rem;
|
|
177
|
+
--pf-global--height-breakpoint--xl: 60rem;
|
|
178
|
+
--pf-global--height-breakpoint--2xl: 80rem;
|
|
174
179
|
--pf-global--link--Color: #06c;
|
|
175
180
|
--pf-global--link--Color--hover: #004080;
|
|
176
181
|
--pf-global--link--Color--light: #2b9af3;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
--pf-c-description-list__group--RowGap: var(--pf-global--spacer--sm);
|
|
9
9
|
--pf-c-description-list__group--ColumnGap: var(--pf-global--spacer--sm);
|
|
10
10
|
--pf-c-description-list__group--GridTemplateColumns: auto;
|
|
11
|
+
--pf-c-description-list__group--GridTemplateRows: auto 1fr;
|
|
11
12
|
--pf-c-description-list__group--GridColumn: auto;
|
|
12
13
|
--pf-c-description-list--m-compact--RowGap: var(--pf-global--gutter);
|
|
13
14
|
--pf-c-description-list--m-compact--ColumnGap: var(--pf-global--spacer--sm);
|
|
@@ -20,9 +21,11 @@
|
|
|
20
21
|
--pf-c-description-list__term-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
21
22
|
--pf-c-description-list__term-icon--Color: var(--pf-global--icon--Color--light);
|
|
22
23
|
--pf-c-description-list--m-vertical__group--GridTemplateColumns: repeat(var(--pf-c-description-list--GridTemplateColumns--count));
|
|
24
|
+
--pf-c-description-list--m-vertical__group--GridTemplateRows: auto 1fr;
|
|
23
25
|
--pf-c-description-list--m-horizontal__term--width: 12ch;
|
|
24
26
|
--pf-c-description-list--m-horizontal__description--width: minmax(10ch, auto);
|
|
25
27
|
--pf-c-description-list--m-horizontal__group--GridTemplateColumns: var(--pf-c-description-list__term--width) var(--pf-c-description-list--m-horizontal__description--width);
|
|
28
|
+
--pf-c-description-list--m-horizontal__group--GridTemplateRows: auto;
|
|
26
29
|
--pf-c-description-list--m-1-col--GridTemplateColumns--count: 1;
|
|
27
30
|
--pf-c-description-list--m-2-col--GridTemplateColumns--count: 2;
|
|
28
31
|
--pf-c-description-list--m-3-col--GridTemplateColumns--count: 3;
|
|
@@ -33,6 +36,8 @@
|
|
|
33
36
|
--pf-c-description-list__text--m-help-text--TextDecorationOffset: 0.25rem;
|
|
34
37
|
--pf-c-description-list__text--m-help-text--hover--TextDecorationColor: var(--pf-global--Color--100);
|
|
35
38
|
--pf-c-description-list__text--m-help-text--focus--TextDecorationColor: var(--pf-global--Color--100);
|
|
39
|
+
--pf-c-description-list--m-display-lg__description--FontSize: var(--pf-global--FontSize--lg);
|
|
40
|
+
--pf-c-description-list--m-display-2xl__description--FontSize: var(--pf-global--FontSize--2xl);
|
|
36
41
|
display: grid;
|
|
37
42
|
align-items: baseline;
|
|
38
43
|
row-gap: var(--pf-c-description-list--RowGap);
|
|
@@ -119,7 +124,8 @@
|
|
|
119
124
|
column-count: var(--pf-c-description-list--GridTemplateColumns--count);
|
|
120
125
|
margin-bottom: calc(var(--pf-c-description-list--RowGap) * -1);
|
|
121
126
|
}
|
|
122
|
-
.pf-c-description-list.pf-m-fill-columns .pf-c-description-list__group
|
|
127
|
+
.pf-c-description-list.pf-m-fill-columns .pf-c-description-list__group,
|
|
128
|
+
.pf-c-description-list.pf-m-fill-columns > .pf-c-card {
|
|
123
129
|
display: inline-grid;
|
|
124
130
|
width: 100%;
|
|
125
131
|
margin-bottom: var(--pf-c-description-list--RowGap);
|
|
@@ -128,13 +134,25 @@
|
|
|
128
134
|
-webkit-column-break-inside: avoid;
|
|
129
135
|
-moz-column-break-inside: avoid;
|
|
130
136
|
}
|
|
137
|
+
.pf-c-description-list.pf-m-display-lg {
|
|
138
|
+
--pf-c-description-list__description--FontSize: var(--pf-c-description-list--m-display-lg__description--FontSize);
|
|
139
|
+
}
|
|
140
|
+
.pf-c-description-list.pf-m-display-2xl {
|
|
141
|
+
--pf-c-description-list__description--FontSize: var(--pf-c-description-list--m-display-2xl__description--FontSize);
|
|
142
|
+
}
|
|
143
|
+
.pf-c-description-list > .pf-c-card {
|
|
144
|
+
align-self: stretch;
|
|
145
|
+
padding: var(--pf-c-card--first-child--PaddingTop) var(--pf-c-card--child--PaddingRight) var(--pf-c-card--child--PaddingBottom) var(--pf-c-card--child--PaddingLeft);
|
|
146
|
+
}
|
|
131
147
|
|
|
132
|
-
.pf-c-description-list__group
|
|
148
|
+
.pf-c-description-list__group,
|
|
149
|
+
.pf-c-description-list > .pf-c-card {
|
|
133
150
|
display: grid;
|
|
134
151
|
grid-column: var(--pf-c-description-list__group--GridColumn);
|
|
135
152
|
row-gap: var(--pf-c-description-list__group--RowGap);
|
|
136
153
|
column-gap: var(--pf-c-description-list__group--ColumnGap);
|
|
137
154
|
grid-template-columns: var(--pf-c-description-list__group--GridTemplateColumns);
|
|
155
|
+
grid-template-rows: var(--pf-c-description-list__group--GridTemplateRows);
|
|
138
156
|
align-items: baseline;
|
|
139
157
|
}
|
|
140
158
|
|
|
@@ -162,6 +180,10 @@
|
|
|
162
180
|
color: var(--pf-c-description-list__term-icon--Color);
|
|
163
181
|
}
|
|
164
182
|
|
|
183
|
+
.pf-c-description-list__description {
|
|
184
|
+
font-size: var(--pf-c-description-list__description--FontSize, inherit);
|
|
185
|
+
}
|
|
186
|
+
|
|
165
187
|
.pf-c-description-list__text {
|
|
166
188
|
min-width: 0;
|
|
167
189
|
}
|
|
@@ -191,9 +213,11 @@
|
|
|
191
213
|
}
|
|
192
214
|
.pf-c-description-list.pf-m-horizontal {
|
|
193
215
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-horizontal__group--GridTemplateColumns);
|
|
216
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-horizontal__group--GridTemplateRows);
|
|
194
217
|
}
|
|
195
218
|
.pf-c-description-list.pf-m-vertical {
|
|
196
219
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-vertical__group--GridTemplateColumns);
|
|
220
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-vertical__group--GridTemplateRows);
|
|
197
221
|
}
|
|
198
222
|
@media (min-width: 576px) {
|
|
199
223
|
.pf-c-description-list.pf-m-1-col-on-sm {
|
|
@@ -207,9 +231,11 @@
|
|
|
207
231
|
}
|
|
208
232
|
.pf-c-description-list.pf-m-horizontal-on-sm {
|
|
209
233
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-horizontal__group--GridTemplateColumns);
|
|
234
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-horizontal__group--GridTemplateRows);
|
|
210
235
|
}
|
|
211
236
|
.pf-c-description-list.pf-m-vertical-on-sm {
|
|
212
237
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-vertical__group--GridTemplateColumns);
|
|
238
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-vertical__group--GridTemplateRows);
|
|
213
239
|
}
|
|
214
240
|
}
|
|
215
241
|
@media (min-width: 768px) {
|
|
@@ -224,9 +250,11 @@
|
|
|
224
250
|
}
|
|
225
251
|
.pf-c-description-list.pf-m-horizontal-on-md {
|
|
226
252
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-horizontal__group--GridTemplateColumns);
|
|
253
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-horizontal__group--GridTemplateRows);
|
|
227
254
|
}
|
|
228
255
|
.pf-c-description-list.pf-m-vertical-on-md {
|
|
229
256
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-vertical__group--GridTemplateColumns);
|
|
257
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-vertical__group--GridTemplateRows);
|
|
230
258
|
}
|
|
231
259
|
}
|
|
232
260
|
@media (min-width: 992px) {
|
|
@@ -241,9 +269,11 @@
|
|
|
241
269
|
}
|
|
242
270
|
.pf-c-description-list.pf-m-horizontal-on-lg {
|
|
243
271
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-horizontal__group--GridTemplateColumns);
|
|
272
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-horizontal__group--GridTemplateRows);
|
|
244
273
|
}
|
|
245
274
|
.pf-c-description-list.pf-m-vertical-on-lg {
|
|
246
275
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-vertical__group--GridTemplateColumns);
|
|
276
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-vertical__group--GridTemplateRows);
|
|
247
277
|
}
|
|
248
278
|
}
|
|
249
279
|
@media (min-width: 1200px) {
|
|
@@ -258,9 +288,11 @@
|
|
|
258
288
|
}
|
|
259
289
|
.pf-c-description-list.pf-m-horizontal-on-xl {
|
|
260
290
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-horizontal__group--GridTemplateColumns);
|
|
291
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-horizontal__group--GridTemplateRows);
|
|
261
292
|
}
|
|
262
293
|
.pf-c-description-list.pf-m-vertical-on-xl {
|
|
263
294
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-vertical__group--GridTemplateColumns);
|
|
295
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-vertical__group--GridTemplateRows);
|
|
264
296
|
}
|
|
265
297
|
}
|
|
266
298
|
@media (min-width: 1450px) {
|
|
@@ -275,8 +307,10 @@
|
|
|
275
307
|
}
|
|
276
308
|
.pf-c-description-list.pf-m-horizontal-on-2xl {
|
|
277
309
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-horizontal__group--GridTemplateColumns);
|
|
310
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-horizontal__group--GridTemplateRows);
|
|
278
311
|
}
|
|
279
312
|
.pf-c-description-list.pf-m-vertical-on-2xl {
|
|
280
313
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-vertical__group--GridTemplateColumns);
|
|
314
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-vertical__group--GridTemplateRows);
|
|
281
315
|
}
|
|
282
316
|
}
|
|
@@ -12,6 +12,7 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
|
|
|
12
12
|
--pf-c-description-list__group--RowGap: var(--pf-global--spacer--sm);
|
|
13
13
|
--pf-c-description-list__group--ColumnGap: var(--pf-global--spacer--sm);
|
|
14
14
|
--pf-c-description-list__group--GridTemplateColumns: auto;
|
|
15
|
+
--pf-c-description-list__group--GridTemplateRows: auto 1fr;
|
|
15
16
|
--pf-c-description-list__group--GridColumn: auto;
|
|
16
17
|
|
|
17
18
|
// compact
|
|
@@ -36,11 +37,13 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
|
|
|
36
37
|
|
|
37
38
|
// vertical
|
|
38
39
|
--pf-c-description-list--m-vertical__group--GridTemplateColumns: repeat(var(--pf-c-description-list--GridTemplateColumns--count));
|
|
40
|
+
--pf-c-description-list--m-vertical__group--GridTemplateRows: auto 1fr;
|
|
39
41
|
|
|
40
42
|
// horizontal
|
|
41
43
|
--pf-c-description-list--m-horizontal__term--width: 12ch;
|
|
42
44
|
--pf-c-description-list--m-horizontal__description--width: minmax(10ch, auto);
|
|
43
45
|
--pf-c-description-list--m-horizontal__group--GridTemplateColumns: var(--pf-c-description-list__term--width) var(--pf-c-description-list--m-horizontal__description--width); // use --pf-c-description-list__term--width here as it is re-defined on line 45
|
|
46
|
+
--pf-c-description-list--m-horizontal__group--GridTemplateRows: auto;
|
|
44
47
|
--pf-c-description-list--m-1-col--GridTemplateColumns--count: 1;
|
|
45
48
|
--pf-c-description-list--m-2-col--GridTemplateColumns--count: 2;
|
|
46
49
|
--pf-c-description-list--m-3-col--GridTemplateColumns--count: 3;
|
|
@@ -56,6 +59,10 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
|
|
|
56
59
|
--pf-c-description-list__text--m-help-text--hover--TextDecorationColor: var(--pf-global--Color--100);
|
|
57
60
|
--pf-c-description-list__text--m-help-text--focus--TextDecorationColor: var(--pf-global--Color--100);
|
|
58
61
|
|
|
62
|
+
// Display modifiers
|
|
63
|
+
--pf-c-description-list--m-display-lg__description--FontSize: var(--pf-global--FontSize--lg);
|
|
64
|
+
--pf-c-description-list--m-display-2xl__description--FontSize: var(--pf-global--FontSize--2xl);
|
|
65
|
+
|
|
59
66
|
display: grid;
|
|
60
67
|
align-items: baseline;
|
|
61
68
|
row-gap: var(--pf-c-description-list--RowGap);
|
|
@@ -94,7 +101,8 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
|
|
|
94
101
|
column-count: var(--pf-c-description-list--GridTemplateColumns--count);
|
|
95
102
|
margin-bottom: calc(var(--pf-c-description-list--RowGap) * -1);
|
|
96
103
|
|
|
97
|
-
.pf-c-description-list__group
|
|
104
|
+
.pf-c-description-list__group,
|
|
105
|
+
> .pf-c-card {
|
|
98
106
|
display: inline-grid;
|
|
99
107
|
width: 100%;
|
|
100
108
|
margin-bottom: var(--pf-c-description-list--RowGap);
|
|
@@ -107,14 +115,29 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
|
|
|
107
115
|
// stylelint-enable
|
|
108
116
|
}
|
|
109
117
|
}
|
|
118
|
+
|
|
119
|
+
&.pf-m-display-lg {
|
|
120
|
+
--pf-c-description-list__description--FontSize: var(--pf-c-description-list--m-display-lg__description--FontSize);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.pf-m-display-2xl {
|
|
124
|
+
--pf-c-description-list__description--FontSize: var(--pf-c-description-list--m-display-2xl__description--FontSize);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
> .pf-c-card {
|
|
128
|
+
align-self: stretch;
|
|
129
|
+
padding: var(--pf-c-card--first-child--PaddingTop) var(--pf-c-card--child--PaddingRight) var(--pf-c-card--child--PaddingBottom) var(--pf-c-card--child--PaddingLeft);
|
|
130
|
+
}
|
|
110
131
|
}
|
|
111
132
|
|
|
112
|
-
.pf-c-description-list__group
|
|
133
|
+
.pf-c-description-list__group,
|
|
134
|
+
.pf-c-description-list > .pf-c-card {
|
|
113
135
|
display: grid;
|
|
114
136
|
grid-column: var(--pf-c-description-list__group--GridColumn);
|
|
115
137
|
row-gap: var(--pf-c-description-list__group--RowGap);
|
|
116
138
|
column-gap: var(--pf-c-description-list__group--ColumnGap);
|
|
117
139
|
grid-template-columns: var(--pf-c-description-list__group--GridTemplateColumns);
|
|
140
|
+
grid-template-rows: var(--pf-c-description-list__group--GridTemplateRows);
|
|
118
141
|
align-items: baseline;
|
|
119
142
|
}
|
|
120
143
|
|
|
@@ -143,6 +166,10 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
|
|
|
143
166
|
color: var(--pf-c-description-list__term-icon--Color);
|
|
144
167
|
}
|
|
145
168
|
|
|
169
|
+
.pf-c-description-list__description {
|
|
170
|
+
font-size: var(--pf-c-description-list__description--FontSize, inherit);
|
|
171
|
+
}
|
|
172
|
+
|
|
146
173
|
.pf-c-description-list__text {
|
|
147
174
|
min-width: 0; // this allows overflow-wrap to work
|
|
148
175
|
|
|
@@ -185,10 +212,12 @@ $pf-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md",
|
|
|
185
212
|
|
|
186
213
|
&.pf-m-horizontal#{$breakpoint-name} {
|
|
187
214
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-horizontal__group--GridTemplateColumns);
|
|
215
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-horizontal__group--GridTemplateRows);
|
|
188
216
|
}
|
|
189
217
|
|
|
190
218
|
&.pf-m-vertical#{$breakpoint-name} {
|
|
191
219
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-vertical__group--GridTemplateColumns);
|
|
220
|
+
--pf-c-description-list__group--GridTemplateRows: var(--pf-c-description-list--m-vertical__group--GridTemplateRows);
|
|
192
221
|
}
|
|
193
222
|
}
|
|
194
223
|
}
|
package/components/Page/page.css
CHANGED
|
@@ -497,30 +497,6 @@
|
|
|
497
497
|
.pf-c-page__main-subnav {
|
|
498
498
|
flex-shrink: 0;
|
|
499
499
|
}
|
|
500
|
-
.pf-c-page__main-nav.pf-m-sticky-top,
|
|
501
|
-
.pf-c-page__main-breadcrumb.pf-m-sticky-top,
|
|
502
|
-
.pf-c-page__main-tabs.pf-m-sticky-top,
|
|
503
|
-
.pf-c-page__main-section.pf-m-sticky-top,
|
|
504
|
-
.pf-c-page__main-wizard.pf-m-sticky-top,
|
|
505
|
-
.pf-c-page__main-group.pf-m-sticky-top,
|
|
506
|
-
.pf-c-page__main-subnav.pf-m-sticky-top {
|
|
507
|
-
position: sticky;
|
|
508
|
-
top: 0;
|
|
509
|
-
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
510
|
-
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
511
|
-
}
|
|
512
|
-
.pf-c-page__main-nav.pf-m-sticky-bottom,
|
|
513
|
-
.pf-c-page__main-breadcrumb.pf-m-sticky-bottom,
|
|
514
|
-
.pf-c-page__main-tabs.pf-m-sticky-bottom,
|
|
515
|
-
.pf-c-page__main-section.pf-m-sticky-bottom,
|
|
516
|
-
.pf-c-page__main-wizard.pf-m-sticky-bottom,
|
|
517
|
-
.pf-c-page__main-group.pf-m-sticky-bottom,
|
|
518
|
-
.pf-c-page__main-subnav.pf-m-sticky-bottom {
|
|
519
|
-
position: sticky;
|
|
520
|
-
bottom: 0;
|
|
521
|
-
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
522
|
-
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
523
|
-
}
|
|
524
500
|
.pf-c-page__main-nav.pf-m-overflow-scroll,
|
|
525
501
|
.pf-c-page__main-breadcrumb.pf-m-overflow-scroll,
|
|
526
502
|
.pf-c-page__main-tabs.pf-m-overflow-scroll,
|
|
@@ -552,6 +528,160 @@
|
|
|
552
528
|
z-index: var(--pf-c-page--section--m-shadow-top--ZIndex);
|
|
553
529
|
box-shadow: var(--pf-c-page--section--m-shadow-top--BoxShadow);
|
|
554
530
|
}
|
|
531
|
+
.pf-c-page__main-nav.pf-m-sticky-top,
|
|
532
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-top,
|
|
533
|
+
.pf-c-page__main-tabs.pf-m-sticky-top,
|
|
534
|
+
.pf-c-page__main-section.pf-m-sticky-top,
|
|
535
|
+
.pf-c-page__main-wizard.pf-m-sticky-top,
|
|
536
|
+
.pf-c-page__main-group.pf-m-sticky-top,
|
|
537
|
+
.pf-c-page__main-subnav.pf-m-sticky-top {
|
|
538
|
+
position: sticky;
|
|
539
|
+
top: 0;
|
|
540
|
+
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
541
|
+
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
542
|
+
}
|
|
543
|
+
.pf-c-page__main-nav.pf-m-sticky-bottom,
|
|
544
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-bottom,
|
|
545
|
+
.pf-c-page__main-tabs.pf-m-sticky-bottom,
|
|
546
|
+
.pf-c-page__main-section.pf-m-sticky-bottom,
|
|
547
|
+
.pf-c-page__main-wizard.pf-m-sticky-bottom,
|
|
548
|
+
.pf-c-page__main-group.pf-m-sticky-bottom,
|
|
549
|
+
.pf-c-page__main-subnav.pf-m-sticky-bottom {
|
|
550
|
+
position: sticky;
|
|
551
|
+
bottom: 0;
|
|
552
|
+
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
553
|
+
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
554
|
+
}
|
|
555
|
+
@media (min-height: 0) {
|
|
556
|
+
.pf-c-page__main-nav.pf-m-sticky-top-on-sm-height,
|
|
557
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-top-on-sm-height,
|
|
558
|
+
.pf-c-page__main-tabs.pf-m-sticky-top-on-sm-height,
|
|
559
|
+
.pf-c-page__main-section.pf-m-sticky-top-on-sm-height,
|
|
560
|
+
.pf-c-page__main-wizard.pf-m-sticky-top-on-sm-height,
|
|
561
|
+
.pf-c-page__main-group.pf-m-sticky-top-on-sm-height,
|
|
562
|
+
.pf-c-page__main-subnav.pf-m-sticky-top-on-sm-height {
|
|
563
|
+
position: sticky;
|
|
564
|
+
top: 0;
|
|
565
|
+
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
566
|
+
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
567
|
+
}
|
|
568
|
+
.pf-c-page__main-nav.pf-m-sticky-bottom-on-sm-height,
|
|
569
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-bottom-on-sm-height,
|
|
570
|
+
.pf-c-page__main-tabs.pf-m-sticky-bottom-on-sm-height,
|
|
571
|
+
.pf-c-page__main-section.pf-m-sticky-bottom-on-sm-height,
|
|
572
|
+
.pf-c-page__main-wizard.pf-m-sticky-bottom-on-sm-height,
|
|
573
|
+
.pf-c-page__main-group.pf-m-sticky-bottom-on-sm-height,
|
|
574
|
+
.pf-c-page__main-subnav.pf-m-sticky-bottom-on-sm-height {
|
|
575
|
+
position: sticky;
|
|
576
|
+
bottom: 0;
|
|
577
|
+
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
578
|
+
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
@media (min-height: 40rem) {
|
|
582
|
+
.pf-c-page__main-nav.pf-m-sticky-top-on-md-height,
|
|
583
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-top-on-md-height,
|
|
584
|
+
.pf-c-page__main-tabs.pf-m-sticky-top-on-md-height,
|
|
585
|
+
.pf-c-page__main-section.pf-m-sticky-top-on-md-height,
|
|
586
|
+
.pf-c-page__main-wizard.pf-m-sticky-top-on-md-height,
|
|
587
|
+
.pf-c-page__main-group.pf-m-sticky-top-on-md-height,
|
|
588
|
+
.pf-c-page__main-subnav.pf-m-sticky-top-on-md-height {
|
|
589
|
+
position: sticky;
|
|
590
|
+
top: 0;
|
|
591
|
+
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
592
|
+
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
593
|
+
}
|
|
594
|
+
.pf-c-page__main-nav.pf-m-sticky-bottom-on-md-height,
|
|
595
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-bottom-on-md-height,
|
|
596
|
+
.pf-c-page__main-tabs.pf-m-sticky-bottom-on-md-height,
|
|
597
|
+
.pf-c-page__main-section.pf-m-sticky-bottom-on-md-height,
|
|
598
|
+
.pf-c-page__main-wizard.pf-m-sticky-bottom-on-md-height,
|
|
599
|
+
.pf-c-page__main-group.pf-m-sticky-bottom-on-md-height,
|
|
600
|
+
.pf-c-page__main-subnav.pf-m-sticky-bottom-on-md-height {
|
|
601
|
+
position: sticky;
|
|
602
|
+
bottom: 0;
|
|
603
|
+
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
604
|
+
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
@media (min-height: 48rem) {
|
|
608
|
+
.pf-c-page__main-nav.pf-m-sticky-top-on-lg-height,
|
|
609
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-top-on-lg-height,
|
|
610
|
+
.pf-c-page__main-tabs.pf-m-sticky-top-on-lg-height,
|
|
611
|
+
.pf-c-page__main-section.pf-m-sticky-top-on-lg-height,
|
|
612
|
+
.pf-c-page__main-wizard.pf-m-sticky-top-on-lg-height,
|
|
613
|
+
.pf-c-page__main-group.pf-m-sticky-top-on-lg-height,
|
|
614
|
+
.pf-c-page__main-subnav.pf-m-sticky-top-on-lg-height {
|
|
615
|
+
position: sticky;
|
|
616
|
+
top: 0;
|
|
617
|
+
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
618
|
+
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
619
|
+
}
|
|
620
|
+
.pf-c-page__main-nav.pf-m-sticky-bottom-on-lg-height,
|
|
621
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-bottom-on-lg-height,
|
|
622
|
+
.pf-c-page__main-tabs.pf-m-sticky-bottom-on-lg-height,
|
|
623
|
+
.pf-c-page__main-section.pf-m-sticky-bottom-on-lg-height,
|
|
624
|
+
.pf-c-page__main-wizard.pf-m-sticky-bottom-on-lg-height,
|
|
625
|
+
.pf-c-page__main-group.pf-m-sticky-bottom-on-lg-height,
|
|
626
|
+
.pf-c-page__main-subnav.pf-m-sticky-bottom-on-lg-height {
|
|
627
|
+
position: sticky;
|
|
628
|
+
bottom: 0;
|
|
629
|
+
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
630
|
+
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
@media (min-height: 60rem) {
|
|
634
|
+
.pf-c-page__main-nav.pf-m-sticky-top-on-xl-height,
|
|
635
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-top-on-xl-height,
|
|
636
|
+
.pf-c-page__main-tabs.pf-m-sticky-top-on-xl-height,
|
|
637
|
+
.pf-c-page__main-section.pf-m-sticky-top-on-xl-height,
|
|
638
|
+
.pf-c-page__main-wizard.pf-m-sticky-top-on-xl-height,
|
|
639
|
+
.pf-c-page__main-group.pf-m-sticky-top-on-xl-height,
|
|
640
|
+
.pf-c-page__main-subnav.pf-m-sticky-top-on-xl-height {
|
|
641
|
+
position: sticky;
|
|
642
|
+
top: 0;
|
|
643
|
+
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
644
|
+
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
645
|
+
}
|
|
646
|
+
.pf-c-page__main-nav.pf-m-sticky-bottom-on-xl-height,
|
|
647
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-bottom-on-xl-height,
|
|
648
|
+
.pf-c-page__main-tabs.pf-m-sticky-bottom-on-xl-height,
|
|
649
|
+
.pf-c-page__main-section.pf-m-sticky-bottom-on-xl-height,
|
|
650
|
+
.pf-c-page__main-wizard.pf-m-sticky-bottom-on-xl-height,
|
|
651
|
+
.pf-c-page__main-group.pf-m-sticky-bottom-on-xl-height,
|
|
652
|
+
.pf-c-page__main-subnav.pf-m-sticky-bottom-on-xl-height {
|
|
653
|
+
position: sticky;
|
|
654
|
+
bottom: 0;
|
|
655
|
+
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
656
|
+
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
@media (min-height: 80rem) {
|
|
660
|
+
.pf-c-page__main-nav.pf-m-sticky-top-on-2xl-height,
|
|
661
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-top-on-2xl-height,
|
|
662
|
+
.pf-c-page__main-tabs.pf-m-sticky-top-on-2xl-height,
|
|
663
|
+
.pf-c-page__main-section.pf-m-sticky-top-on-2xl-height,
|
|
664
|
+
.pf-c-page__main-wizard.pf-m-sticky-top-on-2xl-height,
|
|
665
|
+
.pf-c-page__main-group.pf-m-sticky-top-on-2xl-height,
|
|
666
|
+
.pf-c-page__main-subnav.pf-m-sticky-top-on-2xl-height {
|
|
667
|
+
position: sticky;
|
|
668
|
+
top: 0;
|
|
669
|
+
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
670
|
+
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
671
|
+
}
|
|
672
|
+
.pf-c-page__main-nav.pf-m-sticky-bottom-on-2xl-height,
|
|
673
|
+
.pf-c-page__main-breadcrumb.pf-m-sticky-bottom-on-2xl-height,
|
|
674
|
+
.pf-c-page__main-tabs.pf-m-sticky-bottom-on-2xl-height,
|
|
675
|
+
.pf-c-page__main-section.pf-m-sticky-bottom-on-2xl-height,
|
|
676
|
+
.pf-c-page__main-wizard.pf-m-sticky-bottom-on-2xl-height,
|
|
677
|
+
.pf-c-page__main-group.pf-m-sticky-bottom-on-2xl-height,
|
|
678
|
+
.pf-c-page__main-subnav.pf-m-sticky-bottom-on-2xl-height {
|
|
679
|
+
position: sticky;
|
|
680
|
+
bottom: 0;
|
|
681
|
+
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
682
|
+
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
555
685
|
|
|
556
686
|
.pf-c-page__main,
|
|
557
687
|
.pf-c-page__drawer {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
$pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
2
|
+
$pf-c-page--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
2
3
|
|
|
3
4
|
// URL.com/guidelines#layout
|
|
4
5
|
.pf-c-page {
|
|
@@ -477,20 +478,6 @@ $pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl",
|
|
|
477
478
|
.pf-c-page__main-subnav {
|
|
478
479
|
flex-shrink: 0;
|
|
479
480
|
|
|
480
|
-
&.pf-m-sticky-top {
|
|
481
|
-
position: sticky;
|
|
482
|
-
top: 0;
|
|
483
|
-
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
484
|
-
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
&.pf-m-sticky-bottom {
|
|
488
|
-
position: sticky;
|
|
489
|
-
bottom: 0;
|
|
490
|
-
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
491
|
-
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
481
|
&.pf-m-overflow-scroll {
|
|
495
482
|
position: relative;
|
|
496
483
|
flex-shrink: 1;
|
|
@@ -506,6 +493,28 @@ $pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl",
|
|
|
506
493
|
z-index: var(--pf-c-page--section--m-shadow-top--ZIndex);
|
|
507
494
|
box-shadow: var(--pf-c-page--section--m-shadow-top--BoxShadow);
|
|
508
495
|
}
|
|
496
|
+
|
|
497
|
+
// Responsive height modifiers for sticky top/bottom
|
|
498
|
+
@each $breakpoint, $breakpoint-value in $pf-c-page--height-breakpoint-map {
|
|
499
|
+
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}-height, "");
|
|
500
|
+
|
|
501
|
+
@include pf-apply-height-breakpoint($breakpoint) {
|
|
502
|
+
|
|
503
|
+
&.pf-m-sticky-top#{$breakpoint-name} {
|
|
504
|
+
position: sticky;
|
|
505
|
+
top: 0;
|
|
506
|
+
z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);
|
|
507
|
+
box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
&.pf-m-sticky-bottom#{$breakpoint-name} {
|
|
511
|
+
position: sticky;
|
|
512
|
+
bottom: 0;
|
|
513
|
+
z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);
|
|
514
|
+
box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
509
518
|
}
|
|
510
519
|
|
|
511
520
|
// Main & Drawer
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -122,6 +122,15 @@
|
|
|
122
122
|
--pf-c-tabs__add--c-button--PaddingTop: var(--pf-c-tabs__link--PaddingTop);
|
|
123
123
|
--pf-c-tabs__add--c-button--PaddingBottom: var(--pf-c-tabs__link--PaddingBottom);
|
|
124
124
|
--pf-c-tabs__add--c-button--OutlineOffset: calc(-1 * var(--pf-global--spacer--xs));
|
|
125
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-global--Color--200);
|
|
126
|
+
--pf-c-tabs__link-toggle-icon--Transition: .2s ease-in 0s;
|
|
127
|
+
--pf-c-tabs__link-toggle-icon--Rotate: 0;
|
|
128
|
+
--pf-c-tabs__link-toggle-icon--FontSize: var(--pf-global--FontSize--sm);
|
|
129
|
+
--pf-c-tabs__link--m-expanded__toggle-icon--Color: var(--pf-global--Color--100);
|
|
130
|
+
--pf-c-tabs__link--m-expanded__toggle-icon--Rotate: 90deg;
|
|
131
|
+
--pf-c-tabs__link--hover__toggle-icon--Color: var(--pf-global--Color--100);
|
|
132
|
+
--pf-c-tabs__link--active__toggle-icon--Color: var(--pf-global--Color--100);
|
|
133
|
+
--pf-c-tabs__link--focus__toggle-icon--Color: var(--pf-global--Color--100);
|
|
125
134
|
position: relative;
|
|
126
135
|
display: flex;
|
|
127
136
|
width: var(--pf-c-tabs--Width);
|
|
@@ -550,6 +559,15 @@
|
|
|
550
559
|
--pf-c-tabs__link--after--BorderWidth: var(--pf-c-tabs__link--active--after--BorderWidth);
|
|
551
560
|
}
|
|
552
561
|
|
|
562
|
+
.pf-c-tabs__link:hover {
|
|
563
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-c-tabs__link--hover__toggle-icon--Color);
|
|
564
|
+
}
|
|
565
|
+
.pf-c-tabs__link:focus {
|
|
566
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-c-tabs__link--focus__toggle-icon--Color);
|
|
567
|
+
}
|
|
568
|
+
.pf-c-tabs__link:active, .pf-c-tabs__link.pf-m-active {
|
|
569
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-c-tabs__link--active__toggle-icon--Color);
|
|
570
|
+
}
|
|
553
571
|
.pf-c-tabs__link:disabled, .pf-c-tabs__link.pf-m-disabled {
|
|
554
572
|
pointer-events: none;
|
|
555
573
|
}
|
|
@@ -573,6 +591,18 @@
|
|
|
573
591
|
.pf-c-tabs__link .pf-c-tabs__item-text:last-child {
|
|
574
592
|
--pf-c-tabs__link--child--MarginRight: 0;
|
|
575
593
|
}
|
|
594
|
+
.pf-c-tabs__link.pf-m-expanded {
|
|
595
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-c-tabs__link--m-expanded__toggle-icon--Color);
|
|
596
|
+
--pf-c-tabs__link-toggle-icon--Rotate: var(--pf-c-tabs__link--m-expanded__toggle-icon--Rotate);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.pf-c-tabs__link-toggle-icon {
|
|
600
|
+
align-self: end;
|
|
601
|
+
font-size: var(--pf-c-tabs__link-toggle-icon--FontSize);
|
|
602
|
+
color: var(--pf-c-tabs__link-toggle-icon--Color);
|
|
603
|
+
transition: var(--pf-c-tabs__link-toggle-icon--Transition);
|
|
604
|
+
transform: rotate(var(--pf-c-tabs__link-toggle-icon--Rotate));
|
|
605
|
+
}
|
|
576
606
|
|
|
577
607
|
.pf-c-tabs__item-close {
|
|
578
608
|
display: flex;
|
|
@@ -156,6 +156,17 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
|
156
156
|
--pf-c-tabs__add--c-button--PaddingBottom: var(--pf-c-tabs__link--PaddingBottom);
|
|
157
157
|
--pf-c-tabs__add--c-button--OutlineOffset: calc(-1 * var(--pf-global--spacer--xs));
|
|
158
158
|
|
|
159
|
+
// Overflow menu toggle icon
|
|
160
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-global--Color--200);
|
|
161
|
+
--pf-c-tabs__link-toggle-icon--Transition: .2s ease-in 0s;
|
|
162
|
+
--pf-c-tabs__link-toggle-icon--Rotate: 0;
|
|
163
|
+
--pf-c-tabs__link-toggle-icon--FontSize: var(--pf-global--FontSize--sm);
|
|
164
|
+
--pf-c-tabs__link--m-expanded__toggle-icon--Color: var(--pf-global--Color--100);
|
|
165
|
+
--pf-c-tabs__link--m-expanded__toggle-icon--Rotate: 90deg;
|
|
166
|
+
--pf-c-tabs__link--hover__toggle-icon--Color: var(--pf-global--Color--100);
|
|
167
|
+
--pf-c-tabs__link--active__toggle-icon--Color: var(--pf-global--Color--100);
|
|
168
|
+
--pf-c-tabs__link--focus__toggle-icon--Color: var(--pf-global--Color--100);
|
|
169
|
+
|
|
159
170
|
@media screen and (min-width: $pf-global--breakpoint--xl) {
|
|
160
171
|
--pf-c-tabs__scroll-button--Width: var(--pf-c-tabs__scroll-button--xl--Width);
|
|
161
172
|
--pf-c-tabs--m-page-insets--inset: var(--pf-c-tabs--m-page-insets--xl--inset);
|
|
@@ -628,6 +639,19 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
|
628
639
|
}
|
|
629
640
|
}
|
|
630
641
|
|
|
642
|
+
&:hover {
|
|
643
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-c-tabs__link--hover__toggle-icon--Color);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
&:focus {
|
|
647
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-c-tabs__link--focus__toggle-icon--Color);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
&:active,
|
|
651
|
+
&.pf-m-active {
|
|
652
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-c-tabs__link--active__toggle-icon--Color);
|
|
653
|
+
}
|
|
654
|
+
|
|
631
655
|
&:disabled,
|
|
632
656
|
&.pf-m-disabled {
|
|
633
657
|
pointer-events: none;
|
|
@@ -658,6 +682,19 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
|
658
682
|
--pf-c-tabs__link--child--MarginRight: 0;
|
|
659
683
|
}
|
|
660
684
|
}
|
|
685
|
+
|
|
686
|
+
&.pf-m-expanded {
|
|
687
|
+
--pf-c-tabs__link-toggle-icon--Color: var(--pf-c-tabs__link--m-expanded__toggle-icon--Color);
|
|
688
|
+
--pf-c-tabs__link-toggle-icon--Rotate: var(--pf-c-tabs__link--m-expanded__toggle-icon--Rotate);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.pf-c-tabs__link-toggle-icon {
|
|
693
|
+
align-self: end;
|
|
694
|
+
font-size: var(--pf-c-tabs__link-toggle-icon--FontSize);
|
|
695
|
+
color: var(--pf-c-tabs__link-toggle-icon--Color);
|
|
696
|
+
transition: var(--pf-c-tabs__link-toggle-icon--Transition);
|
|
697
|
+
transform: rotate(var(--pf-c-tabs__link-toggle-icon--Rotate));
|
|
661
698
|
}
|
|
662
699
|
|
|
663
700
|
.pf-c-tabs__item-close {
|
|
@@ -490,6 +490,7 @@
|
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
.pf-c-wizard__footer {
|
|
493
|
+
position: relative;
|
|
493
494
|
z-index: var(--pf-c-wizard__footer--ZIndex);
|
|
494
495
|
display: flex;
|
|
495
496
|
flex-wrap: wrap;
|
|
@@ -503,7 +504,7 @@
|
|
|
503
504
|
.pf-c-wizard__footer > *:not(:last-child) {
|
|
504
505
|
margin-right: var(--pf-c-wizard__footer--child--MarginRight);
|
|
505
506
|
}
|
|
506
|
-
.pf-c-page__main-wizard .pf-c-wizard__footer, .pf-c-modal-box .pf-c-wizard__footer {
|
|
507
|
+
.pf-c-page__main-wizard .pf-c-wizard__footer, .pf-c-modal-box .pf-c-wizard__footer, .pf-c-drawer > .pf-c-wizard__footer {
|
|
507
508
|
box-shadow: var(--pf-c-wizard__footer--BoxShadow);
|
|
508
509
|
}
|
|
509
510
|
|
|
@@ -531,6 +531,7 @@
|
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
.pf-c-wizard__footer {
|
|
534
|
+
position: relative;
|
|
534
535
|
z-index: var(--pf-c-wizard__footer--ZIndex);
|
|
535
536
|
display: flex;
|
|
536
537
|
flex-wrap: wrap;
|
|
@@ -549,7 +550,8 @@
|
|
|
549
550
|
// Limit shadow to a child of modal and main-wizard since we can ensure wizard footer is fixed in those usages
|
|
550
551
|
// Make a regular style in a breaking change release
|
|
551
552
|
.pf-c-page__main-wizard &,
|
|
552
|
-
.pf-c-modal-box
|
|
553
|
+
.pf-c-modal-box &,
|
|
554
|
+
.pf-c-drawer > & {
|
|
553
555
|
box-shadow: var(--pf-c-wizard__footer--BoxShadow);
|
|
554
556
|
}
|
|
555
557
|
}
|