@patternfly/patternfly 4.162.1 → 4.162.2
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/Dropdown/dropdown.css +15 -7
- package/components/Dropdown/dropdown.scss +24 -13
- package/docs/components/Dropdown/examples/Dropdown.md +90 -0
- package/package.json +1 -1
- package/patternfly-no-reset.css +15 -7
- package/patternfly.css +15 -7
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -191,6 +191,7 @@
|
|
|
191
191
|
border-color: var(--pf-c-dropdown__toggle--before--BorderTopColor) var(--pf-c-dropdown__toggle--before--BorderRightColor) var(--pf-c-dropdown__toggle--before--BorderBottomColor) var(--pf-c-dropdown__toggle--before--BorderLeftColor);
|
|
192
192
|
}
|
|
193
193
|
.pf-c-dropdown__toggle.pf-m-disabled, .pf-c-dropdown__toggle:disabled {
|
|
194
|
+
--pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
|
|
194
195
|
pointer-events: none;
|
|
195
196
|
}
|
|
196
197
|
.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain), .pf-c-dropdown__toggle:disabled:not(.pf-m-plain) {
|
|
@@ -202,13 +203,15 @@
|
|
|
202
203
|
.pf-c-dropdown__toggle.pf-m-split-button {
|
|
203
204
|
padding: 0;
|
|
204
205
|
}
|
|
206
|
+
.pf-c-dropdown__toggle.pf-m-split-button:not(.pf-m-disabled) {
|
|
207
|
+
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
208
|
+
}
|
|
205
209
|
.pf-c-dropdown__toggle.pf-m-split-button > * {
|
|
206
210
|
position: relative;
|
|
207
211
|
padding-top: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingTop);
|
|
208
212
|
padding-right: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingRight);
|
|
209
213
|
padding-bottom: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingBottom);
|
|
210
214
|
padding-left: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft);
|
|
211
|
-
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
212
215
|
}
|
|
213
216
|
.pf-c-dropdown__toggle.pf-m-split-button > *:first-child {
|
|
214
217
|
--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-c-dropdown__toggle--m-split-button--first-child--PaddingLeft);
|
|
@@ -232,6 +235,9 @@
|
|
|
232
235
|
.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary > :not(:first-child) {
|
|
233
236
|
border-left: var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth) solid var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor);
|
|
234
237
|
}
|
|
238
|
+
.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary.pf-m-disabled, .pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary[disabled] {
|
|
239
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: 0;
|
|
240
|
+
}
|
|
235
241
|
.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-check {
|
|
236
242
|
display: flex;
|
|
237
243
|
align-items: center;
|
|
@@ -308,12 +314,12 @@
|
|
|
308
314
|
--pf-c-dropdown__toggle--m-plain--Color: var(--pf-c-dropdown__toggle--m-plain--disabled--Color);
|
|
309
315
|
}
|
|
310
316
|
.pf-c-dropdown__toggle.pf-m-primary {
|
|
311
|
-
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
312
|
-
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
313
317
|
border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
|
|
314
318
|
}
|
|
315
|
-
.pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled) {
|
|
319
|
+
.pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled):not([disabled]) {
|
|
316
320
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
321
|
+
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
322
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
317
323
|
}
|
|
318
324
|
.pf-c-dropdown__toggle.pf-m-primary::before {
|
|
319
325
|
border: 0;
|
|
@@ -327,15 +333,17 @@
|
|
|
327
333
|
.pf-c-dropdown__toggle.pf-m-primary:active, .pf-c-dropdown__toggle.pf-m-primary.pf-m-active {
|
|
328
334
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
|
|
329
335
|
}
|
|
330
|
-
.pf-m-
|
|
336
|
+
.pf-c-dropdown__toggle.pf-m-primary .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
|
|
331
337
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
|
|
332
338
|
}
|
|
333
339
|
.pf-c-dropdown__toggle.pf-m-secondary {
|
|
340
|
+
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
341
|
+
}
|
|
342
|
+
.pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled]) {
|
|
334
343
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-secondary--Color);
|
|
335
344
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-secondary--BackgroundColor);
|
|
336
|
-
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
337
345
|
}
|
|
338
|
-
.pf-c-dropdown__toggle.pf-m-secondary::before {
|
|
346
|
+
.pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled])::before {
|
|
339
347
|
border: var(--pf-c-dropdown__toggle--m-secondary--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--before--BorderColor);
|
|
340
348
|
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
341
349
|
}
|
|
@@ -247,6 +247,8 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
247
247
|
|
|
248
248
|
&.pf-m-disabled,
|
|
249
249
|
&:disabled {
|
|
250
|
+
--pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
|
|
251
|
+
|
|
250
252
|
pointer-events: none;
|
|
251
253
|
|
|
252
254
|
&:not(.pf-m-plain) {
|
|
@@ -261,13 +263,16 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
261
263
|
&.pf-m-split-button {
|
|
262
264
|
padding: 0;
|
|
263
265
|
|
|
266
|
+
&:not(.pf-m-disabled) {
|
|
267
|
+
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
268
|
+
}
|
|
269
|
+
|
|
264
270
|
> * {
|
|
265
271
|
position: relative;
|
|
266
272
|
padding-top: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingTop);
|
|
267
273
|
padding-right: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingRight);
|
|
268
274
|
padding-bottom: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingBottom);
|
|
269
275
|
padding-left: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft);
|
|
270
|
-
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
271
276
|
|
|
272
277
|
&:first-child {
|
|
273
278
|
--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-c-dropdown__toggle--m-split-button--first-child--PaddingLeft);
|
|
@@ -297,10 +302,15 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
297
302
|
}
|
|
298
303
|
|
|
299
304
|
&.pf-m-primary {
|
|
300
|
-
// stylelint-disable max-nesting-depth
|
|
305
|
+
// stylelint-disable max-nesting-depth, selector-max-class
|
|
301
306
|
> :not(:first-child) {
|
|
302
307
|
border-left: var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth) solid var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor);
|
|
303
308
|
}
|
|
309
|
+
|
|
310
|
+
&.pf-m-disabled,
|
|
311
|
+
&[disabled] {
|
|
312
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: 0;
|
|
313
|
+
}
|
|
304
314
|
// stylelint-enable
|
|
305
315
|
}
|
|
306
316
|
}
|
|
@@ -426,11 +436,10 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
426
436
|
}
|
|
427
437
|
|
|
428
438
|
&.pf-m-primary {
|
|
429
|
-
|
|
430
|
-
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
431
|
-
|
|
432
|
-
&:not(.pf-m-disabled) {
|
|
439
|
+
&:not(.pf-m-disabled):not([disabled]) {
|
|
433
440
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
441
|
+
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
442
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
434
443
|
}
|
|
435
444
|
|
|
436
445
|
border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
|
|
@@ -452,20 +461,22 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
452
461
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
|
|
453
462
|
}
|
|
454
463
|
|
|
455
|
-
.pf-m-expanded >
|
|
464
|
+
.pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
|
|
456
465
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
|
|
457
466
|
}
|
|
458
467
|
}
|
|
459
468
|
|
|
460
469
|
&.pf-m-secondary {
|
|
461
|
-
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-secondary--Color);
|
|
462
|
-
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-secondary--BackgroundColor);
|
|
463
|
-
|
|
464
470
|
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
465
471
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
472
|
+
&:not(.pf-m-disabled):not([disabled]) {
|
|
473
|
+
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-secondary--Color);
|
|
474
|
+
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-secondary--BackgroundColor);
|
|
475
|
+
|
|
476
|
+
&::before {
|
|
477
|
+
border: var(--pf-c-dropdown__toggle--m-secondary--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--before--BorderColor);
|
|
478
|
+
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
479
|
+
}
|
|
469
480
|
}
|
|
470
481
|
|
|
471
482
|
&:hover {
|
|
@@ -1434,6 +1434,51 @@ The dropdown panel is provided for flexibility in allowing various content withi
|
|
|
1434
1434
|
</li>
|
|
1435
1435
|
</ul>
|
|
1436
1436
|
</div>
|
|
1437
|
+
<div class="pf-c-dropdown">
|
|
1438
|
+
<button
|
|
1439
|
+
class="pf-c-dropdown__toggle pf-m-primary"
|
|
1440
|
+
id="dropdown-primary-toggle-disabled-button"
|
|
1441
|
+
aria-expanded="false"
|
|
1442
|
+
type="button"
|
|
1443
|
+
disabled
|
|
1444
|
+
>
|
|
1445
|
+
<span class="pf-c-dropdown__toggle-text">Disabled</span>
|
|
1446
|
+
<span class="pf-c-dropdown__toggle-icon">
|
|
1447
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1448
|
+
</span>
|
|
1449
|
+
</button>
|
|
1450
|
+
<ul
|
|
1451
|
+
class="pf-c-dropdown__menu"
|
|
1452
|
+
aria-labelledby="dropdown-primary-toggle-disabled-button"
|
|
1453
|
+
hidden
|
|
1454
|
+
>
|
|
1455
|
+
<li>
|
|
1456
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
1457
|
+
</li>
|
|
1458
|
+
<li>
|
|
1459
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
1460
|
+
</li>
|
|
1461
|
+
<li>
|
|
1462
|
+
<a
|
|
1463
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
1464
|
+
href="#"
|
|
1465
|
+
aria-disabled="true"
|
|
1466
|
+
tabindex="-1"
|
|
1467
|
+
>Disabled link</a>
|
|
1468
|
+
</li>
|
|
1469
|
+
<li>
|
|
1470
|
+
<button
|
|
1471
|
+
class="pf-c-dropdown__menu-item"
|
|
1472
|
+
type="button"
|
|
1473
|
+
disabled
|
|
1474
|
+
>Disabled action</button>
|
|
1475
|
+
</li>
|
|
1476
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
1477
|
+
<li>
|
|
1478
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
1479
|
+
</li>
|
|
1480
|
+
</ul>
|
|
1481
|
+
</div>
|
|
1437
1482
|
|
|
1438
1483
|
```
|
|
1439
1484
|
|
|
@@ -1527,6 +1572,51 @@ The dropdown panel is provided for flexibility in allowing various content withi
|
|
|
1527
1572
|
</li>
|
|
1528
1573
|
</ul>
|
|
1529
1574
|
</div>
|
|
1575
|
+
<div class="pf-c-dropdown">
|
|
1576
|
+
<button
|
|
1577
|
+
class="pf-c-dropdown__toggle pf-m-secondary"
|
|
1578
|
+
id="dropdown-secondary-toggle-disabled-button"
|
|
1579
|
+
aria-expanded="false"
|
|
1580
|
+
type="button"
|
|
1581
|
+
disabled
|
|
1582
|
+
>
|
|
1583
|
+
<span class="pf-c-dropdown__toggle-text">Disabled</span>
|
|
1584
|
+
<span class="pf-c-dropdown__toggle-icon">
|
|
1585
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1586
|
+
</span>
|
|
1587
|
+
</button>
|
|
1588
|
+
<ul
|
|
1589
|
+
class="pf-c-dropdown__menu"
|
|
1590
|
+
aria-labelledby="dropdown-secondary-toggle-disabled-button"
|
|
1591
|
+
hidden
|
|
1592
|
+
>
|
|
1593
|
+
<li>
|
|
1594
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
1595
|
+
</li>
|
|
1596
|
+
<li>
|
|
1597
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
1598
|
+
</li>
|
|
1599
|
+
<li>
|
|
1600
|
+
<a
|
|
1601
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
1602
|
+
href="#"
|
|
1603
|
+
aria-disabled="true"
|
|
1604
|
+
tabindex="-1"
|
|
1605
|
+
>Disabled link</a>
|
|
1606
|
+
</li>
|
|
1607
|
+
<li>
|
|
1608
|
+
<button
|
|
1609
|
+
class="pf-c-dropdown__menu-item"
|
|
1610
|
+
type="button"
|
|
1611
|
+
disabled
|
|
1612
|
+
>Disabled action</button>
|
|
1613
|
+
</li>
|
|
1614
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
1615
|
+
<li>
|
|
1616
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
1617
|
+
</li>
|
|
1618
|
+
</ul>
|
|
1619
|
+
</div>
|
|
1530
1620
|
|
|
1531
1621
|
```
|
|
1532
1622
|
|
package/package.json
CHANGED
package/patternfly-no-reset.css
CHANGED
|
@@ -12442,6 +12442,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12442
12442
|
border-color: var(--pf-c-dropdown__toggle--before--BorderTopColor) var(--pf-c-dropdown__toggle--before--BorderRightColor) var(--pf-c-dropdown__toggle--before--BorderBottomColor) var(--pf-c-dropdown__toggle--before--BorderLeftColor);
|
|
12443
12443
|
}
|
|
12444
12444
|
.pf-c-dropdown__toggle.pf-m-disabled, .pf-c-dropdown__toggle:disabled {
|
|
12445
|
+
--pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
|
|
12445
12446
|
pointer-events: none;
|
|
12446
12447
|
}
|
|
12447
12448
|
.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain), .pf-c-dropdown__toggle:disabled:not(.pf-m-plain) {
|
|
@@ -12453,13 +12454,15 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12453
12454
|
.pf-c-dropdown__toggle.pf-m-split-button {
|
|
12454
12455
|
padding: 0;
|
|
12455
12456
|
}
|
|
12457
|
+
.pf-c-dropdown__toggle.pf-m-split-button:not(.pf-m-disabled) {
|
|
12458
|
+
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
12459
|
+
}
|
|
12456
12460
|
.pf-c-dropdown__toggle.pf-m-split-button > * {
|
|
12457
12461
|
position: relative;
|
|
12458
12462
|
padding-top: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingTop);
|
|
12459
12463
|
padding-right: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingRight);
|
|
12460
12464
|
padding-bottom: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingBottom);
|
|
12461
12465
|
padding-left: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft);
|
|
12462
|
-
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
12463
12466
|
}
|
|
12464
12467
|
.pf-c-dropdown__toggle.pf-m-split-button > *:first-child {
|
|
12465
12468
|
--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-c-dropdown__toggle--m-split-button--first-child--PaddingLeft);
|
|
@@ -12483,6 +12486,9 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12483
12486
|
.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary > :not(:first-child) {
|
|
12484
12487
|
border-left: var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth) solid var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor);
|
|
12485
12488
|
}
|
|
12489
|
+
.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary.pf-m-disabled, .pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary[disabled] {
|
|
12490
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: 0;
|
|
12491
|
+
}
|
|
12486
12492
|
.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-check {
|
|
12487
12493
|
display: flex;
|
|
12488
12494
|
align-items: center;
|
|
@@ -12559,12 +12565,12 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12559
12565
|
--pf-c-dropdown__toggle--m-plain--Color: var(--pf-c-dropdown__toggle--m-plain--disabled--Color);
|
|
12560
12566
|
}
|
|
12561
12567
|
.pf-c-dropdown__toggle.pf-m-primary {
|
|
12562
|
-
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
12563
|
-
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
12564
12568
|
border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
|
|
12565
12569
|
}
|
|
12566
|
-
.pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled) {
|
|
12570
|
+
.pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled):not([disabled]) {
|
|
12567
12571
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
12572
|
+
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
12573
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
12568
12574
|
}
|
|
12569
12575
|
.pf-c-dropdown__toggle.pf-m-primary::before {
|
|
12570
12576
|
border: 0;
|
|
@@ -12578,15 +12584,17 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12578
12584
|
.pf-c-dropdown__toggle.pf-m-primary:active, .pf-c-dropdown__toggle.pf-m-primary.pf-m-active {
|
|
12579
12585
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
|
|
12580
12586
|
}
|
|
12581
|
-
.pf-m-
|
|
12587
|
+
.pf-c-dropdown__toggle.pf-m-primary .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
|
|
12582
12588
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
|
|
12583
12589
|
}
|
|
12584
12590
|
.pf-c-dropdown__toggle.pf-m-secondary {
|
|
12591
|
+
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
12592
|
+
}
|
|
12593
|
+
.pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled]) {
|
|
12585
12594
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-secondary--Color);
|
|
12586
12595
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-secondary--BackgroundColor);
|
|
12587
|
-
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
12588
12596
|
}
|
|
12589
|
-
.pf-c-dropdown__toggle.pf-m-secondary::before {
|
|
12597
|
+
.pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled])::before {
|
|
12590
12598
|
border: var(--pf-c-dropdown__toggle--m-secondary--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--before--BorderColor);
|
|
12591
12599
|
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
12592
12600
|
}
|
package/patternfly.css
CHANGED
|
@@ -12564,6 +12564,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12564
12564
|
border-color: var(--pf-c-dropdown__toggle--before--BorderTopColor) var(--pf-c-dropdown__toggle--before--BorderRightColor) var(--pf-c-dropdown__toggle--before--BorderBottomColor) var(--pf-c-dropdown__toggle--before--BorderLeftColor);
|
|
12565
12565
|
}
|
|
12566
12566
|
.pf-c-dropdown__toggle.pf-m-disabled, .pf-c-dropdown__toggle:disabled {
|
|
12567
|
+
--pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
|
|
12567
12568
|
pointer-events: none;
|
|
12568
12569
|
}
|
|
12569
12570
|
.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain), .pf-c-dropdown__toggle:disabled:not(.pf-m-plain) {
|
|
@@ -12575,13 +12576,15 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12575
12576
|
.pf-c-dropdown__toggle.pf-m-split-button {
|
|
12576
12577
|
padding: 0;
|
|
12577
12578
|
}
|
|
12579
|
+
.pf-c-dropdown__toggle.pf-m-split-button:not(.pf-m-disabled) {
|
|
12580
|
+
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
12581
|
+
}
|
|
12578
12582
|
.pf-c-dropdown__toggle.pf-m-split-button > * {
|
|
12579
12583
|
position: relative;
|
|
12580
12584
|
padding-top: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingTop);
|
|
12581
12585
|
padding-right: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingRight);
|
|
12582
12586
|
padding-bottom: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingBottom);
|
|
12583
12587
|
padding-left: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft);
|
|
12584
|
-
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
12585
12588
|
}
|
|
12586
12589
|
.pf-c-dropdown__toggle.pf-m-split-button > *:first-child {
|
|
12587
12590
|
--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-c-dropdown__toggle--m-split-button--first-child--PaddingLeft);
|
|
@@ -12605,6 +12608,9 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12605
12608
|
.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary > :not(:first-child) {
|
|
12606
12609
|
border-left: var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth) solid var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor);
|
|
12607
12610
|
}
|
|
12611
|
+
.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary.pf-m-disabled, .pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary[disabled] {
|
|
12612
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: 0;
|
|
12613
|
+
}
|
|
12608
12614
|
.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-check {
|
|
12609
12615
|
display: flex;
|
|
12610
12616
|
align-items: center;
|
|
@@ -12681,12 +12687,12 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12681
12687
|
--pf-c-dropdown__toggle--m-plain--Color: var(--pf-c-dropdown__toggle--m-plain--disabled--Color);
|
|
12682
12688
|
}
|
|
12683
12689
|
.pf-c-dropdown__toggle.pf-m-primary {
|
|
12684
|
-
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
12685
|
-
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
12686
12690
|
border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
|
|
12687
12691
|
}
|
|
12688
|
-
.pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled) {
|
|
12692
|
+
.pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled):not([disabled]) {
|
|
12689
12693
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
12694
|
+
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
12695
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
12690
12696
|
}
|
|
12691
12697
|
.pf-c-dropdown__toggle.pf-m-primary::before {
|
|
12692
12698
|
border: 0;
|
|
@@ -12700,15 +12706,17 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
12700
12706
|
.pf-c-dropdown__toggle.pf-m-primary:active, .pf-c-dropdown__toggle.pf-m-primary.pf-m-active {
|
|
12701
12707
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
|
|
12702
12708
|
}
|
|
12703
|
-
.pf-m-
|
|
12709
|
+
.pf-c-dropdown__toggle.pf-m-primary .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
|
|
12704
12710
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
|
|
12705
12711
|
}
|
|
12706
12712
|
.pf-c-dropdown__toggle.pf-m-secondary {
|
|
12713
|
+
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
12714
|
+
}
|
|
12715
|
+
.pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled]) {
|
|
12707
12716
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-secondary--Color);
|
|
12708
12717
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-secondary--BackgroundColor);
|
|
12709
|
-
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
12710
12718
|
}
|
|
12711
|
-
.pf-c-dropdown__toggle.pf-m-secondary::before {
|
|
12719
|
+
.pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled])::before {
|
|
12712
12720
|
border: var(--pf-c-dropdown__toggle--m-secondary--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--before--BorderColor);
|
|
12713
12721
|
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
12714
12722
|
}
|