@patternfly/patternfly 5.0.0-alpha.51 → 5.0.0-alpha.53

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.
@@ -198,8 +198,8 @@
198
198
  --pf-v5-global--BorderRadius--lg: 30em;
199
199
  --pf-v5-global--icon--Color--light: #6a6e73;
200
200
  --pf-v5-global--icon--Color--dark: #151515;
201
- --pf-v5-global--icon--FontSize--sm: 0.625rem;
202
- --pf-v5-global--icon--FontSize--md: 1.125rem;
201
+ --pf-v5-global--icon--FontSize--sm: 0.75rem;
202
+ --pf-v5-global--icon--FontSize--md: 1rem;
203
203
  --pf-v5-global--icon--FontSize--lg: 1.5rem;
204
204
  --pf-v5-global--icon--FontSize--xl: 3.375rem;
205
205
  --pf-v5-global--FontFamily--sans-serif: "RedHatText", helvetica, arial, sans-serif;
@@ -10,7 +10,6 @@
10
10
 
11
11
  .pf-v5-c-about-modal-box {
12
12
  --pf-v5-c-about-modal-box--BackgroundColor: var(--pf-v5-global--palette--black-1000);
13
- --pf-v5-c-about-modal-box--BackgroundImage: url("../../assets/images/pfbg-icon.svg");
14
13
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
15
14
  --pf-v5-c-about-modal-box--BackgroundSize--min-width: 200px;
16
15
  --pf-v5-c-about-modal-box--BackgroundSize--width: 60%;
@@ -41,9 +40,6 @@
41
40
  --pf-v5-c-about-modal-box__close--c-button--Height: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
42
41
  --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-global--palette--black-1000);
43
42
  --pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor: rgba(3, 3, 3, 0.4);
44
- --pf-v5-c-about-modal-box__hero--sm--BackgroundImage: url("../../assets/images/pfbg_992@2x.jpg");
45
- --pf-v5-c-about-modal-box__hero--sm--BackgroundPosition: top left;
46
- --pf-v5-c-about-modal-box__hero--sm--BackgroundSize: cover;
47
43
  --pf-v5-c-about-modal-box__brand-image--Height: 2.5rem;
48
44
  --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-global--spacer--xl);
49
45
  --pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-v5-global--spacer--sm);
@@ -71,7 +67,7 @@
71
67
  overflow-x: hidden;
72
68
  overflow-y: auto;
73
69
  background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
74
- background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
70
+ background-image: var(--pf-v5-c-about-modal-box--BackgroundImage, none);
75
71
  background-repeat: no-repeat;
76
72
  background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
77
73
  background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
@@ -208,21 +204,6 @@
208
204
  --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor);
209
205
  }
210
206
 
