@patternfly/patternfly 4.196.9 → 4.197.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/Dropdown/dropdown.css +56 -1
- package/components/Dropdown/dropdown.scss +76 -2
- package/docs/components/Dropdown/examples/Dropdown.css +2 -1
- package/docs/components/Dropdown/examples/Dropdown.md +165 -0
- package/package.json +1 -1
- package/patternfly-no-reset.css +56 -1
- package/patternfly.css +56 -1
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -62,7 +62,8 @@
|
|
|
62
62
|
--pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
63
63
|
--pf-c-dropdown__toggle--m-split-button__toggle-check__input--TranslateY: -0.0625rem;
|
|
64
64
|
--pf-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft: var(--pf-global--spacer--sm);
|
|
65
|
-
--pf-c-dropdown__toggle--m-split-button--
|
|
65
|
+
--pf-c-dropdown__toggle--m-split-button--child--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
66
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
66
67
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-global--primary-color--100);
|
|
67
68
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
68
69
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
@@ -70,6 +71,18 @@
|
|
|
70
71
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor: var(--pf-global--primary-color--200);
|
|
71
72
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor: var(--pf-global--primary-color--200);
|
|
72
73
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
74
|
+
--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
75
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--Color: var(--pf-global--primary-color--100);
|
|
76
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
77
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
78
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
79
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base: var(--pf-global--BorderWidth--sm);
|
|
80
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base: var(--pf-global--primary-color--100);
|
|
81
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
82
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base);
|
|
83
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
84
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
85
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
73
86
|
--pf-c-dropdown__toggle-icon--LineHeight: var(--pf-global--LineHeight--md);
|
|
74
87
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
75
88
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-global--spacer--md);
|
|
@@ -166,6 +179,7 @@
|
|
|
166
179
|
}
|
|
167
180
|
.pf-c-dropdown.pf-m-expanded {
|
|
168
181
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor);
|
|
182
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth);
|
|
169
183
|
}
|
|
170
184
|
|
|
171
185
|
.pf-c-dropdown__toggle {
|
|
@@ -367,6 +381,47 @@
|
|
|
367
381
|
--pf-c-dropdown__toggle--m-secondary--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--before--BorderWidth);
|
|
368
382
|
--pf-c-dropdown__toggle--m-secondary--before--BorderColor: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--before--BorderColor);
|
|
369
383
|
}
|
|
384
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) {
|
|
385
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--Color);
|
|
386
|
+
}
|
|
387
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):hover {
|
|
388
|
+
--pf-c-dropdown__toggle--m-secondary--hover--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth);
|
|
389
|
+
}
|
|
390
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):focus {
|
|
391
|
+
--pf-c-dropdown__toggle--m-secondary--focus--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth);
|
|
392
|
+
}
|
|
393
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):active {
|
|
394
|
+
--pf-c-dropdown__toggle--m-secondary--active--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth);
|
|
395
|
+
}
|
|
396
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *::before {
|
|
397
|
+
border: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor);
|
|
398
|
+
}
|
|
399
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:hover {
|
|
400
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth);
|
|
401
|
+
}
|
|
402
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:focus {
|
|
403
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth);
|
|
404
|
+
}
|
|
405
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:active {
|
|
406
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth);
|
|
407
|
+
}
|
|
408
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:first-child::before {
|
|
409
|
+
border-top-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
410
|
+
border-bottom-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
411
|
+
}
|
|
412
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:last-child::before {
|
|
413
|
+
border-top-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
414
|
+
border-bottom-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
415
|
+
}
|
|
416
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:first-child)::before {
|
|
417
|
+
border-left: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
418
|
+
}
|
|
419
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:last-child)::before {
|
|
420
|
+
border-right: 0;
|
|
421
|
+
}
|
|
422
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled).pf-m-action::before {
|
|
423
|
+
border: 0;
|
|
424
|
+
}
|
|
370
425
|
.pf-c-dropdown__toggle > .pf-c-badge {
|
|
371
426
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft);
|
|
372
427
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginRight);
|
|
@@ -75,9 +75,10 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
75
75
|
--pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
76
76
|
--pf-c-dropdown__toggle--m-split-button__toggle-check__input--TranslateY: #{pf-size-prem(-1px)};
|
|
77
77
|
--pf-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft: var(--pf-global--spacer--sm);
|
|
78
|
+
--pf-c-dropdown__toggle--m-split-button--child--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
78
79
|
|
|
79
80
|
// Split button
|
|
80
|
-
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius: var(--pf-
|
|
81
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
81
82
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-global--primary-color--100);
|
|
82
83
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
83
84
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
@@ -88,6 +89,20 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
88
89
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor: var(--pf-global--primary-color--200);
|
|
89
90
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
90
91
|
|
|
92
|
+
// Split button
|
|
93
|
+
--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
94
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--Color: var(--pf-global--primary-color--100);
|
|
95
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
96
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
97
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
98
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base: var(--pf-global--BorderWidth--sm);
|
|
99
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base: var(--pf-global--primary-color--100);
|
|
100
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
101
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base);
|
|
102
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
103
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
104
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
105
|
+
|
|
91
106
|
// Toggle Arrow
|
|
92
107
|
--pf-c-dropdown__toggle-icon--LineHeight: var(--pf-global--LineHeight--md);
|
|
93
108
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
@@ -217,7 +232,8 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
217
232
|
}
|
|
218
233
|
|
|
219
234
|
&.pf-m-expanded {
|
|
220
|
-
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor);
|
|
235
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor); // update to --pf-c-dropdown__toggle--m-primary--m-split-button--child--before--BorderWidth at breaking change
|
|
236
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth);
|
|
221
237
|
}
|
|
222
238
|
}
|
|
223
239
|
|
|
@@ -507,6 +523,64 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
507
523
|
}
|
|
508
524
|
}
|
|
509
525
|
|
|
526
|
+
&.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) {
|
|
527
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--Color);
|
|
528
|
+
|
|
529
|
+
&:hover {
|
|
530
|
+
--pf-c-dropdown__toggle--m-secondary--hover--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
&:focus {
|
|
534
|
+
--pf-c-dropdown__toggle--m-secondary--focus--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
&:active {
|
|
538
|
+
--pf-c-dropdown__toggle--m-secondary--active--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
> * {
|
|
542
|
+
&::before {
|
|
543
|
+
border: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
&:hover {
|
|
547
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
&:focus {
|
|
551
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
&:active {
|
|
555
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
&:first-child::before {
|
|
559
|
+
border-top-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
560
|
+
border-bottom-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
&:last-child::before {
|
|
564
|
+
border-top-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
565
|
+
border-bottom-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
&:not(:first-child)::before {
|
|
569
|
+
border-left: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
&:not(:last-child)::before {
|
|
573
|
+
border-right: 0;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
&.pf-m-action {
|
|
578
|
+
&::before {
|
|
579
|
+
border: 0;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
510
584
|
> .pf-c-badge {
|
|
511
585
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft);
|
|
512
586
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginRight);
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
#ws-core-c-dropdown-split-button-checkbox,
|
|
44
44
|
#ws-core-c-dropdown-split-button-action,
|
|
45
45
|
#ws-core-c-dropdown-split-button-primary-checkbox,
|
|
46
|
-
#ws-core-c-dropdown-split-button-primary-action
|
|
46
|
+
#ws-core-c-dropdown-split-button-primary-action,
|
|
47
|
+
#ws-core-c-dropdown-split-button-secondary-action {
|
|
47
48
|
min-height: 210px;
|
|
48
49
|
}
|
|
49
50
|
|
|
@@ -1296,6 +1296,171 @@ cssPrefix: pf-c-dropdown
|
|
|
1296
1296
|
|
|
1297
1297
|
```
|
|
1298
1298
|
|
|
1299
|
+
### Split button, secondary (action)
|
|
1300
|
+
|
|
1301
|
+
```html
|
|
1302
|
+
<div class="pf-c-dropdown">
|
|
1303
|
+
<div
|
|
1304
|
+
class="pf-c-dropdown__toggle pf-m-secondary pf-m-split-button pf-m-action"
|
|
1305
|
+
>
|
|
1306
|
+
<button
|
|
1307
|
+
class="pf-c-dropdown__toggle-button"
|
|
1308
|
+
type="button"
|
|
1309
|
+
aria-label="Dropdown toggle"
|
|
1310
|
+
>Action</button>
|
|
1311
|
+
|
|
1312
|
+
<button
|
|
1313
|
+
class="pf-c-dropdown__toggle-button"
|
|
1314
|
+
type="button"
|
|
1315
|
+
aria-expanded="false"
|
|
1316
|
+
id="dropdown-split-button-action-secondary-toggle-button"
|
|
1317
|
+
aria-label="Dropdown toggle"
|
|
1318
|
+
>
|
|
1319
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1320
|
+
</button>
|
|
1321
|
+
</div>
|
|
1322
|
+
<ul class="pf-c-dropdown__menu" hidden>
|
|
1323
|
+
<li>
|
|
1324
|
+
<button class="pf-c-dropdown__menu-item" type="button">Actions</button>
|
|
1325
|
+
</li>
|
|
1326
|
+
<li>
|
|
1327
|
+
<button
|
|
1328
|
+
class="pf-c-dropdown__menu-item"
|
|
1329
|
+
type="button"
|
|
1330
|
+
disabled
|
|
1331
|
+
>Disabled action</button>
|
|
1332
|
+
</li>
|
|
1333
|
+
<li>
|
|
1334
|
+
<button class="pf-c-dropdown__menu-item" type="button">Other action</button>
|
|
1335
|
+
</li>
|
|
1336
|
+
</ul>
|
|
1337
|
+
</div>
|
|
1338
|
+
<div class="pf-c-dropdown pf-m-expanded">
|
|
1339
|
+
<div
|
|
1340
|
+
class="pf-c-dropdown__toggle pf-m-secondary pf-m-split-button pf-m-action"
|
|
1341
|
+
>
|
|
1342
|
+
<button
|
|
1343
|
+
class="pf-c-dropdown__toggle-button"
|
|
1344
|
+
type="button"
|
|
1345
|
+
aria-label="Dropdown toggle"
|
|
1346
|
+
>Action</button>
|
|
1347
|
+
|
|
1348
|
+
<button
|
|
1349
|
+
class="pf-c-dropdown__toggle-button"
|
|
1350
|
+
type="button"
|
|
1351
|
+
aria-expanded="true"
|
|
1352
|
+
id="dropdown-split-button-action-secondary-expanded-toggle-button"
|
|
1353
|
+
aria-label="Dropdown toggle"
|
|
1354
|
+
>
|
|
1355
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1356
|
+
</button>
|
|
1357
|
+
</div>
|
|
1358
|
+
<ul class="pf-c-dropdown__menu">
|
|
1359
|
+
<li>
|
|
1360
|
+
<button class="pf-c-dropdown__menu-item" type="button">Actions</button>
|
|
1361
|
+
</li>
|
|
1362
|
+
<li>
|
|
1363
|
+
<button
|
|
1364
|
+
class="pf-c-dropdown__menu-item"
|
|
1365
|
+
type="button"
|
|
1366
|
+
disabled
|
|
1367
|
+
>Disabled action</button>
|
|
1368
|
+
</li>
|
|
1369
|
+
<li>
|
|
1370
|
+
<button class="pf-c-dropdown__menu-item" type="button">Other action</button>
|
|
1371
|
+
</li>
|
|
1372
|
+
</ul>
|
|
1373
|
+
</div>
|
|
1374
|
+
<div class="pf-c-dropdown">
|
|
1375
|
+
<div
|
|
1376
|
+
class="pf-c-dropdown__toggle pf-m-secondary pf-m-split-button pf-m-action"
|
|
1377
|
+
>
|
|
1378
|
+
<button
|
|
1379
|
+
class="pf-c-dropdown__toggle-button"
|
|
1380
|
+
type="button"
|
|
1381
|
+
aria-label="Settings"
|
|
1382
|
+
>
|
|
1383
|
+
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1384
|
+
</button>
|
|
1385
|
+
|
|
1386
|
+
<button
|
|
1387
|
+
class="pf-c-dropdown__toggle-button"
|
|
1388
|
+
type="button"
|
|
1389
|
+
aria-expanded="false"
|
|
1390
|
+
id="dropdown-split-button-action-secondary-icon-toggle-button"
|
|
1391
|
+
aria-label="Dropdown toggle"
|
|
1392
|
+
>
|
|
1393
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1394
|
+
</button>
|
|
1395
|
+
</div>
|
|
1396
|
+
<ul class="pf-c-dropdown__menu" hidden>
|
|
1397
|
+
<li>
|
|
1398
|
+
<button class="pf-c-dropdown__menu-item" type="button">Actions</button>
|
|
1399
|
+
</li>
|
|
1400
|
+
<li>
|
|
1401
|
+
<button
|
|
1402
|
+
class="pf-c-dropdown__menu-item"
|
|
1403
|
+
type="button"
|
|
1404
|
+
disabled
|
|
1405
|
+
>Disabled action</button>
|
|
1406
|
+
</li>
|
|
1407
|
+
<li>
|
|
1408
|
+
<button class="pf-c-dropdown__menu-item" type="button">Other action</button>
|
|
1409
|
+
</li>
|
|
1410
|
+
</ul>
|
|
1411
|
+
</div>
|
|
1412
|
+
<div class="pf-c-dropdown pf-m-expanded">
|
|
1413
|
+
<div
|
|
1414
|
+
class="pf-c-dropdown__toggle pf-m-secondary pf-m-split-button pf-m-action"
|
|
1415
|
+
>
|
|
1416
|
+
<button
|
|
1417
|
+
class="pf-c-dropdown__toggle-button"
|
|
1418
|
+
type="button"
|
|
1419
|
+
aria-label="Settings"
|
|
1420
|
+
>
|
|
1421
|
+
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1422
|
+
</button>
|
|
1423
|
+
|
|
1424
|
+
<button
|
|
1425
|
+
class="pf-c-dropdown__toggle-button"
|
|
1426
|
+
type="button"
|
|
1427
|
+
aria-expanded="true"
|
|
1428
|
+
id="dropdown-split-button-action-secondary-icon-expanded-toggle-button"
|
|
1429
|
+
aria-label="Dropdown toggle"
|
|
1430
|
+
>
|
|
1431
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1432
|
+
</button>
|
|
1433
|
+
</div>
|
|
1434
|
+
<ul class="pf-c-dropdown__menu">
|
|
1435
|
+
<li>
|
|
1436
|
+
<button class="pf-c-dropdown__menu-item pf-m-icon" type="button">
|
|
1437
|
+
<span class="pf-c-dropdown__menu-item-icon">
|
|
1438
|
+
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1439
|
+
</span>
|
|
1440
|
+
Actions
|
|
1441
|
+
</button>
|
|
1442
|
+
</li>
|
|
1443
|
+
<li>
|
|
1444
|
+
<button class="pf-c-dropdown__menu-item pf-m-icon" type="button" disabled>
|
|
1445
|
+
<span class="pf-c-dropdown__menu-item-icon">
|
|
1446
|
+
<i class="fas fa-bell" aria-hidden="true"></i>
|
|
1447
|
+
</span>
|
|
1448
|
+
Disabled action
|
|
1449
|
+
</button>
|
|
1450
|
+
</li>
|
|
1451
|
+
<li>
|
|
1452
|
+
<button class="pf-c-dropdown__menu-item pf-m-icon" type="button">
|
|
1453
|
+
<span class="pf-c-dropdown__menu-item-icon">
|
|
1454
|
+
<i class="fas fa-cubes" aria-hidden="true"></i>
|
|
1455
|
+
</span>
|
|
1456
|
+
Other action
|
|
1457
|
+
</button>
|
|
1458
|
+
</li>
|
|
1459
|
+
</ul>
|
|
1460
|
+
</div>
|
|
1461
|
+
|
|
1462
|
+
```
|
|
1463
|
+
|
|
1299
1464
|
### With groups
|
|
1300
1465
|
|
|
1301
1466
|
```html
|
package/package.json
CHANGED
package/patternfly-no-reset.css
CHANGED
|
@@ -13561,7 +13561,8 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13561
13561
|
--pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
13562
13562
|
--pf-c-dropdown__toggle--m-split-button__toggle-check__input--TranslateY: -0.0625rem;
|
|
13563
13563
|
--pf-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft: var(--pf-global--spacer--sm);
|
|
13564
|
-
--pf-c-dropdown__toggle--m-split-button--
|
|
13564
|
+
--pf-c-dropdown__toggle--m-split-button--child--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
13565
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
13565
13566
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-global--primary-color--100);
|
|
13566
13567
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
13567
13568
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
@@ -13569,6 +13570,18 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13569
13570
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor: var(--pf-global--primary-color--200);
|
|
13570
13571
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor: var(--pf-global--primary-color--200);
|
|
13571
13572
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
13573
|
+
--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13574
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--Color: var(--pf-global--primary-color--100);
|
|
13575
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13576
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13577
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13578
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base: var(--pf-global--BorderWidth--sm);
|
|
13579
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base: var(--pf-global--primary-color--100);
|
|
13580
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
13581
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base);
|
|
13582
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13583
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13584
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13572
13585
|
--pf-c-dropdown__toggle-icon--LineHeight: var(--pf-global--LineHeight--md);
|
|
13573
13586
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
13574
13587
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-global--spacer--md);
|
|
@@ -13665,6 +13678,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13665
13678
|
}
|
|
13666
13679
|
.pf-c-dropdown.pf-m-expanded {
|
|
13667
13680
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor);
|
|
13681
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth);
|
|
13668
13682
|
}
|
|
13669
13683
|
|
|
13670
13684
|
.pf-c-dropdown__toggle {
|
|
@@ -13866,6 +13880,47 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13866
13880
|
--pf-c-dropdown__toggle--m-secondary--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--before--BorderWidth);
|
|
13867
13881
|
--pf-c-dropdown__toggle--m-secondary--before--BorderColor: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--before--BorderColor);
|
|
13868
13882
|
}
|
|
13883
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) {
|
|
13884
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--Color);
|
|
13885
|
+
}
|
|
13886
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):hover {
|
|
13887
|
+
--pf-c-dropdown__toggle--m-secondary--hover--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth);
|
|
13888
|
+
}
|
|
13889
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):focus {
|
|
13890
|
+
--pf-c-dropdown__toggle--m-secondary--focus--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth);
|
|
13891
|
+
}
|
|
13892
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):active {
|
|
13893
|
+
--pf-c-dropdown__toggle--m-secondary--active--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth);
|
|
13894
|
+
}
|
|
13895
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *::before {
|
|
13896
|
+
border: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor);
|
|
13897
|
+
}
|
|
13898
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:hover {
|
|
13899
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth);
|
|
13900
|
+
}
|
|
13901
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:focus {
|
|
13902
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth);
|
|
13903
|
+
}
|
|
13904
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:active {
|
|
13905
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth);
|
|
13906
|
+
}
|
|
13907
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:first-child::before {
|
|
13908
|
+
border-top-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
13909
|
+
border-bottom-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
13910
|
+
}
|
|
13911
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:last-child::before {
|
|
13912
|
+
border-top-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
13913
|
+
border-bottom-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
13914
|
+
}
|
|
13915
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:first-child)::before {
|
|
13916
|
+
border-left: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
13917
|
+
}
|
|
13918
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:last-child)::before {
|
|
13919
|
+
border-right: 0;
|
|
13920
|
+
}
|
|
13921
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled).pf-m-action::before {
|
|
13922
|
+
border: 0;
|
|
13923
|
+
}
|
|
13869
13924
|
.pf-c-dropdown__toggle > .pf-c-badge {
|
|
13870
13925
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft);
|
|
13871
13926
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginRight);
|
package/patternfly.css
CHANGED
|
@@ -13688,7 +13688,8 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13688
13688
|
--pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
13689
13689
|
--pf-c-dropdown__toggle--m-split-button__toggle-check__input--TranslateY: -0.0625rem;
|
|
13690
13690
|
--pf-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft: var(--pf-global--spacer--sm);
|
|
13691
|
-
--pf-c-dropdown__toggle--m-split-button--
|
|
13691
|
+
--pf-c-dropdown__toggle--m-split-button--child--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
13692
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
13692
13693
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-global--primary-color--100);
|
|
13693
13694
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
13694
13695
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
@@ -13696,6 +13697,18 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13696
13697
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor: var(--pf-global--primary-color--200);
|
|
13697
13698
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor: var(--pf-global--primary-color--200);
|
|
13698
13699
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
13700
|
+
--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13701
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--Color: var(--pf-global--primary-color--100);
|
|
13702
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13703
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13704
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13705
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base: var(--pf-global--BorderWidth--sm);
|
|
13706
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base: var(--pf-global--primary-color--100);
|
|
13707
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
13708
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base);
|
|
13709
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13710
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13711
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
13699
13712
|
--pf-c-dropdown__toggle-icon--LineHeight: var(--pf-global--LineHeight--md);
|
|
13700
13713
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
13701
13714
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-global--spacer--md);
|
|
@@ -13792,6 +13805,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13792
13805
|
}
|
|
13793
13806
|
.pf-c-dropdown.pf-m-expanded {
|
|
13794
13807
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor);
|
|
13808
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth);
|
|
13795
13809
|
}
|
|
13796
13810
|
|
|
13797
13811
|
.pf-c-dropdown__toggle {
|
|
@@ -13993,6 +14007,47 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13993
14007
|
--pf-c-dropdown__toggle--m-secondary--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--before--BorderWidth);
|
|
13994
14008
|
--pf-c-dropdown__toggle--m-secondary--before--BorderColor: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--before--BorderColor);
|
|
13995
14009
|
}
|
|
14010
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) {
|
|
14011
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--Color);
|
|
14012
|
+
}
|
|
14013
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):hover {
|
|
14014
|
+
--pf-c-dropdown__toggle--m-secondary--hover--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth);
|
|
14015
|
+
}
|
|
14016
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):focus {
|
|
14017
|
+
--pf-c-dropdown__toggle--m-secondary--focus--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth);
|
|
14018
|
+
}
|
|
14019
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):active {
|
|
14020
|
+
--pf-c-dropdown__toggle--m-secondary--active--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth);
|
|
14021
|
+
}
|
|
14022
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *::before {
|
|
14023
|
+
border: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor);
|
|
14024
|
+
}
|
|
14025
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:hover {
|
|
14026
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth);
|
|
14027
|
+
}
|
|
14028
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:focus {
|
|
14029
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth);
|
|
14030
|
+
}
|
|
14031
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:active {
|
|
14032
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth);
|
|
14033
|
+
}
|
|
14034
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:first-child::before {
|
|
14035
|
+
border-top-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
14036
|
+
border-bottom-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
14037
|
+
}
|
|
14038
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:last-child::before {
|
|
14039
|
+
border-top-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
14040
|
+
border-bottom-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
14041
|
+
}
|
|
14042
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:first-child)::before {
|
|
14043
|
+
border-left: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
14044
|
+
}
|
|
14045
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:last-child)::before {
|
|
14046
|
+
border-right: 0;
|
|
14047
|
+
}
|
|
14048
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled).pf-m-action::before {
|
|
14049
|
+
border: 0;
|
|
14050
|
+
}
|
|
13996
14051
|
.pf-c-dropdown__toggle > .pf-c-badge {
|
|
13997
14052
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft);
|
|
13998
14053
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginRight);
|