@patternfly/patternfly 6.5.0-prerelease.6 → 6.5.0-prerelease.61
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.jpg +0 -0
- package/assets/images/compass--wallpaper-dark.png +0 -0
- package/assets/images/compass--wallpaper-light.jpg +0 -0
- package/assets/images/compass--wallpaper-light.png +0 -0
- package/assets/images/glass-brand-dark.jpg +0 -0
- package/assets/images/glass-brand-dark.png +0 -0
- package/assets/images/glass-brand-light.jpg +0 -0
- package/assets/images/glass-brand-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-svg-icons.css +11 -0
- package/base/patternfly-svg-icons.scss +14 -0
- package/base/patternfly-variables.css +926 -513
- package/base/patternfly-variables.scss +46 -4
- package/base/tokens/tokens-dark.scss +56 -8
- package/base/tokens/tokens-default.scss +69 -14
- package/base/tokens/tokens-glass-dark.scss +26 -0
- package/base/tokens/tokens-glass.scss +22 -0
- package/base/tokens/tokens-local.scss +17 -0
- package/base/tokens/tokens-palette.scss +3 -1
- package/base/tokens/tokens-redhat-dark.scss +21 -0
- package/base/tokens/tokens-redhat-glass-dark.scss +40 -0
- package/base/tokens/tokens-redhat-glass.scss +30 -0
- package/base/tokens/tokens-redhat-highcontrast-dark.scss +50 -0
- package/base/tokens/tokens-redhat-highcontrast.scss +128 -0
- package/base/tokens/tokens-redhat.scss +15 -0
- package/components/AboutModalBox/about-modal-box.css +36 -26
- package/components/Accordion/accordion.css +27 -14
- package/components/Accordion/accordion.scss +12 -2
- package/components/ActionList/action-list.css +2 -0
- package/components/ActionList/action-list.scss +2 -0
- package/components/Alert/alert.css +7 -5
- package/components/Alert/alert.scss +2 -1
- 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 +121 -30
- package/components/Button/button.scss +131 -26
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +51 -13
- package/components/Card/card.scss +61 -8
- package/components/ClipboardCopy/clipboard-copy.css +7 -6
- package/components/ClipboardCopy/clipboard-copy.scss +3 -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 +350 -0
- package/components/DataList/data-list.css +34 -23
- package/components/DataList/data-list.scss +8 -2
- 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 +222 -73
- package/components/Drawer/drawer.scss +191 -26
- package/components/DualListSelector/dual-list-selector.css +18 -12
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/ExpandableSection/expandable-section.css +21 -16
- package/components/ExpandableSection/expandable-section.scss +6 -3
- package/components/Form/form.css +2 -2
- package/components/Form/form.scss +2 -2
- package/components/FormControl/form-control.css +3 -3
- package/components/FormControl/form-control.scss +3 -3
- package/components/Hero/hero.css +74 -0
- package/components/Hero/hero.scss +86 -0
- package/components/JumpLinks/jump-links.css +16 -5
- package/components/JumpLinks/jump-links.scss +17 -3
- 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 +58 -40
- package/components/Login/login.scss +7 -3
- package/components/Masthead/masthead.css +112 -16
- package/components/Masthead/masthead.scss +112 -1
- package/components/Menu/menu.css +23 -14
- package/components/MenuToggle/menu-toggle.css +26 -3
- package/components/MenuToggle/menu-toggle.scss +30 -3
- package/components/ModalBox/modal-box.css +9 -7
- package/components/ModalBox/modal-box.scss +2 -2
- package/components/Nav/nav.css +82 -11
- package/components/Nav/nav.scss +85 -5
- package/components/NotificationDrawer/notification-drawer.css +19 -9
- package/components/NotificationDrawer/notification-drawer.scss +14 -5
- package/components/Page/page.css +214 -29
- package/components/Page/page.scss +228 -13
- package/components/Pagination/pagination.scss +5 -1
- package/components/Panel/panel.css +14 -0
- package/components/Panel/panel.scss +18 -0
- package/components/Progress/progress.css +3 -1
- package/components/Progress/progress.scss +3 -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 +4 -2
- package/components/Switch/switch.scss +1 -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 +45 -36
- package/components/Table/table.scss +15 -11
- package/components/Tabs/tabs.css +51 -33
- package/components/Tabs/tabs.scss +54 -26
- package/components/TextInputGroup/text-input-group.css +2 -2
- package/components/TextInputGroup/text-input-group.scss +2 -2
- package/components/ToggleGroup/toggle-group.css +34 -17
- package/components/ToggleGroup/toggle-group.scss +36 -20
- package/components/Toolbar/toolbar.css +47 -15
- package/components/Toolbar/toolbar.scss +34 -6
- package/components/TreeView/tree-view.css +45 -14
- package/components/TreeView/tree-view.scss +32 -1
- package/components/Wizard/wizard.css +41 -19
- package/components/Wizard/wizard.scss +26 -6
- package/components/_index.css +2047 -721
- package/components/_index.scss +3 -1
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -1
- package/docs/components/Accordion/examples/Accordion.md +392 -30
- package/docs/components/ActionList/examples/ActionList.md +143 -11
- package/docs/components/Alert/examples/Alert.md +678 -54
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/BackToTop/examples/BackToTop.md +13 -1
- package/docs/components/Banner/examples/Banner.md +65 -5
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +299 -24
- package/docs/components/Button/examples/Button.md +2362 -163
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +104 -8
- package/docs/components/Card/examples/Card.md +207 -4
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +286 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +104 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +195 -15
- package/docs/components/Compass/examples/Compass.css +17 -0
- package/docs/components/Compass/examples/Compass.md +119 -0
- package/docs/components/DataList/examples/DataList.md +406 -205
- package/docs/components/DatePicker/examples/DatePicker.md +78 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +327 -27
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +355 -35
- package/docs/components/DualListSelector/examples/DualListSelector.md +1013 -143
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +91 -7
- package/docs/components/Form/examples/Form.md +78 -6
- package/docs/components/Hero/examples/Hero.md +25 -0
- package/docs/components/Icon/examples/Icon.md +92 -8
- package/docs/components/InlineEdit/examples/InlineEdit.md +312 -24
- package/docs/components/InputGroup/examples/InputGroup.md +27 -3
- package/docs/components/JumpLinks/examples/JumpLinks.md +54 -6
- package/docs/components/Label/examples/Label.md +2834 -218
- package/docs/components/Login/examples/Login.md +26 -2
- package/docs/components/Masthead/examples/masthead.md +80 -1
- package/docs/components/Menu/examples/Menu.md +1458 -116
- package/docs/components/MenuToggle/examples/MenuToggle.md +14 -5
- package/docs/components/ModalBox/examples/ModalBox.md +289 -25
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +156 -12
- package/docs/components/Nav/examples/Navigation.md +798 -58
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +598 -46
- package/docs/components/OverflowMenu/examples/overflow-menu.md +78 -6
- package/docs/components/Page/examples/Page.md +72 -11
- package/docs/components/Pagination/examples/Pagination.md +627 -64
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.md +286 -22
- package/docs/components/Progress/examples/Progress.md +91 -7
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +275 -23
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Slider/examples/Slider.md +52 -4
- package/docs/components/Table/examples/Table.md +876 -70
- package/docs/components/Tabs/examples/Tabs.md +5908 -457
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +600 -48
- package/docs/components/ToggleGroup/examples/toggle-group.md +195 -15
- package/docs/components/Toolbar/examples/Toolbar.md +490 -44
- package/docs/components/TreeView/examples/TreeView.md +1390 -130
- package/docs/components/Wizard/examples/Wizard.md +815 -72
- package/docs/demos/AboutModal/examples/AboutModal.md +98 -47
- package/docs/demos/Alert/examples/Alert.md +359 -146
- package/docs/demos/BackToTop/examples/BackToTop.md +98 -47
- package/docs/demos/Banner/examples/Banner.md +170 -92
- package/docs/demos/Button/examples/Button.md +13 -1
- package/docs/demos/Card/examples/Card.md +963 -128
- package/docs/demos/CardView/examples/CardView.md +435 -252
- package/docs/demos/Compass/examples/Compass.md +5930 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +648 -164
- package/docs/demos/DataList/examples/DataList.md +730 -225
- package/docs/demos/DescriptionList/examples/DescriptionList.md +279 -141
- package/docs/demos/Drawer/examples/Drawer.md +421 -235
- package/docs/demos/Form/examples/BasicForms.md +273 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +518 -287
- package/docs/demos/Masthead/examples/Masthead.md +787 -451
- package/docs/demos/Modal/examples/Modal.md +588 -285
- package/docs/demos/Nav/examples/Nav.md +2913 -493
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1273 -310
- package/docs/demos/Page/examples/Page.md +1236 -689
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +52 -4
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +978 -385
- package/docs/demos/Skeleton/examples/Skeleton.md +85 -46
- package/docs/demos/Table/examples/Table.md +4531 -838
- package/docs/demos/Tabs/examples/Tabs.md +653 -293
- package/docs/demos/Toolbar/examples/Toolbar.md +584 -136
- package/docs/demos/Wizard/examples/Wizard.md +1165 -472
- 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 +965 -491
- package/patternfly-base.css +972 -491
- package/patternfly-charts.css +3 -3
- package/patternfly-no-globals.css +2908 -1087
- package/patternfly.css +2915 -1087
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +27 -0
- package/sass-utilities/functions.scss +32 -25
- package/sass-utilities/mixins.scss +36 -20
- package/sass-utilities/namespaces-components.scss +6 -0
- package/sass-utilities/scss-variables.scss +3 -0
|
@@ -6,6 +6,9 @@ $pf-v6-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl",
|
|
|
6
6
|
$pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
7
7
|
|
|
8
8
|
@include pf-root($drawer) {
|
|
9
|
+
// Main
|
|
10
|
+
--#{$drawer}--m-pill--m-inline__main--Gap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
11
|
+
|
|
9
12
|
// Section
|
|
10
13
|
--#{$drawer}__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
11
14
|
--#{$drawer}__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
@@ -41,6 +44,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
41
44
|
--#{$drawer}__panel--TransitionProperty: opacity, visibility, transform; // by default, fade the drawer
|
|
42
45
|
--#{$drawer}__panel--Opacity: 0;
|
|
43
46
|
--#{$drawer}--m-expanded__panel--Opacity: 1;
|
|
47
|
+
--#{$drawer}--m-expanded__panel--inset: 0px;
|
|
44
48
|
--#{$drawer}__panel--FlexBasis: 100%;
|
|
45
49
|
--#{$drawer}__panel--md--FlexBasis--min: #{pf-size-prem(24px)};
|
|
46
50
|
--#{$drawer}__panel--md--FlexBasis: 50%;
|
|
@@ -56,6 +60,16 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
56
60
|
--#{$drawer}--m-panel-bottom__panel--m-resizable--FlexDirection: column;
|
|
57
61
|
--#{$drawer}--m-panel-bottom__panel--m-resizable--md--FlexBasis--min: #{pf-size-prem(24px)};
|
|
58
62
|
--#{$drawer}--m-panel-bottom__panel--m-resizable--MinHeight: #{pf-size-prem(24px)};
|
|
63
|
+
--#{$drawer}--m-pill__panel--BorderBlockStartWidth: var(--pf-t--global--border--width--regular);
|
|
64
|
+
--#{$drawer}--m-pill__panel--BorderBlockEndWidth: var(--pf-t--global--border--width--regular);
|
|
65
|
+
--#{$drawer}--m-pill__panel--BorderInlineStartWidth: var(--pf-t--global--border--width--regular);
|
|
66
|
+
--#{$drawer}--m-pill__panel--BorderInlineEndWidth: var(--pf-t--global--border--width--regular);
|
|
67
|
+
--#{$drawer}--m-pill__panel--BorderColor: var(--pf-t--global--border--color--default);
|
|
68
|
+
--#{$drawer}--m-pill__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
69
|
+
--#{$drawer}--m-pill--m-expanded__panel--inset: var(--pf-t--global--spacer--inset--page-chrome);
|
|
70
|
+
--#{$drawer}__panel--m-glass--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default);
|
|
71
|
+
--#{$drawer}__panel--m-glass--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary);
|
|
72
|
+
--#{$drawer}__panel--m-glass--BorderColor: var(--pf-t--global--border--color--glass--default);
|
|
59
73
|
|
|
60
74
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
61
75
|
--#{$drawer}__panel--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-in--short);
|
|
@@ -103,51 +117,91 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
103
117
|
--#{$drawer}__body--m-padding--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
104
118
|
|
|
105
119
|
// Splitter
|
|
106
|
-
--#{$drawer}__splitter--Height: #{pf-size-prem(
|
|
120
|
+
--#{$drawer}__splitter--Height: #{pf-size-prem(12px)};
|
|
107
121
|
--#{$drawer}__splitter--Width: 100%;
|
|
108
|
-
--#{$drawer}__splitter--BackgroundColor:
|
|
122
|
+
--#{$drawer}__splitter--BackgroundColor: transparent;
|
|
109
123
|
--#{$drawer}__splitter--Cursor: row-resize;
|
|
110
124
|
--#{$drawer}__splitter--m-vertical--Height: 100%;
|
|
111
|
-
--#{$drawer}__splitter--m-vertical--Width: #{pf-size-prem(
|
|
125
|
+
--#{$drawer}__splitter--m-vertical--Width: #{pf-size-prem(12px)};
|
|
112
126
|
--#{$drawer}__splitter--m-vertical--Cursor: col-resize;
|
|
127
|
+
--#{$drawer}__splitter--focus--OutlineOffset: #{pf-size-prem(-1px)};
|
|
113
128
|
--#{$drawer}--m-inline__splitter--focus--OutlineOffset: #{pf-size-prem(-1px)};
|
|
114
129
|
|
|
115
130
|
// Splitter border
|
|
116
131
|
--#{$drawer}__splitter--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
132
|
+
--#{$drawer}__splitter--hover--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
133
|
+
--#{$drawer}__splitter--focus--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
134
|
+
--#{$drawer}__splitter--active--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
117
135
|
--#{$drawer}__splitter--after--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
118
136
|
--#{$drawer}__splitter--after--BorderBlockStartWidth: 0;
|
|
119
137
|
--#{$drawer}__splitter--after--BorderInlineEndWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
120
138
|
--#{$drawer}__splitter--after--BorderBlockEndWidth: 0;
|
|
121
139
|
--#{$drawer}__splitter--after--BorderInlineStartWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
140
|
+
--#{$drawer}__splitter--after--InsetBlockStart: 0;
|
|
141
|
+
--#{$drawer}__splitter--after--InsetBlockEnd: 0;
|
|
142
|
+
--#{$drawer}__splitter--after--InsetInlineStart: 0;
|
|
143
|
+
--#{$drawer}__splitter--after--InsetInlineEnd: 0;
|
|
144
|
+
--#{$drawer}__splitter--after--Width: auto;
|
|
145
|
+
--#{$drawer}__splitter--after--Height: auto;
|
|
122
146
|
--#{$drawer}--m-panel-bottom__splitter--after--BorderBlockStartWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
123
147
|
--#{$drawer}--m-panel-bottom__splitter--after--BorderBlockEndWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
124
|
-
--#{$drawer}--m-
|
|
148
|
+
--#{$drawer}--m-pill__splitter--m-vertical--Width: #{pf-size-prem(10px)};
|
|
149
|
+
--#{$drawer}--m-pill__splitter--m-vertical--Height: calc(100% - (2 * var(--#{$drawer}--m-pill__panel--BorderRadius)));
|
|
150
|
+
--#{$drawer}--m-pill__splitter--m-vertical--MarginBlockStart: var(--#{$drawer}--m-pill__panel--BorderRadius);
|
|
151
|
+
--#{$drawer}--m-pill__splitter--after--BorderColor: transparent;
|
|
152
|
+
--#{$drawer}--m-pill__splitter--after--BorderInlineEndWidth: 0;
|
|
153
|
+
--#{$drawer}--m-pill__splitter--hover--after--BorderColor: var(--pf-t--global--border--color--hover);
|
|
154
|
+
--#{$drawer}--m-pill__splitter--focus--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
155
|
+
--#{$drawer}--m-pill__splitter--active--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
156
|
+
--#{$drawer}--m-pill__splitter--after--Width: #{pf-size-prem(1px)};
|
|
157
|
+
--#{$drawer}--m-pill__splitter--after--Height: auto;
|
|
158
|
+
--#{$drawer}--m-pill__splitter--after--InsetInlineStart: 50%;
|
|
159
|
+
--#{$drawer}--m-pill__splitter--after--InsetInlineEnd: auto;
|
|
160
|
+
--#{$drawer}--m-pill__splitter--after--TranslateX: -50%;
|
|
161
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--Height: #{pf-size-prem(8px)};
|
|
162
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--Width: calc(100% - (2 * var(--#{$drawer}--m-pill__panel--BorderRadius)));
|
|
163
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--MarginInlineStart: var(--#{$drawer}--m-pill__panel--BorderRadius);
|
|
164
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--Width: auto;
|
|
165
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--Height: #{pf-size-prem(1px)};
|
|
166
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--BorderBlockStartWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
167
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--BorderBlockEndWidth: 0;
|
|
168
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--InsetBlockStart: 50%;
|
|
169
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--InsetBlockEnd: auto;
|
|
170
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--InsetInlineStart: 0;
|
|
171
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--InsetInlineEnd: 0;
|
|
172
|
+
--#{$drawer}--m-pill--m-panel-bottom__splitter--after--TranslateY: -50%;
|
|
173
|
+
--#{$drawer}--m-inline__splitter--m-vertical--Width: #{pf-size-prem(12px)};
|
|
125
174
|
--#{$drawer}--m-inline__splitter-handle--InsetInlineStart: 50%;
|
|
126
|
-
--#{$drawer}--m-inline--m-panel-bottom__splitter--Height: #{pf-size-prem(
|
|
175
|
+
--#{$drawer}--m-inline--m-panel-bottom__splitter--Height: #{pf-size-prem(12px)};
|
|
127
176
|
--#{$drawer}--m-inline--m-panel-bottom__splitter-handle--InsetBlockStart: 50%;
|
|
128
177
|
--#{$drawer}--m-inline--m-panel-bottom__splitter--after--BorderBlockStartWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
129
178
|
|
|
130
179
|
// Splitter handle
|
|
131
180
|
--#{$drawer}__splitter-handle--InsetBlockStart: 50%;
|
|
132
|
-
--#{$drawer}__splitter-handle--InsetInlineStart:
|
|
181
|
+
--#{$drawer}__splitter-handle--InsetInlineStart: 50%;
|
|
133
182
|
--#{$drawer}--m-panel-left__splitter-handle--InsetInlineStart: 50%;
|
|
134
|
-
--#{$drawer}--m-panel-bottom__splitter-handle--InsetBlockStart:
|
|
183
|
+
--#{$drawer}--m-panel-bottom__splitter-handle--InsetBlockStart: 50%;
|
|
135
184
|
|
|
136
185
|
// Splitter handle line
|
|
137
|
-
--#{$drawer}__splitter-handle--after--
|
|
186
|
+
--#{$drawer}__splitter-handle--after--BackgroundColor: var(--pf-t--global--border--color--control--default);
|
|
187
|
+
--#{$drawer}__splitter-handle--hover--after--BackgroundColor: var(--pf-t--global--border--color--hover);
|
|
188
|
+
--#{$drawer}__splitter-handle--focus--after--BackgroundColor: var(--pf-t--global--border--color--clicked);
|
|
189
|
+
--#{$drawer}__splitter-handle--active--after--BackgroundColor: var(--pf-t--global--border--color--clicked);
|
|
190
|
+
--#{$drawer}__splitter-handle--after--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
138
191
|
--#{$drawer}__splitter-handle--after--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
139
192
|
--#{$drawer}__splitter-handle--after--BorderInlineEndWidth: 0;
|
|
140
193
|
--#{$drawer}__splitter-handle--after--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
141
194
|
--#{$drawer}__splitter-handle--after--BorderInlineStartWidth: 0;
|
|
142
|
-
--#{$drawer}__splitter
|
|
195
|
+
--#{$drawer}__splitter-handle--after--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
196
|
+
--#{$drawer}__splitter--hover__splitter-handle--after--BorderColor: var(--pf-t--global--color--brand--hover);
|
|
143
197
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderBlockStartWidth: 0;
|
|
144
198
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderInlineEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
145
199
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderBlockEndWidth: 0;
|
|
146
200
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderInlineStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
147
|
-
--#{$drawer}__splitter-handle--after--Width: #{pf-size-prem(
|
|
201
|
+
--#{$drawer}__splitter-handle--after--Width: #{pf-size-prem(35px)};
|
|
148
202
|
--#{$drawer}__splitter-handle--after--Height: #{pf-size-prem(4px)};
|
|
149
203
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--Width: #{pf-size-prem(4px)};
|
|
150
|
-
--#{$drawer}__splitter--m-vertical__splitter-handle--after--Height: #{pf-size-prem(
|
|
204
|
+
--#{$drawer}__splitter--m-vertical__splitter-handle--after--Height: #{pf-size-prem(35px)};
|
|
151
205
|
|
|
152
206
|
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
153
207
|
--#{$drawer}__panel--MinWidth: var(--#{$drawer}__panel--xl--MinWidth);
|
|
@@ -200,11 +254,21 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
200
254
|
&.pf-m-static {
|
|
201
255
|
--#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-inline--BackgroundColor);
|
|
202
256
|
--#{$drawer}__panel--BorderInlineStartWidth: var(--#{$drawer}--m-inline__panel--after--Width);
|
|
203
|
-
|
|
257
|
+
--#{$drawer}--m-pill__main--Gap: var(--#{$drawer}--m-pill--m-inline__main--Gap);
|
|
258
|
+
--#{$drawer}--m-pill--m-expanded__panel--inset: 0px;
|
|
204
259
|
|
|
205
260
|
> .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
206
261
|
padding-inline-start: var(--#{$drawer}--m-inline__panel--PaddingInlineStart);
|
|
207
262
|
}
|
|
263
|
+
|
|
264
|
+
&.pf-m-glass {
|
|
265
|
+
--#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-glass--BackgroundColor);
|
|
266
|
+
--#{$drawer}__panel--BorderColor: var(--#{$drawer}__panel--m-glass--BorderColor);
|
|
267
|
+
|
|
268
|
+
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
269
|
+
backdrop-filter: var(--#{$drawer}__panel--m-glass--BackdropFilter);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
208
272
|
}
|
|
209
273
|
|
|
210
274
|
&.pf-m-panel-left > .#{$drawer}__main {
|
|
@@ -236,8 +300,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
236
300
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
237
301
|
@include pf-v6-bidirectional-style(
|
|
238
302
|
$prop: transform,
|
|
239
|
-
$ltr-val: translateX(-100%),
|
|
240
|
-
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
|
|
303
|
+
$ltr-val: translateX(calc(-100% - var(--#{$drawer}--m-expanded__panel--inset))),
|
|
304
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(calc(-100% - var(--#{$drawer}--m-expanded__panel--inset)))}),
|
|
241
305
|
);
|
|
242
306
|
|
|
243
307
|
--#{$drawer}__panel--Opacity: var(--#{$drawer}--m-expanded__panel--Opacity);
|
|
@@ -250,7 +314,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
250
314
|
}
|
|
251
315
|
|
|
252
316
|
&.pf-m-panel-bottom > .#{$drawer}__main > .#{$drawer}__panel {
|
|
253
|
-
transform: translate(0, -100%);
|
|
317
|
+
transform: translate(0, calc(-100% - var(--#{$drawer}--m-expanded__panel--inset)));
|
|
254
318
|
}
|
|
255
319
|
}
|
|
256
320
|
// stylelint-enable
|
|
@@ -264,6 +328,56 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
264
328
|
pointer-events: auto;
|
|
265
329
|
}
|
|
266
330
|
}
|
|
331
|
+
|
|
332
|
+
&.pf-m-pill {
|
|
333
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
334
|
+
--#{$drawer}__main--Gap: var(--#{$drawer}--m-pill__main--Gap, revert);
|
|
335
|
+
--#{$drawer}__panel--BorderColor: var(--#{$drawer}--m-pill__panel--BorderColor);
|
|
336
|
+
--#{$drawer}__panel--BorderRadius: var(--#{$drawer}--m-pill__panel--BorderRadius);
|
|
337
|
+
--#{$drawer}--m-expanded__panel--inset: var(--#{$drawer}--m-pill--m-expanded__panel--inset);
|
|
338
|
+
--#{$drawer}__panel--MarginBlock: var(--#{$drawer}--m-pill--m-expanded__panel--inset);
|
|
339
|
+
--#{$drawer}__splitter--m-vertical--Width: var(--#{$drawer}--m-pill__splitter--m-vertical--Width);
|
|
340
|
+
--#{$drawer}__splitter--m-vertical--Height: var(--#{$drawer}--m-pill__splitter--m-vertical--Height);
|
|
341
|
+
--#{$drawer}__splitter--MarginBlockStart: var(--#{$drawer}--m-pill__splitter--m-vertical--MarginBlockStart);
|
|
342
|
+
--#{$drawer}__splitter--after--BorderColor: var(--#{$drawer}--m-pill__splitter--after--BorderColor);
|
|
343
|
+
--#{$drawer}__splitter--after--BorderInlineEndWidth: var(--#{$drawer}--m-pill__splitter--after--BorderInlineEndWidth);
|
|
344
|
+
--#{$drawer}__splitter--hover--after--BorderColor: var(--#{$drawer}--m-pill__splitter--hover--after--BorderColor);
|
|
345
|
+
--#{$drawer}__splitter--focus--after--BorderColor: var(--#{$drawer}--m-pill__splitter--focus--after--BorderColor);
|
|
346
|
+
--#{$drawer}__splitter--active--after--BorderColor: var(--#{$drawer}--m-pill__splitter--active--after--BorderColor);
|
|
347
|
+
--#{$drawer}__splitter--after--Width: var(--#{$drawer}--m-pill__splitter--after--Width);
|
|
348
|
+
--#{$drawer}__splitter--after--Height: var(--#{$drawer}--m-pill__splitter--after--Height);
|
|
349
|
+
--#{$drawer}__splitter--after--InsetInlineStart: var(--#{$drawer}--m-pill__splitter--after--InsetInlineStart);
|
|
350
|
+
--#{$drawer}__splitter--after--InsetInlineEnd: var(--#{$drawer}--m-pill__splitter--after--InsetInlineEnd);
|
|
351
|
+
--#{$drawer}__splitter--after--TranslateX: var(--#{$drawer}--m-pill__splitter--after--TranslateX);
|
|
352
|
+
|
|
353
|
+
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
354
|
+
border-block-start-width: var(--#{$drawer}--m-pill__panel--BorderBlockStartWidth);
|
|
355
|
+
border-block-end-width: var(--#{$drawer}--m-pill__panel--BorderBlockEndWidth);
|
|
356
|
+
border-inline-start-width: var(--#{$drawer}--m-pill__panel--BorderInlineStartWidth);
|
|
357
|
+
border-inline-end-width: var(--#{$drawer}--m-pill__panel--BorderInlineEndWidth);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
&.pf-m-panel-bottom {
|
|
362
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
363
|
+
--#{$drawer}__splitter--Height: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--Height);
|
|
364
|
+
--#{$drawer}__splitter--Width: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--Width);
|
|
365
|
+
--#{$drawer}__splitter--MarginBlockStart: 0;
|
|
366
|
+
--#{$drawer}__splitter--MarginInlineStart: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--MarginInlineStart);
|
|
367
|
+
--#{$drawer}__splitter--after--Width: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--Width);
|
|
368
|
+
--#{$drawer}__splitter--after--Height: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--Height);
|
|
369
|
+
--#{$drawer}__splitter--after--BorderBlockStartWidth: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--BorderBlockStartWidth);
|
|
370
|
+
--#{$drawer}--m-panel-bottom__splitter--after--BorderBlockEndWidth: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--BorderBlockEndWidth);
|
|
371
|
+
--#{$drawer}__splitter--after--BorderBlockEndWidth: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--BorderBlockEndWidth);
|
|
372
|
+
--#{$drawer}__splitter--after--InsetBlockStart: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--InsetBlockStart);
|
|
373
|
+
--#{$drawer}__splitter--after--InsetBlockEnd: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--InsetBlockEnd);
|
|
374
|
+
--#{$drawer}__splitter--after--TranslateX: initial;
|
|
375
|
+
--#{$drawer}__splitter--after--TranslateY: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--TranslateY);
|
|
376
|
+
--#{$drawer}__splitter--after--InsetInlineStart: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--InsetInlineStart);
|
|
377
|
+
--#{$drawer}__splitter--after--InsetInlineEnd: var(--#{$drawer}--m-pill--m-panel-bottom__splitter--after--InsetInlineEnd);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
267
381
|
}
|
|
268
382
|
|
|
269
383
|
// Header area
|
|
@@ -284,6 +398,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
284
398
|
.#{$drawer}__main {
|
|
285
399
|
display: flex;
|
|
286
400
|
flex: 1;
|
|
401
|
+
gap: var(--#{$drawer}__main--Gap, 0);
|
|
287
402
|
overflow: hidden;
|
|
288
403
|
}
|
|
289
404
|
|
|
@@ -292,8 +407,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
292
407
|
.#{$drawer}__panel,
|
|
293
408
|
.#{$drawer}__panel-main {
|
|
294
409
|
display: flex;
|
|
295
|
-
flex-direction: column;
|
|
296
410
|
flex-shrink: 0;
|
|
411
|
+
flex-direction: column;
|
|
297
412
|
overflow: auto;
|
|
298
413
|
}
|
|
299
414
|
|
|
@@ -328,6 +443,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
328
443
|
row-gap: var(--#{$drawer}__panel--RowGap);
|
|
329
444
|
order: 1;
|
|
330
445
|
max-height: var(--#{$drawer}__panel--MaxHeight);
|
|
446
|
+
margin-block: var(--#{$drawer}__panel--MarginBlock, revert);
|
|
447
|
+
margin-inline: var(--#{$drawer}__panel--MarginInline, revert);
|
|
331
448
|
overflow: auto;
|
|
332
449
|
visibility: hidden; // hidden by default
|
|
333
450
|
background-color: var(--#{$drawer}__panel--BackgroundColor);
|
|
@@ -336,6 +453,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
336
453
|
border-block-end-width: var(--#{$drawer}__panel--BorderBlockEndWidth);
|
|
337
454
|
border-inline-start-width: var(--#{$drawer}__panel--BorderInlineStartWidth);
|
|
338
455
|
border-inline-end-width: var(--#{$drawer}__panel--BorderInlineEndWidth);
|
|
456
|
+
border-radius: var(--#{$drawer}__panel--BorderRadius, revert);
|
|
339
457
|
box-shadow: var(--#{$drawer}__panel--BoxShadow);
|
|
340
458
|
opacity: var(--#{$drawer}__panel--Opacity);
|
|
341
459
|
transition-delay: var(--#{$drawer}__panel--TransitionDelay);
|
|
@@ -451,8 +569,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
451
569
|
display: none;
|
|
452
570
|
width: var(--#{$drawer}__splitter--Width);
|
|
453
571
|
height: var(--#{$drawer}__splitter--Height);
|
|
572
|
+
margin-block-start: var(--#{$drawer}__splitter--MarginBlockStart, 0);
|
|
573
|
+
margin-inline-start: var(--#{$drawer}__splitter--MarginInlineStart, 0);
|
|
454
574
|
cursor: var(--#{$drawer}__splitter--Cursor);
|
|
455
575
|
background-color: var(--#{$drawer}__splitter--BackgroundColor);
|
|
576
|
+
outline-offset: var(--#{$drawer}__splitter--focus--OutlineOffset);
|
|
456
577
|
|
|
457
578
|
&.pf-m-vertical {
|
|
458
579
|
--#{$drawer}__splitter--Height: var(--#{$drawer}__splitter--m-vertical--Height);
|
|
@@ -466,23 +587,37 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
466
587
|
--#{$drawer}__splitter-handle--after--BorderInlineStartWidth: var(--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderInlineStartWidth);
|
|
467
588
|
}
|
|
468
589
|
|
|
469
|
-
&:hover
|
|
590
|
+
&:hover {
|
|
591
|
+
--#{$drawer}__splitter-handle--after--BackgroundColor: var(--#{$drawer}__splitter-handle--hover--after--BackgroundColor);
|
|
592
|
+
--#{$drawer}__splitter--after--BorderColor: var(--#{$drawer}__splitter--hover--after--BorderColor);
|
|
593
|
+
}
|
|
594
|
+
|
|
470
595
|
&:focus {
|
|
471
|
-
--#{$drawer}__splitter-handle--after--
|
|
596
|
+
--#{$drawer}__splitter-handle--after--BackgroundColor: var(--#{$drawer}__splitter-handle--focus--after--BackgroundColor);
|
|
597
|
+
--#{$drawer}__splitter--after--BorderColor: var(--#{$drawer}__splitter--focus--after--BorderColor); }
|
|
598
|
+
|
|
599
|
+
&:active {
|
|
600
|
+
--#{$drawer}__splitter-handle--after--BackgroundColor: var(--#{$drawer}__splitter-handle--active--after--BackgroundColor);
|
|
601
|
+
--#{$drawer}__splitter--after--BorderColor: var(--#{$drawer}__splitter--active--after--BorderColor);
|
|
472
602
|
}
|
|
473
603
|
|
|
604
|
+
|
|
474
605
|
&::after {
|
|
475
606
|
position: absolute;
|
|
476
|
-
inset-block-start:
|
|
477
|
-
inset-block-end:
|
|
478
|
-
inset-inline-start:
|
|
479
|
-
inset-inline-end:
|
|
607
|
+
inset-block-start: var(--#{$drawer}__splitter--after--InsetBlockStart);
|
|
608
|
+
inset-block-end: var(--#{$drawer}__splitter--after--InsetBlockEnd);
|
|
609
|
+
inset-inline-start: var(--#{$drawer}__splitter--after--InsetInlineStart);
|
|
610
|
+
inset-inline-end: var(--#{$drawer}__splitter--after--InsetInlineEnd);
|
|
611
|
+
z-index: -1; // sneak the pill version below the handle
|
|
612
|
+
width: var(--#{$drawer}__splitter--after--Width);
|
|
613
|
+
height: var(--#{$drawer}__splitter--after--Height);
|
|
480
614
|
content: "";
|
|
481
615
|
border: solid var(--#{$drawer}__splitter--after--BorderColor);
|
|
482
616
|
border-block-start-width: var(--#{$drawer}__splitter--after--BorderBlockStartWidth);
|
|
483
617
|
border-block-end-width: var(--#{$drawer}__splitter--after--BorderBlockEndWidth);
|
|
484
618
|
border-inline-start-width: var(--#{$drawer}__splitter--after--BorderInlineStartWidth);
|
|
485
619
|
border-inline-end-width: var(--#{$drawer}__splitter--after--BorderInlineEndWidth);
|
|
620
|
+
translate: var(--#{$drawer}__splitter--after--TranslateX, 0) var(--#{$drawer}__splitter--after--TranslateY, 0);
|
|
486
621
|
}
|
|
487
622
|
}
|
|
488
623
|
|
|
@@ -503,12 +638,14 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
503
638
|
width: var(--#{$drawer}__splitter-handle--after--Width);
|
|
504
639
|
height: var(--#{$drawer}__splitter-handle--after--Height);
|
|
505
640
|
content: "";
|
|
641
|
+
background-color: var(--#{$drawer}__splitter-handle--after--BackgroundColor);
|
|
506
642
|
border-color: var(--#{$drawer}__splitter-handle--after--BorderColor);
|
|
507
643
|
border-style: solid;
|
|
508
644
|
border-block-start-width: var(--#{$drawer}__splitter-handle--after--BorderBlockStartWidth);
|
|
509
645
|
border-block-end-width: var(--#{$drawer}__splitter-handle--after--BorderBlockEndWidth);
|
|
510
646
|
border-inline-start-width: var(--#{$drawer}__splitter-handle--after--BorderInlineStartWidth);
|
|
511
647
|
border-inline-end-width: var(--#{$drawer}__splitter-handle--after--BorderInlineEndWidth);
|
|
648
|
+
border-radius: var(--#{$drawer}__splitter-handle--after--BorderRadius);
|
|
512
649
|
}
|
|
513
650
|
}
|
|
514
651
|
|
|
@@ -520,6 +657,16 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
520
657
|
|
|
521
658
|
min-width: var(--#{$drawer}__panel--MinWidth);
|
|
522
659
|
|
|
660
|
+
&.pf-m-inline,
|
|
661
|
+
&.pf-m-static {
|
|
662
|
+
@at-root :where(.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass),
|
|
663
|
+
&.pf-m-plain {
|
|
664
|
+
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
665
|
+
background: transparent;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
523
670
|
> .#{$drawer}__main {
|
|
524
671
|
> .#{$drawer}__panel {
|
|
525
672
|
box-shadow: var(--#{$drawer}--m-expanded__panel--BoxShadow);
|
|
@@ -565,7 +712,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
565
712
|
}
|
|
566
713
|
|
|
567
714
|
&.pf-m-expanded > .#{$drawer}__main > .#{$drawer}__panel {
|
|
568
|
-
transform: translateX(
|
|
715
|
+
transform: translateX(var(--#{$drawer}--m-expanded__panel--inset));
|
|
569
716
|
}
|
|
570
717
|
|
|
571
718
|
> .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
|
|
@@ -583,6 +730,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
583
730
|
--#{$drawer}__panel--FlexBasis--min: var(--#{$drawer}--m-panel-bottom__panel--FlexBasis--min);
|
|
584
731
|
--#{$drawer}__panel--BorderInlineStartWidth: 0; // turn off default left border
|
|
585
732
|
--#{$drawer}__panel--BorderBlockStartWidth: var(--#{$drawer}--m-panel-bottom__panel--after--Height); // set the border width based on the old height variable
|
|
733
|
+
--#{$drawer}__panel--MarginBlock: initial;
|
|
734
|
+
--#{$drawer}__panel--MarginInline: var(--#{$drawer}--m-expanded__panel--inset);
|
|
586
735
|
|
|
587
736
|
min-width: auto;
|
|
588
737
|
min-height: var(--#{$drawer}--m-panel-bottom__panel--md--MinHeight);
|
|
@@ -655,7 +804,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
655
804
|
|
|
656
805
|
// Responsive width modifiers
|
|
657
806
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map--width {
|
|
658
|
-
$breakpoint-name:
|
|
807
|
+
$breakpoint-name: "";
|
|
808
|
+
|
|
809
|
+
@if $breakpoint != "base" {
|
|
810
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
811
|
+
}
|
|
659
812
|
|
|
660
813
|
@if $breakpoint == "base" {
|
|
661
814
|
$breakpoint: "md";
|
|
@@ -664,7 +817,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
664
817
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
665
818
|
@each $width-value in $pf-v6-c-drawer__panel--list--width {
|
|
666
819
|
.#{$drawer}__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
|
|
667
|
-
--#{$drawer}__panel--md--FlexBasis: #{percentage(math.div($width-value, 100))};
|
|
820
|
+
--#{$drawer}__panel--md--FlexBasis: calc(#{math.percentage(math.div($width-value, 100))} - (2 * var(--#{$drawer}--m-expanded__panel--inset)));
|
|
821
|
+
|
|
822
|
+
@if $width-value == 100 {
|
|
823
|
+
--#{$drawer}__main--Gap: 0; // Reset gap for width-100 inline pill drawers to prevent misalignment
|
|
824
|
+
}
|
|
668
825
|
}
|
|
669
826
|
}
|
|
670
827
|
}
|
|
@@ -672,7 +829,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
672
829
|
|
|
673
830
|
// Responsive modifiers
|
|
674
831
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map {
|
|
675
|
-
$breakpoint-name:
|
|
832
|
+
$breakpoint-name: "";
|
|
833
|
+
|
|
834
|
+
@if $breakpoint != "base" {
|
|
835
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
836
|
+
}
|
|
676
837
|
|
|
677
838
|
@if $breakpoint == "base" {
|
|
678
839
|
$breakpoint: "md";
|
|
@@ -789,3 +950,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
789
950
|
}
|
|
790
951
|
}
|
|
791
952
|
}
|
|
953
|
+
|
|
954
|
+
// :where(.pf-v6-theme-glass) {
|
|
955
|
+
|
|
956
|
+
// }
|
|
@@ -32,6 +32,15 @@
|
|
|
32
32
|
--pf-v6-c-dual-list-selector--m-expanded__list--Opacity: 1;
|
|
33
33
|
--pf-v6-c-dual-list-selector__list--TranslateY: 0;
|
|
34
34
|
--pf-v6-c-dual-list-selector--m-expanded__list--TranslateY: 0;
|
|
35
|
+
}
|
|
36
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
37
|
+
.pf-v6-c-dual-list-selector {
|
|
38
|
+
--pf-v6-c-dual-list-selector__list--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
39
|
+
--pf-v6-c-dual-list-selector__list--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
40
|
+
--pf-v6-c-dual-list-selector__list--TranslateY: -.5rem;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.pf-v6-c-dual-list-selector {
|
|
35
44
|
--pf-v6-c-dual-list-selector__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
|
|
36
45
|
--pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
37
46
|
--pf-v6-c-dual-list-selector__list-item-row--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
|
|
@@ -67,19 +76,12 @@
|
|
|
67
76
|
--pf-v6-c-dual-list-selector__item-count--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
|
68
77
|
--pf-v6-c-dual-list-selector__item--c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
69
78
|
--pf-v6-c-dual-list-selector__item-toggle-icon--Rotate: 0;
|
|
70
|
-
--pf-v6-c-dual-list-selector__list-item--m-expanded__item-toggle-icon--Rotate:
|
|
79
|
+
--pf-v6-c-dual-list-selector__list-item--m-expanded__item-toggle-icon--Rotate: -180deg;
|
|
71
80
|
--pf-v6-c-dual-list-selector__item-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
72
81
|
--pf-v6-c-dual-list-selector__item-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
73
82
|
--pf-v6-c-dual-list-selector__item-toggle-icon--MinWidth: var(--pf-v6-c-dual-list-selector__list-item-row--FontSize);
|
|
74
83
|
--pf-v6-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
75
84
|
}
|
|
76
|
-
@media screen and (prefers-reduced-motion: no-preference) {
|
|
77
|
-
.pf-v6-c-dual-list-selector {
|
|
78
|
-
--pf-v6-c-dual-list-selector__list--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
79
|
-
--pf-v6-c-dual-list-selector__list--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
80
|
-
--pf-v6-c-dual-list-selector__list--TranslateY: -.5rem;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
85
|
|
|
84
86
|
.pf-v6-c-dual-list-selector {
|
|
85
87
|
display: grid;
|
|
@@ -150,8 +152,6 @@
|
|
|
150
152
|
|
|
151
153
|
.pf-v6-c-dual-list-selector__list {
|
|
152
154
|
--pf-v6-c-dual-list-selector__item-toggle-icon--Rotate: 0;
|
|
153
|
-
display: flex;
|
|
154
|
-
flex-direction: column;
|
|
155
155
|
}
|
|
156
156
|
.pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list {
|
|
157
157
|
--pf-v6-c-dual-list-selector__item-toggle--MarginBlockStart: 0;
|
|
@@ -159,16 +159,22 @@
|
|
|
159
159
|
}
|
|
160
160
|
.pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
|
|
161
161
|
transform: translateX(var(--pf-v6-c-dual-list-selector__list__list__item-toggle--TranslateX));
|
|
162
|
-
position: absolute;
|
|
163
|
-
inset-inline-start: var(--pf-v6-c-dual-list-selector__list__list__item-toggle--InsetInlineStart);
|
|
164
162
|
}
|
|
165
163
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
|
|
166
164
|
transform: translateX(calc(var(--pf-v6-c-dual-list-selector__list__list__item-toggle--TranslateX) * var(--pf-v6-global--inverse--multiplier)));
|
|
167
165
|
}
|
|
168
166
|
|
|
167
|
+
.pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
|
|
168
|
+
position: absolute;
|
|
169
|
+
inset-inline-start: var(--pf-v6-c-dual-list-selector__list__list__item-toggle--InsetInlineStart);
|
|
170
|
+
}
|
|
169
171
|
.pf-v6-c-dual-list-selector__list.pf-m-drag-over {
|
|
170
172
|
overflow-anchor: none;
|
|
171
173
|
}
|
|
174
|
+
.pf-v6-c-dual-list-selector__list {
|
|
175
|
+
display: flex;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
}
|
|
172
178
|
|
|
173
179
|
.pf-v6-c-dual-list-selector__list-item:focus-visible {
|
|
174
180
|
--pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v6-c-dual-list-selector__list-item-row--hover--BackgroundColor);
|
|
@@ -106,7 +106,7 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
106
106
|
|
|
107
107
|
// Icon
|
|
108
108
|
--#{$dual-list-selector}__item-toggle-icon--Rotate: 0;
|
|
109
|
-
--#{$dual-list-selector}__list-item--m-expanded__item-toggle-icon--Rotate:
|
|
109
|
+
--#{$dual-list-selector}__list-item--m-expanded__item-toggle-icon--Rotate: -180deg;
|
|
110
110
|
--#{$dual-list-selector}__item-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
111
111
|
--#{$dual-list-selector}__item-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
112
112
|
--#{$dual-list-selector}__item-toggle-icon--MinWidth: var(--#{$dual-list-selector}__list-item-row--FontSize);
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
--pf-v6-c-expandable-section__toggle-icon--Transition: transform var(--pf-v6-c-expandable-section__toggle-icon--TransitionDuration) var(--pf-v6-c-expandable-section__toggle-icon--TransitionTimingFunction);
|
|
8
8
|
--pf-v6-c-expandable-section__toggle-icon--Rotate: 0;
|
|
9
9
|
--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: 0;
|
|
10
|
-
--pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate:
|
|
11
|
-
--pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate:
|
|
10
|
+
--pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate: -180deg;
|
|
11
|
+
--pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate: 180deg;
|
|
12
12
|
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: 0s;
|
|
13
13
|
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
14
14
|
--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: 0s;
|
|
@@ -20,10 +20,24 @@
|
|
|
20
20
|
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
21
21
|
--pf-v6-c-expandable-section__content--TranslateY: 0;
|
|
22
22
|
--pf-v6-c-expandable-section__content--PaddingInlineStart: 0;
|
|
23
|
+
--pf-v6-c-expandable-section__content--MaxHeight: 0px;
|
|
24
|
+
--pf-v6-c-expandable-section__content--Visibility: hidden;
|
|
25
|
+
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
23
26
|
--pf-v6-c-expandable-section--m-expand-top__content--TranslateY: 0;
|
|
24
27
|
--pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: 0;
|
|
25
28
|
--pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
|
|
26
29
|
--pf-v6-c-expandable-section--m-expanded__content--TranslateY: 0;
|
|
30
|
+
}
|
|
31
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
32
|
+
.pf-v6-c-expandable-section {
|
|
33
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
34
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
35
|
+
--pf-v6-c-expandable-section__content--TranslateY: -.5rem;
|
|
36
|
+
--pf-v6-c-expandable-section--m-expand-top__content--TranslateY: .5rem;
|
|
37
|
+
--pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: -.5rem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.pf-v6-c-expandable-section {
|
|
27
41
|
--pf-v6-c-expandable-section__content--MaxWidth: auto;
|
|
28
42
|
--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
|
|
29
43
|
--pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -40,15 +54,6 @@
|
|
|
40
54
|
--pf-v6-c-expandable-section--m-truncate__content--LineClamp: 3;
|
|
41
55
|
--pf-v6-c-expandable-section--m-truncate--Gap: var(--pf-t--global--spacer--xs);
|
|
42
56
|
}
|
|
43
|
-
@media screen and (prefers-reduced-motion: no-preference) {
|
|
44
|
-
.pf-v6-c-expandable-section {
|
|
45
|
-
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
46
|
-
--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
47
|
-
--pf-v6-c-expandable-section__content--TranslateY: -.5rem;
|
|
48
|
-
--pf-v6-c-expandable-section--m-expand-top__content--TranslateY: .5rem;
|
|
49
|
-
--pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: -.5rem;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
57
|
|
|
53
58
|
.pf-v6-c-expandable-section {
|
|
54
59
|
display: flex;
|
|
@@ -107,9 +112,13 @@
|
|
|
107
112
|
}
|
|
108
113
|
.pf-v6-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-v6-c-expandable-section__content {
|
|
109
114
|
display: -webkit-box;
|
|
115
|
+
overflow: hidden;
|
|
110
116
|
-webkit-box-orient: vertical;
|
|
111
117
|
-webkit-line-clamp: var(--pf-v6-c-expandable-section--m-truncate__content--LineClamp);
|
|
112
|
-
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-expandable-section__toggle-icon {
|
|
121
|
+
scale: -1 1;
|
|
113
122
|
}
|
|
114
123
|
|
|
115
124
|
.pf-v6-c-expandable-section__toggle-icon {
|
|
@@ -119,10 +128,6 @@
|
|
|
119
128
|
transition: var(--pf-v6-c-expandable-section__toggle-icon--Transition);
|
|
120
129
|
transform: rotate(var(--pf-v6-c-expandable-section__toggle-icon--Rotate));
|
|
121
130
|
}
|
|
122
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-expandable-section__toggle-icon {
|
|
123
|
-
scale: -1 1;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
131
|
.pf-v6-c-expandable-section__toggle-icon.pf-m-expand-top {
|
|
127
132
|
--pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate);
|
|
128
133
|
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
--#{$expandable-section}__toggle-icon--Transition: transform var(--#{$expandable-section}__toggle-icon--TransitionDuration) var(--#{$expandable-section}__toggle-icon--TransitionTimingFunction); // TODO remove in breaking change along with shorthand property
|
|
12
12
|
--#{$expandable-section}__toggle-icon--Rotate: 0;
|
|
13
13
|
--#{$expandable-section}__toggle-icon--m-expand-top--Rotate: 0;
|
|
14
|
-
--#{$expandable-section}--m-expanded__toggle-icon--Rotate:
|
|
15
|
-
--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate:
|
|
14
|
+
--#{$expandable-section}--m-expanded__toggle-icon--Rotate: -180deg;
|
|
15
|
+
--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate: 180deg;
|
|
16
16
|
--#{$expandable-section}__content--TransitionDuration--collapse--slide: 0s;
|
|
17
17
|
--#{$expandable-section}__content--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
18
18
|
--#{$expandable-section}__content--TransitionDuration--expand--slide: 0s;
|
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
--#{$expandable-section}__content--Opacity: 0;
|
|
25
25
|
--#{$expandable-section}__content--TranslateY: 0;
|
|
26
26
|
--#{$expandable-section}__content--PaddingInlineStart: 0;
|
|
27
|
+
--#{$expandable-section}__content--MaxHeight: 0px;
|
|
28
|
+
--#{$expandable-section}__content--Visibility: hidden;
|
|
29
|
+
--#{$expandable-section}__content--Opacity: 0;
|
|
27
30
|
--#{$expandable-section}--m-expand-top__content--TranslateY: 0;
|
|
28
31
|
--#{$expandable-section}--m-expand-bottom__content--TranslateY: 0;
|
|
29
32
|
--#{$expandable-section}--m-expanded__content--Opacity: 1;
|
|
@@ -135,10 +138,10 @@
|
|
|
135
138
|
&:not(.pf-m-expanded) .#{$expandable-section}__content {
|
|
136
139
|
// stylelint-disable
|
|
137
140
|
display: -webkit-box;
|
|
141
|
+
overflow: hidden;
|
|
138
142
|
-webkit-box-orient: vertical;
|
|
139
143
|
-webkit-line-clamp: var(--#{$expandable-section}--m-truncate__content--LineClamp);
|
|
140
144
|
// stylelint-enable
|
|
141
|
-
overflow: hidden;
|
|
142
145
|
}
|
|
143
146
|
}
|
|
144
147
|
}
|
package/components/Form/form.css
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
--pf-v6-c-form__field-group-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
61
61
|
--pf-v6-c-form__field-group-toggle-icon--MinWidth: var(--pf-t--global--font--size--body--default);
|
|
62
62
|
--pf-v6-c-form__field-group-toggle-icon--Rotate: 0;
|
|
63
|
-
--pf-v6-c-form__field-group--m-expanded__toggle-icon--Rotate:
|
|
63
|
+
--pf-v6-c-form__field-group--m-expanded__toggle-icon--Rotate: -180deg;
|
|
64
64
|
--pf-v6-c-form__field-group-header--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
65
65
|
--pf-v6-c-form__field-group-header--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
66
66
|
--pf-v6-c-form__field-group-header--GridColumn: 1 / 3;
|
|
@@ -499,8 +499,8 @@
|
|
|
499
499
|
|
|
500
500
|
.pf-v6-c-form__field-group-header-main {
|
|
501
501
|
display: flex;
|
|
502
|
-
flex-direction: column;
|
|
503
502
|
flex-grow: 1;
|
|
503
|
+
flex-direction: column;
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
.pf-v6-c-form__field-group-header-title {
|
|
@@ -139,7 +139,7 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
139
139
|
--#{$form}__field-group-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
140
140
|
--#{$form}__field-group-toggle-icon--MinWidth: var(--pf-t--global--font--size--body--default);
|
|
141
141
|
--#{$form}__field-group-toggle-icon--Rotate: 0;
|
|
142
|
-
--#{$form}__field-group--m-expanded__toggle-icon--Rotate:
|
|
142
|
+
--#{$form}__field-group--m-expanded__toggle-icon--Rotate: -180deg;
|
|
143
143
|
|
|
144
144
|
// Field group header
|
|
145
145
|
--#{$form}__field-group-header--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -459,8 +459,8 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
459
459
|
|
|
460
460
|
.#{$form}__field-group-header-main {
|
|
461
461
|
display: flex;
|
|
462
|
-
flex-direction: column;
|
|
463
462
|
flex-grow: 1;
|
|
463
|
+
flex-direction: column;
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.#{$form}__field-group-header-title {
|