211
- .pf-v5-c-about-modal-box__hero {
212
- display: none;
213
- }
214
- @media only screen and (min-width: 576px) {
215
- .pf-v5-c-about-modal-box__hero {
216
- display: block;
217
- grid-area: hero;
218
- background-image: var(--pf-v5-c-about-modal-box__hero--sm--BackgroundImage);
219
- background-repeat: no-repeat;
220
- background-attachment: fixed;
221
- background-position: var(--pf-v5-c-about-modal-box__hero--sm--BackgroundPosition);
222
- background-size: var(--pf-v5-c-about-modal-box__hero--sm--BackgroundSize);
223
- }
224
- }
225
-
226
207
  :where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box {
227
208
  --pf-v5-global--Color--100: #e0e0e0;
228
209
  --pf-v5-global--Color--200: #aaabac;
@@ -3,7 +3,6 @@
3
3
  .#{$about-modal-box} {
4
4
  // Component variables
5
5
  --#{$about-modal-box}--BackgroundColor: var(--#{$pf-global}--palette--black-1000); // Modal uses a non-standard background color
6
- --#{$about-modal-box}--BackgroundImage: url("#{$pf-v5-global--image-path}/pfbg-icon.svg");
7
6
  --#{$about-modal-box}--BackgroundPosition: bottom right;
8
7
  --#{$about-modal-box}--BackgroundSize--min-width: 200px;
9
8
  --#{$about-modal-box}--BackgroundSize--width: 60%;
@@ -55,11 +54,6 @@
55
54
  --#{$about-modal-box}__close--c-button--BackgroundColor: var(--#{$pf-global}--palette--black-1000); // Close button uses a non-standard background color
56
55
  --#{$about-modal-box}__close--c-button--hover--BackgroundColor: #{rgba($pf-v5-color-black-1000, .4)};
57
56
 
58
- // hero image
59
- --#{$about-modal-box}__hero--sm--BackgroundImage: url("#{$pf-v5-global--image-path}/pfbg_992@2x.jpg");
60
- --#{$about-modal-box}__hero--sm--BackgroundPosition: top left;
61
- --#{$about-modal-box}__hero--sm--BackgroundSize: cover;
62
-
63
57
  // Brand img
64
58
  --#{$about-modal-box}__brand-image--Height: #{pf-size-prem(40px)};
65
59
 
@@ -116,7 +110,7 @@
116
110
  overflow-x: hidden;
117
111
  overflow-y: auto;
118
112
  background-color: var(--#{$about-modal-box}--BackgroundColor); // Because this component is always dark, set the background color
119
- background-image: var(--#{$about-modal-box}--BackgroundImage);
113
+ background-image: var(--#{$about-modal-box}--BackgroundImage, none);
120
114
  background-repeat: no-repeat;
121
115
  background-position: var(--#{$about-modal-box}--BackgroundPosition);
122
116
  background-size: var(--#{$about-modal-box}--BackgroundSize);
@@ -198,11 +192,11 @@
198
192
 
199
193
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
200
194
  grid-area: 1 / 2;
201
- justify-content: center; // center the close over the narrow hero image
195
+ justify-content: center;
202
196
  }
203
197
 
204
198
  @media only screen and (min-width: $pf-v5-global--breakpoint--lg) {
205
- justify-content: flex-end; // align flex end the close over the narrow hero image
199
+ justify-content: flex-end;
206
200
  }
207
201
 
208
202
  // Close button
@@ -225,21 +219,6 @@
225
219
  }
226
220
  }
227
221
 
228
- // Hero
229
- .#{$about-modal-box}__hero {
230
- display: none; // Don't display the hero at the narrowest breakpoint
231
-
232
- @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
233
- display: block;
234
- grid-area: hero;
235
- background-image: var(--#{$about-modal-box}__hero--sm--BackgroundImage);
236
- background-repeat: no-repeat;
237
- background-attachment: fixed;
238
- background-position: var(--#{$about-modal-box}__hero--sm--BackgroundPosition);
239
- background-size: var(--#{$about-modal-box}__hero--sm--BackgroundSize);
240
- }
241
- }
242
-
243
222
  // stylelint-disable no-invalid-position-at-import-rule
244
223
  @import "themes/dark/about-modal-box";
245
224
 
@@ -1,6 +1,5 @@
1
1
  .pf-v5-c-background-image {
2
2
  --pf-v5-c-background-image--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-100);
3
- --pf-v5-c-background-image--BackgroundImage: url("../../assets/images/pfbg-icon.svg");
4
3
  --pf-v5-c-background-image--BackgroundPosition: bottom right;
5
4
  --pf-v5-c-background-image--BackgroundSize--min-width: 200px;
6
5
  --pf-v5-c-background-image--BackgroundSize--width: 60%;
@@ -13,7 +12,7 @@
13
12
  width: 100%;
14
13
  height: 100%;
15
14
  background-color: var(--pf-v5-c-background-image--BackgroundColor);
16
- background-image: var(--pf-v5-c-background-image--BackgroundImage);
15
+ background-image: var(--pf-v5-c-background-image--BackgroundImage, none);
17
16
  background-repeat: no-repeat;
18
17
  background-position: var(--pf-v5-c-background-image--BackgroundPosition);
19
18
  background-size: var(--pf-v5-c-background-image--BackgroundSize);
@@ -2,7 +2,6 @@
2
2
 
3
3
  .#{$background-image} {
4
4
  --#{$background-image}--BackgroundColor: var(--#{$pf-global}--BackgroundColor--dark-100);
5
- --#{$background-image}--BackgroundImage: url("#{$pf-v5-global--image-path}/pfbg-icon.svg");
6
5
  --#{$background-image}--BackgroundPosition: bottom right;
7
6
  --#{$background-image}--BackgroundSize--min-width: 200px;
8
7
  --#{$background-image}--BackgroundSize--width: 60%;
@@ -16,7 +15,7 @@
16
15
  width: 100%;
17
16
  height: 100%;
18
17
  background-color: var(--#{$background-image}--BackgroundColor);
19
- background-image: var(--#{$background-image}--BackgroundImage);
18
+ background-image: var(--#{$background-image}--BackgroundImage, none);
20
19
  background-repeat: no-repeat;
21
20
  background-position: var(--#{$background-image}--BackgroundPosition);
22
21
  background-size: var(--#{$background-image}--BackgroundSize);
@@ -100,8 +100,8 @@
100
100
  .pf-v5-c-divider.pf-m-vertical::after {
101
101
  flex-basis: calc(var(--pf-v5-c-divider--m-vertical--after--FlexBasis) - var(--pf-v5-c-divider--after--Inset));
102
102
  }
103
- .pf-v5-c-divider.pf-m-inset-base {
104
- --pf-v5-c-divider--after--Inset: ;
103
+ .pf-v5-c-divider.pf-m-inset-none {
104
+ --pf-v5-c-divider--after--Inset: 0%;
105
105
  }
106
106
  .pf-v5-c-divider.pf-m-inset-xs {
107
107
  --pf-v5-c-divider--after--Inset: var(--pf-v5-global--spacer--xs);
@@ -151,8 +151,8 @@
151
151
  }
152
152
  }
153
153
  @media (min-width: 576px) {
154
- .pf-v5-c-divider.pf-m-inset-base-on-sm {
155
- --pf-v5-c-divider--after--Inset: ;
154
+ .pf-v5-c-divider.pf-m-inset-none-on-sm {
155
+ --pf-v5-c-divider--after--Inset: 0%;
156
156
  }
157
157
  .pf-v5-c-divider.pf-m-inset-xs-on-sm {
158
158
  --pf-v5-c-divider--after--Inset: var(--pf-v5-global--spacer--xs);
@@ -203,8 +203,8 @@
203
203
  }
204
204
  }
205
205
  @media (min-width: 768px) {
206
- .pf-v5-c-divider.pf-m-inset-base-on-md {
207
- --pf-v5-c-divider--after--Inset: ;
206
+ .pf-v5-c-divider.pf-m-inset-none-on-md {
207
+ --pf-v5-c-divider--after--Inset: 0%;
208
208
  }
209
209
  .pf-v5-c-divider.pf-m-inset-xs-on-md {
210
210
  --pf-v5-c-divider--after--Inset: var(--pf-v5-global--spacer--xs);
@@ -255,8 +255,8 @@
255
255
  }
256
256
  }
257
257
  @media (min-width: 992px) {
258
- .pf-v5-c-divider.pf-m-inset-base-on-lg {
259
- --pf-v5-c-divider--after--Inset: ;
258
+ .pf-v5-c-divider.pf-m-inset-none-on-lg {
259
+ --pf-v5-c-divider--after--Inset: 0%;
260
260
  }
261
261
  .pf-v5-c-divider.pf-m-inset-xs-on-lg {
262
262
  --pf-v5-c-divider--after--Inset: var(--pf-v5-global--spacer--xs);
@@ -307,8 +307,8 @@
307
307
  }
308
308
  }
309
309
  @media (min-width: 1200px) {
310
- .pf-v5-c-divider.pf-m-inset-base-on-xl {
311
- --pf-v5-c-divider--after--Inset: ;
310
+ .pf-v5-c-divider.pf-m-inset-none-on-xl {
311
+ --pf-v5-c-divider--after--Inset: 0%;
312
312
  }
313
313
  .pf-v5-c-divider.pf-m-inset-xs-on-xl {
314
314
  --pf-v5-c-divider--after--Inset: var(--pf-v5-global--spacer--xs);
@@ -359,8 +359,8 @@
359
359
  }
360
360
  }
361
361
  @media (min-width: 1450px) {
362
- .pf-v5-c-divider.pf-m-inset-base-on-2xl {
363
- --pf-v5-c-divider--after--Inset: ;
362
+ .pf-v5-c-divider.pf-m-inset-none-on-2xl {
363
+ --pf-v5-c-divider--after--Inset: 0%;
364
364
  }
365
365
  .pf-v5-c-divider.pf-m-inset-xs-on-2xl {
366
366
  --pf-v5-c-divider--after--Inset: var(--pf-v5-global--spacer--xs);
@@ -122,13 +122,6 @@
122
122
  --pf-v5-c-form-control--textarea--success--BackgroundPositionY: var(--pf-v5-c-form-control--PaddingLeft);
123
123
  --pf-v5-c-form-control--textarea--m-warning--BackgroundPositionY: var(--pf-v5-c-form-control--PaddingLeft);
124
124
  --pf-v5-c-form-control--textarea--invalid--BackgroundPositionY: var(--pf-v5-c-form-control--PaddingLeft);
125
- --pf-v5-c-form-control--m-icon-sprite--success--BackgroundUrl: url("../../assets/images/status-icon-sprite.svg#success");
126
- --pf-v5-c-form-control--m-icon-sprite--m-warning--BackgroundUrl: url("../../assets/images/status-icon-sprite.svg#warning");
127
- --pf-v5-c-form-control--m-icon-sprite--invalid--BackgroundUrl: url("../../assets/images/status-icon-sprite.svg#invalid");
128
- --pf-v5-c-form-control--m-icon-sprite__select--BackgroundUrl: url("../../assets/images/status-icon-sprite.svg#select");
129
- --pf-v5-c-form-control--m-icon-sprite--m-search--BackgroundUrl: url("../../assets/images/status-icon-sprite.svg#search");
130
- --pf-v5-c-form-control--m-icon-sprite--m-calendar--BackgroundUrl: url("../../assets/images/status-icon-sprite.svg#calendar");
131
- --pf-v5-c-form-control--m-icon-sprite--m-clock--BackgroundUrl: url("../../assets/images/status-icon-sprite.svg#clock");
132
125
  --pf-v5-c-form-control--m-icon-sprite__select--BackgroundSize: var(--pf-v5-c-form-control--FontSize);
133
126
  --pf-v5-c-form-control--m-icon-sprite__select--BackgroundPositionX: calc(100% - var(--pf-v5-global--spacer--md) + 7px);
134
127
  --pf-v5-c-form-control--m-icon-sprite__select--success--BackgroundPosition: calc(100% - var(--pf-v5-global--spacer--md) + 1px - var(--pf-v5-global--spacer--lg));
@@ -191,13 +191,13 @@ $pf-v5-c-form-control--m-clock--Coordinates: "M256 8C119 8 8 119 8 256s111 248 2
191
191
  --#{$form-control}--textarea--invalid--BackgroundPositionY: var(--#{$form-control}--PaddingLeft); // update to use --#{$form-control}--inset--base at breaking change
192
192
 
193
193
  // Icon sprite
194
- --#{$form-control}--m-icon-sprite--success--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#success");
195
- --#{$form-control}--m-icon-sprite--m-warning--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#warning");
196
- --#{$form-control}--m-icon-sprite--invalid--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#invalid");
197
- --#{$form-control}--m-icon-sprite__select--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#select");
198
- --#{$form-control}--m-icon-sprite--m-search--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#search");
199
- --#{$form-control}--m-icon-sprite--m-calendar--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#calendar");
200
- --#{$form-control}--m-icon-sprite--m-clock--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#clock");
194
+ // --#{$form-control}--m-icon-sprite--success--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#success");
195
+ // --#{$form-control}--m-icon-sprite--m-warning--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#warning");
196
+ // --#{$form-control}--m-icon-sprite--invalid--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#invalid");
197
+ // --#{$form-control}--m-icon-sprite__select--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#select");
198
+ // --#{$form-control}--m-icon-sprite--m-search--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#search");
199
+ // --#{$form-control}--m-icon-sprite--m-calendar--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#calendar");
200
+ // --#{$form-control}--m-icon-sprite--m-clock--BackgroundUrl: url("#{$pf-v5-global--image-path}/status-icon-sprite.svg#clock");
201
201
  --#{$form-control}--m-icon-sprite__select--BackgroundSize: var(--#{$form-control}--FontSize);
202
202
  --#{$form-control}--m-icon-sprite__select--BackgroundPositionX: calc(100% - var(--#{$pf-global}--spacer--md) + 7px);
203
203
  --#{$form-control}--m-icon-sprite__select--success--BackgroundPosition: calc(100% - var(--#{$pf-global}--spacer--md) + 1px - var(--#{$pf-global}--spacer--lg));
@@ -1,29 +1,30 @@
1
1
  .pf-v5-c-icon {
2
- --pf-v5-c-icon--Width: var(--pf-v5-global--icon--FontSize--md);
3
- --pf-v5-c-icon--Height: var(--pf-v5-global--icon--FontSize--md);
4
- --pf-v5-c-icon--m-inline--Width: 1em;
5
- --pf-v5-c-icon--m-inline--Height: 1em;
2
+ --pf-v5-c-icon--Width: 1em;
3
+ --pf-v5-c-icon--Height: 1em;
6
4
  --pf-v5-c-icon--m-sm--Width: var(--pf-v5-global--icon--FontSize--sm);
7
- --pf-v5-c-icon--m-md--Width: var(--pf-v5-global--icon--FontSize--md);
8
- --pf-v5-c-icon--m-lg--Width: var(--pf-v5-global--icon--FontSize--lg);
9
- --pf-v5-c-icon--m-xl--Width: var(--pf-v5-global--icon--FontSize--xl);
10
5
  --pf-v5-c-icon--m-sm--Height: var(--pf-v5-global--icon--FontSize--sm);
6
+ --pf-v5-c-icon--m-md--Width: var(--pf-v5-global--icon--FontSize--md);
11
7
  --pf-v5-c-icon--m-md--Height: var(--pf-v5-global--icon--FontSize--md);
8
+ --pf-v5-c-icon--m-lg--Width: var(--pf-v5-global--icon--FontSize--lg);
12
9
  --pf-v5-c-icon--m-lg--Height: var(--pf-v5-global--icon--FontSize--lg);
10
+ --pf-v5-c-icon--m-xl--Width: var(--pf-v5-global--icon--FontSize--xl);
13
11
  --pf-v5-c-icon--m-xl--Height: var(--pf-v5-global--icon--FontSize--xl);
14
- --pf-v5-c-icon__content--Color: var(--pf-v5-global--icon--Color--dark);
12
+ --pf-v5-c-icon--m-inline--Width: 1em;
13
+ --pf-v5-c-icon--m-inline--Height: 1em;
14
+ --pf-v5-c-icon__content--svg--VerticalAlign: -.125em;
15
+ --pf-v5-c-icon__content--Color: initial;
15
16
  --pf-v5-c-icon__content--m-danger--Color: var(--pf-v5-global--danger-color--100);
16
17
  --pf-v5-c-icon__content--m-warning--Color: var(--pf-v5-global--warning-color--100);
17
18
  --pf-v5-c-icon__content--m-success--Color: var(--pf-v5-global--success-color--100);
18
19
  --pf-v5-c-icon__content--m-info--Color: var(--pf-v5-global--info-color--100);
19
20
  --pf-v5-c-icon__content--m-custom--Color: var(--pf-v5-global--custom-color--100);
20
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-global--icon--FontSize--md);
21
+ --pf-v5-c-icon--m-inline__content--Color: initial;
22
+ --pf-v5-c-icon__content--FontSize: 1em;
23
+ --pf-v5-c-icon--m-sm__content--FontSize: var(--pf-v5-global--icon--FontSize--sm);
24
+ --pf-v5-c-icon--m-md__content--FontSize: var(--pf-v5-global--icon--FontSize--md);
25
+ --pf-v5-c-icon--m-lg__content--FontSize: var(--pf-v5-global--icon--FontSize--lg);
26
+ --pf-v5-c-icon--m-xl__content--FontSize: var(--pf-v5-global--icon--FontSize--xl);
21
27
  --pf-v5-c-icon--m-inline__content--FontSize: 1em;
22
- --pf-v5-c-icon__content--svg--VerticalAlign: -.125em;
23
- --pf-v5-c-icon--m-sm--content--FontSize: var(--pf-v5-global--icon--FontSize--sm);
24
- --pf-v5-c-icon--m-md--content--FontSize: var(--pf-v5-global--icon--FontSize--md);
25
- --pf-v5-c-icon--m-lg--content--FontSize: var(--pf-v5-global--icon--FontSize--lg);
26
- --pf-v5-c-icon--m-xl--content--FontSize: var(--pf-v5-global--icon--FontSize--xl);
27
28
  position: relative;
28
29
  display: inline-flex;
29
30
  align-items: center;
@@ -35,7 +36,7 @@
35
36
  --pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-inline--Width);
36
37
  --pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-inline--Height);
37
38
  --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-inline__content--FontSize);
38
- --pf-v5-c-icon__content--Color: currentcolor;
39
+ --pf-v5-c-icon__content--Color: var(--pf-v5-c-icon--m-inline__content--Color);
39
40
  line-height: 1;
40
41
  }
41
42
  .pf-v5-c-icon.pf-m-inline .pf-v5-c-spinner {
@@ -44,22 +45,22 @@
44
45
  .pf-v5-c-icon.pf-m-sm {
45
46
  --pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-sm--Width);
46
47
  --pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-sm--Height);
47
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-sm--content--FontSize);
48
+ --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-sm__content--FontSize);
48
49
  }
49
50
  .pf-v5-c-icon.pf-m-md {
50
51
  --pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-md--Width);
51
52
  --pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-md--Height);
52
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-md--content--FontSize);
53
+ --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-md__content--FontSize);
53
54
  }
54
55
  .pf-v5-c-icon.pf-m-lg {
55
56
  --pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-lg--Width);
56
57
  --pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-lg--Height);
57
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-lg--content--FontSize);
58
+ --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-lg__content--FontSize);
58
59
  }
59
60
  .pf-v5-c-icon.pf-m-xl {
60
61
  --pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-xl--Width);
61
62
  --pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-xl--Height);
