@patternfly/patternfly 4.201.0 → 4.202.0
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/AboutModalBox/about-modal-box.css +3 -0
- package/components/Banner/banner.css +3 -0
- package/components/Card/card.css +2 -1
- package/components/Card/themes/dark/card.scss +2 -1
- package/components/LogViewer/log-viewer.css +3 -0
- package/components/Login/login.css +4 -0
- package/components/Masthead/masthead.css +4 -4
- package/components/Masthead/masthead.scss +1 -5
- package/components/MenuToggle/menu-toggle.css +16 -12
- package/components/MenuToggle/menu-toggle.scss +18 -15
- package/components/Page/page.css +5 -0
- package/components/Wizard/wizard.css +3 -0
- package/package.json +1 -1
- package/patternfly-no-reset.css +325 -17
- package/patternfly.css +325 -17
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/themes/dark/placeholders.scss +4 -0
|
@@ -271,6 +271,9 @@
|
|
|
271
271
|
--pf-global--link--Color--hover: #73bcf7;
|
|
272
272
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
273
273
|
}
|
|
274
|
+
:where(.pf-theme-dark) .pf-c-about-modal-box .pf-c-card {
|
|
275
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
276
|
+
}
|
|
274
277
|
:where(.pf-theme-dark) .pf-c-about-modal-box .pf-c-button {
|
|
275
278
|
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
276
279
|
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
@@ -135,6 +135,9 @@
|
|
|
135
135
|
--pf-global--link--Color--hover: #73bcf7;
|
|
136
136
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
137
137
|
}
|
|
138
|
+
:where(.pf-theme-dark) .pf-c-banner .pf-c-card {
|
|
139
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
140
|
+
}
|
|
138
141
|
:where(.pf-theme-dark) .pf-c-banner .pf-c-button {
|
|
139
142
|
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
140
143
|
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
package/components/Card/card.css
CHANGED
|
@@ -326,7 +326,8 @@
|
|
|
326
326
|
font-weight: var(--pf-global--FontWeight--normal);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
:where(.pf-theme-dark) .pf-c-card
|
|
329
|
+
:where(.pf-theme-dark) .pf-c-card,
|
|
330
|
+
:where(.pf-theme-dark) .pf-c-card.pf-m-non-selectable-raised {
|
|
330
331
|
--pf-c-card--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
331
332
|
--pf-c-card--m-hoverable-raised--hover--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
332
333
|
--pf-c-card--m-selectable-raised--hover--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
@@ -209,6 +209,9 @@
|
|
|
209
209
|
--pf-global--link--Color--hover: #73bcf7;
|
|
210
210
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
211
211
|
}
|
|
212
|
+
:where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main .pf-c-card {
|
|
213
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
214
|
+
}
|
|
212
215
|
:where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main .pf-c-button {
|
|
213
216
|
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
214
217
|
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
@@ -306,6 +306,10 @@
|
|
|
306
306
|
--pf-global--link--Color--hover: #73bcf7;
|
|
307
307
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
308
308
|
}
|
|
309
|
+
:where(.pf-theme-dark) .pf-c-login__header .pf-c-card,
|
|
310
|
+
:where(.pf-theme-dark) .pf-c-login__footer .pf-c-card {
|
|
311
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
312
|
+
}
|
|
309
313
|
:where(.pf-theme-dark) .pf-c-login__header .pf-c-button,
|
|
310
314
|
:where(.pf-theme-dark) .pf-c-login__footer .pf-c-button {
|
|
311
315
|
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
@@ -167,13 +167,10 @@
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
@media screen and (min-width: 1200px) {
|
|
170
|
-
.pf-c-
|
|
170
|
+
.pf-c-masthead {
|
|
171
171
|
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
.pf-c-page:where(.pf-m-breakpoint-xl) .pf-c-masthead {
|
|
175
|
-
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
|
176
|
-
}
|
|
177
174
|
.pf-c-masthead.pf-m-light {
|
|
178
175
|
color: var(--pf-global--Color--100);
|
|
179
176
|
--pf-c-masthead--BackgroundColor: var(--pf-c-masthead--m-light--BackgroundColor);
|
|
@@ -668,6 +665,9 @@
|
|
|
668
665
|
--pf-global--link--Color--hover: #73bcf7;
|
|
669
666
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
670
667
|
}
|
|
668
|
+
:where(.pf-theme-dark) .pf-c-masthead .pf-c-card {
|
|
669
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
670
|
+
}
|
|
671
671
|
:where(.pf-theme-dark) .pf-c-masthead .pf-c-button {
|
|
672
672
|
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
673
673
|
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
@@ -156,13 +156,9 @@ $pf-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
156
156
|
@media screen and (min-width: $pf-global--breakpoint--md) {
|
|
157
157
|
@include pf-c-masthead--m-display-inline;
|
|
158
158
|
}
|
|
159
|
-
|
|
160
|
-
@media screen and (min-width: $pf-global--breakpoint--xl) {
|
|
161
|
-
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
|
162
|
-
}
|
|
163
159
|
}
|
|
164
160
|
|
|
165
|
-
|
|
161
|
+
@media screen and (min-width: $pf-global--breakpoint--xl) {
|
|
166
162
|
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
|
167
163
|
}
|
|
168
164
|
|
|
@@ -66,6 +66,8 @@
|
|
|
66
66
|
--pf-c-menu-toggle__icon--MarginRight: var(--pf-global--spacer--sm);
|
|
67
67
|
--pf-c-menu-toggle__count--MarginLeft: var(--pf-global--spacer--sm);
|
|
68
68
|
--pf-c-menu-toggle__controls--PaddingLeft: var(--pf-global--spacer--md);
|
|
69
|
+
--pf-c-menu-toggle__controls--MarginLeft: auto;
|
|
70
|
+
--pf-c-menu-toggle__controls--MarginRight: 0;
|
|
69
71
|
--pf-c-menu-toggle__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
70
72
|
--pf-c-menu-toggle--m-plain__toggle-icon--Color: var(--pf-global--Color--200);
|
|
71
73
|
--pf-c-menu-toggle--m-plain--hover__toggle-icon--Color: var(--pf-global--Color--100);
|
|
@@ -106,10 +108,8 @@
|
|
|
106
108
|
--pf-c-menu-toggle--m-split-button--m-action--m-secondary--child--BorderLeftColor: var(--pf-global--primary-color--100);
|
|
107
109
|
--pf-c-menu-toggle__button__controls--MarginRight: var(--pf-global--spacer--sm);
|
|
108
110
|
--pf-c-menu-toggle__button__controls--MarginLeft: var(--pf-global--spacer--sm);
|
|
109
|
-
--pf-c-menu-toggle--m-
|
|
110
|
-
--pf-c-menu-toggle--m-
|
|
111
|
-
--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginBottom: calc(var(--pf-c-menu-toggle--PaddingBottom) * -1);
|
|
112
|
-
--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginLeft: calc(var(--pf-c-menu-toggle--PaddingLeft) * -1);
|
|
111
|
+
--pf-c-menu-toggle--m-typeahead__controls--MarginRight: var(--pf-global--spacer--md);
|
|
112
|
+
--pf-c-menu-toggle--m-typeahead__controls--MarginLeft: var(--pf-global--spacer--sm);
|
|
113
113
|
--pf-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
114
114
|
position: relative;
|
|
115
115
|
display: inline-flex;
|
|
@@ -242,13 +242,18 @@
|
|
|
242
242
|
--pf-c-menu-toggle--active--after--BorderBottomWidth: var(--pf-c-menu-toggle--m-full-height--active--after--BorderBottomWidth);
|
|
243
243
|
height: 100%;
|
|
244
244
|
}
|
|
245
|
+
.pf-c-menu-toggle.pf-m-typeahead {
|
|
246
|
+
--pf-c-menu-toggle__button__controls--MarginRight: var(--pf-c-menu-toggle--m-typeahead__controls--MarginRight);
|
|
247
|
+
--pf-c-menu-toggle__button__controls--MarginLeft: var(--pf-c-menu-toggle--m-typeahead__controls--MarginLeft);
|
|
248
|
+
align-items: stretch;
|
|
249
|
+
padding: 0;
|
|
250
|
+
}
|
|
245
251
|
.pf-c-menu-toggle.pf-m-typeahead .pf-c-text-input-group {
|
|
246
252
|
--pf-c-text-input-group__utilities--c-button--PaddingRight: var(--pf-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight);
|
|
253
|
+
--pf-c-text-input-group__utilities--MarginRight: 0;
|
|
247
254
|
flex: 1;
|
|
248
|
-
margin: var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginTop) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginRight) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginBottom) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginLeft);
|
|
249
255
|
}
|
|
250
256
|
.pf-c-menu-toggle.pf-m-split-button {
|
|
251
|
-
--pf-c-menu-toggle__toggle-icon--MarginRight: 0;
|
|
252
257
|
padding: 0;
|
|
253
258
|
}
|
|
254
259
|
.pf-c-menu-toggle.pf-m-split-button > * {
|
|
@@ -352,14 +357,12 @@
|
|
|
352
357
|
}
|
|
353
358
|
|
|
354
359
|
.pf-c-menu-toggle__button {
|
|
360
|
+
--pf-c-menu-toggle__controls--PaddingLeft: 0;
|
|
361
|
+
--pf-c-menu-toggle__controls--MarginRight: var(--pf-c-menu-toggle__button__controls--MarginRight);
|
|
362
|
+
--pf-c-menu-toggle__controls--MarginLeft: var(--pf-c-menu-toggle__button__controls--MarginLeft);
|
|
355
363
|
color: inherit;
|
|
356
364
|
border: 0;
|
|
357
365
|
}
|
|
358
|
-
.pf-c-menu-toggle__button .pf-c-menu-toggle__controls {
|
|
359
|
-
padding-left: 0;
|
|
360
|
-
margin-right: var(--pf-c-menu-toggle__button__controls--MarginRight);
|
|
361
|
-
margin-left: var(--pf-c-menu-toggle__button__controls--MarginLeft);
|
|
362
|
-
}
|
|
363
366
|
|
|
364
367
|
.pf-c-menu-toggle__icon {
|
|
365
368
|
display: inline-flex;
|
|
@@ -384,7 +387,8 @@
|
|
|
384
387
|
|
|
385
388
|
.pf-c-menu-toggle__controls {
|
|
386
389
|
padding-left: var(--pf-c-menu-toggle__controls--PaddingLeft);
|
|
387
|
-
margin-
|
|
390
|
+
margin-right: var(--pf-c-menu-toggle__controls--MarginRight);
|
|
391
|
+
margin-left: var(--pf-c-menu-toggle__controls--MarginLeft);
|
|
388
392
|
}
|
|
389
393
|
|
|
390
394
|
.pf-c-menu-toggle__toggle-icon {
|
|
@@ -91,8 +91,10 @@
|
|
|
91
91
|
// Count
|
|
92
92
|
--pf-c-menu-toggle__count--MarginLeft: var(--pf-global--spacer--sm);
|
|
93
93
|
|
|
94
|
-
// Controls
|
|
94
|
+
// Controls -- update element/vars to "control" in breaking change
|
|
95
95
|
--pf-c-menu-toggle__controls--PaddingLeft: var(--pf-global--spacer--md);
|
|
96
|
+
--pf-c-menu-toggle__controls--MarginLeft: auto;
|
|
97
|
+
--pf-c-menu-toggle__controls--MarginRight: 0;
|
|
96
98
|
|
|
97
99
|
// Toggle icon
|
|
98
100
|
--pf-c-menu-toggle__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
@@ -151,10 +153,8 @@
|
|
|
151
153
|
--pf-c-menu-toggle__button__controls--MarginLeft: var(--pf-global--spacer--sm);
|
|
152
154
|
|
|
153
155
|
// Typeahead
|
|
154
|
-
--pf-c-menu-toggle--m-
|
|
155
|
-
--pf-c-menu-toggle--m-
|
|
156
|
-
--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginBottom: calc(var(--pf-c-menu-toggle--PaddingBottom) * -1);
|
|
157
|
-
--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginLeft: calc(var(--pf-c-menu-toggle--PaddingLeft) * -1);
|
|
156
|
+
--pf-c-menu-toggle--m-typeahead__controls--MarginRight: var(--pf-global--spacer--md);
|
|
157
|
+
--pf-c-menu-toggle--m-typeahead__controls--MarginLeft: var(--pf-global--spacer--sm);
|
|
158
158
|
--pf-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
159
159
|
|
|
160
160
|
position: relative;
|
|
@@ -324,17 +324,21 @@
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
&.pf-m-typeahead {
|
|
327
|
+
--pf-c-menu-toggle__button__controls--MarginRight: var(--pf-c-menu-toggle--m-typeahead__controls--MarginRight);
|
|
328
|
+
--pf-c-menu-toggle__button__controls--MarginLeft: var(--pf-c-menu-toggle--m-typeahead__controls--MarginLeft);
|
|
329
|
+
|
|
330
|
+
align-items: stretch;
|
|
331
|
+
padding: 0;
|
|
332
|
+
|
|
327
333
|
.pf-c-text-input-group {
|
|
328
334
|
--pf-c-text-input-group__utilities--c-button--PaddingRight: var(--pf-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight);
|
|
335
|
+
--pf-c-text-input-group__utilities--MarginRight: 0;
|
|
329
336
|
|
|
330
337
|
flex: 1;
|
|
331
|
-
margin: var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginTop) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginRight) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginBottom) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginLeft);
|
|
332
338
|
}
|
|
333
339
|
}
|
|
334
340
|
|
|
335
341
|
&.pf-m-split-button {
|
|
336
|
-
--pf-c-menu-toggle__toggle-icon--MarginRight: 0;
|
|
337
|
-
|
|
338
342
|
padding: 0; // pass padding to children
|
|
339
343
|
|
|
340
344
|
> * {
|
|
@@ -492,14 +496,12 @@
|
|
|
492
496
|
}
|
|
493
497
|
|
|
494
498
|
.pf-c-menu-toggle__button {
|
|
499
|
+
--pf-c-menu-toggle__controls--PaddingLeft: 0;
|
|
500
|
+
--pf-c-menu-toggle__controls--MarginRight: var(--pf-c-menu-toggle__button__controls--MarginRight);
|
|
501
|
+
--pf-c-menu-toggle__controls--MarginLeft: var(--pf-c-menu-toggle__button__controls--MarginLeft);
|
|
502
|
+
|
|
495
503
|
color: inherit;
|
|
496
504
|
border: 0;
|
|
497
|
-
|
|
498
|
-
.pf-c-menu-toggle__controls {
|
|
499
|
-
padding-left: 0;
|
|
500
|
-
margin-right: var(--pf-c-menu-toggle__button__controls--MarginRight);
|
|
501
|
-
margin-left: var(--pf-c-menu-toggle__button__controls--MarginLeft);
|
|
502
|
-
}
|
|
503
505
|
}
|
|
504
506
|
|
|
505
507
|
.pf-c-menu-toggle__icon {
|
|
@@ -524,7 +526,8 @@
|
|
|
524
526
|
|
|
525
527
|
.pf-c-menu-toggle__controls {
|
|
526
528
|
padding-left: var(--pf-c-menu-toggle__controls--PaddingLeft);
|
|
527
|
-
margin-
|
|
529
|
+
margin-right: var(--pf-c-menu-toggle__controls--MarginRight);
|
|
530
|
+
margin-left: var(--pf-c-menu-toggle__controls--MarginLeft);
|
|
528
531
|
}
|
|
529
532
|
|
|
530
533
|
.pf-c-menu-toggle__toggle-icon {
|
package/components/Page/page.css
CHANGED
|
@@ -920,6 +920,11 @@
|
|
|
920
920
|
--pf-global--link--Color--hover: #73bcf7;
|
|
921
921
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
922
922
|
}
|
|
923
|
+
:where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-card,
|
|
924
|
+
:where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-card,
|
|
925
|
+
:where(.pf-theme-dark) .pf-c-page__header .pf-c-card {
|
|
926
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
927
|
+
}
|
|
923
928
|
:where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button,
|
|
924
929
|
:where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button,
|
|
925
930
|
:where(.pf-theme-dark) .pf-c-page__header .pf-c-button {
|
|
@@ -521,6 +521,9 @@
|
|
|
521
521
|
--pf-global--link--Color--hover: #73bcf7;
|
|
522
522
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
523
523
|
}
|
|
524
|
+
:where(.pf-theme-dark) .pf-c-wizard__header .pf-c-card {
|
|
525
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
526
|
+
}
|
|
524
527
|
:where(.pf-theme-dark) .pf-c-wizard__header .pf-c-button {
|
|
525
528
|
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
526
529
|
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|