@patternfly/patternfly 4.202.1 → 4.203.1
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/base/_fonts.scss +10 -10
- package/base/_shield-inheritable.scss +1 -1
- package/base/patternfly-fonts.css +10 -10
- package/base/patternfly-shield-inheritable.css +1 -1
- package/components/AlertGroup/alert-group.css +1 -1
- package/components/Button/button.css +1 -1
- package/components/Button/button.scss +1 -1
- package/components/Divider/divider.css +12 -12
- package/components/Drawer/drawer.css +2 -35
- package/components/Drawer/drawer.scss +2 -2
- package/components/JumpLinks/jump-links.css +1 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/MenuToggle/menu-toggle.css +1 -1
- package/components/MenuToggle/menu-toggle.scss +1 -1
- package/components/ProgressStepper/progress-stepper.css +1 -1
- package/components/Sidebar/sidebar.css +0 -30
- package/components/Spinner/spinner.css +2 -2
- package/components/Table/table.css +5 -5
- package/components/Table/table.scss +5 -5
- package/components/Tabs/tabs.css +1 -1
- package/components/Tabs/tabs.scss +1 -1
- package/components/TreeView/tree-view.css +29 -1
- package/components/TreeView/tree-view.scss +36 -2
- package/docs/components/Table/examples/Table.md +10 -4
- package/docs/components/TreeView/examples/TreeView.md +1077 -677
- package/package.json +8 -8
- package/patternfly-addons.css +48 -683
- package/patternfly-base-no-reset.css +10 -10
- package/patternfly-base.css +10 -10
- package/patternfly-no-reset.css +66 -101
- package/patternfly.css +66 -101
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/utilities/Alignment/alignment.css +0 -15
- package/utilities/BackgroundColor/BackgroundColor.css +0 -75
- package/utilities/Display/display.css +0 -40
- package/utilities/Flex/flex.css +0 -140
- package/utilities/Float/float.css +0 -5
- package/utilities/Sizing/sizing.css +48 -198
- package/utilities/Text/text.css +0 -210
- package/docs/pages/accessibility-guide.md +0 -161
- package/docs/pages/contribution.md +0 -109
- package/docs/pages/guidelines.md +0 -367
- package/docs/pages/icons.md +0 -129
- package/docs/pages/index.js +0 -13
- package/docs/pages/reference-docs/PF-quick-ref.key +0 -0
- package/docs/pages/reference-docs/PF-quick-ref.pdf +0 -0
- package/docs/pages/upgrade-guide.md +0 -188
|
@@ -172,27 +172,21 @@
|
|
|
172
172
|
.pf-c-sidebar__panel.pf-m-width-default-on-sm {
|
|
173
173
|
--pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--FlexBasis--base);
|
|
174
174
|
}
|
|
175
|
-
|
|
176
175
|
.pf-c-sidebar__panel.pf-m-width-25-on-sm {
|
|
177
176
|
--pf-c-sidebar__panel--FlexBasis: 25%;
|
|
178
177
|
}
|
|
179
|
-
|
|
180
178
|
.pf-c-sidebar__panel.pf-m-width-33-on-sm {
|
|
181
179
|
--pf-c-sidebar__panel--FlexBasis: 33%;
|
|
182
180
|
}
|
|
183
|
-
|
|
184
181
|
.pf-c-sidebar__panel.pf-m-width-50-on-sm {
|
|
185
182
|
--pf-c-sidebar__panel--FlexBasis: 50%;
|
|
186
183
|
}
|
|
187
|
-
|
|
188
184
|
.pf-c-sidebar__panel.pf-m-width-66-on-sm {
|
|
189
185
|
--pf-c-sidebar__panel--FlexBasis: 66%;
|
|
190
186
|
}
|
|
191
|
-
|
|
192
187
|
.pf-c-sidebar__panel.pf-m-width-75-on-sm {
|
|
193
188
|
--pf-c-sidebar__panel--FlexBasis: 75%;
|
|
194
189
|
}
|
|
195
|
-
|
|
196
190
|
.pf-c-sidebar__panel.pf-m-width-100-on-sm {
|
|
197
191
|
--pf-c-sidebar__panel--FlexBasis: 100%;
|
|
198
192
|
}
|
|
@@ -201,27 +195,21 @@
|
|
|
201
195
|
.pf-c-sidebar__panel.pf-m-width-default-on-md {
|
|
202
196
|
--pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--FlexBasis--base);
|
|
203
197
|
}
|
|
204
|
-
|
|
205
198
|
.pf-c-sidebar__panel.pf-m-width-25-on-md {
|
|
206
199
|
--pf-c-sidebar__panel--FlexBasis: 25%;
|
|
207
200
|
}
|
|
208
|
-
|
|
209
201
|
.pf-c-sidebar__panel.pf-m-width-33-on-md {
|
|
210
202
|
--pf-c-sidebar__panel--FlexBasis: 33%;
|
|
211
203
|
}
|
|
212
|
-
|
|
213
204
|
.pf-c-sidebar__panel.pf-m-width-50-on-md {
|
|
214
205
|
--pf-c-sidebar__panel--FlexBasis: 50%;
|
|
215
206
|
}
|
|
216
|
-
|
|
217
207
|
.pf-c-sidebar__panel.pf-m-width-66-on-md {
|
|
218
208
|
--pf-c-sidebar__panel--FlexBasis: 66%;
|
|
219
209
|
}
|
|
220
|
-
|
|
221
210
|
.pf-c-sidebar__panel.pf-m-width-75-on-md {
|
|
222
211
|
--pf-c-sidebar__panel--FlexBasis: 75%;
|
|
223
212
|
}
|
|
224
|
-
|
|
225
213
|
.pf-c-sidebar__panel.pf-m-width-100-on-md {
|
|
226
214
|
--pf-c-sidebar__panel--FlexBasis: 100%;
|
|
227
215
|
}
|
|
@@ -230,27 +218,21 @@
|
|
|
230
218
|
.pf-c-sidebar__panel.pf-m-width-default-on-lg {
|
|
231
219
|
--pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--FlexBasis--base);
|
|
232
220
|
}
|
|
233
|
-
|
|
234
221
|
.pf-c-sidebar__panel.pf-m-width-25-on-lg {
|
|
235
222
|
--pf-c-sidebar__panel--FlexBasis: 25%;
|
|
236
223
|
}
|
|
237
|
-
|
|
238
224
|
.pf-c-sidebar__panel.pf-m-width-33-on-lg {
|
|
239
225
|
--pf-c-sidebar__panel--FlexBasis: 33%;
|
|
240
226
|
}
|
|
241
|
-
|
|
242
227
|
.pf-c-sidebar__panel.pf-m-width-50-on-lg {
|
|
243
228
|
--pf-c-sidebar__panel--FlexBasis: 50%;
|
|
244
229
|
}
|
|
245
|
-
|
|
246
230
|
.pf-c-sidebar__panel.pf-m-width-66-on-lg {
|
|
247
231
|
--pf-c-sidebar__panel--FlexBasis: 66%;
|
|
248
232
|
}
|
|
249
|
-
|
|
250
233
|
.pf-c-sidebar__panel.pf-m-width-75-on-lg {
|
|
251
234
|
--pf-c-sidebar__panel--FlexBasis: 75%;
|
|
252
235
|
}
|
|
253
|
-
|
|
254
236
|
.pf-c-sidebar__panel.pf-m-width-100-on-lg {
|
|
255
237
|
--pf-c-sidebar__panel--FlexBasis: 100%;
|
|
256
238
|
}
|
|
@@ -259,27 +241,21 @@
|
|
|
259
241
|
.pf-c-sidebar__panel.pf-m-width-default-on-xl {
|
|
260
242
|
--pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--FlexBasis--base);
|
|
261
243
|
}
|
|
262
|
-
|
|
263
244
|
.pf-c-sidebar__panel.pf-m-width-25-on-xl {
|
|
264
245
|
--pf-c-sidebar__panel--FlexBasis: 25%;
|
|
265
246
|
}
|
|
266
|
-
|
|
267
247
|
.pf-c-sidebar__panel.pf-m-width-33-on-xl {
|
|
268
248
|
--pf-c-sidebar__panel--FlexBasis: 33%;
|
|
269
249
|
}
|
|
270
|
-
|
|
271
250
|
.pf-c-sidebar__panel.pf-m-width-50-on-xl {
|
|
272
251
|
--pf-c-sidebar__panel--FlexBasis: 50%;
|
|
273
252
|
}
|
|
274
|
-
|
|
275
253
|
.pf-c-sidebar__panel.pf-m-width-66-on-xl {
|
|
276
254
|
--pf-c-sidebar__panel--FlexBasis: 66%;
|
|
277
255
|
}
|
|
278
|
-
|
|
279
256
|
.pf-c-sidebar__panel.pf-m-width-75-on-xl {
|
|
280
257
|
--pf-c-sidebar__panel--FlexBasis: 75%;
|
|
281
258
|
}
|
|
282
|
-
|
|
283
259
|
.pf-c-sidebar__panel.pf-m-width-100-on-xl {
|
|
284
260
|
--pf-c-sidebar__panel--FlexBasis: 100%;
|
|
285
261
|
}
|
|
@@ -288,27 +264,21 @@
|
|
|
288
264
|
.pf-c-sidebar__panel.pf-m-width-default-on-2xl {
|
|
289
265
|
--pf-c-sidebar__panel--FlexBasis: var(--pf-c-sidebar__panel--FlexBasis--base);
|
|
290
266
|
}
|
|
291
|
-
|
|
292
267
|
.pf-c-sidebar__panel.pf-m-width-25-on-2xl {
|
|
293
268
|
--pf-c-sidebar__panel--FlexBasis: 25%;
|
|
294
269
|
}
|
|
295
|
-
|
|
296
270
|
.pf-c-sidebar__panel.pf-m-width-33-on-2xl {
|
|
297
271
|
--pf-c-sidebar__panel--FlexBasis: 33%;
|
|
298
272
|
}
|
|
299
|
-
|
|
300
273
|
.pf-c-sidebar__panel.pf-m-width-50-on-2xl {
|
|
301
274
|
--pf-c-sidebar__panel--FlexBasis: 50%;
|
|
302
275
|
}
|
|
303
|
-
|
|
304
276
|
.pf-c-sidebar__panel.pf-m-width-66-on-2xl {
|
|
305
277
|
--pf-c-sidebar__panel--FlexBasis: 66%;
|
|
306
278
|
}
|
|
307
|
-
|
|
308
279
|
.pf-c-sidebar__panel.pf-m-width-75-on-2xl {
|
|
309
280
|
--pf-c-sidebar__panel--FlexBasis: 75%;
|
|
310
281
|
}
|
|
311
|
-
|
|
312
282
|
.pf-c-sidebar__panel.pf-m-width-100-on-2xl {
|
|
313
283
|
--pf-c-sidebar__panel--FlexBasis: 100%;
|
|
314
284
|
}
|
|
@@ -101,7 +101,7 @@ span.pf-c-spinner {
|
|
|
101
101
|
}
|
|
102
102
|
.pf-c-spinner__lead-ball::after {
|
|
103
103
|
position: absolute;
|
|
104
|
-
top: calc(50% -
|
|
104
|
+
top: calc(50% - var(--pf-c-spinner__ball--after--Height) / 2);
|
|
105
105
|
right: 0;
|
|
106
106
|
width: var(--pf-c-spinner__ball--after--Width);
|
|
107
107
|
height: var(--pf-c-spinner__ball--after--Height);
|
|
@@ -132,7 +132,7 @@ span.pf-c-spinner {
|
|
|
132
132
|
}
|
|
133
133
|
.pf-c-spinner__tail-ball::after {
|
|
134
134
|
position: absolute;
|
|
135
|
-
top: calc(50% -
|
|
135
|
+
top: calc(50% - var(--pf-c-spinner__ball--after--Height) / 2);
|
|
136
136
|
right: 0;
|
|
137
137
|
width: var(--pf-c-spinner__ball--after--Width);
|
|
138
138
|
height: var(--pf-c-spinner__ball--after--Height);
|
|
@@ -180,10 +180,10 @@
|
|
|
180
180
|
--pf-c-table__sort__button--Color: var(--pf-global--Color--100);
|
|
181
181
|
--pf-c-table__sort--m-selected__button--Color: var(--pf-global--active-color--100);
|
|
182
182
|
--pf-c-table__sort--m-help--MinWidth: 15ch;
|
|
183
|
-
--pf-c-table__sort__button__text--Color:
|
|
184
|
-
--pf-c-table__sort__button--hover__text--Color:
|
|
185
|
-
--pf-c-table__sort__button--focus__text--Color:
|
|
186
|
-
--pf-c-table__sort__button--active__text--Color:
|
|
183
|
+
--pf-c-table__sort__button__text--Color: currentcolor;
|
|
184
|
+
--pf-c-table__sort__button--hover__text--Color: currentcolor;
|
|
185
|
+
--pf-c-table__sort__button--focus__text--Color: currentcolor;
|
|
186
|
+
--pf-c-table__sort__button--active__text--Color: currentcolor;
|
|
187
187
|
--pf-c-table__sort-indicator--Color: var(--pf-global--disabled-color--200);
|
|
188
188
|
--pf-c-table__sort-indicator--MarginLeft: var(--pf-global--spacer--md);
|
|
189
189
|
--pf-c-table__sort--m-selected__sort-indicator--Color: var(--pf-global--active-color--100);
|
|
@@ -906,7 +906,7 @@
|
|
|
906
906
|
--pf-c-table__sort__button--hover__text--Color: var(--pf-c-table__sort--m-favorite__button--hover__text--Color);
|
|
907
907
|
--pf-c-table__sort__button--focus__text--Color: var(--pf-c-table__sort--m-favorite__button--focus__text--Color);
|
|
908
908
|
--pf-c-table__sort__button--active__text--Color: var(--pf-c-table__sort--m-favorite__button--active__text--Color);
|
|
909
|
-
--pf-c-table__sort--m-selected__button__text--Color:
|
|
909
|
+
--pf-c-table__sort--m-selected__button__text--Color: currentcolor;
|
|
910
910
|
}
|
|
911
911
|
|
|
912
912
|
.pf-c-table__sort-indicator {
|
|
@@ -177,10 +177,10 @@
|
|
|
177
177
|
--pf-c-table__sort--m-help--MinWidth: 15ch;
|
|
178
178
|
|
|
179
179
|
// Sort text
|
|
180
|
-
--pf-c-table__sort__button__text--Color:
|
|
181
|
-
--pf-c-table__sort__button--hover__text--Color:
|
|
182
|
-
--pf-c-table__sort__button--focus__text--Color:
|
|
183
|
-
--pf-c-table__sort__button--active__text--Color:
|
|
180
|
+
--pf-c-table__sort__button__text--Color: currentcolor;
|
|
181
|
+
--pf-c-table__sort__button--hover__text--Color: currentcolor;
|
|
182
|
+
--pf-c-table__sort__button--focus__text--Color: currentcolor;
|
|
183
|
+
--pf-c-table__sort__button--active__text--Color: currentcolor;
|
|
184
184
|
|
|
185
185
|
// Sort indicator
|
|
186
186
|
--pf-c-table__sort-indicator--Color: var(--pf-global--disabled-color--200);
|
|
@@ -1174,7 +1174,7 @@
|
|
|
1174
1174
|
--pf-c-table__sort__button--hover__text--Color: var(--pf-c-table__sort--m-favorite__button--hover__text--Color);
|
|
1175
1175
|
--pf-c-table__sort__button--focus__text--Color: var(--pf-c-table__sort--m-favorite__button--focus__text--Color);
|
|
1176
1176
|
--pf-c-table__sort__button--active__text--Color: var(--pf-c-table__sort--m-favorite__button--active__text--Color);
|
|
1177
|
-
--pf-c-table__sort--m-selected__button__text--Color:
|
|
1177
|
+
--pf-c-table__sort--m-selected__button__text--Color: currentcolor;
|
|
1178
1178
|
}
|
|
1179
1179
|
}
|
|
1180
1180
|
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
--pf-c-tabs__toggle--Visibility: hidden;
|
|
98
98
|
--pf-c-tabs__toggle--MarginBottom: 0;
|
|
99
99
|
--pf-c-tabs--m-expanded__toggle--MarginBottom: var(--pf-global--spacer--md);
|
|
100
|
-
--pf-c-tabs__toggle-icon--Color:
|
|
100
|
+
--pf-c-tabs__toggle-icon--Color: currentcolor;
|
|
101
101
|
--pf-c-tabs__toggle-icon--Transition: var(--pf-global--Transition);
|
|
102
102
|
--pf-c-tabs__toggle-icon--Rotate: 0;
|
|
103
103
|
--pf-c-tabs__toggle-text--MarginLeft: 0;
|
|
@@ -126,7 +126,7 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
|
126
126
|
--pf-c-tabs__toggle--Visibility: hidden;
|
|
127
127
|
--pf-c-tabs__toggle--MarginBottom: 0;
|
|
128
128
|
--pf-c-tabs--m-expanded__toggle--MarginBottom: var(--pf-global--spacer--md);
|
|
129
|
-
--pf-c-tabs__toggle-icon--Color:
|
|
129
|
+
--pf-c-tabs__toggle-icon--Color: currentcolor;
|
|
130
130
|
--pf-c-tabs__toggle-icon--Transition: var(--pf-global--Transition);
|
|
131
131
|
--pf-c-tabs__toggle-icon--Rotate: 0;
|
|
132
132
|
--pf-c-tabs__toggle-text--MarginLeft: 0;
|
|
@@ -20,8 +20,14 @@
|
|
|
20
20
|
--pf-c-tree-view__list-item__list-item__node-toggle--Left: var(--pf-c-tree-view__node--PaddingLeft);
|
|
21
21
|
--pf-c-tree-view__list-item__list-item__node-toggle--TranslateX: -100%;
|
|
22
22
|
--pf-c-tree-view__node-toggle--Position: absolute;
|
|
23
|
+
--pf-c-tree-view__node-toggle--Color--base: var(--pf-global--Color--200);
|
|
24
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--Color--base);
|
|
25
|
+
--pf-c-tree-view__node-toggle--hover--Color: var(--pf-global--Color--100);
|
|
26
|
+
--pf-c-tree-view__node-toggle--focus--Color: var(--pf-global--Color--100);
|
|
27
|
+
--pf-c-tree-view__node-toggle--active--Color: var(--pf-global--Color--100);
|
|
28
|
+
--pf-c-tree-view__list-item--m-expanded__node-toggle--Color: var(--pf-global--Color--100);
|
|
23
29
|
--pf-c-tree-view__node-toggle-icon--MinWidth: var(--pf-global--FontSize--md);
|
|
24
|
-
--pf-c-tree-view__node-toggle-icon--Transition: var(--pf-global--
|
|
30
|
+
--pf-c-tree-view__node-toggle-icon--Transition: transform var(--pf-global--TransitionDuration) var(--pf-global--TimingFunction);
|
|
25
31
|
--pf-c-tree-view__node-toggle-button--PaddingTop: var(--pf-global--spacer--form-element);
|
|
26
32
|
--pf-c-tree-view__node-toggle-button--PaddingRight: var(--pf-global--spacer--md);
|
|
27
33
|
--pf-c-tree-view__node-toggle-button--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
@@ -222,8 +228,10 @@
|
|
|
222
228
|
|
|
223
229
|
.pf-c-tree-view__list-item .pf-c-tree-view__list-item {
|
|
224
230
|
--pf-c-tree-view__node-toggle-icon--Rotate: var(--pf-c-tree-view__node-toggle-icon--base--Rotate);
|
|
231
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--Color--base);
|
|
225
232
|
}
|
|
226
233
|
.pf-c-tree-view__list-item.pf-m-expanded {
|
|
234
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__list-item--m-expanded__node-toggle--Color);
|
|
227
235
|
--pf-c-tree-view__node-toggle-icon--Rotate: var(--pf-c-tree-view__list-item--m-expanded__node-toggle-icon--Rotate);
|
|
228
236
|
}
|
|
229
237
|
|
|
@@ -256,6 +264,21 @@
|
|
|
256
264
|
.pf-c-tree-view__node .pf-c-tree-view__node-count .pf-c-badge.pf-m-read {
|
|
257
265
|
--pf-c-badge--m-read--BackgroundColor: var(--pf-c-tree-view__node-count--c-badge--m-read--BackgroundColor);
|
|
258
266
|
}
|
|
267
|
+
.pf-c-tree-view__node.pf-m-selectable .pf-c-tree-view__node-toggle {
|
|
268
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--Color--base);
|
|
269
|
+
}
|
|
270
|
+
.pf-c-tree-view__node:hover,
|
|
271
|
+
.pf-c-tree-view__node .pf-c-tree-view__node-toggle:hover {
|
|
272
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--hover__icon--Color);
|
|
273
|
+
}
|
|
274
|
+
.pf-c-tree-view__node:focus,
|
|
275
|
+
.pf-c-tree-view__node .pf-c-tree-view__node-toggle:focus {
|
|
276
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--focus__icon--Color);
|
|
277
|
+
}
|
|
278
|
+
.pf-c-tree-view__node:active,
|
|
279
|
+
.pf-c-tree-view__node .pf-c-tree-view__node-toggle:active {
|
|
280
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--active__icon--Color);
|
|
281
|
+
}
|
|
259
282
|
|
|
260
283
|
.pf-c-tree-view__node-container {
|
|
261
284
|
display: var(--pf-c-tree-view__node-container--Display);
|
|
@@ -285,6 +308,7 @@
|
|
|
285
308
|
padding: var(--pf-c-tree-view__node-toggle-button--PaddingTop) var(--pf-c-tree-view__node-toggle-button--PaddingRight) var(--pf-c-tree-view__node-toggle-button--PaddingBottom) var(--pf-c-tree-view__node-toggle-button--PaddingLeft);
|
|
286
309
|
margin-top: var(--pf-c-tree-view__node-toggle-button--MarginTop);
|
|
287
310
|
margin-bottom: var(--pf-c-tree-view__node-toggle-button--MarginBottom);
|
|
311
|
+
color: var(--pf-c-tree-view__node-toggle--Color);
|
|
288
312
|
border: 0;
|
|
289
313
|
transform: translateX(var(--pf-c-tree-view__list-item__list-item__node-toggle--TranslateX));
|
|
290
314
|
}
|
|
@@ -304,6 +328,10 @@
|
|
|
304
328
|
white-space: nowrap;
|
|
305
329
|
}
|
|
306
330
|
|
|
331
|
+
label.pf-c-tree-view__node-text {
|
|
332
|
+
cursor: pointer;
|
|
333
|
+
}
|
|
334
|
+
|
|
307
335
|
.pf-c-tree-view__node-title {
|
|
308
336
|
font-weight: var(--pf-c-tree-view__node-title--FontWeight);
|
|
309
337
|
}
|
|
@@ -36,10 +36,16 @@ $pf-c-tree-view--MaxNesting: 10;
|
|
|
36
36
|
|
|
37
37
|
// Toggle
|
|
38
38
|
--pf-c-tree-view__node-toggle--Position: absolute;
|
|
39
|
+
--pf-c-tree-view__node-toggle--Color--base: var(--pf-global--Color--200);
|
|
40
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--Color--base);
|
|
41
|
+
--pf-c-tree-view__node-toggle--hover--Color: var(--pf-global--Color--100);
|
|
42
|
+
--pf-c-tree-view__node-toggle--focus--Color: var(--pf-global--Color--100);
|
|
43
|
+
--pf-c-tree-view__node-toggle--active--Color: var(--pf-global--Color--100);
|
|
44
|
+
--pf-c-tree-view__list-item--m-expanded__node-toggle--Color: var(--pf-global--Color--100);
|
|
39
45
|
|
|
40
46
|
// Toggle icon
|
|
41
47
|
--pf-c-tree-view__node-toggle-icon--MinWidth: var(--pf-global--FontSize--md);
|
|
42
|
-
--pf-c-tree-view__node-toggle-icon--Transition: var(--pf-global--
|
|
48
|
+
--pf-c-tree-view__node-toggle-icon--Transition: transform var(--pf-global--TransitionDuration) var(--pf-global--TimingFunction);
|
|
43
49
|
--pf-c-tree-view__node-toggle-button--PaddingTop: var(--pf-global--spacer--form-element);
|
|
44
50
|
--pf-c-tree-view__node-toggle-button--PaddingRight: var(--pf-global--spacer--md);
|
|
45
51
|
--pf-c-tree-view__node-toggle-button--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
@@ -331,10 +337,12 @@ $pf-c-tree-view--MaxNesting: 10;
|
|
|
331
337
|
// stylelint-disable
|
|
332
338
|
.pf-c-tree-view__list-item {
|
|
333
339
|
.pf-c-tree-view__list-item {
|
|
334
|
-
--pf-c-tree-view__node-toggle-icon--Rotate: var(--pf-c-tree-view__node-toggle-icon--base--Rotate); // reset nested
|
|
340
|
+
--pf-c-tree-view__node-toggle-icon--Rotate: var(--pf-c-tree-view__node-toggle-icon--base--Rotate); // reset nested toggle icon rotate
|
|
341
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--Color--base); // reset nested toggle color
|
|
335
342
|
}
|
|
336
343
|
|
|
337
344
|
&.pf-m-expanded {
|
|
345
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__list-item--m-expanded__node-toggle--Color);
|
|
338
346
|
--pf-c-tree-view__node-toggle-icon--Rotate: var(--pf-c-tree-view__list-item--m-expanded__node-toggle-icon--Rotate);
|
|
339
347
|
}
|
|
340
348
|
}
|
|
@@ -373,6 +381,25 @@ $pf-c-tree-view--MaxNesting: 10;
|
|
|
373
381
|
--pf-c-badge--m-read--BackgroundColor: var(--pf-c-tree-view__node-count--c-badge--m-read--BackgroundColor);
|
|
374
382
|
}
|
|
375
383
|
}
|
|
384
|
+
|
|
385
|
+
&.pf-m-selectable .pf-c-tree-view__node-toggle {
|
|
386
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--Color--base); // resets hover/focus/active color when node triggers hover/focus/active color change
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
&,
|
|
390
|
+
.pf-c-tree-view__node-toggle {
|
|
391
|
+
&:hover {
|
|
392
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--hover__icon--Color);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
&:focus {
|
|
396
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--focus__icon--Color);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
&:active {
|
|
400
|
+
--pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--active__icon--Color);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
376
403
|
}
|
|
377
404
|
|
|
378
405
|
.pf-c-tree-view__node-container {
|
|
@@ -405,6 +432,7 @@ $pf-c-tree-view--MaxNesting: 10;
|
|
|
405
432
|
padding: var(--pf-c-tree-view__node-toggle-button--PaddingTop) var(--pf-c-tree-view__node-toggle-button--PaddingRight) var(--pf-c-tree-view__node-toggle-button--PaddingBottom) var(--pf-c-tree-view__node-toggle-button--PaddingLeft);
|
|
406
433
|
margin-top: var(--pf-c-tree-view__node-toggle-button--MarginTop);
|
|
407
434
|
margin-bottom: var(--pf-c-tree-view__node-toggle-button--MarginBottom);
|
|
435
|
+
color: var(--pf-c-tree-view__node-toggle--Color);
|
|
408
436
|
border: 0;
|
|
409
437
|
transform: translateX(var(--pf-c-tree-view__list-item__list-item__node-toggle--TranslateX));
|
|
410
438
|
}
|
|
@@ -424,6 +452,12 @@ $pf-c-tree-view--MaxNesting: 10;
|
|
|
424
452
|
}
|
|
425
453
|
}
|
|
426
454
|
|
|
455
|
+
.pf-c-tree-view__node-text {
|
|
456
|
+
@at-root label#{&} {
|
|
457
|
+
cursor: pointer;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
427
461
|
.pf-c-tree-view__node-title {
|
|
428
462
|
font-weight: var(--pf-c-tree-view__node-title--FontWeight);
|
|
429
463
|
}
|
|
@@ -22288,8 +22288,8 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
22288
22288
|
scope="col"
|
|
22289
22289
|
>Visual designers</th>
|
|
22290
22290
|
</tr>
|
|
22291
|
-
<tr class="pf-m-border-row">
|
|
22292
|
-
<td colspan="9"
|
|
22291
|
+
<tr class="pf-m-border-row" aria-hidden="true">
|
|
22292
|
+
<td colspan="9"></td>
|
|
22293
22293
|
</tr>
|
|
22294
22294
|
</thead>
|
|
22295
22295
|
|
|
@@ -23467,8 +23467,8 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
23467
23467
|
</button>
|
|
23468
23468
|
</th>
|
|
23469
23469
|
</tr>
|
|
23470
|
-
<tr class="pf-m-border-row">
|
|
23471
|
-
<td colspan="9"
|
|
23470
|
+
<tr class="pf-m-border-row" aria-hidden="true">
|
|
23471
|
+
<td colspan="9"></td>
|
|
23472
23472
|
</tr>
|
|
23473
23473
|
</thead>
|
|
23474
23474
|
|
|
@@ -23999,6 +23999,12 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
23999
23999
|
|
|
24000
24000
|
```
|
|
24001
24001
|
|
|
24002
|
+
### Accessibility
|
|
24003
|
+
|
|
24004
|
+
| Attribute | Applied to | Outcome |
|
|
24005
|
+
| -------------------- | ------------------ | --------------------------------------------------------- |
|
|
24006
|
+
| `aria-hidden="true"` | `.pf-m-border-row` | Hides table row from assistive technologies. **Required** |
|
|
24007
|
+
|
|
24002
24008
|
### Nested column header modifier usage
|
|
24003
24009
|
|
|
24004
24010
|
| Class | Applied to | Outcome |
|