@patternfly/react-styles 6.0.0-alpha.7 → 6.0.0-alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/css/components/Button/button.css +33 -13
- package/css/components/Card/card.css +97 -194
- package/css/components/Card/card.d.ts +3 -9
- package/css/components/Card/card.js +3 -9
- package/css/components/Card/card.mjs +3 -9
- package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
- package/css/components/CodeBlock/code-block.css +18 -9
- package/css/components/DescriptionList/description-list.css +39 -34
- package/css/components/DragDrop/drag-drop.css +18 -14
- package/css/components/DragDrop/drag-drop.d.ts +1 -2
- package/css/components/DragDrop/drag-drop.js +1 -2
- package/css/components/DragDrop/drag-drop.mjs +1 -2
- package/css/components/Drawer/drawer.css +113 -113
- package/css/components/Drawer/drawer.d.ts +3 -3
- package/css/components/Drawer/drawer.js +3 -3
- package/css/components/Drawer/drawer.mjs +3 -3
- package/css/components/FileUpload/file-upload.css +28 -34
- package/css/components/FormControl/form-control.css +3 -3
- package/css/components/Icon/icon.css +154 -18
- package/css/components/Icon/icon.d.ts +11 -0
- package/css/components/Icon/icon.js +11 -0
- package/css/components/Icon/icon.mjs +11 -0
- package/css/components/InlineEdit/inline-edit.css +3 -2
- package/css/components/InputGroup/input-group.css +22 -38
- package/css/components/InputGroup/input-group.d.ts +1 -2
- package/css/components/InputGroup/input-group.js +1 -2
- package/css/components/InputGroup/input-group.mjs +1 -2
- package/css/components/JumpLinks/jump-links.css +34 -34
- package/css/components/Label/label-group.css +39 -44
- package/css/components/Label/label.css +258 -355
- package/css/components/Label/label.d.ts +11 -10
- package/css/components/Label/label.js +11 -10
- package/css/components/Label/label.mjs +11 -10
- package/css/components/NumberInput/number-input.css +8 -8
- package/css/components/NumberInput/number-input.d.ts +0 -3
- package/css/components/NumberInput/number-input.js +0 -3
- package/css/components/NumberInput/number-input.mjs +0 -3
- package/css/components/Sidebar/sidebar.css +20 -9
- package/css/components/Sidebar/sidebar.d.ts +1 -0
- package/css/components/Sidebar/sidebar.js +1 -0
- package/css/components/Sidebar/sidebar.mjs +1 -0
- package/css/components/SimpleList/simple-list.css +1 -1
- package/css/components/Tile/tile.css +40 -81
- package/css/components/Tile/tile.d.ts +0 -1
- package/css/components/Tile/tile.js +0 -1
- package/css/components/Tile/tile.mjs +0 -1
- package/css/components/ToggleGroup/toggle-group.css +34 -47
- package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
- package/css/components/ToggleGroup/toggle-group.js +0 -1
- package/css/components/ToggleGroup/toggle-group.mjs +0 -1
- package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/css/docs/components/Label/examples/Label.css +4 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# 6.0.0-alpha.8 (2024-01-18)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @patternfly/react-styles
|
9
|
+
|
6
10
|
# 6.0.0-alpha.7 (2024-01-16)
|
7
11
|
|
8
12
|
### Features
|
@@ -1,5 +1,6 @@
|
|
1
|
-
:root,
|
2
|
-
.pf-v5-c-button {
|
1
|
+
:where(:root),
|
2
|
+
:where(.pf-v5-c-button) {
|
3
|
+
--pf-v5-c-button--Display: inline-block;
|
3
4
|
--pf-v5-c-button--PaddingTop: var(--pf-t--global--spacer--sm);
|
4
5
|
--pf-v5-c-button--PaddingRight: var(--pf-t--global--spacer--lg);
|
5
6
|
--pf-v5-c-button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
@@ -17,6 +18,7 @@
|
|
17
18
|
--pf-v5-c-button--BorderStartEndRadius: var(--pf-v5-c-button--BorderRadius);
|
18
19
|
--pf-v5-c-button--BorderEndStartRadius: var(--pf-v5-c-button--BorderRadius);
|
19
20
|
--pf-v5-c-button--BorderEndEndRadius: var(--pf-v5-c-button--BorderRadius);
|
21
|
+
--pf-v5-c-button--MixBlendMode: normal;
|
20
22
|
--pf-v5-c-button--hover--BackgroundColor: transparent;
|
21
23
|
--pf-v5-c-button--hover--BorderColor: transparent;
|
22
24
|
--pf-v5-c-button--hover--BorderWidth: var(--pf-t--global--border--width--button--hover);
|
@@ -65,6 +67,7 @@
|
|
65
67
|
--pf-v5-c-button--m-link--PaddingLeft: var(--pf-t--global--spacer--md);
|
66
68
|
--pf-v5-c-button--m-link--Color: var(--pf-t--global--text--color--brand--default);
|
67
69
|
--pf-v5-c-button--m-link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
70
|
+
--pf-v5-c-button--m-link--MixBlendMode: var(--pf-t--global--background--color--action--plain--hover--blend);
|
68
71
|
--pf-v5-c-button--m-link__icon--Color: var(--pf-t--global--icon--color--brand--default);
|
69
72
|
--pf-v5-c-button--m-link--hover--Color: var(--pf-t--global--text--color--brand--hover);
|
70
73
|
--pf-v5-c-button--m-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
@@ -95,20 +98,29 @@
|
|
95
98
|
--pf-v5-c-button--m-plain--PaddingRight: var(--pf-t--global--spacer--sm);
|
96
99
|
--pf-v5-c-button--m-plain--PaddingBottom: var(--pf-t--global--spacer--sm);
|
97
100
|
--pf-v5-c-button--m-plain--PaddingLeft: var(--pf-t--global--spacer--sm);
|
98
|
-
--pf-v5-c-button--m-plain--m-small--PaddingTop: var(--pf-t--global--spacer--xs);
|
99
|
-
--pf-v5-c-button--m-plain--m-small--PaddingRight: var(--pf-t--global--spacer--xs);
|
100
|
-
--pf-v5-c-button--m-plain--m-small--PaddingBottom: var(--pf-t--global--spacer--xs);
|
101
|
-
--pf-v5-c-button--m-plain--m-small--PaddingLeft: var(--pf-t--global--spacer--xs);
|
102
101
|
--pf-v5-c-button--m-plain--Color: var(--pf-t--global--icon--color--regular);
|
103
102
|
--pf-v5-c-button--m-plain--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
103
|
+
--pf-v5-c-button--m-plain--MixBlendMode: var(--pf-t--global--background--color--action--plain--hover--blend);
|
104
|
+
--pf-v5-c-button--m-plain--MinWidth: calc(1em * var(--pf-v5-c-button--LineHeight) + var(--pf-v5-c-button--m-plain--PaddingTop) + var(--pf-v5-c-button--m-plain--PaddingBottom));
|
104
105
|
--pf-v5-c-button--m-plain--hover--Color: var(--pf-t--global--icon--color--regular);
|
105
106
|
--pf-v5-c-button--m-plain--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
106
107
|
--pf-v5-c-button--m-plain--m-clicked--Color: var(--pf-t--global--icon--color--regular);
|
107
108
|
--pf-v5-c-button--m-plain--m-clicked--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
108
109
|
--pf-v5-c-button--m-plain--disabled--Color: var(--pf-t--global--icon--color--on-disabled);
|
110
|
+
--pf-v5-c-button--m-plain--m-small--PaddingTop: var(--pf-t--global--spacer--xs);
|
111
|
+
--pf-v5-c-button--m-plain--m-small--PaddingRight: var(--pf-t--global--spacer--xs);
|
112
|
+
--pf-v5-c-button--m-plain--m-small--PaddingBottom: var(--pf-t--global--spacer--xs);
|
113
|
+
--pf-v5-c-button--m-plain--m-small--PaddingLeft: var(--pf-t--global--spacer--xs);
|
114
|
+
--pf-v5-c-button--m-plain--m-no-padding--MixBlendMode: normal;
|
115
|
+
--pf-v5-c-button--m-plain--m-no-padding--MinWidth: auto;
|
116
|
+
--pf-v5-c-button--m-plain--m-no-padding--PaddingTop: 0;
|
117
|
+
--pf-v5-c-button--m-plain--m-no-padding--PaddingRight: 0;
|
118
|
+
--pf-v5-c-button--m-plain--m-no-padding--PaddingBottom: 0;
|
119
|
+
--pf-v5-c-button--m-plain--m-no-padding--PaddingLeft: 0;
|
120
|
+
--pf-v5-c-button--m-plain--m-no-padding--BackgroundColor: transparent;
|
121
|
+
--pf-v5-c-button--m-plain--m-no-padding--hover--BackgroundColor: transparent;
|
122
|
+
--pf-v5-c-button--m-plain--m-no-padding--m-clicked--BackgroundColor: transparent;
|
109
123
|
--pf-v5-c-button__progress--Color: var(--pf-v5-c-button__icon--Color);
|
110
|
-
--pf-v5-c-button--m-plain--MixBlendMode: var(--pf-t--global--background--color--action--plain--hover--blend);
|
111
|
-
--pf-v5-c-button--m-plain--MinWidth: calc(1em * var(--pf-v5-c-button--LineHeight) + var(--pf-v5-c-button--m-plain--PaddingTop) + var(--pf-v5-c-button--m-plain--PaddingBottom));
|
112
124
|
--pf-v5-c-button--m-control--BorderRadius: var(--pf-t--global--border--radius--small);
|
113
125
|
--pf-v5-c-button--m-control--PaddingLeft: var(--pf-t--global--spacer--md);
|
114
126
|
--pf-v5-c-button--m-control--PaddingRight: var(--pf-t--global--spacer--md);
|
@@ -216,7 +228,7 @@
|
|
216
228
|
|
217
229
|
.pf-v5-c-button {
|
218
230
|
position: relative;
|
219
|
-
display: var(--pf-v5-c-button--Display
|
231
|
+
display: var(--pf-v5-c-button--Display);
|
220
232
|
flex: var(--pf-v5-c-button--Flex, initial);
|
221
233
|
align-items: var(--pf-v5-c-button--AlignItems, initial);
|
222
234
|
justify-content: var(--pf-v5-c-button--JustifyContent, initial);
|
@@ -239,6 +251,7 @@
|
|
239
251
|
border-start-end-radius: var(--pf-v5-c-button--BorderStartEndRadius);
|
240
252
|
border-end-start-radius: var(--pf-v5-c-button--BorderEndStartRadius);
|
241
253
|
border-end-end-radius: var(--pf-v5-c-button--BorderEndEndRadius);
|
254
|
+
mix-blend-mode: var(--pf-v5-c-button--MixBlendMode);
|
242
255
|
}
|
243
256
|
.pf-v5-c-button::after {
|
244
257
|
position: absolute;
|
@@ -305,6 +318,7 @@
|
|
305
318
|
--pf-v5-c-button--Color: var(--pf-v5-c-button--m-link--Color);
|
306
319
|
--pf-v5-c-button--BorderRadius: var(--pf-v5-c-button--m-link--BorderRadius);
|
307
320
|
--pf-v5-c-button--BackgroundColor: var(--pf-v5-c-button--m-link--BackgroundColor);
|
321
|
+
--pf-v5-c-button--MixBlendMode: var(--pf-v5-c-button--m-link--MixBlendMode);
|
308
322
|
--pf-v5-c-button__icon--Color: var(--pf-v5-c-button--m-link__icon--Color);
|
309
323
|
--pf-v5-c-button--hover--Color: var(--pf-v5-c-button--m-link--hover--Color);
|
310
324
|
--pf-v5-c-button--hover--BackgroundColor: var(--pf-v5-c-button--m-link--hover--BackgroundColor);
|
@@ -430,6 +444,7 @@
|
|
430
444
|
--pf-v5-c-button--PaddingRight: var(--pf-v5-c-button--m-plain--PaddingRight);
|
431
445
|
--pf-v5-c-button--PaddingBottom: var(--pf-v5-c-button--m-plain--PaddingBottom);
|
432
446
|
--pf-v5-c-button--PaddingLeft: var(--pf-v5-c-button--m-plain--PaddingLeft);
|
447
|
+
--pf-v5-c-button--MixBlendMode: var(--pf-v5-c-button--m-plain--MixBlendMode);
|
433
448
|
--pf-v5-c-button--m-small--PaddingTop: var(--pf-v5-c-button--m-plain--m-small--PaddingTop);
|
434
449
|
--pf-v5-c-button--m-small--PaddingRight: var(--pf-v5-c-button--m-plain--m-small--PaddingRight);
|
435
450
|
--pf-v5-c-button--m-small--PaddingBottom: var(--pf-v5-c-button--m-plain--m-small--PaddingBottom);
|
@@ -444,12 +459,17 @@
|
|
444
459
|
--pf-v5-c-button--disabled--Color: var(--pf-v5-c-button--m-plain--disabled--Color);
|
445
460
|
--pf-v5-c-button__progress--Color: var(--pf-v5-c-button--m-in-progress--m-plain--Color);
|
446
461
|
min-width: var(--pf-v5-c-button--m-plain--MinWidth);
|
447
|
-
mix-blend-mode: var(--pf-v5-c-button--m-plain--MixBlendMode);
|
448
462
|
}
|
449
463
|
.pf-v5-c-button.pf-m-plain.pf-m-no-padding {
|
450
|
-
|
451
|
-
|
452
|
-
|
464
|
+
--pf-v5-c-button--BackgroundColor: var(--pf-v5-c-button--m-plain--m-no-padding--BackgroundColor);
|
465
|
+
--pf-v5-c-button--hover--BackgroundColor: var(--pf-v5-c-button--m-plain--m-no-padding--hover--BackgroundColor);
|
466
|
+
--pf-v5-c-button--m-clicked--BackgroundColor: var(--pf-v5-c-button--m-plain--m-no-padding--m-clicked--BackgroundColor);
|
467
|
+
--pf-v5-c-button--m-plain--PaddingTop: var(--pf-v5-c-button--m-plain--m-no-padding--PaddingTop);
|
468
|
+
--pf-v5-c-button--m-plain--PaddingRight: var(--pf-v5-c-button--m-plain--m-no-padding--PaddingRight);
|
469
|
+
--pf-v5-c-button--m-plain--PaddingBottom: var(--pf-v5-c-button--m-plain--m-no-padding--PaddingBottom);
|
470
|
+
--pf-v5-c-button--m-plain--PaddingLeft: var(--pf-v5-c-button--m-plain--m-no-padding--PaddingLeft);
|
471
|
+
--pf-v5-c-button--m-plain--MixBlendMode: var(--pf-v5-c-button--m-plain--m-no-padding--MixBlendMode);
|
472
|
+
min-width: var(--pf-v5-c-button--m-plain--m-no-padding--MinWidth);
|
453
473
|
}
|
454
474
|
.pf-v5-c-button.pf-m-block {
|
455
475
|
display: block;
|
@@ -1,116 +1,92 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
--pf-v5-c-card--
|
4
|
-
--pf-v5-c-card--
|
5
|
-
--pf-v5-c-card--
|
6
|
-
--pf-v5-c-card--
|
7
|
-
--pf-v5-c-card--
|
8
|
-
--pf-v5-c-card--
|
9
|
-
--pf-v5-c-
|
10
|
-
--pf-v5-c-
|
11
|
-
--pf-v5-c-
|
12
|
-
--pf-v5-c-
|
13
|
-
--pf-v5-c-card__title-
|
14
|
-
--pf-v5-c-
|
15
|
-
--pf-v5-c-
|
16
|
-
--pf-v5-c-
|
17
|
-
--pf-v5-c-
|
1
|
+
:where(:root),
|
2
|
+
:where(.pf-v5-c-card) {
|
3
|
+
--pf-v5-c-card--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
4
|
+
--pf-v5-c-card--BorderColor: var(--pf-t--global--border--color--default);
|
5
|
+
--pf-v5-c-card--BorderStyle: solid;
|
6
|
+
--pf-v5-c-card--BorderWidth: var(--pf-t--global--border--width--box--default);
|
7
|
+
--pf-v5-c-card--BorderRadius: var(--pf-t--global--border--radius--medium);
|
8
|
+
--pf-v5-c-card--first-child--PaddingTop: var(--pf-t--global--spacer--lg);
|
9
|
+
--pf-v5-c-card--child--PaddingRight: var(--pf-t--global--spacer--lg);
|
10
|
+
--pf-v5-c-card--child--PaddingBottom: var(--pf-t--global--spacer--lg);
|
11
|
+
--pf-v5-c-card--child--PaddingLeft: var(--pf-t--global--spacer--lg);
|
12
|
+
--pf-v5-c-card--c-divider--child--PaddingTop: var(--pf-t--global--spacer--lg);
|
13
|
+
--pf-v5-c-card__title--not--last-child--PaddingBottom: var(--pf-t--global--spacer--md);
|
14
|
+
--pf-v5-c-card__title-text--Color: var(--pf-t--global--text--color--regular);
|
15
|
+
--pf-v5-c-card__title-text--FontFamily: var(--pf-t--global--font--family--heading);
|
16
|
+
--pf-v5-c-card__title-text--FontSize: var(--pf-t--global--font--size--heading--sm);
|
17
|
+
--pf-v5-c-card__title-text--FontWeight: var(--pf-t--global--font--weight--heading);
|
18
|
+
--pf-v5-c-card__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
|
19
|
+
--pf-v5-c-card--c-button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
20
|
+
--pf-v5-c-card__body--FontSize: var(--pf-t--global--font--size--body--default);
|
21
|
+
--pf-v5-c-card__footer--FontSize: var(--pf-t--global--font--size--body--default);
|
22
|
+
--pf-v5-c-card__footer--Color: var(--pf-t--global--text--color--subtle);
|
23
|
+
--pf-v5-c-card__actions--PaddingLeft: var(--pf-t--global--spacer--md);
|
24
|
+
--pf-v5-c-card__actions--Gap: var(--pf-t--global--spacer--sm);
|
18
25
|
--pf-v5-c-card__actions--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
19
26
|
--pf-v5-c-card__actions--MarginBottom: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
20
27
|
--pf-v5-c-card__header-toggle--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
21
|
-
--pf-v5-c-card__header-toggle--MarginRight: var(--pf-
|
28
|
+
--pf-v5-c-card__header-toggle--MarginRight: var(--pf-t--global--spacer--xs);
|
22
29
|
--pf-v5-c-card__header-toggle--MarginBottom: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
23
|
-
--pf-v5-c-card__header-toggle--MarginLeft: calc(var(--pf-
|
30
|
+
--pf-v5-c-card__header-toggle--MarginLeft: calc(var(--pf-t--global--spacer--md) * -1);
|
24
31
|
--pf-v5-c-card__header-toggle-icon--Transition: var(--pf-v5-global--Transition);
|
25
32
|
--pf-v5-c-card--m-expanded__header-toggle-icon--Rotate: 90deg;
|
26
|
-
--pf-v5-c-card--m-selectable--BorderWidth: var(--pf-v5-
|
27
|
-
--pf-v5-c-card--m-selectable--m-selected--
|
28
|
-
--pf-v5-c-card--m-selectable--m-selected--
|
29
|
-
--pf-v5-c-card--m-selectable--hover--
|
30
|
-
--pf-v5-c-card--m-selectable--
|
31
|
-
--pf-v5-c-card--m-selectable--focus--
|
32
|
-
--pf-v5-c-card--m-selectable--focus--BorderColor: var(--pf-
|
33
|
-
--pf-v5-c-card--m-selectable--m-selected--focus--
|
34
|
-
--pf-v5-c-card--m-selectable--m-
|
35
|
-
--pf-v5-c-card--m-selectable--m-
|
36
|
-
--pf-v5-c-card--m-selectable--m-
|
37
|
-
--pf-v5-c-card--m-selectable--m-
|
38
|
-
--pf-v5-c-card--m-selectable--m-
|
39
|
-
--pf-v5-c-card--m-selectable--m-clickable--m-
|
40
|
-
--pf-v5-c-card--m-selectable--m-clickable--m-
|
41
|
-
--pf-v5-c-card--m-
|
42
|
-
--pf-v5-c-card--m-
|
43
|
-
--pf-v5-c-card--m-
|
44
|
-
--pf-v5-c-card--m-
|
45
|
-
--pf-v5-c-card--m-
|
46
|
-
--pf-v5-c-card--m-
|
47
|
-
--pf-v5-c-card--m-
|
48
|
-
--pf-v5-c-card--m-
|
49
|
-
--pf-v5-c-card--m-
|
50
|
-
--pf-v5-c-card--m-
|
51
|
-
--pf-v5-c-card--m-
|
52
|
-
--pf-v5-c-card--m-
|
53
|
-
--pf-v5-c-card--m-
|
54
|
-
--pf-v5-c-card--m-
|
55
|
-
--pf-v5-c-card--m-
|
56
|
-
--pf-v5-c-card--m-
|
57
|
-
--pf-v5-c-card--m-
|
58
|
-
--pf-v5-c-card--m-
|
59
|
-
--pf-v5-c-card--m-
|
60
|
-
--pf-v5-c-card--m-
|
61
|
-
--pf-v5-c-card--m-selectable-raised--active--before--BackgroundColor: var(--pf-v5-global--active-color--400);
|
62
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--BackgroundColor: var(--pf-v5-global--active-color--100);
|
63
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
64
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base: -0.5rem;
|
65
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base);
|
66
|
-
--pf-v5-c-card--m-flat--m-selectable-raised--m-selected-raised--TranslateY: calc(var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base) + var(--pf-v5-c-card--m-flat--BorderWidth));
|
67
|
-
--pf-v5-c-card--m-rounded--m-selectable-raised--m-selected-raised--TranslateY: calc(var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base) + var(--pf-v5-c-card--m-rounded--BorderRadius));
|
68
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--ZIndex: var(--pf-v5-global--ZIndex--xs);
|
69
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--Transition: transform .25s linear, box-shadow .25s linear;
|
70
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--Transition: transform .25s linear;
|
71
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--TranslateY: calc(var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY) * -1);
|
72
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--ScaleY: 2;
|
73
|
-
--pf-v5-c-card--m-non-selectable-raised--BackgroundColor: var(--pf-v5-global--BackgroundColor--light-200);
|
74
|
-
--pf-v5-c-card--m-non-selectable-raised--before--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
75
|
-
--pf-v5-c-card--m-non-selectable-raised--before--ScaleY: 2;
|
76
|
-
--pf-v5-c-card--m-flat--m-non-selectable-raised--before--BorderColor: var(--pf-v5-global--disabled-color--200);
|
77
|
-
--pf-v5-c-card--m-compact__body--FontSize: var(--pf-v5-global--FontSize--sm);
|
78
|
-
--pf-v5-c-card--m-compact__footer--FontSize: var(--pf-v5-global--FontSize--sm);
|
79
|
-
--pf-v5-c-card--m-compact--first-child--PaddingTop: var(--pf-v5-global--spacer--md);
|
80
|
-
--pf-v5-c-card--m-compact--child--PaddingRight: var(--pf-v5-global--spacer--md);
|
81
|
-
--pf-v5-c-card--m-compact--child--PaddingBottom: var(--pf-v5-global--spacer--md);
|
82
|
-
--pf-v5-c-card--m-compact--child--PaddingLeft: var(--pf-v5-global--spacer--md);
|
83
|
-
--pf-v5-c-card--m-compact--c-divider--child--PaddingTop: var(--pf-v5-global--spacer--md);
|
84
|
-
--pf-v5-c-card--m-compact__title--not--last-child--PaddingBottom: var(--pf-v5-global--spacer--sm);
|
85
|
-
--pf-v5-c-card--m-display-lg__title-text--FontSize: var(--pf-v5-global--FontSize--xl);
|
86
|
-
--pf-v5-c-card--m-display-lg--first-child--PaddingTop: var(--pf-v5-global--spacer--xl);
|
87
|
-
--pf-v5-c-card--m-display-lg--child--PaddingRight: var(--pf-v5-global--spacer--xl);
|
88
|
-
--pf-v5-c-card--m-display-lg--child--PaddingBottom: var(--pf-v5-global--spacer--xl);
|
89
|
-
--pf-v5-c-card--m-display-lg--child--PaddingLeft: var(--pf-v5-global--spacer--xl);
|
90
|
-
--pf-v5-c-card--m-display-lg--c-divider--child--PaddingTop: var(--pf-v5-global--spacer--xl);
|
91
|
-
--pf-v5-c-card--m-display-lg__title--not--last-child--PaddingBottom: var(--pf-v5-global--spacer--lg);
|
92
|
-
--pf-v5-c-card--m-flat--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
|
93
|
-
--pf-v5-c-card--m-flat--BorderColor: var(--pf-v5-global--BorderColor--100);
|
94
|
-
--pf-v5-c-card--m-rounded--BorderRadius: var(--pf-v5-global--BorderRadius--sm);
|
33
|
+
--pf-v5-c-card--m-selectable--BorderWidth: var(--pf-v5-c-card--BorderWidth);
|
34
|
+
--pf-v5-c-card--m-selectable--m-selected--BorderColor: var(--pf-t--global--border--color--clicked);
|
35
|
+
--pf-v5-c-card--m-selectable--m-selected--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
36
|
+
--pf-v5-c-card--m-selectable--hover--BorderColor: var(--pf-t--global--border--color--hover);
|
37
|
+
--pf-v5-c-card--m-selectable--focus--BorderColor: var(--pf-t--global--border--color--hover);
|
38
|
+
--pf-v5-c-card--m-selectable--focus--BorderWidth: var(--pf-t--global--border--width--box--hover);
|
39
|
+
--pf-v5-c-card--m-selectable--m-selected--focus--BorderColor: var(--pf-t--global--border--color--clicked);
|
40
|
+
--pf-v5-c-card--m-selectable--m-selected--focus--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
41
|
+
--pf-v5-c-card--m-selectable--m-disabled__title-text--Color: var(--pf-t--global--text--color--on-disabled);
|
42
|
+
--pf-v5-c-card--m-selectable--m-disabled__body--Color: var(--pf-t--global--text--color--on-disabled);
|
43
|
+
--pf-v5-c-card--m-selectable--m-disabled__footer--Color: var(--pf-t--global--text--color--on-disabled);
|
44
|
+
--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
45
|
+
--pf-v5-c-card--m-selectable--m-disabled--BorderColor: transparent;
|
46
|
+
--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor: var(--pf-t--global--border--color--clicked);
|
47
|
+
--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
48
|
+
--pf-v5-c-card--m-compact__title-text--FontSize: var(--pf-t--global--font--size--heading--xs);
|
49
|
+
--pf-v5-c-card--m-compact__body--FontSize: var(--pf-t--global--font--size--body--default);
|
50
|
+
--pf-v5-c-card--m-compact__footer--FontSize: var(--pf-t--global--font--size--body--sm);
|
51
|
+
--pf-v5-c-card--m-compact--first-child--PaddingTop: var(--pf-t--global--spacer--md);
|
52
|
+
--pf-v5-c-card--m-compact--child--PaddingRight: var(--pf-t--global--spacer--md);
|
53
|
+
--pf-v5-c-card--m-compact--child--PaddingBottom: var(--pf-t--global--spacer--md);
|
54
|
+
--pf-v5-c-card--m-compact--child--PaddingLeft: var(--pf-t--global--spacer--md);
|
55
|
+
--pf-v5-c-card--m-compact--c-divider--child--PaddingTop: var(--pf-t--global--spacer--md);
|
56
|
+
--pf-v5-c-card--m-compact__title--not--last-child--PaddingBottom: var(--pf-t--global--spacer--sm);
|
57
|
+
--pf-v5-c-card--m-display-lg__title-text--FontSize: var(--pf-t--global--font--size--heading--md);
|
58
|
+
--pf-v5-c-card--m-display-lg__body--FontSize: var(--pf-t--global--font--size--body--lg);
|
59
|
+
--pf-v5-c-card--m-display-lg__footer--FontSize: var(--pf-t--global--font--size--body--default);
|
60
|
+
--pf-v5-c-card--m-display-lg--first-child--PaddingTop: var(--pf-t--global--spacer--xl);
|
61
|
+
--pf-v5-c-card--m-display-lg--child--PaddingRight: var(--pf-t--global--spacer--xl);
|
62
|
+
--pf-v5-c-card--m-display-lg--child--PaddingBottom: var(--pf-t--global--spacer--xl);
|
63
|
+
--pf-v5-c-card--m-display-lg--child--PaddingLeft: var(--pf-t--global--spacer--xl);
|
64
|
+
--pf-v5-c-card--m-display-lg--c-divider--child--PaddingTop: var(--pf-t--global--spacer--xl);
|
65
|
+
--pf-v5-c-card--m-display-lg__title--not--last-child--PaddingBottom: var(--pf-t--global--spacer--lg);
|
66
|
+
--pf-v5-c-card--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
67
|
+
--pf-v5-c-card--m-secondary--BorderColor: transparent;
|
95
68
|
--pf-v5-c-card--m-full-height--Height: 100%;
|
96
|
-
--pf-v5-c-card--m-plain--
|
69
|
+
--pf-v5-c-card--m-plain--BorderColor: transparent;
|
97
70
|
--pf-v5-c-card--m-plain--BackgroundColor: transparent;
|
98
71
|
--pf-v5-c-card__header--m-toggle-right--toggle--MarginRight: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
99
|
-
--pf-v5-c-card__header--m-toggle-right--toggle--MarginLeft: var(--pf-
|
100
|
-
|
101
|
-
|
72
|
+
--pf-v5-c-card__header--m-toggle-right--toggle--MarginLeft: var(--pf-t--global--spacer--xs);
|
73
|
+
}
|
74
|
+
|
75
|
+
.pf-v5-c-card {
|
102
76
|
position: relative;
|
103
77
|
display: flex;
|
104
78
|
flex-direction: column;
|
79
|
+
overflow: auto;
|
105
80
|
background-color: var(--pf-v5-c-card--BackgroundColor);
|
106
|
-
|
81
|
+
border: var(--pf-v5-c-card--BorderColor) var(--pf-v5-c-card--BorderStyle) var(--pf-v5-c-card--BorderWidth);
|
82
|
+
border-radius: var(--pf-v5-c-card--BorderRadius);
|
107
83
|
}
|
108
84
|
.pf-v5-c-card.pf-m-selectable .pf-v5-c-card__selectable-actions :is(.pf-v5-c-check, .pf-v5-c-radio) {
|
109
85
|
gap: 0;
|
110
86
|
}
|
111
87
|
.pf-v5-c-card.pf-m-selectable, .pf-v5-c-card.pf-m-clickable {
|
112
88
|
isolation: isolate;
|
113
|
-
|
89
|
+
border: none;
|
114
90
|
}
|
115
91
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__label,
|
116
92
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-radio__label {
|
@@ -124,77 +100,24 @@
|
|
124
100
|
}
|
125
101
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible) ~ .pf-v5-c-check__label,
|
126
102
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:focus-visible) ~ .pf-v5-c-radio__label {
|
127
|
-
--pf-v5-c-card--BackgroundColor:
|
128
|
-
--pf-v5-c-card--BorderColor:
|
103
|
+
--pf-v5-c-card--BackgroundColor: revert;
|
104
|
+
--pf-v5-c-card--BorderColor: revert;
|
129
105
|
}
|
130
106
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label,
|
131
107
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:checked) ~ .pf-v5-c-radio__label, .pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-selected {
|
132
|
-
--pf-v5-c-card--
|
133
|
-
--pf-v5-c-card--
|
108
|
+
--pf-v5-c-card--BorderColor: revert;
|
109
|
+
--pf-v5-c-card--m-selectable--BorderWidth: revert;
|
134
110
|
}
|
135
111
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current {
|
136
|
-
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor);
|
137
|
-
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor);
|
138
|
-
}
|
139
|
-
.pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current.pf-m-selected, .pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label, .pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current .pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:checked) ~ .pf-v5-c-radio__label {
|
140
|
-
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor);
|
141
112
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor);
|
113
|
+
--pf-v5-c-card--BorderWidth: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderWidth);
|
142
114
|
}
|
143
115
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label,
|
144
116
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:disabled) ~ .pf-v5-c-radio__label, .pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-disabled {
|
145
117
|
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor);
|
146
|
-
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-disabled--BorderColor);
|
147
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable--m-disabled--BoxShadow);
|
148
|
-
}
|
149
|
-
.pf-v5-c-card.pf-m-hoverable-raised::before, .pf-v5-c-card.pf-m-selectable-raised::before, .pf-v5-c-card.pf-m-non-selectable-raised::before {
|
150
|
-
position: absolute;
|
151
|
-
inset-block-end: var(--pf-v5-c-card--m-selectable-raised--before--Bottom);
|
152
|
-
inset-inline-start: var(--pf-v5-c-card--m-selectable-raised--before--Left);
|
153
|
-
inset-inline-end: var(--pf-v5-c-card--m-selectable-raised--before--Right);
|
154
|
-
height: var(--pf-v5-c-card--m-selectable-raised--before--Height);
|
155
|
-
content: "";
|
156
|
-
background-color: var(--pf-v5-c-card--m-selectable-raised--before--BackgroundColor);
|
157
|
-
transition: var(--pf-v5-c-card--m-selectable-raised--before--Transition);
|
158
|
-
transform: translateY(var(--pf-v5-c-card--m-selectable-raised--before--TranslateY)) scaleY(var(--pf-v5-c-card--m-selectable-raised--before--ScaleY));
|
159
|
-
transform-origin: center bottom;
|
160
|
-
}
|
161
|
-
.pf-v5-c-card.pf-m-hoverable-raised:hover {
|
162
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-hoverable-raised--hover--BoxShadow);
|
163
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-hoverable-raised--hover--before--BackgroundColor);
|
164
|
-
}
|
165
|
-
.pf-v5-c-card.pf-m-selectable-raised {
|
166
|
-
cursor: pointer;
|
167
|
-
}
|
168
|
-
.pf-v5-c-card.pf-m-selectable-raised:hover {
|
169
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable-raised--hover--BoxShadow);
|
170
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-selectable-raised--hover--before--BackgroundColor);
|
171
|
-
}
|
172
|
-
.pf-v5-c-card.pf-m-selectable-raised:focus {
|
173
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable-raised--focus--BoxShadow);
|
174
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-selectable-raised--focus--before--BackgroundColor);
|
175
|
-
}
|
176
|
-
.pf-v5-c-card.pf-m-selectable-raised:active {
|
177
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable-raised--active--BoxShadow);
|
178
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-selectable-raised--active--before--BackgroundColor);
|
179
|
-
}
|
180
|
-
.pf-v5-c-card.pf-m-selectable-raised.pf-m-selected-raised {
|
181
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--BackgroundColor);
|
182
|
-
--pf-v5-c-card--m-selectable-raised--before--Transition: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--Transition);
|
183
|
-
--pf-v5-c-card--m-selectable-raised--before--TranslateY: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--TranslateY);
|
184
|
-
--pf-v5-c-card--m-selectable-raised--before--ScaleY: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--ScaleY);
|
185
|
-
z-index: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--ZIndex);
|
186
|
-
box-shadow: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--BoxShadow);
|
187
|
-
transition: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--Transition);
|
188
|
-
transform: translateY(var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY));
|
189
|
-
}
|
190
|
-
.pf-v5-c-card.pf-m-non-selectable-raised {
|
191
|
-
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-non-selectable-raised--BackgroundColor);
|
192
|
-
--pf-v5-c-card--BoxShadow: none;
|
193
|
-
--pf-v5-c-card--m-flat--BorderColor: var(--pf-v5-c-card--m-flat--m-non-selectable-raised--before--BorderColor);
|
194
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-non-selectable-raised--before--BackgroundColor);
|
195
|
-
--pf-v5-c-card--m-selectable-raised--before--ScaleY: var(--pf-v5-c-card--m-non-selectable-raised--before--ScaleY);
|
196
118
|
}
|
197
119
|
.pf-v5-c-card.pf-m-compact {
|
120
|
+
--pf-v5-c-card__title-text--FontSize: var(--pf-v5-c-card--m-compact__title-text--FontSize);
|
198
121
|
--pf-v5-c-card__body--FontSize: var(--pf-v5-c-card--m-compact__body--FontSize);
|
199
122
|
--pf-v5-c-card__footer--FontSize: var(--pf-v5-c-card--m-compact__footer--FontSize);
|
200
123
|
--pf-v5-c-card--first-child--PaddingTop: var(--pf-v5-c-card--m-compact--first-child--PaddingTop);
|
@@ -206,6 +129,8 @@
|
|
206
129
|
}
|
207
130
|
.pf-v5-c-card.pf-m-display-lg {
|
208
131
|
--pf-v5-c-card__title-text--FontSize: var(--pf-v5-c-card--m-display-lg__title-text--FontSize);
|
132
|
+
--pf-v5-c-card__body--FontSize: var(--pf-v5-c-card--m-display-lg__body--FontSize);
|
133
|
+
--pf-v5-c-card__footer--FontSize: var(--pf-v5-c-card--m-display-lg__footer--FontSize);
|
209
134
|
--pf-v5-c-card--first-child--PaddingTop: var(--pf-v5-c-card--m-display-lg--first-child--PaddingTop);
|
210
135
|
--pf-v5-c-card--child--PaddingRight: var(--pf-v5-c-card--m-display-lg--child--PaddingRight);
|
211
136
|
--pf-v5-c-card--child--PaddingBottom: var(--pf-v5-c-card--m-display-lg--child--PaddingBottom);
|
@@ -213,22 +138,14 @@
|
|
213
138
|
--pf-v5-c-card--c-divider--child--PaddingTop: var(--pf-v5-c-card--m-display-lg--c-divider--child--PaddingTop);
|
214
139
|
--pf-v5-c-card__title--not--last-child--PaddingBottom: var(--pf-v5-c-card--m-display-lg__title--not--last-child--PaddingBottom);
|
215
140
|
}
|
216
|
-
.pf-v5-c-card.pf-m-
|
217
|
-
--pf-v5-c-card--
|
218
|
-
--pf-v5-c-card--
|
219
|
-
--pf-v5-c-card--m-selectable-raised--before--Bottom: var(--pf-v5-c-card--m-flat--m-selectable-raised--before--Bottom);
|
220
|
-
--pf-v5-c-card--m-selectable-raised--before--Left: var(--pf-v5-c-card--m-flat--m-selectable-raised--before--Left);
|
221
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-v5-c-card--m-flat--m-selectable-raised--m-selected-raised--TranslateY);
|
222
|
-
border: var(--pf-v5-c-card--m-flat--BorderWidth) solid var(--pf-v5-c-card--m-flat--BorderColor);
|
141
|
+
.pf-v5-c-card.pf-m-secondary {
|
142
|
+
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-secondary--BorderColor);
|
143
|
+
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-secondary--BackgroundColor);
|
223
144
|
}
|
224
145
|
.pf-v5-c-card.pf-m-plain {
|
225
|
-
--pf-v5-c-card--
|
146
|
+
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-plain--BorderColor);
|
226
147
|
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-plain--BackgroundColor);
|
227
148
|
}
|
228
|
-
.pf-v5-c-card.pf-m-rounded {
|
229
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-v5-c-card--m-rounded--m-selectable-raised--m-selected-raised--TranslateY);
|
230
|
-
border-radius: var(--pf-v5-c-card--m-rounded--BorderRadius);
|
231
|
-
}
|
232
149
|
.pf-v5-c-card.pf-m-expanded .pf-v5-c-card__header-toggle-icon {
|
233
150
|
transform: rotate(var(--pf-v5-c-card--m-expanded__header-toggle-icon--Rotate));
|
234
151
|
}
|
@@ -282,6 +199,7 @@
|
|
282
199
|
font-size: var(--pf-v5-c-card__title-text--FontSize);
|
283
200
|
font-weight: var(--pf-v5-c-card__title-text--FontWeight);
|
284
201
|
line-height: var(--pf-v5-c-card__title-text--LineHeight);
|
202
|
+
color: var(--pf-v5-c-card__title-text--Color);
|
285
203
|
}
|
286
204
|
|
287
205
|
.pf-v5-c-card__actions {
|
@@ -319,38 +237,40 @@
|
|
319
237
|
content: "";
|
320
238
|
background-color: var(--pf-v5-c-card--BackgroundColor, transparent);
|
321
239
|
border: var(--pf-v5-c-card--m-selectable--BorderWidth) solid var(--pf-v5-c-card--BorderColor, transparent);
|
322
|
-
|
240
|
+
border-radius: var(--pf-v5-c-card--BorderRadius);
|
323
241
|
}
|
324
242
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__label:hover,
|
325
243
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__label:hover {
|
326
|
-
--pf-v5-c-card--
|
327
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable--hover--BoxShadow);
|
244
|
+
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--hover--BorderColor);
|
328
245
|
}
|
329
246
|
|
330
247
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label,
|
331
248
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:checked) ~ .pf-v5-c-radio__label,
|
332
249
|
.pf-v5-c-card.pf-m-selected {
|
333
250
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-selected--BorderColor);
|
334
|
-
--pf-v5-c-card--
|
251
|
+
--pf-v5-c-card--m-selectable--BorderWidth: var(--pf-v5-c-card--m-selectable--m-selected--BorderWidth);
|
335
252
|
}
|
336
253
|
|
337
254
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible) ~ .pf-v5-c-check__label,
|
338
255
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:focus-visible) ~ .pf-v5-c-radio__label {
|
339
256
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--focus--BorderColor);
|
340
|
-
--pf-v5-c-card--
|
257
|
+
--pf-v5-c-card--BorderWidth: var(--pf-v5-c-card--m-selectable--focus--BorderWidth);
|
341
258
|
}
|
342
259
|
|
343
260
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible):where(:checked) ~ .pf-v5-c-check__label,
|
344
261
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:focus-visible):where(:checked) ~ .pf-v5-c-radio__label {
|
345
262
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-selected--focus--BorderColor);
|
263
|
+
--pf-v5-c-card--BorderWidth: var(--pf-v5-c-card--m-selectable--m-selected--focus--BorderWidth);
|
346
264
|
}
|
347
265
|
|
348
266
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label,
|
349
267
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:disabled) ~ .pf-v5-c-radio__label,
|
350
268
|
.pf-v5-c-card.pf-m-disabled {
|
269
|
+
--pf-v5-c-card__title-text--Color: var(--pf-v5-c-card--m-selectable--m-disabled__title-text--Color);
|
270
|
+
--pf-v5-c-card__body--Color: var(--pf-v5-c-card--m-selectable--m-disabled__body--Color);
|
271
|
+
--pf-v5-c-card__footer--Color: var(--pf-v5-c-card--m-selectable--m-disabled__footer--Color);
|
351
272
|
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor);
|
352
273
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-disabled--BorderColor);
|
353
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable--m-disabled--BoxShadow);
|
354
274
|
}
|
355
275
|
|
356
276
|
.pf-v5-c-card__header,
|
@@ -372,6 +292,10 @@
|
|
372
292
|
.pf-v5-c-card__title:not(:last-child) {
|
373
293
|
padding-block-end: var(--pf-v5-c-card__title--not--last-child--PaddingBottom);
|
374
294
|
}
|
295
|
+
.pf-v5-c-card__header button.pf-m-inline.pf-m-disabled,
|
296
|
+
.pf-v5-c-card__title button.pf-m-inline.pf-m-disabled {
|
297
|
+
--pf-v5-c-button--disabled--Color: var(--pf-v5-c-card--c-button--disabled--Color);
|
298
|
+
}
|
375
299
|
|
376
300
|
.pf-v5-c-card__expandable-content {
|
377
301
|
--pf-v5-c-card--first-child--PaddingTop: 0;
|
@@ -383,31 +307,10 @@
|
|
383
307
|
|
384
308
|
.pf-v5-c-card__body {
|
385
309
|
font-size: var(--pf-v5-c-card__body--FontSize);
|
310
|
+
color: var(--pf-v5-c-card__body--Color);
|
386
311
|
}
|
387
312
|
|
388
313
|
.pf-v5-c-card__footer {
|
389
314
|
font-size: var(--pf-v5-c-card__footer--FontSize);
|
390
|
-
|
391
|
-
|
392
|
-
.pf-v5-c-card__sr-input:focus + .pf-v5-c-card::after {
|
393
|
-
position: absolute;
|
394
|
-
inset-block-start: 0;
|
395
|
-
inset-block-end: 0;
|
396
|
-
inset-inline-start: 0;
|
397
|
-
inset-inline-end: 0;
|
398
|
-
content: "";
|
399
|
-
border: var(--pf-v5-c-card__input--focus--BorderWidth) solid var(--pf-v5-c-card__input--focus--BorderColor);
|
400
|
-
}
|
401
|
-
|
402
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-card,
|
403
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-card.pf-m-non-selectable-raised {
|
404
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-global--BoxShadow--md);
|
405
|
-
--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
406
|
-
--pf-v5-c-card--m-selectable--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--150);
|
407
|
-
--pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor: var(--pf-v5-global--BackgroundColor--150);
|
408
|
-
--pf-v5-c-card--m-selectable--focus--BackgroundColor: var(--pf-v5-global--palette--blue-600);
|
409
|
-
--pf-v5-c-card--m-hoverable-raised--hover--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
410
|
-
--pf-v5-c-card--m-selectable-raised--hover--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
411
|
-
--pf-v5-c-card--m-selectable-raised--focus--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
412
|
-
--pf-v5-c-card--m-selectable-raised--active--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
315
|
+
color: var(--pf-v5-c-card__footer--Color);
|
413
316
|
}
|
@@ -10,7 +10,6 @@ declare const _default: {
|
|
10
10
|
"cardHeaderToggle": "pf-v5-c-card__header-toggle",
|
11
11
|
"cardHeaderToggleIcon": "pf-v5-c-card__header-toggle-icon",
|
12
12
|
"cardSelectableActions": "pf-v5-c-card__selectable-actions",
|
13
|
-
"cardSrInput": "pf-v5-c-card__sr-input",
|
14
13
|
"cardTitle": "pf-v5-c-card__title",
|
15
14
|
"cardTitleText": "pf-v5-c-card__title-text",
|
16
15
|
"check": "pf-v5-c-check",
|
@@ -24,24 +23,19 @@ declare const _default: {
|
|
24
23
|
"selected": "pf-m-selected",
|
25
24
|
"current": "pf-m-current",
|
26
25
|
"disabled": "pf-m-disabled",
|
27
|
-
"hoverableRaised": "pf-m-hoverable-raised",
|
28
|
-
"selectableRaised": "pf-m-selectable-raised",
|
29
|
-
"nonSelectableRaised": "pf-m-non-selectable-raised",
|
30
|
-
"selectedRaised": "pf-m-selected-raised",
|
31
26
|
"compact": "pf-m-compact",
|
32
27
|
"displayLg": "pf-m-display-lg",
|
33
|
-
"
|
28
|
+
"secondary": "pf-m-secondary",
|
34
29
|
"plain": "pf-m-plain",
|
35
|
-
"rounded": "pf-m-rounded",
|
36
30
|
"expanded": "pf-m-expanded",
|
37
31
|
"fullHeight": "pf-m-full-height",
|
38
32
|
"toggleRight": "pf-m-toggle-right",
|
39
33
|
"noOffset": "pf-m-no-offset",
|
34
|
+
"inline": "pf-m-inline",
|
40
35
|
"noFill": "pf-m-no-fill"
|
41
36
|
},
|
42
37
|
"radio": "pf-v5-c-radio",
|
43
38
|
"radioInput": "pf-v5-c-radio__input",
|
44
|
-
"radioLabel": "pf-v5-c-radio__label"
|
45
|
-
"themeDark": "pf-v5-theme-dark"
|
39
|
+
"radioLabel": "pf-v5-c-radio__label"
|
46
40
|
};
|
47
41
|
export default _default;
|
@@ -12,7 +12,6 @@ exports.default = {
|
|
12
12
|
"cardHeaderToggle": "pf-v5-c-card__header-toggle",
|
13
13
|
"cardHeaderToggleIcon": "pf-v5-c-card__header-toggle-icon",
|
14
14
|
"cardSelectableActions": "pf-v5-c-card__selectable-actions",
|
15
|
-
"cardSrInput": "pf-v5-c-card__sr-input",
|
16
15
|
"cardTitle": "pf-v5-c-card__title",
|
17
16
|
"cardTitleText": "pf-v5-c-card__title-text",
|
18
17
|
"check": "pf-v5-c-check",
|
@@ -26,23 +25,18 @@ exports.default = {
|
|
26
25
|
"selected": "pf-m-selected",
|
27
26
|
"current": "pf-m-current",
|
28
27
|
"disabled": "pf-m-disabled",
|
29
|
-
"hoverableRaised": "pf-m-hoverable-raised",
|
30
|
-
"selectableRaised": "pf-m-selectable-raised",
|
31
|
-
"nonSelectableRaised": "pf-m-non-selectable-raised",
|
32
|
-
"selectedRaised": "pf-m-selected-raised",
|
33
28
|
"compact": "pf-m-compact",
|
34
29
|
"displayLg": "pf-m-display-lg",
|
35
|
-
"
|
30
|
+
"secondary": "pf-m-secondary",
|
36
31
|
"plain": "pf-m-plain",
|
37
|
-
"rounded": "pf-m-rounded",
|
38
32
|
"expanded": "pf-m-expanded",
|
39
33
|
"fullHeight": "pf-m-full-height",
|
40
34
|
"toggleRight": "pf-m-toggle-right",
|
41
35
|
"noOffset": "pf-m-no-offset",
|
36
|
+
"inline": "pf-m-inline",
|
42
37
|
"noFill": "pf-m-no-fill"
|
43
38
|
},
|
44
39
|
"radio": "pf-v5-c-radio",
|
45
40
|
"radioInput": "pf-v5-c-radio__input",
|
46
|
-
"radioLabel": "pf-v5-c-radio__label"
|
47
|
-
"themeDark": "pf-v5-theme-dark"
|
41
|
+
"radioLabel": "pf-v5-c-radio__label"
|
48
42
|
};
|