@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
@@ -10,7 +10,6 @@ export 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,23 +23,18 @@ export 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
|
};
|
@@ -1,30 +1,35 @@
|
|
1
|
-
|
1
|
+
:where(:root),
|
2
|
+
:where(.pf-v5-c-clipboard-copy) {
|
2
3
|
--pf-v5-c-clipboard-copy__toggle-icon--Transition: .2s ease-in 0s;
|
3
4
|
--pf-v5-c-clipboard-copy--m-expanded__toggle-icon--Rotate: 90deg;
|
4
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
5
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
6
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
7
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
8
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
9
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
10
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
11
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
12
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
13
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
14
|
-
--pf-v5-c-clipboard-copy__expandable-content--
|
5
|
+
--pf-v5-c-clipboard-copy__expandable-content--MarginTop: var(--pf-t--global--spacer--xs);
|
6
|
+
--pf-v5-c-clipboard-copy__expandable-content--PaddingTop: var(--pf-t--global--spacer--md);
|
7
|
+
--pf-v5-c-clipboard-copy__expandable-content--PaddingRight: var(--pf-t--global--spacer--md);
|
8
|
+
--pf-v5-c-clipboard-copy__expandable-content--PaddingBottom: var(--pf-t--global--spacer--md);
|
9
|
+
--pf-v5-c-clipboard-copy__expandable-content--PaddingLeft: var(--pf-t--global--spacer--md);
|
10
|
+
--pf-v5-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
11
|
+
--pf-v5-c-clipboard-copy__expandable-content--BorderTopWidth: var(--pf-t--global--border--width--control--default);
|
12
|
+
--pf-v5-c-clipboard-copy__expandable-content--BorderRightWidth: var(--pf-t--global--border--width--control--default);
|
13
|
+
--pf-v5-c-clipboard-copy__expandable-content--BorderBottomWidth: var(--pf-t--global--border--width--control--default);
|
14
|
+
--pf-v5-c-clipboard-copy__expandable-content--BorderLeftWidth: var(--pf-t--global--border--width--control--default);
|
15
|
+
--pf-v5-c-clipboard-copy__expandable-content--BorderColor: var(--pf-t--global--border--color--default);
|
16
|
+
--pf-v5-c-clipboard-copy__expandable-content--BorderRadius: var(--pf-t--global--border--radius--small);
|
17
|
+
--pf-v5-c-clipboard-copy__expandable-content--OutlineOffset: var(--pf-t--global--spacer--xs);
|
18
|
+
--pf-v5-c-clipboard-copy__group--Gap: var(--pf-t--global--spacer--xs);
|
15
19
|
--pf-v5-c-clipboard-copy--m-inline--PaddingTop: 0;
|
16
20
|
--pf-v5-c-clipboard-copy--m-inline--PaddingBottom: 0;
|
17
|
-
--pf-v5-c-clipboard-copy--m-inline--PaddingLeft: var(--pf-
|
18
|
-
--pf-v5-c-clipboard-copy--m-inline--BackgroundColor: var(--pf-
|
19
|
-
--pf-v5-c-clipboard-copy__text--m-code--FontFamily: var(--pf-
|
20
|
-
--pf-v5-c-clipboard-copy__text--m-code--FontSize: var(--pf-
|
21
|
-
--pf-v5-c-clipboard-copy__actions-item--MarginTop: calc(-1 * var(--pf-
|
22
|
-
--pf-v5-c-clipboard-copy__actions-item--MarginBottom: calc(-1 * var(--pf-
|
23
|
-
--pf-v5-c-clipboard-copy__actions-item--button--PaddingTop: var(--pf-
|
24
|
-
--pf-v5-c-clipboard-copy__actions-item--button--PaddingRight: var(--pf-
|
25
|
-
--pf-v5-c-clipboard-copy__actions-item--button--PaddingBottom: var(--pf-
|
26
|
-
--pf-v5-c-clipboard-copy__actions-item--button--PaddingLeft: var(--pf-
|
21
|
+
--pf-v5-c-clipboard-copy--m-inline--PaddingLeft: var(--pf-t--global--spacer--xs);
|
22
|
+
--pf-v5-c-clipboard-copy--m-inline--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
23
|
+
--pf-v5-c-clipboard-copy__text--m-code--FontFamily: var(--pf-t--global--font--family--mono);
|
24
|
+
--pf-v5-c-clipboard-copy__text--m-code--FontSize: var(--pf-t--global--font--size--body--default);
|
25
|
+
--pf-v5-c-clipboard-copy__actions-item--MarginTop: calc(-1 * var(--pf-t--global--spacer--xs));
|
26
|
+
--pf-v5-c-clipboard-copy__actions-item--MarginBottom: calc(-1 * var(--pf-t--global--spacer--xs));
|
27
|
+
--pf-v5-c-clipboard-copy__actions-item--button--PaddingTop: var(--pf-t--global--spacer--xs);
|
28
|
+
--pf-v5-c-clipboard-copy__actions-item--button--PaddingRight: var(--pf-t--global--spacer--xs);
|
29
|
+
--pf-v5-c-clipboard-copy__actions-item--button--PaddingBottom: var(--pf-t--global--spacer--xs);
|
30
|
+
--pf-v5-c-clipboard-copy__actions-item--button--PaddingLeft: var(--pf-t--global--spacer--xs);
|
27
31
|
}
|
32
|
+
|
28
33
|
.pf-v5-c-clipboard-copy.pf-m-expanded .pf-v5-c-clipboard-copy__toggle-icon {
|
29
34
|
transform: rotate(var(--pf-v5-c-clipboard-copy--m-expanded__toggle-icon--Rotate));
|
30
35
|
}
|
@@ -42,6 +47,7 @@
|
|
42
47
|
|
43
48
|
.pf-v5-c-clipboard-copy__group {
|
44
49
|
display: flex;
|
50
|
+
gap: var(--pf-v5-c-clipboard-copy__group--Gap);
|
45
51
|
}
|
46
52
|
.pf-v5-c-clipboard-copy__group > * + * {
|
47
53
|
margin-inline-start: -1px;
|
@@ -59,6 +65,7 @@
|
|
59
65
|
padding-block-end: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingBottom);
|
60
66
|
padding-inline-start: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingLeft);
|
61
67
|
padding-inline-end: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingRight);
|
68
|
+
margin-block-start: var(--pf-v5-c-clipboard-copy__expandable-content--MarginTop);
|
62
69
|
word-wrap: break-word;
|
63
70
|
background-color: var(--pf-v5-c-clipboard-copy__expandable-content--BackgroundColor);
|
64
71
|
background-clip: padding-box;
|
@@ -67,6 +74,7 @@
|
|
67
74
|
border-block-end-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderBottomWidth);
|
68
75
|
border-inline-start-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderLeftWidth);
|
69
76
|
border-inline-end-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderRightWidth);
|
77
|
+
border-radius: var(--pf-v5-c-clipboard-copy__expandable-content--BorderRadius);
|
70
78
|
box-shadow: var(--pf-v5-c-clipboard-copy__expandable-content--BoxShadow);
|
71
79
|
}
|
72
80
|
.pf-v5-c-clipboard-copy__expandable-content pre {
|
@@ -95,15 +103,4 @@
|
|
95
103
|
--pf-v5-c-button--PaddingRight: var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingRight);
|
96
104
|
--pf-v5-c-button--PaddingBottom: var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingBottom);
|
97
105
|
--pf-v5-c-button--PaddingLeft: var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingLeft);
|
98
|
-
}
|
99
|
-
|
100
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-clipboard-copy {
|
101
|
-
--pf-v5-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
102
|
-
}
|
103
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-clipboard-copy__group > * + * {
|
104
|
-
margin-inline-start: 0;
|
105
|
-
border-inline-start: 1px solid var(--pf-v5-global--palette--black-700) !important;
|
106
|
-
}
|
107
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-clipboard-copy__expandable-content {
|
108
|
-
border: 0;
|
109
106
|
}
|
@@ -1,18 +1,27 @@
|
|
1
|
+
:root, :where(.pf-v5-c-code-block) {
|
2
|
+
--pf-v5-c-code-block--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
3
|
+
--pf-v5-c-code-block--BorderRadius: var(--pf-t--global--border--radius--medium);
|
4
|
+
--pf-v5-c-code-block__header--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
|
5
|
+
--pf-v5-c-code-block__header--BorderBottomColor: var(--pf-t--global--border--color--default);
|
6
|
+
--pf-v5-c-code-block__header--PaddingRight: var(--pf-t--global--spacer--sm);
|
7
|
+
--pf-v5-c-code-block__header--PaddingLeft: var(--pf-t--global--spacer--sm);
|
8
|
+
--pf-v5-c-code-block__content--PaddingTop: var(--pf-t--global--spacer--md);
|
9
|
+
--pf-v5-c-code-block__content--PaddingRight: var(--pf-t--global--spacer--md);
|
10
|
+
--pf-v5-c-code-block__content--PaddingBottom: var(--pf-t--global--spacer--md);
|
11
|
+
--pf-v5-c-code-block__content--PaddingLeft: var(--pf-t--global--spacer--md);
|
12
|
+
--pf-v5-c-code-block__pre--FontFamily: var(--pf-t--global--font--family--mono);
|
13
|
+
--pf-v5-c-code-block__pre--FontSize: var(--pf-t--global--font--size--xs);
|
14
|
+
}
|
15
|
+
|
1
16
|
.pf-v5-c-code-block {
|
2
|
-
--pf-v5-c-code-block--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
|
3
|
-
--pf-v5-c-code-block__header--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
|
4
|
-
--pf-v5-c-code-block__header--BorderBottomColor: var(--pf-v5-global--BorderColor--100);
|
5
|
-
--pf-v5-c-code-block__content--PaddingTop: var(--pf-v5-global--spacer--md);
|
6
|
-
--pf-v5-c-code-block__content--PaddingRight: var(--pf-v5-global--spacer--md);
|
7
|
-
--pf-v5-c-code-block__content--PaddingBottom: var(--pf-v5-global--spacer--md);
|
8
|
-
--pf-v5-c-code-block__content--PaddingLeft: var(--pf-v5-global--spacer--md);
|
9
|
-
--pf-v5-c-code-block__pre--FontFamily: var(--pf-v5-global--FontFamily--monospace);
|
10
|
-
--pf-v5-c-code-block__pre--FontSize: var(--pf-v5-global--FontSize--sm);
|
11
17
|
background-color: var(--pf-v5-c-code-block--BackgroundColor);
|
18
|
+
border-radius: var(--pf-v5-c-code-block--BorderRadius);
|
12
19
|
}
|
13
20
|
|
14
21
|
.pf-v5-c-code-block__header {
|
15
22
|
display: flex;
|
23
|
+
padding-inline-start: var(--pf-v5-c-code-block__header--PaddingLeft);
|
24
|
+
padding-inline-end: var(--pf-v5-c-code-block__header--PaddingRight);
|
16
25
|
border-block-end: var(--pf-v5-c-code-block__header--BorderBottomWidth) solid var(--pf-v5-c-code-block__header--BorderBottomColor);
|
17
26
|
}
|
18
27
|
|
@@ -1,25 +1,24 @@
|
|
1
|
-
.pf-v5-c-description-list {
|
2
|
-
--pf-v5-c-description-list--RowGap: var(--pf-
|
3
|
-
--pf-v5-c-description-list--ColumnGap: var(--pf-
|
1
|
+
:where(:root), :where(.pf-v5-c-description-list) {
|
2
|
+
--pf-v5-c-description-list--RowGap: var(--pf-t--global--spacer--lg);
|
3
|
+
--pf-v5-c-description-list--ColumnGap: var(--pf-t--global--spacer--lg);
|
4
4
|
--pf-v5-c-description-list--GridTemplateColumns--count: 1;
|
5
5
|
--pf-v5-c-description-list--GridTemplateColumns--width: 1fr;
|
6
6
|
--pf-v5-c-description-list--GridTemplateColumns--min: 0;
|
7
|
-
--pf-v5-c-description-
|
8
|
-
--pf-v5-c-description-list__group--
|
9
|
-
--pf-v5-c-description-list__group--ColumnGap: var(--pf-v5-global--spacer--sm);
|
7
|
+
--pf-v5-c-description-list__group--RowGap: var(--pf-t--global--spacer--sm);
|
8
|
+
--pf-v5-c-description-list__group--ColumnGap: var(--pf-t--global--spacer--sm);
|
10
9
|
--pf-v5-c-description-list__group--GridTemplateColumns: auto;
|
11
10
|
--pf-v5-c-description-list__group--GridTemplateRows: auto 1fr;
|
12
11
|
--pf-v5-c-description-list__group--GridColumn: auto;
|
13
|
-
--pf-v5-c-description-list--m-compact--RowGap: var(--pf-
|
14
|
-
--pf-v5-c-description-list--m-compact--ColumnGap: var(--pf-
|
12
|
+
--pf-v5-c-description-list--m-compact--RowGap: var(--pf-t--global--spacer--md);
|
13
|
+
--pf-v5-c-description-list--m-compact--ColumnGap: var(--pf-t--global--spacer--sm);
|
15
14
|
--pf-v5-c-description-list__term--Display: inline;
|
16
15
|
--pf-v5-c-description-list__term--sm--Display: flex;
|
17
|
-
--pf-v5-c-description-list__term--FontWeight: var(--pf-
|
18
|
-
--pf-v5-c-description-list__term--FontSize: var(--pf-
|
19
|
-
--pf-v5-c-description-list__term--LineHeight: var(--pf-
|
20
|
-
--pf-v5-c-description-list__term-icon--MinWidth: var(--pf-
|
21
|
-
--pf-v5-c-description-list__term-icon--MarginRight: var(--pf-
|
22
|
-
--pf-v5-c-description-list__term-icon--Color: var(--pf-
|
16
|
+
--pf-v5-c-description-list__term--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
17
|
+
--pf-v5-c-description-list__term--FontSize: var(--pf-t--global--font--size--body--sm);
|
18
|
+
--pf-v5-c-description-list__term--LineHeight: var(--pf-t--global--font--line-height--body);
|
19
|
+
--pf-v5-c-description-list__term-icon--MinWidth: var(--pf-t--global--font--size--body--sm);
|
20
|
+
--pf-v5-c-description-list__term-icon--MarginRight: var(--pf-t--global--spacer--sm);
|
21
|
+
--pf-v5-c-description-list__term-icon--Color: var(--pf-t--global--icon--color--subtle);
|
23
22
|
--pf-v5-c-description-list--m-vertical__group--GridTemplateColumns: repeat(var(--pf-v5-c-description-list--GridTemplateColumns--count));
|
24
23
|
--pf-v5-c-description-list--m-vertical__group--GridTemplateRows: auto 1fr;
|
25
24
|
--pf-v5-c-description-list--m-horizontal__term--width: 12ch;
|
@@ -31,52 +30,58 @@
|
|
31
30
|
--pf-v5-c-description-list--m-3-col--GridTemplateColumns--count: 3;
|
32
31
|
--pf-v5-c-description-list--m-auto-fit--GridTemplateColumns--min: 15.625rem;
|
33
32
|
--pf-v5-c-description-list--m-auto-fit--GridTemplateColumns--minmax--min: var(--pf-v5-c-description-list--m-auto-fit--GridTemplateColumns--min);
|
34
|
-
--pf-v5-c-description-list__text--m-help-text--TextDecorationColor:
|
35
|
-
--pf-v5-c-description-list__text--m-help-text--TextDecorationThickness: var(--pf-
|
33
|
+
--pf-v5-c-description-list__text--m-help-text--TextDecorationColor: currentcolor;
|
34
|
+
--pf-v5-c-description-list__text--m-help-text--TextDecorationThickness: var(--pf-t--global--border--width--regular);
|
36
35
|
--pf-v5-c-description-list__text--m-help-text--TextDecorationOffset: 0.25rem;
|
37
|
-
--pf-v5-c-description-list__text--m-help-text--hover--TextDecorationColor: var(--pf-
|
38
|
-
--pf-v5-c-description-list__text--m-help-text--focus--TextDecorationColor: var(--pf-
|
39
|
-
--pf-v5-c-description-list--m-display-lg__description--FontSize: var(--pf-
|
40
|
-
--pf-v5-c-description-list--m-display-2xl__description--FontSize: var(--pf-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
36
|
+
--pf-v5-c-description-list__text--m-help-text--hover--TextDecorationColor: var(--pf-t--global--border--color--hover);
|
37
|
+
--pf-v5-c-description-list__text--m-help-text--focus--TextDecorationColor: var(--pf-t--global--border--color--hover);
|
38
|
+
--pf-v5-c-description-list--m-display-lg__description--FontSize: var(--pf-t--global--font--size--body--lg);
|
39
|
+
--pf-v5-c-description-list--m-display-2xl__description--FontSize: var(--pf-t--global--font--size--heading--lg);
|
40
|
+
--pf-v5-c-description-list--m-horizontal__term--width-on-sm: inherit;
|
41
|
+
--pf-v5-c-description-list--m-horizontal__term--width-on-md: inherit;
|
42
|
+
--pf-v5-c-description-list--m-horizontal__term--width-on-lg: inherit;
|
43
|
+
--pf-v5-c-description-list--m-horizontal__term--width-on-xl: inherit;
|
44
|
+
--pf-v5-c-description-list--m-horizontal__term--width-on-2xl: inherit;
|
45
|
+
--pf-v5-c-description-list__term--width: var(--pf-v5-c-description-list--m-horizontal__term--width);
|
46
46
|
}
|
47
47
|
@media screen and (min-width: 576px) {
|
48
|
-
.pf-v5-c-description-list {
|
48
|
+
:where(:root), :where(.pf-v5-c-description-list) {
|
49
49
|
--pf-v5-c-description-list__term--Display: var(--pf-v5-c-description-list__term--sm--Display);
|
50
50
|
}
|
51
51
|
}
|
52
|
-
.pf-v5-c-description-list[class*=pf-m-horizontal] {
|
53
|
-
--pf-v5-c-description-list__term--width: var(--pf-v5-c-description-list--m-horizontal__term--width);
|
54
|
-
}
|
55
52
|
@media (min-width: 576px) {
|
56
|
-
.pf-v5-c-description-list
|
53
|
+
:where(:root), :where(.pf-v5-c-description-list) {
|
57
54
|
--pf-v5-c-description-list__term--width: var(--pf-v5-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v5-c-description-list--m-horizontal__term--width));
|
58
55
|
}
|
59
56
|
}
|
60
57
|
@media (min-width: 768px) {
|
61
|
-
.pf-v5-c-description-list
|
58
|
+
:where(:root), :where(.pf-v5-c-description-list) {
|
62
59
|
--pf-v5-c-description-list__term--width: var(--pf-v5-c-description-list--m-horizontal__term--width-on-md, var(--pf-v5-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v5-c-description-list--m-horizontal__term--width)));
|
63
60
|
}
|
64
61
|
}
|
65
62
|
@media (min-width: 992px) {
|
66
|
-
.pf-v5-c-description-list
|
63
|
+
:where(:root), :where(.pf-v5-c-description-list) {
|
67
64
|
--pf-v5-c-description-list__term--width: var(--pf-v5-c-description-list--m-horizontal__term--width-on-lg, var(--pf-v5-c-description-list--m-horizontal__term--width-on-md, var(--pf-v5-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v5-c-description-list--m-horizontal__term--width))));
|
68
65
|
}
|
69
66
|
}
|
70
67
|
@media (min-width: 1200px) {
|
71
|
-
.pf-v5-c-description-list
|
68
|
+
:where(:root), :where(.pf-v5-c-description-list) {
|
72
69
|
--pf-v5-c-description-list__term--width: var(--pf-v5-c-description-list--m-horizontal__term--width-on-xl, var(--pf-v5-c-description-list--m-horizontal__term--width-on-lg, var(--pf-v5-c-description-list--m-horizontal__term--width-on-md, var(--pf-v5-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v5-c-description-list--m-horizontal__term--width)))));
|
73
70
|
}
|
74
71
|
}
|
75
72
|
@media (min-width: 1450px) {
|
76
|
-
.pf-v5-c-description-list
|
73
|
+
:where(:root), :where(.pf-v5-c-description-list) {
|
77
74
|
--pf-v5-c-description-list__term--width: var(--pf-v5-c-description-list--m-horizontal__term--width-on-2xl, var(--pf-v5-c-description-list--m-horizontal__term--width-on-xl, var(--pf-v5-c-description-list--m-horizontal__term--width-on-lg, var(--pf-v5-c-description-list--m-horizontal__term--width-on-md, var(--pf-v5-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v5-c-description-list--m-horizontal__term--width))))));
|
78
75
|
}
|
79
76
|
}
|
77
|
+
|
78
|
+
.pf-v5-c-description-list {
|
79
|
+
display: grid;
|
80
|
+
grid-template-columns: repeat(var(--pf-v5-c-description-list--GridTemplateColumns--count), var(--pf-v5-c-description-list--GridTemplateColumns--width));
|
81
|
+
row-gap: var(--pf-v5-c-description-list--RowGap);
|
82
|
+
column-gap: var(--pf-v5-c-description-list--ColumnGap);
|
83
|
+
align-items: baseline;
|
84
|
+
}
|
80
85
|
.pf-v5-c-description-list.pf-m-inline-grid {
|
81
86
|
display: inline-grid;
|
82
87
|
}
|
@@ -1,11 +1,15 @@
|
|
1
|
-
.pf-v5-c-draggable {
|
1
|
+
:where(:root), :where(.pf-v5-c-draggable) {
|
2
2
|
--pf-v5-c-draggable--Cursor: auto;
|
3
3
|
--pf-v5-c-draggable--m-dragging--Cursor: grabbing;
|
4
|
-
--pf-v5-c-draggable--m-dragging--BoxShadow: var(--pf-
|
5
|
-
--pf-v5-c-draggable--m-dragging--after--BorderWidth: var(--pf-
|
6
|
-
--pf-v5-c-draggable--m-dragging--after--BorderColor: var(--pf-
|
4
|
+
--pf-v5-c-draggable--m-dragging--BoxShadow: var(--pf-t--global--box-shadow--md);
|
5
|
+
--pf-v5-c-draggable--m-dragging--after--BorderWidth: var(--pf-t--global--border--width--regular);
|
6
|
+
--pf-v5-c-draggable--m-dragging--after--BorderColor: var(--pf-t--global--border--color--brand--default);
|
7
|
+
--pf-v5-c-draggable--m-dragging--after--BorderRadius: var(--pf-t--global--border--radius--small);
|
7
8
|
--pf-v5-c-draggable--m-drag-outside--Cursor: not-allowed;
|
8
|
-
--pf-v5-c-draggable--m-drag-outside--after--BorderColor: var(--pf-
|
9
|
+
--pf-v5-c-draggable--m-drag-outside--after--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
10
|
+
}
|
11
|
+
|
12
|
+
.pf-v5-c-draggable {
|
9
13
|
cursor: var(--pf-v5-c-draggable--Cursor);
|
10
14
|
}
|
11
15
|
.pf-v5-c-draggable.pf-m-dragging {
|
@@ -22,23 +26,26 @@
|
|
22
26
|
inset-inline-end: 0;
|
23
27
|
content: "";
|
24
28
|
border: var(--pf-v5-c-draggable--m-dragging--after--BorderWidth) solid var(--pf-v5-c-draggable--m-dragging--after--BorderColor);
|
29
|
+
border-radius: var(--pf-v5-c-draggable--m-dragging--after--BorderRadius);
|
25
30
|
}
|
26
31
|
.pf-v5-c-draggable.pf-m-drag-outside {
|
27
32
|
--pf-v5-c-draggable--m-dragging--Cursor: var(--pf-v5-c-draggable--m-drag-outside--Cursor);
|
28
33
|
--pf-v5-c-draggable--m-dragging--after--BorderColor: var(--pf-v5-c-draggable--m-drag-outside--after--BorderColor);
|
29
34
|
}
|
30
35
|
|
31
|
-
.pf-v5-c-droppable {
|
36
|
+
:where(:root), :where(.pf-v5-c-droppable) {
|
32
37
|
--pf-v5-c-droppable--before--BackgroundColor: transparent;
|
33
38
|
--pf-v5-c-droppable--before--Opacity: 0;
|
34
39
|
--pf-v5-c-droppable--after--BorderWidth: 0;
|
35
40
|
--pf-v5-c-droppable--after--BorderColor: transparent;
|
36
|
-
--pf-v5-c-droppable--m-dragging--before--BackgroundColor: var(--pf-
|
41
|
+
--pf-v5-c-droppable--m-dragging--before--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
37
42
|
--pf-v5-c-droppable--m-dragging--before--Opacity: .6;
|
38
|
-
--pf-v5-c-droppable--m-dragging--after--BorderWidth: var(--pf-
|
39
|
-
--pf-v5-c-droppable--m-dragging--after--BorderColor: var(--pf-
|
40
|
-
--pf-v5-c-droppable--m-
|
43
|
+
--pf-v5-c-droppable--m-dragging--after--BorderWidth: var(--pf-t--global--border--width--regular);
|
44
|
+
--pf-v5-c-droppable--m-dragging--after--BorderColor: var(--pf-t--global--border--color--brand--default);
|
45
|
+
--pf-v5-c-droppable--m-dragging--after--BorderRadius: var(--pf-t--global--border--radius--small);
|
46
|
+
--pf-v5-c-droppable--m-drag-outside--after--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
41
47
|
}
|
48
|
+
|
42
49
|
.pf-v5-c-droppable::before, .pf-v5-c-droppable::after {
|
43
50
|
position: absolute;
|
44
51
|
inset-block-start: 0;
|
@@ -54,6 +61,7 @@
|
|
54
61
|
}
|
55
62
|
.pf-v5-c-droppable::after {
|
56
63
|
border: var(--pf-v5-c-droppable--after--BorderWidth, 0) solid var(--pf-v5-c-droppable--after--BorderColor, transparent);
|
64
|
+
border-radius: var(--pf-v5-c-droppable--m-dragging--after--BorderRadius);
|
57
65
|
}
|
58
66
|
.pf-v5-c-droppable.pf-m-dragging {
|
59
67
|
--pf-v5-c-droppable--before--BackgroundColor: var(--pf-v5-c-droppable--m-dragging--before--BackgroundColor);
|
@@ -64,8 +72,4 @@
|
|
64
72
|
}
|
65
73
|
.pf-v5-c-droppable.pf-m-drag-outside {
|
66
74
|
--pf-v5-c-droppable--m-dragging--after--BorderColor: var(--pf-v5-c-droppable--m-drag-outside--after--BorderColor);
|
67
|
-
}
|
68
|
-
|
69
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-droppable {
|
70
|
-
--pf-v5-c-droppable--m-dragging--before--Opacity: .2;
|
71
75
|
}
|