@patternfly/patternfly 6.5.0-prerelease.4 → 6.5.0-prerelease.40
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 -1
- package/assets/fontawesome/_variables.scss +2 -1
- package/assets/images/RHAiExperienceIcon.svg +27 -0
- package/assets/images/RHAutomationsLogo.svg +96 -0
- package/assets/images/RHServerStackIcon.svg +16 -0
- package/assets/images/compass--hero-bg.png +0 -0
- package/assets/images/compass--rh-wallpaper-dark.png +0 -0
- package/assets/images/compass--rh-wallpaper-light.png +0 -0
- package/assets/images/compass--wallpaper-dark.png +0 -0
- package/assets/images/compass--wallpaper-light.png +0 -0
- package/base/normalize.scss +7 -0
- package/base/patternfly-common.css +50 -0
- package/base/patternfly-common.scss +59 -0
- package/base/patternfly-variables.css +345 -14
- package/base/patternfly-variables.scss +40 -0
- package/base/tokens/tokens-dark.scss +51 -3
- package/base/tokens/tokens-default.scss +67 -13
- package/base/tokens/tokens-glass-dark.scss +9 -0
- package/base/tokens/tokens-glass.scss +9 -0
- package/base/tokens/tokens-local.scss +16 -0
- package/base/tokens/tokens-palette.scss +3 -1
- package/base/tokens/tokens-redhat-dark.scss +14 -0
- package/base/tokens/tokens-redhat-glass-dark.scss +16 -0
- package/base/tokens/tokens-redhat-glass.scss +15 -0
- package/base/tokens/tokens-redhat-highcontrast-dark.scss +47 -0
- package/base/tokens/tokens-redhat-highcontrast.scss +127 -0
- package/base/tokens/tokens-redhat.scss +15 -0
- package/components/AboutModalBox/about-modal-box.css +36 -26
- package/components/Accordion/accordion.css +16 -13
- package/components/Accordion/accordion.scss +0 -1
- package/components/ActionList/action-list.css +2 -0
- package/components/ActionList/action-list.scss +2 -0
- package/components/Alert/alert.css +5 -4
- package/components/Avatar/avatar.css +12 -4
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/Banner/banner.css +8 -6
- package/components/Brand/brand.css +3 -1
- package/components/Breadcrumb/breadcrumb.css +4 -3
- package/components/Button/button.css +39 -9
- package/components/Button/button.scss +40 -4
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +19 -6
- package/components/Card/card.scss +15 -1
- package/components/ClipboardCopy/clipboard-copy.css +4 -3
- package/components/CodeEditor/code-editor.css +1 -1
- package/components/CodeEditor/code-editor.scss +1 -1
- package/components/Compass/compass.css +320 -0
- package/components/Compass/compass.scss +349 -0
- package/components/DataList/data-list.css +33 -22
- package/components/DataList/data-list.scss +6 -1
- package/components/DescriptionList/description-list-order.scss +5 -1
- package/components/DescriptionList/description-list.css +7 -5
- package/components/DescriptionList/description-list.scss +5 -1
- package/components/Divider/divider.css +7 -5
- package/components/Drawer/drawer.css +110 -56
- package/components/Drawer/drawer.scss +69 -9
- package/components/DualListSelector/dual-list-selector.css +17 -11
- package/components/ExpandableSection/expandable-section.css +19 -14
- package/components/ExpandableSection/expandable-section.scss +4 -1
- package/components/Form/form.css +1 -1
- package/components/Form/form.scss +1 -1
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/form-control.scss +1 -1
- package/components/Hero/hero.css +74 -0
- package/components/Hero/hero.scss +86 -0
- package/components/JumpLinks/jump-links.css +4 -3
- package/components/JumpLinks/jump-links.scss +5 -1
- package/components/Label/label-group.css +2 -2
- package/components/Label/label-group.scss +2 -2
- package/components/Label/label.css +4 -3
- package/components/Login/login.css +51 -37
- package/components/Masthead/masthead.css +70 -16
- package/components/Masthead/masthead.scss +54 -1
- package/components/Menu/menu.css +23 -14
- package/components/MenuToggle/menu-toggle.css +4 -0
- package/components/MenuToggle/menu-toggle.scss +5 -0
- package/components/ModalBox/modal-box.css +9 -7
- package/components/ModalBox/modal-box.scss +2 -2
- package/components/Nav/nav.css +72 -9
- package/components/Nav/nav.scss +75 -3
- package/components/NotificationDrawer/notification-drawer.css +8 -6
- package/components/NotificationDrawer/notification-drawer.scss +2 -0
- package/components/Page/page.css +55 -29
- package/components/Page/page.scss +44 -5
- package/components/Pagination/pagination.scss +5 -1
- package/components/ProgressStepper/progress-stepper.scss +5 -1
- package/components/Sidebar/sidebar.css +1 -1
- package/components/Sidebar/sidebar.scss +7 -3
- package/components/Skeleton/skeleton.css +16 -15
- package/components/Slider/slider.css +32 -18
- package/components/Switch/switch.css +3 -1
- package/components/Table/table-grid.css +28 -36
- package/components/Table/table-grid.scss +4 -4
- package/components/Table/table-tree-view.css +4 -2
- package/components/Table/table.css +31 -27
- package/components/Tabs/tabs.css +33 -16
- package/components/Tabs/tabs.scss +33 -5
- package/components/Toolbar/toolbar.css +46 -14
- package/components/Toolbar/toolbar.scss +33 -5
- package/components/TreeView/tree-view.css +44 -13
- package/components/TreeView/tree-view.scss +31 -0
- package/components/Wizard/wizard.css +20 -16
- package/components/Wizard/wizard.scss +3 -3
- package/components/_index.css +1460 -633
- package/components/_index.scss +3 -1
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Button/examples/Button.md +116 -0
- package/docs/components/Card/examples/Card.md +154 -0
- package/docs/components/Compass/examples/Compass.css +17 -0
- package/docs/components/Compass/examples/Compass.md +118 -0
- package/docs/components/DataList/examples/DataList.md +184 -188
- package/docs/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +83 -17
- package/docs/components/Hero/examples/Hero.md +25 -0
- package/docs/components/Icon/examples/Icon.md +1 -1
- package/docs/components/InputGroup/examples/InputGroup.md +1 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +2 -2
- package/docs/components/Masthead/examples/masthead.md +68 -1
- package/docs/components/Menu/examples/Menu.md +2 -2
- package/docs/components/MenuToggle/examples/MenuToggle.md +40 -0
- package/docs/components/ModalBox/examples/ModalBox.md +1 -1
- package/docs/components/Nav/examples/Navigation.md +44 -0
- package/docs/components/Page/examples/Page.md +39 -2
- package/docs/components/Pagination/examples/Pagination.md +3 -3
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Table/examples/Table.md +4 -3
- package/docs/components/Tabs/examples/Tabs.md +998 -83
- package/docs/components/Toolbar/examples/Toolbar.md +35 -7
- package/docs/components/TreeView/examples/TreeView.md +38 -26
- package/docs/components/Wizard/examples/Wizard.md +15 -15
- package/docs/demos/AboutModal/examples/AboutModal.md +5 -5
- package/docs/demos/Alert/examples/Alert.md +15 -15
- package/docs/demos/BackToTop/examples/BackToTop.md +5 -5
- package/docs/demos/Banner/examples/Banner.md +10 -10
- package/docs/demos/Card/examples/Card.md +14 -2
- package/docs/demos/CardView/examples/CardView.md +5 -5
- package/docs/demos/Compass/examples/Compass.md +6470 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +6 -9
- package/docs/demos/DataList/examples/DataList.md +20 -23
- package/docs/demos/DescriptionList/examples/DescriptionList.md +57 -50
- package/docs/demos/Drawer/examples/Drawer.md +67 -60
- package/docs/demos/JumpLinks/examples/JumpLinks.md +30 -30
- package/docs/demos/Masthead/examples/Masthead.md +55 -58
- package/docs/demos/Modal/examples/Modal.md +30 -33
- package/docs/demos/Nav/examples/Nav.md +299 -62
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +25 -25
- package/docs/demos/Page/examples/Page.md +70 -79
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +178 -200
- package/docs/demos/Skeleton/examples/Skeleton.md +5 -5
- package/docs/demos/Table/examples/Table.md +1922 -78
- package/docs/demos/Tabs/examples/Tabs.md +102 -39
- package/docs/demos/Toolbar/examples/Toolbar.md +10 -10
- package/docs/demos/Wizard/examples/Wizard.md +76 -82
- package/docs/layouts/Bullseye/examples/Bullseye.css +2 -2
- package/docs/layouts/Bullseye/examples/Bullseye.md +2 -1
- package/docs/layouts/Flex/examples/Flex.css +3 -3
- package/docs/layouts/Flex/examples/Flex.md +3 -2
- package/docs/layouts/Gallery/examples/Gallery.css +2 -2
- package/docs/layouts/Gallery/examples/Gallery.md +4 -3
- package/docs/layouts/Grid/examples/Grid.css +1 -1
- package/docs/layouts/Grid/examples/Grid.md +6 -5
- package/docs/layouts/Level/examples/Level.css +3 -3
- package/docs/layouts/Level/examples/Level.md +2 -1
- package/docs/layouts/Split/examples/Split.css +1 -1
- package/docs/layouts/Split/examples/Split.md +2 -1
- package/docs/layouts/Stack/examples/Stack.css +3 -3
- package/docs/layouts/Stack/examples/Stack.md +2 -1
- package/docs/utilities/Accessibility/examples/Accessibility.md +3 -2
- package/docs/utilities/Alignment/examples/Alignment.css +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +3 -2
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +5 -4
- package/docs/utilities/BoxShadow/examples/box-shadow.css +2 -2
- package/docs/utilities/BoxShadow/examples/box-shadow.md +2 -1
- package/docs/utilities/Display/examples/Display.css +1 -1
- package/docs/utilities/Display/examples/Display.md +3 -2
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +3 -2
- package/docs/utilities/Float/examples/Float.css +2 -2
- package/docs/utilities/Float/examples/Float.md +3 -2
- package/docs/utilities/Sizing/examples/Sizing.md +8 -7
- package/docs/utilities/Spacing/examples/Spacing.css +2 -2
- package/docs/utilities/Spacing/examples/Spacing.md +3 -2
- package/docs/utilities/Text/examples/Text.md +5 -4
- package/icons/PfIcons/add-circle-o.svg +4 -0
- package/icons/PfIcons/ansible-tower.svg +4 -0
- package/icons/PfIcons/applications.svg +4 -0
- package/icons/PfIcons/arrow.svg +4 -0
- package/icons/PfIcons/asleep.svg +4 -0
- package/icons/PfIcons/attention-bell.svg +4 -0
- package/icons/PfIcons/automation.svg +4 -0
- package/icons/PfIcons/bell.svg +4 -0
- package/icons/PfIcons/blueprint.svg +4 -0
- package/icons/PfIcons/build.svg +4 -0
- package/icons/PfIcons/builder-image.svg +4 -0
- package/icons/PfIcons/bundle.svg +4 -0
- package/icons/PfIcons/catalog.svg +4 -0
- package/icons/PfIcons/chat.svg +4 -0
- package/icons/PfIcons/close.svg +4 -0
- package/icons/PfIcons/cloud-security.svg +4 -0
- package/icons/PfIcons/cloud-tenant.svg +4 -0
- package/icons/PfIcons/cluster.svg +4 -0
- package/icons/PfIcons/connected.svg +4 -0
- package/icons/PfIcons/container-node.svg +4 -0
- package/icons/PfIcons/cpu.svg +4 -0
- package/icons/PfIcons/critical-risk.svg +4 -0
- package/icons/PfIcons/data-processor.svg +4 -0
- package/icons/PfIcons/data-sink.svg +4 -0
- package/icons/PfIcons/data-source.svg +4 -0
- package/icons/PfIcons/degraded.svg +4 -0
- package/icons/PfIcons/disconnected.svg +4 -0
- package/icons/PfIcons/domain.svg +4 -0
- package/icons/PfIcons/edit.svg +4 -0
- package/icons/PfIcons/enhancement.svg +4 -0
- package/icons/PfIcons/enterprise.svg +4 -0
- package/icons/PfIcons/equalizer.svg +4 -0
- package/icons/PfIcons/error-circle-o.svg +4 -0
- package/icons/PfIcons/export.svg +4 -0
- package/icons/PfIcons/filter.svg +4 -0
- package/icons/PfIcons/flavor.svg +4 -0
- package/icons/PfIcons/folder-close.svg +4 -0
- package/icons/PfIcons/folder-open.svg +4 -0
- package/icons/PfIcons/globe-route.svg +4 -0
- package/icons/PfIcons/help.svg +4 -0
- package/icons/PfIcons/history.svg +4 -0
- package/icons/PfIcons/home.svg +4 -0
- package/icons/PfIcons/import.svg +4 -0
- package/icons/PfIcons/in-progress.svg +4 -0
- package/icons/PfIcons/info.svg +4 -0
- package/icons/PfIcons/infrastructure.svg +4 -0
- package/icons/PfIcons/integration.svg +4 -0
- package/icons/PfIcons/key.svg +4 -0
- package/icons/PfIcons/locked.svg +4 -0
- package/icons/PfIcons/maintenance.svg +4 -0
- package/icons/PfIcons/memory.svg +4 -0
- package/icons/PfIcons/messages.svg +4 -0
- package/icons/PfIcons/middleware.svg +4 -0
- package/icons/PfIcons/migration.svg +4 -0
- package/icons/PfIcons/module.svg +4 -0
- package/icons/PfIcons/monitoring.svg +4 -0
- package/icons/PfIcons/multicluster.svg +4 -0
- package/icons/PfIcons/namespaces.svg +4 -0
- package/icons/PfIcons/network.svg +4 -0
- package/icons/PfIcons/new-process.svg +4 -0
- package/icons/PfIcons/not-started.svg +4 -0
- package/icons/PfIcons/off.svg +4 -0
- package/icons/PfIcons/ok.svg +4 -0
- package/icons/PfIcons/on-running.svg +4 -0
- package/icons/PfIcons/on.svg +4 -0
- package/icons/PfIcons/open-drawer-right.svg +4 -0
- package/icons/PfIcons/openshift.svg +4 -0
- package/icons/PfIcons/openstack.svg +4 -0
- package/icons/PfIcons/optimize.svg +4 -0
- package/icons/PfIcons/orders.svg +4 -0
- package/icons/PfIcons/os-image.svg +4 -0
- package/icons/PfIcons/package.svg +4 -0
- package/icons/PfIcons/panel-close.svg +4 -0
- package/icons/PfIcons/panel-open.svg +4 -0
- package/icons/PfIcons/paused.svg +4 -0
- package/icons/PfIcons/pending.svg +4 -0
- package/icons/PfIcons/pficon-dragdrop.svg +4 -0
- package/icons/PfIcons/pficon-history.svg +4 -0
- package/icons/PfIcons/pficon-network-range.svg +4 -0
- package/icons/PfIcons/pficon-satellite.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-asc.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-desc.svg +4 -0
- package/icons/PfIcons/pficon-template.svg +4 -0
- package/icons/PfIcons/pficon-vcenter.svg +4 -0
- package/icons/PfIcons/plugged.svg +4 -0
- package/icons/PfIcons/port.svg +4 -0
- package/icons/PfIcons/print.svg +4 -0
- package/icons/PfIcons/private.svg +4 -0
- package/icons/PfIcons/process-automation.svg +4 -0
- package/icons/PfIcons/project.svg +4 -0
- package/icons/PfIcons/rebalance.svg +4 -0
- package/icons/PfIcons/rebooting.svg +4 -0
- package/icons/PfIcons/regions.svg +4 -0
- package/icons/PfIcons/registry.svg +4 -0
- package/icons/PfIcons/remove2.svg +4 -0
- package/icons/PfIcons/replicator.svg +4 -0
- package/icons/PfIcons/repository.svg +4 -0
- package/icons/PfIcons/resource-pool.svg +4 -0
- package/icons/PfIcons/resources-almost-empty.svg +4 -0
- package/icons/PfIcons/resources-almost-full.svg +4 -0
- package/icons/PfIcons/resources-empty.svg +4 -0
- package/icons/PfIcons/resources-full.svg +4 -0
- package/icons/PfIcons/running.svg +4 -0
- package/icons/PfIcons/save.svg +4 -0
- package/icons/PfIcons/screen.svg +4 -0
- package/icons/PfIcons/security.svg +4 -0
- package/icons/PfIcons/server-group.svg +4 -0
- package/icons/PfIcons/server.svg +4 -0
- package/icons/PfIcons/service-catalog.svg +4 -0
- package/icons/PfIcons/service.svg +4 -0
- package/icons/PfIcons/services.svg +4 -0
- package/icons/PfIcons/severity-critical.svg +4 -0
- package/icons/PfIcons/severity-important.svg +4 -0
- package/icons/PfIcons/severity-minor.svg +4 -0
- package/icons/PfIcons/severity-moderate.svg +4 -0
- package/icons/PfIcons/severity-none.svg +4 -0
- package/icons/PfIcons/severity-undefined.svg +4 -0
- package/icons/PfIcons/spinner.svg +4 -0
- package/icons/PfIcons/spinner2.svg +4 -0
- package/icons/PfIcons/storage-domain.svg +4 -0
- package/icons/PfIcons/task.svg +4 -0
- package/icons/PfIcons/tenant.svg +4 -0
- package/icons/PfIcons/thumb-tack.svg +4 -0
- package/icons/PfIcons/topology.svg +4 -0
- package/icons/PfIcons/treeview.svg +4 -0
- package/icons/PfIcons/trend-down.svg +4 -0
- package/icons/PfIcons/trend-up.svg +4 -0
- package/icons/PfIcons/unknown.svg +4 -0
- package/icons/PfIcons/unlocked.svg +4 -0
- package/icons/PfIcons/unplugged.svg +4 -0
- package/icons/PfIcons/user.svg +4 -0
- package/icons/PfIcons/users.svg +4 -0
- package/icons/PfIcons/virtual-machine.svg +4 -0
- package/icons/PfIcons/volume.svg +4 -0
- package/icons/PfIcons/warning-triangle.svg +4 -0
- package/icons/PfIcons/zone.svg +4 -0
- package/layouts/Flex/flex.scss +83 -19
- package/layouts/Gallery/gallery.css +6 -2
- package/layouts/_index.css +6 -2
- package/package.json +34 -16
- package/patternfly-base-no-globals.css +395 -14
- package/patternfly-base.css +402 -14
- package/patternfly-charts.css +3 -3
- package/patternfly-no-globals.css +1785 -573
- package/patternfly.css +1792 -573
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +32 -25
- package/sass-utilities/mixins.scss +36 -20
- package/sass-utilities/namespaces-components.scss +6 -0
|
@@ -67,12 +67,14 @@
|
|
|
67
67
|
|
|
68
68
|
.pf-v6-c-slider {
|
|
69
69
|
--pf-v6-c-slider__rail-track--before--fill--direction: right;
|
|
70
|
-
display: flex;
|
|
71
70
|
}
|
|
72
71
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider {
|
|
73
72
|
--pf-v6-c-slider__rail-track--before--fill--direction: left;
|
|
74
73
|
}
|
|
75
74
|
|
|
75
|
+
.pf-v6-c-slider {
|
|
76
|
+
display: flex;
|
|
77
|
+
}
|
|
76
78
|
.pf-v6-c-slider.pf-m-disabled {
|
|
77
79
|
--pf-v6-c-slider__rail-track--before--fill--BackgroundColor: var(--pf-v6-c-slider--m-disabled__rail-track--before--fill--BackgroundColor);
|
|
78
80
|
--pf-v6-c-slider__step--m-active__slider-tick--BackgroundColor: var(--pf-v6-c-slider--m-disabled__step--m-active__slider-tick--BackgroundColor);
|
|
@@ -135,6 +137,12 @@
|
|
|
135
137
|
|
|
136
138
|
.pf-v6-c-slider__step-tick {
|
|
137
139
|
transform: translateX(var(--pf-v6-c-slider__step-tick--TranslateX));
|
|
140
|
+
}
|
|
141
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider__step-tick {
|
|
142
|
+
transform: translateX(calc(var(--pf-v6-c-slider__step-tick--TranslateX) * var(--pf-v6-global--inverse--multiplier)));
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.pf-v6-c-slider__step-tick {
|
|
138
146
|
position: absolute;
|
|
139
147
|
inset-block-start: var(--pf-v6-c-slider__step-tick--InsetBlockStart);
|
|
140
148
|
inset-inline-start: 0;
|
|
@@ -144,22 +152,28 @@
|
|
|
144
152
|
border: var(--pf-v6-c-slider__step-tick--BorderWidth) solid var(--pf-v6-c-slider__step-tick--BorderColor);
|
|
145
153
|
border-radius: var(--pf-v6-c-slider__step-tick--BorderRadius);
|
|
146
154
|
}
|
|
147
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider__step-tick {
|
|
148
|
-
transform: translateX(calc(var(--pf-v6-c-slider__step-tick--TranslateX) * var(--pf-v6-global--inverse--multiplier)));
|
|
149
|
-
}
|
|
150
155
|
|
|
151
156
|
.pf-v6-c-slider__step-label {
|
|
152
157
|
transform: translateX(var(--pf-v6-c-slider__step-label--TranslateX));
|
|
153
|
-
position: absolute;
|
|
154
|
-
inset-block-start: var(--pf-v6-c-slider__step-label--InsetBlockStart);
|
|
155
|
-
word-break: normal;
|
|
156
158
|
}
|
|
157
159
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider__step-label {
|
|
158
160
|
transform: translateX(calc(var(--pf-v6-c-slider__step-label--TranslateX) * var(--pf-v6-global--inverse--multiplier)));
|
|
159
161
|
}
|
|
160
162
|
|
|
163
|
+
.pf-v6-c-slider__step-label {
|
|
164
|
+
position: absolute;
|
|
165
|
+
inset-block-start: var(--pf-v6-c-slider__step-label--InsetBlockStart);
|
|
166
|
+
word-break: normal;
|
|
167
|
+
}
|
|
168
|
+
|
|
161
169
|
.pf-v6-c-slider__thumb {
|
|
162
170
|
transform: translate(var(--pf-v6-c-slider__thumb--TranslateX), var(--pf-v6-c-slider__thumb--TranslateY));
|
|
171
|
+
}
|
|
172
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider__thumb {
|
|
173
|
+
transform: translate(calc(var(--pf-v6-c-slider__thumb--TranslateX) * var(--pf-v6-global--inverse--multiplier)), var(--pf-v6-c-slider__thumb--TranslateY));
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.pf-v6-c-slider__thumb {
|
|
163
177
|
position: absolute;
|
|
164
178
|
inset-block-start: var(--pf-v6-c-slider__thumb--InsetBlockStart);
|
|
165
179
|
inset-inline-start: var(--pf-v6-c-slider__thumb--InsetInlineStart);
|
|
@@ -171,12 +185,14 @@
|
|
|
171
185
|
border-radius: var(--pf-v6-c-slider__thumb--BorderRadius);
|
|
172
186
|
box-shadow: var(--pf-v6-c-slider__thumb--BoxShadow);
|
|
173
187
|
}
|
|
174
|
-
|
|
175
|
-
transform: translate(
|
|
188
|
+
.pf-v6-c-slider__thumb::before {
|
|
189
|
+
transform: translate(var(--pf-v6-c-slider__thumb--before--TranslateX), var(--pf-v6-c-slider__thumb--before--TranslateY));
|
|
190
|
+
}
|
|
191
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider__thumb::before {
|
|
192
|
+
transform: translate(calc(var(--pf-v6-c-slider__thumb--before--TranslateX) * var(--pf-v6-global--inverse--multiplier)), var(--pf-v6-c-slider__thumb--before--TranslateY));
|
|
176
193
|
}
|
|
177
194
|
|
|
178
195
|
.pf-v6-c-slider__thumb::before {
|
|
179
|
-
transform: translate(var(--pf-v6-c-slider__thumb--before--TranslateX), var(--pf-v6-c-slider__thumb--before--TranslateY));
|
|
180
196
|
position: absolute;
|
|
181
197
|
inset-block-start: 50%;
|
|
182
198
|
inset-inline-start: 50%;
|
|
@@ -185,10 +201,6 @@
|
|
|
185
201
|
content: "";
|
|
186
202
|
border-radius: var(--pf-v6-c-slider__thumb--before--BorderRadius);
|
|
187
203
|
}
|
|
188
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider__thumb::before {
|
|
189
|
-
transform: translate(calc(var(--pf-v6-c-slider__thumb--before--TranslateX) * var(--pf-v6-global--inverse--multiplier)), var(--pf-v6-c-slider__thumb--before--TranslateY));
|
|
190
|
-
}
|
|
191
|
-
|
|
192
204
|
.pf-v6-c-slider__thumb:hover {
|
|
193
205
|
--pf-v6-c-slider__thumb--BoxShadow: var(--pf-v6-c-slider__thumb--hover--BoxShadow);
|
|
194
206
|
}
|
|
@@ -205,16 +217,18 @@
|
|
|
205
217
|
}
|
|
206
218
|
.pf-v6-c-slider__value.pf-m-floating {
|
|
207
219
|
transform: translate(var(--pf-v6-c-slider__value--m-floating--TranslateX), var(--pf-v6-c-slider__value--m-floating--TranslateY));
|
|
220
|
+
}
|
|
221
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider__value.pf-m-floating {
|
|
222
|
+
transform: translate(calc(var(--pf-v6-c-slider__value--m-floating--TranslateX) * var(--pf-v6-global--inverse--multiplier)), var(--pf-v6-c-slider__value--m-floating--TranslateY));
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.pf-v6-c-slider__value.pf-m-floating {
|
|
208
226
|
--pf-v6-c-slider__value--MarginInlineStart: 0;
|
|
209
227
|
position: absolute;
|
|
210
228
|
inset-block-start: 0;
|
|
211
229
|
inset-inline-start: var(--pf-v6-c-slider__value--m-floating--InsetInlineStart);
|
|
212
230
|
z-index: var(--pf-v6-c-slider__value--m-floating--ZIndex);
|
|
213
231
|
}
|
|
214
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-slider__value.pf-m-floating {
|
|
215
|
-
transform: translate(calc(var(--pf-v6-c-slider__value--m-floating--TranslateX) * var(--pf-v6-global--inverse--multiplier)), var(--pf-v6-c-slider__value--m-floating--TranslateY));
|
|
216
|
-
}
|
|
217
|
-
|
|
218
232
|
.pf-v6-c-slider__value .pf-v6-c-form-control {
|
|
219
233
|
width: var(--pf-v6-c-slider__value--c-form-control--Width);
|
|
220
234
|
}
|
|
@@ -78,12 +78,14 @@
|
|
|
78
78
|
}
|
|
79
79
|
.pf-v6-c-switch__input:checked ~ .pf-v6-c-switch__toggle::before {
|
|
80
80
|
transform: translate(var(--pf-v6-c-switch__input--checked__toggle--before--TranslateX), -50%);
|
|
81
|
-
background-color: var(--pf-v6-c-switch__input--checked__toggle--before--BackgroundColor);
|
|
82
81
|
}
|
|
83
82
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-switch__input:checked ~ .pf-v6-c-switch__toggle::before {
|
|
84
83
|
transform: translate(calc(var(--pf-v6-c-switch__input--checked__toggle--before--TranslateX) * var(--pf-v6-global--inverse--multiplier)), -50%);
|
|
85
84
|
}
|
|
86
85
|
|
|
86
|
+
.pf-v6-c-switch__input:checked ~ .pf-v6-c-switch__toggle::before {
|
|
87
|
+
background-color: var(--pf-v6-c-switch__input--checked__toggle--before--BackgroundColor);
|
|
88
|
+
}
|
|
87
89
|
.pf-v6-c-switch__input:not(:checked) ~ .pf-v6-c-switch__label {
|
|
88
90
|
color: var(--pf-v6-c-switch__input--not-checked__label--Color);
|
|
89
91
|
}
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
--pf-v6-c-table--cell--Width: auto;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
@
|
|
370
|
+
@container pf-v6-contain-table (max-width: 48rem) {
|
|
371
371
|
.pf-m-grid-md.pf-v6-c-table {
|
|
372
372
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
373
373
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -645,15 +645,13 @@
|
|
|
645
645
|
.pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__action {
|
|
646
646
|
text-align: end;
|
|
647
647
|
}
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
648
|
+
@media screen and (max-width: 36rem) {
|
|
649
|
+
.pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__action {
|
|
650
|
+
grid-row-start: 1;
|
|
651
|
+
grid-column-start: 2;
|
|
652
|
+
margin-inline-start: 0;
|
|
653
|
+
}
|
|
654
654
|
}
|
|
655
|
-
}
|
|
656
|
-
@media screen and (max-width: calc(48rem - 1px)) {
|
|
657
655
|
.pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
658
656
|
grid-column: 2;
|
|
659
657
|
grid-row: 2;
|
|
@@ -679,7 +677,7 @@
|
|
|
679
677
|
}
|
|
680
678
|
}
|
|
681
679
|
|
|
682
|
-
@
|
|
680
|
+
@container pf-v6-contain-table (max-width: 62rem) {
|
|
683
681
|
.pf-m-grid-lg.pf-v6-c-table {
|
|
684
682
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
685
683
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -957,15 +955,13 @@
|
|
|
957
955
|
.pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__action {
|
|
958
956
|
text-align: end;
|
|
959
957
|
}
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
958
|
+
@media screen and (max-width: 36rem) {
|
|
959
|
+
.pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__action {
|
|
960
|
+
grid-row-start: 1;
|
|
961
|
+
grid-column-start: 2;
|
|
962
|
+
margin-inline-start: 0;
|
|
963
|
+
}
|
|
966
964
|
}
|
|
967
|
-
}
|
|
968
|
-
@media screen and (max-width: calc(62rem - 1px)) {
|
|
969
965
|
.pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
970
966
|
grid-column: 2;
|
|
971
967
|
grid-row: 2;
|
|
@@ -991,7 +987,7 @@
|
|
|
991
987
|
}
|
|
992
988
|
}
|
|
993
989
|
|
|
994
|
-
@
|
|
990
|
+
@container pf-v6-contain-table (max-width: 75rem) {
|
|
995
991
|
.pf-m-grid-xl.pf-v6-c-table {
|
|
996
992
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
997
993
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -1269,15 +1265,13 @@
|
|
|
1269
1265
|
.pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__action {
|
|
1270
1266
|
text-align: end;
|
|
1271
1267
|
}
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1268
|
+
@media screen and (max-width: 36rem) {
|
|
1269
|
+
.pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__action {
|
|
1270
|
+
grid-row-start: 1;
|
|
1271
|
+
grid-column-start: 2;
|
|
1272
|
+
margin-inline-start: 0;
|
|
1273
|
+
}
|
|
1278
1274
|
}
|
|
1279
|
-
}
|
|
1280
|
-
@media screen and (max-width: calc(75rem - 1px)) {
|
|
1281
1275
|
.pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
1282
1276
|
grid-column: 2;
|
|
1283
1277
|
grid-row: 2;
|
|
@@ -1303,7 +1297,7 @@
|
|
|
1303
1297
|
}
|
|
1304
1298
|
}
|
|
1305
1299
|
|
|
1306
|
-
@
|
|
1300
|
+
@container pf-v6-contain-table (max-width: 90.625rem) {
|
|
1307
1301
|
.pf-m-grid-2xl.pf-v6-c-table {
|
|
1308
1302
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
1309
1303
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -1581,15 +1575,13 @@
|
|
|
1581
1575
|
.pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__action {
|
|
1582
1576
|
text-align: end;
|
|
1583
1577
|
}
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1578
|
+
@media screen and (max-width: 36rem) {
|
|
1579
|
+
.pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__action {
|
|
1580
|
+
grid-row-start: 1;
|
|
1581
|
+
grid-column-start: 2;
|
|
1582
|
+
margin-inline-start: 0;
|
|
1583
|
+
}
|
|
1590
1584
|
}
|
|
1591
|
-
}
|
|
1592
|
-
@media screen and (max-width: calc(90.625rem - 1px)) {
|
|
1593
1585
|
.pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
1594
1586
|
grid-column: 2;
|
|
1595
1587
|
grid-row: 2;
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.pf-m-grid-md.#{$table} {
|
|
10
|
-
@
|
|
10
|
+
@container #{$pf-prefix}contain-table (max-width: #{$pf-v6-global--breakpoint--md}) {
|
|
11
11
|
@content;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.pf-m-grid-lg.#{$table} {
|
|
16
|
-
@
|
|
16
|
+
@container #{$pf-prefix}contain-table (max-width: #{$pf-v6-global--breakpoint--lg}) {
|
|
17
17
|
@content;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.pf-m-grid-xl.#{$table} {
|
|
22
|
-
@
|
|
22
|
+
@container #{$pf-prefix}contain-table (max-width: #{$pf-v6-global--breakpoint--xl}) {
|
|
23
23
|
@content;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.pf-m-grid-2xl.#{$table} {
|
|
28
|
-
@
|
|
28
|
+
@container #{$pf-prefix}contain-table (max-width: #{$pf-v6-global--breakpoint--2xl}) {
|
|
29
29
|
@content;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -67,13 +67,15 @@
|
|
|
67
67
|
}
|
|
68
68
|
.pf-v6-c-table__tree-view-main > .pf-v6-c-table__toggle {
|
|
69
69
|
transform: translateX(var(--pf-v6-c-table--m-tree-view__toggle--TranslateX));
|
|
70
|
-
position: var(--pf-v6-c-table--m-tree-view__toggle--Position);
|
|
71
|
-
inset-inline-start: var(--pf-v6-c-table--m-tree-view__toggle--InsetInlineStart);
|
|
72
70
|
}
|
|
73
71
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-table__tree-view-main > .pf-v6-c-table__toggle {
|
|
74
72
|
transform: translateX(calc(var(--pf-v6-c-table--m-tree-view__toggle--TranslateX) * var(--pf-v6-global--inverse--multiplier)));
|
|
75
73
|
}
|
|
76
74
|
|
|
75
|
+
.pf-v6-c-table__tree-view-main > .pf-v6-c-table__toggle {
|
|
76
|
+
position: var(--pf-v6-c-table--m-tree-view__toggle--Position);
|
|
77
|
+
inset-inline-start: var(--pf-v6-c-table--m-tree-view__toggle--InsetInlineStart);
|
|
78
|
+
}
|
|
77
79
|
.pf-v6-c-table__tree-view-main > .pf-v6-c-table__toggle .pf-v6-c-table__toggle-icon {
|
|
78
80
|
min-width: var(--pf-v6-c-table--m-tree-view__toggle__toggle-icon--MinWidth);
|
|
79
81
|
}
|
|
@@ -87,6 +87,15 @@
|
|
|
87
87
|
--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity: 1;
|
|
88
88
|
--pf-v6-c-table__expandable-row--TranslateY: 0;
|
|
89
89
|
--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY: 0;
|
|
90
|
+
}
|
|
91
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
92
|
+
.pf-v6-c-table {
|
|
93
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
94
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
95
|
+
--pf-v6-c-table__expandable-row--TranslateY: -.5rem;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
.pf-v6-c-table {
|
|
90
99
|
--pf-v6-c-table__expandable-row-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
91
100
|
--pf-v6-c-table__expandable-row-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
92
101
|
--pf-v6-c-table__expandable-row-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -155,13 +164,6 @@
|
|
|
155
164
|
--pf-v6-c-table--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
|
156
165
|
--pf-v6-c-table--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
157
166
|
}
|
|
158
|
-
@media screen and (prefers-reduced-motion: no-preference) {
|
|
159
|
-
.pf-v6-c-table {
|
|
160
|
-
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
161
|
-
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
162
|
-
--pf-v6-c-table__expandable-row--TranslateY: -.5rem;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
167
|
|
|
166
168
|
.pf-v6-c-table {
|
|
167
169
|
width: 100%;
|
|
@@ -226,22 +228,6 @@
|
|
|
226
228
|
--pf-v6-hidden-visible--hidden--Display: none;
|
|
227
229
|
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
228
230
|
display: var(--pf-v6-hidden-visible--Display);
|
|
229
|
-
position: relative;
|
|
230
|
-
width: var(--pf-v6-c-table--cell--Width);
|
|
231
|
-
min-width: var(--pf-v6-c-table--cell--MinWidth);
|
|
232
|
-
max-width: var(--pf-v6-c-table--cell--MaxWidth);
|
|
233
|
-
padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
|
|
234
|
-
padding-block-end: var(--pf-v6-c-table--cell--PaddingBlockEnd);
|
|
235
|
-
padding-inline-start: var(--pf-v6-c-table--cell--PaddingInlineStart);
|
|
236
|
-
padding-inline-end: var(--pf-v6-c-table--cell--PaddingInlineEnd);
|
|
237
|
-
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
238
|
-
font-size: var(--pf-v6-c-table--cell--FontSize);
|
|
239
|
-
font-weight: var(--pf-v6-c-table--cell--FontWeight);
|
|
240
|
-
line-height: var(--pf-v6-c-table--cell--LineHeight);
|
|
241
|
-
color: var(--pf-v6-c-table--cell--Color);
|
|
242
|
-
text-overflow: var(--pf-v6-c-table--cell--TextOverflow);
|
|
243
|
-
word-break: var(--pf-v6-c-table--cell--WordBreak);
|
|
244
|
-
white-space: var(--pf-v6-c-table--cell--WhiteSpace);
|
|
245
231
|
}
|
|
246
232
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td).pf-m-hidden {
|
|
247
233
|
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
@@ -286,6 +272,24 @@
|
|
|
286
272
|
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
287
273
|
}
|
|
288
274
|
}
|
|
275
|
+
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
|
|
276
|
+
position: relative;
|
|
277
|
+
width: var(--pf-v6-c-table--cell--Width);
|
|
278
|
+
min-width: var(--pf-v6-c-table--cell--MinWidth);
|
|
279
|
+
max-width: var(--pf-v6-c-table--cell--MaxWidth);
|
|
280
|
+
padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
|
|
281
|
+
padding-block-end: var(--pf-v6-c-table--cell--PaddingBlockEnd);
|
|
282
|
+
padding-inline-start: var(--pf-v6-c-table--cell--PaddingInlineStart);
|
|
283
|
+
padding-inline-end: var(--pf-v6-c-table--cell--PaddingInlineEnd);
|
|
284
|
+
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
285
|
+
font-size: var(--pf-v6-c-table--cell--FontSize);
|
|
286
|
+
font-weight: var(--pf-v6-c-table--cell--FontWeight);
|
|
287
|
+
line-height: var(--pf-v6-c-table--cell--LineHeight);
|
|
288
|
+
color: var(--pf-v6-c-table--cell--Color);
|
|
289
|
+
text-overflow: var(--pf-v6-c-table--cell--TextOverflow);
|
|
290
|
+
word-break: var(--pf-v6-c-table--cell--WordBreak);
|
|
291
|
+
white-space: var(--pf-v6-c-table--cell--WhiteSpace);
|
|
292
|
+
}
|
|
289
293
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):first-child {
|
|
290
294
|
padding-inline-start: var(--pf-v6-c-table--cell--first-last-child--PaddingInline);
|
|
291
295
|
}
|
|
@@ -642,16 +646,16 @@
|
|
|
642
646
|
.pf-v6-c-table__toggle .pf-v6-c-button.pf-m-expanded .pf-v6-c-table__toggle-icon {
|
|
643
647
|
transform: rotate(var(--pf-v6-c-table__toggle--c-button--m-expanded__toggle-icon--Rotate));
|
|
644
648
|
}
|
|
649
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-table__toggle .pf-v6-c-table__toggle-icon {
|
|
650
|
+
scale: -1 1;
|
|
651
|
+
}
|
|
652
|
+
|
|
645
653
|
.pf-v6-c-table__toggle .pf-v6-c-table__toggle-icon {
|
|
646
654
|
transition-timing-function: var(--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionTimingFunction);
|
|
647
655
|
transition-duration: var(--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionDuration);
|
|
648
656
|
transition-property: transform;
|
|
649
657
|
transform: rotate(var(--pf-v6-c-table__toggle--c-button__toggle-icon--Rotate));
|
|
650
658
|
}
|
|
651
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-table__toggle .pf-v6-c-table__toggle-icon {
|
|
652
|
-
scale: -1 1;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
659
|
.pf-v6-c-table__toggle svg {
|
|
656
660
|
pointer-events: none;
|
|
657
661
|
}
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -166,6 +166,9 @@
|
|
|
166
166
|
--pf-v6-c-tabs__add--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
167
167
|
--pf-v6-c-tabs__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
168
168
|
--pf-v6-c-tabs__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
169
|
+
--pf-v6-c-tabs--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
170
|
+
--pf-v6-c-tabs--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
171
|
+
--pf-v6-c-tabs--m-nav--m-subtab__scroll-button--button--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
169
172
|
--pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
170
173
|
--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
171
174
|
--pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
@@ -300,8 +303,8 @@
|
|
|
300
303
|
}
|
|
301
304
|
.pf-v6-c-tabs.pf-m-vertical .pf-v6-c-tabs__list {
|
|
302
305
|
position: relative;
|
|
303
|
-
flex-direction: column;
|
|
304
306
|
flex-grow: 1;
|
|
307
|
+
flex-direction: column;
|
|
305
308
|
max-width: var(--pf-v6-c-tabs--m-vertical--MaxWidth);
|
|
306
309
|
}
|
|
307
310
|
.pf-v6-c-tabs.pf-m-vertical .pf-v6-c-tabs__list::before {
|
|
@@ -443,6 +446,18 @@
|
|
|
443
446
|
.pf-v6-c-tabs.pf-m-overflow .pf-v6-c-tabs__list {
|
|
444
447
|
overflow: visible;
|
|
445
448
|
}
|
|
449
|
+
.pf-v6-c-tabs.pf-m-nav {
|
|
450
|
+
--pf-v6-c-tabs__link--disabled--BackgroundColor: transparent;
|
|
451
|
+
--pf-v6-c-tabs__link--disabled--Color: var(--pf-v6-c-tabs--m-nav__link--disabled--Color);
|
|
452
|
+
--pf-v6-c-tabs__link--BorderRadius: var(--pf-v6-c-tabs--m-nav__link--BorderRadius);
|
|
453
|
+
}
|
|
454
|
+
.pf-v6-c-tabs.pf-m-nav::before,
|
|
455
|
+
.pf-v6-c-tabs.pf-m-nav .pf-v6-c-tabs__link::before {
|
|
456
|
+
border: 0;
|
|
457
|
+
}
|
|
458
|
+
.pf-v6-c-tabs.pf-m-nav.pf-m-subtab .pf-v6-c-tabs__scroll-button .pf-v6-c-button {
|
|
459
|
+
--pf-v6-c-button--FontSize: var(--pf-v6-c-tabs--m-nav--m-subtab__scroll-button--button--FontSize);
|
|
460
|
+
}
|
|
446
461
|
|
|
447
462
|
.pf-v6-c-tabs__toggle {
|
|
448
463
|
display: var(--pf-v6-c-tabs__toggle--Display);
|
|
@@ -454,15 +469,19 @@
|
|
|
454
469
|
white-space: normal;
|
|
455
470
|
}
|
|
456
471
|
|
|
472
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs__toggle-icon {
|
|
473
|
+
scale: -1 1;
|
|
474
|
+
}
|
|
475
|
+
|
|
457
476
|
.pf-v6-c-tabs__toggle-icon {
|
|
458
477
|
display: inline-block;
|
|
459
478
|
transition: var(--pf-v6-c-tabs__toggle-icon--Transition);
|
|
460
479
|
transform: rotate(var(--pf-v6-c-tabs__toggle-icon--Rotate));
|
|
461
480
|
}
|
|
462
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs__toggle-icon {
|
|
463
|
-
scale: -1 1;
|
|
464
|
-
}
|
|
465
481
|
|
|
482
|
+
.pf-v6-c-tabs__list::-webkit-scrollbar {
|
|
483
|
+
display: none;
|
|
484
|
+
}
|
|
466
485
|
.pf-v6-c-tabs__list {
|
|
467
486
|
scrollbar-width: none;
|
|
468
487
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
@@ -474,25 +493,22 @@
|
|
|
474
493
|
scroll-snap-type: var(--pf-v6-c-tabs__list--ScrollSnapType);
|
|
475
494
|
-webkit-overflow-scrolling: touch;
|
|
476
495
|
}
|
|
477
|
-
.pf-v6-c-tabs__list::-webkit-scrollbar {
|
|
478
|
-
display: none;
|
|
479
|
-
}
|
|
480
496
|
|
|
481
497
|
.pf-v6-c-tabs__item {
|
|
482
498
|
position: relative;
|
|
483
499
|
display: flex;
|
|
484
500
|
flex: none;
|
|
485
501
|
column-gap: var(--pf-v6-c-tabs__item--ColumnGap);
|
|
486
|
-
scroll-snap-align: var(--pf-v6-c-tabs__item--ScrollSnapAlign);
|
|
487
502
|
padding-block-start: var(--pf-v6-c-tabs__item--PaddingBlockStart);
|
|
488
503
|
padding-block-end: var(--pf-v6-c-tabs__item--PaddingBlockEnd);
|
|
489
504
|
padding-inline-start: var(--pf-v6-c-tabs__item--PaddingInlineStart);
|
|
490
505
|
padding-inline-end: var(--pf-v6-c-tabs__item--PaddingInlineEnd);
|
|
506
|
+
scroll-snap-align: var(--pf-v6-c-tabs__item--ScrollSnapAlign);
|
|
491
507
|
background-color: var(--pf-v6-c-tabs__item--BackgroundColor);
|
|
492
508
|
}
|
|
493
509
|
.pf-v6-c-tabs__item.pf-m-current {
|
|
494
510
|
--pf-v6-c-tabs__link--Color: var(--pf-v6-c-tabs__item--m-current__link--Color);
|
|
495
|
-
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-
|
|
511
|
+
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs--link-accent--color);
|
|
496
512
|
--pf-v6-c-tabs__link--after--BorderWidth: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
|
|
497
513
|
--pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs__item--m-current--BackgroundColor);
|
|
498
514
|
}
|
|
@@ -540,6 +556,10 @@
|
|
|
540
556
|
border: 0;
|
|
541
557
|
}
|
|
542
558
|
|
|
559
|
+
.pf-v6-c-tabs__item.pf-m-action, .pf-v6-c-tabs__link {
|
|
560
|
+
--pf-v6-c-tabs__link--after--BorderBlockEndWidth: var(--pf-v6-c-tabs__link--after--BorderWidth);
|
|
561
|
+
}
|
|
562
|
+
|
|
543
563
|
.pf-v6-c-tabs__link {
|
|
544
564
|
display: flex;
|
|
545
565
|
flex: 1;
|
|
@@ -557,10 +577,6 @@
|
|
|
557
577
|
border-radius: var(--pf-v6-c-tabs__link--BorderRadius);
|
|
558
578
|
transition: background-color var(--pf-v6-c-tabs__link--TransitionDuration--background-color) var(--pf-v6-c-tabs__link--TransitionTimingFunction--background-color);
|
|
559
579
|
}
|
|
560
|
-
.pf-v6-c-tabs__item.pf-m-action, .pf-v6-c-tabs__link {
|
|
561
|
-
--pf-v6-c-tabs__link--after--BorderBlockEndWidth: var(--pf-v6-c-tabs__link--after--BorderWidth);
|
|
562
|
-
}
|
|
563
|
-
|
|
564
580
|
.pf-v6-c-tabs__item.pf-m-action::before, .pf-v6-c-tabs__link::before {
|
|
565
581
|
pointer-events: none;
|
|
566
582
|
border-block-start-color: var(--pf-v6-c-tabs__link--before--BorderBlockStartColor);
|
|
@@ -615,6 +631,10 @@
|
|
|
615
631
|
--pf-v6-c-tabs__link-toggle-icon--Rotate: var(--pf-v6-c-tabs__link--m-expanded__toggle-icon--Rotate);
|
|
616
632
|
}
|
|
617
633
|
|
|
634
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs__link-toggle-icon {
|
|
635
|
+
scale: -1 1;
|
|
636
|
+
}
|
|
637
|
+
|
|
618
638
|
.pf-v6-c-tabs__link-toggle-icon {
|
|
619
639
|
align-self: end;
|
|
620
640
|
font-size: var(--pf-v6-c-tabs__link-toggle-icon--FontSize);
|
|
@@ -622,9 +642,6 @@
|
|
|
622
642
|
transition: var(--pf-v6-c-tabs__link-toggle-icon--Transition);
|
|
623
643
|
transform: rotate(var(--pf-v6-c-tabs__link-toggle-icon--Rotate));
|
|
624
644
|
}
|
|
625
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs__link-toggle-icon {
|
|
626
|
-
scale: -1 1;
|
|
627
|
-
}
|
|
628
645
|
|
|
629
646
|
.pf-v6-c-tabs__item-action {
|
|
630
647
|
display: flex;
|
|
@@ -205,6 +205,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
205
205
|
--#{$tabs}__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
206
206
|
--#{$tabs}__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
207
207
|
|
|
208
|
+
// Nav variant
|
|
209
|
+
--#{$tabs}--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
210
|
+
--#{$tabs}--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
211
|
+
--#{$tabs}--m-nav--m-subtab__scroll-button--button--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
212
|
+
|
|
208
213
|
// Overflow menu toggle icon
|
|
209
214
|
--#{$tabs}__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
210
215
|
--#{$tabs}__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
@@ -379,8 +384,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
379
384
|
|
|
380
385
|
.#{$tabs}__list {
|
|
381
386
|
position: relative;
|
|
382
|
-
flex-direction: column;
|
|
383
387
|
flex-grow: 1;
|
|
388
|
+
flex-direction: column;
|
|
384
389
|
max-width: var(--#{$tabs}--m-vertical--MaxWidth);
|
|
385
390
|
|
|
386
391
|
&::before {
|
|
@@ -417,7 +422,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
417
422
|
}
|
|
418
423
|
|
|
419
424
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
420
|
-
$breakpoint-name:
|
|
425
|
+
$breakpoint-name: "";
|
|
426
|
+
|
|
427
|
+
@if $breakpoint != "base" {
|
|
428
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
429
|
+
}
|
|
421
430
|
|
|
422
431
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
423
432
|
// stylelint-disable max-nesting-depth
|
|
@@ -511,6 +520,21 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
511
520
|
overflow: visible;
|
|
512
521
|
}
|
|
513
522
|
}
|
|
523
|
+
|
|
524
|
+
&.pf-m-nav {
|
|
525
|
+
--#{$tabs}__link--disabled--BackgroundColor: transparent;
|
|
526
|
+
--#{$tabs}__link--disabled--Color: var(--#{$tabs}--m-nav__link--disabled--Color);
|
|
527
|
+
--#{$tabs}__link--BorderRadius: var(--#{$tabs}--m-nav__link--BorderRadius);
|
|
528
|
+
|
|
529
|
+
&::before,
|
|
530
|
+
.#{$tabs}__link::before {
|
|
531
|
+
border: 0;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
&.pf-m-subtab .#{$tabs}__scroll-button .#{$button} {
|
|
535
|
+
--#{$button}--FontSize: var(--#{$tabs}--m-nav--m-subtab__scroll-button--button--FontSize);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
514
538
|
}
|
|
515
539
|
|
|
516
540
|
// Expandable toggle
|
|
@@ -553,17 +577,17 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
553
577
|
display: flex;
|
|
554
578
|
flex: none;
|
|
555
579
|
column-gap: var(--#{$tabs}__item--ColumnGap);
|
|
556
|
-
scroll-snap-align: var(--#{$tabs}__item--ScrollSnapAlign);
|
|
557
580
|
padding-block-start: var(--#{$tabs}__item--PaddingBlockStart);
|
|
558
581
|
padding-block-end: var(--#{$tabs}__item--PaddingBlockEnd);
|
|
559
582
|
padding-inline-start: var(--#{$tabs}__item--PaddingInlineStart);
|
|
560
583
|
padding-inline-end: var(--#{$tabs}__item--PaddingInlineEnd);
|
|
584
|
+
scroll-snap-align: var(--#{$tabs}__item--ScrollSnapAlign);
|
|
561
585
|
background-color: var(--#{$tabs}__item--BackgroundColor);
|
|
562
586
|
|
|
563
587
|
// Current
|
|
564
588
|
&.pf-m-current {
|
|
565
589
|
--#{$tabs}__link--Color: var(--#{$tabs}__item--m-current__link--Color);
|
|
566
|
-
--#{$tabs}__link--after--BorderColor: var(--#{$tabs}
|
|
590
|
+
--#{$tabs}__link--after--BorderColor: var(--#{$tabs}--link-accent--color);
|
|
567
591
|
--#{$tabs}__link--after--BorderWidth: var(--#{$tabs}__item--m-current__link--after--BorderWidth);
|
|
568
592
|
--#{$tabs}__item--BackgroundColor: var(--#{$tabs}__item--m-current--BackgroundColor);
|
|
569
593
|
}
|
|
@@ -783,7 +807,11 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
783
807
|
// stylelint-disable no-duplicate-selectors, max-nesting-depth
|
|
784
808
|
.#{$tabs} {
|
|
785
809
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
786
|
-
$breakpoint-name:
|
|
810
|
+
$breakpoint-name: "";
|
|
811
|
+
|
|
812
|
+
@if $breakpoint != "base" {
|
|
813
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
814
|
+
}
|
|
787
815
|
|
|
788
816
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
789
817
|
@each $spacer, $spacer-value in $pf-v6-c-tabs--spacer-map {
|