62
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-xl--content--FontSize);
63
+ --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-xl__content--FontSize);
63
64
  }
64
65
  .pf-v5-c-icon.pf-m-in-progress {
65
66
  --pf-v5-c-icon__content--Opacity: 0;
@@ -76,23 +77,23 @@
76
77
  }
77
78
  .pf-v5-c-icon__content.pf-m-sm,
78
79
  .pf-v5-c-icon__progress.pf-m-sm {
79
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-sm--content--FontSize);
80
+ --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-sm__content--FontSize);
80
81
  }
81
82
  .pf-v5-c-icon__content.pf-m-md,
82
83
  .pf-v5-c-icon__progress.pf-m-md {
83
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-md--content--FontSize);
84
+ --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-md__content--FontSize);
84
85
  }
85
86
  .pf-v5-c-icon__content.pf-m-lg,
86
87
  .pf-v5-c-icon__progress.pf-m-lg {
87
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-lg--content--FontSize);
88
+ --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-lg__content--FontSize);
88
89
  }
89
90
  .pf-v5-c-icon__content.pf-m-xl,
90
91
  .pf-v5-c-icon__progress.pf-m-xl {
91
- --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-xl--content--FontSize);
92
+ --pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-xl__content--FontSize);
92
93
  }
93
94
 
