@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
package/components/Nav/nav.scss
CHANGED
|
@@ -57,6 +57,10 @@
|
|
|
57
57
|
--#{$nav}__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--alt--hover);
|
|
58
58
|
--#{$nav}__link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--alt--clicked);
|
|
59
59
|
--#{$nav}__link--m-current--Color: var(--pf-t--global--text--color--regular);
|
|
60
|
+
--#{$nav}__link--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
61
|
+
--#{$nav}__link--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
62
|
+
--#{$nav}__link--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
63
|
+
--#{$nav}__link--m-current--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
|
|
60
64
|
|
|
61
65
|
// background color transition on hover
|
|
62
66
|
--#{$nav}__link--TransitionDuration--background-color: var(--pf-t--global--motion--duration--fade--default);
|
|
@@ -113,6 +117,8 @@
|
|
|
113
117
|
// * Nav horizontal subnav
|
|
114
118
|
--#{$nav}--m-horizontal--m-subnav--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
115
119
|
--#{$nav}--m-horizontal--m-subnav--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
120
|
+
--#{$nav}--m-horizontal--m-subnav--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
121
|
+
--#{$nav}--m-horizontal--m-subnav--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
116
122
|
--#{$nav}--m-horizontal--m-subnav__list--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
117
123
|
--#{$nav}--m-horizontal--m-subnav__list--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
118
124
|
--#{$nav}--m-horizontal--m-subnav__list--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -290,10 +296,22 @@
|
|
|
290
296
|
transition-duration: var(--#{$nav}__link--TransitionDuration--background-color), var(--#{$nav}__link--m-current--TransitionDuration--color);
|
|
291
297
|
transition-property: background-color, color;
|
|
292
298
|
|
|
299
|
+
&::after {
|
|
300
|
+
position: absolute;
|
|
301
|
+
inset: 0;
|
|
302
|
+
pointer-events: none;
|
|
303
|
+
content: "";
|
|
304
|
+
border: var(--#{$nav}__link--BorderWidth) solid var(--#{$nav}__link--BorderColor);
|
|
305
|
+
border-radius: inherit;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
|
|
293
309
|
// explicitly set background-color prop to avoid affecting child elements settings
|
|
294
310
|
&:hover,
|
|
295
311
|
&.pf-m-hover,
|
|
296
312
|
&:focus {
|
|
313
|
+
--#{$nav}__link--BorderWidth: var(--#{$nav}__link--hover--BorderWidth);
|
|
314
|
+
|
|
297
315
|
color: var(--#{$nav}__link--hover--Color);
|
|
298
316
|
background-color: var(--#{$nav}__link--hover--BackgroundColor);
|
|
299
317
|
}
|
|
@@ -301,6 +319,7 @@
|
|
|
301
319
|
&.pf-m-current,
|
|
302
320
|
&.pf-m-current:hover {
|
|
303
321
|
--#{$nav}__link-icon--Color: var(--#{$nav}__link--m-current__link-icon--Color);
|
|
322
|
+
--#{$nav}__link--BorderWidth: var(--#{$nav}__link--m-current--BorderWidth);
|
|
304
323
|
|
|
305
324
|
color: var(--#{$nav}__link--m-current--Color);
|
|
306
325
|
background-color: var(--#{$nav}__link--m-current--BackgroundColor);
|
|
@@ -428,6 +447,7 @@
|
|
|
428
447
|
--#{$nav}__link--PaddingBlockStart: var(--#{$nav}--m-horizontal--m-subnav__link--PaddingBlockStart);
|
|
429
448
|
--#{$nav}__link--PaddingBlockEnd: var(--#{$nav}--m-horizontal--m-subnav__link--PaddingBlockEnd);
|
|
430
449
|
|
|
450
|
+
border: var(--#{$nav}--m-horizontal--m-subnav--BorderWidth) solid var(--#{$nav}--m-horizontal--m-subnav--BorderColor);
|
|
431
451
|
border-radius: var(--#{$nav}--m-horizontal--m-subnav--BorderRadius);
|
|
432
452
|
}
|
|
433
453
|
|
package/components/Page/page.css
CHANGED
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
--pf-v6-c-page__main-container--MarginInlineStart: var(--pf-v6-c-page--inset);
|
|
47
47
|
--pf-v6-c-page__main-container--MarginInlineEnd: var(--pf-v6-c-page--inset);
|
|
48
48
|
--pf-v6-c-page__main-container--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
49
|
-
--pf-v6-c-page__main-container--BorderWidth:
|
|
50
|
-
--pf-v6-c-page__main-container--BorderColor: var(--pf-
|
|
49
|
+
--pf-v6-c-page__main-container--BorderWidth: var(--pf-t--global--border--width--main--default);
|
|
50
|
+
--pf-v6-c-page__main-container--BorderColor: var(--pf-t--global--border--color--main--default);
|
|
51
51
|
--pf-v6-c-page__main-container--xs--AlignSelf: stretch;
|
|
52
52
|
--pf-v6-c-page__main-container--xs--BorderRadius: 0;
|
|
53
53
|
--pf-v6-c-page__main-container--xs--MarginInlineStart: 0;
|
|
@@ -76,8 +76,8 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
76
76
|
--#{$page}__main-container--MarginInlineStart: var(--#{$page}--inset);
|
|
77
77
|
--#{$page}__main-container--MarginInlineEnd: var(--#{$page}--inset);
|
|
78
78
|
--#{$page}__main-container--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
79
|
-
--#{$page}__main-container--BorderWidth:
|
|
80
|
-
--#{$page}__main-container--BorderColor: var(
|
|
79
|
+
--#{$page}__main-container--BorderWidth: var(--pf-t--global--border--width--main--default);
|
|
80
|
+
--#{$page}__main-container--BorderColor: var(--pf-t--global--border--color--main--default);
|
|
81
81
|
--#{$page}__main-container--xs--AlignSelf: stretch;
|
|
82
82
|
--#{$page}__main-container--xs--BorderRadius: 0;
|
|
83
83
|
--#{$page}__main-container--xs--MarginInlineStart: 0;
|
|
@@ -6,11 +6,14 @@
|
|
|
6
6
|
--pf-v6-c-panel--BoxShadow: none;
|
|
7
7
|
--pf-v6-c-panel--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
8
8
|
--pf-v6-c-panel--before--BorderWidth: 0;
|
|
9
|
-
--pf-v6-c-panel--before--BorderColor: var(--pf-t--global--border--color--
|
|
9
|
+
--pf-v6-c-panel--before--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
10
10
|
--pf-v6-c-panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
11
|
+
--pf-v6-c-panel--m-secondary--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
11
12
|
--pf-v6-c-panel--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
13
|
+
--pf-v6-c-panel--m-bordered--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
12
14
|
--pf-v6-c-panel--m-raised--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
13
15
|
--pf-v6-c-panel--m-raised--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
16
|
+
--pf-v6-c-panel--m-raised--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
14
17
|
--pf-v6-c-panel__header--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
15
18
|
--pf-v6-c-panel__header--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
|
16
19
|
--pf-v6-c-panel__header--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
@@ -52,13 +55,16 @@
|
|
|
52
55
|
}
|
|
53
56
|
.pf-v6-c-panel.pf-m-bordered {
|
|
54
57
|
--pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-bordered--before--BorderWidth);
|
|
58
|
+
--pf-v6-c-panel--before--BorderColor: var(--pf-v6-c-panel--m-bordered--before--BorderColor);
|
|
55
59
|
}
|
|
56
60
|
.pf-v6-c-panel.pf-m-secondary {
|
|
57
61
|
--pf-v6-c-panel--BackgroundColor: var(--pf-v6-c-panel--m-secondary--BackgroundColor);
|
|
62
|
+
--pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-secondary--before--BorderWidth);
|
|
58
63
|
}
|
|
59
64
|
.pf-v6-c-panel.pf-m-raised {
|
|
60
65
|
--pf-v6-c-panel--BackgroundColor: var(--pf-v6-c-panel--m-raised--BackgroundColor);
|
|
61
66
|
--pf-v6-c-panel--BoxShadow: var(--pf-v6-c-panel--m-raised--BoxShadow);
|
|
67
|
+
--pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-raised--before--BorderWidth);
|
|
62
68
|
}
|
|
63
69
|
.pf-v6-c-panel.pf-m-scrollable {
|
|
64
70
|
--pf-v6-c-panel__main--MaxHeight: var(--pf-v6-c-panel--m-scrollable__main--MaxHeight);
|
|
@@ -10,17 +10,20 @@
|
|
|
10
10
|
|
|
11
11
|
// border
|
|
12
12
|
--#{$panel}--before--BorderWidth: 0;
|
|
13
|
-
--#{$panel}--before--BorderColor: var(--pf-t--global--border--color--
|
|
13
|
+
--#{$panel}--before--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
14
14
|
|
|
15
15
|
// secondary modifier
|
|
16
16
|
--#{$panel}--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
17
|
+
--#{$panel}--m-secondary--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
17
18
|
|
|
18
19
|
// bordered
|
|
19
20
|
--#{$panel}--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
21
|
+
--#{$panel}--m-bordered--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
20
22
|
|
|
21
23
|
// raised
|
|
22
24
|
--#{$panel}--m-raised--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
23
25
|
--#{$panel}--m-raised--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
26
|
+
--#{$panel}--m-raised--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
24
27
|
|
|
25
28
|
// header
|
|
26
29
|
--#{$panel}__header--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -73,15 +76,18 @@
|
|
|
73
76
|
|
|
74
77
|
&.pf-m-bordered {
|
|
75
78
|
--#{$panel}--before--BorderWidth: var(--#{$panel}--m-bordered--before--BorderWidth);
|
|
79
|
+
--#{$panel}--before--BorderColor: var(--#{$panel}--m-bordered--before--BorderColor);
|
|
76
80
|
}
|
|
77
81
|
|
|
78
82
|
&.pf-m-secondary {
|
|
79
83
|
--#{$panel}--BackgroundColor: var(--#{$panel}--m-secondary--BackgroundColor);
|
|
84
|
+
--#{$panel}--before--BorderWidth: var(--#{$panel}--m-secondary--before--BorderWidth);
|
|
80
85
|
}
|
|
81
86
|
|
|
82
87
|
&.pf-m-raised {
|
|
83
88
|
--#{$panel}--BackgroundColor: var(--#{$panel}--m-raised--BackgroundColor);
|
|
84
89
|
--#{$panel}--BoxShadow: var(--#{$panel}--m-raised--BoxShadow);
|
|
90
|
+
--#{$panel}--before--BorderWidth: var(--#{$panel}--m-raised--before--BorderWidth);
|
|
85
91
|
}
|
|
86
92
|
|
|
87
93
|
&.pf-m-scrollable {
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--pf-v6-c-popover--MinWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
|
|
4
4
|
--pf-v6-c-popover--MaxWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
|
|
5
5
|
--pf-v6-c-popover--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
6
|
+
--pf-v6-c-popover--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
7
|
+
--pf-v6-c-popover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
6
8
|
--pf-v6-c-popover--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
7
9
|
--pf-v6-c-popover--m-danger__title-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
8
10
|
--pf-v6-c-popover--m-warning__title-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
@@ -53,6 +55,7 @@
|
|
|
53
55
|
min-width: var(--pf-v6-c-popover--MinWidth);
|
|
54
56
|
max-width: var(--pf-v6-c-popover--MaxWidth);
|
|
55
57
|
font-size: var(--pf-v6-c-popover--FontSize);
|
|
58
|
+
border: var(--pf-v6-c-popover--BorderWidth) solid var(--pf-v6-c-popover--BorderColor);
|
|
56
59
|
border-radius: var(--pf-v6-c-popover--BorderRadius);
|
|
57
60
|
box-shadow: var(--pf-v6-c-popover--BoxShadow);
|
|
58
61
|
}
|
|
@@ -167,6 +170,7 @@
|
|
|
167
170
|
height: var(--pf-v6-c-popover__arrow--Height);
|
|
168
171
|
pointer-events: none;
|
|
169
172
|
background-color: var(--pf-v6-c-popover__arrow--BackgroundColor);
|
|
173
|
+
border: var(--pf-v6-c-popover--BorderWidth) solid var(--pf-v6-c-popover--BorderColor);
|
|
170
174
|
box-shadow: var(--pf-v6-c-popover__arrow--BoxShadow);
|
|
171
175
|
transform: translateX(var(--pf-v6-c-popover__arrow--TranslateX, 0)) translateY(var(--pf-v6-c-popover__arrow--TranslateY, 0)) rotate(var(--pf-v6-c-popover__arrow--Rotate, 0));
|
|
172
176
|
}
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
--#{$popover}--MinWidth: calc(var(--#{$popover}__content--PaddingInlineStart) + var(--#{$popover}__content--PaddingInlineEnd) + #{pf-size-prem(300px)});
|
|
7
7
|
--#{$popover}--MaxWidth: calc(var(--#{$popover}__content--PaddingInlineStart) + var(--#{$popover}__content--PaddingInlineEnd) + #{pf-size-prem(300px)});
|
|
8
8
|
--#{$popover}--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
9
|
+
--#{$popover}--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
10
|
+
--#{$popover}--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
9
11
|
--#{$popover}--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
10
12
|
|
|
11
13
|
|
|
@@ -73,6 +75,7 @@
|
|
|
73
75
|
min-width: var(--#{$popover}--MinWidth);
|
|
74
76
|
max-width: var(--#{$popover}--MaxWidth);
|
|
75
77
|
font-size: var(--#{$popover}--FontSize);
|
|
78
|
+
border: var(--#{$popover}--BorderWidth) solid var(--#{$popover}--BorderColor);
|
|
76
79
|
border-radius: var(--#{$popover}--BorderRadius);
|
|
77
80
|
box-shadow: var(--#{$popover}--BoxShadow);
|
|
78
81
|
|
|
@@ -226,6 +229,7 @@
|
|
|
226
229
|
height: var(--#{$popover}__arrow--Height);
|
|
227
230
|
pointer-events: none;
|
|
228
231
|
background-color: var(--#{$popover}__arrow--BackgroundColor);
|
|
232
|
+
border: var(--#{$popover}--BorderWidth) solid var(--#{$popover}--BorderColor);
|
|
229
233
|
box-shadow: var(--#{$popover}__arrow--BoxShadow);
|
|
230
234
|
transform: translateX(var(--#{$popover}__arrow--TranslateX, 0)) translateY(var(--#{$popover}__arrow--TranslateY, 0)) rotate(var(--#{$popover}__arrow--Rotate, 0));
|
|
231
235
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--pf-v6-c-progress__bar--Height: var(--pf-t--global--spacer--md);
|
|
4
4
|
--pf-v6-c-progress__bar--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
5
5
|
--pf-v6-c-progress__bar--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
6
|
+
--pf-v6-c-progress__bar--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
7
|
+
--pf-v6-c-progress__bar--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
6
8
|
--pf-v6-c-progress__measure--m-static-width--MinWidth: 4.5ch;
|
|
7
9
|
--pf-v6-c-progress__status--Gap: var(--pf-t--global--spacer--sm);
|
|
8
10
|
--pf-v6-c-progress__status-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
@@ -164,6 +166,14 @@
|
|
|
164
166
|
background-color: var(--pf-v6-c-progress__bar--BackgroundColor);
|
|
165
167
|
border-radius: var(--pf-v6-c-progress__bar--BorderRadius);
|
|
166
168
|
}
|
|
169
|
+
.pf-v6-c-progress__bar::before {
|
|
170
|
+
position: absolute;
|
|
171
|
+
inset: 0;
|
|
172
|
+
pointer-events: none;
|
|
173
|
+
content: "";
|
|
174
|
+
border: var(--pf-v6-c-progress__bar--BorderWidth) solid var(--pf-v6-c-progress__bar--BorderColor);
|
|
175
|
+
border-radius: inherit;
|
|
176
|
+
}
|
|
167
177
|
|
|
168
178
|
.pf-v6-c-progress__indicator {
|
|
169
179
|
position: absolute;
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
--#{$progress}__bar--Height: var(--pf-t--global--spacer--md);
|
|
9
9
|
--#{$progress}__bar--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default); // the bar always needs white under it so that the semi-transparent color shows correctly
|
|
10
10
|
--#{$progress}__bar--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
11
|
+
--#{$progress}__bar--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
12
|
+
--#{$progress}__bar--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
11
13
|
--#{$progress}__measure--m-static-width--MinWidth: 4.5ch; // 4.5 because the % character is wider than a 0
|
|
12
14
|
--#{$progress}__status--Gap: var(--pf-t--global--spacer--sm);
|
|
13
15
|
--#{$progress}__status-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
@@ -201,6 +203,15 @@
|
|
|
201
203
|
overflow: hidden;
|
|
202
204
|
background-color: var(--#{$progress}__bar--BackgroundColor);
|
|
203
205
|
border-radius: var(--#{$progress}__bar--BorderRadius);
|
|
206
|
+
|
|
207
|
+
&::before {
|
|
208
|
+
position: absolute;
|
|
209
|
+
inset: 0;
|
|
210
|
+
pointer-events: none;
|
|
211
|
+
content: '';
|
|
212
|
+
border: var(--#{$progress}__bar--BorderWidth) solid var(--#{$progress}__bar--BorderColor);
|
|
213
|
+
border-radius: inherit;
|
|
214
|
+
}
|
|
204
215
|
}
|
|
205
216
|
|
|
206
217
|
// the progress__indicator is the part that advances (widens) as progress is made
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
--pf-v6-c-simple-list__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
|
|
12
12
|
--pf-v6-c-simple-list__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
13
13
|
--pf-v6-c-simple-list__item-link--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
|
14
|
+
--pf-v6-c-simple-list__item-link--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
15
|
+
--pf-v6-c-simple-list__item-link--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
16
|
+
--pf-v6-c-simple-list__item-link--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
17
|
+
--pf-v6-c-simple-list__item-link--m-current--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
|
|
14
18
|
--pf-v6-c-simple-list__item-link--m-link--Color: var(--pf-t--global--text--color--link--default);
|
|
15
19
|
--pf-v6-c-simple-list__item-link--m-link--m-current--Color: var(--pf-t--global--text--color--link--hover);
|
|
16
20
|
--pf-v6-c-simple-list__item-link--m-link--hover--Color: var(--pf-t--global--text--color--link--hover);
|
|
@@ -25,6 +29,7 @@
|
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
.pf-v6-c-simple-list__item-link {
|
|
32
|
+
position: relative;
|
|
28
33
|
display: block;
|
|
29
34
|
width: 100%;
|
|
30
35
|
padding-block-start: var(--pf-v6-c-simple-list__item-link--PaddingBlockStart);
|
|
@@ -39,6 +44,14 @@
|
|
|
39
44
|
border: none;
|
|
40
45
|
border-radius: var(--pf-v6-c-simple-list__item-link--BorderRadius);
|
|
41
46
|
}
|
|
47
|
+
.pf-v6-c-simple-list__item-link::after {
|
|
48
|
+
position: absolute;
|
|
49
|
+
inset: 0;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
content: "";
|
|
52
|
+
border: var(--pf-v6-c-simple-list__item-link--BorderWidth) solid var(--pf-v6-c-simple-list__item-link--BorderColor);
|
|
53
|
+
border-radius: inherit;
|
|
54
|
+
}
|
|
42
55
|
.pf-v6-c-simple-list__item-link.pf-m-link {
|
|
43
56
|
--pf-v6-c-simple-list__item-link--Color: var(--pf-v6-c-simple-list__item-link--m-link--Color);
|
|
44
57
|
--pf-v6-c-simple-list__item-link--hover--Color: var(--pf-v6-c-simple-list__item-link--m-link--m-current--Color);
|
|
@@ -47,11 +60,13 @@
|
|
|
47
60
|
.pf-v6-c-simple-list__item-link:is(:hover, :focus) {
|
|
48
61
|
--pf-v6-c-simple-list__item-link--BackgroundColor: var(--pf-v6-c-simple-list__item-link--hover--BackgroundColor);
|
|
49
62
|
--pf-v6-c-simple-list__item-link--Color: var(--pf-v6-c-simple-list__item-link--hover--Color);
|
|
63
|
+
--pf-v6-c-simple-list__item-link--BorderWidth: var(--pf-v6-c-simple-list__item-link--hover--BorderWidth);
|
|
50
64
|
text-decoration-line: none;
|
|
51
65
|
}
|
|
52
66
|
.pf-v6-c-simple-list__item-link.pf-m-current {
|
|
53
67
|
--pf-v6-c-simple-list__item-link--BackgroundColor: var(--pf-v6-c-simple-list__item-link--m-current--BackgroundColor);
|
|
54
68
|
--pf-v6-c-simple-list__item-link--Color: var(--pf-v6-c-simple-list__item-link--m-current--Color);
|
|
69
|
+
--pf-v6-c-simple-list__item-link--BorderWidth: var(--pf-v6-c-simple-list__item-link--m-current--BorderWidth);
|
|
55
70
|
}
|
|
56
71
|
|
|
57
72
|
.pf-v6-c-simple-list__title {
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
--#{$simple-list}__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
|
|
15
15
|
--#{$simple-list}__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
16
16
|
--#{$simple-list}__item-link--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
|
17
|
-
|
|
17
|
+
--#{$simple-list}__item-link--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
18
|
+
--#{$simple-list}__item-link--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
19
|
+
--#{$simple-list}__item-link--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
20
|
+
--#{$simple-list}__item-link--m-current--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
|
|
21
|
+
|
|
18
22
|
// Simple list item link
|
|
19
23
|
--#{$simple-list}__item-link--m-link--Color: var(--pf-t--global--text--color--link--default);
|
|
20
24
|
--#{$simple-list}__item-link--m-link--m-current--Color: var(--pf-t--global--text--color--link--hover);
|
|
@@ -34,6 +38,7 @@
|
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
.#{$simple-list}__item-link {
|
|
41
|
+
position: relative;
|
|
37
42
|
display: block;
|
|
38
43
|
width: 100%;
|
|
39
44
|
padding-block-start: var(--#{$simple-list}__item-link--PaddingBlockStart);
|
|
@@ -48,6 +53,15 @@
|
|
|
48
53
|
border: none;
|
|
49
54
|
border-radius: var(--#{$simple-list}__item-link--BorderRadius);
|
|
50
55
|
|
|
56
|
+
&::after {
|
|
57
|
+
position: absolute;
|
|
58
|
+
inset: 0;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
content: "";
|
|
61
|
+
border: var(--#{$simple-list}__item-link--BorderWidth) solid var(--#{$simple-list}__item-link--BorderColor);
|
|
62
|
+
border-radius: inherit;
|
|
63
|
+
}
|
|
64
|
+
|
|
51
65
|
&.pf-m-link {
|
|
52
66
|
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--m-link--Color);
|
|
53
67
|
--#{$simple-list}__item-link--hover--Color: var(--#{$simple-list}__item-link--m-link--m-current--Color);
|
|
@@ -57,6 +71,7 @@
|
|
|
57
71
|
&:is(:hover, :focus) {
|
|
58
72
|
--#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--hover--BackgroundColor);
|
|
59
73
|
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--hover--Color);
|
|
74
|
+
--#{$simple-list}__item-link--BorderWidth: var(--#{$simple-list}__item-link--hover--BorderWidth);
|
|
60
75
|
|
|
61
76
|
text-decoration-line: none;
|
|
62
77
|
}
|
|
@@ -64,6 +79,7 @@
|
|
|
64
79
|
&.pf-m-current {
|
|
65
80
|
--#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--m-current--BackgroundColor);
|
|
66
81
|
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--m-current--Color);
|
|
82
|
+
--#{$simple-list}__item-link--BorderWidth: var(--#{$simple-list}__item-link--m-current--BorderWidth);
|
|
67
83
|
}
|
|
68
84
|
}
|
|
69
85
|
|
|
@@ -61,6 +61,9 @@
|
|
|
61
61
|
--pf-v6-c-table__button--Color: var(--pf-t--global--text--color--regular);
|
|
62
62
|
--pf-v6-c-table__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
63
63
|
--pf-v6-c-table__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
|
|
64
|
+
--pf-v6-c-table__button--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
65
|
+
--pf-v6-c-table__button--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
66
|
+
--pf-v6-c-table__button--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
64
67
|
--pf-v6-c-table__button--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
65
68
|
--pf-v6-c-table__button--hover--Color: var(--pf-t--global--text--color--regular);
|
|
66
69
|
--pf-v6-c-table__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
@@ -90,6 +93,8 @@
|
|
|
90
93
|
--pf-v6-c-table__expandable-row-content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
91
94
|
--pf-v6-c-table__expandable-row-content--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
92
95
|
--pf-v6-c-table__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
96
|
+
--pf-v6-c-table__expandable-row-content--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
97
|
+
--pf-v6-c-table__expandable-row-content--BorderWidth: 0;
|
|
93
98
|
--pf-v6-c-table__control-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
94
99
|
--pf-v6-c-table__control-row--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
95
100
|
--pf-v6-c-table__control-row__tbody--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
@@ -111,10 +116,12 @@
|
|
|
111
116
|
--pf-v6-c-table__compound-expansion-toggle__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
112
117
|
--pf-v6-c-table__compound-expansion-toggle__button--expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
113
118
|
--pf-v6-c-table__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
119
|
+
--pf-v6-c-table__compound-expansion-toggle__button--after--BorderRadius: inherit;
|
|
114
120
|
--pf-v6-c-table__compound-expansion-toggle__button--after--BorderBlockStartWidth: 0;
|
|
115
121
|
--pf-v6-c-table__compound-expansion-toggle__button--hover--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
|
|
116
122
|
--pf-v6-c-table__compound-expansion-toggle--m-expanded__button--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
|
|
117
123
|
--pf-v6-c-table--compound-expansion--m-expanded--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
124
|
+
--pf-v6-c-table--compound-expansion--m-expanded--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
118
125
|
--pf-v6-c-table--m-compact__th--PaddingBlockStart: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
|
|
119
126
|
--pf-v6-c-table--m-compact__th--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
120
127
|
--pf-v6-c-table--m-compact--cell--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -526,6 +533,7 @@
|
|
|
526
533
|
}
|
|
527
534
|
|
|
528
535
|
.pf-v6-c-table__button {
|
|
536
|
+
position: relative;
|
|
529
537
|
width: auto;
|
|
530
538
|
padding-block-start: var(--pf-v6-c-table__button--PaddingBlockStart);
|
|
531
539
|
padding-block-end: var(--pf-v6-c-table__button--PaddingBlockEnd);
|
|
@@ -544,6 +552,14 @@
|
|
|
544
552
|
border-radius: var(--pf-v6-c-table__button--BorderRadius);
|
|
545
553
|
outline-offset: var(--pf-v6-c-table__button--OutlineOffset);
|
|
546
554
|
}
|
|
555
|
+
.pf-v6-c-table__button::after {
|
|
556
|
+
position: absolute;
|
|
557
|
+
inset: 0;
|
|
558
|
+
pointer-events: none;
|
|
559
|
+
content: "";
|
|
560
|
+
border: var(--pf-v6-c-table__button--BorderWidth) solid var(--pf-v6-c-table__button--BorderColor);
|
|
561
|
+
border-radius: inherit;
|
|
562
|
+
}
|
|
547
563
|
.pf-v6-c-table .pf-v6-c-table .pf-v6-c-table__button {
|
|
548
564
|
margin-block-end: 0;
|
|
549
565
|
}
|
|
@@ -719,6 +735,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
719
735
|
content: "";
|
|
720
736
|
border: 0;
|
|
721
737
|
border-block-start: var(--pf-v6-c-table__compound-expansion-toggle__button--after--BorderBlockStartWidth) solid var(--pf-v6-c-table__compound-expansion-toggle__button--after--BorderColor);
|
|
738
|
+
border-radius: var(--pf-v6-c-table__compound-expansion-toggle__button--after--BorderRadius);
|
|
722
739
|
}
|
|
723
740
|
.pf-v6-c-table__compound-expansion-toggle:hover, .pf-v6-c-table__compound-expansion-toggle:focus-within {
|
|
724
741
|
--pf-v6-c-table__compound-expansion-toggle__button--BackgroundColor: var(--pf-v6-c-table__compound-expansion-toggle__button--hover--BackgroundColor);
|
|
@@ -753,6 +770,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
753
770
|
--pf-v6-c-table__sort-indicator--Color: var(--pf-v6-c-table__sort__button--hover__sort-indicator--Color);
|
|
754
771
|
--pf-v6-c-table__sort__button__text--Color: var(--pf-v6-c-table__sort__button--hover__text--Color);
|
|
755
772
|
--pf-v6-c-table__button--BackgroundColor: var(--pf-v6-c-table__button--hover--BackgroundColor);
|
|
773
|
+
--pf-v6-c-table__button--BorderWidth: var(--pf-v6-c-table__button--hover--BorderWidth);
|
|
756
774
|
}
|
|
757
775
|
.pf-v6-c-table__sort .pf-v6-c-table__button .pf-v6-c-table__text {
|
|
758
776
|
color: var(--pf-v6-c-table__sort__button__text--Color);
|
|
@@ -802,16 +820,26 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
802
820
|
border-radius: 0;
|
|
803
821
|
}
|
|
804
822
|
.pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content {
|
|
823
|
+
position: relative;
|
|
805
824
|
padding-block-start: var(--pf-v6-c-table__expandable-row-content--PaddingBlockStart);
|
|
806
825
|
padding-block-end: var(--pf-v6-c-table__expandable-row-content--PaddingBlockEnd);
|
|
807
826
|
padding-inline-start: var(--pf-v6-c-table__expandable-row-content--PaddingInlineStart);
|
|
808
827
|
padding-inline-end: var(--pf-v6-c-table__expandable-row-content--PaddingInlineEnd);
|
|
809
828
|
background-color: var(--pf-v6-c-table__expandable-row-content--BackgroundColor);
|
|
829
|
+
border: 0;
|
|
810
830
|
border-radius: var(--pf-v6-c-table__expandable-row-content--BorderRadius);
|
|
811
831
|
}
|
|
812
832
|
.pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content.pf-m-no-background {
|
|
813
833
|
background-color: transparent;
|
|
814
834
|
}
|
|
835
|
+
.pf-v6-c-table__expandable-row .pf-v6-c-table__td:not(.pf-m-no-padding) > .pf-v6-c-table__expandable-row-content::after {
|
|
836
|
+
position: absolute;
|
|
837
|
+
inset: 0;
|
|
838
|
+
pointer-events: none;
|
|
839
|
+
content: "";
|
|
840
|
+
border: var(--pf-v6-c-table__expandable-row-content--BorderWidth) solid var(--pf-v6-c-table__expandable-row-content--BorderColor);
|
|
841
|
+
border-radius: inherit;
|
|
842
|
+
}
|
|
815
843
|
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
816
844
|
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
|
817
845
|
border-block-end-width: var(--pf-v6-c-table--border-width--base);
|
|
@@ -869,6 +897,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
869
897
|
vertical-align: top;
|
|
870
898
|
}
|
|
871
899
|
.pf-v6-c-table__tbody .pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
900
|
+
--pf-v6-c-table__expandable-row-content--BorderWidth: var(--pf-v6-c-table--compound-expansion--m-expanded--BorderWidth);
|
|
872
901
|
background-color: var(--pf-v6-c-table--compound-expansion--m-expanded--BackgroundColor);
|
|
873
902
|
}
|
|
874
903
|
|
|
@@ -96,6 +96,9 @@
|
|
|
96
96
|
--#{$table}__button--Color: var(--pf-t--global--text--color--regular);
|
|
97
97
|
--#{$table}__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
98
98
|
--#{$table}__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
|
|
99
|
+
--#{$table}__button--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
100
|
+
--#{$table}__button--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
101
|
+
--#{$table}__button--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
99
102
|
--#{$table}__button--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
100
103
|
--#{$table}__button--hover--Color: var(--pf-t--global--text--color--regular);
|
|
101
104
|
--#{$table}__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
@@ -143,6 +146,8 @@
|
|
|
143
146
|
--#{$table}__expandable-row-content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
144
147
|
--#{$table}__expandable-row-content--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
145
148
|
--#{$table}__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
149
|
+
--#{$table}__expandable-row-content--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
150
|
+
--#{$table}__expandable-row-content--BorderWidth: 0;
|
|
146
151
|
|
|
147
152
|
// * Table control row
|
|
148
153
|
--#{$table}__control-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
@@ -182,12 +187,14 @@
|
|
|
182
187
|
|
|
183
188
|
// * Table compound expansion toggle button after
|
|
184
189
|
--#{$table}__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
190
|
+
--#{$table}__compound-expansion-toggle__button--after--BorderRadius: inherit;
|
|
185
191
|
--#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth: 0;
|
|
186
192
|
--#{$table}__compound-expansion-toggle__button--hover--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
|
|
187
193
|
--#{$table}__compound-expansion-toggle--m-expanded__button--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
|
|
188
194
|
|
|
189
195
|
// * Compound expandable
|
|
190
196
|
--#{$table}--compound-expansion--m-expanded--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
197
|
+
--#{$table}--compound-expansion--m-expanded--BorderWidth: var(--pf-t--global--high-contrast--border--width--regular);
|
|
191
198
|
|
|
192
199
|
// * Table compact th
|
|
193
200
|
--#{$table}--m-compact__th--PaddingBlockStart: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
|
|
@@ -734,6 +741,7 @@
|
|
|
734
741
|
|
|
735
742
|
// - Table button
|
|
736
743
|
.#{$table}__button {
|
|
744
|
+
position: relative;
|
|
737
745
|
width: auto;
|
|
738
746
|
padding-block-start: var(--#{$table}__button--PaddingBlockStart);
|
|
739
747
|
padding-block-end: var(--#{$table}__button--PaddingBlockEnd);
|
|
@@ -752,6 +760,15 @@
|
|
|
752
760
|
border-radius: var(--#{$table}__button--BorderRadius);
|
|
753
761
|
outline-offset: var(--#{$table}__button--OutlineOffset);
|
|
754
762
|
|
|
763
|
+
&::after {
|
|
764
|
+
position: absolute;
|
|
765
|
+
inset: 0;
|
|
766
|
+
pointer-events: none;
|
|
767
|
+
content: '';
|
|
768
|
+
border: var(--#{$table}__button--BorderWidth) solid var(--#{$table}__button--BorderColor);
|
|
769
|
+
border-radius: inherit;
|
|
770
|
+
}
|
|
771
|
+
|
|
755
772
|
// Table table table button
|
|
756
773
|
.#{$table} .#{$table} & {
|
|
757
774
|
margin-block-end: 0; // remove offset in nested tables
|
|
@@ -976,6 +993,7 @@
|
|
|
976
993
|
content: '';
|
|
977
994
|
border: 0;
|
|
978
995
|
border-block-start: var(--#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth) solid var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
|
|
996
|
+
border-radius: var(--#{$table}__compound-expansion-toggle__button--after--BorderRadius);
|
|
979
997
|
}
|
|
980
998
|
|
|
981
999
|
&:hover,
|
|
@@ -1021,6 +1039,7 @@
|
|
|
1021
1039
|
--#{$table}__sort-indicator--Color: var(--#{$table}__sort__button--hover__sort-indicator--Color);
|
|
1022
1040
|
--#{$table}__sort__button__text--Color: var(--#{$table}__sort__button--hover__text--Color);
|
|
1023
1041
|
--#{$table}__button--BackgroundColor: var(--#{$table}__button--hover--BackgroundColor);
|
|
1042
|
+
--#{$table}__button--BorderWidth: var(--#{$table}__button--hover--BorderWidth);
|
|
1024
1043
|
}
|
|
1025
1044
|
|
|
1026
1045
|
// - Table text
|
|
@@ -1096,11 +1115,13 @@
|
|
|
1096
1115
|
|
|
1097
1116
|
// - Table expandable row content
|
|
1098
1117
|
.#{$table}__expandable-row-content {
|
|
1118
|
+
position: relative;
|
|
1099
1119
|
padding-block-start: var(--#{$table}__expandable-row-content--PaddingBlockStart);
|
|
1100
1120
|
padding-block-end: var(--#{$table}__expandable-row-content--PaddingBlockEnd);
|
|
1101
1121
|
padding-inline-start: var(--#{$table}__expandable-row-content--PaddingInlineStart);
|
|
1102
1122
|
padding-inline-end: var(--#{$table}__expandable-row-content--PaddingInlineEnd);
|
|
1103
1123
|
background-color: var(--#{$table}__expandable-row-content--BackgroundColor);
|
|
1124
|
+
border: 0;
|
|
1104
1125
|
border-radius: var(--#{$table}__expandable-row-content--BorderRadius);
|
|
1105
1126
|
|
|
1106
1127
|
&.pf-m-no-background {
|
|
@@ -1108,6 +1129,16 @@
|
|
|
1108
1129
|
}
|
|
1109
1130
|
}
|
|
1110
1131
|
|
|
1132
|
+
.#{$table}__td:not(.pf-m-no-padding) > .#{$table}__expandable-row-content::after {
|
|
1133
|
+
position: absolute;
|
|
1134
|
+
inset: 0;
|
|
1135
|
+
pointer-events: none;
|
|
1136
|
+
content: "";
|
|
1137
|
+
border: var(--#{$table}__expandable-row-content--BorderWidth) solid var(--#{$table}__expandable-row-content--BorderColor);
|
|
1138
|
+
border-radius: inherit;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
|
|
1111
1142
|
// - Table expandable row content expanded
|
|
1112
1143
|
&.pf-m-expanded {
|
|
1113
1144
|
border-block-end-color: var(--#{$table}__expandable-row--m-expanded--BorderBlockEndColor);
|
|
@@ -1192,6 +1223,8 @@
|
|
|
1192
1223
|
|
|
1193
1224
|
// TODO: make this a class `compound expansion content`
|
|
1194
1225
|
.#{$table}__control-row ~ .#{$table}__expandable-row.pf-m-expanded {
|
|
1226
|
+
--#{$table}__expandable-row-content--BorderWidth: var(--#{$table}--compound-expansion--m-expanded--BorderWidth);
|
|
1227
|
+
|
|
1195
1228
|
background-color: var(--#{$table}--compound-expansion--m-expanded--BackgroundColor);
|
|
1196
1229
|
}
|
|
1197
1230
|
}
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -46,6 +46,10 @@
|
|
|
46
46
|
--pf-v6-c-tabs__link--FontSize: var(--pf-t--global--font--size--sm);
|
|
47
47
|
--pf-v6-c-tabs__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
48
48
|
--pf-v6-c-tabs__link--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
49
|
+
--pf-v6-c-tabs__link--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
50
|
+
--pf-v6-c-tabs__link--BorderColor: transparent;
|
|
51
|
+
--pf-v6-c-tabs__link--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
52
|
+
--pf-v6-c-tabs__link--disabled--BorderColor: transparent;
|
|
49
53
|
--pf-v6-c-tabs__link--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
50
54
|
--pf-v6-c-tabs__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
51
55
|
--pf-v6-c-tabs__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
@@ -545,6 +549,7 @@
|
|
|
545
549
|
color: var(--pf-v6-c-tabs__link--Color);
|
|
546
550
|
text-decoration-line: none;
|
|
547
551
|
background-color: var(--pf-v6-c-tabs__link--BackgroundColor);
|
|
552
|
+
border: var(--pf-v6-c-tabs__link--BorderWidth) solid var(--pf-v6-c-tabs__link--BorderColor);
|
|
548
553
|
border-radius: var(--pf-v6-c-tabs__link--BorderRadius);
|
|
549
554
|
transition: background-color var(--pf-v6-c-tabs__link--TransitionDuration--background-color) var(--pf-v6-c-tabs__link--TransitionTimingFunction--background-color);
|
|
550
555
|
}
|
|
@@ -578,6 +583,7 @@
|
|
|
578
583
|
|
|
579
584
|
.pf-v6-c-tabs__link:where(:hover, :focus) {
|
|
580
585
|
--pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__link--hover--BackgroundColor);
|
|
586
|
+
--pf-v6-c-tabs__link--BorderColor: var(--pf-v6-c-tabs__link--hover--BorderColor);
|
|
581
587
|
}
|
|
582
588
|
.pf-v6-c-tabs__link:disabled, .pf-v6-c-tabs__link.pf-m-disabled {
|
|
583
589
|
pointer-events: none;
|
|
@@ -592,6 +598,7 @@
|
|
|
592
598
|
|
|
593
599
|
.pf-v6-c-tabs__link:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
|
|
594
600
|
--pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__link--disabled--BackgroundColor);
|
|
601
|
+
--pf-v6-c-tabs__link--BorderColor: var(--pf-v6-c-tabs__link--disabled--BorderColor);
|
|
595
602
|
}
|
|
596
603
|
.pf-v6-c-tabs__item.pf-m-action.pf-m-disabled {
|
|
597
604
|
--pf-v6-c-tabs__link--BackgroundColor: transparent;
|
|
@@ -66,6 +66,10 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
66
66
|
--#{$tabs}__link--FontSize: var(--pf-t--global--font--size--sm);
|
|
67
67
|
--#{$tabs}__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
68
68
|
--#{$tabs}__link--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
69
|
+
--#{$tabs}__link--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
|
|
70
|
+
--#{$tabs}__link--BorderColor: transparent;
|
|
71
|
+
--#{$tabs}__link--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
72
|
+
--#{$tabs}__link--disabled--BorderColor: transparent;
|
|
69
73
|
--#{$tabs}__link--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
70
74
|
--#{$tabs}__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
71
75
|
--#{$tabs}__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
@@ -630,6 +634,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
630
634
|
color: var(--#{$tabs}__link--Color);
|
|
631
635
|
text-decoration-line: none;
|
|
632
636
|
background-color: var(--#{$tabs}__link--BackgroundColor);
|
|
637
|
+
border: var(--#{$tabs}__link--BorderWidth) solid var(--#{$tabs}__link--BorderColor);
|
|
633
638
|
border-radius: var(--#{$tabs}__link--BorderRadius);
|
|
634
639
|
transition: background-color var(--#{$tabs}__link--TransitionDuration--background-color) var(--#{$tabs}__link--TransitionTimingFunction--background-color);
|
|
635
640
|
|
|
@@ -665,7 +670,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
665
670
|
|
|
666
671
|
&:where(:hover, :focus) {
|
|
667
672
|
--#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--hover--BackgroundColor);
|
|
668
|
-
|
|
673
|
+
--#{$tabs}__link--BorderColor: var(--#{$tabs}__link--hover--BorderColor);
|
|
674
|
+
}
|
|
669
675
|
|
|
670
676
|
&:disabled,
|
|
671
677
|
&.pf-m-disabled {
|
|
@@ -685,6 +691,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
685
691
|
|
|
686
692
|
&:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
|
|
687
693
|
--#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--disabled--BackgroundColor);
|
|
694
|
+
--#{$tabs}__link--BorderColor: var(--#{$tabs}__link--disabled--BorderColor);
|
|
688
695
|
}
|
|
689
696
|
|
|
690
697
|
@at-root .#{$tabs}__item.pf-m-action.pf-m-disabled {
|