@patternfly/patternfly 6.3.0-prerelease.52 → 6.3.0-prerelease.54
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/README.md +17 -11
- package/base/patternfly-variables.css +1208 -1
- package/base/patternfly-variables.scss +10 -0
- package/base/tokens/tokens-charts-dark.scss +1 -1
- package/base/tokens/tokens-charts.scss +1 -1
- package/base/tokens/tokens-dark.scss +13 -1
- package/base/tokens/tokens-default.scss +60 -2
- package/base/tokens/tokens-highcontrast-dark.scss +396 -0
- package/base/tokens/tokens-highcontrast.scss +703 -0
- package/base/tokens/tokens-local.scss +39 -0
- package/base/tokens/tokens-palette.scss +9 -1
- package/components/Accordion/accordion.css +21 -0
- package/components/Accordion/accordion.scss +27 -1
- package/components/Alert/alert-group.css +15 -2
- package/components/Alert/alert-group.scss +18 -2
- package/components/Badge/badge.css +2 -0
- package/components/Badge/badge.scss +2 -0
- package/components/Banner/banner.css +4 -0
- package/components/Banner/banner.scss +4 -0
- package/components/Button/button.css +32 -3
- package/components/Button/button.scss +34 -5
- package/components/Card/card.css +5 -3
- package/components/Card/card.scss +5 -3
- package/components/CodeBlock/code-block.css +3 -0
- package/components/CodeBlock/code-block.scss +3 -0
- package/components/CodeEditor/code-editor.css +8 -3
- package/components/CodeEditor/code-editor.scss +11 -6
- package/components/Drawer/drawer.css +44 -41
- package/components/Drawer/drawer.scss +42 -36
- package/components/DualListSelector/dual-list-selector.css +19 -1
- package/components/DualListSelector/dual-list-selector.scss +20 -1
- package/components/Label/label.css +20 -11
- package/components/Label/label.scss +21 -11
- package/components/Login/login.css +3 -0
- package/components/Login/login.scss +3 -0
- package/components/Menu/menu.css +11 -0
- package/components/Menu/menu.scss +12 -1
- package/components/MenuToggle/menu-toggle.css +12 -5
- package/components/MenuToggle/menu-toggle.scss +12 -5
- package/components/ModalBox/modal-box.css +3 -0
- package/components/ModalBox/modal-box.scss +3 -0
- package/components/Nav/nav.css +17 -0
- package/components/Nav/nav.scss +20 -0
- package/components/Page/page.css +2 -2
- package/components/Page/page.scss +2 -2
- package/components/Panel/panel.css +7 -1
- package/components/Panel/panel.scss +7 -1
- package/components/Popover/popover.css +4 -0
- package/components/Popover/popover.scss +4 -0
- package/components/Progress/progress.css +10 -0
- package/components/Progress/progress.scss +11 -0
- package/components/SimpleList/simple-list.css +15 -0
- package/components/SimpleList/simple-list.scss +17 -1
- package/components/Table/table.css +29 -0
- package/components/Table/table.scss +33 -0
- package/components/Tabs/tabs.css +7 -0
- package/components/Tabs/tabs.scss +8 -1
- package/components/TreeView/tree-view.css +15 -0
- package/components/TreeView/tree-view.scss +17 -0
- package/components/Wizard/wizard.css +22 -1
- package/components/Wizard/wizard.scss +25 -3
- package/components/_index.css +330 -73
- package/docs/components/DataList/examples/DataList.md +60 -184
- package/docs/components/DualListSelector/examples/DualListSelector.md +0 -195
- package/docs/components/Login/examples/Login.md +22 -22
- package/docs/components/Table/examples/Table.md +936 -1412
- package/docs/demos/Dashboard/examples/Dashboard.md +5 -20
- package/docs/demos/DataList/examples/DataList.md +528 -168
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +726 -312
- package/docs/demos/Table/examples/Table.md +5 -20
- package/package.json +3 -2
- package/patternfly-base-no-globals.css +1208 -1
- package/patternfly-base.css +1208 -1
- package/patternfly-no-globals.css +1538 -74
- package/patternfly.css +1538 -74
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -123,4 +123,43 @@
|
|
|
123
123
|
|
|
124
124
|
// stylelint-disable custom-property-pattern
|
|
125
125
|
--pf-t--temp--dev--tbd: #BC11E0;
|
|
126
|
+
|
|
127
|
+
// High contrast custom tokens - placeholders until they're in figma
|
|
128
|
+
--pf-t--global--high-contrast--border--width--action--clicked: 0;
|
|
129
|
+
--pf-t--global--high-contrast--border--width--action--default: 0;
|
|
130
|
+
--pf-t--global--high-contrast--border--width--action--hover: 0;
|
|
131
|
+
--pf-t--global--high-contrast--border--width--box--clicked: 0;
|
|
132
|
+
--pf-t--global--high-contrast--border--width--box--default: 0;
|
|
133
|
+
--pf-t--global--high-contrast--border--width--box--hover: 0;
|
|
134
|
+
--pf-t--global--high-contrast--border--width--box--status--default: 0;
|
|
135
|
+
--pf-t--global--high-contrast--border--width--box--status--read: 0;
|
|
136
|
+
--pf-t--global--high-contrast--border--width--control--clicked: 0;
|
|
137
|
+
--pf-t--global--high-contrast--border--width--control--default: 0;
|
|
138
|
+
--pf-t--global--high-contrast--border--width--control--hover: 0;
|
|
139
|
+
--pf-t--global--high-contrast--border--width--divider--clicked: 0;
|
|
140
|
+
--pf-t--global--high-contrast--border--width--divider--default: 0;
|
|
141
|
+
--pf-t--global--high-contrast--border--width--divider--hover: 0;
|
|
142
|
+
--pf-t--global--high-contrast--border--width--extra-strong: 0;
|
|
143
|
+
--pf-t--global--high-contrast--border--width--regular: 0;
|
|
144
|
+
--pf-t--global--high-contrast--border--width--strong: 0;
|
|
145
|
+
|
|
146
|
+
&:where(.pf-v6-theme-high-contrast) {
|
|
147
|
+
--pf-t--global--high-contrast--border--width--action--clicked: var(--pf-t--global--border--width--action--clicked);
|
|
148
|
+
--pf-t--global--high-contrast--border--width--action--default: var(--pf-t--global--border--width--action--default);
|
|
149
|
+
--pf-t--global--high-contrast--border--width--action--hover: var(--pf-t--global--border--width--action--hover);
|
|
150
|
+
--pf-t--global--high-contrast--border--width--box--clicked: var(--pf-t--global--border--width--box--clicked);
|
|
151
|
+
--pf-t--global--high-contrast--border--width--box--default: var(--pf-t--global--border--width--box--default);
|
|
152
|
+
--pf-t--global--high-contrast--border--width--box--hover: var(--pf-t--global--border--width--box--hover);
|
|
153
|
+
--pf-t--global--high-contrast--border--width--box--status--default: var(--pf-t--global--border--width--box--status--default);
|
|
154
|
+
--pf-t--global--high-contrast--border--width--box--status--read: var(--pf-t--global--border--width--box--status--read);
|
|
155
|
+
--pf-t--global--high-contrast--border--width--control--clicked: var(--pf-t--global--border--width--control--clicked);
|
|
156
|
+
--pf-t--global--high-contrast--border--width--control--default: var(--pf-t--global--border--width--control--default);
|
|
157
|
+
--pf-t--global--high-contrast--border--width--control--hover: var(--pf-t--global--border--width--control--hover);
|
|
158
|
+
--pf-t--global--high-contrast--border--width--divider--clicked: var(--pf-t--global--border--width--divider--clicked);
|
|
159
|
+
--pf-t--global--high-contrast--border--width--divider--default: var(--pf-t--global--border--width--divider--default);
|
|
160
|
+
--pf-t--global--high-contrast--border--width--divider--hover: var(--pf-t--global--border--width--divider--hover);
|
|
161
|
+
--pf-t--global--high-contrast--border--width--extra-strong: var(--pf-t--global--border--width--extra-strong);
|
|
162
|
+
--pf-t--global--high-contrast--border--width--regular: var(--pf-t--global--border--width--regular);
|
|
163
|
+
--pf-t--global--high-contrast--border--width--strong: var(--pf-t--global--border--width--strong);
|
|
164
|
+
}
|
|
126
165
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Tue, 02 Sep 2025 22:55:03 GMT
|
|
4
4
|
|
|
5
5
|
@mixin pf-v6-tokens {
|
|
6
6
|
--pf-t--color--black: #000000;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
--pf-t--color--blue--50: #0066cc;
|
|
12
12
|
--pf-t--color--blue--60: #004d99;
|
|
13
13
|
--pf-t--color--blue--70: #003366;
|
|
14
|
+
--pf-t--color--blue--80: #032142;
|
|
14
15
|
--pf-t--color--gray--10: #f2f2f2;
|
|
15
16
|
--pf-t--color--gray--20: #e0e0e0;
|
|
16
17
|
--pf-t--color--gray--30: #c7c7c7;
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
--pf-t--color--green--50: #63993d;
|
|
29
30
|
--pf-t--color--green--60: #3d7317;
|
|
30
31
|
--pf-t--color--green--70: #204d00;
|
|
32
|
+
--pf-t--color--green--80: #183301;
|
|
31
33
|
--pf-t--color--orange--10: #ffe8cc;
|
|
32
34
|
--pf-t--color--orange--20: #fccb8f;
|
|
33
35
|
--pf-t--color--orange--30: #f8ae54;
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
--pf-t--color--orange--50: #ca6c0f;
|
|
36
38
|
--pf-t--color--orange--60: #9e4a06;
|
|
37
39
|
--pf-t--color--orange--70: #732e00;
|
|
40
|
+
--pf-t--color--orange--80: #4d1f00;
|
|
38
41
|
--pf-t--color--purple--10: #ece6ff;
|
|
39
42
|
--pf-t--color--purple--20: #d0c5f4;
|
|
40
43
|
--pf-t--color--purple--30: #b6a6e9;
|
|
@@ -42,6 +45,7 @@
|
|
|
42
45
|
--pf-t--color--purple--50: #5e40be;
|
|
43
46
|
--pf-t--color--purple--60: #3d2785;
|
|
44
47
|
--pf-t--color--purple--70: #21134d;
|
|
48
|
+
--pf-t--color--purple--80: #1b0d33;
|
|
45
49
|
--pf-t--color--red--10: #fce3e3;
|
|
46
50
|
--pf-t--color--red--20: #fbc5c5;
|
|
47
51
|
--pf-t--color--red--30: #f9a8a8;
|
|
@@ -49,6 +53,7 @@
|
|
|
49
53
|
--pf-t--color--red--50: #ee0000;
|
|
50
54
|
--pf-t--color--red--60: #a60000;
|
|
51
55
|
--pf-t--color--red--70: #5f0000;
|
|
56
|
+
--pf-t--color--red--80: #3f0000;
|
|
52
57
|
--pf-t--color--red-orange--10: #ffe3d9;
|
|
53
58
|
--pf-t--color--red-orange--20: #fbbea8;
|
|
54
59
|
--pf-t--color--red-orange--30: #f89b78;
|
|
@@ -56,6 +61,7 @@
|
|
|
56
61
|
--pf-t--color--red-orange--50: #f0561d;
|
|
57
62
|
--pf-t--color--red-orange--60: #b1380b;
|
|
58
63
|
--pf-t--color--red-orange--70: #731f00;
|
|
64
|
+
--pf-t--color--red-orange--80: #4c1405;
|
|
59
65
|
--pf-t--color--teal--10: #daf2f2;
|
|
60
66
|
--pf-t--color--teal--20: #b9e5e5;
|
|
61
67
|
--pf-t--color--teal--30: #9ad8d8;
|
|
@@ -63,6 +69,7 @@
|
|
|
63
69
|
--pf-t--color--teal--50: #37a3a3;
|
|
64
70
|
--pf-t--color--teal--60: #147878;
|
|
65
71
|
--pf-t--color--teal--70: #004d4d;
|
|
72
|
+
--pf-t--color--teal--80: #003333;
|
|
66
73
|
--pf-t--color--white: #ffffff;
|
|
67
74
|
--pf-t--color--yellow--10: #fff4cc;
|
|
68
75
|
--pf-t--color--yellow--20: #ffe072;
|
|
@@ -71,4 +78,5 @@
|
|
|
71
78
|
--pf-t--color--yellow--50: #b98412;
|
|
72
79
|
--pf-t--color--yellow--60: #96640f;
|
|
73
80
|
--pf-t--color--yellow--70: #73480b;
|
|
81
|
+
--pf-t--color--yellow--80: #54330b;
|
|
74
82
|
}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
--pf-v6-c-accordion__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
14
14
|
--pf-v6-c-accordion__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
15
15
|
--pf-v6-c-accordion__toggle--ZIndex: var(--pf-t--global--z-index--xs);
|
|
16
|
+
--pf-v6-c-accordion__toggle--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
17
|
+
--pf-v6-c-accordion__toggle--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
18
|
+
--pf-v6-c-accordion__toggle--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
16
19
|
--pf-v6-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
17
20
|
--pf-v6-c-accordion__toggle-text--Color: var(--pf-t--global--text--color--regular);
|
|
18
21
|
--pf-v6-c-accordion__toggle-text--FontWeight: var(--pf-t--global--font--weight--body--default);
|
|
@@ -73,6 +76,11 @@
|
|
|
73
76
|
--pf-v6-c-accordion--m-bordered--RowGap: 0;
|
|
74
77
|
--pf-v6-c-accordion__item--m-bordered--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
75
78
|
--pf-v6-c-accordion__item--m-bordered--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
79
|
+
--pf-v6-c-accordion__item--BorderWidth: 0;
|
|
80
|
+
--pf-v6-c-accordion__item--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
81
|
+
--pf-v6-c-accordion__item--m-expanded--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
82
|
+
--pf-v6-c-accordion__expandable-content--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
83
|
+
--pf-v6-c-accordion__expandable-content--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
76
84
|
}
|
|
77
85
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
78
86
|
.pf-v6-c-accordion {
|
|
@@ -111,6 +119,7 @@
|
|
|
111
119
|
--pf-v6-c-accordion--RowGap: var(--pf-v6-c-accordion--m-bordered--RowGap);
|
|
112
120
|
--pf-v6-c-accordion__item--BorderRadius: 0;
|
|
113
121
|
--pf-v6-c-accordion__toggle--BorderRadius: 0;
|
|
122
|
+
--pf-v6-c-accordion__item--BorderWidth: 0;
|
|
114
123
|
}
|
|
115
124
|
.pf-v6-c-accordion.pf-m-bordered .pf-v6-c-accordion__item {
|
|
116
125
|
border-block-end: var(--pf-v6-c-accordion__item--m-bordered--BorderBlockEndWidth) solid var(--pf-v6-c-accordion__item--m-bordered--BorderBlockEndColor);
|
|
@@ -125,6 +134,7 @@
|
|
|
125
134
|
pointer-events: none;
|
|
126
135
|
content: "";
|
|
127
136
|
background-color: var(--pf-v6-c-accordion__item--m-expanded--BackgroundColor);
|
|
137
|
+
border: var(--pf-v6-c-accordion__item--BorderWidth) solid var(--pf-v6-c-accordion__item--BorderColor);
|
|
128
138
|
border-radius: var(--pf-v6-c-accordion__item--BorderRadius);
|
|
129
139
|
opacity: var(--pf-v6-c-accordion__item--before--Opacity);
|
|
130
140
|
transition-timing-function: var(--pf-v6-c-accordion__item--before--TransitionTimingFunction);
|
|
@@ -139,6 +149,7 @@
|
|
|
139
149
|
--pf-v6-c-accordion__item--before--TransitionDuration--fade: var(--pf-v6-c-accordion__item--before--TransitionDuration--expand--fade);
|
|
140
150
|
--pf-v6-c-accordion__item--before--Opacity: var(--pf-v6-c-accordion__item--m-expanded--before--Opacity);
|
|
141
151
|
--pf-v6-c-accordion__item--before--TranslateY: var(--pf-v6-c-accordion__item--m-expanded--before--TranslateY);
|
|
152
|
+
--pf-v6-c-accordion__item--BorderWidth: var(--pf-v6-c-accordion__item--m-expanded--BorderWidth);
|
|
142
153
|
--pf-v6-c-accordion__expandable-content--TransitionDuration--slide: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--expand--slide);
|
|
143
154
|
--pf-v6-c-accordion__expandable-content--TransitionDuration--fade: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--expand--fade);
|
|
144
155
|
--pf-v6-c-accordion__expandable-content--Opacity: var(--pf-v6-c-accordion__item--m-expanded__expandable-content--Opacity);
|
|
@@ -168,8 +179,17 @@
|
|
|
168
179
|
border: 0;
|
|
169
180
|
border-radius: var(--pf-v6-c-accordion__toggle--BorderRadius);
|
|
170
181
|
}
|
|
182
|
+
.pf-v6-c-accordion__toggle::after {
|
|
183
|
+
position: absolute;
|
|
184
|
+
inset: 0;
|
|
185
|
+
pointer-events: none;
|
|
186
|
+
content: "";
|
|
187
|
+
border: var(--pf-v6-c-accordion__toggle--BorderWidth) solid var(--pf-v6-c-accordion__toggle--BorderColor);
|
|
188
|
+
border-radius: inherit;
|
|
189
|
+
}
|
|
171
190
|
.pf-v6-c-accordion__toggle:is(:hover, :focus) {
|
|
172
191
|
--pf-v6-c-accordion__toggle--BackgroundColor: var(--pf-v6-c-accordion__toggle--hover--BackgroundColor);
|
|
192
|
+
--pf-v6-c-accordion__toggle--BorderWidth: var(--pf-v6-c-accordion__toggle--hover--BorderWidth);
|
|
173
193
|
}
|
|
174
194
|
|
|
175
195
|
.pf-v6-c-accordion__toggle-text {
|
|
@@ -202,6 +222,7 @@
|
|
|
202
222
|
color: var(--pf-v6-c-accordion__expandable-content--Color);
|
|
203
223
|
visibility: var(--pf-v6-c-accordion__expandable-content--Visibility);
|
|
204
224
|
background-color: var(--pf-v6-c-accordion__expandable-content--BackgroundColor);
|
|
225
|
+
border: var(--pf-v6-c-accordion__expandable-content--BorderWidth) solid var(--pf-v6-c-accordion__expandable-content--BorderColor);
|
|
205
226
|
border-radius: var(--pf-v6-c-accordion__expandable-content--BorderRadius);
|
|
206
227
|
opacity: var(--pf-v6-c-accordion__expandable-content--Opacity);
|
|
207
228
|
transition-delay: 0s, 0s, var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade);
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
--#{$accordion}__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
21
21
|
--#{$accordion}__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
22
22
|
--#{$accordion}__toggle--ZIndex: var(--pf-t--global--z-index--xs);
|
|
23
|
+
--#{$accordion}__toggle--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
24
|
+
--#{$accordion}__toggle--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
25
|
+
--#{$accordion}__toggle--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
23
26
|
|
|
24
27
|
// Accordion toggle toggle-start modifier
|
|
25
28
|
// This decreases the gap between icon and text, alternative is calc it to * 2 the token or create a new token
|
|
@@ -106,6 +109,15 @@
|
|
|
106
109
|
--#{$accordion}--m-bordered--RowGap: 0;
|
|
107
110
|
--#{$accordion}__item--m-bordered--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
108
111
|
--#{$accordion}__item--m-bordered--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
112
|
+
|
|
113
|
+
// accordion item border for high contrast
|
|
114
|
+
--#{$accordion}__item--BorderWidth: 0;
|
|
115
|
+
--#{$accordion}__item--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
116
|
+
--#{$accordion}__item--m-expanded--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
117
|
+
|
|
118
|
+
// expandable content border for high contrast
|
|
119
|
+
--#{$accordion}__expandable-content--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
120
|
+
--#{$accordion}__expandable-content--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
109
121
|
}
|
|
110
122
|
|
|
111
123
|
.#{$accordion} {
|
|
@@ -136,7 +148,8 @@
|
|
|
136
148
|
--#{$accordion}--RowGap: var(--#{$accordion}--m-bordered--RowGap);
|
|
137
149
|
--#{$accordion}__item--BorderRadius: 0;
|
|
138
150
|
--#{$accordion}__toggle--BorderRadius: 0;
|
|
139
|
-
|
|
151
|
+
--#{$accordion}__item--BorderWidth: 0;
|
|
152
|
+
|
|
140
153
|
.#{$accordion}__item {
|
|
141
154
|
border-block-end: var(--#{$accordion}__item--m-bordered--BorderBlockEndWidth) solid var(--#{$accordion}__item--m-bordered--BorderBlockEndColor);
|
|
142
155
|
}
|
|
@@ -152,6 +165,7 @@
|
|
|
152
165
|
pointer-events: none;
|
|
153
166
|
content: "";
|
|
154
167
|
background-color: var(--#{$accordion}__item--m-expanded--BackgroundColor);
|
|
168
|
+
border: var(--#{$accordion}__item--BorderWidth) solid var(--#{$accordion}__item--BorderColor);
|
|
155
169
|
border-radius: var(--#{$accordion}__item--BorderRadius);
|
|
156
170
|
opacity: var(--#{$accordion}__item--before--Opacity);
|
|
157
171
|
transition-timing-function: var(--#{$accordion}__item--before--TransitionTimingFunction);
|
|
@@ -167,6 +181,7 @@
|
|
|
167
181
|
--#{$accordion}__item--before--TransitionDuration--fade: var(--#{$accordion}__item--before--TransitionDuration--expand--fade);
|
|
168
182
|
--#{$accordion}__item--before--Opacity: var(--#{$accordion}__item--m-expanded--before--Opacity);
|
|
169
183
|
--#{$accordion}__item--before--TranslateY: var(--#{$accordion}__item--m-expanded--before--TranslateY);
|
|
184
|
+
--#{$accordion}__item--BorderWidth: var(--#{$accordion}__item--m-expanded--BorderWidth);
|
|
170
185
|
--#{$accordion}__expandable-content--TransitionDuration--slide: var(--#{$accordion}__expandable-content--TransitionDuration--expand--slide);
|
|
171
186
|
--#{$accordion}__expandable-content--TransitionDuration--fade: var(--#{$accordion}__expandable-content--TransitionDuration--expand--fade);
|
|
172
187
|
--#{$accordion}__expandable-content--Opacity: var(--#{$accordion}__item--m-expanded__expandable-content--Opacity);
|
|
@@ -197,8 +212,18 @@
|
|
|
197
212
|
border: 0;
|
|
198
213
|
border-radius: var(--#{$accordion}__toggle--BorderRadius);
|
|
199
214
|
|
|
215
|
+
&::after {
|
|
216
|
+
position: absolute;
|
|
217
|
+
inset: 0;
|
|
218
|
+
pointer-events: none;
|
|
219
|
+
content: "";
|
|
220
|
+
border: var(--#{$accordion}__toggle--BorderWidth) solid var(--#{$accordion}__toggle--BorderColor);
|
|
221
|
+
border-radius: inherit;
|
|
222
|
+
}
|
|
223
|
+
|
|
200
224
|
&:is(:hover, :focus) {
|
|
201
225
|
--#{$accordion}__toggle--BackgroundColor: var(--#{$accordion}__toggle--hover--BackgroundColor);
|
|
226
|
+
--#{$accordion}__toggle--BorderWidth: var(--#{$accordion}__toggle--hover--BorderWidth);
|
|
202
227
|
}
|
|
203
228
|
}
|
|
204
229
|
|
|
@@ -230,6 +255,7 @@
|
|
|
230
255
|
color: var(--#{$accordion}__expandable-content--Color);
|
|
231
256
|
visibility: var(--#{$accordion}__expandable-content--Visibility);
|
|
232
257
|
background-color: var(--#{$accordion}__expandable-content--BackgroundColor);
|
|
258
|
+
border: var(--#{$accordion}__expandable-content--BorderWidth) solid var(--#{$accordion}__expandable-content--BorderColor);
|
|
233
259
|
border-radius: var(--#{$accordion}__expandable-content--BorderRadius);
|
|
234
260
|
opacity: var(--#{$accordion}__expandable-content--Opacity);
|
|
235
261
|
transition-delay: 0s, 0s, var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--fade);
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
--pf-v6-c-alert-group--m-toast__item--m-offstage-right--c-alert--TransitionDuration: initial;
|
|
65
65
|
--pf-v6-c-alert-group--m-toast__item--m-offstage-right--c-alert--TransitionTimingFunction: initial;
|
|
66
66
|
--pf-v6-c-alert-group--m-toast__item--m-offstage-right--c-alert--Transition: initial;
|
|
67
|
-
--pf-v6-c-alert-group__overflow-button--BorderWidth:
|
|
67
|
+
--pf-v6-c-alert-group__overflow-button--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
68
|
+
--pf-v6-c-alert-group__overflow-button--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
68
69
|
--pf-v6-c-alert-group__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
69
70
|
--pf-v6-c-alert-group__overflow-button--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
70
71
|
--pf-v6-c-alert-group__overflow-button--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
--pf-v6-c-alert-group__overflow-button--Color: var(--pf-t--global--text--color--link--default);
|
|
74
75
|
--pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
75
76
|
--pf-v6-c-alert-group__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
77
|
+
--pf-v6-c-alert-group__overflow-button--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
76
78
|
--pf-v6-c-alert-group__overflow-button--hover--Color: var(--pf-t--global--text--color--link--hover);
|
|
77
79
|
--pf-v6-c-alert-group__overflow-button--hover--BackgroundColor: var(--pf-t--global--background--color--floating--hover);
|
|
78
80
|
--pf-v6-c-alert-group__overflow-button--hover--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
@@ -103,10 +105,21 @@
|
|
|
103
105
|
padding-inline-end: var(--pf-v6-c-alert-group__overflow-button--PaddingInlineEnd);
|
|
104
106
|
color: var(--pf-v6-c-alert-group__overflow-button--Color);
|
|
105
107
|
background-color: var(--pf-v6-c-alert-group__overflow-button--BackgroundColor);
|
|
106
|
-
border
|
|
108
|
+
border: 0;
|
|
107
109
|
border-radius: var(--pf-v6-c-alert-group__overflow-button--BorderRadius);
|
|
108
110
|
box-shadow: var(--pf-v6-c-alert-group__overflow-button--BoxShadow);
|
|
109
111
|
}
|
|
112
|
+
.pf-v6-c-alert-group__overflow-button::after {
|
|
113
|
+
position: absolute;
|
|
114
|
+
inset: 0;
|
|
115
|
+
pointer-events: none;
|
|
116
|
+
content: "";
|
|
117
|
+
border: var(--pf-v6-c-alert-group__overflow-button--BorderWidth) solid var(--pf-v6-c-alert-group__overflow-button--BorderColor);
|
|
118
|
+
border-radius: inherit;
|
|
119
|
+
}
|
|
120
|
+
.pf-v6-c-alert-group__overflow-button:hover, .pf-v6-c-alert-group__overflow-button:focus {
|
|
121
|
+
--pf-v6-c-alert-group__overflow-button--BorderWidth: var(--pf-v6-c-alert-group__overflow-button--hover--BorderWidth);
|
|
122
|
+
}
|
|
110
123
|
|
|
111
124
|
.pf-v6-c-alert-group__item {
|
|
112
125
|
display: grid;
|
|
@@ -90,7 +90,8 @@
|
|
|
90
90
|
--#{$alert-group}--m-toast__item--m-offstage-right--c-alert--Transition: initial;
|
|
91
91
|
|
|
92
92
|
// Overflow button
|
|
93
|
-
--#{$alert-group}__overflow-button--BorderWidth:
|
|
93
|
+
--#{$alert-group}__overflow-button--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
94
|
+
--#{$alert-group}__overflow-button--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
94
95
|
--#{$alert-group}__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
95
96
|
--#{$alert-group}__overflow-button--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
96
97
|
--#{$alert-group}__overflow-button--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
@@ -99,6 +100,7 @@
|
|
|
99
100
|
--#{$alert-group}__overflow-button--Color: var(--pf-t--global--text--color--link--default);
|
|
100
101
|
--#{$alert-group}__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
101
102
|
--#{$alert-group}__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
103
|
+
--#{$alert-group}__overflow-button--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
102
104
|
--#{$alert-group}__overflow-button--hover--Color: var(--pf-t--global--text--color--link--hover);
|
|
103
105
|
--#{$alert-group}__overflow-button--hover--BackgroundColor: var(--pf-t--global--background--color--floating--hover);
|
|
104
106
|
--#{$alert-group}__overflow-button--hover--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
@@ -134,9 +136,23 @@
|
|
|
134
136
|
padding-inline-end: var(--#{$alert-group}__overflow-button--PaddingInlineEnd);
|
|
135
137
|
color: var(--#{$alert-group}__overflow-button--Color);
|
|
136
138
|
background-color: var(--#{$alert-group}__overflow-button--BackgroundColor);
|
|
137
|
-
border
|
|
139
|
+
border: 0;
|
|
138
140
|
border-radius: var(--#{$alert-group}__overflow-button--BorderRadius);
|
|
139
141
|
box-shadow: var(--#{$alert-group}__overflow-button--BoxShadow);
|
|
142
|
+
|
|
143
|
+
&::after {
|
|
144
|
+
position: absolute;
|
|
145
|
+
inset: 0;
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
content: "";
|
|
148
|
+
border: var(--#{$alert-group}__overflow-button--BorderWidth) solid var(--#{$alert-group}__overflow-button--BorderColor);
|
|
149
|
+
border-radius: inherit;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&:hover,
|
|
153
|
+
&:focus {
|
|
154
|
+
--#{$alert-group}__overflow-button--BorderWidth: var(--#{$alert-group}__overflow-button--hover--BorderWidth);
|
|
155
|
+
}
|
|
140
156
|
}
|
|
141
157
|
|
|
142
158
|
.#{$alert-group}__item {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
--pf-v6-c-badge__toggle-icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
|
|
13
13
|
--pf-v6-c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
14
14
|
--pf-v6-c-badge--m-read--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
|
|
15
|
+
--pf-v6-c-badge--m-read--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
15
16
|
--pf-v6-c-badge--m-read__toggle-icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
|
|
16
17
|
--pf-v6-c-badge--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
17
18
|
--pf-v6-c-badge--m-unread--Color: var(--pf-t--global--text--color--on-brand--default);
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
border-radius: inherit;
|
|
45
46
|
}
|
|
46
47
|
.pf-v6-c-badge.pf-m-read {
|
|
48
|
+
--pf-v6-c-badge--BorderColor: var(--pf-v6-c-badge--m-read--BorderColor);
|
|
47
49
|
--pf-v6-c-badge--Color: var(--pf-v6-c-badge--m-read--Color);
|
|
48
50
|
--pf-v6-c-badge--BackgroundColor: var(--pf-v6-c-badge--m-read--BackgroundColor);
|
|
49
51
|
--pf-v6-c-badge__toggle-icon--Color: var(--pf-v6-c-badge--m-read__toggle-icon--Color);
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
// Modifiers
|
|
20
20
|
--#{$badge}--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
21
21
|
--#{$badge}--m-read--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
|
|
22
|
+
--#{$badge}--m-read--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
22
23
|
--#{$badge}--m-read__toggle-icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
|
|
23
24
|
--#{$badge}--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
24
25
|
--#{$badge}--m-unread--Color: var(--pf-t--global--text--color--on-brand--default);
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
&.pf-m-read {
|
|
56
|
+
--#{$badge}--BorderColor: var(--#{$badge}--m-read--BorderColor);
|
|
55
57
|
--#{$badge}--Color: var(--#{$badge}--m-read--Color);
|
|
56
58
|
--#{$badge}--BackgroundColor: var(--#{$badge}--m-read--BackgroundColor);
|
|
57
59
|
--#{$badge}__toggle-icon--Color: var(--#{$badge}--m-read__toggle-icon--Color);
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
--pf-v6-c-banner--FontSize: var(--pf-t--global--font--size--body--default);
|
|
9
9
|
--pf-v6-c-banner--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
|
|
10
10
|
--pf-v6-c-banner--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
11
|
+
--pf-v6-c-banner--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
12
|
+
--pf-v6-c-banner--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
11
13
|
--pf-v6-c-banner--link--Color: var(--pf-v6-c-banner--Color);
|
|
12
14
|
--pf-v6-c-banner--link--TextDecoration: underline;
|
|
13
15
|
--pf-v6-c-banner--link--hover--Color: var(--pf-v6-c-banner--Color);
|
|
@@ -58,6 +60,8 @@
|
|
|
58
60
|
color: var(--pf-v6-c-banner--Color);
|
|
59
61
|
white-space: nowrap;
|
|
60
62
|
background-color: var(--pf-v6-c-banner--BackgroundColor);
|
|
63
|
+
border-block-start: var(--pf-v6-c-banner--BorderWidth) solid var(--pf-v6-c-banner--BorderColor);
|
|
64
|
+
border-block-end: var(--pf-v6-c-banner--BorderWidth) solid var(--pf-v6-c-banner--BorderColor);
|
|
61
65
|
}
|
|
62
66
|
.pf-v6-c-banner.pf-m-danger {
|
|
63
67
|
--pf-v6-c-banner--BackgroundColor: var(--pf-v6-c-banner--m-danger--BackgroundColor);
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
--#{$banner}--FontSize: var(--pf-t--global--font--size--body--default);
|
|
11
11
|
--#{$banner}--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
|
|
12
12
|
--#{$banner}--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
13
|
+
--#{$banner}--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
14
|
+
--#{$banner}--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
13
15
|
|
|
14
16
|
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
15
17
|
--#{$banner}--PaddingInlineEnd: var(--#{$banner}--md--PaddingInlineEnd);
|
|
@@ -67,6 +69,8 @@
|
|
|
67
69
|
color: var(--#{$banner}--Color);
|
|
68
70
|
white-space: nowrap;
|
|
69
71
|
background-color: var(--#{$banner}--BackgroundColor);
|
|
72
|
+
border-block-start: var(--#{$banner}--BorderWidth) solid var(--#{$banner}--BorderColor);
|
|
73
|
+
border-block-end: var(--#{$banner}--BorderWidth) solid var(--#{$banner}--BorderColor);
|
|
70
74
|
|
|
71
75
|
&.pf-m-danger {
|
|
72
76
|
--#{$banner}--BackgroundColor: var(--#{$banner}--m-danger--BackgroundColor);
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
--pf-v6-c-button--TransitionProperty: color, background, border-width, border-color;
|
|
26
26
|
--pf-v6-c-button--ScaleX: 1;
|
|
27
27
|
--pf-v6-c-button--ScaleY: 1;
|
|
28
|
+
--pf-v6-c-button--border--offset: 0;
|
|
28
29
|
--pf-v6-c-button--hover--BackgroundColor: transparent;
|
|
29
30
|
--pf-v6-c-button--hover--BorderColor: transparent;
|
|
30
31
|
--pf-v6-c-button--hover--BorderWidth: var(--pf-t--global--border--width--action--hover);
|
|
@@ -88,6 +89,12 @@
|
|
|
88
89
|
--pf-v6-c-button--m-link--m-clicked__icon--Color: var(--pf-t--global--text--color--brand--clicked);
|
|
89
90
|
--pf-v6-c-button--m-link--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
90
91
|
--pf-v6-c-button--m-link--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
92
|
+
--pf-v6-c-button--m-link--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
93
|
+
--pf-v6-c-button--m-link--m-clicked--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
|
|
94
|
+
--pf-v6-c-button--m-link--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
95
|
+
--pf-v6-c-button--m-link--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
96
|
+
--pf-v6-c-button--m-link--m-clicked--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
97
|
+
--pf-v6-c-button--m-link--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
91
98
|
--pf-v6-c-button--m-link--m-danger--Color: var(--pf-t--global--text--color--status--danger--default);
|
|
92
99
|
--pf-v6-c-button--m-link--m-danger--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
93
100
|
--pf-v6-c-button--m-link--m-danger__icon--Color: var(--pf-t--global--text--color--status--danger--default);
|
|
@@ -138,6 +145,12 @@
|
|
|
138
145
|
--pf-v6-c-button--m-plain--disabled--BackgroundColor: transparent;
|
|
139
146
|
--pf-v6-c-button--m-plain--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
140
147
|
--pf-v6-c-button--m-plain--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
148
|
+
--pf-v6-c-button--m-plain--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
149
|
+
--pf-v6-c-button--m-plain--m-clicked--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
|
|
150
|
+
--pf-v6-c-button--m-plain--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
151
|
+
--pf-v6-c-button--m-plain--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
152
|
+
--pf-v6-c-button--m-plain--m-clicked--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
153
|
+
--pf-v6-c-button--m-plain--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
141
154
|
--pf-v6-c-button--m-plain--m-no-padding--MinWidth: auto;
|
|
142
155
|
--pf-v6-c-button--m-plain--m-no-padding--PaddingBlockStart: 0;
|
|
143
156
|
--pf-v6-c-button--m-plain--m-no-padding--PaddingInlineEnd: 0;
|
|
@@ -150,7 +163,7 @@
|
|
|
150
163
|
--pf-v6-c-button--m-plain--m-no-padding--hover__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
151
164
|
--pf-v6-c-button--m-plain--m-no-padding--hover--BackgroundColor: transparent;
|
|
152
165
|
--pf-v6-c-button--m-plain--m-no-padding--m-clicked--BackgroundColor: transparent;
|
|
153
|
-
--pf-v6-c-
|
|
166
|
+
--pf-v6-c-button--m-plain--m-no-padding--border--offset: calc(0.125rem * -1);
|
|
154
167
|
--pf-v6-c-button--m-control--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
155
168
|
--pf-v6-c-button--m-control--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--default);
|
|
156
169
|
--pf-v6-c-button--m-control--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
|
|
@@ -285,7 +298,7 @@
|
|
|
285
298
|
--pf-v6-c-button--m-settings--hover__icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
286
299
|
--pf-v6-c-button--m-settings--hover__icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
287
300
|
--pf-v6-c-button--m-settings--hover__icon--Rotate: 60deg;
|
|
288
|
-
--pf-v6-c-button--m-primary__c-badge--BorderColor: var(--pf-t--global--border--color--
|
|
301
|
+
--pf-v6-c-button--m-primary__c-badge--BorderColor: var(--pf-t--global--border--color--alt);
|
|
289
302
|
--pf-v6-c-button--m-block--Display: flex;
|
|
290
303
|
--pf-v6-c-button--m-block--Width: 100%;
|
|
291
304
|
--pf-v6-c-button--hamburger-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
@@ -341,7 +354,7 @@
|
|
|
341
354
|
}
|
|
342
355
|
.pf-v6-c-button::after {
|
|
343
356
|
position: absolute;
|
|
344
|
-
inset:
|
|
357
|
+
inset: var(--pf-v6-c-button--border--offset);
|
|
345
358
|
pointer-events: none;
|
|
346
359
|
content: "";
|
|
347
360
|
border: var(--pf-v6-c-button--BorderWidth) solid;
|
|
@@ -405,6 +418,12 @@
|
|
|
405
418
|
--pf-v6-c-button--PaddingInlineEnd: var(--pf-v6-c-button--m-link--PaddingInlineEnd);
|
|
406
419
|
--pf-v6-c-button--PaddingInlineStart: var(--pf-v6-c-button--m-link--PaddingInlineStart);
|
|
407
420
|
--pf-v6-c-button--Color: var(--pf-v6-c-button--m-link--Color);
|
|
421
|
+
--pf-v6-c-button--BorderWidth: var(--pf-v6-c-button--m-link--BorderWidth);
|
|
422
|
+
--pf-v6-c-button--hover--BorderColor: var(--pf-v6-c-button--m-link--hover--BorderColor);
|
|
423
|
+
--pf-v6-c-button--hover--BorderWidth: var(--pf-v6-c-button--m-link--hover--BorderWidth);
|
|
424
|
+
--pf-v6-c-button--m-clicked--BorderColor: var(--pf-v6-c-button--m-link--m-clicked--BorderColor);
|
|
425
|
+
--pf-v6-c-button--m-clicked--BorderWidth: var(--pf-v6-c-button--m-link--m-clicked--BorderWidth);
|
|
426
|
+
--pf-v6-c-button--BorderColor: var(--pf-v6-c-button--m-link--BorderColor);
|
|
408
427
|
--pf-v6-c-button--BorderRadius: var(--pf-v6-c-button--m-link--BorderRadius);
|
|
409
428
|
--pf-v6-c-button--BackgroundColor: var(--pf-v6-c-button--m-link--BackgroundColor);
|
|
410
429
|
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-link__icon--Color);
|
|
@@ -444,6 +463,9 @@
|
|
|
444
463
|
--pf-v6-c-button--hover--TextDecorationColor: var(--pf-v6-c-button--m-link--m-inline--hover--TextDecorationColor);
|
|
445
464
|
--pf-v6-c-button--m-link--hover--Color: var(--pf-v6-c-button--m-link--m-inline--hover--Color);
|
|
446
465
|
--pf-v6-c-button--m-link--hover__icon--Color: var(--pf-v6-c-button--m-link--m-inline--hover__icon--Color);
|
|
466
|
+
--pf-v6-c-button--BorderWidth: 0;
|
|
467
|
+
--pf-v6-c-button--hover--BorderWidth: 0;
|
|
468
|
+
--pf-v6-c-button--m-clicked--BorderWidth: 0;
|
|
447
469
|
text-align: start;
|
|
448
470
|
white-space: normal;
|
|
449
471
|
background: transparent;
|
|
@@ -551,6 +573,12 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
551
573
|
--pf-v6-c-button--m-clicked__icon--Color: var(--pf-v6-c-button--m-attention--m-clicked__icon--Color);
|
|
552
574
|
}
|
|
553
575
|
.pf-v6-c-button.pf-m-plain {
|
|
576
|
+
--pf-v6-c-button--BorderWidth: var(--pf-v6-c-button--m-plain--BorderWidth);
|
|
577
|
+
--pf-v6-c-button--hover--BorderColor: var(--pf-v6-c-button--m-plain--hover--BorderColor);
|
|
578
|
+
--pf-v6-c-button--hover--BorderWidth: var(--pf-v6-c-button--m-plain--hover--BorderWidth);
|
|
579
|
+
--pf-v6-c-button--m-clicked--BorderColor: var(--pf-v6-c-button--m-plain--m-clicked--BorderColor);
|
|
580
|
+
--pf-v6-c-button--m-clicked--BorderWidth: var(--pf-v6-c-button--m-plain--m-clicked--BorderWidth);
|
|
581
|
+
--pf-v6-c-button--BorderColor: var(--pf-v6-c-button--m-plain--BorderColor);
|
|
554
582
|
--pf-v6-c-button--BorderRadius: var(--pf-v6-c-button--m-plain--BorderRadius);
|
|
555
583
|
--pf-v6-c-button--Color: var(--pf-v6-c-button--m-plain--Color);
|
|
556
584
|
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-plain__icon--Color);
|
|
@@ -579,6 +607,7 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
579
607
|
--pf-v6-c-button--PaddingInlineStart: var(--pf-v6-c-button--m-plain--m-no-padding--PaddingInlineStart);
|
|
580
608
|
--pf-v6-c-button--m-small--PaddingInlineEnd: var(--pf-v6-c-button--m-plain--m-no-padding--m-small--PaddingInlineEnd);
|
|
581
609
|
--pf-v6-c-button--m-small--PaddingInlineStart: var(--pf-v6-c-button--m-plain--m-no-padding--m-small--PaddingInlineStart);
|
|
610
|
+
--pf-v6-c-button--border--offset: var(--pf-v6-c-button--m-plain--m-no-padding--border--offset);
|
|
582
611
|
min-width: var(--pf-v6-c-button--m-plain--m-no-padding--MinWidth);
|
|
583
612
|
background: var(--pf-v6-c-button--BackgroundColor);
|
|
584
613
|
}
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
--#{$button}--TransitionProperty: color, background, border-width, border-color;
|
|
28
28
|
--#{$button}--ScaleX: 1;
|
|
29
29
|
--#{$button}--ScaleY: 1;
|
|
30
|
+
--#{$button}--border--offset: 0;
|
|
30
31
|
|
|
31
32
|
// Hover
|
|
32
33
|
--#{$button}--hover--BackgroundColor: transparent;
|
|
@@ -102,6 +103,12 @@
|
|
|
102
103
|
--#{$button}--m-link--m-clicked__icon--Color: var(--pf-t--global--text--color--brand--clicked);
|
|
103
104
|
--#{$button}--m-link--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
104
105
|
--#{$button}--m-link--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
106
|
+
--#{$button}--m-link--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
107
|
+
--#{$button}--m-link--m-clicked--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
|
|
108
|
+
--#{$button}--m-link--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
109
|
+
--#{$button}--m-link--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
110
|
+
--#{$button}--m-link--m-clicked--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
111
|
+
--#{$button}--m-link--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
105
112
|
|
|
106
113
|
// Link danger
|
|
107
114
|
--#{$button}--m-link--m-danger--Color: var(--pf-t--global--text--color--status--danger--default);
|
|
@@ -158,6 +165,12 @@
|
|
|
158
165
|
--#{$button}--m-plain--disabled--BackgroundColor: transparent;
|
|
159
166
|
--#{$button}--m-plain--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
160
167
|
--#{$button}--m-plain--m-small--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--compact);
|
|
168
|
+
--#{$button}--m-plain--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
169
|
+
--#{$button}--m-plain--m-clicked--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
|
|
170
|
+
--#{$button}--m-plain--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
171
|
+
--#{$button}--m-plain--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
172
|
+
--#{$button}--m-plain--m-clicked--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
173
|
+
--#{$button}--m-plain--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
161
174
|
|
|
162
175
|
// Plain no padding
|
|
163
176
|
--#{$button}--m-plain--m-no-padding--MinWidth: auto;
|
|
@@ -172,7 +185,7 @@
|
|
|
172
185
|
--#{$button}--m-plain--m-no-padding--hover__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
173
186
|
--#{$button}--m-plain--m-no-padding--hover--BackgroundColor: transparent;
|
|
174
187
|
--#{$button}--m-plain--m-no-padding--m-clicked--BackgroundColor: transparent;
|
|
175
|
-
--#{$button}
|
|
188
|
+
--#{$button}--m-plain--m-no-padding--border--offset: calc(#{pf-size-prem(2px)} * -1);
|
|
176
189
|
|
|
177
190
|
// Control
|
|
178
191
|
--#{$button}--m-control--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
@@ -337,7 +350,7 @@
|
|
|
337
350
|
--#{$button}--m-settings--hover__icon--Rotate: 60deg;
|
|
338
351
|
|
|
339
352
|
// Count
|
|
340
|
-
--#{$button}--m-primary__c-badge--BorderColor: var(--pf-t--global--border--color--
|
|
353
|
+
--#{$button}--m-primary__c-badge--BorderColor: var(--pf-t--global--border--color--alt);
|
|
341
354
|
|
|
342
355
|
// Block
|
|
343
356
|
--#{$button}--m-block--Display: flex;
|
|
@@ -399,7 +412,7 @@
|
|
|
399
412
|
|
|
400
413
|
&::after {
|
|
401
414
|
position: absolute;
|
|
402
|
-
inset:
|
|
415
|
+
inset: var(--#{$button}--border--offset);
|
|
403
416
|
pointer-events: none;
|
|
404
417
|
content: "";
|
|
405
418
|
border: var(--#{$button}--BorderWidth) solid;
|
|
@@ -473,6 +486,12 @@
|
|
|
473
486
|
--#{$button}--PaddingInlineEnd: var(--#{$button}--m-link--PaddingInlineEnd);
|
|
474
487
|
--#{$button}--PaddingInlineStart: var(--#{$button}--m-link--PaddingInlineStart);
|
|
475
488
|
--#{$button}--Color: var(--#{$button}--m-link--Color);
|
|
489
|
+
--#{$button}--BorderWidth: var(--#{$button}--m-link--BorderWidth);
|
|
490
|
+
--#{$button}--hover--BorderColor: var(--#{$button}--m-link--hover--BorderColor);
|
|
491
|
+
--#{$button}--hover--BorderWidth: var(--#{$button}--m-link--hover--BorderWidth);
|
|
492
|
+
--#{$button}--m-clicked--BorderColor: var(--#{$button}--m-link--m-clicked--BorderColor);
|
|
493
|
+
--#{$button}--m-clicked--BorderWidth: var(--#{$button}--m-link--m-clicked--BorderWidth);
|
|
494
|
+
--#{$button}--BorderColor: var(--#{$button}--m-link--BorderColor);
|
|
476
495
|
--#{$button}--BorderRadius: var(--#{$button}--m-link--BorderRadius);
|
|
477
496
|
--#{$button}--BackgroundColor: var(--#{$button}--m-link--BackgroundColor);
|
|
478
497
|
--#{$button}__icon--Color: var(--#{$button}--m-link__icon--Color);
|
|
@@ -484,7 +503,7 @@
|
|
|
484
503
|
--#{$button}--m-clicked__icon--Color: var(--#{$button}--m-link--m-clicked__icon--Color);
|
|
485
504
|
--#{$button}--m-small--PaddingInlineEnd: var(--#{$button}--m-link--m-small--PaddingInlineEnd);
|
|
486
505
|
--#{$button}--m-small--PaddingInlineStart: var(--#{$button}--m-link--m-small--PaddingInlineStart);
|
|
487
|
-
|
|
506
|
+
|
|
488
507
|
&.pf-m-inline {
|
|
489
508
|
@at-root span#{&} {
|
|
490
509
|
--#{$button}--m-link--m-inline--Display: var(--#{$button}--span--m-link--m-inline--Display);
|
|
@@ -518,6 +537,9 @@
|
|
|
518
537
|
--#{$button}--hover--TextDecorationColor: var(--#{$button}--m-link--m-inline--hover--TextDecorationColor);
|
|
519
538
|
--#{$button}--m-link--hover--Color: var(--#{$button}--m-link--m-inline--hover--Color);
|
|
520
539
|
--#{$button}--m-link--hover__icon--Color: var(--#{$button}--m-link--m-inline--hover__icon--Color);
|
|
540
|
+
--#{$button}--BorderWidth: 0;
|
|
541
|
+
--#{$button}--hover--BorderWidth: 0;
|
|
542
|
+
--#{$button}--m-clicked--BorderWidth: 0;
|
|
521
543
|
|
|
522
544
|
text-align: start;
|
|
523
545
|
white-space: normal;
|
|
@@ -639,6 +661,12 @@
|
|
|
639
661
|
|
|
640
662
|
// Icon buttons
|
|
641
663
|
&.pf-m-plain {
|
|
664
|
+
--#{$button}--BorderWidth: var(--#{$button}--m-plain--BorderWidth);
|
|
665
|
+
--#{$button}--hover--BorderColor: var(--#{$button}--m-plain--hover--BorderColor);
|
|
666
|
+
--#{$button}--hover--BorderWidth: var(--#{$button}--m-plain--hover--BorderWidth);
|
|
667
|
+
--#{$button}--m-clicked--BorderColor: var(--#{$button}--m-plain--m-clicked--BorderColor);
|
|
668
|
+
--#{$button}--m-clicked--BorderWidth: var(--#{$button}--m-plain--m-clicked--BorderWidth);
|
|
669
|
+
--#{$button}--BorderColor: var(--#{$button}--m-plain--BorderColor);
|
|
642
670
|
--#{$button}--BorderRadius: var(--#{$button}--m-plain--BorderRadius);
|
|
643
671
|
--#{$button}--Color: var(--#{$button}--m-plain--Color);
|
|
644
672
|
--#{$button}__icon--Color: var(--#{$button}--m-plain__icon--Color);
|
|
@@ -667,7 +695,8 @@
|
|
|
667
695
|
--#{$button}--PaddingInlineStart: var(--#{$button}--m-plain--m-no-padding--PaddingInlineStart);
|
|
668
696
|
--#{$button}--m-small--PaddingInlineEnd: var(--#{$button}--m-plain--m-no-padding--m-small--PaddingInlineEnd);
|
|
669
697
|
--#{$button}--m-small--PaddingInlineStart: var(--#{$button}--m-plain--m-no-padding--m-small--PaddingInlineStart);
|
|
670
|
-
|
|
698
|
+
--#{$button}--border--offset: var(--#{$button}--m-plain--m-no-padding--border--offset);
|
|
699
|
+
|
|
671
700
|
min-width: var(--#{$button}--m-plain--m-no-padding--MinWidth);
|
|
672
701
|
background: var(--#{$button}--BackgroundColor); // override the ripple background
|
|
673
702
|
}
|