@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--#{$button}--AlignItems: baseline;
|
|
6
6
|
--#{$button}--JustifyContent: center;
|
|
7
7
|
--#{$button}--Gap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
8
|
-
--#{$button}--MinWidth: calc(
|
|
8
|
+
--#{$button}--MinWidth: calc(1lh + var(--#{$button}--PaddingBlockStart) + var(--#{$button}--PaddingBlockEnd));
|
|
9
9
|
--#{$button}--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
|
|
10
10
|
--#{$button}--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--default);
|
|
11
11
|
--#{$button}--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--default);
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
--#{$button}--hover--TextDecorationLine: none;
|
|
37
37
|
--#{$button}--hover--TextDecorationStyle: none;
|
|
38
38
|
--#{$button}--hover--TextDecorationColor: currentcolor;
|
|
39
|
+
--#{$button}--hover--TextUnderlineOffset: var(--pf-t--global--text-decoration--offset--hover);
|
|
39
40
|
--#{$button}--hover--ScaleX: 1;
|
|
40
41
|
--#{$button}--hover--ScaleY: 1;
|
|
41
42
|
|
|
@@ -43,6 +44,10 @@
|
|
|
43
44
|
--#{$button}--m-clicked--BackgroundColor: transparent;
|
|
44
45
|
--#{$button}--m-clicked--BorderColor: transparent;
|
|
45
46
|
--#{$button}--m-clicked--BorderWidth: var(--pf-t--global--border--width--action--clicked);
|
|
47
|
+
--#{$button}--m-clicked--TextDecorationLine: none;
|
|
48
|
+
--#{$button}--m-clicked--TextDecorationStyle: none;
|
|
49
|
+
--#{$button}--m-clicked--TextDecorationColor: currentcolor;
|
|
50
|
+
--#{$button}--m-clicked--TextUnderlineOffset: var(--pf-t--global--text-decoration--offset--default);
|
|
46
51
|
|
|
47
52
|
// Primary
|
|
48
53
|
--#{$button}--m-primary--Color: var(--pf-t--global--text--color--on-brand--default);
|
|
@@ -89,7 +94,7 @@
|
|
|
89
94
|
--#{$button}--m-tertiary--m-clicked__icon--Color: var(--pf-t--global--icon--color--brand--clicked);
|
|
90
95
|
|
|
91
96
|
// Link
|
|
92
|
-
--#{$button}--m-link--BorderRadius: var(--pf-t--global--border--radius--
|
|
97
|
+
--#{$button}--m-link--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
|
|
93
98
|
--#{$button}--m-link--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
|
94
99
|
--#{$button}--m-link--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
|
95
100
|
--#{$button}--m-link--Color: var(--pf-t--global--text--color--brand--default);
|
|
@@ -131,10 +136,17 @@
|
|
|
131
136
|
--#{$button}--m-link--m-inline--PaddingInlineEnd: 0;
|
|
132
137
|
--#{$button}--m-link--m-inline--PaddingBlockEnd: 0;
|
|
133
138
|
--#{$button}--m-link--m-inline--PaddingInlineStart: 0;
|
|
139
|
+
--#{$button}--m-link--m-inline--TextDecorationColor: var(--pf-t--global--text-decoration--color--default);
|
|
134
140
|
--#{$button}--m-link--m-inline--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--default);
|
|
135
141
|
--#{$button}--m-link--m-inline--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--default);
|
|
142
|
+
--#{$button}--m-link--m-inline--TextUnderlineOffset: var(--pf-t--global--text-decoration--offset--default);
|
|
143
|
+
--#{$button}--m-link--m-inline--hover--TextDecorationColor: var(--pf-t--global--text-decoration--color--hover);
|
|
136
144
|
--#{$button}--m-link--m-inline--hover--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--hover);
|
|
137
145
|
--#{$button}--m-link--m-inline--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--hover);
|
|
146
|
+
--#{$button}--m-link--m-inline--hover--TextUnderlineOffset: var(--pf-t--global--text-decoration--offset--hover);
|
|
147
|
+
--#{$button}--m-link--m-inline--TransitionProperty: color, text-underline-offset;
|
|
148
|
+
--#{$button}--m-link--m-inline--TransitionDuration: var(--pf-t--global--motion--duration--fade--default), var(--pf-t--global--motion--duration--lg);
|
|
149
|
+
--#{$button}--m-link--m-inline--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--accelerate), var(--pf-t--global--motion--timing-function--default);
|
|
138
150
|
--#{$button}--m-link--m-inline__progress--InsetInlineStart: var(--pf-t--global--spacer--xs);
|
|
139
151
|
--#{$button}--m-link--m-inline--m-in-progress--PaddingInlineStart: calc(var(--#{$button}--m-link--m-inline__progress--InsetInlineStart) + 1rem + var(--pf-t--global--spacer--sm));
|
|
140
152
|
--#{$button}--m-link--m-inline--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
@@ -144,13 +156,11 @@
|
|
|
144
156
|
--#{$button}--span--m-link--m-inline__icon--m-end--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
145
157
|
--#{$button}--m-link--m-inline--Color: var(--pf-t--global--text--color--brand--default);
|
|
146
158
|
--#{$button}--m-link--m-inline__icon--Color: var(--pf-t--global--icon--color--brand--default);
|
|
147
|
-
--#{$button}--m-link--m-inline--TextDecorationColor: currentcolor;
|
|
148
159
|
--#{$button}--m-link--m-inline--hover--Color: var(--pf-t--global--text--color--brand--hover);
|
|
149
160
|
--#{$button}--m-link--m-inline--hover__icon--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
150
|
-
--#{$button}--m-link--m-inline--hover--TextDecorationColor: currentcolor;
|
|
151
161
|
|
|
152
162
|
// Plain
|
|
153
|
-
--#{$button}--m-plain--BorderRadius: var(--pf-t--global--border--radius--
|
|
163
|
+
--#{$button}--m-plain--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
|
|
154
164
|
--#{$button}--m-plain--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
|
155
165
|
--#{$button}--m-plain--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
|
156
166
|
--#{$button}--m-plain--Color: var(--pf-t--global--icon--color--regular);
|
|
@@ -188,12 +198,12 @@
|
|
|
188
198
|
--#{$button}--m-plain--m-no-padding--border--offset: calc(#{pf-size-prem(2px)} * -1);
|
|
189
199
|
|
|
190
200
|
// Control
|
|
191
|
-
--#{$button}--m-control--BorderRadius: var(--pf-t--global--border--radius--
|
|
201
|
+
--#{$button}--m-control--BorderRadius: var(--pf-t--global--border--radius--control--form-element);
|
|
192
202
|
--#{$button}--m-control--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--default);
|
|
193
203
|
--#{$button}--m-control--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
|
|
194
204
|
--#{$button}--m-control--Color: var(--pf-t--global--text--color--regular);
|
|
195
205
|
--#{$button}--m-control--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
196
|
-
--#{$button}--m-control--BorderColor: var(--pf-t--global--border--color--default);
|
|
206
|
+
--#{$button}--m-control--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
197
207
|
--#{$button}--m-control--BorderWidth: var(--pf-t--global--border--width--control--default);
|
|
198
208
|
--#{$button}--m-control__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
199
209
|
--#{$button}--m-control--hover--Color: var(--pf-t--global--text--color--regular);
|
|
@@ -268,13 +278,49 @@
|
|
|
268
278
|
--#{$button}--m-danger--m-clicked--BackgroundColor: var(--pf-t--global--color--status--danger--clicked);
|
|
269
279
|
--#{$button}--m-danger--m-clicked__icon--Color: var(--pf-t--global--icon--color--status--on-danger--clicked);
|
|
270
280
|
|
|
271
|
-
// CTA
|
|
281
|
+
// CTA (display large)
|
|
272
282
|
--#{$button}--m-display-lg--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--spacious);
|
|
273
283
|
--#{$button}--m-display-lg--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--spacious);
|
|
274
284
|
--#{$button}--m-display-lg--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--spacious);
|
|
275
285
|
--#{$button}--m-display-lg--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--spacious);
|
|
276
286
|
--#{$button}--m-display-lg--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
277
|
-
--#{$button}--m-link--m-display-lg--FontSize: var(--pf-t--global--font--size--body--
|
|
287
|
+
--#{$button}--m-link--m-display-lg--FontSize: var(--pf-t--global--font--size--body--default);
|
|
288
|
+
--#{$button}--m-display-lg--hover--TextDecorationColor: var(--pf-t--global--border--color--control--default);
|
|
289
|
+
--#{$button}--m-display-lg--hover--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--hover);
|
|
290
|
+
--#{$button}--m-display-lg--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--hover);
|
|
291
|
+
--#{$button}--m-display-lg--hover--TextUnderlineOffset: var(--pf-t--global--text-decoration--offset--hover);
|
|
292
|
+
--#{$button}--m-display-lg--m-clicked--TextDecorationColor: var(--pf-t--global--border--color--control--default);
|
|
293
|
+
--#{$button}--m-display-lg--m-clicked--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--hover);
|
|
294
|
+
--#{$button}--m-display-lg--m-clicked--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--hover);
|
|
295
|
+
--#{$button}--m-display-lg--m-clicked--TextUnderlineOffset: var(--pf-t--global--text-decoration--offset--hover);
|
|
296
|
+
|
|
297
|
+
// CTA primary
|
|
298
|
+
--#{$button}--m-display-lg--m-primary--Color: var(--pf-t--global--text--color--on-brand--accent--default);
|
|
299
|
+
--#{$button}--m-display-lg--m-primary--BackgroundColor: var(--pf-t--global--color--brand--accent--default);
|
|
300
|
+
--#{$button}--m-display-lg--m-primary__icon--Color: var(--pf-t--global--icon--color--on-brand--accent--default);
|
|
301
|
+
--#{$button}--m-display-lg--m-primary--hover--Color: var(--pf-t--global--text--color--on-brand--accent--hover);
|
|
302
|
+
--#{$button}--m-display-lg--m-primary--hover--BackgroundColor: var(--pf-t--global--color--brand--accent--hover);
|
|
303
|
+
--#{$button}--m-display-lg--m-primary--hover__icon--Color: var(--pf-t--global--icon--color--on-brand--accent--hover);
|
|
304
|
+
--#{$button}--m-display-lg--m-primary--m-clicked--Color: var(--pf-t--global--text--color--on-brand--accent--clicked);
|
|
305
|
+
--#{$button}--m-display-lg--m-primary--m-clicked--BackgroundColor: var(--pf-t--global--color--brand--accent--clicked);
|
|
306
|
+
--#{$button}--m-display-lg--m-primary--m-clicked__icon--Color: var(--pf-t--global--icon--color--on-brand--accent--clicked);
|
|
307
|
+
--#{$button}--m-display-lg--m-primary--hover--TextDecorationColor: currentcolor;
|
|
308
|
+
--#{$button}--m-display-lg--m-primary--m-clicked--TextDecorationColor: currentcolor;
|
|
309
|
+
|
|
310
|
+
// CTA Secondary
|
|
311
|
+
--#{$button}--m-display-lg--m-secondary--Color: var(--pf-t--global--text--color--regular);
|
|
312
|
+
--#{$button}--m-display-lg--m-secondary--BorderColor: var(--pf-t--global--border--color--brand--accent--default);
|
|
313
|
+
--#{$button}--m-display-lg--m-secondary__icon--Color: var(--pf-t--global--icon--color--brand--accent--default);
|
|
314
|
+
--#{$button}--m-display-lg--m-secondary--hover--Color: var(--pf-t--global--text--color--regular);
|
|
315
|
+
--#{$button}--m-display-lg--m-secondary--hover--BorderColor: var(--pf-t--global--border--color--brand--accent--hover);
|
|
316
|
+
--#{$button}--m-display-lg--m-secondary--hover__icon--Color: var(--pf-t--global--icon--color--brand--accent--hover);
|
|
317
|
+
--#{$button}--m-display-lg--m-secondary--m-clicked--Color: var(--pf-t--global--text--color--regular);
|
|
318
|
+
--#{$button}--m-display-lg--m-secondary--m-clicked--BorderColor: var(--pf-t--global--border--color--brand--accent--clicked);
|
|
319
|
+
--#{$button}--m-display-lg--m-secondary--m-clicked__icon--Color: var(--pf-t--global--icon--color--brand--accent--clicked);
|
|
320
|
+
|
|
321
|
+
// CTA Tertiary
|
|
322
|
+
--#{$button}--m-display-lg--m-tertiary--hover--BorderColor: var(--pf-t--global--border--color--default);
|
|
323
|
+
--#{$button}--m-display-lg--m-tertiary--m-clicked--BorderColor: var(--pf-t--global--border--color--default);
|
|
278
324
|
|
|
279
325
|
// Small
|
|
280
326
|
--#{$button}--m-small--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--compact);
|
|
@@ -373,14 +419,7 @@
|
|
|
373
419
|
--#{$button}--m-hamburger__icon--m-expand--ScaleX: -1;
|
|
374
420
|
|
|
375
421
|
// Circle
|
|
376
|
-
--#{$button}--m-circle--ScaleX: 1.29;
|
|
377
|
-
--#{$button}--m-circle--ScaleY: 1.29;
|
|
378
422
|
--#{$button}--m-circle--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
379
|
-
--#{$button}--m-circle--Padding--base: var(--pf-t--global--spacer--control--vertical--default);
|
|
380
|
-
--#{$button}--m-circle--PaddingBlockStart: var(--#{$button}--m-circle--Padding--base);
|
|
381
|
-
--#{$button}--m-circle--PaddingInlineEnd: 0;
|
|
382
|
-
--#{$button}--m-circle--PaddingBlockEnd: var(--#{$button}--m-circle--Padding--base);
|
|
383
|
-
--#{$button}--m-circle--PaddingInlineStart: 0;
|
|
384
423
|
}
|
|
385
424
|
|
|
386
425
|
.#{$button} {
|
|
@@ -389,7 +428,7 @@
|
|
|
389
428
|
gap: var(--#{$button}--Gap);
|
|
390
429
|
align-items: var(--#{$button}--AlignItems);
|
|
391
430
|
justify-content: var(--#{$button}--JustifyContent);
|
|
392
|
-
min-width: var(--#{$button}--MinWidth);
|
|
431
|
+
min-width: var(--#{$button}--MinWidth, revert);
|
|
393
432
|
padding-block-start: var(--#{$button}--PaddingBlockStart);
|
|
394
433
|
padding-block-end: var(--#{$button}--PaddingBlockEnd);
|
|
395
434
|
padding-inline-start: var(--#{$button}--PaddingInlineStart);
|
|
@@ -530,12 +569,13 @@
|
|
|
530
569
|
--#{$button}--PaddingInlineEnd: var(--#{$button}--m-link--m-inline--PaddingInlineEnd);
|
|
531
570
|
--#{$button}--PaddingBlockEnd: var(--#{$button}--m-link--m-inline--PaddingBlockEnd);
|
|
532
571
|
--#{$button}--PaddingInlineStart: var(--#{$button}--m-link--m-inline--PaddingInlineStart);
|
|
572
|
+
--#{$button}--TransitionDuration: var(--#{$button}--m-link--m-inline--TransitionDuration);
|
|
573
|
+
--#{$button}--TransitionTimingFunction: var(--#{$button}--m-link--m-inline--TransitionTimingFunction);
|
|
574
|
+
--#{$button}--TransitionProperty: var(--#{$button}--m-link--m-inline--TransitionProperty);
|
|
533
575
|
--#{$button}--BackgroundColor: transparent;
|
|
534
576
|
--#{$button}__progress--InsetInlineStart: var(--#{$button}--m-link--m-inline__progress--InsetInlineStart);
|
|
535
577
|
--#{$button}--TextDecorationLine: var(--#{$button}--m-link--m-inline--TextDecorationLine);
|
|
536
578
|
--#{$button}--TextDecorationStyle: var(--#{$button}--m-link--m-inline--TextDecorationStyle);
|
|
537
|
-
--#{$button}--hover--TextDecorationLine: var(--#{$button}--m-link--m-inline--hover--TextDecorationLine);
|
|
538
|
-
--#{$button}--hover--TextDecorationStyle: var(--#{$button}--m-link--m-inline--hover--TextDecorationStyle);
|
|
539
579
|
--#{$button}--hover--BackgroundColor: transparent;
|
|
540
580
|
--#{$button}--m-clicked--BackgroundColor: transparent;
|
|
541
581
|
--#{$button}--disabled--BackgroundColor: transparent;
|
|
@@ -544,7 +584,10 @@
|
|
|
544
584
|
--#{$button}--m-link--Color: var(--#{$button}--m-link--m-inline--Color);
|
|
545
585
|
--#{$button}--m-link__icon--Color: var(--#{$button}--m-link--m-inline__icon--Color);
|
|
546
586
|
--#{$button}--TextDecorationColor: var(--#{$button}--m-link--m-inline--TextDecorationColor);
|
|
587
|
+
--#{$button}--hover--TextDecorationLine: var(--#{$button}--m-link--m-inline--hover--TextDecorationLine);
|
|
588
|
+
--#{$button}--hover--TextDecorationStyle: var(--#{$button}--m-link--m-inline--hover--TextDecorationStyle);
|
|
547
589
|
--#{$button}--hover--TextDecorationColor: var(--#{$button}--m-link--m-inline--hover--TextDecorationColor);
|
|
590
|
+
--#{$button}--hover--TextUnderlineOffset: var(--#{$button}--m-link--m-inline--TextUnderlineOffset);
|
|
548
591
|
--#{$button}--m-link--hover--Color: var(--#{$button}--m-link--m-inline--hover--Color);
|
|
549
592
|
--#{$button}--m-link--hover__icon--Color: var(--#{$button}--m-link--m-inline--hover__icon--Color);
|
|
550
593
|
--#{$button}--BorderWidth: 0;
|
|
@@ -552,9 +595,15 @@
|
|
|
552
595
|
--#{$button}--m-clicked--BorderWidth: 0;
|
|
553
596
|
|
|
554
597
|
text-align: start;
|
|
598
|
+
text-underline-offset: var(--#{$button}--m-link--m-inline--TextUnderlineOffset);
|
|
555
599
|
white-space: normal;
|
|
556
600
|
background: transparent; // don't show the ripple effect for inline links
|
|
557
601
|
outline-offset: #{pf-size-prem(2px)};
|
|
602
|
+
|
|
603
|
+
&:hover,
|
|
604
|
+
&:focus {
|
|
605
|
+
--#{$button}--m-link--m-inline--TextUnderlineOffset: var(--#{$button}--m-link--m-inline--hover--TextUnderlineOffset);
|
|
606
|
+
}
|
|
558
607
|
}
|
|
559
608
|
|
|
560
609
|
&.pf-m-danger {
|
|
@@ -731,6 +780,39 @@
|
|
|
731
780
|
--#{$button}--PaddingBlockEnd: var(--#{$button}--m-display-lg--PaddingBlockEnd);
|
|
732
781
|
--#{$button}--PaddingInlineStart: var(--#{$button}--m-display-lg--PaddingInlineStart);
|
|
733
782
|
--#{$button}--FontSize: var(--#{$button}--m-display-lg--FontSize);
|
|
783
|
+
--#{$button}--hover--TextDecorationColor: var(--#{$button}--m-display-lg--hover--TextDecorationColor);
|
|
784
|
+
--#{$button}--hover--TextDecorationLine: var(--#{$button}--m-display-lg--hover--TextDecorationLine);
|
|
785
|
+
--#{$button}--hover--TextDecorationStyle: var(--#{$button}--m-display-lg--hover--TextDecorationStyle);
|
|
786
|
+
--#{$button}--hover--TextUnderlineOffset: var(--#{$button}--m-display-lg--hover--TextUnderlineOffset);
|
|
787
|
+
--#{$button}--m-clicked--TextDecorationColor: var(--#{$button}--m-display-lg--m-clicked--TextDecorationColor);
|
|
788
|
+
--#{$button}--m-clicked--TextDecorationLine: var(--#{$button}--m-display-lg--m-clicked--TextDecorationLine);
|
|
789
|
+
--#{$button}--m-clicked--TextDecorationStyle: var(--#{$button}--m-display-lg--m-clicked--TextDecorationStyle);
|
|
790
|
+
--#{$button}--m-clicked--TextUnderlineOffset: var(--#{$button}--m-display-lg--m-clicked--TextUnderlineOffset);
|
|
791
|
+
--#{$button}--m-primary--Color: var(--#{$button}--m-display-lg--m-primary--Color);
|
|
792
|
+
--#{$button}--m-primary--BackgroundColor: var(--#{$button}--m-display-lg--m-primary--BackgroundColor);
|
|
793
|
+
--#{$button}--m-primary__icon--Color: var(--#{$button}--m-display-lg--m-primary__icon--Color);
|
|
794
|
+
--#{$button}--m-primary--hover--Color: var(--#{$button}--m-display-lg--m-primary--hover--Color);
|
|
795
|
+
--#{$button}--m-primary--hover--BackgroundColor: var(--#{$button}--m-display-lg--m-primary--hover--BackgroundColor);
|
|
796
|
+
--#{$button}--m-primary--hover__icon--Color: var(--#{$button}--m-display-lg--m-primary--hover__icon--Color);
|
|
797
|
+
--#{$button}--m-primary--m-clicked--Color: var(--#{$button}--m-display-lg--m-primary--m-clicked--Color);
|
|
798
|
+
--#{$button}--m-primary--m-clicked--BackgroundColor: var(--#{$button}--m-display-lg--m-primary--m-clicked--BackgroundColor);
|
|
799
|
+
--#{$button}--m-primary--m-clicked__icon--Color: var(--#{$button}--m-display-lg--m-primary--m-clicked__icon--Color);
|
|
800
|
+
--#{$button}--m-secondary--Color: var(--#{$button}--m-display-lg--m-secondary--Color);
|
|
801
|
+
--#{$button}--m-secondary--BorderColor: var(--#{$button}--m-display-lg--m-secondary--BorderColor);
|
|
802
|
+
--#{$button}--m-secondary__icon--Color: var(--#{$button}--m-display-lg--m-secondary__icon--Color);
|
|
803
|
+
--#{$button}--m-secondary--hover--Color: var(--#{$button}--m-display-lg--m-secondary--hover--Color);
|
|
804
|
+
--#{$button}--m-secondary--hover--BorderColor: var(--#{$button}--m-display-lg--m-secondary--hover--BorderColor);
|
|
805
|
+
--#{$button}--m-secondary--hover__icon--Color: var(--#{$button}--m-display-lg--m-secondary--hover__icon--Color);
|
|
806
|
+
--#{$button}--m-secondary--m-clicked--Color: var(--#{$button}--m-display-lg--m-secondary--m-clicked--Color);
|
|
807
|
+
--#{$button}--m-secondary--m-clicked--BorderColor: var(--#{$button}--m-display-lg--m-secondary--m-clicked--BorderColor);
|
|
808
|
+
--#{$button}--m-secondary--m-clicked__icon--Color: var(--#{$button}--m-display-lg--m-secondary--m-clicked__icon--Color);
|
|
809
|
+
--#{$button}--m-tertiary--hover--BorderColor: var(--#{$button}--m-display-lg--m-tertiary--hover--BorderColor);
|
|
810
|
+
--#{$button}--m-tertiary--m-clicked--BorderColor: var(--#{$button}--m-display-lg--m-tertiary--m-clicked--BorderColor);
|
|
811
|
+
|
|
812
|
+
&.pf-m-primary {
|
|
813
|
+
--#{$button}--hover--TextDecorationColor: var(--#{$button}--m-display-lg--m-primary--hover--TextDecorationColor);
|
|
814
|
+
--#{$button}--m-clicked--TextDecorationColor: var(--#{$button}--m-display-lg--m-primary--m-clicked--TextDecorationColor);
|
|
815
|
+
}
|
|
734
816
|
}
|
|
735
817
|
|
|
736
818
|
&.pf-m-favorite .#{$button}__icon {
|
|
@@ -786,14 +868,8 @@
|
|
|
786
868
|
|
|
787
869
|
&.pf-m-circle {
|
|
788
870
|
--#{$button}--BorderRadius: var(--#{$button}--m-circle--BorderRadius);
|
|
789
|
-
--#{$button}--PaddingBlockStart: var(--#{$button}--m-circle--PaddingBlockStart);
|
|
790
|
-
--#{$button}--PaddingInlineEnd: var(--#{$button}--m-circle--PaddingInlineEnd);
|
|
791
|
-
--#{$button}--PaddingBlockEnd: var(--#{$button}--m-circle--PaddingBlockEnd);
|
|
792
|
-
--#{$button}--PaddingInlineStart: var(--#{$button}--m-circle--PaddingInlineStart);
|
|
793
871
|
|
|
794
|
-
|
|
795
|
-
scale: var(--#{$button}--m-circle--ScaleX) var(--#{$button}--m-circle--ScaleY);
|
|
796
|
-
}
|
|
872
|
+
padding-inline: 0;
|
|
797
873
|
}
|
|
798
874
|
|
|
799
875
|
&:hover,
|
|
@@ -816,6 +892,7 @@
|
|
|
816
892
|
text-decoration-line: var(--#{$button}--hover--TextDecorationLine);
|
|
817
893
|
text-decoration-style: var(--#{$button}--hover--TextDecorationStyle);
|
|
818
894
|
text-decoration-color: var(--#{$button}--hover--TextDecorationColor);
|
|
895
|
+
text-underline-offset: var(--#{$button}--hover--TextUnderlineOffset);
|
|
819
896
|
outline-offset: var(--pf-t--global--focus-ring--position--offset);
|
|
820
897
|
}
|
|
821
898
|
|
|
@@ -826,6 +903,11 @@
|
|
|
826
903
|
--#{$button}--BorderWidth: var(--#{$button}--m-clicked--BorderWidth);
|
|
827
904
|
--#{$button}--BorderColor: var(--#{$button}--m-clicked--BorderColor);
|
|
828
905
|
--#{$button}__icon--Color: var(--#{$button}--m-clicked__icon--Color);
|
|
906
|
+
|
|
907
|
+
text-decoration-line: var(--#{$button}--m-clicked--TextDecorationLine);
|
|
908
|
+
text-decoration-style: var(--#{$button}--m-clicked--TextDecorationStyle);
|
|
909
|
+
text-decoration-color: var(--#{$button}--m-clicked--TextDecorationColor);
|
|
910
|
+
text-underline-offset: var(--#{$button}--m-clicked--TextUnderlineOffset);
|
|
829
911
|
}
|
|
830
912
|
|
|
831
913
|
&:active {
|
|
@@ -891,6 +973,29 @@
|
|
|
891
973
|
animation-duration: var(--#{$button}--m-notify__icon--AnimationDuration--notify);
|
|
892
974
|
animation-timing-function: var(--#{$button}--m-notify__icon--AnimationTimingFunction--notify);
|
|
893
975
|
}
|
|
976
|
+
|
|
977
|
+
&.pf-m-dock {
|
|
978
|
+
justify-content: flex-start;
|
|
979
|
+
width: 100%;
|
|
980
|
+
|
|
981
|
+
@media (min-width: $pf-v6-global--breakpoint--dock--desktop) {
|
|
982
|
+
justify-content: center;
|
|
983
|
+
|
|
984
|
+
.#{$button}__text {
|
|
985
|
+
display: none;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
@at-root .#{$page}__dock.pf-m-text-expanded &,
|
|
991
|
+
&.pf-m-text-expanded {
|
|
992
|
+
justify-content: flex-start;
|
|
993
|
+
width: 100%;
|
|
994
|
+
|
|
995
|
+
.#{$button}__text {
|
|
996
|
+
display: revert;
|
|
997
|
+
}
|
|
998
|
+
}
|
|
894
999
|
}
|
|
895
1000
|
|
|
896
1001
|
.#{$button}__icon {
|
|
@@ -87,13 +87,14 @@
|
|
|
87
87
|
margin-block-end: var(--pf-v6-c-calendar-month__header--MarginBlockEnd);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-calendar-month__header-nav-control {
|
|
91
|
+
scale: -1 1;
|
|
92
|
+
}
|
|
93
|
+
|
|
90
94
|
.pf-v6-c-calendar-month__header-nav-control {
|
|
91
95
|
margin-inline-start: var(--pf-v6-c-calendar-month__header-nav-control--MarginInlineStart);
|
|
92
96
|
margin-inline-end: var(--pf-v6-c-calendar-month__header-nav-control--MarginInlineEnd);
|
|
93
97
|
}
|
|
94
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-calendar-month__header-nav-control {
|
|
95
|
-
scale: -1 1;
|
|
96
|
-
}
|
|
97
98
|
|
|
98
99
|
.pf-v6-c-calendar-month__header-month {
|
|
99
100
|
flex-grow: 1;
|
package/components/Card/card.css
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
.pf-v6-c-card {
|
|
2
2
|
--pf-v6-c-card--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
3
|
-
--pf-v6-c-card--BorderColor: var(--pf-t--global--border--color--
|
|
3
|
+
--pf-v6-c-card--BorderColor: var(--pf-t--global--border--color--subtle);
|
|
4
4
|
--pf-v6-c-card--BorderStyle: solid;
|
|
5
5
|
--pf-v6-c-card--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
6
6
|
--pf-v6-c-card--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
7
|
+
--pf-v6-c-card--BoxShadow: var(--pf-t--global--box-shadow--sm);
|
|
7
8
|
--pf-v6-c-card--first-child--PaddingBlockStart: var(--pf-t--global--spacer--lg);
|
|
8
9
|
--pf-v6-c-card--child--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
|
9
10
|
--pf-v6-c-card--child--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
|
|
@@ -32,8 +33,9 @@
|
|
|
32
33
|
--pf-v6-c-card__header-toggle--MarginInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) * -1);
|
|
33
34
|
--pf-v6-c-card__header-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
34
35
|
--pf-v6-c-card__header-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
35
|
-
--pf-v6-c-card--m-expanded__header-toggle-icon--Rotate:
|
|
36
|
-
--pf-v6-c-card--m-selectable--BorderWidth: var(--pf-
|
|
36
|
+
--pf-v6-c-card--m-expanded__header-toggle-icon--Rotate: -180deg;
|
|
37
|
+
--pf-v6-c-card--m-selectable--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
38
|
+
--pf-v6-c-card--m-selectable--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
37
39
|
--pf-v6-c-card--m-clickable--m-current--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
38
40
|
--pf-v6-c-card--m-clickable--m-current--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
|
39
41
|
--pf-v6-c-card--m-selectable--m-selected--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
@@ -70,13 +72,19 @@
|
|
|
70
72
|
--pf-v6-c-card--m-display-lg--c-divider--child--PaddingBlockStart: var(--pf-t--global--spacer--xl);
|
|
71
73
|
--pf-v6-c-card--m-display-lg__title--not--last-child--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
|
|
72
74
|
--pf-v6-c-card--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
73
|
-
--pf-v6-c-card--m-secondary--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
74
|
-
--pf-v6-c-card--m-secondary--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
75
75
|
--pf-v6-c-card--m-full-height--Height: 100%;
|
|
76
76
|
--pf-v6-c-card--m-plain--BorderColor: transparent;
|
|
77
77
|
--pf-v6-c-card--m-plain--BackgroundColor: transparent;
|
|
78
|
+
--pf-v6-c-card--m-plain--BoxShadow: none;
|
|
78
79
|
--pf-v6-c-card__header--m-toggle-right--toggle--MarginInlineEnd: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) * -1);
|
|
79
80
|
--pf-v6-c-card__header--m-toggle-right--toggle--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
81
|
+
--pf-v6-c-card--m-as-tile--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
82
|
+
--pf-v6-c-card--m-as-tile--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
83
|
+
--pf-v6-c-card--m-glass--BorderColor: var(--pf-t--global--border--color--glass--default);
|
|
84
|
+
--pf-v6-c-card--m-glass--BorderWidth: var(--pf-t--global--border--width--glass--default);
|
|
85
|
+
--pf-v6-c-card--m-glass--BoxShadow: var(--pf-t--global--box-shadow--glass--default);
|
|
86
|
+
--pf-v6-c-card--m-glass--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary);
|
|
87
|
+
--pf-v6-c-card--m-glass--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default);
|
|
80
88
|
}
|
|
81
89
|
|
|
82
90
|
.pf-v6-c-card {
|
|
@@ -87,6 +95,7 @@
|
|
|
87
95
|
background-color: var(--pf-v6-c-card--BackgroundColor);
|
|
88
96
|
border: 0;
|
|
89
97
|
border-radius: var(--pf-v6-c-card--BorderRadius);
|
|
98
|
+
box-shadow: var(--pf-v6-c-card--BoxShadow);
|
|
90
99
|
}
|
|
91
100
|
.pf-v6-c-card::before {
|
|
92
101
|
position: absolute;
|
|
@@ -100,6 +109,7 @@
|
|
|
100
109
|
gap: 0;
|
|
101
110
|
}
|
|
102
111
|
.pf-v6-c-card.pf-m-selectable, .pf-v6-c-card.pf-m-clickable {
|
|
112
|
+
--pf-v6-c-card--BorderColor: var(--pf-v6-c-card--m-selectable--BorderColor);
|
|
103
113
|
isolation: isolate;
|
|
104
114
|
}
|
|
105
115
|
.pf-v6-c-card.pf-m-selectable::before, .pf-v6-c-card.pf-m-clickable::before {
|
|
@@ -134,6 +144,16 @@
|
|
|
134
144
|
.pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label), .pf-v6-c-card.pf-m-selectable.pf-m-clickable.pf-m-disabled {
|
|
135
145
|
--pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-selectable--m-disabled--BackgroundColor);
|
|
136
146
|
}
|
|
147
|
+
.pf-v6-c-card__actions:has(> .pf-v6-c-card__selectable-actions input.pf-v6-screen-reader), .pf-v6-c-card:has(.pf-v6-c-card__selectable-actions input.pf-v6-screen-reader) {
|
|
148
|
+
--pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-as-tile--BackgroundColor);
|
|
149
|
+
--pf-v6-c-card--BorderColor: var(--pf-v6-c-card--m-as-tile--BorderColor);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.pf-v6-c-card.pf-m-clickable:not(.pf-m-selectable) {
|
|
153
|
+
--pf-v6-c-card__actions--PaddingInlineStart: 0;
|
|
154
|
+
--pf-v6-c-card__actions--MarginBlockStart: 0;
|
|
155
|
+
--pf-v6-c-card__actions--MarginBlockEnd: 0;
|
|
156
|
+
}
|
|
137
157
|
.pf-v6-c-card.pf-m-compact {
|
|
138
158
|
--pf-v6-c-card__title-text--FontSize: var(--pf-v6-c-card--m-compact__title-text--FontSize);
|
|
139
159
|
--pf-v6-c-card__body--FontSize: var(--pf-v6-c-card--m-compact__body--FontSize);
|
|
@@ -157,13 +177,16 @@
|
|
|
157
177
|
--pf-v6-c-card__title--not--last-child--PaddingBlockEnd: var(--pf-v6-c-card--m-display-lg__title--not--last-child--PaddingBlockEnd);
|
|
158
178
|
}
|
|
159
179
|
.pf-v6-c-card.pf-m-secondary {
|
|
160
|
-
--pf-v6-c-card--BorderColor: var(--pf-v6-c-card--m-secondary--BorderColor);
|
|
161
|
-
--pf-v6-c-card--BorderWidth: var(--pf-v6-c-card--m-secondary--BorderWidth);
|
|
162
180
|
--pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-secondary--BackgroundColor);
|
|
163
181
|
}
|
|
182
|
+
.pf-v6-c-card.pf-m-secondary.pf-m-selectable:not(.pf-m-current, .pf-m-selected), .pf-v6-c-card.pf-m-secondary.pf-m-clickable:not(.pf-m-current, .pf-m-selected) {
|
|
183
|
+
--pf-v6-c-card--BorderColor: var(--pf-v6-c-card--m-selectable--BorderColor);
|
|
184
|
+
--pf-v6-c-card--BorderWidth: var(--pf-v6-c-card--m-selectable--BorderWidth);
|
|
185
|
+
}
|
|
164
186
|
.pf-v6-c-card.pf-m-plain {
|
|
165
187
|
--pf-v6-c-card--BorderColor: var(--pf-v6-c-card--m-plain--BorderColor);
|
|
166
188
|
--pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-plain--BackgroundColor);
|
|
189
|
+
--pf-v6-c-card--BoxShadow: var(--pf-v6-c-card--m-plain--BoxShadow);
|
|
167
190
|
}
|
|
168
191
|
.pf-v6-c-card.pf-m-expanded .pf-v6-c-card__header-toggle-icon {
|
|
169
192
|
transform: rotate(var(--pf-v6-c-card--m-expanded__header-toggle-icon--Rotate));
|
|
@@ -174,6 +197,14 @@
|
|
|
174
197
|
.pf-v6-c-card > .pf-v6-c-divider + .pf-v6-c-card__header, .pf-v6-c-card > .pf-v6-c-divider + .pf-v6-c-card__title, .pf-v6-c-card > .pf-v6-c-divider + .pf-v6-c-card__body, .pf-v6-c-card > .pf-v6-c-divider + .pf-v6-c-card__footer {
|
|
175
198
|
padding-block-start: var(--pf-v6-c-card--c-divider--child--PaddingBlockStart);
|
|
176
199
|
}
|
|
200
|
+
.pf-v6-c-card.pf-m-glass {
|
|
201
|
+
--pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-glass--BackgroundColor);
|
|
202
|
+
--pf-v6-c-card--BorderColor: var(--pf-v6-c-card--m-glass--BorderColor);
|
|
203
|
+
--pf-v6-c-card--BorderWidth: var(--pf-v6-c-card--m-glass--BorderWidth);
|
|
204
|
+
--pf-v6-c-card--BorderStyle: solid;
|
|
205
|
+
--pf-v6-c-card--BoxShadow: var(--pf-v6-c-card--m-glass--BoxShadow);
|
|
206
|
+
backdrop-filter: var(--pf-v6-c-card--m-glass--BackdropFilter);
|
|
207
|
+
}
|
|
177
208
|
|
|
178
209
|
.pf-v6-c-card__header {
|
|
179
210
|
display: flex;
|
|
@@ -201,12 +232,12 @@
|
|
|
201
232
|
flex-wrap: wrap;
|
|
202
233
|
row-gap: var(--pf-v6-c-card__header--m-wrap--RowGap);
|
|
203
234
|
}
|
|
204
|
-
.pf-v6-c-card__header.pf-m-wrap .pf-v6-c-card__actions {
|
|
205
|
-
margin-inline-start: 0;
|
|
206
|
-
}
|
|
207
235
|
.pf-v6-c-card__header.pf-m-wrap .pf-v6-c-card__actions + * {
|
|
208
236
|
margin-inline-end: auto;
|
|
209
237
|
}
|
|
238
|
+
.pf-v6-c-card__header.pf-m-wrap .pf-v6-c-card__actions {
|
|
239
|
+
margin-inline-start: 0;
|
|
240
|
+
}
|
|
210
241
|
|
|
211
242
|
.pf-v6-c-card__header-main {
|
|
212
243
|
flex-grow: 1;
|
|
@@ -220,15 +251,16 @@
|
|
|
220
251
|
margin-inline-end: var(--pf-v6-c-card__header-toggle--MarginInlineEnd);
|
|
221
252
|
}
|
|
222
253
|
|
|
254
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-card__header-toggle-icon {
|
|
255
|
+
scale: -1 1;
|
|
256
|
+
}
|
|
257
|
+
|
|
223
258
|
.pf-v6-c-card__header-toggle-icon {
|
|
224
259
|
display: inline-block;
|
|
225
260
|
transition-timing-function: var(--pf-v6-c-card__header-toggle-icon--TransitionTimingFunction);
|
|
226
261
|
transition-duration: var(--pf-v6-c-card__header-toggle-icon--TransitionDuration);
|
|
227
262
|
transition-property: transform;
|
|
228
263
|
}
|
|
229
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-card__header-toggle-icon {
|
|
230
|
-
scale: -1 1;
|
|
231
|
-
}
|
|
232
264
|
|
|
233
265
|
.pf-v6-c-card__title-text {
|
|
234
266
|
font-family: var(--pf-v6-c-card__title-text--FontFamily);
|
|
@@ -239,6 +271,12 @@
|
|
|
239
271
|
overflow-wrap: var(--pf-v6-c-card__title-text--OverflowWrap);
|
|
240
272
|
}
|
|
241
273
|
|
|
274
|
+
.pf-v6-c-card__subtitle {
|
|
275
|
+
padding-block-start: var(--pf-t--global--spacer--sm);
|
|
276
|
+
font-size: var(--pf-t--global--font--size--body--sm);
|
|
277
|
+
color: var(--pf-t--global--text--color--subtle);
|
|
278
|
+
}
|
|
279
|
+
|
|
242
280
|
.pf-v6-c-card__actions {
|
|
243
281
|
display: flex;
|
|
244
282
|
gap: var(--pf-v6-c-card__actions--Gap);
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
@include pf-root($card) {
|
|
4
4
|
--#{$card}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
5
|
-
--#{$card}--BorderColor: var(--pf-t--global--border--color--
|
|
5
|
+
--#{$card}--BorderColor: var(--pf-t--global--border--color--subtle);
|
|
6
6
|
--#{$card}--BorderStyle: solid;
|
|
7
7
|
--#{$card}--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
8
8
|
--#{$card}--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
9
|
+
--#{$card}--BoxShadow: var(--pf-t--global--box-shadow--sm);
|
|
9
10
|
--#{$card}--first-child--PaddingBlockStart: var(--pf-t--global--spacer--lg);
|
|
10
11
|
--#{$card}--child--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
|
11
12
|
--#{$card}--child--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
|
|
@@ -36,10 +37,11 @@
|
|
|
36
37
|
--#{$card}__header-toggle--MarginInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) * -1);
|
|
37
38
|
--#{$card}__header-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
38
39
|
--#{$card}__header-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
39
|
-
--#{$card}--m-expanded__header-toggle-icon--Rotate:
|
|
40
|
+
--#{$card}--m-expanded__header-toggle-icon--Rotate: -180deg;
|
|
40
41
|
|
|
41
42
|
// Selectable/Clickable
|
|
42
|
-
--#{$card}--m-selectable--BorderWidth: var(
|
|
43
|
+
--#{$card}--m-selectable--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
44
|
+
--#{$card}--m-selectable--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
43
45
|
|
|
44
46
|
// Clickable clicked
|
|
45
47
|
--#{$card}--m-clickable--m-current--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
@@ -97,8 +99,6 @@
|
|
|
97
99
|
|
|
98
100
|
// Secondary
|
|
99
101
|
--#{$card}--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
100
|
-
--#{$card}--m-secondary--BorderColor: var(--pf-t--global--border--color--high-contrast);
|
|
101
|
-
--#{$card}--m-secondary--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
102
102
|
|
|
103
103
|
// Full height
|
|
104
104
|
--#{$card}--m-full-height--Height: 100%;
|
|
@@ -106,10 +106,22 @@
|
|
|
106
106
|
// Plain - no border or background color
|
|
107
107
|
--#{$card}--m-plain--BorderColor: transparent;
|
|
108
108
|
--#{$card}--m-plain--BackgroundColor: transparent;
|
|
109
|
+
--#{$card}--m-plain--BoxShadow: none;
|
|
109
110
|
|
|
110
111
|
// Toggle right
|
|
111
112
|
--#{$card}__header--m-toggle-right--toggle--MarginInlineEnd: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) * -1);
|
|
112
113
|
--#{$card}__header--m-toggle-right--toggle--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
114
|
+
|
|
115
|
+
// As tile
|
|
116
|
+
--#{$card}--m-as-tile--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
117
|
+
--#{$card}--m-as-tile--BorderColor: var(--pf-t--global--border--color--control--default);
|
|
118
|
+
|
|
119
|
+
// Glass
|
|
120
|
+
--#{$card}--m-glass--BorderColor: var(--pf-t--global--border--color--glass--default);
|
|
121
|
+
--#{$card}--m-glass--BorderWidth: var(--pf-t--global--border--width--glass--default);
|
|
122
|
+
--#{$card}--m-glass--BoxShadow: var(--pf-t--global--box-shadow--glass--default);
|
|
123
|
+
--#{$card}--m-glass--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary);
|
|
124
|
+
--#{$card}--m-glass--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default);
|
|
113
125
|
}
|
|
114
126
|
|
|
115
127
|
.#{$card} {
|
|
@@ -120,6 +132,7 @@
|
|
|
120
132
|
background-color: var(--#{$card}--BackgroundColor);
|
|
121
133
|
border: 0;
|
|
122
134
|
border-radius: var(--#{$card}--BorderRadius);
|
|
135
|
+
box-shadow: var(--#{$card}--BoxShadow);
|
|
123
136
|
|
|
124
137
|
&::before {
|
|
125
138
|
position: absolute;
|
|
@@ -141,6 +154,8 @@
|
|
|
141
154
|
// SELECTABLE or CLICKABLE CARDS
|
|
142
155
|
&.pf-m-selectable,
|
|
143
156
|
&.pf-m-clickable {
|
|
157
|
+
--#{$card}--BorderColor: var(--#{$card}--m-selectable--BorderColor);
|
|
158
|
+
|
|
144
159
|
isolation: isolate;
|
|
145
160
|
|
|
146
161
|
&::before {
|
|
@@ -196,6 +211,20 @@
|
|
|
196
211
|
}
|
|
197
212
|
// stylelint-enable selector-max-class
|
|
198
213
|
|
|
214
|
+
|
|
215
|
+
@at-root .#{$card}__actions:has(> .#{$card}__selectable-actions input.#{$pf-prefix}screen-reader), // targets "card as tile", which are selectable cards with inputs
|
|
216
|
+
&:has(.#{$card}__selectable-actions input.#{$pf-prefix}screen-reader) {
|
|
217
|
+
--#{$card}--BackgroundColor: var(--#{$card}--m-as-tile--BackgroundColor);
|
|
218
|
+
--#{$card}--BorderColor: var(--#{$card}--m-as-tile--BorderColor);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
// when the whole card is clickable and the card actions are invisible, remove the padding/margin so it doesn't take up space
|
|
222
|
+
&.pf-m-clickable:not(.pf-m-selectable) {
|
|
223
|
+
--#{$card}__actions--PaddingInlineStart: 0;
|
|
224
|
+
--#{$card}__actions--MarginBlockStart: 0;
|
|
225
|
+
--#{$card}__actions--MarginBlockEnd: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
199
228
|
&.pf-m-compact {
|
|
200
229
|
--#{$card}__title-text--FontSize: var(--#{$card}--m-compact__title-text--FontSize);
|
|
201
230
|
--#{$card}__body--FontSize: var(--#{$card}--m-compact__body--FontSize);
|
|
@@ -221,14 +250,22 @@
|
|
|
221
250
|
}
|
|
222
251
|
|
|
223
252
|
&.pf-m-secondary {
|
|
224
|
-
|
|
225
|
-
--#{$card}--
|
|
253
|
+
// TODO - let selectable secondary cards have a border
|
|
254
|
+
// --#{$card}--BorderColor: var(--#{$card}--m-secondary--BorderColor);
|
|
255
|
+
// --#{$card}--BorderWidth: var(--#{$card}--m-secondary--BorderWidth);
|
|
226
256
|
--#{$card}--BackgroundColor: var(--#{$card}--m-secondary--BackgroundColor);
|
|
257
|
+
|
|
258
|
+
&.pf-m-selectable:not(.pf-m-current, .pf-m-selected),
|
|
259
|
+
&.pf-m-clickable:not(.pf-m-current, .pf-m-selected) {
|
|
260
|
+
--#{$card}--BorderColor: var(--#{$card}--m-selectable--BorderColor);
|
|
261
|
+
--#{$card}--BorderWidth: var(--#{$card}--m-selectable--BorderWidth);
|
|
262
|
+
}
|
|
227
263
|
}
|
|
228
264
|
|
|
229
265
|
&.pf-m-plain {
|
|
230
266
|
--#{$card}--BorderColor: var(--#{$card}--m-plain--BorderColor);
|
|
231
267
|
--#{$card}--BackgroundColor: var(--#{$card}--m-plain--BackgroundColor);
|
|
268
|
+
--#{$card}--BoxShadow: var(--#{$card}--m-plain--BoxShadow);
|
|
232
269
|
}
|
|
233
270
|
|
|
234
271
|
&.pf-m-expanded {
|
|
@@ -249,6 +286,16 @@
|
|
|
249
286
|
padding-block-start: var(--#{$card}--c-divider--child--PaddingBlockStart);
|
|
250
287
|
}
|
|
251
288
|
}
|
|
289
|
+
|
|
290
|
+
&.pf-m-glass {
|
|
291
|
+
--#{$card}--BackgroundColor: var(--#{$card}--m-glass--BackgroundColor);
|
|
292
|
+
--#{$card}--BorderColor: var(--#{$card}--m-glass--BorderColor);
|
|
293
|
+
--#{$card}--BorderWidth: var(--#{$card}--m-glass--BorderWidth);
|
|
294
|
+
--#{$card}--BorderStyle: solid;
|
|
295
|
+
--#{$card}--BoxShadow: var(--#{$card}--m-glass--BoxShadow);
|
|
296
|
+
|
|
297
|
+
backdrop-filter: var(--#{$card}--m-glass--BackdropFilter);
|
|
298
|
+
}
|
|
252
299
|
}
|
|
253
300
|
|
|
254
301
|
.#{$card}__header {
|
|
@@ -288,7 +335,7 @@
|
|
|
288
335
|
margin-inline-end: auto;
|
|
289
336
|
}
|
|
290
337
|
|
|
291
|
-
margin-inline-start: 0
|
|
338
|
+
margin-inline-start: 0;
|
|
292
339
|
}
|
|
293
340
|
}
|
|
294
341
|
}
|
|
@@ -323,6 +370,12 @@
|
|
|
323
370
|
overflow-wrap: var(--#{$card}__title-text--OverflowWrap);
|
|
324
371
|
}
|
|
325
372
|
|
|
373
|
+
.#{$card}__subtitle {
|
|
374
|
+
padding-block-start: var(--pf-t--global--spacer--sm);
|
|
375
|
+
font-size: var(--pf-t--global--font--size--body--sm);
|
|
376
|
+
color: var(--pf-t--global--text--color--subtle);
|
|
377
|
+
}
|
|
378
|
+
|
|
326
379
|
.#{$card}__actions {
|
|
327
380
|
display: flex;
|
|
328
381
|
gap: var(--#{$card}__actions--Gap);
|