@patternfly/patternfly 6.2.0-prerelease.2 → 6.2.0-prerelease.21
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/assets/pficon/pficon.scss +1 -1
- package/base/normalize.scss +2 -2
- package/base/patternfly-pf-icons.css +1 -1
- package/components/Alert/alert-group.css +50 -7
- package/components/Alert/alert-group.scss +114 -28
- package/components/Banner/banner.css +2 -2
- package/components/Banner/banner.scss +2 -2
- package/components/Breadcrumb/breadcrumb.css +3 -2
- package/components/Breadcrumb/breadcrumb.scss +3 -2
- package/components/Button/button.css +63 -2
- package/components/Button/button.scss +74 -2
- package/components/Card/card.css +17 -0
- package/components/Card/card.scss +22 -0
- package/components/ClipboardCopy/clipboard-copy.css +3 -0
- package/components/ClipboardCopy/clipboard-copy.scss +4 -0
- package/components/Content/content.css +2 -1
- package/components/Content/content.scss +2 -1
- package/components/DescriptionList/description-list.css +3 -2
- package/components/DescriptionList/description-list.scss +3 -2
- package/components/Drawer/drawer.css +3 -1
- package/components/Drawer/drawer.scss +3 -1
- package/components/Form/form.css +3 -6
- package/components/Form/form.scss +3 -7
- package/components/HelperText/helper-text.css +13 -0
- package/components/HelperText/helper-text.scss +16 -0
- package/components/JumpLinks/jump-links.css +1 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/Label/label.css +3 -2
- package/components/Label/label.scss +3 -2
- package/components/Masthead/masthead.css +1 -1
- package/components/Masthead/masthead.scss +1 -1
- package/components/Menu/menu.css +15 -7
- package/components/Menu/menu.scss +14 -5
- package/components/MenuToggle/menu-toggle.css +41 -0
- package/components/MenuToggle/menu-toggle.scss +49 -0
- package/components/Nav/nav.css +46 -13
- package/components/Nav/nav.scss +57 -17
- package/components/Page/page.css +16 -1
- package/components/Page/page.scss +17 -3
- package/components/Popover/popover.css +2 -0
- package/components/Popover/popover.scss +2 -0
- package/components/Progress/progress.css +3 -0
- package/components/Progress/progress.scss +3 -0
- package/components/ProgressStepper/progress-stepper.css +2 -1
- package/components/ProgressStepper/progress-stepper.scss +2 -1
- package/components/SimpleList/simple-list.css +2 -2
- package/components/SimpleList/simple-list.scss +2 -2
- package/components/Switch/switch.css +3 -1
- package/components/Switch/switch.scss +4 -2
- package/components/Table/table.css +3 -3
- package/components/Table/table.scss +3 -2
- package/components/Tabs/tabs.css +1 -1
- package/components/Tabs/tabs.scss +1 -1
- package/components/Timestamp/timestamp.css +2 -1
- package/components/Timestamp/timestamp.scss +2 -1
- package/components/ToggleGroup/toggle-group.css +1 -1
- package/components/ToggleGroup/toggle-group.scss +1 -1
- package/components/Toolbar/toolbar.css +6 -1
- package/components/Toolbar/toolbar.scss +7 -1
- package/components/Wizard/wizard.css +1 -1
- package/components/Wizard/wizard.scss +1 -1
- package/components/_index.css +310 -60
- package/docs/components/Alert/examples/Alert.md +6 -0
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Button/examples/Button.md +29 -0
- package/docs/components/Card/examples/Card.md +30 -0
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +29 -0
- package/docs/components/DataList/examples/DataList.md +3 -3
- package/docs/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +3 -3
- package/docs/components/JumpLinks/examples/JumpLinks.md +2 -2
- package/docs/components/Masthead/examples/masthead.md +1 -1
- package/docs/components/Menu/examples/Menu.md +8 -8
- package/docs/components/Nav/examples/Navigation.md +3 -0
- package/docs/components/Page/examples/Page.md +2 -2
- package/docs/components/Pagination/examples/Pagination.md +3 -3
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Table/examples/Table.md +17 -29
- package/docs/components/Tabs/examples/Tabs.md +148 -6
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +10 -0
- package/docs/components/Toolbar/examples/Toolbar.css +3 -0
- package/docs/components/Toolbar/examples/Toolbar.md +35 -7
- package/docs/demos/Card/examples/Card.md +32 -24
- package/docs/demos/CardView/examples/CardView.md +2 -0
- package/docs/demos/Nav/examples/Nav.md +2 -0
- package/docs/layouts/Flex/examples/Flex.md +1 -1
- package/docs/layouts/Gallery/examples/Gallery.md +2 -2
- package/docs/layouts/Grid/examples/Grid.md +4 -4
- package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
- package/docs/utilities/Alignment/examples/Alignment.md +1 -1
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
- package/docs/utilities/Display/examples/Display.md +1 -1
- package/docs/utilities/Flex/examples/Flex.md +1 -1
- package/docs/utilities/Float/examples/Float.md +1 -1
- package/docs/utilities/Sizing/examples/Sizing.md +6 -6
- package/docs/utilities/Spacing/examples/Spacing.md +1 -1
- package/docs/utilities/Text/examples/Text.md +1 -1
- package/package.json +2 -2
- package/patternfly-base-no-globals.css +1 -1
- package/patternfly-base.css +3 -3
- package/patternfly-charts.css +83 -0
- package/patternfly-charts.scss +126 -0
- package/patternfly-no-globals.css +311 -61
- package/patternfly.css +313 -63
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/docs/components/TabContent/examples/TabContent.md +0 -153
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
--#{$button}--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
21
21
|
--#{$button}--TextDecorationLine: none;
|
|
22
22
|
--#{$button}--TextDecorationStyle: none;
|
|
23
|
+
--#{$button}--TextDecorationColor: currentcolor;
|
|
23
24
|
--#{$button}--TransitionDuration: var(--pf-t--global--motion--duration--fade--default);
|
|
24
25
|
--#{$button}--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
25
26
|
--#{$button}--TransitionProperty: color, background-color, border-width, border-color, padding;
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
--#{$button}--hover--BorderWidth: var(--pf-t--global--border--width--action--hover);
|
|
31
32
|
--#{$button}--hover--TextDecorationLine: none;
|
|
32
33
|
--#{$button}--hover--TextDecorationStyle: none;
|
|
34
|
+
--#{$button}--hover--TextDecorationColor: currentcolor;
|
|
33
35
|
|
|
34
36
|
// Clicked
|
|
35
37
|
--#{$button}--m-clicked--BackgroundColor: transparent;
|
|
@@ -128,6 +130,12 @@
|
|
|
128
130
|
--#{$button}--span--m-link--m-inline--Display: inline;
|
|
129
131
|
--#{$button}--span--m-link--m-inline__icon--m-start--MarginInlineEnd: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
130
132
|
--#{$button}--span--m-link--m-inline__icon--m-end--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
133
|
+
--#{$button}--m-link--m-inline--Color: var(--pf-t--global--text--color--brand--default);
|
|
134
|
+
--#{$button}--m-link--m-inline__icon--Color: var(--pf-t--global--icon--color--brand--default);
|
|
135
|
+
--#{$button}--m-link--m-inline--TextDecorationColor: currentcolor;
|
|
136
|
+
--#{$button}--m-link--m-inline--hover--Color: var(--pf-t--global--text--color--brand--hover);
|
|
137
|
+
--#{$button}--m-link--m-inline--hover__icon--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
138
|
+
--#{$button}--m-link--m-inline--hover--TextDecorationColor: currentcolor;
|
|
131
139
|
|
|
132
140
|
// Plain
|
|
133
141
|
--#{$button}--m-plain--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
@@ -259,6 +267,7 @@
|
|
|
259
267
|
// Disabled
|
|
260
268
|
--#{$button}--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
|
261
269
|
--#{$button}--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
270
|
+
--#{$button}--disabled--TextDecorationColor: currentcolor;
|
|
262
271
|
--#{$button}--disabled--BorderColor: transparent;
|
|
263
272
|
--#{$button}--disabled__icon--Color: var(--pf-t--global--icon--color--on-disabled);
|
|
264
273
|
|
|
@@ -270,6 +279,16 @@
|
|
|
270
279
|
--#{$button}__icon--MarginInlineEnd: 0;
|
|
271
280
|
--#{$button}__icon--m-start--MarginInlineEnd: 0;
|
|
272
281
|
--#{$button}__icon--m-end--MarginInlineStart: 0;
|
|
282
|
+
--#{$button}--m-notify__icon--AnimationDuration--notify: var(--pf-t--global--motion--duration--3xl);
|
|
283
|
+
--#{$button}--m-notify__icon--AnimationTimingFunction--notify: var(--pf-t--global--motion--timing-function--default);
|
|
284
|
+
|
|
285
|
+
// Favorite button
|
|
286
|
+
--#{$button}--m-favorite__icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
287
|
+
--#{$button}--m-favorite__icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
288
|
+
--#{$button}--m-favorited__icon--Color: var(--pf-t--global--color--favorite--default);
|
|
289
|
+
--#{$button}--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
290
|
+
--#{$button}--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
291
|
+
--#{$button}--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
273
292
|
|
|
274
293
|
// Progress
|
|
275
294
|
--#{$button}__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm)); // matches medium spinner diameter plus a spacer
|
|
@@ -311,7 +330,9 @@
|
|
|
311
330
|
line-height: var(--#{$button}--LineHeight, inherit);
|
|
312
331
|
color: var(--#{$button}--Color);
|
|
313
332
|
text-align: center;
|
|
314
|
-
text-decoration: var(--#{$button}--TextDecorationLine)
|
|
333
|
+
text-decoration-line: var(--#{$button}--TextDecorationLine);
|
|
334
|
+
text-decoration-style: var(--#{$button}--TextDecorationStyle);
|
|
335
|
+
text-decoration-color: var(--#{$button}--TextDecorationColor);
|
|
315
336
|
white-space: nowrap;
|
|
316
337
|
cursor: pointer; // needed for when a button does not use <button> - eg, <span>
|
|
317
338
|
user-select: none;
|
|
@@ -440,6 +461,12 @@
|
|
|
440
461
|
--#{$button}--disabled--BackgroundColor: transparent;
|
|
441
462
|
--#{$button}--disabled--Color: var(--#{$button}--m-link--m-inline--disabled--Color);
|
|
442
463
|
--#{$button}--disabled__icon--Color: var(--#{$button}--m-link--m-inline--disabled__icon--Color);
|
|
464
|
+
--#{$button}--m-link--Color: var(--#{$button}--m-link--m-inline--Color);
|
|
465
|
+
--#{$button}--m-link__icon--Color: var(--#{$button}--m-link--m-inline__icon--Color);
|
|
466
|
+
--#{$button}--TextDecorationColor: var(--#{$button}--m-link--m-inline--TextDecorationColor);
|
|
467
|
+
--#{$button}--hover--TextDecorationColor: var(--#{$button}--m-link--m-inline--hover--TextDecorationColor);
|
|
468
|
+
--#{$button}--m-link--hover--Color: var(--#{$button}--m-link--m-inline--hover--Color);
|
|
469
|
+
--#{$button}--m-link--hover__icon--Color: var(--#{$button}--m-link--m-inline--hover__icon--Color);
|
|
443
470
|
|
|
444
471
|
text-align: start;
|
|
445
472
|
white-space: normal;
|
|
@@ -614,6 +641,26 @@
|
|
|
614
641
|
--#{$button}--FontSize: var(--#{$button}--m-display-lg--FontSize);
|
|
615
642
|
}
|
|
616
643
|
|
|
644
|
+
// Favorite button icon will transition color
|
|
645
|
+
&.pf-m-favorite .#{$button}__icon {
|
|
646
|
+
transition-timing-function: var(--#{$button}--m-favorite__icon--TransitionTimingFunction);
|
|
647
|
+
transition-duration: var(--#{$button}--m-favorite__icon--TransitionDuration);
|
|
648
|
+
transition-property: color;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
// Favorite button when favorited
|
|
652
|
+
&.pf-m-favorited {
|
|
653
|
+
--#{$button}__icon--Color: var(--#{$button}--m-favorited__icon--Color);
|
|
654
|
+
--#{$button}--hover__icon--Color: var(--#{$button}--m-favorited--hover__icon--Color);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
// Favorite button will run an animation when favorited
|
|
658
|
+
&.pf-m-favorited .#{$button}__icon {
|
|
659
|
+
animation-name: #{$button}-icon-favorited;
|
|
660
|
+
animation-duration: var(--#{$button}--m-favorited__icon--AnimationDuration);
|
|
661
|
+
animation-timing-function: var(--#{$button}--m-favorited__icon--AnimationTimingFunction);
|
|
662
|
+
}
|
|
663
|
+
|
|
617
664
|
&:hover,
|
|
618
665
|
&:focus {
|
|
619
666
|
--#{$button}--Color: var(--#{$button}--hover--Color);
|
|
@@ -623,7 +670,9 @@
|
|
|
623
670
|
--#{$button}--m-plain--m-no-padding__icon--Color: var(--#{$button}--m-plain--m-no-padding--hover__icon--Color);
|
|
624
671
|
--#{$button}__icon--Color: var(--#{$button}--hover__icon--Color);
|
|
625
672
|
|
|
626
|
-
text-decoration: var(--#{$button}--hover--TextDecorationLine)
|
|
673
|
+
text-decoration-line: var(--#{$button}--hover--TextDecorationLine);
|
|
674
|
+
text-decoration-style: var(--#{$button}--hover--TextDecorationStyle);
|
|
675
|
+
text-decoration-color: var(--#{$button}--hover--TextDecorationColor);
|
|
627
676
|
}
|
|
628
677
|
|
|
629
678
|
&.pf-m-clicked {
|
|
@@ -645,6 +694,7 @@
|
|
|
645
694
|
&.pf-m-disabled,
|
|
646
695
|
&.pf-m-aria-disabled {
|
|
647
696
|
color: var(--#{$button}--disabled--Color);
|
|
697
|
+
text-decoration-color: var(--#{$button}--disabled--TextDecorationColor);
|
|
648
698
|
background-color: var(--#{$button}--disabled--BackgroundColor);
|
|
649
699
|
|
|
650
700
|
&::after {
|
|
@@ -685,6 +735,12 @@
|
|
|
685
735
|
}
|
|
686
736
|
}
|
|
687
737
|
}
|
|
738
|
+
|
|
739
|
+
&.pf-m-notify .#{$button}__icon {
|
|
740
|
+
animation-name: #{$button}-icon-notify;
|
|
741
|
+
animation-duration: var(--#{$button}--m-notify__icon--AnimationDuration--notify);
|
|
742
|
+
animation-timing-function: var(--#{$button}--m-notify__icon--AnimationTimingFunction--notify);
|
|
743
|
+
}
|
|
688
744
|
}
|
|
689
745
|
|
|
690
746
|
.#{$button}__icon {
|
|
@@ -718,3 +774,19 @@
|
|
|
718
774
|
display: inline-flex;
|
|
719
775
|
align-items: center;
|
|
720
776
|
}
|
|
777
|
+
|
|
778
|
+
@keyframes #{$button}-icon-notify {
|
|
779
|
+
33% {
|
|
780
|
+
transform: rotate(30deg);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
66% {
|
|
784
|
+
transform: rotate(-60deg);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
@keyframes #{$button}-icon-favorited {
|
|
789
|
+
50% {
|
|
790
|
+
transform: scale(1.5);
|
|
791
|
+
}
|
|
792
|
+
}
|
package/components/Card/card.css
CHANGED
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
--pf-v6-c-card__actions--Gap: var(--pf-t--global--spacer--gap--action-to-action--default);
|
|
24
24
|
--pf-v6-c-card__actions--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
25
25
|
--pf-v6-c-card__actions--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
26
|
+
--pf-v6-c-card__header--m-wrap--RowGap: var(--pf-t--global--spacer--sm);
|
|
27
|
+
--pf-v6-c-card__header--m-wrap--ColumnGap: var(--pf-t--global--spacer--md);
|
|
26
28
|
--pf-v6-c-card__header-toggle--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
27
29
|
--pf-v6-c-card__header-toggle--MarginInlineEnd: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
28
30
|
--pf-v6-c-card__header-toggle--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
@@ -186,6 +188,21 @@
|
|
|
186
188
|
.pf-v6-c-card__header.pf-m-toggle-right .pf-v6-c-card__header-toggle {
|
|
187
189
|
order: 2;
|
|
188
190
|
}
|
|
191
|
+
.pf-v6-c-card__header.pf-m-wrap {
|
|
192
|
+
--pf-v6-c-card__actions--PaddingInlineStart: 0;
|
|
193
|
+
gap: var(--pf-v6-c-card__header--m-wrap--RowGap) var(--pf-v6-c-card__header--m-wrap--ColumnGap);
|
|
194
|
+
}
|
|
195
|
+
.pf-v6-c-card__header.pf-m-wrap,
|
|
196
|
+
.pf-v6-c-card__header.pf-m-wrap .pf-v6-c-card__actions {
|
|
197
|
+
flex-wrap: wrap;
|
|
198
|
+
row-gap: var(--pf-v6-c-card__header--m-wrap--RowGap);
|
|
199
|
+
}
|
|
200
|
+
.pf-v6-c-card__header.pf-m-wrap .pf-v6-c-card__actions {
|
|
201
|
+
margin-inline-start: 0;
|
|
202
|
+
}
|
|
203
|
+
.pf-v6-c-card__header.pf-m-wrap .pf-v6-c-card__actions + * {
|
|
204
|
+
margin-inline-end: auto;
|
|
205
|
+
}
|
|
189
206
|
|
|
190
207
|
.pf-v6-c-card__header-main {
|
|
191
208
|
flex-grow: 1;
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
--#{$card}__actions--Gap: var(--pf-t--global--spacer--gap--action-to-action--default);
|
|
26
26
|
--#{$card}__actions--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
27
27
|
--#{$card}__actions--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
28
|
+
--#{$card}__header--m-wrap--RowGap: var(--pf-t--global--spacer--sm);
|
|
29
|
+
--#{$card}__header--m-wrap--ColumnGap: var(--pf-t--global--spacer--md);
|
|
28
30
|
|
|
29
31
|
// Expandable
|
|
30
32
|
--#{$card}__header-toggle--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
@@ -265,6 +267,26 @@
|
|
|
265
267
|
order: 2;
|
|
266
268
|
}
|
|
267
269
|
}
|
|
270
|
+
|
|
271
|
+
&.pf-m-wrap {
|
|
272
|
+
--pf-v6-c-card__actions--PaddingInlineStart: 0;
|
|
273
|
+
|
|
274
|
+
gap: var(--#{$card}__header--m-wrap--RowGap) var(--#{$card}__header--m-wrap--ColumnGap);
|
|
275
|
+
|
|
276
|
+
&,
|
|
277
|
+
.#{$card}__actions {
|
|
278
|
+
flex-wrap: wrap;
|
|
279
|
+
row-gap: var(--#{$card}__header--m-wrap--RowGap);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.#{$card}__actions {
|
|
283
|
+
+ * {
|
|
284
|
+
margin-inline-end: auto;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
margin-inline-start: 0
|
|
288
|
+
}
|
|
289
|
+
}
|
|
268
290
|
}
|
|
269
291
|
|
|
270
292
|
.#{$card}__header-main {
|
|
@@ -83,7 +83,8 @@
|
|
|
83
83
|
|
|
84
84
|
:is(.pf-v6-c-content--a, .pf-v6-c-content a) {
|
|
85
85
|
color: var(--pf-v6-c-content--a--Color);
|
|
86
|
-
text-decoration: var(--pf-v6-c-content--a--TextDecorationLine)
|
|
86
|
+
text-decoration-line: var(--pf-v6-c-content--a--TextDecorationLine);
|
|
87
|
+
text-decoration-style: var(--pf-v6-c-content--a--TextDecorationStyle);
|
|
87
88
|
}
|
|
88
89
|
:is(.pf-v6-c-content--a, .pf-v6-c-content a):is(:hover, :focus) {
|
|
89
90
|
--pf-v6-c-content--a--Color: var(--pf-v6-c-content--a--hover--Color);
|
|
@@ -119,7 +119,8 @@
|
|
|
119
119
|
& a
|
|
120
120
|
) {
|
|
121
121
|
color: var(--#{$content}--a--Color);
|
|
122
|
-
text-decoration: var(--#{$content}--a--TextDecorationLine)
|
|
122
|
+
text-decoration-line: var(--#{$content}--a--TextDecorationLine);
|
|
123
|
+
text-decoration-style: var(--#{$content}--a--TextDecorationStyle);
|
|
123
124
|
|
|
124
125
|
&:is(:hover, :focus) {
|
|
125
126
|
--#{$content}--a--Color: var(--#{$content}--a--hover--Color);
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--pf-v6-c-description-list__term--Display: inline;
|
|
15
15
|
--pf-v6-c-description-list__term--sm--Display: flex;
|
|
16
16
|
--pf-v6-c-description-list__term--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
17
|
-
--pf-v6-c-description-list__term--FontSize: var(--pf-t--global--font--size--body--
|
|
17
|
+
--pf-v6-c-description-list__term--FontSize: var(--pf-t--global--font--size--body--default);
|
|
18
18
|
--pf-v6-c-description-list__term--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
19
19
|
--pf-v6-c-description-list__term-icon--MinWidth: var(--pf-t--global--font--size--body--sm);
|
|
20
20
|
--pf-v6-c-description-list__term-icon--MarginInlineEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -196,7 +196,8 @@
|
|
|
196
196
|
min-width: 0;
|
|
197
197
|
}
|
|
198
198
|
.pf-v6-c-description-list__text.pf-m-help-text {
|
|
199
|
-
text-decoration: var(--pf-v6-c-description-list__text--m-help-text--TextDecorationLine)
|
|
199
|
+
text-decoration-line: var(--pf-v6-c-description-list__text--m-help-text--TextDecorationLine);
|
|
200
|
+
text-decoration-style: var(--pf-v6-c-description-list__text--m-help-text--TextDecorationStyle);
|
|
200
201
|
text-underline-offset: var(--pf-v6-c-description-list__text--m-help-text--TextUnderlineOffset);
|
|
201
202
|
cursor: pointer;
|
|
202
203
|
}
|
|
@@ -24,7 +24,7 @@ $pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "m
|
|
|
24
24
|
--#{$description-list}__term--Display: inline;
|
|
25
25
|
--#{$description-list}__term--sm--Display: flex;
|
|
26
26
|
--#{$description-list}__term--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
27
|
-
--#{$description-list}__term--FontSize: var(--pf-t--global--font--size--body--
|
|
27
|
+
--#{$description-list}__term--FontSize: var(--pf-t--global--font--size--body--default);
|
|
28
28
|
--#{$description-list}__term--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
29
29
|
|
|
30
30
|
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
@@ -179,7 +179,8 @@ $pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "m
|
|
|
179
179
|
min-width: 0; // this allows overflow-wrap to work
|
|
180
180
|
|
|
181
181
|
&.pf-m-help-text {
|
|
182
|
-
text-decoration: var(--#{$description-list}__text--m-help-text--TextDecorationLine)
|
|
182
|
+
text-decoration-line: var(--#{$description-list}__text--m-help-text--TextDecorationLine);
|
|
183
|
+
text-decoration-style: var(--#{$description-list}__text--m-help-text--TextDecorationStyle);
|
|
183
184
|
text-underline-offset: var(--#{$description-list}__text--m-help-text--TextUnderlineOffset);
|
|
184
185
|
cursor: pointer;
|
|
185
186
|
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
--pf-v6-c-drawer__panel--RowGap: var(--pf-t--global--spacer--sm);
|
|
16
16
|
--pf-v6-c-drawer__panel--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
17
17
|
--pf-v6-c-drawer__panel--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
18
|
-
--pf-v6-c-drawer__panel--
|
|
18
|
+
--pf-v6-c-drawer__panel--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
19
|
+
--pf-v6-c-drawer__panel--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--short);
|
|
19
20
|
--pf-v6-c-drawer__panel--TransitionProperty: margin, transform, box-shadow, flex-basis;
|
|
20
21
|
--pf-v6-c-drawer__panel--FlexBasis: 100%;
|
|
21
22
|
--pf-v6-c-drawer__panel--md--FlexBasis--min: 1.5rem;
|
|
@@ -229,6 +230,7 @@
|
|
|
229
230
|
overflow: auto;
|
|
230
231
|
background-color: var(--pf-v6-c-drawer__panel--BackgroundColor);
|
|
231
232
|
box-shadow: var(--pf-v6-c-drawer__panel--BoxShadow);
|
|
233
|
+
transition-timing-function: var(--pf-v6-c-drawer__panel--TransitionTimingFunction);
|
|
232
234
|
transition-duration: var(--pf-v6-c-drawer__panel--TransitionDuration);
|
|
233
235
|
transition-property: var(--pf-v6-c-drawer__panel--TransitionProperty);
|
|
234
236
|
-webkit-overflow-scrolling: touch;
|
|
@@ -27,7 +27,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
27
27
|
--#{$drawer}__panel--RowGap: var(--pf-t--global--spacer--sm);
|
|
28
28
|
--#{$drawer}__panel--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
29
29
|
--#{$drawer}__panel--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
30
|
-
--#{$drawer}__panel--
|
|
30
|
+
--#{$drawer}__panel--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
31
|
+
--#{$drawer}__panel--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--short);
|
|
31
32
|
--#{$drawer}__panel--TransitionProperty: margin, transform, box-shadow, flex-basis;
|
|
32
33
|
--#{$drawer}__panel--FlexBasis: 100%;
|
|
33
34
|
--#{$drawer}__panel--md--FlexBasis--min: #{pf-size-prem(24px)};
|
|
@@ -298,6 +299,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
298
299
|
overflow: auto;
|
|
299
300
|
background-color: var(--#{$drawer}__panel--BackgroundColor);
|
|
300
301
|
box-shadow: var(--#{$drawer}__panel--BoxShadow);
|
|
302
|
+
transition-timing-function: var(--#{$drawer}__panel--TransitionTimingFunction);
|
|
301
303
|
transition-duration: var(--#{$drawer}__panel--TransitionDuration);
|
|
302
304
|
transition-property: var(--#{$drawer}__panel--TransitionProperty);
|
|
303
305
|
-webkit-overflow-scrolling: touch;
|
package/components/Form/form.css
CHANGED
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
--pf-v6-c-form__group-label--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
11
11
|
--pf-v6-c-form--m-horizontal__group-label--m-no-padding--md--PaddingBlockStart: 0;
|
|
12
12
|
--pf-v6-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY: calc(((((var(--pf-t--global--font--size--body--sm) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--sm)) / 2) + var(--pf-t--global--font--size--body--sm)) - ((((var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--default)) / 2) + var(--pf-t--global--font--size--body--default)));
|
|
13
|
-
--pf-v6-c-form__label--FontSize: var(--pf-t--global--font--size--body--
|
|
13
|
+
--pf-v6-c-form__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
14
14
|
--pf-v6-c-form__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
15
15
|
--pf-v6-c-form__label--m-disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
16
16
|
--pf-v6-c-form__label--hover--Cursor: pointer;
|
|
17
17
|
--pf-v6-c-form__label--m-disabled--hover--Cursor: not-allowed;
|
|
18
18
|
--pf-v6-c-form__label-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
19
19
|
--pf-v6-c-form__label-required--MarginInlineStart: var(--pf-t--global--spacer--xs);
|
|
20
|
-
--pf-v6-c-form__label-required--FontSize: var(--pf-t--global--font--size--body--
|
|
20
|
+
--pf-v6-c-form__label-required--FontSize: var(--pf-t--global--font--size--body--default);
|
|
21
21
|
--pf-v6-c-form__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
22
|
-
--pf-v6-c-form__group-label-help--FontSize: var(--pf-t--global--font--size--body--
|
|
22
|
+
--pf-v6-c-form__group-label-help--FontSize: var(--pf-t--global--font--size--body--default);
|
|
23
23
|
--pf-v6-c-form__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--horizontal);
|
|
24
24
|
--pf-v6-c-form__group-label-info--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
25
25
|
--pf-v6-c-form--m-horizontal__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
@@ -333,9 +333,6 @@
|
|
|
333
333
|
font-size: var(--pf-v6-c-form__label--FontSize);
|
|
334
334
|
line-height: var(--pf-v6-c-form__label--LineHeight);
|
|
335
335
|
}
|
|
336
|
-
.pf-v6-c-form__label::selection {
|
|
337
|
-
background-color: none;
|
|
338
|
-
}
|
|
339
336
|
.pf-v6-c-form__label:not(.pf-m-disabled):hover {
|
|
340
337
|
cursor: var(--pf-v6-c-form__label--hover--Cursor);
|
|
341
338
|
}
|
|
@@ -67,7 +67,7 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
67
67
|
--#{$form}--m-horizontal__group-label--m-no-padding--md--TranslateY: calc(((((var(--pf-t--global--font--size--body--sm) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--sm)) / 2) + var(--pf-t--global--font--size--body--sm)) - ((((var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--default)) / 2) + var(--pf-t--global--font--size--body--default)));
|
|
68
68
|
|
|
69
69
|
// Label
|
|
70
|
-
--#{$form}__label--FontSize: var(--pf-t--global--font--size--body--
|
|
70
|
+
--#{$form}__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
71
71
|
--#{$form}__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
72
72
|
--#{$form}__label--m-disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
73
73
|
--#{$form}__label--hover--Cursor: pointer;
|
|
@@ -78,11 +78,11 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
78
78
|
|
|
79
79
|
// Required labels
|
|
80
80
|
--#{$form}__label-required--MarginInlineStart: var(--pf-t--global--spacer--xs);
|
|
81
|
-
--#{$form}__label-required--FontSize: var(--pf-t--global--font--size--body--
|
|
81
|
+
--#{$form}__label-required--FontSize: var(--pf-t--global--font--size--body--default);
|
|
82
82
|
--#{$form}__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
83
83
|
|
|
84
84
|
// Field level help
|
|
85
|
-
--#{$form}__group-label-help--FontSize: var(--pf-t--global--font--size--body--
|
|
85
|
+
--#{$form}__group-label-help--FontSize: var(--pf-t--global--font--size--body--default);
|
|
86
86
|
|
|
87
87
|
// Form group label info
|
|
88
88
|
--#{$form}__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--horizontal);
|
|
@@ -261,10 +261,6 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
261
261
|
font-size: var(--#{$form}__label--FontSize);
|
|
262
262
|
line-height: var(--#{$form}__label--LineHeight);
|
|
263
263
|
|
|
264
|
-
&::selection {
|
|
265
|
-
background-color: none;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
264
|
&:not(.pf-m-disabled):hover {
|
|
269
265
|
cursor: var(--#{$form}__label--hover--Cursor);
|
|
270
266
|
}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
--pf-v6-c-helper-text__item-text--m-success--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
13
13
|
--pf-v6-c-helper-text__item-icon--m-error--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
14
14
|
--pf-v6-c-helper-text__item-text--m-error--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
15
|
+
--pf-v6-c-helper-text__item--m-error--TransitionDuration--Opacity: var(--pf-t--global--motion--duration--fade--default);
|
|
16
|
+
--pf-v6-c-helper-text__item--m-error--TransitionTimingFunction--Opacity: var(--pf-t--global--motion--timing-function--default);
|
|
15
17
|
--pf-v6-c-helper-text--m-dynamic__item-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
16
18
|
--pf-v6-c-helper-text--m-dynamic--m-indeterminate__item-icon--Color: var(--pf-t--global--icon--color--subtle);
|
|
17
19
|
--pf-v6-c-helper-text--m-dynamic--m-indeterminate__item-text--Color: var(--pf-t--global--text--color--subtle);
|
|
@@ -56,6 +58,17 @@
|
|
|
56
58
|
--pf-v6-c-helper-text__item-text--FontWeight: var(--pf-v6-c-helper-text__item-text--m-error--FontWeight);
|
|
57
59
|
--pf-v6-c-helper-text__item-icon--Color: var(--pf-v6-c-helper-text__item-icon--m-error--Color);
|
|
58
60
|
--pf-v6-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v6-c-helper-text--m-dynamic--m-error__item-icon--Color);
|
|
61
|
+
animation-name: --pf-v6-c-helper-text-item-fade-in;
|
|
62
|
+
animation-duration: var(--pf-v6-c-helper-text__item--m-error--TransitionDuration--Opacity);
|
|
63
|
+
animation-timing-function: var(--pf-v6-c-helper-text__item--m-error--TransitionTimingFunction--Opacity);
|
|
64
|
+
}
|
|
65
|
+
@keyframes --pf-v6-c-helper-text-item-fade-in {
|
|
66
|
+
from {
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
to {
|
|
70
|
+
opacity: 1;
|
|
71
|
+
}
|
|
59
72
|
}
|
|
60
73
|
.pf-v6-c-helper-text__item.pf-m-dynamic {
|
|
61
74
|
--pf-v6-c-helper-text__item-icon--Color: var(--pf-v6-c-helper-text--m-dynamic__item-icon--Color);
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
--#{$helper-text}__item-text--m-success--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
17
17
|
--#{$helper-text}__item-icon--m-error--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
18
18
|
--#{$helper-text}__item-text--m-error--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
19
|
+
--#{$helper-text}__item--m-error--TransitionDuration--Opacity: var(--pf-t--global--motion--duration--fade--default);
|
|
20
|
+
--#{$helper-text}__item--m-error--TransitionTimingFunction--Opacity: var(--pf-t--global--motion--timing-function--default);
|
|
19
21
|
|
|
20
22
|
// dynamic
|
|
21
23
|
--#{$helper-text}--m-dynamic__item-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
@@ -71,6 +73,20 @@
|
|
|
71
73
|
--#{$helper-text}__item-text--FontWeight: var(--#{$helper-text}__item-text--m-error--FontWeight);
|
|
72
74
|
--#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-error--Color);
|
|
73
75
|
--#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-error__item-icon--Color);
|
|
76
|
+
|
|
77
|
+
animation-name: --#{$helper-text}-item-fade-in;
|
|
78
|
+
animation-duration: var(--#{$helper-text}__item--m-error--TransitionDuration--Opacity);
|
|
79
|
+
animation-timing-function: var(--#{$helper-text}__item--m-error--TransitionTimingFunction--Opacity);
|
|
80
|
+
|
|
81
|
+
@keyframes --#{$helper-text}-item-fade-in {
|
|
82
|
+
from {
|
|
83
|
+
opacity: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
to {
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
74
90
|
}
|
|
75
91
|
|
|
76
92
|
&.pf-m-dynamic {
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
padding-block-end: var(--pf-v6-c-jump-links__link--PaddingBlockEnd);
|
|
187
187
|
padding-inline-start: var(--pf-v6-c-jump-links__link--PaddingInlineStart);
|
|
188
188
|
padding-inline-end: var(--pf-v6-c-jump-links__link--PaddingInlineEnd);
|
|
189
|
-
text-decoration: none;
|
|
189
|
+
text-decoration-line: none;
|
|
190
190
|
outline-offset: var(--pf-v6-c-jump-links__link--OutlineOffset);
|
|
191
191
|
}
|
|
192
192
|
.pf-v6-c-jump-links__link:is(:hover, :focus) {
|
|
@@ -160,7 +160,7 @@ $pf-v6-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
|
|
|
160
160
|
padding-block-end: var(--#{$jump-links}__link--PaddingBlockEnd);
|
|
161
161
|
padding-inline-start: var(--#{$jump-links}__link--PaddingInlineStart);
|
|
162
162
|
padding-inline-end: var(--#{$jump-links}__link--PaddingInlineEnd);
|
|
163
|
-
text-decoration: none;
|
|
163
|
+
text-decoration-line: none;
|
|
164
164
|
outline-offset: var(--#{$jump-links}__link--OutlineOffset);
|
|
165
165
|
|
|
166
166
|
&:is(:hover, :focus) {
|
|
@@ -381,7 +381,8 @@
|
|
|
381
381
|
--pf-v6-c-label--m-editable--TextDecorationStyle: var(--pf-v6-c-label--m-editable--hover--TextDecorationStyle);
|
|
382
382
|
}
|
|
383
383
|
.pf-v6-c-label.pf-m-editable .pf-v6-c-label__text {
|
|
384
|
-
text-decoration: var(--pf-v6-c-label--m-editable--TextDecorationLine)
|
|
384
|
+
text-decoration-line: var(--pf-v6-c-label--m-editable--TextDecorationLine);
|
|
385
|
+
text-decoration-style: var(--pf-v6-c-label--m-editable--TextDecorationStyle);
|
|
385
386
|
text-underline-offset: var(--pf-v6-c-label--m-editable--TextUnderlineOffset);
|
|
386
387
|
}
|
|
387
388
|
.pf-v6-c-label.pf-m-editable-active {
|
|
@@ -414,7 +415,7 @@
|
|
|
414
415
|
--pf-v6-c-label__content--Cursor: var(--pf-v6-c-label--m-clickable__content--Cursor);
|
|
415
416
|
}
|
|
416
417
|
.pf-v6-c-label.pf-m-clickable .pf-v6-c-label__content, .pf-v6-c-label.pf-m-clickable .pf-v6-c-label__content:is(:hover, :focus) {
|
|
417
|
-
text-decoration: none;
|
|
418
|
+
text-decoration-line: none;
|
|
418
419
|
}
|
|
419
420
|
.pf-v6-c-label.pf-m-clickable .pf-v6-c-label__content:is(:hover, :focus) {
|
|
420
421
|
--pf-v6-c-label--Color: var(--pf-v6-c-label--m-clickable--hover--Color);
|
|
@@ -458,7 +458,8 @@
|
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
.#{$label}__text {
|
|
461
|
-
text-decoration: var(--#{$label}--m-editable--TextDecorationLine)
|
|
461
|
+
text-decoration-line: var(--#{$label}--m-editable--TextDecorationLine);
|
|
462
|
+
text-decoration-style: var(--#{$label}--m-editable--TextDecorationStyle);
|
|
462
463
|
text-underline-offset: var(--#{$label}--m-editable--TextUnderlineOffset);
|
|
463
464
|
}
|
|
464
465
|
}
|
|
@@ -500,7 +501,7 @@
|
|
|
500
501
|
.#{$label}__content {
|
|
501
502
|
&,
|
|
502
503
|
&:is(:hover, :focus) {
|
|
503
|
-
text-decoration: none;
|
|
504
|
+
text-decoration-line: none;
|
|
504
505
|
}
|
|
505
506
|
|
|
506
507
|
&:is(:hover, :focus) {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
grid-column-end: -1;
|
|
186
186
|
row-gap: var(--pf-v6-c-masthead__content-RowGap, var(--pf-v6-c-masthead--RowGap));
|
|
187
187
|
column-gap: var(--pf-v6-c-masthead__content--ColumnGap, var(--pf-v6-c-masthead--ColumnGap));
|
|
188
|
-
align-self:
|
|
188
|
+
align-self: center;
|
|
189
189
|
order: var(--pf-v6-c-masthead__content--Order);
|
|
190
190
|
min-width: 0.25rem;
|
|
191
191
|
}
|
|
@@ -199,7 +199,7 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
199
199
|
grid-column-end: -1; // force content to right edge or full available width
|
|
200
200
|
row-gap: var(--#{$masthead}__content-RowGap, var(--#{$masthead}--RowGap));
|
|
201
201
|
column-gap: var(--#{$masthead}__content--ColumnGap, var(--#{$masthead}--ColumnGap));
|
|
202
|
-
align-self:
|
|
202
|
+
align-self: center;
|
|
203
203
|
order: var(--#{$masthead}__content--Order);
|
|
204
204
|
min-width: #{pf-size-prem(4ch)}; // allow flex containers to shrink to fit possible overflow
|
|
205
205
|
}
|
package/components/Menu/menu.css
CHANGED
|
@@ -177,11 +177,20 @@
|
|
|
177
177
|
.pf-v6-c-menu__item-action:is(.pf-m-disabled, :disabled, .pf-m-aria-disabled, [aria-disabled=true]) {
|
|
178
178
|
--pf-v6-c-menu__item--Color: var(--pf-v6-c-menu__item--m-disabled--Color);
|
|
179
179
|
--pf-v6-c-menu__item-toggle-icon--Color: var(--pf-v6-c-menu--icon--disabled--Color);
|
|
180
|
-
--pf-v6-c-menu__item-external
|
|
180
|
+
--pf-v6-c-menu__item-external--Color: transparent;
|
|
181
|
+
--pf-v6-c-menu__item-select-icon--Color: transparent;
|
|
181
182
|
--pf-v6-c-menu__item-description--Color: var(--pf-v6-c-menu--icon--disabled--Color);
|
|
182
183
|
--pf-v6-c-menu__list-item--BackgroundColor: transparent;
|
|
184
|
+
--pf-v6-c-menu__list-item--hover--BackgroundColor: transparent;
|
|
185
|
+
}
|
|
186
|
+
.pf-v6-c-menu__list-item:is(.pf-m-disabled, :disabled),
|
|
187
|
+
.pf-v6-c-menu__item-action:is(.pf-m-disabled, :disabled) {
|
|
183
188
|
pointer-events: none;
|
|
184
189
|
}
|
|
190
|
+
.pf-v6-c-menu__list-item.pf-m-aria-disabled .pf-v6-c-menu__item,
|
|
191
|
+
.pf-v6-c-menu__item-action.pf-m-aria-disabled .pf-v6-c-menu__item {
|
|
192
|
+
cursor: default;
|
|
193
|
+
}
|
|
185
194
|
|
|
186
195
|
[class*=pf-v6-c-menu]:is([hidden]) {
|
|
187
196
|
display: none;
|
|
@@ -325,7 +334,6 @@
|
|
|
325
334
|
z-index: var(--pf-v6-c-menu--ZIndex);
|
|
326
335
|
margin-block-start: calc(var(--pf-v6-c-menu--RowGap) * -1);
|
|
327
336
|
margin-block-end: calc(var(--pf-v6-c-menu--RowGap) * -1);
|
|
328
|
-
overflow: hidden;
|
|
329
337
|
}
|
|
330
338
|
.pf-v6-c-menu.pf-m-scrollable .pf-v6-c-menu__list {
|
|
331
339
|
padding-block-start: var(--pf-v6-c-menu--RowGap);
|
|
@@ -429,7 +437,7 @@
|
|
|
429
437
|
line-height: var(--pf-v6-c-menu__item--LineHeight);
|
|
430
438
|
color: var(--pf-v6-c-menu__item--Color);
|
|
431
439
|
text-align: start;
|
|
432
|
-
text-decoration: none;
|
|
440
|
+
text-decoration-line: none;
|
|
433
441
|
background-color: var(--pf-v6-c-menu__item--BackgroundColor);
|
|
434
442
|
border: 0;
|
|
435
443
|
outline-offset: var(--pf-v6-c-menu--OutlineOffset);
|
|
@@ -549,16 +557,16 @@
|
|
|
549
557
|
opacity: 0;
|
|
550
558
|
}
|
|
551
559
|
|
|
552
|
-
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button,
|
|
560
|
+
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited),
|
|
553
561
|
.pf-v6-c-menu__item-action.pf-m-favorited,
|
|
554
562
|
.pf-v6-c-menu__item-action.pf-m-favorited:hover,
|
|
555
|
-
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button {
|
|
563
|
+
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited) {
|
|
556
564
|
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-menu__item-action--m-favorited--Color);
|
|
557
565
|
}
|
|
558
|
-
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:is(:hover, :focus),
|
|
566
|
+
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus),
|
|
559
567
|
.pf-v6-c-menu__item-action.pf-m-favorited:is(:hover, :focus),
|
|
560
568
|
.pf-v6-c-menu__item-action.pf-m-favorited:hover:is(:hover, :focus),
|
|
561
|
-
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:is(:hover, :focus) {
|
|
569
|
+
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus) {
|
|
562
570
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-menu__item-action--m-favorited--Color);
|
|
563
571
|
}
|
|
564
572
|
|