@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.9
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 +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +21 -0
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +7 -0
- package/base/patternfly-common.css +16 -2
- package/base/patternfly-globals.css +1 -1
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +16 -0
- package/base/tokens/_tokens-font.scss +16 -14
- package/components/AboutModalBox/about-modal-box.css +23 -12
- package/components/AboutModalBox/about-modal-box.scss +25 -12
- package/components/Accordion/accordion.css +33 -20
- package/components/Accordion/accordion.scss +32 -20
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +7 -4
- package/components/Alert/alert-group.scss +7 -4
- package/components/Alert/alert.css +19 -13
- package/components/Alert/alert.scss +18 -13
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +2 -2
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +5 -5
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +33 -21
- package/components/Button/button.scss +35 -23
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +2 -2
- package/components/Check/check.scss +2 -2
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +33 -30
- package/components/Content/content.scss +33 -30
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -61
- package/components/Drawer/drawer.scss +92 -43
- package/components/Dropdown/dropdown.css +75 -66
- package/components/Dropdown/dropdown.scss +65 -56
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +19 -22
- package/components/Masthead/masthead.scss +19 -22
- package/components/Menu/menu.css +79 -65
- package/components/Menu/menu.scss +80 -68
- package/components/MenuToggle/menu-toggle.css +33 -27
- package/components/MenuToggle/menu-toggle.scss +33 -27
- package/components/ModalBox/modal-box.css +19 -19
- package/components/ModalBox/modal-box.scss +20 -20
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +120 -93
- package/components/Nav/nav.scss +120 -93
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +135 -77
- package/components/Page/page.scss +81 -52
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +72 -40
- package/components/Popover/popover.scss +95 -75
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +3 -3
- package/components/Radio/radio.scss +3 -3
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +256 -195
- package/components/Table/table-grid.scss +53 -39
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +92 -70
- package/components/Table/table.scss +90 -70
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +44 -41
- package/components/Toolbar/toolbar.scss +26 -21
- package/components/Tooltip/tooltip.css +60 -28
- package/components/Tooltip/tooltip.scss +76 -56
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +15 -15
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +120 -30
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +90 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +60 -39
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +4 -21
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +525 -431
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +26 -10
- package/docs/demos/CardView/examples/CardView.md +24 -20
- package/docs/demos/Dashboard/examples/Dashboard.md +3 -3
- package/docs/demos/DataList/examples/DataList.md +8 -2
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -124
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +336 -252
- package/docs/demos/Tabs/examples/Tabs.md +28 -21
- package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +44 -44
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +37 -3
- package/patternfly-base-no-globals.css +37 -3
- package/patternfly-base-theme-dark-unversioned.css +38 -4
- package/patternfly-base.css +38 -4
- package/patternfly-no-globals.css +2748 -1960
- package/patternfly-theme-dark-unversioned.css +2749 -1961
- package/patternfly.css +2749 -1961
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
package/components/Tabs/tabs.css
CHANGED
|
@@ -134,8 +134,8 @@
|
|
|
134
134
|
position: relative;
|
|
135
135
|
display: flex;
|
|
136
136
|
width: var(--pf-v5-c-tabs--Width);
|
|
137
|
-
padding-
|
|
138
|
-
padding-
|
|
137
|
+
padding-inline-start: var(--pf-v5-c-tabs--inset);
|
|
138
|
+
padding-inline-end: var(--pf-v5-c-tabs--inset);
|
|
139
139
|
overflow: hidden;
|
|
140
140
|
}
|
|
141
141
|
@media screen and (min-width: 1200px) {
|
|
@@ -146,11 +146,14 @@
|
|
|
146
146
|
}
|
|
147
147
|
.pf-v5-c-tabs::before {
|
|
148
148
|
position: absolute;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
inset-block-end: 0;
|
|
150
|
+
inset-inline-start: 0;
|
|
151
|
+
inset-inline-end: 0;
|
|
152
152
|
border: solid var(--pf-v5-c-tabs--before--BorderColor);
|
|
153
|
-
border-width: var(--pf-v5-c-tabs--before--BorderTopWidth)
|
|
153
|
+
border-block-start-width: var(--pf-v5-c-tabs--before--BorderTopWidth);
|
|
154
|
+
border-block-end-width: var(--pf-v5-c-tabs--before--BorderBottomWidth);
|
|
155
|
+
border-inline-start-width: var(--pf-v5-c-tabs--before--BorderLeftWidth);
|
|
156
|
+
border-inline-end-width: var(--pf-v5-c-tabs--before--BorderRightWidth);
|
|
154
157
|
}
|
|
155
158
|
.pf-v5-c-tabs.pf-m-fill .pf-v5-c-tabs__list {
|
|
156
159
|
flex-basis: 100%;
|
|
@@ -172,11 +175,11 @@
|
|
|
172
175
|
opacity: 1;
|
|
173
176
|
}
|
|
174
177
|
.pf-v5-c-tabs.pf-m-scrollable .pf-v5-c-tabs__scroll-button:nth-of-type(1) {
|
|
175
|
-
margin-
|
|
178
|
+
margin-inline-end: 0;
|
|
176
179
|
transform: translateX(0);
|
|
177
180
|
}
|
|
178
181
|
.pf-v5-c-tabs.pf-m-scrollable .pf-v5-c-tabs__scroll-button:nth-of-type(2) {
|
|
179
|
-
margin-
|
|
182
|
+
margin-inline-start: 0;
|
|
180
183
|
transform: translateX(0);
|
|
181
184
|
}
|
|
182
185
|
.pf-v5-c-tabs.pf-m-no-border-bottom {
|
|
@@ -206,16 +209,16 @@
|
|
|
206
209
|
--pf-v5-c-tabs__link--before--BorderBottomColor: var(--pf-v5-c-tabs__link--BackgroundColor);
|
|
207
210
|
}
|
|
208
211
|
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__item.pf-m-current:first-child .pf-v5-c-tabs__link::before {
|
|
209
|
-
border-
|
|
212
|
+
border-inline-start-width: var(--pf-v5-c-tabs--m-box__item--m-current--first-child__link--before--BorderLeftWidth);
|
|
210
213
|
}
|
|
211
214
|
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__item.pf-m-current:last-child .pf-v5-c-tabs__link::before {
|
|
212
|
-
border-
|
|
215
|
+
border-inline-end-width: var(--pf-v5-c-tabs--m-box__item--m-current--last-child__link--before--BorderRightWidth);
|
|
213
216
|
}
|
|
214
217
|
.pf-v5-c-tabs.pf-m-box.pf-m-scrollable .pf-v5-c-tabs__item.pf-m-current:first-child .pf-v5-c-tabs__link::before {
|
|
215
|
-
|
|
218
|
+
inset-inline-start: calc(var(--pf-v5-c-tabs__link--before--border-width--base) * -1);
|
|
216
219
|
}
|
|
217
220
|
.pf-v5-c-tabs.pf-m-box.pf-m-scrollable .pf-v5-c-tabs__scroll-button:nth-of-type(2)::before {
|
|
218
|
-
|
|
221
|
+
inset-inline-start: calc(var(--pf-v5-c-tabs__link--before--border-width--base) * -1);
|
|
219
222
|
}
|
|
220
223
|
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__item.pf-m-current + .pf-v5-c-tabs__item {
|
|
221
224
|
--pf-v5-c-tabs__link--before--Left: 0;
|
|
@@ -255,21 +258,24 @@
|
|
|
255
258
|
}
|
|
256
259
|
.pf-v5-c-tabs.pf-m-vertical .pf-v5-c-tabs__list::before {
|
|
257
260
|
position: absolute;
|
|
258
|
-
|
|
261
|
+
inset-inline-end: auto;
|
|
259
262
|
border: solid var(--pf-v5-c-tabs--m-vertical__list--before--BorderColor);
|
|
260
|
-
border-width: var(--pf-v5-c-tabs--m-vertical__list--before--BorderTopWidth)
|
|
263
|
+
border-block-start-width: var(--pf-v5-c-tabs--m-vertical__list--before--BorderTopWidth);
|
|
264
|
+
border-block-end-width: var(--pf-v5-c-tabs--m-vertical__list--before--BorderBottomWidth);
|
|
265
|
+
border-inline-start-width: var(--pf-v5-c-tabs--m-vertical__list--before--BorderLeftWidth);
|
|
266
|
+
border-inline-end-width: var(--pf-v5-c-tabs--m-vertical__list--before--BorderRightWidth);
|
|
261
267
|
}
|
|
262
268
|
.pf-v5-c-tabs.pf-m-vertical .pf-v5-c-tabs__item:first-child {
|
|
263
|
-
margin-
|
|
269
|
+
margin-block-start: var(--pf-v5-c-tabs--inset);
|
|
264
270
|
}
|
|
265
271
|
.pf-v5-c-tabs.pf-m-vertical .pf-v5-c-tabs__item:last-child {
|
|
266
|
-
margin-
|
|
272
|
+
margin-block-end: var(--pf-v5-c-tabs--inset);
|
|
267
273
|
}
|
|
268
274
|
.pf-v5-c-tabs.pf-m-vertical .pf-v5-c-tabs__link {
|
|
269
275
|
--pf-v5-c-tabs__link--after--BorderTopWidth: 0;
|
|
270
276
|
--pf-v5-c-tabs__link--after--BorderLeftWidth: var(--pf-v5-c-tabs__link--after--BorderWidth);
|
|
271
277
|
max-width: 100%;
|
|
272
|
-
text-align:
|
|
278
|
+
text-align: start;
|
|
273
279
|
}
|
|
274
280
|
.pf-v5-c-tabs.pf-m-vertical .pf-v5-c-tabs__item-text {
|
|
275
281
|
max-width: 100%;
|
|
@@ -348,8 +354,8 @@
|
|
|
348
354
|
--pf-v5-c-tabs__link--disabled--before--BorderLeftWidth: 0;
|
|
349
355
|
}
|
|
350
356
|
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__list::before {
|
|
351
|
-
|
|
352
|
-
|
|
357
|
+
inset-inline-start: auto;
|
|
358
|
+
inset-inline-end: 0;
|
|
353
359
|
}
|
|
354
360
|
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item:last-child {
|
|
355
361
|
--pf-v5-c-tabs__link--before--BorderBottomWidth: 0;
|
|
@@ -367,11 +373,11 @@
|
|
|
367
373
|
--pf-v5-c-tabs__link--before--BorderTopWidth: var(--pf-v5-c-tabs__link--before--border-width--base);
|
|
368
374
|
}
|
|
369
375
|
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__link::after {
|
|
370
|
-
|
|
376
|
+
inset-block-start: calc(var(--pf-v5-c-tabs__link--before--border-width--base) * -1);
|
|
371
377
|
}
|
|
372
378
|
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item:first-child .pf-v5-c-tabs__link::after,
|
|
373
379
|
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item.pf-m-current + .pf-v5-c-tabs__item .pf-v5-c-tabs__link::after {
|
|
374
|
-
|
|
380
|
+
inset-block-start: 0;
|
|
375
381
|
}
|
|
376
382
|
.pf-v5-c-tabs.pf-m-secondary {
|
|
377
383
|
--pf-v5-c-tabs__link--FontSize: var(--pf-v5-c-tabs--m-secondary__link--FontSize);
|
|
@@ -389,19 +395,19 @@
|
|
|
389
395
|
.pf-v5-c-tabs__toggle {
|
|
390
396
|
display: var(--pf-v5-c-tabs__toggle--Display);
|
|
391
397
|
align-items: center;
|
|
392
|
-
margin-
|
|
398
|
+
margin-block-end: var(--pf-v5-c-tabs__toggle--MarginBottom);
|
|
393
399
|
}
|
|
394
400
|
|
|
395
401
|
.pf-v5-c-tabs__toggle-button {
|
|
396
402
|
--pf-v5-c-tabs__toggle-text--MarginLeft: var(--pf-v5-c-tabs__toggle-button__toggle-text--MarginLeft);
|
|
397
403
|
--pf-v5-c-tabs__toggle-text--Color: var(--pf-v5-c-tabs__toggle-button__toggle-text--Color);
|
|
398
|
-
margin-
|
|
399
|
-
margin-
|
|
400
|
-
margin-
|
|
404
|
+
margin-block-start: var(--pf-v5-c-tabs__toggle-button--MarginTop);
|
|
405
|
+
margin-block-end: var(--pf-v5-c-tabs__toggle-button--MarginBottom);
|
|
406
|
+
margin-inline-start: var(--pf-v5-c-tabs__toggle-button--MarginLeft);
|
|
401
407
|
}
|
|
402
408
|
.pf-v5-c-tabs__toggle-button .pf-v5-c-button {
|
|
403
409
|
display: flex;
|
|
404
|
-
text-align:
|
|
410
|
+
text-align: start;
|
|
405
411
|
white-space: normal;
|
|
406
412
|
}
|
|
407
413
|
|
|
@@ -411,9 +417,12 @@
|
|
|
411
417
|
transition: var(--pf-v5-c-tabs__toggle-icon--Transition);
|
|
412
418
|
transform: rotate(var(--pf-v5-c-tabs__toggle-icon--Rotate));
|
|
413
419
|
}
|
|
420
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tabs__toggle-icon {
|
|
421
|
+
scale: -1 1;
|
|
422
|
+
}
|
|
414
423
|
|
|
415
424
|
.pf-v5-c-tabs__toggle-text {
|
|
416
|
-
margin-
|
|
425
|
+
margin-inline-start: var(--pf-v5-c-tabs__toggle-text--MarginLeft);
|
|
417
426
|
color: var(--pf-v5-c-tabs__toggle-text--Color, inherit);
|
|
418
427
|
}
|
|
419
428
|
|
|
@@ -463,9 +472,9 @@
|
|
|
463
472
|
.pf-v5-c-tabs__scroll-button::before,
|
|
464
473
|
.pf-v5-c-tabs__add::before {
|
|
465
474
|
position: absolute;
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
475
|
+
inset-block-end: 0;
|
|
476
|
+
inset-inline-start: 0;
|
|
477
|
+
inset-inline-end: 0;
|
|
469
478
|
content: "";
|
|
470
479
|
border-style: solid;
|
|
471
480
|
}
|
|
@@ -477,7 +486,7 @@
|
|
|
477
486
|
.pf-v5-c-tabs__item.pf-m-action::after,
|
|
478
487
|
.pf-v5-c-tabs__scroll-button::before,
|
|
479
488
|
.pf-v5-c-tabs__add::before {
|
|
480
|
-
|
|
489
|
+
inset-block-start: 0;
|
|
481
490
|
}
|
|
482
491
|
|
|
483
492
|
.pf-v5-c-tabs__link,
|
|
@@ -491,7 +500,10 @@
|
|
|
491
500
|
position: relative;
|
|
492
501
|
display: flex;
|
|
493
502
|
flex: 1;
|
|
494
|
-
padding: var(--pf-v5-c-tabs__link--PaddingTop)
|
|
503
|
+
padding-block-start: var(--pf-v5-c-tabs__link--PaddingTop);
|
|
504
|
+
padding-block-end: var(--pf-v5-c-tabs__link--PaddingBottom);
|
|
505
|
+
padding-inline-start: var(--pf-v5-c-tabs__link--PaddingLeft);
|
|
506
|
+
padding-inline-end: var(--pf-v5-c-tabs__link--PaddingRight);
|
|
495
507
|
font-size: var(--pf-v5-c-tabs__link--FontSize);
|
|
496
508
|
color: var(--pf-v5-c-tabs__link--Color);
|
|
497
509
|
text-decoration: none;
|
|
@@ -504,20 +516,26 @@
|
|
|
504
516
|
|
|
505
517
|
.pf-v5-c-tabs__item.pf-m-action::before, .pf-v5-c-tabs__link::before {
|
|
506
518
|
pointer-events: none;
|
|
507
|
-
border-
|
|
508
|
-
border-
|
|
509
|
-
border-
|
|
510
|
-
border-
|
|
511
|
-
border-
|
|
519
|
+
border-block-start-color: var(--pf-v5-c-tabs__link--before--BorderTopColor);
|
|
520
|
+
border-block-start-width: var(--pf-v5-c-tabs__link--before--BorderTopWidth);
|
|
521
|
+
border-block-end-color: var(--pf-v5-c-tabs__link--before--BorderBottomColor);
|
|
522
|
+
border-block-end-width: var(--pf-v5-c-tabs__link--before--BorderBottomWidth);
|
|
523
|
+
border-inline-start-color: var(--pf-v5-c-tabs__link--before--BorderLeftColor);
|
|
524
|
+
border-inline-start-width: var(--pf-v5-c-tabs__link--before--BorderLeftWidth);
|
|
525
|
+
border-inline-end-color: var(--pf-v5-c-tabs__link--before--BorderRightColor);
|
|
526
|
+
border-inline-end-width: var(--pf-v5-c-tabs__link--before--BorderRightWidth);
|
|
512
527
|
}
|
|
513
528
|
|
|
514
529
|
.pf-v5-c-tabs__item.pf-m-action::after, .pf-v5-c-tabs__link::after {
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
530
|
+
inset-block-start: var(--pf-v5-c-tabs__link--after--Top);
|
|
531
|
+
inset-block-end: var(--pf-v5-c-tabs__link--after--Bottom);
|
|
532
|
+
inset-inline-start: var(--pf-v5-c-tabs__link--before--Left);
|
|
533
|
+
inset-inline-end: var(--pf-v5-c-tabs__link--after--Right);
|
|
519
534
|
border-color: var(--pf-v5-c-tabs__link--after--BorderColor);
|
|
520
|
-
border-width: var(--pf-v5-c-tabs__link--after--BorderTopWidth)
|
|
535
|
+
border-block-start-width: var(--pf-v5-c-tabs__link--after--BorderTopWidth);
|
|
536
|
+
border-block-end-width: var(--pf-v5-c-tabs__link--after--BorderBottomWidth);
|
|
537
|
+
border-inline-start-width: var(--pf-v5-c-tabs__link--after--BorderLeftWidth);
|
|
538
|
+
border-inline-end-width: var(--pf-v5-c-tabs__link--after--BorderRightWidth);
|
|
521
539
|
}
|
|
522
540
|
|
|
523
541
|
.pf-v5-c-tabs__item.pf-m-action:hover, .pf-v5-c-tabs__link:hover {
|
|
@@ -558,7 +576,7 @@
|
|
|
558
576
|
}
|
|
559
577
|
.pf-v5-c-tabs__link .pf-v5-c-tabs__item-icon,
|
|
560
578
|
.pf-v5-c-tabs__link .pf-v5-c-tabs__item-text {
|
|
561
|
-
margin-
|
|
579
|
+
margin-inline-end: var(--pf-v5-c-tabs__link--child--MarginRight);
|
|
562
580
|
}
|
|
563
581
|
.pf-v5-c-tabs__link .pf-v5-c-tabs__item-icon:last-child,
|
|
564
582
|
.pf-v5-c-tabs__link .pf-v5-c-tabs__item-text:last-child {
|
|
@@ -576,6 +594,9 @@
|
|
|
576
594
|
transition: var(--pf-v5-c-tabs__link-toggle-icon--Transition);
|
|
577
595
|
transform: rotate(var(--pf-v5-c-tabs__link-toggle-icon--Rotate));
|
|
578
596
|
}
|
|
597
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tabs__link-toggle-icon {
|
|
598
|
+
scale: -1 1;
|
|
599
|
+
}
|
|
579
600
|
|
|
580
601
|
.pf-v5-c-tabs__item-action {
|
|
581
602
|
display: flex;
|
|
@@ -594,7 +615,7 @@
|
|
|
594
615
|
|
|
595
616
|
.pf-v5-c-tabs__item-action-icon {
|
|
596
617
|
display: inline-block;
|
|
597
|
-
margin-
|
|
618
|
+
margin-block-start: var(--pf-v5-c-tabs__item-action-icon--MarginTop);
|
|
598
619
|
}
|
|
599
620
|
|
|
600
621
|
.pf-v5-c-tabs__scroll-button {
|
|
@@ -607,21 +628,28 @@
|
|
|
607
628
|
opacity: 0;
|
|
608
629
|
transition: margin var(--pf-v5-c-tabs__scroll-button--TransitionDuration--margin), transform var(--pf-v5-c-tabs__scroll-button--TransitionDuration--transform), opacity var(--pf-v5-c-tabs__scroll-button--TransitionDuration--opacity);
|
|
609
630
|
}
|
|
631
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tabs__scroll-button > * {
|
|
632
|
+
scale: -1 1;
|
|
633
|
+
}
|
|
634
|
+
|
|
610
635
|
.pf-v5-c-tabs__scroll-button:hover, .pf-v5-c-tabs__scroll-button:active, .pf-v5-c-tabs__scroll-button:focus {
|
|
611
636
|
--pf-v5-c-tabs__scroll-button--Color: var(--pf-v5-c-tabs__scroll-button--hover--Color);
|
|
612
637
|
}
|
|
613
638
|
.pf-v5-c-tabs__scroll-button::before {
|
|
614
639
|
border-color: var(--pf-v5-c-tabs__scroll-button--before--BorderColor);
|
|
615
|
-
border-width: 0
|
|
640
|
+
border-block-start-width: 0;
|
|
641
|
+
border-block-end-width: var(--pf-v5-c-tabs__scroll-button--before--BorderBottomWidth);
|
|
642
|
+
border-inline-start-width: var(--pf-v5-c-tabs__scroll-button--before--BorderLeftWidth);
|
|
643
|
+
border-inline-end-width: var(--pf-v5-c-tabs__scroll-button--before--BorderRightWidth);
|
|
616
644
|
}
|
|
617
645
|
.pf-v5-c-tabs__scroll-button:nth-of-type(1) {
|
|
618
646
|
--pf-v5-c-tabs__scroll-button--before--BorderRightWidth: var(--pf-v5-c-tabs__scroll-button--before--border-width--base);
|
|
619
|
-
margin-
|
|
647
|
+
margin-inline-end: calc(var(--pf-v5-c-tabs__scroll-button--Width) * -1);
|
|
620
648
|
transform: translateX(-100%);
|
|
621
649
|
}
|
|
622
650
|
.pf-v5-c-tabs__scroll-button:nth-of-type(2) {
|
|
623
651
|
--pf-v5-c-tabs__scroll-button--before--BorderLeftWidth: var(--pf-v5-c-tabs__scroll-button--before--border-width--base);
|
|
624
|
-
margin-
|
|
652
|
+
margin-inline-start: calc(var(--pf-v5-c-tabs__scroll-button--Width) * -1);
|
|
625
653
|
transform: translateX(100%);
|
|
626
654
|
}
|
|
627
655
|
.pf-v5-c-tabs__scroll-button:disabled {
|
|
@@ -634,7 +662,7 @@
|
|
|
634
662
|
display: flex;
|
|
635
663
|
}
|
|
636
664
|
.pf-v5-c-tabs__add::before {
|
|
637
|
-
border-
|
|
665
|
+
border-inline-start: var(--pf-v5-c-tabs__add--before--BorderLeftWidth) solid var(--pf-v5-c-tabs__add--before--BorderColor);
|
|
638
666
|
}
|
|
639
667
|
.pf-v5-c-tabs__add .pf-v5-c-button {
|
|
640
668
|
--pf-v5-c-button--FontSize: var(--pf-v5-c-tabs__add--c-button--FontSize);
|
|
@@ -176,17 +176,20 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
176
176
|
position: relative;
|
|
177
177
|
display: flex;
|
|
178
178
|
width: var(--#{$tabs}--Width);
|
|
179
|
-
padding-
|
|
180
|
-
padding-
|
|
179
|
+
padding-inline-start: var(--#{$tabs}--inset);
|
|
180
|
+
padding-inline-end: var(--#{$tabs}--inset);
|
|
181
181
|
overflow: hidden; // needed for scroll button animation. limit to pf-m-scrollable in breaking change. may need new modifier so this is applied to a menu that supports scrolling, regardless of whether the scroll buttons are shown.
|
|
182
182
|
|
|
183
183
|
&::before {
|
|
184
184
|
position: absolute;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
inset-block-end: 0;
|
|
186
|
+
inset-inline-start: 0;
|
|
187
|
+
inset-inline-end: 0;
|
|
188
188
|
border: solid var(--#{$tabs}--before--BorderColor);
|
|
189
|
-
border-width: var(--#{$tabs}--before--BorderTopWidth)
|
|
189
|
+
border-block-start-width: var(--#{$tabs}--before--BorderTopWidth);
|
|
190
|
+
border-block-end-width: var(--#{$tabs}--before--BorderBottomWidth);
|
|
191
|
+
border-inline-start-width: var(--#{$tabs}--before--BorderLeftWidth);
|
|
192
|
+
border-inline-end-width: var(--#{$tabs}--before--BorderRightWidth);
|
|
190
193
|
}
|
|
191
194
|
|
|
192
195
|
// Filled style
|
|
@@ -221,12 +224,12 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
221
224
|
|
|
222
225
|
// Scroll buttons
|
|
223
226
|
.#{$tabs}__scroll-button:nth-of-type(1) {
|
|
224
|
-
margin-
|
|
227
|
+
margin-inline-end: 0;
|
|
225
228
|
transform: translateX(0);
|
|
226
229
|
}
|
|
227
230
|
|
|
228
231
|
.#{$tabs}__scroll-button:nth-of-type(2) {
|
|
229
|
-
margin-
|
|
232
|
+
margin-inline-start: 0;
|
|
230
233
|
transform: translateX(0);
|
|
231
234
|
}
|
|
232
235
|
}
|
|
@@ -272,22 +275,22 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
272
275
|
// stylelint-disable
|
|
273
276
|
// Add border to first-child
|
|
274
277
|
.#{$tabs}__item.pf-m-current:first-child .#{$tabs}__link::before {
|
|
275
|
-
border-
|
|
278
|
+
border-inline-start-width: var(--#{$tabs}--m-box__item--m-current--first-child__link--before--BorderLeftWidth);
|
|
276
279
|
}
|
|
277
280
|
|
|
278
281
|
// Add border to last-child
|
|
279
282
|
.#{$tabs}__item.pf-m-current:last-child .#{$tabs}__link::before {
|
|
280
|
-
border-
|
|
283
|
+
border-inline-end-width: var(--#{$tabs}--m-box__item--m-current--last-child__link--before--BorderRightWidth);
|
|
281
284
|
}
|
|
282
285
|
|
|
283
286
|
// Collapse left border into scroll button when expanded
|
|
284
287
|
&.pf-m-scrollable .#{$tabs}__item.pf-m-current:first-child .#{$tabs}__link::before {
|
|
285
|
-
|
|
288
|
+
inset-inline-start: calc(var(--#{$tabs}__link--before--border-width--base) * -1);
|
|
286
289
|
}
|
|
287
290
|
|
|
288
291
|
// Collapse left border into list when expanded
|
|
289
292
|
&.pf-m-scrollable .#{$tabs}__scroll-button:nth-of-type(2)::before {
|
|
290
|
-
|
|
293
|
+
inset-inline-start: calc(var(--#{$tabs}__link--before--border-width--base) * -1);
|
|
291
294
|
}
|
|
292
295
|
// stylelint-enable
|
|
293
296
|
|
|
@@ -338,19 +341,22 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
338
341
|
|
|
339
342
|
&::before {
|
|
340
343
|
position: absolute;
|
|
341
|
-
|
|
344
|
+
inset-inline-end: auto;
|
|
342
345
|
border: solid var(--#{$tabs}--m-vertical__list--before--BorderColor);
|
|
343
|
-
border-width: var(--#{$tabs}--m-vertical__list--before--BorderTopWidth)
|
|
346
|
+
border-block-start-width: var(--#{$tabs}--m-vertical__list--before--BorderTopWidth);
|
|
347
|
+
border-block-end-width: var(--#{$tabs}--m-vertical__list--before--BorderBottomWidth);
|
|
348
|
+
border-inline-start-width: var(--#{$tabs}--m-vertical__list--before--BorderLeftWidth);
|
|
349
|
+
border-inline-end-width: var(--#{$tabs}--m-vertical__list--before--BorderRightWidth);
|
|
344
350
|
}
|
|
345
351
|
}
|
|
346
352
|
|
|
347
353
|
// Because vertical variant has no scroll buttons, move inset to first/last __item to prevent default scrolling behavior
|
|
348
354
|
.#{$tabs}__item:first-child {
|
|
349
|
-
margin-
|
|
355
|
+
margin-block-start: var(--#{$tabs}--inset);
|
|
350
356
|
}
|
|
351
357
|
|
|
352
358
|
.#{$tabs}__item:last-child {
|
|
353
|
-
margin-
|
|
359
|
+
margin-block-end: var(--#{$tabs}--inset);
|
|
354
360
|
}
|
|
355
361
|
|
|
356
362
|
// Set hover on left border
|
|
@@ -359,7 +365,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
359
365
|
--#{$tabs}__link--after--BorderLeftWidth: var(--#{$tabs}__link--after--BorderWidth);
|
|
360
366
|
|
|
361
367
|
max-width: 100%;
|
|
362
|
-
text-align:
|
|
368
|
+
text-align: start;
|
|
363
369
|
}
|
|
364
370
|
|
|
365
371
|
.#{$tabs}__item-text {
|
|
@@ -403,8 +409,8 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
403
409
|
--#{$tabs}__link--disabled--before--BorderLeftWidth: 0;
|
|
404
410
|
|
|
405
411
|
.#{$tabs}__list::before {
|
|
406
|
-
|
|
407
|
-
|
|
412
|
+
inset-inline-start: auto;
|
|
413
|
+
inset-inline-end: 0;
|
|
408
414
|
}
|
|
409
415
|
|
|
410
416
|
// stylelint-disable selector-max-class
|
|
@@ -432,13 +438,13 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
432
438
|
|
|
433
439
|
// Offset vertical border to overlap horizontal border
|
|
434
440
|
.#{$tabs}__link::after {
|
|
435
|
-
|
|
441
|
+
inset-block-start: calc(var(--#{$tabs}__link--before--border-width--base) * -1);
|
|
436
442
|
}
|
|
437
443
|
|
|
438
444
|
// Undo offset to .pf-m-current adjacent item
|
|
439
445
|
.#{$tabs}__item:first-child .#{$tabs}__link::after,
|
|
440
446
|
.#{$tabs}__item.pf-m-current + .#{$tabs}__item .#{$tabs}__link::after {
|
|
441
|
-
|
|
447
|
+
inset-block-start: 0;
|
|
442
448
|
}
|
|
443
449
|
// stylelint-enable
|
|
444
450
|
}
|
|
@@ -465,25 +471,27 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
465
471
|
.#{$tabs}__toggle {
|
|
466
472
|
display: var(--#{$tabs}__toggle--Display);
|
|
467
473
|
align-items: center;
|
|
468
|
-
margin-
|
|
474
|
+
margin-block-end: var(--#{$tabs}__toggle--MarginBottom);
|
|
469
475
|
}
|
|
470
476
|
|
|
471
477
|
.#{$tabs}__toggle-button {
|
|
472
478
|
--#{$tabs}__toggle-text--MarginLeft: var(--#{$tabs}__toggle-button__toggle-text--MarginLeft);
|
|
473
479
|
--#{$tabs}__toggle-text--Color: var(--#{$tabs}__toggle-button__toggle-text--Color);
|
|
474
480
|
|
|
475
|
-
margin-
|
|
476
|
-
margin-
|
|
477
|
-
margin-
|
|
481
|
+
margin-block-start: var(--#{$tabs}__toggle-button--MarginTop);
|
|
482
|
+
margin-block-end: var(--#{$tabs}__toggle-button--MarginBottom);
|
|
483
|
+
margin-inline-start: var(--#{$tabs}__toggle-button--MarginLeft);
|
|
478
484
|
|
|
479
485
|
.#{$button} {
|
|
480
486
|
display: flex;
|
|
481
|
-
text-align:
|
|
487
|
+
text-align: start;
|
|
482
488
|
white-space: normal;
|
|
483
489
|
}
|
|
484
490
|
}
|
|
485
491
|
|
|
486
492
|
.#{$tabs}__toggle-icon {
|
|
493
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
494
|
+
|
|
487
495
|
display: inline-block;
|
|
488
496
|
color: var(--#{$tabs}__toggle-icon--Color);
|
|
489
497
|
transition: var(--#{$tabs}__toggle-icon--Transition);
|
|
@@ -491,7 +499,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
491
499
|
}
|
|
492
500
|
|
|
493
501
|
.#{$tabs}__toggle-text {
|
|
494
|
-
margin-
|
|
502
|
+
margin-inline-start: var(--#{$tabs}__toggle-text--MarginLeft);
|
|
495
503
|
color: var(--#{$tabs}__toggle-text--Color, inherit);
|
|
496
504
|
}
|
|
497
505
|
|
|
@@ -548,9 +556,9 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
548
556
|
.#{$tabs}__scroll-button::before,
|
|
549
557
|
.#{$tabs}__add::before {
|
|
550
558
|
position: absolute;
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
559
|
+
inset-block-end: 0;
|
|
560
|
+
inset-inline-start: 0;
|
|
561
|
+
inset-inline-end: 0;
|
|
554
562
|
content: "";
|
|
555
563
|
border-style: solid;
|
|
556
564
|
}
|
|
@@ -562,7 +570,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
562
570
|
.#{$tabs}__item.pf-m-action::after,
|
|
563
571
|
.#{$tabs}__scroll-button::before,
|
|
564
572
|
.#{$tabs}__add::before {
|
|
565
|
-
|
|
573
|
+
inset-block-start: 0;
|
|
566
574
|
}
|
|
567
575
|
|
|
568
576
|
.#{$tabs}__link,
|
|
@@ -584,7 +592,10 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
584
592
|
position: relative;
|
|
585
593
|
display: flex;
|
|
586
594
|
flex: 1;
|
|
587
|
-
padding: var(--#{$tabs}__link--PaddingTop)
|
|
595
|
+
padding-block-start: var(--#{$tabs}__link--PaddingTop);
|
|
596
|
+
padding-block-end: var(--#{$tabs}__link--PaddingBottom);
|
|
597
|
+
padding-inline-start: var(--#{$tabs}__link--PaddingLeft);
|
|
598
|
+
padding-inline-end: var(--#{$tabs}__link--PaddingRight);
|
|
588
599
|
font-size: var(--#{$tabs}__link--FontSize);
|
|
589
600
|
color: var(--#{$tabs}__link--Color);
|
|
590
601
|
text-decoration: none;
|
|
@@ -594,23 +605,29 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
594
605
|
& {
|
|
595
606
|
&::before {
|
|
596
607
|
pointer-events: none;
|
|
597
|
-
border-
|
|
598
|
-
border-
|
|
599
|
-
border-
|
|
600
|
-
border-
|
|
601
|
-
border-
|
|
608
|
+
border-block-start-color: var(--#{$tabs}__link--before--BorderTopColor);
|
|
609
|
+
border-block-start-width: var(--#{$tabs}__link--before--BorderTopWidth);
|
|
610
|
+
border-block-end-color: var(--#{$tabs}__link--before--BorderBottomColor);
|
|
611
|
+
border-block-end-width: var(--#{$tabs}__link--before--BorderBottomWidth);
|
|
612
|
+
border-inline-start-color: var(--#{$tabs}__link--before--BorderLeftColor);
|
|
613
|
+
border-inline-start-width: var(--#{$tabs}__link--before--BorderLeftWidth);
|
|
614
|
+
border-inline-end-color: var(--#{$tabs}__link--before--BorderRightColor);
|
|
615
|
+
border-inline-end-width: var(--#{$tabs}__link--before--BorderRightWidth);
|
|
602
616
|
}
|
|
603
617
|
}
|
|
604
618
|
|
|
605
619
|
@at-root .#{$tabs}__item.pf-m-action,
|
|
606
620
|
& {
|
|
607
621
|
&::after {
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
622
|
+
inset-block-start: var(--#{$tabs}__link--after--Top);
|
|
623
|
+
inset-block-end: var(--#{$tabs}__link--after--Bottom);
|
|
624
|
+
inset-inline-start: var(--#{$tabs}__link--before--Left); // use the ::before Left value to offset the top border / overlap left border
|
|
625
|
+
inset-inline-end: var(--#{$tabs}__link--after--Right);
|
|
612
626
|
border-color: var(--#{$tabs}__link--after--BorderColor);
|
|
613
|
-
border-width: var(--#{$tabs}__link--after--BorderTopWidth)
|
|
627
|
+
border-block-start-width: var(--#{$tabs}__link--after--BorderTopWidth);
|
|
628
|
+
border-block-end-width: var(--#{$tabs}__link--after--BorderBottomWidth);
|
|
629
|
+
border-inline-start-width: var(--#{$tabs}__link--after--BorderLeftWidth);
|
|
630
|
+
border-inline-end-width: var(--#{$tabs}__link--after--BorderRightWidth);
|
|
614
631
|
}
|
|
615
632
|
}
|
|
616
633
|
|
|
@@ -671,7 +688,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
671
688
|
// un-nest these selectors in a breaking change release
|
|
672
689
|
.#{$tabs}__item-icon,
|
|
673
690
|
.#{$tabs}__item-text {
|
|
674
|
-
margin-
|
|
691
|
+
margin-inline-end: var(--#{$tabs}__link--child--MarginRight);
|
|
675
692
|
|
|
676
693
|
&:last-child {
|
|
677
694
|
--#{$tabs}__link--child--MarginRight: 0;
|
|
@@ -685,6 +702,8 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
685
702
|
}
|
|
686
703
|
|
|
687
704
|
.#{$tabs}__link-toggle-icon {
|
|
705
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
706
|
+
|
|
688
707
|
align-self: end;
|
|
689
708
|
font-size: var(--#{$tabs}__link-toggle-icon--FontSize);
|
|
690
709
|
color: var(--#{$tabs}__link-toggle-icon--Color);
|
|
@@ -712,7 +731,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
712
731
|
|
|
713
732
|
.#{$tabs}__item-action-icon {
|
|
714
733
|
display: inline-block;
|
|
715
|
-
margin-
|
|
734
|
+
margin-block-start: var(--#{$tabs}__item-action-icon--MarginTop);
|
|
716
735
|
}
|
|
717
736
|
|
|
718
737
|
// Scroll buttons
|
|
@@ -726,6 +745,10 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
726
745
|
opacity: 0;
|
|
727
746
|
transition: margin var(--#{$tabs}__scroll-button--TransitionDuration--margin), transform var(--#{$tabs}__scroll-button--TransitionDuration--transform), opacity var(--#{$tabs}__scroll-button--TransitionDuration--opacity);
|
|
728
747
|
|
|
748
|
+
> * {
|
|
749
|
+
@include pf-v5-mirror-inline-on-rtl; // in breaking change, add an icon wrapper and move this style to the wrapper
|
|
750
|
+
}
|
|
751
|
+
|
|
729
752
|
&:hover,
|
|
730
753
|
&:active,
|
|
731
754
|
&:focus {
|
|
@@ -734,20 +757,23 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
734
757
|
|
|
735
758
|
&::before {
|
|
736
759
|
border-color: var(--#{$tabs}__scroll-button--before--BorderColor);
|
|
737
|
-
border-width: 0
|
|
760
|
+
border-block-start-width: 0;
|
|
761
|
+
border-block-end-width: var(--#{$tabs}__scroll-button--before--BorderBottomWidth);
|
|
762
|
+
border-inline-start-width: var(--#{$tabs}__scroll-button--before--BorderLeftWidth);
|
|
763
|
+
border-inline-end-width: var(--#{$tabs}__scroll-button--before--BorderRightWidth);
|
|
738
764
|
}
|
|
739
765
|
|
|
740
766
|
&:nth-of-type(1) {
|
|
741
767
|
--#{$tabs}__scroll-button--before--BorderRightWidth: var(--#{$tabs}__scroll-button--before--border-width--base);
|
|
742
768
|
|
|
743
|
-
margin-
|
|
769
|
+
margin-inline-end: calc(var(--#{$tabs}__scroll-button--Width) * -1);
|
|
744
770
|
transform: translateX(-100%);
|
|
745
771
|
}
|
|
746
772
|
|
|
747
773
|
&:nth-of-type(2) {
|
|
748
774
|
--#{$tabs}__scroll-button--before--BorderLeftWidth: var(--#{$tabs}__scroll-button--before--border-width--base);
|
|
749
775
|
|
|
750
|
-
margin-
|
|
776
|
+
margin-inline-start: calc(var(--#{$tabs}__scroll-button--Width) * -1);
|
|
751
777
|
transform: translateX(100%);
|
|
752
778
|
}
|
|
753
779
|
|
|
@@ -763,7 +789,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
763
789
|
display: flex;
|
|
764
790
|
|
|
765
791
|
&::before {
|
|
766
|
-
border-
|
|
792
|
+
border-inline-start: var(--#{$tabs}__add--before--BorderLeftWidth) solid var(--#{$tabs}__add--before--BorderColor);
|
|
767
793
|
}
|
|
768
794
|
|
|
769
795
|
.#{$button} {
|