94
95
  .pf-v5-c-icon__content {
95
- color: var(--pf-v5-c-icon__content--Color);
96
+ color: var(--pf-v5-c-icon__content--Color, inherit);
96
97
  opacity: var(--pf-v5-c-icon__content--Opacity, 1);
97
98
  }
98
99
  .pf-v5-c-icon__content.pf-m-danger {
@@ -1,40 +1,39 @@
1
1
  // @debug $icon; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
2
 
3
3
  .#{$icon} {
4
- // Size
5
- --#{$icon}--Width: var(--#{$pf-global}--icon--FontSize--md);
6
- --#{$icon}--Height: var(--#{$pf-global}--icon--FontSize--md);
7
-
8
- // When inline, use the parent's size
9
- --#{$icon}--m-inline--Width: 1em;
10
- --#{$icon}--m-inline--Height: 1em;
11
-
12
- // Size modifiers
4
+ // Sizes
5
+ --#{$icon}--Width: 1em;
6
+ --#{$icon}--Height: 1em;
13
7
  --#{$icon}--m-sm--Width: var(--#{$pf-global}--icon--FontSize--sm);
14
- --#{$icon}--m-md--Width: var(--#{$pf-global}--icon--FontSize--md);
15
- --#{$icon}--m-lg--Width: var(--#{$pf-global}--icon--FontSize--lg);
16
- --#{$icon}--m-xl--Width: var(--#{$pf-global}--icon--FontSize--xl);
17
8
  --#{$icon}--m-sm--Height: var(--#{$pf-global}--icon--FontSize--sm);
9
+ --#{$icon}--m-md--Width: var(--#{$pf-global}--icon--FontSize--md);
18
10
  --#{$icon}--m-md--Height: var(--#{$pf-global}--icon--FontSize--md);
11
+ --#{$icon}--m-lg--Width: var(--#{$pf-global}--icon--FontSize--lg);
19
12
  --#{$icon}--m-lg--Height: var(--#{$pf-global}--icon--FontSize--lg);
13
+ --#{$icon}--m-xl--Width: var(--#{$pf-global}--icon--FontSize--xl);
20
14
  --#{$icon}--m-xl--Height: var(--#{$pf-global}--icon--FontSize--xl);
15
+ --#{$icon}--m-inline--Width: 1em;
16
+ --#{$icon}--m-inline--Height: 1em;
21
17
 
22
- // Content variables
23
- --#{$icon}__content--Color: var(--#{$pf-global}--icon--Color--dark);
18
+ // Content
19
+ --#{$icon}__content--svg--VerticalAlign: -.125em;
24
20
 
25
- // Content status
21
+ // Content color
22
+ --#{$icon}__content--Color: initial;
26
23
  --#{$icon}__content--m-danger--Color: var(--#{$pf-global}--danger-color--100);
27
24
  --#{$icon}__content--m-warning--Color: var(--#{$pf-global}--warning-color--100);
28
25
  --#{$icon}__content--m-success--Color: var(--#{$pf-global}--success-color--100);
29
26
  --#{$icon}__content--m-info--Color: var(--#{$pf-global}--info-color--100);
30
27
  --#{$icon}__content--m-custom--Color: var(--#{$pf-global}--custom-color--100);
31
- --#{$icon}__content--FontSize: var(--#{$pf-global}--icon--FontSize--md);
28
+ --#{$icon}--m-inline__content--Color: initial;
29
+
30
+ // Content sizes
31
+ --#{$icon}__content--FontSize: 1em;
32
+ --#{$icon}--m-sm__content--FontSize: var(--#{$pf-global}--icon--FontSize--sm);
33
+ --#{$icon}--m-md__content--FontSize: var(--#{$pf-global}--icon--FontSize--md);
34
+ --#{$icon}--m-lg__content--FontSize: var(--#{$pf-global}--icon--FontSize--lg);
35
+ --#{$icon}--m-xl__content--FontSize: var(--#{$pf-global}--icon--FontSize--xl);
32
36
  --#{$icon}--m-inline__content--FontSize: 1em;
33
- --#{$icon}__content--svg--VerticalAlign: -.125em;
34
- --#{$icon}--m-sm--content--FontSize: var(--#{$pf-global}--icon--FontSize--sm);
35
- --#{$icon}--m-md--content--FontSize: var(--#{$pf-global}--icon--FontSize--md);
36
- --#{$icon}--m-lg--content--FontSize: var(--#{$pf-global}--icon--FontSize--lg);
37
- --#{$icon}--m-xl--content--FontSize: var(--#{$pf-global}--icon--FontSize--xl);
38
37
 
39
38
  position: relative;
40
39
  display: inline-flex;
@@ -48,7 +47,7 @@
48
47
  --#{$icon}--Width: var(--#{$icon}--m-inline--Width);
49
48
  --#{$icon}--Height: var(--#{$icon}--m-inline--Height);
50
49
  --#{$icon}__content--FontSize: var(--#{$icon}--m-inline__content--FontSize);
51
- --#{$icon}__content--Color: currentcolor;
50
+ --#{$icon}__content--Color: var(--#{$icon}--m-inline__content--Color);
52
51
 
53
52
  line-height: 1;
54
53
 
@@ -61,25 +60,25 @@
61
60
  &.pf-m-sm {
62
61
  --#{$icon}--Width: var(--#{$icon}--m-sm--Width);
63
62
  --#{$icon}--Height: var(--#{$icon}--m-sm--Height);
64
- --#{$icon}__content--FontSize: var(--#{$icon}--m-sm--content--FontSize);
63
+ --#{$icon}__content--FontSize: var(--#{$icon}--m-sm__content--FontSize);
65
64
  }
66
65
 
67
66
  &.pf-m-md {
68
67
  --#{$icon}--Width: var(--#{$icon}--m-md--Width);
69
68
  --#{$icon}--Height: var(--#{$icon}--m-md--Height);
70
- --#{$icon}__content--FontSize: var(--#{$icon}--m-md--content--FontSize);
69
+ --#{$icon}__content--FontSize: var(--#{$icon}--m-md__content--FontSize);
71
70
  }
72
71
 
73
72
  &.pf-m-lg {
74
73
  --#{$icon}--Width: var(--#{$icon}--m-lg--Width);
75
74
  --#{$icon}--Height: var(--#{$icon}--m-lg--Height);
76
- --#{$icon}__content--FontSize: var(--#{$icon}--m-lg--content--FontSize);
75
+ --#{$icon}__content--FontSize: var(--#{$icon}--m-lg__content--FontSize);
77
76
  }
78
77
 
79
78
  &.pf-m-xl {
80
79
  --#{$icon}--Width: var(--#{$icon}--m-xl--Width);
81
80
  --#{$icon}--Height: var(--#{$icon}--m-xl--Height);
82
- --#{$icon}__content--FontSize: var(--#{$icon}--m-xl--content--FontSize);
81
+ --#{$icon}__content--FontSize: var(--#{$icon}--m-xl__content--FontSize);
83
82
  }
84
83
 
85
84
  &.pf-m-in-progress {
@@ -99,25 +98,25 @@
99
98
 
100
99
  // Size modifiers
101
100
  &.pf-m-sm {
102
- --#{$icon}__content--FontSize: var(--#{$icon}--m-sm--content--FontSize);
101
+ --#{$icon}__content--FontSize: var(--#{$icon}--m-sm__content--FontSize);
103
102
  }
104
103
 
105
104
  &.pf-m-md {
106
- --#{$icon}__content--FontSize: var(--#{$icon}--m-md--content--FontSize);
105
+ --#{$icon}__content--FontSize: var(--#{$icon}--m-md__content--FontSize);
107
106
  }
108
107
 
109
108
  &.pf-m-lg {
110
- --#{$icon}__content--FontSize: var(--#{$icon}--m-lg--content--FontSize);
109
+ --#{$icon}__content--FontSize: var(--#{$icon}--m-lg__content--FontSize);
111
110
  }
112
111
 
113
112
  &.pf-m-xl {
114
- --#{$icon}__content--FontSize: var(--#{$icon}--m-xl--content--FontSize);
113
+ --#{$icon}__content--FontSize: var(--#{$icon}--m-xl__content--FontSize);
115
114
  }
116
115
  }
117
116
 
118
117
  // Content element
119
118
  .#{$icon}__content {
120
- color: var(--#{$icon}__content--Color);
119
+ color: var(--#{$icon}__content--Color, inherit);
121
120
  opacity: var(--#{$icon}__content--Opacity, 1);
122
121
 
123
122
  // Status modifiers
@@ -319,8 +319,8 @@
319
319
  --pf-v5-c-masthead__content--c-nav--m-horizontal--MarginRight: var(--pf-v5-c-masthead--m-display-inline__content--c-nav--m-horizontal--MarginRight);
320
320
  --pf-v5-c-masthead__content--c-nav--m-horizontal--MarginLeft: var(--pf-v5-c-masthead--m-display-inline__content--c-nav--m-horizontal--MarginLeft);
321
321
  }
322
- .pf-v5-c-masthead.pf-m-inset-base {
323
- --pf-v5-c-masthead--inset: ;
322
+ .pf-v5-c-masthead.pf-m-inset-none {
323
+ --pf-v5-c-masthead--inset: 0;
324
324
  }
325
325
  .pf-v5-c-masthead.pf-m-inset-sm {
326
326
  --pf-v5-c-masthead--inset: var(--pf-v5-global--spacer--sm);
@@ -378,8 +378,8 @@
378
378
  }
379
379
  }
380
380
  @media (min-width: 576px) {
381
- .pf-v5-c-masthead.pf-m-inset-base-on-sm {
382
- --pf-v5-c-masthead--inset: ;
381
+ .pf-v5-c-masthead.pf-m-inset-none-on-sm {
382
+ --pf-v5-c-masthead--inset: 0;
383
383
  }
384
384
  .pf-v5-c-masthead.pf-m-inset-sm-on-sm {
385
385
  --pf-v5-c-masthead--inset: var(--pf-v5-global--spacer--sm);
@@ -438,8 +438,8 @@
438
438
  }
439
439
  }
440
440
  @media (min-width: 768px) {
441
- .pf-v5-c-masthead.pf-m-inset-base-on-md {
442
- --pf-v5-c-masthead--inset: ;
441
+ .pf-v5-c-masthead.pf-m-inset-none-on-md {
442
+ --pf-v5-c-masthead--inset: 0;
443
443
  }
444
444
  .pf-v5-c-masthead.pf-m-inset-sm-on-md {
445
445
  --pf-v5-c-masthead--inset: var(--pf-v5-global--spacer--sm);
@@ -498,8 +498,8 @@
498
498
  }
499
499
  }
500
500
  @media (min-width: 992px) {
501
- .pf-v5-c-masthead.pf-m-inset-base-on-lg {
502
- --pf-v5-c-masthead--inset: ;
501
+ .pf-v5-c-masthead.pf-m-inset-none-on-lg {
502
+ --pf-v5-c-masthead--inset: 0;
503
503
  }
504
504
  .pf-v5-c-masthead.pf-m-inset-sm-on-lg {
505
505
  --pf-v5-c-masthead--inset: var(--pf-v5-global--spacer--sm);
@@ -558,8 +558,8 @@
558
558
  }
559
559
  }
560
560
  @media (min-width: 1200px) {
561
- .pf-v5-c-masthead.pf-m-inset-base-on-xl {
562
- --pf-v5-c-masthead--inset: ;
561
+ .pf-v5-c-masthead.pf-m-inset-none-on-xl {
562
+ --pf-v5-c-masthead--inset: 0;
563
563
  }
564
564
  .pf-v5-c-masthead.pf-m-inset-sm-on-xl {
565
565
  --pf-v5-c-masthead--inset: var(--pf-v5-global--spacer--sm);
@@ -618,8 +618,8 @@
618
618
  }
619
619
  }
620
620
  @media (min-width: 1450px) {
621
- .pf-v5-c-masthead.pf-m-inset-base-on-2xl {
622
- --pf-v5-c-masthead--inset: ;
621
+ .pf-v5-c-masthead.pf-m-inset-none-on-2xl {
622
+ --pf-v5-c-masthead--inset: 0;
623
623
  }
624
624
  .pf-v5-c-masthead.pf-m-inset-sm-on-2xl {
625
625
  --pf-v5-c-masthead--inset: var(--pf-v5-global--spacer--sm);
@@ -229,8 +229,8 @@
229
229
  --pf-v5-c-pagination--c-options-menu--Display: var(--pf-v5-c-pagination--m-display-full--c-options-menu--Display);
230
230
  --pf-v5-c-pagination__total-items--Display: var(--pf-v5-c-pagination--m-display-full__total-items--Display);
231
231
  }
232
- .pf-v5-c-pagination.pf-m-inset-base {
233
- --pf-v5-c-pagination--inset: ;
232
+ .pf-v5-c-pagination.pf-m-inset-none {
233
+ --pf-v5-c-pagination--inset: 0;
234
234
  }
235
235
  .pf-v5-c-pagination.pf-m-inset-sm {
236
236
  --pf-v5-c-pagination--inset: var(--pf-v5-global--spacer--sm);
@@ -258,8 +258,8 @@
258
258
  --pf-v5-c-pagination--c-options-menu--Display: var(--pf-v5-c-pagination--m-display-full--c-options-menu--Display);
259
259
  --pf-v5-c-pagination__total-items--Display: var(--pf-v5-c-pagination--m-display-full__total-items--Display);
260
260
  }
261
- .pf-v5-c-pagination.pf-m-inset-base-on-sm {
262
- --pf-v5-c-pagination--inset: ;
261
+ .pf-v5-c-pagination.pf-m-inset-none-on-sm {
262
+ --pf-v5-c-pagination--inset: 0;
263
263
  }
264
264
  .pf-v5-c-pagination.pf-m-inset-sm-on-sm {
265
265
  --pf-v5-c-pagination--inset: var(--pf-v5-global--spacer--sm);
@@ -288,8 +288,8 @@
288
288
  --pf-v5-c-pagination--c-options-menu--Display: var(--pf-v5-c-pagination--m-display-full--c-options-menu--Display);
289
289
  --pf-v5-c-pagination__total-items--Display: var(--pf-v5-c-pagination--m-display-full__total-items--Display);
290
290
  }
291
- .pf-v5-c-pagination.pf-m-inset-base-on-md {
292
- --pf-v5-c-pagination--inset: ;
291
+ .pf-v5-c-pagination.pf-m-inset-none-on-md {
292
+ --pf-v5-c-pagination--inset: 0;
293
293
  }
294
294
  .pf-v5-c-pagination.pf-m-inset-sm-on-md {
295
295
  --pf-v5-c-pagination--inset: var(--pf-v5-global--spacer--sm);
@@ -318,8 +318,8 @@
318
318
  --pf-v5-c-pagination--c-options-menu--Display: var(--pf-v5-c-pagination--m-display-full--c-options-menu--Display);
319
319
  --pf-v5-c-pagination__total-items--Display: var(--pf-v5-c-pagination--m-display-full__total-items--Display);
320
320
  }
321
- .pf-v5-c-pagination.pf-m-inset-base-on-lg {
322
- --pf-v5-c-pagination--inset: ;
321
+ .pf-v5-c-pagination.pf-m-inset-none-on-lg {
322
+ --pf-v5-c-pagination--inset: 0;
323
323
  }
324
324
  .pf-v5-c-pagination.pf-m-inset-sm-on-lg {
325
325
  --pf-v5-c-pagination--inset: var(--pf-v5-global--spacer--sm);
@@ -348,8 +348,8 @@
348
348
  --pf-v5-c-pagination--c-options-menu--Display: var(--pf-v5-c-pagination--m-display-full--c-options-menu--Display);
349
349
  --pf-v5-c-pagination__total-items--Display: var(--pf-v5-c-pagination--m-display-full__total-items--Display);
350
350
  }
351
- .pf-v5-c-pagination.pf-m-inset-base-on-xl {
352
- --pf-v5-c-pagination--inset: ;
351
+ .pf-v5-c-pagination.pf-m-inset-none-on-xl {
352
+ --pf-v5-c-pagination--inset: 0;
353
353
  }
354
354
  .pf-v5-c-pagination.pf-m-inset-sm-on-xl {
355
355
  --pf-v5-c-pagination--inset: var(--pf-v5-global--spacer--sm);
@@ -378,8 +378,8 @@
378
378
  --pf-v5-c-pagination--c-options-menu--Display: var(--pf-v5-c-pagination--m-display-full--c-options-menu--Display);
379
379
  --pf-v5-c-pagination__total-items--Display: var(--pf-v5-c-pagination--m-display-full__total-items--Display);
380
380
  }
381
- .pf-v5-c-pagination.pf-m-inset-base-on-2xl {
382
- --pf-v5-c-pagination--inset: ;
381
+ .pf-v5-c-pagination.pf-m-inset-none-on-2xl {
382
+ --pf-v5-c-pagination--inset: 0;
383
383
  }
384
384
  .pf-v5-c-pagination.pf-m-inset-sm-on-2xl {
385
385
  --pf-v5-c-pagination--inset: var(--pf-v5-global--spacer--sm);