@patternfly/patternfly 4.203.2 → 4.204.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/base/patternfly-variables.css +1 -0
- package/base/themes/dark/_variables.scss +1 -0
- package/components/Menu/menu.css +1 -0
- package/components/Menu/menu.scss +1 -0
- package/components/NumberInput/number-input.css +11 -1
- package/components/NumberInput/number-input.scss +15 -1
- package/components/Page/page.css +11 -5
- package/components/Page/page.scss +8 -4
- package/components/Page/themes/dark/page.scss +4 -0
- package/docs/components/NumberInput/examples/NumberInput.md +57 -6
- package/package.json +2 -2
- package/patternfly-addons.css +0 -18
- package/patternfly-base-no-reset.css +1 -0
- package/patternfly-base.css +1 -0
- package/patternfly-no-reset.css +24 -6
- package/patternfly.css +24 -6
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/themes/dark/scss-variables.scss +1 -0
- package/utilities/Text/text.css +0 -18
- package/utilities/Text/themes/dark/text.scss +0 -3
|
@@ -297,6 +297,7 @@
|
|
|
297
297
|
--pf-global--danger-color--200: #fe6a5d;
|
|
298
298
|
--pf-global--link--Color: #1fa7f8;
|
|
299
299
|
--pf-global--link--Color--hover: #73bcf7;
|
|
300
|
+
--pf-global--link--Color--visited: #a18fff;
|
|
300
301
|
--pf-global--disabled-color--100: #57585a;
|
|
301
302
|
--pf-global--disabled-color--200: #444548;
|
|
302
303
|
--pf-global--disabled-color--300: #aaabac;
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
--pf-global--danger-color--200: #{$pf-global--danger-color--200};
|
|
41
41
|
--pf-global--link--Color: #{$pf-global--link--Color};
|
|
42
42
|
--pf-global--link--Color--hover: #{$pf-global--link--Color--hover};
|
|
43
|
+
--pf-global--link--Color--visited: #{$pf-global--link--Color--visited};
|
|
43
44
|
--pf-global--disabled-color--100: #{$pf-global--disabled-color--100};
|
|
44
45
|
--pf-global--disabled-color--200: #{$pf-global--disabled-color--200};
|
|
45
46
|
--pf-global--disabled-color--300: #{$pf-global--disabled-color--300};
|
package/components/Menu/menu.css
CHANGED
|
@@ -10,11 +10,21 @@
|
|
|
10
10
|
--pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
|
|
11
11
|
--pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
|
|
12
12
|
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
|
13
|
+
--pf-c-number-input--c-form-control--width-icon: 0px;
|
|
14
|
+
--pf-c-number-input--m-status--c-form-control--width-icon: var(--pf-global--spacer--xl);
|
|
13
15
|
--pf-c-number-input--c-form-control--width-chars: 4;
|
|
14
|
-
--pf-c-number-input--c-form-control--Width:
|
|
16
|
+
--pf-c-number-input--c-form-control--Width:
|
|
17
|
+
calc(
|
|
18
|
+
calc(
|
|
19
|
+
var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch
|
|
20
|
+
) + var(--pf-c-number-input--c-form-control--width-icon)
|
|
21
|
+
);
|
|
15
22
|
display: inline-flex;
|
|
16
23
|
align-items: center;
|
|
17
24
|
}
|
|
25
|
+
.pf-c-number-input.pf-m-status {
|
|
26
|
+
--pf-c-number-input--c-form-control--width-icon: var(--pf-c-number-input--m-status--c-form-control--width-icon);
|
|
27
|
+
}
|
|
18
28
|
.pf-c-number-input .pf-c-form-control {
|
|
19
29
|
display: inline-flex;
|
|
20
30
|
width: var(--pf-c-number-input--c-form-control--Width);
|
|
@@ -7,12 +7,26 @@
|
|
|
7
7
|
|
|
8
8
|
// form control
|
|
9
9
|
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2); // element's padding
|
|
10
|
+
// stylelint-disable length-zero-no-unit
|
|
11
|
+
--pf-c-number-input--c-form-control--width-icon: 0px;
|
|
12
|
+
// stylelint-enable length-zero-no-unit
|
|
13
|
+
--pf-c-number-input--m-status--c-form-control--width-icon: var(--pf-global--spacer--xl); // extra width to accommodate a status icon
|
|
10
14
|
--pf-c-number-input--c-form-control--width-chars: 4;
|
|
11
|
-
--pf-c-number-input--c-form-control--Width:
|
|
15
|
+
--pf-c-number-input--c-form-control--Width:
|
|
16
|
+
calc(
|
|
17
|
+
calc(
|
|
18
|
+
var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch
|
|
19
|
+
) + var(--pf-c-number-input--c-form-control--width-icon)
|
|
20
|
+
);
|
|
12
21
|
|
|
13
22
|
display: inline-flex;
|
|
14
23
|
align-items: center;
|
|
15
24
|
|
|
25
|
+
// This modifier can be removed in a breaking change and the extra space created can always be included.
|
|
26
|
+
&.pf-m-status {
|
|
27
|
+
--pf-c-number-input--c-form-control--width-icon: var(--pf-c-number-input--m-status--c-form-control--width-icon);
|
|
28
|
+
}
|
|
29
|
+
|
|
16
30
|
.pf-c-form-control {
|
|
17
31
|
display: inline-flex;
|
|
18
32
|
width: var(--pf-c-number-input--c-form-control--Width);
|
package/components/Page/page.css
CHANGED
|
@@ -143,6 +143,8 @@
|
|
|
143
143
|
--pf-c-page__sidebar--Width: 18.125rem;
|
|
144
144
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);
|
|
145
145
|
--pf-c-page__sidebar--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
146
|
+
--pf-c-page__sidebar--m-light--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
147
|
+
--pf-c-page__sidebar--m-light--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
146
148
|
--pf-c-page__sidebar--BoxShadow: var(--pf-global--BoxShadow--lg-right);
|
|
147
149
|
--pf-c-page__sidebar--Transition: var(--pf-global--Transition);
|
|
148
150
|
--pf-c-page__sidebar--TranslateX: -100%;
|
|
@@ -415,15 +417,15 @@
|
|
|
415
417
|
transition: var(--pf-c-page__sidebar--Transition);
|
|
416
418
|
transform: translateX(var(--pf-c-page__sidebar--TranslateX)) translateZ(var(--pf-c-page__sidebar--TranslateZ));
|
|
417
419
|
}
|
|
418
|
-
@media screen and (min-width: 1200px) {
|
|
419
|
-
.pf-c-page__sidebar {
|
|
420
|
-
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
420
|
.pf-c-page__sidebar.pf-m-expanded {
|
|
424
421
|
--pf-c-page__sidebar--TranslateX: var(--pf-c-page__sidebar--m-expanded--TranslateX);
|
|
425
422
|
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
426
423
|
}
|
|
424
|
+
@media screen and (min-width: 1200px) {
|
|
425
|
+
.pf-c-page__sidebar.pf-m-expanded {
|
|
426
|
+
--pf-c-page__sidebar--BoxShadow: none;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
427
429
|
.pf-c-page__sidebar.pf-m-collapsed {
|
|
428
430
|
max-width: 0;
|
|
429
431
|
overflow: hidden;
|
|
@@ -431,6 +433,7 @@
|
|
|
431
433
|
.pf-c-page__sidebar.pf-m-light {
|
|
432
434
|
color: var(--pf-global--Color--100);
|
|
433
435
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-c-page__sidebar--m-light--BackgroundColor);
|
|
436
|
+
border-right: var(--pf-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-c-page__sidebar--m-light--BorderRightColor);
|
|
434
437
|
}
|
|
435
438
|
|
|
436
439
|
.pf-c-page__sidebar-body {
|
|
@@ -954,6 +957,9 @@
|
|
|
954
957
|
:where(.pf-theme-dark) .pf-c-page__header-tools-item.pf-m-selected .pf-c-button .pf-c-notification-badge:hover::before {
|
|
955
958
|
background-color: var(--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor);
|
|
956
959
|
}
|
|
960
|
+
:where(.pf-theme-dark) .pf-c-page__sidebar {
|
|
961
|
+
border-right: var(--pf-global--BorderWidth--sm) solid var(--pf-global--BorderColor--100);
|
|
962
|
+
}
|
|
957
963
|
:where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-top, :where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-bottom {
|
|
958
964
|
--pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
959
965
|
}
|
|
@@ -74,6 +74,8 @@ $pf-c-page--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
|
|
|
74
74
|
--pf-c-page__sidebar--Width: #{pf-size-prem(290px)};
|
|
75
75
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);
|
|
76
76
|
--pf-c-page__sidebar--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
77
|
+
--pf-c-page__sidebar--m-light--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
78
|
+
--pf-c-page__sidebar--m-light--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
77
79
|
--pf-c-page__sidebar--BoxShadow: var(--pf-global--BoxShadow--lg-right);
|
|
78
80
|
--pf-c-page__sidebar--Transition: var(--pf-global--Transition);
|
|
79
81
|
--pf-c-page__sidebar--TranslateX: -100%;
|
|
@@ -389,16 +391,16 @@ $pf-c-page--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
|
|
|
389
391
|
transition: var(--pf-c-page__sidebar--Transition);
|
|
390
392
|
transform: translateX(var(--pf-c-page__sidebar--TranslateX)) translateZ(var(--pf-c-page__sidebar--TranslateZ));
|
|
391
393
|
|
|
392
|
-
@media screen and (min-width: $pf-global--breakpoint--xl) {
|
|
393
|
-
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
394
|
-
}
|
|
395
|
-
|
|
396
394
|
// Mobile
|
|
397
395
|
// Expanded nav
|
|
398
396
|
&.pf-m-expanded {
|
|
399
397
|
--pf-c-page__sidebar--TranslateX: var(--pf-c-page__sidebar--m-expanded--TranslateX);
|
|
400
398
|
|
|
401
399
|
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
400
|
+
|
|
401
|
+
@media screen and (min-width: $pf-global--breakpoint--xl) {
|
|
402
|
+
--pf-c-page__sidebar--BoxShadow: none;
|
|
403
|
+
}
|
|
402
404
|
}
|
|
403
405
|
|
|
404
406
|
// Desktop
|
|
@@ -412,6 +414,8 @@ $pf-c-page--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
|
|
|
412
414
|
@include pf-t-light;
|
|
413
415
|
|
|
414
416
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-c-page__sidebar--m-light--BackgroundColor);
|
|
417
|
+
|
|
418
|
+
border-right: var(--pf-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-c-page__sidebar--m-light--BorderRightColor);
|
|
415
419
|
}
|
|
416
420
|
}
|
|
417
421
|
|
|
@@ -191,6 +191,56 @@ cssPrefix: pf-c-number-input
|
|
|
191
191
|
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
+
### With status
|
|
195
|
+
|
|
196
|
+
```html
|
|
197
|
+
<div class="pf-c-number-input pf-m-status">
|
|
198
|
+
<div class="pf-c-input-group">
|
|
199
|
+
<button class="pf-c-button pf-m-control" type="button" aria-label="Minus">
|
|
200
|
+
<span class="pf-c-number-input__icon">
|
|
201
|
+
<i class="fas fa-minus" aria-hidden="true"></i>
|
|
202
|
+
</span>
|
|
203
|
+
</button>
|
|
204
|
+
<input
|
|
205
|
+
class="pf-c-form-control"
|
|
206
|
+
type="number"
|
|
207
|
+
value="90"
|
|
208
|
+
name="number-input-status-name"
|
|
209
|
+
aria-label="Number input"
|
|
210
|
+
/>
|
|
211
|
+
<button class="pf-c-button pf-m-control" type="button" aria-label="Plus">
|
|
212
|
+
<span class="pf-c-number-input__icon">
|
|
213
|
+
<i class="fas fa-plus" aria-hidden="true"></i>
|
|
214
|
+
</span>
|
|
215
|
+
</button>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
<br />
|
|
219
|
+
<br />
|
|
220
|
+
<div class="pf-c-number-input pf-m-status">
|
|
221
|
+
<div class="pf-c-input-group">
|
|
222
|
+
<button class="pf-c-button pf-m-control" type="button" aria-label="Minus">
|
|
223
|
+
<span class="pf-c-number-input__icon">
|
|
224
|
+
<i class="fas fa-minus" aria-hidden="true"></i>
|
|
225
|
+
</span>
|
|
226
|
+
</button>
|
|
227
|
+
<input
|
|
228
|
+
class="pf-c-form-control pf-m-warning"
|
|
229
|
+
type="number"
|
|
230
|
+
value="90"
|
|
231
|
+
name="number-input-status-warning-name"
|
|
232
|
+
aria-label="Number input"
|
|
233
|
+
/>
|
|
234
|
+
<button class="pf-c-button pf-m-control" type="button" aria-label="Plus">
|
|
235
|
+
<span class="pf-c-number-input__icon">
|
|
236
|
+
<i class="fas fa-plus" aria-hidden="true"></i>
|
|
237
|
+
</span>
|
|
238
|
+
</button>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
```
|
|
243
|
+
|
|
194
244
|
### Varying sizes
|
|
195
245
|
|
|
196
246
|
```html
|
|
@@ -311,9 +361,10 @@ cssPrefix: pf-c-number-input
|
|
|
311
361
|
|
|
312
362
|
### Usage
|
|
313
363
|
|
|
314
|
-
| Class | Applied
|
|
315
|
-
| -------------------------------------------------- | -------------------- |
|
|
316
|
-
| `.pf-c-number-input` | `<div>` | Initiates the number input component.
|
|
317
|
-
| `.pf-c-number-input__icon` | `<span>` | Initiates the number input icon.
|
|
318
|
-
| `.pf-c-number-input__unit` | `<span>` | Initiates the number input unit.
|
|
319
|
-
|
|
|
364
|
+
| Class | Applied to | Outcome |
|
|
365
|
+
| -------------------------------------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
366
|
+
| `.pf-c-number-input` | `<div>` | Initiates the number input component. |
|
|
367
|
+
| `.pf-c-number-input__icon` | `<span>` | Initiates the number input icon. |
|
|
368
|
+
| `.pf-c-number-input__unit` | `<span>` | Initiates the number input unit. |
|
|
369
|
+
| `.pf-m-status` | `.pf-c-number-input` | Modifies the width to create enough space for a status icon to be included in the form control portion of the number input. **Required** if a status icon may be shown, even if the icon is not currently shown. |
|
|
370
|
+
| `--pf-c-number-input--c-form-control--width-chars` | `.pf-c-number-input` | Specifies the number of characters to show in the input. |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/patternfly",
|
|
3
3
|
"description": "Assets, source, tooling, and content for PatternFly 4",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.204.0",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"stylelint-scss": "^4.0.0",
|
|
80
80
|
"stylelint-value-no-unknown-custom-properties": "^3.0.0",
|
|
81
81
|
"surge": "^0.21.3",
|
|
82
|
-
"@patternfly/documentation-framework": "1.
|
|
82
|
+
"@patternfly/documentation-framework": "1.1.3",
|
|
83
83
|
"unified": "^9.2.0",
|
|
84
84
|
"webpack": "^4.43.0"
|
|
85
85
|
},
|
package/patternfly-addons.css
CHANGED
|
@@ -8504,9 +8504,6 @@
|
|
|
8504
8504
|
:where(.pf-theme-dark) .pf-u-color-light-200 {
|
|
8505
8505
|
color: var(--pf-global--Color-200) !important;
|
|
8506
8506
|
}
|
|
8507
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited {
|
|
8508
|
-
color: var(--pf-global--palette--purple-200) !important;
|
|
8509
|
-
}
|
|
8510
8507
|
:where(.pf-theme-dark) .pf-u-default-color-300 {
|
|
8511
8508
|
color: var(--pf-global--default-color--100) !important;
|
|
8512
8509
|
}
|
|
@@ -8532,9 +8529,6 @@
|
|
|
8532
8529
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-sm {
|
|
8533
8530
|
color: var(--pf-global--Color-200) !important;
|
|
8534
8531
|
}
|
|
8535
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-sm {
|
|
8536
|
-
color: var(--pf-global--palette--purple-200) !important;
|
|
8537
|
-
}
|
|
8538
8532
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-sm {
|
|
8539
8533
|
color: var(--pf-global--default-color--100) !important;
|
|
8540
8534
|
}
|
|
@@ -8561,9 +8555,6 @@
|
|
|
8561
8555
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-md {
|
|
8562
8556
|
color: var(--pf-global--Color-200) !important;
|
|
8563
8557
|
}
|
|
8564
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-md {
|
|
8565
|
-
color: var(--pf-global--palette--purple-200) !important;
|
|
8566
|
-
}
|
|
8567
8558
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-md {
|
|
8568
8559
|
color: var(--pf-global--default-color--100) !important;
|
|
8569
8560
|
}
|
|
@@ -8590,9 +8581,6 @@
|
|
|
8590
8581
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-lg {
|
|
8591
8582
|
color: var(--pf-global--Color-200) !important;
|
|
8592
8583
|
}
|
|
8593
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-lg {
|
|
8594
|
-
color: var(--pf-global--palette--purple-200) !important;
|
|
8595
|
-
}
|
|
8596
8584
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-lg {
|
|
8597
8585
|
color: var(--pf-global--default-color--100) !important;
|
|
8598
8586
|
}
|
|
@@ -8619,9 +8607,6 @@
|
|
|
8619
8607
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-xl {
|
|
8620
8608
|
color: var(--pf-global--Color-200) !important;
|
|
8621
8609
|
}
|
|
8622
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-xl {
|
|
8623
|
-
color: var(--pf-global--palette--purple-200) !important;
|
|
8624
|
-
}
|
|
8625
8610
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-xl {
|
|
8626
8611
|
color: var(--pf-global--default-color--100) !important;
|
|
8627
8612
|
}
|
|
@@ -8648,9 +8633,6 @@
|
|
|
8648
8633
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-2xl {
|
|
8649
8634
|
color: var(--pf-global--Color-200) !important;
|
|
8650
8635
|
}
|
|
8651
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-2xl {
|
|
8652
|
-
color: var(--pf-global--palette--purple-200) !important;
|
|
8653
|
-
}
|
|
8654
8636
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-2xl {
|
|
8655
8637
|
color: var(--pf-global--default-color--100) !important;
|
|
8656
8638
|
}
|
|
@@ -338,6 +338,7 @@
|
|
|
338
338
|
--pf-global--danger-color--200: #fe6a5d;
|
|
339
339
|
--pf-global--link--Color: #1fa7f8;
|
|
340
340
|
--pf-global--link--Color--hover: #73bcf7;
|
|
341
|
+
--pf-global--link--Color--visited: #a18fff;
|
|
341
342
|
--pf-global--disabled-color--100: #57585a;
|
|
342
343
|
--pf-global--disabled-color--200: #444548;
|
|
343
344
|
--pf-global--disabled-color--300: #aaabac;
|
package/patternfly-base.css
CHANGED
|
@@ -338,6 +338,7 @@
|
|
|
338
338
|
--pf-global--danger-color--200: #fe6a5d;
|
|
339
339
|
--pf-global--link--Color: #1fa7f8;
|
|
340
340
|
--pf-global--link--Color--hover: #73bcf7;
|
|
341
|
+
--pf-global--link--Color--visited: #a18fff;
|
|
341
342
|
--pf-global--disabled-color--100: #57585a;
|
|
342
343
|
--pf-global--disabled-color--200: #444548;
|
|
343
344
|
--pf-global--disabled-color--300: #aaabac;
|
package/patternfly-no-reset.css
CHANGED
|
@@ -447,6 +447,7 @@
|
|
|
447
447
|
--pf-global--danger-color--200: #fe6a5d;
|
|
448
448
|
--pf-global--link--Color: #1fa7f8;
|
|
449
449
|
--pf-global--link--Color--hover: #73bcf7;
|
|
450
|
+
--pf-global--link--Color--visited: #a18fff;
|
|
450
451
|
--pf-global--disabled-color--100: #57585a;
|
|
451
452
|
--pf-global--disabled-color--200: #444548;
|
|
452
453
|
--pf-global--disabled-color--300: #aaabac;
|
|
@@ -18388,6 +18389,7 @@ ul.pf-c-list {
|
|
|
18388
18389
|
background-color: transparent;
|
|
18389
18390
|
}
|
|
18390
18391
|
.pf-c-menu.pf-m-drilldown .pf-c-menu__list-item:not(.pf-m-current-path) .pf-c-menu {
|
|
18392
|
+
display: none;
|
|
18391
18393
|
visibility: hidden;
|
|
18392
18394
|
}
|
|
18393
18395
|
.pf-c-menu.pf-m-drilldown .pf-c-menu__item {
|
|
@@ -21458,6 +21460,8 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
21458
21460
|
--pf-c-page__sidebar--Width: 18.125rem;
|
|
21459
21461
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);
|
|
21460
21462
|
--pf-c-page__sidebar--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
21463
|
+
--pf-c-page__sidebar--m-light--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
21464
|
+
--pf-c-page__sidebar--m-light--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
21461
21465
|
--pf-c-page__sidebar--BoxShadow: var(--pf-global--BoxShadow--lg-right);
|
|
21462
21466
|
--pf-c-page__sidebar--Transition: var(--pf-global--Transition);
|
|
21463
21467
|
--pf-c-page__sidebar--TranslateX: -100%;
|
|
@@ -21730,15 +21734,15 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
21730
21734
|
transition: var(--pf-c-page__sidebar--Transition);
|
|
21731
21735
|
transform: translateX(var(--pf-c-page__sidebar--TranslateX)) translateZ(var(--pf-c-page__sidebar--TranslateZ));
|
|
21732
21736
|
}
|
|
21733
|
-
@media screen and (min-width: 1200px) {
|
|
21734
|
-
.pf-c-page__sidebar {
|
|
21735
|
-
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
21736
|
-
}
|
|
21737
|
-
}
|
|
21738
21737
|
.pf-c-page__sidebar.pf-m-expanded {
|
|
21739
21738
|
--pf-c-page__sidebar--TranslateX: var(--pf-c-page__sidebar--m-expanded--TranslateX);
|
|
21740
21739
|
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
21741
21740
|
}
|
|
21741
|
+
@media screen and (min-width: 1200px) {
|
|
21742
|
+
.pf-c-page__sidebar.pf-m-expanded {
|
|
21743
|
+
--pf-c-page__sidebar--BoxShadow: none;
|
|
21744
|
+
}
|
|
21745
|
+
}
|
|
21742
21746
|
.pf-c-page__sidebar.pf-m-collapsed {
|
|
21743
21747
|
max-width: 0;
|
|
21744
21748
|
overflow: hidden;
|
|
@@ -21746,6 +21750,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
21746
21750
|
.pf-c-page__sidebar.pf-m-light {
|
|
21747
21751
|
color: var(--pf-global--Color--100);
|
|
21748
21752
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-c-page__sidebar--m-light--BackgroundColor);
|
|
21753
|
+
border-right: var(--pf-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-c-page__sidebar--m-light--BorderRightColor);
|
|
21749
21754
|
}
|
|
21750
21755
|
|
|
21751
21756
|
.pf-c-page__sidebar-body {
|
|
@@ -22272,6 +22277,9 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
22272
22277
|
:where(.pf-theme-dark) .pf-c-page__header-tools-item.pf-m-selected .pf-c-button .pf-c-notification-badge:hover::before {
|
|
22273
22278
|
background-color: var(--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor);
|
|
22274
22279
|
}
|
|
22280
|
+
:where(.pf-theme-dark) .pf-c-page__sidebar {
|
|
22281
|
+
border-right: var(--pf-global--BorderWidth--sm) solid var(--pf-global--BorderColor--100);
|
|
22282
|
+
}
|
|
22275
22283
|
:where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-top, :where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-bottom {
|
|
22276
22284
|
--pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
22277
22285
|
}
|
|
@@ -31092,11 +31100,21 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
31092
31100
|
--pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
|
|
31093
31101
|
--pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
|
|
31094
31102
|
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
|
31103
|
+
--pf-c-number-input--c-form-control--width-icon: 0px;
|
|
31104
|
+
--pf-c-number-input--m-status--c-form-control--width-icon: var(--pf-global--spacer--xl);
|
|
31095
31105
|
--pf-c-number-input--c-form-control--width-chars: 4;
|
|
31096
|
-
--pf-c-number-input--c-form-control--Width:
|
|
31106
|
+
--pf-c-number-input--c-form-control--Width:
|
|
31107
|
+
calc(
|
|
31108
|
+
calc(
|
|
31109
|
+
var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch
|
|
31110
|
+
) + var(--pf-c-number-input--c-form-control--width-icon)
|
|
31111
|
+
);
|
|
31097
31112
|
display: inline-flex;
|
|
31098
31113
|
align-items: center;
|
|
31099
31114
|
}
|
|
31115
|
+
.pf-c-number-input.pf-m-status {
|
|
31116
|
+
--pf-c-number-input--c-form-control--width-icon: var(--pf-c-number-input--m-status--c-form-control--width-icon);
|
|
31117
|
+
}
|
|
31100
31118
|
.pf-c-number-input .pf-c-form-control {
|
|
31101
31119
|
display: inline-flex;
|
|
31102
31120
|
width: var(--pf-c-number-input--c-form-control--Width);
|
package/patternfly.css
CHANGED
|
@@ -447,6 +447,7 @@
|
|
|
447
447
|
--pf-global--danger-color--200: #fe6a5d;
|
|
448
448
|
--pf-global--link--Color: #1fa7f8;
|
|
449
449
|
--pf-global--link--Color--hover: #73bcf7;
|
|
450
|
+
--pf-global--link--Color--visited: #a18fff;
|
|
450
451
|
--pf-global--disabled-color--100: #57585a;
|
|
451
452
|
--pf-global--disabled-color--200: #444548;
|
|
452
453
|
--pf-global--disabled-color--300: #aaabac;
|
|
@@ -18515,6 +18516,7 @@ ul.pf-c-list {
|
|
|
18515
18516
|
background-color: transparent;
|
|
18516
18517
|
}
|
|
18517
18518
|
.pf-c-menu.pf-m-drilldown .pf-c-menu__list-item:not(.pf-m-current-path) .pf-c-menu {
|
|
18519
|
+
display: none;
|
|
18518
18520
|
visibility: hidden;
|
|
18519
18521
|
}
|
|
18520
18522
|
.pf-c-menu.pf-m-drilldown .pf-c-menu__item {
|
|
@@ -21585,6 +21587,8 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
21585
21587
|
--pf-c-page__sidebar--Width: 18.125rem;
|
|
21586
21588
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);
|
|
21587
21589
|
--pf-c-page__sidebar--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
21590
|
+
--pf-c-page__sidebar--m-light--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
21591
|
+
--pf-c-page__sidebar--m-light--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
21588
21592
|
--pf-c-page__sidebar--BoxShadow: var(--pf-global--BoxShadow--lg-right);
|
|
21589
21593
|
--pf-c-page__sidebar--Transition: var(--pf-global--Transition);
|
|
21590
21594
|
--pf-c-page__sidebar--TranslateX: -100%;
|
|
@@ -21857,15 +21861,15 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
21857
21861
|
transition: var(--pf-c-page__sidebar--Transition);
|
|
21858
21862
|
transform: translateX(var(--pf-c-page__sidebar--TranslateX)) translateZ(var(--pf-c-page__sidebar--TranslateZ));
|
|
21859
21863
|
}
|
|
21860
|
-
@media screen and (min-width: 1200px) {
|
|
21861
|
-
.pf-c-page__sidebar {
|
|
21862
|
-
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
21863
|
-
}
|
|
21864
|
-
}
|
|
21865
21864
|
.pf-c-page__sidebar.pf-m-expanded {
|
|
21866
21865
|
--pf-c-page__sidebar--TranslateX: var(--pf-c-page__sidebar--m-expanded--TranslateX);
|
|
21867
21866
|
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
21868
21867
|
}
|
|
21868
|
+
@media screen and (min-width: 1200px) {
|
|
21869
|
+
.pf-c-page__sidebar.pf-m-expanded {
|
|
21870
|
+
--pf-c-page__sidebar--BoxShadow: none;
|
|
21871
|
+
}
|
|
21872
|
+
}
|
|
21869
21873
|
.pf-c-page__sidebar.pf-m-collapsed {
|
|
21870
21874
|
max-width: 0;
|
|
21871
21875
|
overflow: hidden;
|
|
@@ -21873,6 +21877,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
21873
21877
|
.pf-c-page__sidebar.pf-m-light {
|
|
21874
21878
|
color: var(--pf-global--Color--100);
|
|
21875
21879
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-c-page__sidebar--m-light--BackgroundColor);
|
|
21880
|
+
border-right: var(--pf-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-c-page__sidebar--m-light--BorderRightColor);
|
|
21876
21881
|
}
|
|
21877
21882
|
|
|
21878
21883
|
.pf-c-page__sidebar-body {
|
|
@@ -22399,6 +22404,9 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
22399
22404
|
:where(.pf-theme-dark) .pf-c-page__header-tools-item.pf-m-selected .pf-c-button .pf-c-notification-badge:hover::before {
|
|
22400
22405
|
background-color: var(--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor);
|
|
22401
22406
|
}
|
|
22407
|
+
:where(.pf-theme-dark) .pf-c-page__sidebar {
|
|
22408
|
+
border-right: var(--pf-global--BorderWidth--sm) solid var(--pf-global--BorderColor--100);
|
|
22409
|
+
}
|
|
22402
22410
|
:where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-top, :where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-bottom {
|
|
22403
22411
|
--pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
22404
22412
|
}
|
|
@@ -31219,11 +31227,21 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
31219
31227
|
--pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
|
|
31220
31228
|
--pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
|
|
31221
31229
|
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
|
31230
|
+
--pf-c-number-input--c-form-control--width-icon: 0px;
|
|
31231
|
+
--pf-c-number-input--m-status--c-form-control--width-icon: var(--pf-global--spacer--xl);
|
|
31222
31232
|
--pf-c-number-input--c-form-control--width-chars: 4;
|
|
31223
|
-
--pf-c-number-input--c-form-control--Width:
|
|
31233
|
+
--pf-c-number-input--c-form-control--Width:
|
|
31234
|
+
calc(
|
|
31235
|
+
calc(
|
|
31236
|
+
var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch
|
|
31237
|
+
) + var(--pf-c-number-input--c-form-control--width-icon)
|
|
31238
|
+
);
|
|
31224
31239
|
display: inline-flex;
|
|
31225
31240
|
align-items: center;
|
|
31226
31241
|
}
|
|
31242
|
+
.pf-c-number-input.pf-m-status {
|
|
31243
|
+
--pf-c-number-input--c-form-control--width-icon: var(--pf-c-number-input--m-status--c-form-control--width-icon);
|
|
31244
|
+
}
|
|
31227
31245
|
.pf-c-number-input .pf-c-form-control {
|
|
31228
31246
|
display: inline-flex;
|
|
31229
31247
|
width: var(--pf-c-number-input--c-form-control--Width);
|