@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.2
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 +1 -2
- package/assets/fontawesome/_animated.scss +1 -0
- package/assets/fontawesome/_bordered-pulled.scss +1 -0
- package/assets/fontawesome/_core.scss +2 -0
- package/assets/fontawesome/_fixed-width.scss +2 -0
- package/assets/fontawesome/_icons.scss +1 -0
- package/assets/fontawesome/_index.scss +12 -0
- package/assets/fontawesome/_larger.scss +4 -2
- package/assets/fontawesome/_list.scss +4 -2
- package/assets/fontawesome/_rotated-flipped.scss +2 -0
- package/assets/fontawesome/_screen-reader.scss +1 -0
- package/assets/fontawesome/_stacked.scss +3 -1
- package/assets/fontawesome/_variables.scss +3 -2
- package/assets/fontawesome/fontawesome.scss +12 -12
- package/assets/icons/iconUnicodes.json +6 -0
- package/assets/images/img_avatar-dark.svg +22 -16
- package/assets/images/img_avatar-light.svg +25 -18
- package/assets/images/pf-background.svg +21 -21
- package/assets/images/pf_logo.svg +11 -11
- package/assets/images/pf_logo_white.svg +16 -17
- package/assets/pficon/pf-v6-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +310 -271
- package/base/_index.scss +10 -0
- package/base/{_globals.scss → normalize.scss} +15 -48
- package/base/patternfly-common.css +14 -0
- package/base/patternfly-common.scss +68 -2
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fa-icons.scss +35 -2
- package/base/patternfly-fonts.css +10 -80
- package/base/patternfly-fonts.scss +49 -2
- package/base/patternfly-pf-icons.css +158 -134
- package/base/patternfly-pf-icons.scss +1 -2
- package/base/patternfly-svg-icons.css +5 -0
- package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
- package/base/patternfly-variables.css +1082 -1206
- package/base/patternfly-variables.scss +20 -2
- package/base/reset.scss +33 -0
- package/base/tokens/_index.scss +6 -0
- package/base/tokens/tokens-charts-dark.scss +173 -0
- package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
- package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +307 -294
- package/base/tokens/{_tokens-default.scss → tokens-default.scss} +574 -447
- package/base/tokens/{_tokens-font.scss → tokens-local.scss} +13 -34
- package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
- package/components/AboutModalBox/about-modal-box.css +86 -81
- package/components/AboutModalBox/about-modal-box.scss +80 -82
- package/components/Accordion/accordion.css +44 -43
- package/components/Accordion/accordion.scss +52 -52
- package/components/ActionList/action-list.css +6 -5
- package/components/ActionList/action-list.scss +7 -5
- package/components/Alert/alert-group.css +72 -19
- package/components/Alert/alert-group.scss +105 -18
- package/components/Alert/alert.css +52 -59
- package/components/Alert/alert.scss +56 -65
- package/components/Avatar/avatar.css +42 -41
- package/components/Avatar/avatar.scss +8 -7
- package/components/BackToTop/back-to-top.css +19 -17
- package/components/BackToTop/back-to-top.scss +17 -17
- package/components/Backdrop/backdrop.css +1 -1
- package/components/Backdrop/backdrop.scss +3 -4
- package/components/BackgroundImage/background-image.scss +3 -4
- package/components/Badge/badge.css +29 -7
- package/components/Badge/badge.scss +33 -9
- package/components/Banner/banner.css +30 -37
- package/components/Banner/banner.scss +30 -43
- package/components/Brand/brand.css +14 -10
- package/components/Brand/brand.scss +8 -5
- package/components/Breadcrumb/breadcrumb.css +23 -24
- package/components/Breadcrumb/breadcrumb.scss +25 -28
- package/components/Button/button.css +150 -128
- package/components/Button/button.scss +155 -130
- package/components/CalendarMonth/calendar-month.css +46 -46
- package/components/CalendarMonth/calendar-month.scss +49 -50
- package/components/Card/card.css +110 -93
- package/components/Card/card.scss +118 -92
- package/components/Check/check.css +5 -5
- package/components/Check/check.scss +7 -8
- package/components/ClipboardCopy/clipboard-copy.css +33 -41
- package/components/ClipboardCopy/clipboard-copy.scss +35 -44
- package/components/CodeBlock/code-block.css +21 -20
- package/components/CodeBlock/code-block.scss +21 -21
- package/components/CodeEditor/code-editor.css +35 -34
- package/components/CodeEditor/code-editor.scss +35 -35
- package/components/Content/content.css +167 -153
- package/components/Content/content.scss +204 -145
- package/components/DataList/data-list-grid.css +117 -117
- package/components/DataList/data-list-grid.scss +22 -20
- package/components/DataList/data-list.css +308 -312
- package/components/DataList/data-list.scss +145 -152
- package/components/DatePicker/date-picker.css +17 -17
- package/components/DatePicker/date-picker.scss +17 -18
- package/components/DescriptionList/description-list-order.css +5 -5
- package/components/DescriptionList/description-list-order.scss +3 -1
- package/components/DescriptionList/description-list.css +46 -44
- package/components/DescriptionList/description-list.scss +26 -31
- package/components/Divider/divider.css +104 -107
- package/components/Divider/divider.scss +19 -19
- package/components/DragDrop/drag-drop.css +4 -2
- package/components/DragDrop/drag-drop.scss +3 -3
- package/components/Drawer/drawer.css +115 -114
- package/components/Drawer/drawer.scss +136 -134
- package/components/DualListSelector/dual-list-selector.css +64 -61
- package/components/DualListSelector/dual-list-selector.scss +54 -51
- package/components/EmptyState/empty-state.css +38 -37
- package/components/EmptyState/empty-state.scss +39 -39
- package/components/ExpandableSection/expandable-section.css +27 -86
- package/components/ExpandableSection/expandable-section.scss +32 -101
- package/components/FileUpload/file-upload.css +2 -2
- package/components/FileUpload/file-upload.scss +2 -3
- package/components/Form/form.css +173 -115
- package/components/Form/form.scss +117 -103
- package/components/FormControl/form-control.css +57 -57
- package/components/FormControl/form-control.scss +69 -67
- package/components/HelperText/helper-text.css +5 -4
- package/components/HelperText/helper-text.scss +8 -6
- package/components/Hint/hint.css +25 -25
- package/components/Hint/hint.scss +25 -27
- package/components/Icon/icon.css +10 -10
- package/components/Icon/icon.scss +11 -12
- package/components/InlineEdit/inline-edit.css +12 -12
- package/components/InlineEdit/inline-edit.scss +12 -13
- package/components/InputGroup/input-group.css +16 -16
- package/components/InputGroup/input-group.scss +18 -19
- package/components/JumpLinks/jump-links.css +80 -96
- package/components/JumpLinks/jump-links.scss +80 -100
- package/components/Label/label-group.css +28 -28
- package/components/Label/label-group.scss +29 -30
- package/components/Label/label.css +102 -87
- package/components/Label/label.scss +113 -94
- package/components/List/list.css +44 -47
- package/components/List/list.scss +51 -58
- package/components/Login/login.css +122 -118
- package/components/Login/login.scss +105 -112
- package/components/Masthead/masthead.css +273 -175
- package/components/Masthead/masthead.scss +102 -68
- package/components/Menu/menu.css +151 -95
- package/components/Menu/menu.scss +59 -40
- package/components/MenuToggle/menu-toggle.css +129 -108
- package/components/MenuToggle/menu-toggle.scss +150 -128
- package/components/ModalBox/modal-box.css +53 -45
- package/components/ModalBox/modal-box.scss +52 -46
- package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
- package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
- package/components/Nav/nav.css +33 -9
- package/components/Nav/nav.scss +46 -13
- package/components/NotificationDrawer/notification-drawer.css +50 -51
- package/components/NotificationDrawer/notification-drawer.scss +58 -57
- package/components/NumberInput/number-input.css +7 -11
- package/components/NumberInput/number-input.scss +5 -7
- package/components/OverflowMenu/overflow-menu.css +2 -1
- package/components/OverflowMenu/overflow-menu.scss +3 -1
- package/components/Page/page.css +175 -519
- package/components/Page/page.scss +155 -386
- package/components/Pagination/pagination.css +82 -79
- package/components/Pagination/pagination.scss +43 -40
- package/components/Panel/panel.css +33 -30
- package/components/Panel/panel.scss +35 -33
- package/components/Popover/popover.css +54 -52
- package/components/Popover/popover.scss +55 -54
- package/components/Progress/progress.css +8 -4
- package/components/Progress/progress.scss +14 -11
- package/components/ProgressStepper/progress-stepper.css +246 -245
- package/components/ProgressStepper/progress-stepper.scss +118 -118
- package/components/Radio/radio.css +7 -7
- package/components/Radio/radio.scss +9 -10
- package/components/Sidebar/sidebar.css +139 -139
- package/components/Sidebar/sidebar.scss +61 -61
- package/components/SimpleList/simple-list.css +21 -20
- package/components/SimpleList/simple-list.scss +22 -23
- package/components/Skeleton/skeleton.css +4 -4
- package/components/Skeleton/skeleton.scss +7 -8
- package/components/SkipToContent/skip-to-content.css +7 -6
- package/components/SkipToContent/skip-to-content.scss +7 -7
- package/components/Slider/slider.css +31 -31
- package/components/Slider/slider.scss +54 -55
- package/components/Spinner/spinner.scss +4 -5
- package/components/Switch/switch.css +4 -10
- package/components/Switch/switch.scss +8 -17
- package/components/TabContent/tab-content.css +25 -25
- package/components/TabContent/tab-content.scss +28 -28
- package/components/Table/table-grid.css +434 -508
- package/components/Table/table-grid.scss +131 -150
- package/components/Table/table-scrollable.css +31 -34
- package/components/Table/table-scrollable.scss +44 -41
- package/components/Table/table-tree-view.css +287 -279
- package/components/Table/table-tree-view.scss +84 -84
- package/components/Table/table.css +316 -279
- package/components/Table/table.scss +346 -301
- package/components/Tabs/tabs.css +215 -240
- package/components/Tabs/tabs.scss +130 -162
- package/components/TextInputGroup/text-input-group.css +122 -64
- package/components/TextInputGroup/text-input-group.scss +144 -87
- package/components/Tile/tile.css +15 -15
- package/components/Tile/tile.scss +16 -17
- package/components/Timestamp/timestamp.css +13 -19
- package/components/Timestamp/timestamp.scss +16 -22
- package/components/Title/title.css +14 -13
- package/components/Title/title.scss +15 -15
- package/components/ToggleGroup/toggle-group.css +37 -37
- package/components/ToggleGroup/toggle-group.scss +38 -41
- package/components/Toolbar/toolbar.css +547 -1431
- package/components/Toolbar/toolbar.scss +159 -123
- package/components/Tooltip/tooltip.css +28 -27
- package/components/Tooltip/tooltip.scss +31 -30
- package/components/TreeView/tree-view.css +184 -184
- package/components/TreeView/tree-view.scss +133 -133
- package/components/Truncate/truncate.css +2 -2
- package/components/Truncate/truncate.scss +7 -8
- package/components/Wizard/wizard.css +190 -154
- package/components/Wizard/wizard.scss +211 -165
- package/components/_index.css +22378 -0
- package/components/_index.scss +82 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
- package/docs/components/Accordion/examples/Accordion.md +1 -1
- package/docs/components/ActionList/examples/ActionList.md +64 -24
- package/docs/components/Alert/examples/Alert.md +116 -74
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Badge/examples/Badge.md +6 -16
- package/docs/components/Banner/examples/Banner.md +16 -10
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
- package/docs/components/Button/examples/Button.md +537 -368
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
- package/docs/components/Card/examples/Card.md +372 -658
- package/docs/components/Check/examples/Check.md +10 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
- package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
- package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
- package/docs/components/Content/examples/Content.md +600 -60
- package/docs/components/DataList/examples/DataList.md +291 -1028
- package/docs/components/DatePicker/examples/DatePicker.md +18 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
- package/docs/components/Drawer/examples/Drawer.md +60 -21
- package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
- package/docs/components/EmptyState/examples/EmptyState.md +123 -53
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
- package/docs/components/FileUpload/examples/FileUpload.md +42 -14
- package/docs/components/Form/examples/Form.md +100 -26
- package/docs/components/Hint/examples/Hint.md +54 -164
- package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
- package/docs/components/InputGroup/examples/InputGroup.md +38 -62
- package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
- package/docs/components/Label/examples/Label.md +2577 -406
- package/docs/components/Login/examples/Login.md +372 -334
- package/docs/components/Masthead/examples/masthead.md +515 -484
- package/docs/components/Menu/examples/Menu.md +77 -138
- package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
- package/docs/components/ModalBox/examples/ModalBox.md +158 -100
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
- package/docs/components/Nav/examples/Navigation.css +2 -7
- package/docs/components/Nav/examples/Navigation.md +337 -270
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
- package/docs/components/NumberInput/examples/NumberInput.md +96 -48
- package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
- package/docs/components/Page/examples/Page.css +5 -9
- package/docs/components/Page/examples/Page.md +254 -181
- package/docs/components/Pagination/examples/Pagination.md +336 -756
- package/docs/components/Panel/examples/Panel.md +3 -2
- package/docs/components/Popover/examples/Popover.md +60 -15
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
- package/docs/components/Sidebar/examples/Sidebar.css +4 -2
- package/docs/components/Sidebar/examples/Sidebar.md +3 -3
- package/docs/components/Skeleton/examples/Skeleton.css +1 -1
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
- package/docs/components/Slider/examples/Slider.md +53 -45
- package/docs/components/Spinner/examples/Spinner.md +1 -1
- package/docs/components/Switch/examples/Switch.md +33 -148
- package/docs/components/Table/examples/Table.css +11 -6
- package/docs/components/Table/examples/Table.md +5302 -2464
- package/docs/components/Tabs/examples/Tabs.md +1267 -607
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
- package/docs/components/Tile/examples/Tile.css +5 -5
- package/docs/components/Timestamp/examples/Timestamp.md +7 -1
- package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
- package/docs/components/Toolbar/examples/Toolbar.css +50 -39
- package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
- package/docs/components/Tooltip/examples/Tooltip.css +1 -1
- package/docs/components/TreeView/examples/TreeView.md +627 -49
- package/docs/components/Truncate/examples/Truncate.css +1 -2
- package/docs/components/Wizard/examples/Wizard.md +1595 -126
- package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
- package/docs/demos/Alert/examples/Alert.md +924 -909
- package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
- package/docs/demos/Banner/examples/Banner.md +641 -659
- package/docs/demos/Button/examples/Button.md +8 -8
- package/docs/demos/Card/examples/Card.css +6 -6
- package/docs/demos/Card/examples/Card.md +419 -606
- package/docs/demos/CardView/examples/CardView.md +822 -1435
- package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
- package/docs/demos/DataList/examples/DataList.md +3210 -3424
- package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
- package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
- package/docs/demos/Form/examples/BasicForms.md +153 -88
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
- package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
- package/docs/demos/Modal/examples/Modal.md +1231 -1235
- package/docs/demos/Nav/examples/Nav.md +1216 -1230
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
- package/docs/demos/Page/examples/Page.css +11 -0
- package/docs/demos/Page/examples/Page.md +3753 -2540
- package/docs/demos/Panel/Panel.md +88 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
- package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
- package/docs/demos/Table/examples/Table.md +14272 -15154
- package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
- package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
- package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
- package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
- package/docs/layouts/Flex/examples/Flex.css +4 -4
- package/docs/layouts/Flex/examples/Flex.md +50 -50
- package/docs/layouts/Gallery/examples/Gallery.css +4 -4
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.css +3 -3
- package/docs/layouts/Grid/examples/Grid.md +33 -33
- package/docs/layouts/Level/examples/Level.css +5 -5
- package/docs/layouts/Split/examples/Split.css +4 -4
- package/docs/layouts/Stack/examples/Stack.css +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.css +6 -6
- package/docs/utilities/Alignment/examples/Alignment.md +5 -5
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
- package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
- package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
- package/docs/utilities/Display/examples/Display.css +3 -10
- package/docs/utilities/Display/examples/Display.md +21 -12
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +82 -40
- package/docs/utilities/Float/examples/Float.css +5 -5
- package/docs/utilities/Float/examples/Float.md +6 -6
- package/docs/utilities/Sizing/examples/Sizing.css +6 -6
- package/docs/utilities/Sizing/examples/Sizing.md +60 -60
- package/docs/utilities/Spacing/examples/Spacing.css +3 -3
- package/docs/utilities/Spacing/examples/Spacing.md +37 -37
- package/docs/utilities/Text/examples/Text.md +78 -77
- package/icons/pficons.mjs +6 -0
- package/layouts/Bullseye/bullseye.css +4 -0
- package/layouts/Bullseye/bullseye.scss +5 -1
- package/layouts/Flex/flex.css +241 -237
- package/layouts/Flex/flex.scss +48 -44
- package/layouts/Gallery/gallery.css +15 -11
- package/layouts/Gallery/gallery.scss +9 -5
- package/layouts/Grid/grid.css +20 -16
- package/layouts/Grid/grid.scss +12 -8
- package/layouts/Level/level.css +5 -1
- package/layouts/Level/level.scss +6 -2
- package/layouts/Split/split.css +5 -1
- package/layouts/Split/split.scss +6 -2
- package/layouts/Stack/stack.css +5 -1
- package/layouts/Stack/stack.scss +6 -2
- package/layouts/_index.css +3461 -0
- package/layouts/_index.scss +8 -0
- package/package.json +39 -39
- package/patternfly-addons.css +2071 -2648
- package/patternfly-addons.scss +2 -12
- package/patternfly-base-no-globals.css +1429 -1645
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +1511 -1723
- package/patternfly-base.scss +2 -6
- package/patternfly-charts.css +579 -240
- package/patternfly-charts.scss +352 -337
- package/patternfly-no-globals.css +19895 -23410
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +19999 -23510
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +3 -4
- package/sass-utilities/_index.scss +6 -0
- package/sass-utilities/functions.scss +25 -25
- package/sass-utilities/{_init.scss → init.scss} +6 -6
- package/sass-utilities/mixins.scss +108 -72
- package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
- package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
- package/sass-utilities/scss-variables.scss +49 -261
- package/utilities/Accessibility/accessibility.css +15 -15
- package/utilities/Accessibility/accessibility.scss +8 -6
- package/utilities/Alignment/alignment.css +29 -29
- package/utilities/Alignment/alignment.scss +6 -4
- package/utilities/BackgroundColor/background-color.css +67 -0
- package/utilities/BackgroundColor/background-color.scss +16 -0
- package/utilities/BoxShadow/box-shadow.css +15 -39
- package/utilities/BoxShadow/box-shadow.scss +19 -28
- package/utilities/Display/display.css +43 -5
- package/utilities/Display/display.scss +7 -4
- package/utilities/Flex/flex.css +50 -50
- package/utilities/Flex/flex.scss +21 -20
- package/utilities/Float/float.css +29 -29
- package/utilities/Float/float.scss +6 -6
- package/utilities/Sizing/sizing.css +58 -58
- package/utilities/Sizing/sizing.scss +23 -21
- package/utilities/Spacing/spacing.css +1372 -1372
- package/utilities/Spacing/spacing.scss +6 -6
- package/utilities/Text/text.css +419 -662
- package/utilities/Text/text.scss +81 -107
- package/utilities/_index.css +7815 -0
- package/utilities/_index.scss +10 -0
- package/assets/images/pf-logo-small.svg +0 -23
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pfbg-icon.svg +0 -1
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/base/_base.scss +0 -2
- package/base/_chart-globals.scss +0 -415
- package/base/_common.scss +0 -50
- package/base/_fa-icons.scss +0 -33
- package/base/_fonts.scss +0 -136
- package/base/_icons.scss +0 -3
- package/base/_pficons.scss +0 -2
- package/base/_themes.scss +0 -43
- package/base/_variables.scss +0 -299
- package/base/patternfly-globals.css +0 -120
- package/base/patternfly-globals.scss +0 -2
- package/base/patternfly-icons.css +0 -4728
- package/base/patternfly-icons.scss +0 -2
- package/base/patternfly-themes.css +0 -82
- package/base/patternfly-themes.scss +0 -2
- package/base/themes/dark/_chart-globals.scss +0 -42
- package/base/themes/dark/_globals.scss +0 -5
- package/base/tokens/_workspace-overrides.scss +0 -7
- package/components/AppLauncher/app-launcher.css +0 -244
- package/components/AppLauncher/app-launcher.scss +0 -308
- package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
- package/components/Chip/chip-group.css +0 -93
- package/components/Chip/chip-group.scss +0 -98
- package/components/Chip/chip.css +0 -122
- package/components/Chip/chip.scss +0 -140
- package/components/Chip/themes/dark/chip.scss +0 -9
- package/components/ContextSelector/context-selector.css +0 -336
- package/components/ContextSelector/context-selector.scss +0 -384
- package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
- package/components/Dropdown/dropdown.css +0 -686
- package/components/Dropdown/dropdown.scss +0 -820
- package/components/Dropdown/themes/dark/dropdown.scss +0 -32
- package/components/LogViewer/log-viewer.css +0 -197
- package/components/LogViewer/log-viewer.scss +0 -226
- package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
- package/components/NotificationBadge/notification-badge.css +0 -87
- package/components/NotificationBadge/notification-badge.scss +0 -108
- package/components/OptionsMenu/options-menu.css +0 -279
- package/components/OptionsMenu/options-menu.scss +0 -332
- package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
- package/components/Select/select.css +0 -599
- package/components/Select/select.scss +0 -713
- package/components/Select/themes/dark/select.scss +0 -23
- package/components/_all.scss +0 -91
- package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
- package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
- package/docs/components/Chip/examples/Chip.md +0 -846
- package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
- package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
- package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
- package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
- package/docs/components/LogViewer/examples/LogViewer.css +0 -17
- package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
- package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
- package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
- package/docs/components/Page/deprecated/PageHeader.css +0 -17
- package/docs/components/Page/deprecated/PageHeader.md +0 -261
- package/docs/components/Pagination/examples/Pagination.css +0 -3
- package/docs/components/Select/deprecated/Select.css +0 -56
- package/docs/components/Select/deprecated/Select.md +0 -3525
- package/docs/components/Tabs/examples/Tabs.css +0 -10
- package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
- package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
- package/docs/demos/Page/examples/Penta.md +0 -821
- package/docs/utilities/Text/examples/Text.css +0 -0
- package/layouts/_all.scss +0 -7
- package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
- package/patternfly-base-theme-dark-unversioned.css +0 -6393
- package/patternfly-base-theme-dark-unversioned.scss +0 -5
- package/patternfly-charts-theme-dark-unversioned.css +0 -70
- package/patternfly-charts-theme-dark-unversioned.scss +0 -8
- package/patternfly-charts-theme-dark.css +0 -70
- package/patternfly-charts-theme-dark.scss +0 -8
- package/patternfly-theme-dark-unversioned.css +0 -35533
- package/patternfly-theme-dark-unversioned.scss +0 -6
- package/patternfly-theme-dark.css +0 -0
- package/patternfly-theme-dark.scss +0 -1
- package/sass-utilities/_all.scss +0 -9
- package/sass-utilities/colors.scss +0 -82
- package/sass-utilities/div.import.scss +0 -3
- package/sass-utilities/div.scss +0 -4
- package/sass-utilities/placeholders.scss +0 -72
- package/sass-utilities/themes/dark/_all.scss +0 -4
- package/sass-utilities/themes/dark/colors.scss +0 -16
- package/sass-utilities/themes/dark/mixins.scss +0 -7
- package/sass-utilities/themes/dark/placeholders.scss +0 -5
- package/sass-utilities/themes/dark/scss-variables.scss +0 -92
- package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
- package/utilities/BackgroundColor/BackgroundColor.css +0 -414
- package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
- package/utilities/Text/themes/dark/text.css +0 -0
- package/utilities/Text/themes/dark/text.scss +0 -33
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
$pf-v5-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
|
-
$pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
4
2
|
|
|
5
|
-
:
|
|
6
|
-
:
|
|
3
|
+
$pf-v6-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
4
|
+
$pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
5
|
+
|
|
6
|
+
@include pf-root($tabs) {
|
|
7
7
|
--#{$tabs}--inset: 0;
|
|
8
8
|
--#{$tabs}--Width: auto;
|
|
9
9
|
--#{$tabs}--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
10
10
|
--#{$tabs}--before--border-width--base: var(--pf-t--global--border--width--regular);
|
|
11
|
-
--#{$tabs}--before--
|
|
12
|
-
--#{$tabs}--before--
|
|
13
|
-
--#{$tabs}--before--
|
|
14
|
-
--#{$tabs}--before--
|
|
11
|
+
--#{$tabs}--before--BorderBlockStartWidth: 0;
|
|
12
|
+
--#{$tabs}--before--BorderInlineEndWidth: 0;
|
|
13
|
+
--#{$tabs}--before--BorderBlockEndWidth: var(--#{$tabs}--before--border-width--base);
|
|
14
|
+
--#{$tabs}--before--BorderInlineStartWidth: 0;
|
|
15
15
|
--#{$tabs}--m-vertical--inset: var(--pf-t--global--spacer--sm);
|
|
16
16
|
|
|
17
17
|
// Tabs, Page insets modifier
|
|
@@ -22,14 +22,10 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
22
22
|
--#{$tabs}--m-vertical--MaxWidth: #{pf-size-prem(250px)};
|
|
23
23
|
--#{$tabs}--m-vertical--m-box--inset: var(--pf-t--global--spacer--md);
|
|
24
24
|
--#{$tabs}--m-vertical__list--before--BorderColor: var(--#{$tabs}--before--BorderColor);
|
|
25
|
-
--#{$tabs}--m-vertical__list--before--
|
|
26
|
-
--#{$tabs}--m-vertical__list--before--
|
|
27
|
-
--#{$tabs}--m-vertical__list--before--
|
|
28
|
-
--#{$tabs}--m-vertical__list--before--
|
|
29
|
-
|
|
30
|
-
// Tabs, Box modifier
|
|
31
|
-
--#{$tabs}--m-box__item--m-current--first-child__link--before--BorderLeftWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
32
|
-
--#{$tabs}--m-box__item--m-current--last-child__link--before--BorderRightWidth: var(--#{$tabs}--before--border-width--base);
|
|
25
|
+
--#{$tabs}--m-vertical__list--before--BorderBlockStartWidth: 0;
|
|
26
|
+
--#{$tabs}--m-vertical__list--before--BorderInlineEndWidth: 0;
|
|
27
|
+
--#{$tabs}--m-vertical__list--before--BorderBlockEndWidth: 0;
|
|
28
|
+
--#{$tabs}--m-vertical__list--before--BorderInlineStartWidth: var(--#{$tabs}--before--border-width--base);
|
|
33
29
|
|
|
34
30
|
// Tabs List
|
|
35
31
|
--#{$tabs}__list--Display: flex;
|
|
@@ -48,25 +44,25 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
48
44
|
--#{$tabs}--m-box__item--m-current--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
49
45
|
--#{$tabs}--m-box--m-secondary__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
50
46
|
--#{$tabs}--m-box--m-secondary__item--m-current--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
51
|
-
--#{$tabs}__item--m-action--before--ZIndex: var(--pf-t--global--
|
|
47
|
+
--#{$tabs}__item--m-action--before--ZIndex: var(--pf-t--global--z-index--sm);
|
|
52
48
|
|
|
53
49
|
// Tabs link
|
|
54
50
|
--#{$tabs}__link--Color: var(--pf-t--global--text--color--subtle);
|
|
55
51
|
--#{$tabs}__link--FontSize: var(--pf-t--global--font--size--sm);
|
|
56
52
|
--#{$tabs}__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
57
53
|
--#{$tabs}__link--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
58
|
-
--#{$tabs}__link--
|
|
59
|
-
--#{$tabs}__link--
|
|
60
|
-
--#{$tabs}__link--
|
|
61
|
-
--#{$tabs}__link--
|
|
54
|
+
--#{$tabs}__link--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
55
|
+
--#{$tabs}__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
56
|
+
--#{$tabs}__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
57
|
+
--#{$tabs}__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
62
58
|
--#{$tabs}__link--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
63
59
|
--#{$tabs}__link--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
|
64
60
|
--#{$tabs}__link--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
65
61
|
--#{$tabs}__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
66
62
|
--#{$tabs}__item--m-current__link--Color: var(--pf-t--global--text--color--regular);
|
|
67
63
|
--#{$tabs}__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
68
|
-
--#{$tabs}--m-vertical__link--
|
|
69
|
-
--#{$tabs}--m-vertical__link--
|
|
64
|
+
--#{$tabs}--m-vertical__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
65
|
+
--#{$tabs}--m-vertical__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
70
66
|
--#{$tabs}--m-box__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
71
67
|
--#{$tabs}--m-box__link--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
|
72
68
|
--#{$tabs}--m-box__link--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
@@ -82,28 +78,28 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
82
78
|
// Link before
|
|
83
79
|
--#{$tabs}__link--before--border-color--base: var(--pf-t--global--border--color--default);
|
|
84
80
|
--#{$tabs}__link--before--border-width--base: var(--pf-t--global--border--width--regular);
|
|
85
|
-
--#{$tabs}__link--before--
|
|
86
|
-
--#{$tabs}__link--before--
|
|
87
|
-
--#{$tabs}__link--before--
|
|
88
|
-
--#{$tabs}__link--before--
|
|
89
|
-
--#{$tabs}__link--before--
|
|
90
|
-
--#{$tabs}__link--before--
|
|
91
|
-
--#{$tabs}__link--before--
|
|
92
|
-
--#{$tabs}__link--before--
|
|
93
|
-
--#{$tabs}__link--before--
|
|
94
|
-
--#{$tabs}__link--disabled--before--
|
|
95
|
-
--#{$tabs}__link--disabled--before--
|
|
96
|
-
--#{$tabs}__link--disabled--before--
|
|
81
|
+
--#{$tabs}__link--before--BorderBlockStartColor: var(--#{$tabs}__link--before--border-color--base);
|
|
82
|
+
--#{$tabs}__link--before--BorderInlineEndColor: var(--#{$tabs}__link--before--border-color--base);
|
|
83
|
+
--#{$tabs}__link--before--BorderBlockEndColor: var(--#{$tabs}__link--before--border-color--base);
|
|
84
|
+
--#{$tabs}__link--before--BorderInlineStartColor: var(--#{$tabs}__link--before--border-color--base);
|
|
85
|
+
--#{$tabs}__link--before--BorderBlockStartWidth: 0;
|
|
86
|
+
--#{$tabs}__link--before--BorderInlineEndWidth: 0;
|
|
87
|
+
--#{$tabs}__link--before--BorderBlockEndWidth: 0;
|
|
88
|
+
--#{$tabs}__link--before--BorderInlineStartWidth: 0;
|
|
89
|
+
--#{$tabs}__link--before--InsetInlineStart: calc(var(--#{$tabs}__link--before--border-width--base) * -1);
|
|
90
|
+
--#{$tabs}__link--disabled--before--BorderInlineEndWidth: 0;
|
|
91
|
+
--#{$tabs}__link--disabled--before--BorderBlockEndWidth: var(--#{$tabs}--before--border-width--base);
|
|
92
|
+
--#{$tabs}__link--disabled--before--BorderInlineStartWidth: 0;
|
|
97
93
|
|
|
98
94
|
// Link after
|
|
99
|
-
--#{$tabs}__link--after--
|
|
100
|
-
--#{$tabs}__link--after--
|
|
101
|
-
--#{$tabs}__link--after--
|
|
95
|
+
--#{$tabs}__link--after--InsetBlockStart: auto;
|
|
96
|
+
--#{$tabs}__link--after--InsetInlineEnd: 0;
|
|
97
|
+
--#{$tabs}__link--after--InsetBlockEnd: 0;
|
|
102
98
|
--#{$tabs}__link--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
103
99
|
--#{$tabs}__link--after--BorderWidth: 0;
|
|
104
|
-
--#{$tabs}__link--after--
|
|
105
|
-
--#{$tabs}__link--after--
|
|
106
|
-
--#{$tabs}__link--after--
|
|
100
|
+
--#{$tabs}__link--after--BorderBlockStartWidth: 0;
|
|
101
|
+
--#{$tabs}__link--after--BorderInlineEndWidth: 0;
|
|
102
|
+
--#{$tabs}__link--after--BorderInlineStartWidth: 0;
|
|
107
103
|
--#{$tabs}__item--m-current__link--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
108
104
|
--#{$tabs}__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
|
|
109
105
|
|
|
@@ -120,9 +116,9 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
120
116
|
// Scroll buttons before
|
|
121
117
|
--#{$tabs}__scroll-button--before--BorderColor: var(--#{$tabs}--before--BorderColor);
|
|
122
118
|
--#{$tabs}__scroll-button--before--border-width--base: var(--pf-t--global--border--width--regular);
|
|
123
|
-
--#{$tabs}__scroll-button--before--
|
|
124
|
-
--#{$tabs}__scroll-button--before--
|
|
125
|
-
--#{$tabs}__scroll-button--before--
|
|
119
|
+
--#{$tabs}__scroll-button--before--BorderInlineEndWidth: 0;
|
|
120
|
+
--#{$tabs}__scroll-button--before--BorderBlockEndWidth: var(--#{$tabs}__scroll-button--before--border-width--base);
|
|
121
|
+
--#{$tabs}__scroll-button--before--BorderInlineStartWidth: 0;
|
|
126
122
|
|
|
127
123
|
// Scroll snap
|
|
128
124
|
--#{$tabs}__list--ScrollSnapTypeAxis: x;
|
|
@@ -133,13 +129,8 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
133
129
|
|
|
134
130
|
// Expandable
|
|
135
131
|
--#{$tabs}__toggle--Display: flex;
|
|
136
|
-
--#{$tabs}__toggle-icon--Color: currentcolor;
|
|
137
132
|
--#{$tabs}__toggle-icon--Transition: all 250ms cubic-bezier(.42, 0, .58, 1);
|
|
138
133
|
--#{$tabs}__toggle-icon--Rotate: 0;
|
|
139
|
-
--#{$tabs}__toggle-text--MarginLeft: 0;
|
|
140
|
-
--#{$tabs}__toggle-button__toggle-text--MarginLeft: var(--pf-t--global--spacer--md);
|
|
141
|
-
--#{$tabs}__toggle-button__toggle-text--Color: var(--pf-t--global--text--color--regular);
|
|
142
|
-
--#{$tabs}--m-expanded__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
143
134
|
--#{$tabs}--m-expanded__toggle-icon--Rotate: 90deg;
|
|
144
135
|
--#{$tabs}--m-expandable--RowGap: var(--pf-t--global--spacer--sm);
|
|
145
136
|
--#{$tabs}--m-expandable--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -150,11 +141,11 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
150
141
|
// Item action
|
|
151
142
|
--#{$tabs}__item-action--c-button--FontSize: var(--pf-t--global--font--size--sm);
|
|
152
143
|
--#{$tabs}--m-subtab__item-action--c-button--FontSize: var(--pf-t--global--font--size--xs);
|
|
153
|
-
--#{$tabs}__item-action-icon--
|
|
144
|
+
--#{$tabs}__item-action-icon--MarginBlockStart: #{pf-size-prem(2px)};
|
|
154
145
|
|
|
155
146
|
// Add button
|
|
156
147
|
--#{$tabs}__add--before--BorderColor: var(--#{$tabs}__link--before--border-color--base);
|
|
157
|
-
--#{$tabs}__add--before--
|
|
148
|
+
--#{$tabs}__add--before--BorderInlineStartWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
158
149
|
--#{$tabs}__add--c-button--FontSize: var(--pf-t--global--font--size--sm);
|
|
159
150
|
--#{$tabs}--m-subtab__add--c-button--FontSize: var(--pf-t--global--font--size--xs);
|
|
160
151
|
--#{$tabs}__add--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -184,10 +175,10 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
184
175
|
inset-inline-start: 0;
|
|
185
176
|
inset-inline-end: 0;
|
|
186
177
|
border: solid var(--#{$tabs}--before--BorderColor);
|
|
187
|
-
border-block-start-width: var(--#{$tabs}--before--
|
|
188
|
-
border-block-end-width: var(--#{$tabs}--before--
|
|
189
|
-
border-inline-start-width: var(--#{$tabs}--before--
|
|
190
|
-
border-inline-end-width: var(--#{$tabs}--before--
|
|
178
|
+
border-block-start-width: var(--#{$tabs}--before--BorderBlockStartWidth);
|
|
179
|
+
border-block-end-width: var(--#{$tabs}--before--BorderBlockEndWidth);
|
|
180
|
+
border-inline-start-width: var(--#{$tabs}--before--BorderInlineStartWidth);
|
|
181
|
+
border-inline-end-width: var(--#{$tabs}--before--BorderInlineEndWidth);
|
|
191
182
|
}
|
|
192
183
|
|
|
193
184
|
// Filled style
|
|
@@ -195,16 +186,16 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
195
186
|
.#{$tabs}__list {
|
|
196
187
|
flex-basis: 100%;
|
|
197
188
|
}
|
|
198
|
-
|
|
189
|
+
|
|
199
190
|
.#{$tabs}__item {
|
|
200
191
|
flex-grow: 1;
|
|
201
192
|
|
|
202
193
|
&:first-child {
|
|
203
|
-
--#{$tabs}--m-box__item--m-current--first-child__link--before--
|
|
194
|
+
--#{$tabs}--m-box__item--m-current--first-child__link--before--BorderInlineStartWidth: 0;
|
|
204
195
|
}
|
|
205
196
|
|
|
206
197
|
&:last-child {
|
|
207
|
-
--#{$tabs}--m-box__item--m-current--last-child__link--before--
|
|
198
|
+
--#{$tabs}--m-box__item--m-current--last-child__link--before--BorderInlineEndWidth: 0;
|
|
208
199
|
}
|
|
209
200
|
}
|
|
210
201
|
|
|
@@ -233,15 +224,15 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
233
224
|
}
|
|
234
225
|
|
|
235
226
|
&.pf-m-no-border-bottom {
|
|
236
|
-
--#{$tabs}--before--
|
|
237
|
-
--#{$tabs}__link--disabled--before--
|
|
227
|
+
--#{$tabs}--before--BorderBlockEndWidth: 0;
|
|
228
|
+
--#{$tabs}__link--disabled--before--BorderBlockEndWidth: 0;
|
|
238
229
|
}
|
|
239
230
|
|
|
240
231
|
// Remove bottom border for variants
|
|
241
232
|
&.pf-m-box,
|
|
242
233
|
&.pf-m-vertical {
|
|
243
234
|
.#{$tabs}__link {
|
|
244
|
-
--#{$tabs}__link--after--
|
|
235
|
+
--#{$tabs}__link--after--BorderBlockEndWidth: 0;
|
|
245
236
|
}
|
|
246
237
|
}
|
|
247
238
|
|
|
@@ -254,34 +245,25 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
254
245
|
--#{$tabs}__link--disabled--BackgroundColor: var(--#{$tabs}--m-box__link--disabled--BackgroundColor);
|
|
255
246
|
--#{$tabs}__link--hover--BackgroundColor: var(--#{$tabs}--m-box__link--hover--BackgroundColor);
|
|
256
247
|
--#{$tabs}__item--m-current__link--BackgroundColor: var(--#{$tabs}--m-box__item--m-current__link--BackgroundColor);
|
|
257
|
-
--#{$tabs}__link--before--
|
|
258
|
-
--#{$tabs}__link--after--
|
|
259
|
-
--#{$tabs}__link--after--
|
|
248
|
+
--#{$tabs}__link--before--BorderBlockEndWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
249
|
+
--#{$tabs}__link--after--InsetBlockStart: 0;
|
|
250
|
+
--#{$tabs}__link--after--InsetBlockEnd: auto;
|
|
260
251
|
|
|
261
252
|
.#{$tabs}__link {
|
|
262
|
-
--#{$tabs}__link--after--
|
|
253
|
+
--#{$tabs}__link--after--BorderBlockStartWidth: var(--#{$tabs}__link--after--BorderWidth);
|
|
263
254
|
}
|
|
264
255
|
|
|
265
256
|
// Remove border from last-child
|
|
266
257
|
.#{$tabs}__item:last-child {
|
|
267
|
-
--#{$tabs}__link--before--
|
|
258
|
+
--#{$tabs}__link--before--BorderInlineEndWidth: 0;
|
|
268
259
|
}
|
|
269
260
|
|
|
270
261
|
.#{$tabs}__item.pf-m-current {
|
|
271
262
|
--#{$tabs}__link--BackgroundColor: var(--#{$tabs}__item--m-current__link--BackgroundColor);
|
|
272
|
-
--#{$tabs}__link--before--
|
|
263
|
+
--#{$tabs}__link--before--BorderBlockEndColor: var(--#{$tabs}__link--BackgroundColor);
|
|
273
264
|
}
|
|
274
265
|
|
|
275
266
|
// stylelint-disable
|
|
276
|
-
// Add border to first-child
|
|
277
|
-
.#{$tabs}__item.pf-m-current:first-child .#{$tabs}__link::before {
|
|
278
|
-
border-inline-start-width: var(--#{$tabs}--m-box__item--m-current--first-child__link--before--BorderLeftWidth);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
// Add border to last-child
|
|
282
|
-
.#{$tabs}__item.pf-m-current:last-child .#{$tabs}__link::before {
|
|
283
|
-
border-inline-end-width: var(--#{$tabs}--m-box__item--m-current--last-child__link--before--BorderRightWidth);
|
|
284
|
-
}
|
|
285
267
|
|
|
286
268
|
// Collapse left border into scroll button when expanded
|
|
287
269
|
&.pf-m-scrollable .#{$tabs}__item.pf-m-current:first-child .#{$tabs}__link::before {
|
|
@@ -297,7 +279,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
297
279
|
// stylelint-disable selector-max-class
|
|
298
280
|
// Remove offset from current adjacent item
|
|
299
281
|
.#{$tabs}__item.pf-m-current + .#{$tabs}__item {
|
|
300
|
-
--#{$tabs}__link--before--
|
|
282
|
+
--#{$tabs}__link--before--InsetInlineStart: 0;
|
|
301
283
|
}
|
|
302
284
|
// stylelint-enable
|
|
303
285
|
|
|
@@ -316,17 +298,17 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
316
298
|
&.pf-m-vertical {
|
|
317
299
|
--#{$tabs}--Width: var(--#{$tabs}--m-vertical--Width);
|
|
318
300
|
--#{$tabs}--inset: var(--#{$tabs}--m-vertical--inset);
|
|
319
|
-
--#{$tabs}--before--
|
|
301
|
+
--#{$tabs}--before--BorderBlockEndWidth: 0;
|
|
320
302
|
--#{$tabs}__item--PaddingInlineStart: var(--#{$tabs}--m-vertical__item--PaddingInlineStart);
|
|
321
303
|
--#{$tabs}__item--PaddingInlineEnd: var(--#{$tabs}--m-vertical__item--PaddingInlineEnd);
|
|
322
|
-
--#{$tabs}__link--
|
|
323
|
-
--#{$tabs}__link--
|
|
324
|
-
--#{$tabs}__link--before--
|
|
325
|
-
--#{$tabs}__link--disabled--before--
|
|
326
|
-
--#{$tabs}__link--disabled--before--
|
|
327
|
-
--#{$tabs}__link--after--
|
|
328
|
-
--#{$tabs}__link--after--
|
|
329
|
-
--#{$tabs}__link--after--
|
|
304
|
+
--#{$tabs}__link--PaddingInlineStart: var(--#{$tabs}--m-vertical__link--PaddingInlineStart);
|
|
305
|
+
--#{$tabs}__link--PaddingInlineEnd: var(--#{$tabs}--m-vertical__link--PaddingInlineEnd);
|
|
306
|
+
--#{$tabs}__link--before--InsetInlineStart: 0;
|
|
307
|
+
--#{$tabs}__link--disabled--before--BorderBlockEndWidth: 0;
|
|
308
|
+
--#{$tabs}__link--disabled--before--BorderInlineStartWidth: var(--#{$tabs}--before--border-width--base);
|
|
309
|
+
--#{$tabs}__link--after--InsetBlockStart: 0;
|
|
310
|
+
--#{$tabs}__link--after--InsetBlockEnd: 0;
|
|
311
|
+
--#{$tabs}__link--after--InsetInlineEnd: auto;
|
|
330
312
|
--#{$tabs}__list--ScrollSnapTypeAxis: var(--#{$tabs}--m-vertical__list--ScrollSnapTypeAxis);
|
|
331
313
|
|
|
332
314
|
display: inline-flex;
|
|
@@ -345,10 +327,10 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
345
327
|
position: absolute;
|
|
346
328
|
inset-inline-end: auto;
|
|
347
329
|
border: solid var(--#{$tabs}--m-vertical__list--before--BorderColor);
|
|
348
|
-
border-block-start-width: var(--#{$tabs}--m-vertical__list--before--
|
|
349
|
-
border-block-end-width: var(--#{$tabs}--m-vertical__list--before--
|
|
350
|
-
border-inline-start-width: var(--#{$tabs}--m-vertical__list--before--
|
|
351
|
-
border-inline-end-width: var(--#{$tabs}--m-vertical__list--before--
|
|
330
|
+
border-block-start-width: var(--#{$tabs}--m-vertical__list--before--BorderBlockStartWidth);
|
|
331
|
+
border-block-end-width: var(--#{$tabs}--m-vertical__list--before--BorderBlockEndWidth);
|
|
332
|
+
border-inline-start-width: var(--#{$tabs}--m-vertical__list--before--BorderInlineStartWidth);
|
|
333
|
+
border-inline-end-width: var(--#{$tabs}--m-vertical__list--before--BorderInlineEndWidth);
|
|
352
334
|
}
|
|
353
335
|
}
|
|
354
336
|
|
|
@@ -362,8 +344,8 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
362
344
|
}
|
|
363
345
|
|
|
364
346
|
.#{$tabs}__link {
|
|
365
|
-
--#{$tabs}__link--after--
|
|
366
|
-
--#{$tabs}__link--after--
|
|
347
|
+
--#{$tabs}__link--after--BorderBlockStartWidth: 0;
|
|
348
|
+
--#{$tabs}__link--after--BorderInlineStartWidth: var(--#{$tabs}__link--after--BorderWidth);
|
|
367
349
|
|
|
368
350
|
max-width: 100%;
|
|
369
351
|
text-align: start;
|
|
@@ -374,10 +356,10 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
374
356
|
overflow-wrap: break-word;
|
|
375
357
|
}
|
|
376
358
|
|
|
377
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
359
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
378
360
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
379
361
|
|
|
380
|
-
@include pf-
|
|
362
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
381
363
|
// stylelint-disable max-nesting-depth
|
|
382
364
|
&.pf-m-expandable#{$breakpoint-name} {
|
|
383
365
|
--#{$tabs}__list--Display: none;
|
|
@@ -402,7 +384,6 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
402
384
|
|
|
403
385
|
&.pf-m-expanded {
|
|
404
386
|
--#{$tabs}__list--Display: flex;
|
|
405
|
-
--#{$tabs}__toggle-icon--Color: var(--#{$tabs}--m-expanded__toggle-icon--Color);
|
|
406
387
|
--#{$tabs}__toggle-icon--Rotate: var(--#{$tabs}--m-expanded__toggle-icon--Rotate);
|
|
407
388
|
}
|
|
408
389
|
}
|
|
@@ -410,12 +391,12 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
410
391
|
// Box, vertical
|
|
411
392
|
&.pf-m-box.pf-m-vertical {
|
|
412
393
|
--#{$tabs}--inset: var(--#{$tabs}--m-vertical--m-box--inset);
|
|
413
|
-
--#{$tabs}--m-vertical__list--before--
|
|
414
|
-
--#{$tabs}--m-vertical__list--before--
|
|
415
|
-
--#{$tabs}__link--before--
|
|
416
|
-
--#{$tabs}__link--disabled--before--
|
|
417
|
-
--#{$tabs}__link--disabled--before--
|
|
418
|
-
--#{$tabs}__link--disabled--before--
|
|
394
|
+
--#{$tabs}--m-vertical__list--before--BorderInlineStartWidth: 0;
|
|
395
|
+
--#{$tabs}--m-vertical__list--before--BorderInlineEndWidth: var(--#{$tabs}--before--border-width--base);
|
|
396
|
+
--#{$tabs}__link--before--BorderInlineEndWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
397
|
+
--#{$tabs}__link--disabled--before--BorderInlineEndWidth: var(--#{$tabs}--before--border-width--base);
|
|
398
|
+
--#{$tabs}__link--disabled--before--BorderBlockEndWidth: var(--#{$tabs}--before--border-width--base);
|
|
399
|
+
--#{$tabs}__link--disabled--before--BorderInlineStartWidth: 0;
|
|
419
400
|
|
|
420
401
|
.#{$tabs}__list::before {
|
|
421
402
|
inset-inline-start: auto;
|
|
@@ -424,21 +405,21 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
424
405
|
|
|
425
406
|
// stylelint-disable selector-max-class
|
|
426
407
|
.#{$tabs}__item:last-child {
|
|
427
|
-
--#{$tabs}__link--before--
|
|
408
|
+
--#{$tabs}__link--before--BorderInlineEndWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
428
409
|
}
|
|
429
410
|
.#{$tabs}__item:first-child {
|
|
430
|
-
--#{$tabs}__link--before--
|
|
411
|
+
--#{$tabs}__link--before--BorderBlockStartWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
431
412
|
}
|
|
432
413
|
|
|
433
414
|
// Add border right color and weight
|
|
434
415
|
.#{$tabs}__item.pf-m-current {
|
|
435
|
-
--#{$tabs}__link--before--
|
|
436
|
-
--#{$tabs}__link--before--
|
|
416
|
+
--#{$tabs}__link--before--BorderInlineEndColor: var(--#{$tabs}__item--m-current__link--BackgroundColor);
|
|
417
|
+
--#{$tabs}__link--before--BorderBlockEndColor: var(--#{$tabs}__link--before--border-color--base);
|
|
437
418
|
}
|
|
438
419
|
|
|
439
420
|
// Add border right color and weight
|
|
440
421
|
.#{$tabs}__item:first-child.pf-m-current {
|
|
441
|
-
--#{$tabs}__link--before--
|
|
422
|
+
--#{$tabs}__link--before--BorderBlockStartWidth: var(--#{$tabs}__link--before--border-width--base);
|
|
442
423
|
}
|
|
443
424
|
|
|
444
425
|
// Offset vertical border to overlap horizontal border
|
|
@@ -479,34 +460,23 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
479
460
|
}
|
|
480
461
|
|
|
481
462
|
.#{$tabs}__toggle-button {
|
|
482
|
-
--#{$tabs}__toggle-text--MarginLeft: var(--#{$tabs}__toggle-button__toggle-text--MarginLeft);
|
|
483
|
-
--#{$tabs}__toggle-text--Color: var(--#{$tabs}__toggle-button__toggle-text--Color);
|
|
484
|
-
|
|
485
463
|
.#{$button} {
|
|
486
|
-
|
|
487
|
-
text-align: start;
|
|
464
|
+
justify-content: start;
|
|
488
465
|
white-space: normal;
|
|
489
466
|
}
|
|
490
467
|
}
|
|
491
468
|
|
|
492
469
|
.#{$tabs}__toggle-icon {
|
|
493
|
-
@include pf-
|
|
470
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
494
471
|
|
|
495
472
|
display: inline-block;
|
|
496
|
-
color: var(--#{$tabs}__toggle-icon--Color);
|
|
497
473
|
transition: var(--#{$tabs}__toggle-icon--Transition);
|
|
498
474
|
transform: rotate(var(--#{$tabs}__toggle-icon--Rotate));
|
|
499
475
|
}
|
|
500
476
|
|
|
501
|
-
.#{$tabs}__toggle-text {
|
|
502
|
-
margin-inline-start: var(--#{$tabs}__toggle-text--MarginLeft);
|
|
503
|
-
color: var(--#{$tabs}__toggle-text--Color, inherit);
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
|
|
507
477
|
// Tab list
|
|
508
478
|
.#{$tabs}__list {
|
|
509
|
-
@include pf-
|
|
479
|
+
@include pf-v6-overflow-hide-scroll;
|
|
510
480
|
|
|
511
481
|
position: relative;
|
|
512
482
|
display: var(--#{$tabs}__list--Display);
|
|
@@ -590,50 +560,50 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
590
560
|
.#{$tabs}__link {
|
|
591
561
|
@at-root .#{$tabs}__item.pf-m-action,
|
|
592
562
|
& {
|
|
593
|
-
--#{$tabs}__link--after--
|
|
563
|
+
--#{$tabs}__link--after--BorderBlockEndWidth: var(--#{$tabs}__link--after--BorderWidth); // Set default border target
|
|
594
564
|
}
|
|
595
|
-
|
|
565
|
+
|
|
596
566
|
display: flex;
|
|
597
567
|
flex: 1;
|
|
598
568
|
column-gap: var(--#{$tabs}__link--ColumnGap);
|
|
599
569
|
align-items: center;
|
|
600
|
-
padding-block-start: var(--#{$tabs}__link--
|
|
601
|
-
padding-block-end: var(--#{$tabs}__link--
|
|
602
|
-
padding-inline-start: var(--#{$tabs}__link--
|
|
603
|
-
padding-inline-end: var(--#{$tabs}__link--
|
|
570
|
+
padding-block-start: var(--#{$tabs}__link--PaddingBlockStart);
|
|
571
|
+
padding-block-end: var(--#{$tabs}__link--PaddingBlockEnd);
|
|
572
|
+
padding-inline-start: var(--#{$tabs}__link--PaddingInlineStart);
|
|
573
|
+
padding-inline-end: var(--#{$tabs}__link--PaddingInlineEnd);
|
|
604
574
|
font-size: var(--#{$tabs}__link--FontSize);
|
|
605
575
|
color: var(--#{$tabs}__link--Color);
|
|
606
576
|
text-decoration: none;
|
|
607
577
|
background-color: var(--#{$tabs}__link--BackgroundColor);
|
|
608
578
|
border-radius: var(--#{$tabs}__link--BorderRadius);
|
|
609
|
-
|
|
579
|
+
|
|
610
580
|
@at-root .#{$tabs}__item.pf-m-action,
|
|
611
581
|
& {
|
|
612
582
|
&::before {
|
|
613
583
|
pointer-events: none;
|
|
614
|
-
border-block-start-color: var(--#{$tabs}__link--before--
|
|
615
|
-
border-block-start-width: var(--#{$tabs}__link--before--
|
|
616
|
-
border-block-end-color: var(--#{$tabs}__link--before--
|
|
617
|
-
border-block-end-width: var(--#{$tabs}__link--before--
|
|
618
|
-
border-inline-start-color: var(--#{$tabs}__link--before--
|
|
619
|
-
border-inline-start-width: var(--#{$tabs}__link--before--
|
|
620
|
-
border-inline-end-color: var(--#{$tabs}__link--before--
|
|
621
|
-
border-inline-end-width: var(--#{$tabs}__link--before--
|
|
584
|
+
border-block-start-color: var(--#{$tabs}__link--before--BorderBlockStartColor);
|
|
585
|
+
border-block-start-width: var(--#{$tabs}__link--before--BorderBlockStartWidth);
|
|
586
|
+
border-block-end-color: var(--#{$tabs}__link--before--BorderBlockEndColor);
|
|
587
|
+
border-block-end-width: var(--#{$tabs}__link--before--BorderBlockEndWidth);
|
|
588
|
+
border-inline-start-color: var(--#{$tabs}__link--before--BorderInlineStartColor);
|
|
589
|
+
border-inline-start-width: var(--#{$tabs}__link--before--BorderInlineStartWidth);
|
|
590
|
+
border-inline-end-color: var(--#{$tabs}__link--before--BorderInlineEndColor);
|
|
591
|
+
border-inline-end-width: var(--#{$tabs}__link--before--BorderInlineEndWidth);
|
|
622
592
|
}
|
|
623
593
|
}
|
|
624
594
|
|
|
625
595
|
@at-root .#{$tabs}__item.pf-m-action,
|
|
626
596
|
& {
|
|
627
597
|
&::after {
|
|
628
|
-
inset-block-start: var(--#{$tabs}__link--after--
|
|
629
|
-
inset-block-end: var(--#{$tabs}__link--after--
|
|
630
|
-
inset-inline-start: var(--#{$tabs}__link--before--
|
|
631
|
-
inset-inline-end: var(--#{$tabs}__link--after--
|
|
598
|
+
inset-block-start: var(--#{$tabs}__link--after--InsetBlockStart);
|
|
599
|
+
inset-block-end: var(--#{$tabs}__link--after--InsetBlockEnd);
|
|
600
|
+
inset-inline-start: var(--#{$tabs}__link--before--InsetInlineStart); // use the ::before Left value to offset the top border / overlap left border
|
|
601
|
+
inset-inline-end: var(--#{$tabs}__link--after--InsetInlineEnd);
|
|
632
602
|
border-color: var(--#{$tabs}__link--after--BorderColor);
|
|
633
|
-
border-block-start-width: var(--#{$tabs}__link--after--
|
|
634
|
-
border-block-end-width: var(--#{$tabs}__link--after--
|
|
635
|
-
border-inline-start-width: var(--#{$tabs}__link--after--
|
|
636
|
-
border-inline-end-width: var(--#{$tabs}__link--after--
|
|
603
|
+
border-block-start-width: var(--#{$tabs}__link--after--BorderBlockStartWidth);
|
|
604
|
+
border-block-end-width: var(--#{$tabs}__link--after--BorderBlockEndWidth);
|
|
605
|
+
border-inline-start-width: var(--#{$tabs}__link--after--BorderInlineStartWidth);
|
|
606
|
+
border-inline-end-width: var(--#{$tabs}__link--after--BorderInlineEndWidth);
|
|
637
607
|
}
|
|
638
608
|
}
|
|
639
609
|
|
|
@@ -651,15 +621,13 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
651
621
|
&.pf-m-disabled,
|
|
652
622
|
&.pf-m-aria-disabled {
|
|
653
623
|
--#{$tabs}__link--Color: var(--#{$tabs}__link--disabled--Color);
|
|
654
|
-
--#{$tabs}__link--before--
|
|
655
|
-
--#{$tabs}__link--before--
|
|
656
|
-
--#{$tabs}__link--before--
|
|
624
|
+
--#{$tabs}__link--before--BorderInlineEndWidth: var(--#{$tabs}__link--disabled--before--BorderInlineEndWidth);
|
|
625
|
+
--#{$tabs}__link--before--BorderBlockEndWidth: var(--#{$tabs}__link--disabled--before--BorderBlockEndWidth);
|
|
626
|
+
--#{$tabs}__link--before--BorderInlineStartWidth: var(--#{$tabs}__link--disabled--before--BorderInlineStartWidth);
|
|
657
627
|
--#{$tabs}__link--after--BorderWidth: 0;
|
|
658
628
|
}
|
|
659
629
|
|
|
660
|
-
&:disabled,
|
|
661
|
-
&.pf-m-disabled,
|
|
662
|
-
&.pf-m-aria-disabled {
|
|
630
|
+
&:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
|
|
663
631
|
--#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--disabled--BackgroundColor);
|
|
664
632
|
}
|
|
665
633
|
|
|
@@ -677,7 +645,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
677
645
|
}
|
|
678
646
|
|
|
679
647
|
.#{$tabs}__link-toggle-icon {
|
|
680
|
-
@include pf-
|
|
648
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
681
649
|
|
|
682
650
|
align-self: end;
|
|
683
651
|
font-size: var(--#{$tabs}__link-toggle-icon--FontSize);
|
|
@@ -696,7 +664,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
696
664
|
|
|
697
665
|
.#{$tabs}__item-action-icon {
|
|
698
666
|
display: inline-block;
|
|
699
|
-
margin-block-start: var(--#{$tabs}__item-action-icon--
|
|
667
|
+
margin-block-start: var(--#{$tabs}__item-action-icon--MarginBlockStart);
|
|
700
668
|
}
|
|
701
669
|
|
|
702
670
|
// Scroll buttons
|
|
@@ -707,24 +675,24 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
707
675
|
padding-inline-end: var(--#{$tabs}__scroll-button--PaddingInlineEnd);
|
|
708
676
|
opacity: 0;
|
|
709
677
|
transition: margin var(--#{$tabs}__scroll-button--TransitionDuration--margin), transform var(--#{$tabs}__scroll-button--TransitionDuration--transform), opacity var(--#{$tabs}__scroll-button--TransitionDuration--opacity);
|
|
710
|
-
|
|
678
|
+
|
|
711
679
|
&::before {
|
|
712
680
|
border-color: var(--#{$tabs}__scroll-button--before--BorderColor);
|
|
713
681
|
border-block-start-width: 0;
|
|
714
|
-
border-block-end-width: var(--#{$tabs}__scroll-button--before--
|
|
715
|
-
border-inline-start-width: var(--#{$tabs}__scroll-button--before--
|
|
716
|
-
border-inline-end-width: var(--#{$tabs}__scroll-button--before--
|
|
682
|
+
border-block-end-width: var(--#{$tabs}__scroll-button--before--BorderBlockEndWidth);
|
|
683
|
+
border-inline-start-width: var(--#{$tabs}__scroll-button--before--BorderInlineStartWidth);
|
|
684
|
+
border-inline-end-width: var(--#{$tabs}__scroll-button--before--BorderInlineEndWidth);
|
|
717
685
|
}
|
|
718
686
|
|
|
719
687
|
&:nth-of-type(1) {
|
|
720
|
-
--#{$tabs}__scroll-button--before--
|
|
688
|
+
--#{$tabs}__scroll-button--before--BorderInlineEndWidth: var(--#{$tabs}__scroll-button--before--border-width--base);
|
|
721
689
|
|
|
722
690
|
margin-inline-end: calc(var(--#{$tabs}__scroll-button--Width) * -1);
|
|
723
691
|
transform: translateX(-100%);
|
|
724
692
|
}
|
|
725
693
|
|
|
726
694
|
&:nth-of-type(2) {
|
|
727
|
-
--#{$tabs}__scroll-button--before--
|
|
695
|
+
--#{$tabs}__scroll-button--before--BorderInlineStartWidth: var(--#{$tabs}__scroll-button--before--border-width--base);
|
|
728
696
|
|
|
729
697
|
margin-inline-start: calc(var(--#{$tabs}__scroll-button--Width) * -1);
|
|
730
698
|
transform: translateX(100%);
|
|
@@ -740,7 +708,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
740
708
|
padding-inline-end: var(--#{$tabs}__add--PaddingInlineEnd);
|
|
741
709
|
|
|
742
710
|
&::before {
|
|
743
|
-
border-inline-start: var(--#{$tabs}__add--before--
|
|
711
|
+
border-inline-start: var(--#{$tabs}__add--before--BorderInlineStartWidth) solid var(--#{$tabs}__add--before--BorderColor);
|
|
744
712
|
}
|
|
745
713
|
|
|
746
714
|
.#{$button} {
|
|
@@ -750,11 +718,11 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
750
718
|
|
|
751
719
|
// stylelint-disable no-duplicate-selectors, max-nesting-depth
|
|
752
720
|
.#{$tabs} {
|
|
753
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
721
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
754
722
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
755
723
|
|
|
756
|
-
@include pf-
|
|
757
|
-
@each $spacer, $spacer-value in $pf-
|
|
724
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
725
|
+
@each $spacer, $spacer-value in $pf-v6-c-tabs--spacer-map {
|
|
758
726
|
&.pf-m-inset-#{$spacer}#{$breakpoint-name} {
|
|
759
727
|
--#{$tabs}--inset: #{$spacer-value};
|
|
760
728
|
--#{$tabs}--m-vertical--inset: #{$spacer-value};
|