@patternfly/patternfly 6.3.1 → 6.4.0-prerelease.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/README.md +23 -15
- package/base/normalize.scss +4 -0
- package/base/patternfly-variables.css +1172 -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 +1 -0
- package/base/tokens/tokens-palette.scss +9 -1
- package/components/Accordion/accordion.css +42 -15
- package/components/Accordion/accordion.scss +48 -18
- package/components/Alert/alert-group.css +17 -15
- package/components/Alert/alert-group.scss +22 -18
- 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 +34 -4
- package/components/Button/button.scss +36 -6
- package/components/CalendarMonth/calendar-month.css +35 -4
- package/components/CalendarMonth/calendar-month.scss +38 -4
- package/components/Card/card.css +7 -4
- package/components/Card/card.scss +7 -4
- package/components/CodeBlock/code-block.css +3 -0
- package/components/CodeBlock/code-block.scss +3 -0
- package/components/CodeEditor/code-editor.css +23 -3
- package/components/CodeEditor/code-editor.scss +28 -5
- package/components/DatePicker/date-picker.css +3 -0
- package/components/DatePicker/date-picker.scss +4 -0
- package/components/Divider/divider.css +2 -0
- package/components/Divider/divider.scss +2 -0
- package/components/Drawer/drawer.css +46 -41
- package/components/Drawer/drawer.scss +45 -36
- package/components/DualListSelector/dual-list-selector.css +21 -4
- package/components/DualListSelector/dual-list-selector.scss +23 -4
- package/components/ExpandableSection/expandable-section.css +6 -2
- package/components/ExpandableSection/expandable-section.scss +7 -3
- package/components/FormControl/form-control.css +6 -7
- package/components/FormControl/form-control.scss +8 -10
- 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 +18 -0
- package/components/Menu/menu.scss +19 -1
- package/components/MenuToggle/menu-toggle.css +13 -6
- package/components/MenuToggle/menu-toggle.scss +13 -6
- 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 +73 -25
- package/components/Page/page.scss +60 -19
- package/components/Pagination/pagination.css +15 -2
- package/components/Pagination/pagination.scss +15 -2
- package/components/Panel/panel.css +14 -1
- package/components/Panel/panel.scss +14 -1
- package/components/Popover/popover.css +4 -0
- package/components/Popover/popover.scss +4 -0
- package/components/Progress/progress.css +19 -0
- package/components/Progress/progress.scss +22 -0
- package/components/Sidebar/sidebar.css +7 -0
- package/components/Sidebar/sidebar.scss +7 -0
- package/components/SimpleList/simple-list.css +15 -0
- package/components/SimpleList/simple-list.scss +17 -1
- package/components/Slider/slider.css +9 -0
- package/components/Slider/slider.scss +9 -0
- package/components/Switch/switch.css +7 -1
- package/components/Switch/switch.scss +7 -1
- package/components/Table/table.css +29 -0
- package/components/Table/table.scss +33 -0
- package/components/Tabs/tabs.css +18 -7
- package/components/Tabs/tabs.scss +19 -11
- package/components/TextInputGroup/text-input-group.css +3 -0
- package/components/TextInputGroup/text-input-group.scss +4 -1
- package/components/ToggleGroup/toggle-group.css +18 -9
- package/components/ToggleGroup/toggle-group.scss +24 -17
- package/components/Toolbar/toolbar.css +7 -0
- package/components/Toolbar/toolbar.scss +7 -0
- package/components/TreeView/tree-view.css +15 -0
- package/components/TreeView/tree-view.scss +17 -0
- package/components/Wizard/wizard.css +37 -6
- package/components/Wizard/wizard.scss +44 -10
- package/components/_index.css +615 -167
- package/docs/components/Alert/examples/Alert.md +3 -4
- package/docs/components/Button/examples/Button.md +1 -3
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +25 -33
- package/docs/components/CodeBlock/examples/CodeBlock.md +13 -7
- package/docs/components/CodeEditor/examples/CodeEditor.md +20 -6
- package/docs/components/DataList/examples/DataList.md +66 -184
- package/docs/components/DatePicker/examples/DatePicker.md +4 -1
- package/docs/components/DescriptionList/examples/DescriptionList.md +78 -22
- package/docs/components/DualListSelector/examples/DualListSelector.md +0 -195
- package/docs/components/EmptyState/examples/EmptyState.md +6 -6
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +92 -18
- package/docs/components/FileUpload/examples/FileUpload.md +4 -3
- package/docs/components/Form/examples/Form.md +19 -18
- package/docs/components/HelperText/examples/HelperText.md +65 -75
- package/docs/components/Hint/examples/Hint.md +3 -3
- package/docs/components/Icon/examples/Icon.md +0 -10
- package/docs/components/InlineEdit/examples/InlineEdit.md +0 -4
- package/docs/components/JumpLinks/examples/JumpLinks.md +164 -77
- package/docs/components/Label/examples/Label.md +2 -2
- package/docs/components/Login/examples/Login.md +42 -37
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +32 -6
- package/docs/components/Pagination/examples/Pagination.md +111 -0
- package/docs/components/Popover/examples/Popover.md +0 -4
- package/docs/components/Progress/examples/Progress.md +223 -210
- package/docs/components/Skeleton/examples/Skeleton.md +21 -7
- package/docs/components/Table/examples/Table.md +947 -1423
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +126 -47
- package/docs/components/Title/examples/Title.md +8 -8
- package/docs/components/Truncate/examples/Truncate.md +8 -6
- package/docs/components/Wizard/examples/Wizard.md +583 -0
- package/docs/demos/Alert/examples/Alert.md +28 -19
- package/docs/demos/Card/examples/Card.md +8 -5
- package/docs/demos/CardView/examples/CardView.md +81 -85
- package/docs/demos/Dashboard/examples/Dashboard.md +10 -22
- package/docs/demos/DataList/examples/DataList.md +528 -168
- package/docs/demos/DescriptionList/examples/DescriptionList.md +13 -3
- package/docs/demos/Drawer/examples/Drawer.md +0 -2
- package/docs/demos/Form/examples/BasicForms.md +93 -62
- package/docs/demos/HelperText/examples/HelperText.md +31 -23
- package/docs/demos/JumpLinks/examples/JumpLinks.md +0 -5
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +4 -4
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +56 -38
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +726 -312
- package/docs/demos/Skeleton/examples/Skeleton.md +3 -1
- package/docs/demos/Table/examples/Table.md +5 -20
- package/docs/demos/Tabs/examples/Tabs.md +2 -1
- package/package.json +12 -7
- package/patternfly-base-no-globals.css +1172 -1
- package/patternfly-base.css +1176 -1
- package/patternfly-no-globals.css +1787 -168
- package/patternfly.css +1822 -199
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
--#{$slider}__rail-track--Height: #{pf-size-prem(4px)};
|
|
11
11
|
--#{$slider}__rail-track--before--base--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
12
12
|
--#{$slider}__rail-track--before--fill--BackgroundColor: var(--pf-t--global--border--color--hover);
|
|
13
|
+
--#{$slider}__rail-track--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
14
|
+
--#{$slider}__rail-track--before--BorderColor: transparent;
|
|
13
15
|
--#{$slider}__rail-track--before--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
|
14
16
|
--#{$slider}__rail-track--before--fill--BackgroundColor--gradient-stop: var(--#{$slider}--value);
|
|
15
17
|
|
|
@@ -23,6 +25,8 @@
|
|
|
23
25
|
--#{$slider}__step-tick--Height: #{pf-size-prem(4px)};
|
|
24
26
|
--#{$slider}__step-tick--BackgroundColor: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
|
|
25
27
|
--#{$slider}__step-tick--TranslateX: -50%;
|
|
28
|
+
--#{$slider}__step-tick--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
29
|
+
--#{$slider}__step-tick--BorderColor: transparent;
|
|
26
30
|
--#{$slider}__step-tick--BorderRadius: var(--pf-t--global--border--radius--sharp);
|
|
27
31
|
--#{$slider}__step--m-active__slider-tick--BackgroundColor: var(--pf-t--global--icon--color--on-brand--default);
|
|
28
32
|
--#{$slider}__step--first-child__step-tick--TranslateX: 0;
|
|
@@ -42,6 +46,8 @@
|
|
|
42
46
|
--#{$slider}__thumb--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
43
47
|
--#{$slider}__thumb--TranslateX: -50%;
|
|
44
48
|
--#{$slider}__thumb--TranslateY: -50%;
|
|
49
|
+
--#{$slider}__thumb--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
50
|
+
--#{$slider}__thumb--BorderColor: transparent;
|
|
45
51
|
--#{$slider}__thumb--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
46
52
|
--#{$slider}__thumb--BoxShadow--base:
|
|
47
53
|
0 0 0 2px var(--pf-t--global--background--color--primary--default),
|
|
@@ -127,6 +133,7 @@
|
|
|
127
133
|
var(--#{$slider}__rail-track--before--fill--BackgroundColor) var(--#{$slider}__rail-track--before--fill--BackgroundColor--gradient-stop),
|
|
128
134
|
var(--#{$slider}__rail-track--before--base--BackgroundColor) var(--#{$slider}__rail-track--before--fill--BackgroundColor--gradient-stop)
|
|
129
135
|
);
|
|
136
|
+
border: var(--#{$slider}__rail-track--before--BorderWidth) solid var(--#{$slider}__rail-track--before--BorderColor);
|
|
130
137
|
border-radius: var(--#{$slider}__rail-track--before--BorderRadius);
|
|
131
138
|
}
|
|
132
139
|
}
|
|
@@ -171,6 +178,7 @@
|
|
|
171
178
|
width: var(--#{$slider}__step-tick--Width);
|
|
172
179
|
height: var(--#{$slider}__step-tick--Height);
|
|
173
180
|
background-color: var(--#{$slider}__step-tick--BackgroundColor);
|
|
181
|
+
border: var(--#{$slider}__step-tick--BorderWidth) solid var(--#{$slider}__step-tick--BorderColor);
|
|
174
182
|
border-radius: var(--#{$slider}__step-tick--BorderRadius);
|
|
175
183
|
}
|
|
176
184
|
|
|
@@ -200,6 +208,7 @@
|
|
|
200
208
|
height: var(--#{$slider}__thumb--Height);
|
|
201
209
|
cursor: pointer;
|
|
202
210
|
background-color: var(--#{$slider}__thumb--BackgroundColor);
|
|
211
|
+
border: var(--#{$slider}__thumb--BorderWidth) solid var(--#{$slider}__thumb--BorderColor);
|
|
203
212
|
border-radius: var(--#{$slider}__thumb--BorderRadius);
|
|
204
213
|
box-shadow: var(--#{$slider}__thumb--BoxShadow);
|
|
205
214
|
|
|
@@ -10,11 +10,13 @@
|
|
|
10
10
|
--pf-v6-c-switch--Height: auto;
|
|
11
11
|
--pf-v6-c-switch__input--checked__toggle--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
12
12
|
--pf-v6-c-switch__input--checked__toggle--before--TranslateX: calc(100% + var(--pf-v6-c-switch__toggle-icon--Offset));
|
|
13
|
-
--pf-v6-c-switch__input--checked__toggle--
|
|
13
|
+
--pf-v6-c-switch__input--checked__toggle--BorderColor: transparent;
|
|
14
|
+
--pf-v6-c-switch__input--checked__toggle--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
14
15
|
--pf-v6-c-switch__input--checked__label--Color: var(--pf-t--global--text--color--regular);
|
|
15
16
|
--pf-v6-c-switch__input--not-checked__label--Color: var(--pf-t--global--text--color--subtle);
|
|
16
17
|
--pf-v6-c-switch__input--disabled__label--Color: var(--pf-t--global--text--color--disabled);
|
|
17
18
|
--pf-v6-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
19
|
+
--pf-v6-c-switch__input--disabled__toggle--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
18
20
|
--pf-v6-c-switch__input--checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--inverse);
|
|
19
21
|
--pf-v6-c-switch__input--not-checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--subtle);
|
|
20
22
|
--pf-v6-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--on-disabled);
|
|
@@ -29,6 +31,7 @@
|
|
|
29
31
|
--pf-v6-c-switch__toggle--before--Width: calc(var(--pf-v6-c-switch--FontSize) - var(--pf-v6-c-switch__toggle-icon--Offset));
|
|
30
32
|
--pf-v6-c-switch__toggle--before--Height: var(--pf-v6-c-switch__toggle--before--Width);
|
|
31
33
|
--pf-v6-c-switch__toggle--before--InsetInlineStart: calc((var(--pf-v6-c-switch__toggle--Height) - var(--pf-v6-c-switch__toggle--before--Height)) / 2);
|
|
34
|
+
--pf-v6-c-switch__toggle--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
32
35
|
--pf-v6-c-switch__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
33
36
|
--pf-v6-c-switch__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
34
37
|
--pf-v6-c-switch__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
|
@@ -70,6 +73,7 @@
|
|
|
70
73
|
}
|
|
71
74
|
.pf-v6-c-switch__input:checked ~ .pf-v6-c-switch__toggle {
|
|
72
75
|
--pf-v6-c-switch__toggle--BorderWidth: var(--pf-v6-c-switch__input--checked__toggle--BorderWidth);
|
|
76
|
+
--pf-v6-c-switch__toggle--BorderColor: var(--pf-v6-c-switch__input--checked__toggle--BorderColor);
|
|
73
77
|
background-color: var(--pf-v6-c-switch__input--checked__toggle--BackgroundColor);
|
|
74
78
|
}
|
|
75
79
|
.pf-v6-c-switch__input:checked ~ .pf-v6-c-switch__toggle::before {
|
|
@@ -95,6 +99,7 @@
|
|
|
95
99
|
}
|
|
96
100
|
.pf-v6-c-switch__input:disabled ~ .pf-v6-c-switch__toggle {
|
|
97
101
|
--pf-v6-c-switch__toggle-icon--Color: var(--pf-v6-c-switch__input--disabled__toggle-icon--Color);
|
|
102
|
+
--pf-v6-c-switch__toggle--BorderColor: var(--pf-v6-c-switch__input--disabled__toggle--BorderColor);
|
|
98
103
|
cursor: not-allowed;
|
|
99
104
|
background-color: var(--pf-v6-c-switch__input--disabled__toggle--BackgroundColor);
|
|
100
105
|
}
|
|
@@ -119,6 +124,7 @@
|
|
|
119
124
|
height: var(--pf-v6-c-switch__toggle--before--Height);
|
|
120
125
|
content: "";
|
|
121
126
|
background-color: var(--pf-v6-c-switch__input--not-checked__toggle--before--BackgroundColor);
|
|
127
|
+
border: var(--pf-v6-c-switch__toggle--before--BorderWidth) solid transparent;
|
|
122
128
|
border-radius: var(--pf-v6-c-switch__toggle--before--BorderRadius);
|
|
123
129
|
transition: var(--pf-v6-c-switch__toggle--before--Transition);
|
|
124
130
|
transform: translateY(-50%);
|
|
@@ -19,11 +19,13 @@
|
|
|
19
19
|
// Switch input
|
|
20
20
|
--#{$switch}__input--checked__toggle--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
21
21
|
--#{$switch}__input--checked__toggle--before--TranslateX: calc(100% + var(--#{$switch}__toggle-icon--Offset));
|
|
22
|
-
--#{$switch}__input--checked__toggle--
|
|
22
|
+
--#{$switch}__input--checked__toggle--BorderColor: transparent;
|
|
23
|
+
--#{$switch}__input--checked__toggle--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
23
24
|
--#{$switch}__input--checked__label--Color: var(--pf-t--global--text--color--regular);
|
|
24
25
|
--#{$switch}__input--not-checked__label--Color: var(--pf-t--global--text--color--subtle);
|
|
25
26
|
--#{$switch}__input--disabled__label--Color: var(--pf-t--global--text--color--disabled);
|
|
26
27
|
--#{$switch}__input--disabled__toggle--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
28
|
+
--#{$switch}__input--disabled__toggle--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
27
29
|
--#{$switch}__input--checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--inverse);
|
|
28
30
|
--#{$switch}__input--not-checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--subtle);
|
|
29
31
|
--#{$switch}__input--disabled__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--on-disabled);
|
|
@@ -40,6 +42,7 @@
|
|
|
40
42
|
--#{$switch}__toggle--before--Width: calc(var(--#{$switch}--FontSize) - var(--#{$switch}__toggle-icon--Offset));
|
|
41
43
|
--#{$switch}__toggle--before--Height: var(--#{$switch}__toggle--before--Width);
|
|
42
44
|
--#{$switch}__toggle--before--InsetInlineStart: calc((var(--#{$switch}__toggle--Height) - var(--#{$switch}__toggle--before--Height)) / 2);
|
|
45
|
+
--#{$switch}__toggle--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
43
46
|
--#{$switch}__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
44
47
|
--#{$switch}__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
45
48
|
--#{$switch}__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
|
@@ -88,6 +91,7 @@
|
|
|
88
91
|
|
|
89
92
|
~ .#{$switch}__toggle {
|
|
90
93
|
--#{$switch}__toggle--BorderWidth: var(--#{$switch}__input--checked__toggle--BorderWidth);
|
|
94
|
+
--#{$switch}__toggle--BorderColor: var(--#{$switch}__input--checked__toggle--BorderColor);
|
|
91
95
|
|
|
92
96
|
background-color: var(--#{$switch}__input--checked__toggle--BackgroundColor);
|
|
93
97
|
|
|
@@ -125,6 +129,7 @@
|
|
|
125
129
|
|
|
126
130
|
~ .#{$switch}__toggle {
|
|
127
131
|
--#{$switch}__toggle-icon--Color: var(--#{$switch}__input--disabled__toggle-icon--Color);
|
|
132
|
+
--#{$switch}__toggle--BorderColor: var(--#{$switch}__input--disabled__toggle--BorderColor);
|
|
128
133
|
|
|
129
134
|
cursor: not-allowed;
|
|
130
135
|
background-color: var(--#{$switch}__input--disabled__toggle--BackgroundColor);
|
|
@@ -153,6 +158,7 @@
|
|
|
153
158
|
height: var(--#{$switch}__toggle--before--Height);
|
|
154
159
|
content: "";
|
|
155
160
|
background-color: var(--#{$switch}__input--not-checked__toggle--before--BackgroundColor);
|
|
161
|
+
border: var(--#{$switch}__toggle--before--BorderWidth) solid transparent; // for forced color mode
|
|
156
162
|
border-radius: var(--#{$switch}__toggle--before--BorderRadius);
|
|
157
163
|
transition: var(--#{$switch}__toggle--before--Transition); // TODO remove shorthand in breaking change
|
|
158
164
|
transform: translateY(-50%);
|
|
@@ -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--border--width--high-contrast--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--border--width--high-contrast--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
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
--pf-v6-c-tabs--before--BorderBlockEndWidth: var(--pf-v6-c-tabs--before--border-width--base);
|
|
19
19
|
--pf-v6-c-tabs--before--BorderInlineStartWidth: 0;
|
|
20
20
|
--pf-v6-c-tabs--m-vertical--inset: var(--pf-t--global--spacer--sm);
|
|
21
|
-
--pf-v6-c-tabs--m-page-insets--inset: var(--pf-t--global--spacer--
|
|
21
|
+
--pf-v6-c-tabs--m-page-insets--inset: calc(var(--pf-t--global--spacer--lg) - var(--pf-t--global--border--width--main--default));
|
|
22
22
|
--pf-v6-c-tabs--m-vertical--Width: 100%;
|
|
23
23
|
--pf-v6-c-tabs--m-vertical--MaxWidth: 15.625rem;
|
|
24
24
|
--pf-v6-c-tabs--m-vertical--m-box--inset: var(--pf-t--global--spacer--md);
|
|
@@ -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);
|
|
@@ -81,11 +85,15 @@
|
|
|
81
85
|
--pf-v6-c-tabs__link--before--BorderInlineEndWidth: 0;
|
|
82
86
|
--pf-v6-c-tabs__link--before--BorderBlockEndWidth: 0;
|
|
83
87
|
--pf-v6-c-tabs__link--before--BorderInlineStartWidth: 0;
|
|
84
|
-
--pf-v6-c-
|
|
88
|
+
--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartColor: var(--pf-t--global--border--color--high-contrast);
|
|
89
|
+
--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
90
|
+
--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndColor: var(--pf-t--global--border--color--high-contrast);
|
|
91
|
+
--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
85
92
|
--pf-v6-c-tabs__link--disabled--before--BorderInlineEndWidth: 0;
|
|
86
93
|
--pf-v6-c-tabs__link--disabled--before--BorderBlockEndWidth: var(--pf-v6-c-tabs--before--border-width--base);
|
|
87
94
|
--pf-v6-c-tabs__link--disabled--before--BorderInlineStartWidth: 0;
|
|
88
95
|
--pf-v6-c-tabs__link--after--InsetBlockStart: auto;
|
|
96
|
+
--pf-v6-c-tabs__link--after--InsetInlineStart: 0;
|
|
89
97
|
--pf-v6-c-tabs__link--after--InsetInlineEnd: 0;
|
|
90
98
|
--pf-v6-c-tabs__link--after--InsetBlockEnd: 0;
|
|
91
99
|
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
@@ -241,6 +249,10 @@
|
|
|
241
249
|
.pf-v6-c-tabs.pf-m-box .pf-v6-c-tabs__item.pf-m-current {
|
|
242
250
|
--pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__item--m-current__link--BackgroundColor);
|
|
243
251
|
--pf-v6-c-tabs__link--before--BorderBlockEndColor: var(--pf-v6-c-tabs__link--BackgroundColor);
|
|
252
|
+
--pf-v6-c-tabs__link--before--BorderInlineStartColor: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartColor);
|
|
253
|
+
--pf-v6-c-tabs__link--before--BorderInlineStartWidth: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartWidth);
|
|
254
|
+
--pf-v6-c-tabs__link--before--BorderInlineEndColor: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndColor);
|
|
255
|
+
--pf-v6-c-tabs__link--before--BorderInlineEndWidth: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndWidth);
|
|
244
256
|
}
|
|
245
257
|
.pf-v6-c-tabs.pf-m-box.pf-m-scrollable .pf-v6-c-tabs__item.pf-m-current:first-child .pf-v6-c-tabs__link::before {
|
|
246
258
|
inset-inline-start: calc(var(--pf-v6-c-tabs__link--before--border-width--base) * -1);
|
|
@@ -248,9 +260,6 @@
|
|
|
248
260
|
.pf-v6-c-tabs.pf-m-box.pf-m-scrollable .pf-v6-c-tabs__scroll-button:nth-of-type(2)::before {
|
|
249
261
|
inset-inline-start: calc(var(--pf-v6-c-tabs__link--before--border-width--base) * -1);
|
|
250
262
|
}
|
|
251
|
-
.pf-v6-c-tabs.pf-m-box .pf-v6-c-tabs__item.pf-m-current + .pf-v6-c-tabs__item {
|
|
252
|
-
--pf-v6-c-tabs__link--before--InsetInlineStart: 0;
|
|
253
|
-
}
|
|
254
263
|
.pf-v6-c-tabs.pf-m-box.pf-m-secondary {
|
|
255
264
|
--pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs--m-box--m-secondary__item--BackgroundColor);
|
|
256
265
|
--pf-v6-c-tabs__item--m-current--BackgroundColor: var(--pf-v6-c-tabs--m-box--m-secondary__item--m-current--BackgroundColor);
|
|
@@ -268,7 +277,6 @@
|
|
|
268
277
|
--pf-v6-c-tabs__item--PaddingInlineEnd: var(--pf-v6-c-tabs--m-vertical__item--PaddingInlineEnd);
|
|
269
278
|
--pf-v6-c-tabs__link--PaddingInlineStart: var(--pf-v6-c-tabs--m-vertical__link--PaddingInlineStart);
|
|
270
279
|
--pf-v6-c-tabs__link--PaddingInlineEnd: var(--pf-v6-c-tabs--m-vertical__link--PaddingInlineEnd);
|
|
271
|
-
--pf-v6-c-tabs__link--before--InsetInlineStart: 0;
|
|
272
280
|
--pf-v6-c-tabs__link--disabled--before--BorderBlockEndWidth: 0;
|
|
273
281
|
--pf-v6-c-tabs__link--disabled--before--BorderInlineStartWidth: var(--pf-v6-c-tabs--before--border-width--base);
|
|
274
282
|
--pf-v6-c-tabs__link--after--InsetBlockStart: 0;
|
|
@@ -545,6 +553,7 @@
|
|
|
545
553
|
color: var(--pf-v6-c-tabs__link--Color);
|
|
546
554
|
text-decoration-line: none;
|
|
547
555
|
background-color: var(--pf-v6-c-tabs__link--BackgroundColor);
|
|
556
|
+
border: var(--pf-v6-c-tabs__link--BorderWidth) solid var(--pf-v6-c-tabs__link--BorderColor);
|
|
548
557
|
border-radius: var(--pf-v6-c-tabs__link--BorderRadius);
|
|
549
558
|
transition: background-color var(--pf-v6-c-tabs__link--TransitionDuration--background-color) var(--pf-v6-c-tabs__link--TransitionTimingFunction--background-color);
|
|
550
559
|
}
|
|
@@ -567,7 +576,7 @@
|
|
|
567
576
|
.pf-v6-c-tabs__item.pf-m-action::after, .pf-v6-c-tabs__link::after {
|
|
568
577
|
inset-block-start: var(--pf-v6-c-tabs__link--after--InsetBlockStart);
|
|
569
578
|
inset-block-end: var(--pf-v6-c-tabs__link--after--InsetBlockEnd);
|
|
570
|
-
inset-inline-start: var(--pf-v6-c-tabs__link--before--InsetInlineStart);
|
|
579
|
+
inset-inline-start: var(--pf-v6-c-tabs__link--before--InsetInlineStart, var(--pf-v6-c-tabs__link--after--InsetInlineStart));
|
|
571
580
|
inset-inline-end: var(--pf-v6-c-tabs__link--after--InsetInlineEnd);
|
|
572
581
|
border-color: var(--pf-v6-c-tabs__link--after--BorderColor);
|
|
573
582
|
border-block-start-width: var(--pf-v6-c-tabs__link--after--BorderBlockStartWidth);
|
|
@@ -578,6 +587,7 @@
|
|
|
578
587
|
|
|
579
588
|
.pf-v6-c-tabs__link:where(:hover, :focus) {
|
|
580
589
|
--pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__link--hover--BackgroundColor);
|
|
590
|
+
--pf-v6-c-tabs__link--BorderColor: var(--pf-v6-c-tabs__link--hover--BorderColor);
|
|
581
591
|
}
|
|
582
592
|
.pf-v6-c-tabs__link:disabled, .pf-v6-c-tabs__link.pf-m-disabled {
|
|
583
593
|
pointer-events: none;
|
|
@@ -592,6 +602,7 @@
|
|
|
592
602
|
|
|
593
603
|
.pf-v6-c-tabs__link:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
|
|
594
604
|
--pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__link--disabled--BackgroundColor);
|
|
605
|
+
--pf-v6-c-tabs__link--BorderColor: var(--pf-v6-c-tabs__link--disabled--BorderColor);
|
|
595
606
|
}
|
|
596
607
|
.pf-v6-c-tabs__item.pf-m-action.pf-m-disabled {
|
|
597
608
|
--pf-v6-c-tabs__link--BackgroundColor: transparent;
|
|
@@ -30,7 +30,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
30
30
|
--#{$tabs}--m-vertical--inset: var(--pf-t--global--spacer--sm);
|
|
31
31
|
|
|
32
32
|
// Tabs, Page insets modifier
|
|
33
|
-
--#{$tabs}--m-page-insets--inset: var(--pf-t--global--spacer--
|
|
33
|
+
--#{$tabs}--m-page-insets--inset: calc(var(--pf-t--global--spacer--lg) - var(--pf-t--global--border--width--main--default));
|
|
34
34
|
|
|
35
35
|
// Tabs, Vertical modifier
|
|
36
36
|
--#{$tabs}--m-vertical--Width: 100%;
|
|
@@ -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);
|
|
@@ -103,13 +107,17 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
103
107
|
--#{$tabs}__link--before--BorderInlineEndWidth: 0;
|
|
104
108
|
--#{$tabs}__link--before--BorderBlockEndWidth: 0;
|
|
105
109
|
--#{$tabs}__link--before--BorderInlineStartWidth: 0;
|
|
106
|
-
--#{$tabs}
|
|
110
|
+
--#{$tabs}--m-box__link--m-current--before--BorderInlineStartColor: var(--pf-t--global--border--color--high-contrast);
|
|
111
|
+
--#{$tabs}--m-box__link--m-current--before--BorderInlineStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
112
|
+
--#{$tabs}--m-box__link--m-current--before--BorderInlineEndColor: var(--pf-t--global--border--color--high-contrast);
|
|
113
|
+
--#{$tabs}--m-box__link--m-current--before--BorderInlineEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
107
114
|
--#{$tabs}__link--disabled--before--BorderInlineEndWidth: 0;
|
|
108
115
|
--#{$tabs}__link--disabled--before--BorderBlockEndWidth: var(--#{$tabs}--before--border-width--base);
|
|
109
116
|
--#{$tabs}__link--disabled--before--BorderInlineStartWidth: 0;
|
|
110
117
|
|
|
111
118
|
// Link after
|
|
112
119
|
--#{$tabs}__link--after--InsetBlockStart: auto;
|
|
120
|
+
--#{$tabs}__link--after--InsetInlineStart: 0;
|
|
113
121
|
--#{$tabs}__link--after--InsetInlineEnd: 0;
|
|
114
122
|
--#{$tabs}__link--after--InsetBlockEnd: 0;
|
|
115
123
|
--#{$tabs}__link--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
@@ -307,6 +315,10 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
307
315
|
.#{$tabs}__item.pf-m-current {
|
|
308
316
|
--#{$tabs}__link--BackgroundColor: var(--#{$tabs}__item--m-current__link--BackgroundColor);
|
|
309
317
|
--#{$tabs}__link--before--BorderBlockEndColor: var(--#{$tabs}__link--BackgroundColor);
|
|
318
|
+
--#{$tabs}__link--before--BorderInlineStartColor: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineStartColor);
|
|
319
|
+
--#{$tabs}__link--before--BorderInlineStartWidth: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineStartWidth);
|
|
320
|
+
--#{$tabs}__link--before--BorderInlineEndColor: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineEndColor);
|
|
321
|
+
--#{$tabs}__link--before--BorderInlineEndWidth: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineEndWidth);
|
|
310
322
|
}
|
|
311
323
|
|
|
312
324
|
// stylelint-disable
|
|
@@ -322,12 +334,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
322
334
|
}
|
|
323
335
|
// stylelint-enable
|
|
324
336
|
|
|
325
|
-
// stylelint-disable selector-max-class
|
|
326
|
-
// Remove offset from current adjacent item
|
|
327
|
-
.#{$tabs}__item.pf-m-current + .#{$tabs}__item {
|
|
328
|
-
--#{$tabs}__link--before--InsetInlineStart: 0;
|
|
329
|
-
}
|
|
330
|
-
// stylelint-enable
|
|
331
337
|
|
|
332
338
|
&.pf-m-secondary {
|
|
333
339
|
--#{$tabs}__item--BackgroundColor: var(--#{$tabs}--m-box--m-secondary__item--BackgroundColor);
|
|
@@ -349,7 +355,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
349
355
|
--#{$tabs}__item--PaddingInlineEnd: var(--#{$tabs}--m-vertical__item--PaddingInlineEnd);
|
|
350
356
|
--#{$tabs}__link--PaddingInlineStart: var(--#{$tabs}--m-vertical__link--PaddingInlineStart);
|
|
351
357
|
--#{$tabs}__link--PaddingInlineEnd: var(--#{$tabs}--m-vertical__link--PaddingInlineEnd);
|
|
352
|
-
--#{$tabs}__link--before--InsetInlineStart: 0;
|
|
353
358
|
--#{$tabs}__link--disabled--before--BorderBlockEndWidth: 0;
|
|
354
359
|
--#{$tabs}__link--disabled--before--BorderInlineStartWidth: var(--#{$tabs}--before--border-width--base);
|
|
355
360
|
--#{$tabs}__link--after--InsetBlockStart: 0;
|
|
@@ -630,6 +635,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
630
635
|
color: var(--#{$tabs}__link--Color);
|
|
631
636
|
text-decoration-line: none;
|
|
632
637
|
background-color: var(--#{$tabs}__link--BackgroundColor);
|
|
638
|
+
border: var(--#{$tabs}__link--BorderWidth) solid var(--#{$tabs}__link--BorderColor);
|
|
633
639
|
border-radius: var(--#{$tabs}__link--BorderRadius);
|
|
634
640
|
transition: background-color var(--#{$tabs}__link--TransitionDuration--background-color) var(--#{$tabs}__link--TransitionTimingFunction--background-color);
|
|
635
641
|
|
|
@@ -653,7 +659,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
653
659
|
&::after {
|
|
654
660
|
inset-block-start: var(--#{$tabs}__link--after--InsetBlockStart);
|
|
655
661
|
inset-block-end: var(--#{$tabs}__link--after--InsetBlockEnd);
|
|
656
|
-
inset-inline-start: var(--#{$tabs}__link--before--InsetInlineStart); //
|
|
662
|
+
inset-inline-start: var(--#{$tabs}__link--before--InsetInlineStart, var(--#{$tabs}__link--after--InsetInlineStart)); // TODO remove fallback in breaking change in favor of var(--#{$tabs}__link--after--InsetInlineStart)
|
|
657
663
|
inset-inline-end: var(--#{$tabs}__link--after--InsetInlineEnd);
|
|
658
664
|
border-color: var(--#{$tabs}__link--after--BorderColor);
|
|
659
665
|
border-block-start-width: var(--#{$tabs}__link--after--BorderBlockStartWidth);
|
|
@@ -665,7 +671,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
665
671
|
|
|
666
672
|
&:where(:hover, :focus) {
|
|
667
673
|
--#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--hover--BackgroundColor);
|
|
668
|
-
|
|
674
|
+
--#{$tabs}__link--BorderColor: var(--#{$tabs}__link--hover--BorderColor);
|
|
675
|
+
}
|
|
669
676
|
|
|
670
677
|
&:disabled,
|
|
671
678
|
&.pf-m-disabled {
|
|
@@ -685,6 +692,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
685
692
|
|
|
686
693
|
&:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
|
|
687
694
|
--#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--disabled--BackgroundColor);
|
|
695
|
+
--#{$tabs}__link--BorderColor: var(--#{$tabs}__link--disabled--BorderColor);
|
|
688
696
|
}
|
|
689
697
|
|
|
690
698
|
@at-root .#{$tabs}__item.pf-m-action.pf-m-disabled {
|
|
@@ -128,6 +128,9 @@
|
|
|
128
128
|
.pf-v6-c-text-input-group:where(.pf-m-success, .pf-m-warning, .pf-m-error) {
|
|
129
129
|
--pf-v6-c-text-input-group__text-input--PaddingInlineEnd: var(--pf-v6-c-text-input-group--status__text-input--PaddingInlineEnd);
|
|
130
130
|
}
|
|
131
|
+
.pf-v6-c-text-input-group:where(.pf-m-success, .pf-m-warning, .pf-m-error) .pf-v6-c-text-input-group__text {
|
|
132
|
+
--pf-v6-c-text-input-group__text--Position: relative;
|
|
133
|
+
}
|
|
131
134
|
.pf-v6-c-text-input-group:has(> .pf-v6-c-text-input-group__utilities) {
|
|
132
135
|
--pf-v6-c-text-input-group__icon--m-status--InsetInlineEnd: var(--pf-v6-c-text-input-group--utilities--icon--m-status--InsetInlineEnd);
|
|
133
136
|
--pf-v6-c-text-input-group--status__text-input--PaddingInlineEnd: var(--pf-v6-c-text-input-group--utilities--status__text-input--PaddingInlineEnd);
|
|
@@ -147,6 +147,10 @@
|
|
|
147
147
|
|
|
148
148
|
&:where(.pf-m-success, .pf-m-warning, .pf-m-error) {
|
|
149
149
|
--#{$text-input-group}__text-input--PaddingInlineEnd: var(--#{$text-input-group}--status__text-input--PaddingInlineEnd);
|
|
150
|
+
|
|
151
|
+
& .pf-v6-c-text-input-group__text {
|
|
152
|
+
--#{$text-input-group}__text--Position: relative;
|
|
153
|
+
}
|
|
150
154
|
}
|
|
151
155
|
|
|
152
156
|
&:has(> .#{$text-input-group}__utilities) {
|
|
@@ -250,4 +254,3 @@
|
|
|
250
254
|
.#{$text-input-group}__group {
|
|
251
255
|
display: flex;
|
|
252
256
|
}
|
|
253
|
-
|