@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.71
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/CODE_OF_CONDUCT.md +1 -2
- package/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +29 -4
- package/base/_globals.scss +5 -7
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -4
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +859 -833
- package/base/tokens/_tokens-dark.scss +306 -284
- package/base/tokens/_tokens-default.scss +415 -329
- package/base/tokens/_tokens-font.scss +41 -46
- package/base/tokens/_tokens-palette.scss +68 -68
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +78 -104
- package/components/AboutModalBox/about-modal-box.scss +62 -74
- package/components/Accordion/accordion.css +96 -175
- package/components/Accordion/accordion.scss +106 -193
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -16
- package/components/BackToTop/back-to-top.scss +14 -14
- package/components/Backdrop/backdrop.css +8 -4
- package/components/Backdrop/backdrop.scss +7 -4
- package/components/BackgroundImage/background-image.css +11 -4
- package/components/BackgroundImage/background-image.scss +13 -4
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +95 -69
- package/components/Banner/banner.scss +100 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +437 -359
- package/components/Button/button.scss +495 -483
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +117 -203
- package/components/Card/card.scss +137 -246
- package/components/Check/check.css +25 -22
- package/components/Check/check.scss +26 -24
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +47 -41
- package/components/ClipboardCopy/clipboard-copy.scss +50 -34
- package/components/CodeBlock/code-block.css +24 -12
- package/components/CodeBlock/code-block.scss +24 -13
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +40 -37
- package/components/Content/content.scss +40 -37
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +165 -209
- package/components/DataList/data-list.scss +138 -185
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +47 -39
- package/components/DescriptionList/description-list.scss +33 -30
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/DragDrop/drag-drop.css +26 -22
- package/components/DragDrop/drag-drop.scss +26 -25
- package/components/Drawer/drawer.css +216 -158
- package/components/Drawer/drawer.scss +199 -150
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +64 -38
- package/components/EmptyState/empty-state.scss +70 -38
- package/components/ExpandableSection/expandable-section.css +75 -66
- package/components/ExpandableSection/expandable-section.scss +82 -80
- package/components/FileUpload/file-upload.css +31 -43
- package/components/FileUpload/file-upload.scss +31 -49
- package/components/Form/form.css +111 -154
- package/components/Form/form.scss +101 -160
- package/components/FormControl/form-control.css +95 -111
- package/components/FormControl/form-control.scss +97 -92
- package/components/HelperText/helper-text.css +29 -35
- package/components/HelperText/helper-text.scss +31 -41
- package/components/Hint/hint.css +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +155 -19
- package/components/Icon/icon.scss +188 -21
- package/components/InlineEdit/inline-edit.css +12 -11
- package/components/InlineEdit/inline-edit.scss +12 -11
- package/components/InputGroup/input-group.css +32 -42
- package/components/InputGroup/input-group.scss +31 -33
- package/components/JumpLinks/jump-links.css +61 -58
- package/components/JumpLinks/jump-links.scss +61 -60
- package/components/Label/label-group.css +48 -50
- package/components/Label/label-group.scss +48 -51
- package/components/Label/label.css +382 -363
- package/components/Label/label.scss +441 -356
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +262 -506
- package/components/Masthead/masthead.scss +123 -289
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +37 -31
- package/components/MenuToggle/menu-toggle.scss +37 -33
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +87 -57
- package/components/MultipleFileUpload/multiple-file-upload.scss +92 -60
- package/components/Nav/nav.css +248 -899
- package/components/Nav/nav.scss +304 -1059
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +130 -128
- package/components/NotificationDrawer/notification-drawer.scss +130 -129
- package/components/NumberInput/number-input.css +10 -10
- package/components/NumberInput/number-input.scss +9 -14
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +182 -232
- package/components/Page/page.scss +130 -195
- package/components/Pagination/pagination.css +74 -121
- package/components/Pagination/pagination.scss +55 -125
- package/components/Panel/panel.css +40 -30
- package/components/Panel/panel.scss +42 -33
- package/components/Popover/popover.css +108 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +40 -52
- package/components/Progress/progress.scss +48 -62
- package/components/ProgressStepper/progress-stepper.css +98 -89
- package/components/ProgressStepper/progress-stepper.scss +90 -84
- package/components/Radio/radio.css +30 -23
- package/components/Radio/radio.scss +31 -25
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +31 -14
- package/components/Sidebar/sidebar.scss +34 -16
- package/components/SimpleList/simple-list.css +45 -56
- package/components/SimpleList/simple-list.scss +51 -55
- package/components/Skeleton/skeleton.css +24 -25
- package/components/Skeleton/skeleton.scss +21 -26
- package/components/SkipToContent/skip-to-content.css +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +80 -55
- package/components/Slider/slider.scss +96 -65
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +49 -41
- package/components/Switch/switch.scss +51 -42
- package/components/TabContent/tab-content.css +21 -12
- package/components/TabContent/tab-content.scss +22 -15
- package/components/Table/table-grid.css +256 -195
- package/components/Table/table-grid.scss +53 -39
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +105 -89
- package/components/Table/table.scss +105 -89
- package/components/Tabs/tabs.css +210 -214
- package/components/Tabs/tabs.scss +222 -254
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +47 -88
- package/components/Tile/tile.scss +45 -91
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +68 -59
- package/components/ToggleGroup/toggle-group.scss +72 -57
- package/components/Toolbar/toolbar.css +2553 -1054
- package/components/Toolbar/toolbar.scss +234 -516
- package/components/Tooltip/tooltip.css +74 -44
- package/components/Tooltip/tooltip.scss +93 -77
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +13 -0
- package/components/Truncate/truncate.scss +19 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +6 -2
- package/docs/components/Button/examples/Button.md +1425 -87
- package/docs/components/Card/examples/Card.md +565 -148
- package/docs/components/Check/examples/Check.md +71 -58
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +4 -5
- package/docs/components/DragDrop/examples/DragDrop.css +3 -3
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +3091 -704
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +300 -210
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +594 -543
- package/docs/components/MenuToggle/examples/MenuToggle.md +109 -96
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +3 -42
- package/docs/components/Nav/examples/Navigation.md +305 -353
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +62 -54
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +10 -10
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +1211 -3487
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
- package/docs/demos/Alert/examples/Alert.md +330 -87
- package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
- package/docs/demos/Banner/examples/Banner.md +211 -60
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +28 -12
- package/docs/demos/CardView/examples/CardView.md +265 -207
- package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
- package/docs/demos/Dashboard/examples/Dashboard.md +105 -32
- package/docs/demos/DataList/examples/DataList.md +1002 -935
- package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
- package/docs/demos/Drawer/examples/Drawer.md +640 -251
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
- package/docs/demos/Masthead/examples/Masthead.md +786 -342
- package/docs/demos/Modal/examples/Modal.md +645 -198
- package/docs/demos/Nav/examples/Nav.md +691 -902
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
- package/docs/demos/Page/examples/Page.md +942 -273
- package/docs/demos/Page/examples/Penta.md +66 -26
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1333 -946
- package/docs/demos/Skeleton/examples/Skeleton.md +109 -64
- package/docs/demos/Table/examples/Table.md +3857 -3418
- package/docs/demos/Tabs/examples/Tabs.md +664 -215
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1313 -1475
- package/docs/demos/Wizard/examples/Wizard.md +918 -261
- package/docs/layouts/Flex/examples/Flex.md +16 -16
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +36 -32
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +895 -847
- package/patternfly-base-no-globals.css +895 -847
- package/patternfly-base-theme-dark-unversioned.css +899 -850
- package/patternfly-base.css +899 -850
- package/patternfly-no-globals.css +9954 -8996
- package/patternfly-theme-dark-unversioned.css +9959 -9000
- package/patternfly.css +9959 -9000
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +80 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tabs/themes/dark/tabs.scss +0 -10
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -25,7 +25,61 @@ cssPrefix: pf-v5-c-card
|
|
|
25
25
|
<div class="pf-v5-c-card" id="card-action-example-1">
|
|
26
26
|
<div class="pf-v5-c-card__header">
|
|
27
27
|
<div class="pf-v5-c-card__header-main">
|
|
28
|
-
<
|
|
28
|
+
<svg
|
|
29
|
+
version="1.1"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
viewBox="0 0 706.3 132.5"
|
|
32
|
+
fill="currentColor"
|
|
33
|
+
width="300px"
|
|
34
|
+
>
|
|
35
|
+
<g>
|
|
36
|
+
<path
|
|
37
|
+
d="M197.2,83.9V48.6h15.2c2.2,0,4.1,0.3,5.6,1c1.5,0.7,2.8,1.5,3.7,2.6c1,1.1,1.6,2.3,2.1,3.6
|
|
38
|
+
c0.4,1.3,0.6,2.7,0.6,4c0,0.9-0.1,1.7-0.3,2.6c-0.2,0.9-0.5,1.7-0.9,2.6c-0.4,0.8-0.9,1.6-1.6,2.3c-0.6,0.7-1.4,1.4-2.3,1.9
|
|
39
|
+
c-0.9,0.5-1.9,1-3.1,1.3c-1.2,0.3-2.5,0.5-3.9,0.5h-8.3v13H197.2z M212.7,64.4c0.9,0,1.6-0.1,2.2-0.4c0.6-0.3,1.1-0.6,1.4-1.1
|
|
40
|
+
c0.4-0.4,0.6-0.9,0.8-1.5c0.2-0.6,0.3-1.1,0.3-1.7c0-0.5-0.1-1-0.2-1.6c-0.1-0.5-0.4-1-0.7-1.5c-0.4-0.5-0.8-0.8-1.4-1.1
|
|
41
|
+
c-0.6-0.3-1.4-0.4-2.3-0.4h-8.6v9.4H212.7z"
|
|
42
|
+
/>
|
|
43
|
+
<path
|
|
44
|
+
d="M271.6,83.9l-2.7-7.3h-13.6l-2.7,7.3h-7.3l13.5-35.4h6.7l13.5,35.4H271.6z M263.2,61.2
|
|
45
|
+
c-0.2-0.4-0.4-0.9-0.6-1.5c-0.2-0.6-0.4-1.1-0.5-1.7c-0.1,0.5-0.3,1.1-0.5,1.7c-0.2,0.6-0.4,1.1-0.6,1.5l-3.5,9.2h9.2L263.2,61.2z"
|
|
46
|
+
/>
|
|
47
|
+
<path d="M317.3,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H317.3z" />
|
|
48
|
+
<path d="M370.2,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H370.2z" />
|
|
49
|
+
<path
|
|
50
|
+
d="M408.5,83.9V48.6h24.1v6.5h-17.3v7.4h10.2v6.5h-10.2v8.5h18.4v6.5H408.5z"
|
|
51
|
+
/>
|
|
52
|
+
<path
|
|
53
|
+
d="M462.4,83.9V48.6h16.4c2.2,0,4.1,0.3,5.6,0.9c1.5,0.6,2.7,1.4,3.6,2.5c0.9,1,1.6,2.2,2,3.5
|
|
54
|
+
c0.4,1.3,0.6,2.7,0.6,4.2c0,1-0.1,2-0.4,3c-0.3,1-0.7,2-1.3,2.9c-0.6,0.9-1.3,1.8-2.1,2.5c-0.9,0.7-1.8,1.3-3,1.7l6.9,14.1H483
|
|
55
|
+
l-6.6-13.2h-7.1v13.2H462.4z M478.9,64.3c0.9,0,1.6-0.1,2.2-0.4c0.6-0.3,1.1-0.6,1.4-1c0.4-0.4,0.6-0.9,0.8-1.5
|
|
56
|
+
c0.2-0.6,0.2-1.1,0.2-1.7c0-0.6-0.1-1.1-0.2-1.7c-0.1-0.6-0.4-1-0.7-1.5c-0.3-0.4-0.8-0.8-1.4-1c-0.6-0.3-1.4-0.4-2.3-0.4h-9.7v9.2
|
|
57
|
+
H478.9z"
|
|
58
|
+
/>
|
|
59
|
+
<path
|
|
60
|
+
d="M541.9,83.9l-14-20.6c-0.2-0.3-0.5-0.8-0.8-1.3c-0.3-0.5-0.5-1-0.7-1.4c0.1,0.4,0.1,0.8,0.1,1.3
|
|
61
|
+
c0,0.5,0,1,0,1.3v20.6h-6.8V48.6h6.4l13.7,20.4c0.2,0.3,0.5,0.7,0.7,1.2c0.3,0.5,0.5,1,0.7,1.4c0-0.5-0.1-1-0.1-1.4
|
|
62
|
+
c0-0.5,0-0.9,0-1.2V48.6h6.8v35.4H541.9z"
|
|
63
|
+
/>
|
|
64
|
+
<path
|
|
65
|
+
d="M578.4,83.9V48.6h23.7v6.5h-16.9v7.4H596v6.5h-10.7v15H578.4z"
|
|
66
|
+
/>
|
|
67
|
+
<path d="M629.8,83.9V48.6h6.8v28.8h17.1v6.6H629.8z" />
|
|
68
|
+
<path
|
|
69
|
+
d="M686.4,83.9V70.2l-13.1-21.6h7.7l8.7,14.5l8.7-14.5h7.7l-13.1,21.6v13.8H686.4z"
|
|
70
|
+
/>
|
|
71
|
+
</g>
|
|
72
|
+
<g>
|
|
73
|
+
<path
|
|
74
|
+
d="M49,103l-21.2,4.9L0,68.4L70,0l70,68.4l-27.8,39.4L91,103l-21,29.5L49,103z M70,128.7l18.6-26.2l-7.2-1.7
|
|
75
|
+
l-11,16.2l-11.9-16.2l-7.2,1.7L70,128.7z M70.4,113.1l9.2-13.5L70,6.7l-9.5,92.9L70.4,113.1z M28.8,105.4l18.8-4.3L33.8,81.7
|
|
76
|
+
l4.1-9.3L25.2,55L58,14.9L2.9,68.7L28.8,105.4z M111.2,105.4l16.3-23.1l9.6-13.6L82,14.9L114.9,55l-12.8,17.4l4.1,9.3L92.4,101
|
|
77
|
+
L111.2,105.4z M90.1,100.5l13.6-19.1l-3-6.9L82.7,98.8L90.1,100.5z M50,100.5l7.3-1.7L39.4,74.5l-3,6.9L50,100.5z M81.9,96.2
|
|
78
|
+
l17.6-24.1L72.9,11.6L81.9,96.2z M58.1,96.2l9-84.6L40.5,72.1L58.1,96.2z M39,70L66.1,8.5L28,55.1L39,70z M101.1,70l11-15L74,8.5
|
|
79
|
+
L101.1,70z"
|
|
80
|
+
/>
|
|
81
|
+
</g>
|
|
82
|
+
</svg>
|
|
29
83
|
</div>
|
|
30
84
|
<div class="pf-v5-c-card__actions">
|
|
31
85
|
<div class="pf-v5-c-dropdown">
|
|
@@ -85,6 +139,7 @@ cssPrefix: pf-v5-c-card
|
|
|
85
139
|
<input
|
|
86
140
|
class="pf-v5-c-check__input"
|
|
87
141
|
type="checkbox"
|
|
142
|
+
aria-label="Standalone check"
|
|
88
143
|
id="card-action-example-1-check"
|
|
89
144
|
name="card-action-example-1-check"
|
|
90
145
|
aria-labelledby="card-action-example-1"
|
|
@@ -167,6 +222,7 @@ cssPrefix: pf-v5-c-card
|
|
|
167
222
|
<input
|
|
168
223
|
class="pf-v5-c-check__input"
|
|
169
224
|
type="checkbox"
|
|
225
|
+
aria-label="Standalone check"
|
|
170
226
|
id="card-action-example-2-check"
|
|
171
227
|
name="card-action-example-2-check"
|
|
172
228
|
aria-labelledby="card-action-example-2"
|
|
@@ -251,6 +307,7 @@ cssPrefix: pf-v5-c-card
|
|
|
251
307
|
<input
|
|
252
308
|
class="pf-v5-c-check__input"
|
|
253
309
|
type="checkbox"
|
|
310
|
+
aria-label="Standalone check"
|
|
254
311
|
id="card-action-example-3-check"
|
|
255
312
|
name="card-action-example-3-check"
|
|
256
313
|
aria-labelledby="card-action-example-3"
|
|
@@ -293,7 +350,61 @@ cssPrefix: pf-v5-c-card
|
|
|
293
350
|
<div class="pf-v5-c-card" id="card-image-head-example">
|
|
294
351
|
<div class="pf-v5-c-card__header">
|
|
295
352
|
<div class="pf-v5-c-card__header-main">
|
|
296
|
-
<
|
|
353
|
+
<svg
|
|
354
|
+
version="1.1"
|
|
355
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
356
|
+
viewBox="0 0 706.3 132.5"
|
|
357
|
+
fill="currentColor"
|
|
358
|
+
width="300px"
|
|
359
|
+
>
|
|
360
|
+
<g>
|
|
361
|
+
<path
|
|
362
|
+
d="M197.2,83.9V48.6h15.2c2.2,0,4.1,0.3,5.6,1c1.5,0.7,2.8,1.5,3.7,2.6c1,1.1,1.6,2.3,2.1,3.6
|
|
363
|
+
c0.4,1.3,0.6,2.7,0.6,4c0,0.9-0.1,1.7-0.3,2.6c-0.2,0.9-0.5,1.7-0.9,2.6c-0.4,0.8-0.9,1.6-1.6,2.3c-0.6,0.7-1.4,1.4-2.3,1.9
|
|
364
|
+
c-0.9,0.5-1.9,1-3.1,1.3c-1.2,0.3-2.5,0.5-3.9,0.5h-8.3v13H197.2z M212.7,64.4c0.9,0,1.6-0.1,2.2-0.4c0.6-0.3,1.1-0.6,1.4-1.1
|
|
365
|
+
c0.4-0.4,0.6-0.9,0.8-1.5c0.2-0.6,0.3-1.1,0.3-1.7c0-0.5-0.1-1-0.2-1.6c-0.1-0.5-0.4-1-0.7-1.5c-0.4-0.5-0.8-0.8-1.4-1.1
|
|
366
|
+
c-0.6-0.3-1.4-0.4-2.3-0.4h-8.6v9.4H212.7z"
|
|
367
|
+
/>
|
|
368
|
+
<path
|
|
369
|
+
d="M271.6,83.9l-2.7-7.3h-13.6l-2.7,7.3h-7.3l13.5-35.4h6.7l13.5,35.4H271.6z M263.2,61.2
|
|
370
|
+
c-0.2-0.4-0.4-0.9-0.6-1.5c-0.2-0.6-0.4-1.1-0.5-1.7c-0.1,0.5-0.3,1.1-0.5,1.7c-0.2,0.6-0.4,1.1-0.6,1.5l-3.5,9.2h9.2L263.2,61.2z"
|
|
371
|
+
/>
|
|
372
|
+
<path d="M317.3,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H317.3z" />
|
|
373
|
+
<path d="M370.2,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H370.2z" />
|
|
374
|
+
<path
|
|
375
|
+
d="M408.5,83.9V48.6h24.1v6.5h-17.3v7.4h10.2v6.5h-10.2v8.5h18.4v6.5H408.5z"
|
|
376
|
+
/>
|
|
377
|
+
<path
|
|
378
|
+
d="M462.4,83.9V48.6h16.4c2.2,0,4.1,0.3,5.6,0.9c1.5,0.6,2.7,1.4,3.6,2.5c0.9,1,1.6,2.2,2,3.5
|
|
379
|
+
c0.4,1.3,0.6,2.7,0.6,4.2c0,1-0.1,2-0.4,3c-0.3,1-0.7,2-1.3,2.9c-0.6,0.9-1.3,1.8-2.1,2.5c-0.9,0.7-1.8,1.3-3,1.7l6.9,14.1H483
|
|
380
|
+
l-6.6-13.2h-7.1v13.2H462.4z M478.9,64.3c0.9,0,1.6-0.1,2.2-0.4c0.6-0.3,1.1-0.6,1.4-1c0.4-0.4,0.6-0.9,0.8-1.5
|
|
381
|
+
c0.2-0.6,0.2-1.1,0.2-1.7c0-0.6-0.1-1.1-0.2-1.7c-0.1-0.6-0.4-1-0.7-1.5c-0.3-0.4-0.8-0.8-1.4-1c-0.6-0.3-1.4-0.4-2.3-0.4h-9.7v9.2
|
|
382
|
+
H478.9z"
|
|
383
|
+
/>
|
|
384
|
+
<path
|
|
385
|
+
d="M541.9,83.9l-14-20.6c-0.2-0.3-0.5-0.8-0.8-1.3c-0.3-0.5-0.5-1-0.7-1.4c0.1,0.4,0.1,0.8,0.1,1.3
|
|
386
|
+
c0,0.5,0,1,0,1.3v20.6h-6.8V48.6h6.4l13.7,20.4c0.2,0.3,0.5,0.7,0.7,1.2c0.3,0.5,0.5,1,0.7,1.4c0-0.5-0.1-1-0.1-1.4
|
|
387
|
+
c0-0.5,0-0.9,0-1.2V48.6h6.8v35.4H541.9z"
|
|
388
|
+
/>
|
|
389
|
+
<path
|
|
390
|
+
d="M578.4,83.9V48.6h23.7v6.5h-16.9v7.4H596v6.5h-10.7v15H578.4z"
|
|
391
|
+
/>
|
|
392
|
+
<path d="M629.8,83.9V48.6h6.8v28.8h17.1v6.6H629.8z" />
|
|
393
|
+
<path
|
|
394
|
+
d="M686.4,83.9V70.2l-13.1-21.6h7.7l8.7,14.5l8.7-14.5h7.7l-13.1,21.6v13.8H686.4z"
|
|
395
|
+
/>
|
|
396
|
+
</g>
|
|
397
|
+
<g>
|
|
398
|
+
<path
|
|
399
|
+
d="M49,103l-21.2,4.9L0,68.4L70,0l70,68.4l-27.8,39.4L91,103l-21,29.5L49,103z M70,128.7l18.6-26.2l-7.2-1.7
|
|
400
|
+
l-11,16.2l-11.9-16.2l-7.2,1.7L70,128.7z M70.4,113.1l9.2-13.5L70,6.7l-9.5,92.9L70.4,113.1z M28.8,105.4l18.8-4.3L33.8,81.7
|
|
401
|
+
l4.1-9.3L25.2,55L58,14.9L2.9,68.7L28.8,105.4z M111.2,105.4l16.3-23.1l9.6-13.6L82,14.9L114.9,55l-12.8,17.4l4.1,9.3L92.4,101
|
|
402
|
+
L111.2,105.4z M90.1,100.5l13.6-19.1l-3-6.9L82.7,98.8L90.1,100.5z M50,100.5l7.3-1.7L39.4,74.5l-3,6.9L50,100.5z M81.9,96.2
|
|
403
|
+
l17.6-24.1L72.9,11.6L81.9,96.2z M58.1,96.2l9-84.6L40.5,72.1L58.1,96.2z M39,70L66.1,8.5L28,55.1L39,70z M101.1,70l11-15L74,8.5
|
|
404
|
+
L101.1,70z"
|
|
405
|
+
/>
|
|
406
|
+
</g>
|
|
407
|
+
</svg>
|
|
297
408
|
</div>
|
|
298
409
|
</div>
|
|
299
410
|
<div class="pf-v5-c-card__title">
|
|
@@ -400,7 +511,7 @@ cssPrefix: pf-v5-c-card
|
|
|
400
511
|
<div class="pf-v5-c-card__header">
|
|
401
512
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
402
513
|
<div class="pf-v5-c-card__selectable-actions">
|
|
403
|
-
<div class="pf-v5-c-check
|
|
514
|
+
<div class="pf-v5-c-check">
|
|
404
515
|
<input
|
|
405
516
|
class="pf-v5-c-check__input"
|
|
406
517
|
type="checkbox"
|
|
@@ -408,12 +519,11 @@ cssPrefix: pf-v5-c-card
|
|
|
408
519
|
name="card-selectable-example-check"
|
|
409
520
|
aria-labelledby="card-selectable-example"
|
|
410
521
|
/>
|
|
411
|
-
|
|
412
522
|
<label
|
|
413
523
|
class="pf-v5-c-check__label"
|
|
524
|
+
for="card-selectable-example-check"
|
|
414
525
|
id="card-selectable-example-check-label"
|
|
415
526
|
name="card-selectable-example-check"
|
|
416
|
-
for="card-selectable-example-check"
|
|
417
527
|
></label>
|
|
418
528
|
</div>
|
|
419
529
|
</div>
|
|
@@ -435,7 +545,7 @@ cssPrefix: pf-v5-c-card
|
|
|
435
545
|
<div class="pf-v5-c-card__header">
|
|
436
546
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
437
547
|
<div class="pf-v5-c-card__selectable-actions">
|
|
438
|
-
<div class="pf-v5-c-check
|
|
548
|
+
<div class="pf-v5-c-check">
|
|
439
549
|
<input
|
|
440
550
|
class="pf-v5-c-check__input"
|
|
441
551
|
type="checkbox"
|
|
@@ -444,12 +554,11 @@ cssPrefix: pf-v5-c-card
|
|
|
444
554
|
name="card-selectable-example-disabled-check"
|
|
445
555
|
aria-labelledby="card-selectable-example-disabled"
|
|
446
556
|
/>
|
|
447
|
-
|
|
448
557
|
<label
|
|
449
558
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
559
|
+
for="card-selectable-example-disabled-check"
|
|
450
560
|
id="card-selectable-example-disabled-check-label"
|
|
451
561
|
name="card-selectable-example-disabled-check"
|
|
452
|
-
for="card-selectable-example-disabled-check"
|
|
453
562
|
></label>
|
|
454
563
|
</div>
|
|
455
564
|
</div>
|
|
@@ -474,7 +583,7 @@ cssPrefix: pf-v5-c-card
|
|
|
474
583
|
<div class="pf-v5-c-card__header">
|
|
475
584
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
476
585
|
<div class="pf-v5-c-card__selectable-actions">
|
|
477
|
-
<div class="pf-v5-c-check
|
|
586
|
+
<div class="pf-v5-c-check">
|
|
478
587
|
<input
|
|
479
588
|
class="pf-v5-c-check__input"
|
|
480
589
|
type="checkbox"
|
|
@@ -484,12 +593,11 @@ cssPrefix: pf-v5-c-card
|
|
|
484
593
|
name="card-selectable-example-selected-disabled-check"
|
|
485
594
|
aria-labelledby="card-selectable-example-selected-disabled"
|
|
486
595
|
/>
|
|
487
|
-
|
|
488
596
|
<label
|
|
489
597
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
598
|
+
for="card-selectable-example-selected-disabled-check"
|
|
490
599
|
id="card-selectable-example-selected-disabled-check-label"
|
|
491
600
|
name="card-selectable-example-selected-disabled-check"
|
|
492
|
-
for="card-selectable-example-selected-disabled-check"
|
|
493
601
|
></label>
|
|
494
602
|
</div>
|
|
495
603
|
</div>
|
|
@@ -510,7 +618,125 @@ cssPrefix: pf-v5-c-card
|
|
|
510
618
|
|
|
511
619
|
```
|
|
512
620
|
|
|
513
|
-
###
|
|
621
|
+
### Selectable Secondary style
|
|
622
|
+
|
|
623
|
+
```html
|
|
624
|
+
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
625
|
+
<div
|
|
626
|
+
class="pf-v5-c-card pf-m-selectable pf-m-secondary"
|
|
627
|
+
id="card-selectable-secondary-example"
|
|
628
|
+
>
|
|
629
|
+
<div class="pf-v5-c-card__header">
|
|
630
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
631
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
632
|
+
<div class="pf-v5-c-check">
|
|
633
|
+
<input
|
|
634
|
+
class="pf-v5-c-check__input"
|
|
635
|
+
type="checkbox"
|
|
636
|
+
id="card-selectable-secondary-example-check"
|
|
637
|
+
name="card-selectable-secondary-example-check"
|
|
638
|
+
aria-labelledby="card-selectable-secondary-example"
|
|
639
|
+
/>
|
|
640
|
+
<label
|
|
641
|
+
class="pf-v5-c-check__label"
|
|
642
|
+
for="card-selectable-secondary-example-check"
|
|
643
|
+
id="card-selectable-secondary-example-check-label"
|
|
644
|
+
name="card-selectable-secondary-example-check"
|
|
645
|
+
></label>
|
|
646
|
+
</div>
|
|
647
|
+
</div>
|
|
648
|
+
</div>
|
|
649
|
+
<div class="pf-v5-c-card__header-main">
|
|
650
|
+
<div class="pf-v5-c-card__title">
|
|
651
|
+
<h2 class="pf-v5-c-card__title-text">Title</h2>
|
|
652
|
+
</div>
|
|
653
|
+
</div>
|
|
654
|
+
</div>
|
|
655
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
656
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
657
|
+
</div>
|
|
658
|
+
|
|
659
|
+
<div
|
|
660
|
+
class="pf-v5-c-card pf-m-selectable pf-m-disabled pf-m-secondary"
|
|
661
|
+
id="card-selectable-secondary-example-disabled"
|
|
662
|
+
>
|
|
663
|
+
<div class="pf-v5-c-card__header">
|
|
664
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
665
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
666
|
+
<div class="pf-v5-c-check">
|
|
667
|
+
<input
|
|
668
|
+
class="pf-v5-c-check__input"
|
|
669
|
+
type="checkbox"
|
|
670
|
+
disabled
|
|
671
|
+
id="card-selectable-secondary-example-disabled-check"
|
|
672
|
+
name="card-selectable-secondary-example-disabled-check"
|
|
673
|
+
aria-labelledby="card-selectable-secondary-example-disabled"
|
|
674
|
+
/>
|
|
675
|
+
<label
|
|
676
|
+
class="pf-v5-c-check__label pf-m-disabled"
|
|
677
|
+
for="card-selectable-secondary-example-disabled-check"
|
|
678
|
+
id="card-selectable-secondary-example-disabled-check-label"
|
|
679
|
+
name="card-selectable-secondary-example-disabled-check"
|
|
680
|
+
></label>
|
|
681
|
+
</div>
|
|
682
|
+
</div>
|
|
683
|
+
</div>
|
|
684
|
+
<div class="pf-v5-c-card__header-main">
|
|
685
|
+
<div
|
|
686
|
+
class="pf-v5-c-card__title"
|
|
687
|
+
id="card-selectable-secondary-example-disabled-title"
|
|
688
|
+
>
|
|
689
|
+
<h2 class="pf-v5-c-card__title-text">Disabled card</h2>
|
|
690
|
+
</div>
|
|
691
|
+
</div>
|
|
692
|
+
</div>
|
|
693
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
694
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
695
|
+
</div>
|
|
696
|
+
|
|
697
|
+
<div
|
|
698
|
+
class="pf-v5-c-card pf-m-selectable pf-m-selected pf-m-disabled pf-m-secondary"
|
|
699
|
+
id="card-selectable-secondary-example-selected-disabled"
|
|
700
|
+
>
|
|
701
|
+
<div class="pf-v5-c-card__header">
|
|
702
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
703
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
704
|
+
<div class="pf-v5-c-check">
|
|
705
|
+
<input
|
|
706
|
+
class="pf-v5-c-check__input"
|
|
707
|
+
type="checkbox"
|
|
708
|
+
checked
|
|
709
|
+
disabled
|
|
710
|
+
id="card-selectable-secondary-example-selected-disabled-check"
|
|
711
|
+
name="card-selectable-secondary-example-selected-disabled-check"
|
|
712
|
+
aria-labelledby="card-selectable-secondary-example-selected-disabled"
|
|
713
|
+
/>
|
|
714
|
+
<label
|
|
715
|
+
class="pf-v5-c-check__label pf-m-disabled"
|
|
716
|
+
for="card-selectable-secondary-example-selected-disabled-check"
|
|
717
|
+
id="card-selectable-secondary-example-selected-disabled-check-label"
|
|
718
|
+
name="card-selectable-secondary-example-selected-disabled-check"
|
|
719
|
+
></label>
|
|
720
|
+
</div>
|
|
721
|
+
</div>
|
|
722
|
+
</div>
|
|
723
|
+
<div class="pf-v5-c-card__header-main">
|
|
724
|
+
<div
|
|
725
|
+
class="pf-v5-c-card__title"
|
|
726
|
+
id="card-selectable-secondary-example-selected-disabled-title"
|
|
727
|
+
>
|
|
728
|
+
<h2 class="pf-v5-c-card__title-text">Selected but disabled card</h2>
|
|
729
|
+
</div>
|
|
730
|
+
</div>
|
|
731
|
+
</div>
|
|
732
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
733
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
734
|
+
</div>
|
|
735
|
+
</div>
|
|
736
|
+
|
|
737
|
+
```
|
|
738
|
+
|
|
739
|
+
### Single selectable
|
|
514
740
|
|
|
515
741
|
```html
|
|
516
742
|
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
@@ -518,7 +744,7 @@ cssPrefix: pf-v5-c-card
|
|
|
518
744
|
<div class="pf-v5-c-card__header">
|
|
519
745
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
520
746
|
<div class="pf-v5-c-card__selectable-actions">
|
|
521
|
-
<div class="pf-v5-c-radio
|
|
747
|
+
<div class="pf-v5-c-radio">
|
|
522
748
|
<input
|
|
523
749
|
class="pf-v5-c-radio__input"
|
|
524
750
|
type="radio"
|
|
@@ -526,12 +752,11 @@ cssPrefix: pf-v5-c-card
|
|
|
526
752
|
name="card-single-selectable-example-radio"
|
|
527
753
|
aria-labelledby="card-single-selectable-example"
|
|
528
754
|
/>
|
|
529
|
-
|
|
530
755
|
<label
|
|
531
756
|
class="pf-v5-c-radio__label"
|
|
757
|
+
for="card-single-selectable-example-radio"
|
|
532
758
|
id="card-single-selectable-example-radio-label"
|
|
533
759
|
name="card-single-selectable-example-radio"
|
|
534
|
-
for="card-single-selectable-example-radio"
|
|
535
760
|
></label>
|
|
536
761
|
</div>
|
|
537
762
|
</div>
|
|
@@ -556,7 +781,7 @@ cssPrefix: pf-v5-c-card
|
|
|
556
781
|
<div class="pf-v5-c-card__header">
|
|
557
782
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
558
783
|
<div class="pf-v5-c-card__selectable-actions">
|
|
559
|
-
<div class="pf-v5-c-radio
|
|
784
|
+
<div class="pf-v5-c-radio">
|
|
560
785
|
<input
|
|
561
786
|
class="pf-v5-c-radio__input"
|
|
562
787
|
type="radio"
|
|
@@ -565,12 +790,11 @@ cssPrefix: pf-v5-c-card
|
|
|
565
790
|
aria-labelledby="card-single-selectable-example-disabled"
|
|
566
791
|
disabled
|
|
567
792
|
/>
|
|
568
|
-
|
|
569
793
|
<label
|
|
570
794
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
795
|
+
for="card-single-selectable-example-disabled-radio"
|
|
571
796
|
id="card-single-selectable-example-disabled-radio-label"
|
|
572
797
|
name="card-single-selectable-example-disabled-radio"
|
|
573
|
-
for="card-single-selectable-example-disabled-radio"
|
|
574
798
|
></label>
|
|
575
799
|
</div>
|
|
576
800
|
</div>
|
|
@@ -595,7 +819,7 @@ cssPrefix: pf-v5-c-card
|
|
|
595
819
|
<div class="pf-v5-c-card__header">
|
|
596
820
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
597
821
|
<div class="pf-v5-c-card__selectable-actions">
|
|
598
|
-
<div class="pf-v5-c-radio
|
|
822
|
+
<div class="pf-v5-c-radio">
|
|
599
823
|
<input
|
|
600
824
|
class="pf-v5-c-radio__input"
|
|
601
825
|
type="radio"
|
|
@@ -605,12 +829,11 @@ cssPrefix: pf-v5-c-card
|
|
|
605
829
|
disabled
|
|
606
830
|
checked
|
|
607
831
|
/>
|
|
608
|
-
|
|
609
832
|
<label
|
|
610
833
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
834
|
+
for="card-single-selectable-example-selected-disabled-radio"
|
|
611
835
|
id="card-single-selectable-example-selected-disabled-radio-label"
|
|
612
836
|
name="card-single-selectable-example-selected-disabled-radio"
|
|
613
|
-
for="card-single-selectable-example-selected-disabled-radio"
|
|
614
837
|
></label>
|
|
615
838
|
</div>
|
|
616
839
|
</div>
|
|
@@ -650,9 +873,9 @@ cssPrefix: pf-v5-c-card
|
|
|
650
873
|
|
|
651
874
|
<label
|
|
652
875
|
class="pf-v5-c-radio__label"
|
|
876
|
+
for="card-clickable-example-sr-only-radio"
|
|
653
877
|
id="card-clickable-example-sr-only-radio-label"
|
|
654
878
|
name="card-clickable-example-sr-only-radio"
|
|
655
|
-
for="card-clickable-example-sr-only-radio"
|
|
656
879
|
></label>
|
|
657
880
|
</div>
|
|
658
881
|
</div>
|
|
@@ -686,9 +909,9 @@ cssPrefix: pf-v5-c-card
|
|
|
686
909
|
|
|
687
910
|
<label
|
|
688
911
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
912
|
+
for="card-clickable-example-disabled-sr-only-radio"
|
|
689
913
|
id="card-clickable-example-disabled-sr-only-radio-label"
|
|
690
914
|
name="card-clickable-example-disabled-sr-only-radio"
|
|
691
|
-
for="card-clickable-example-disabled-sr-only-radio"
|
|
692
915
|
></label>
|
|
693
916
|
</div>
|
|
694
917
|
</div>
|
|
@@ -725,9 +948,9 @@ cssPrefix: pf-v5-c-card
|
|
|
725
948
|
|
|
726
949
|
<label
|
|
727
950
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
951
|
+
for="card-clickable-example-selected-disabled-sr-only-radio"
|
|
728
952
|
id="card-clickable-example-selected-disabled-sr-only-radio-label"
|
|
729
953
|
name="card-clickable-example-selected-disabled-sr-only-radio"
|
|
730
|
-
for="card-clickable-example-selected-disabled-sr-only-radio"
|
|
731
954
|
></label>
|
|
732
955
|
</div>
|
|
733
956
|
</div>
|
|
@@ -748,7 +971,130 @@ cssPrefix: pf-v5-c-card
|
|
|
748
971
|
|
|
749
972
|
```
|
|
750
973
|
|
|
751
|
-
### Clickable
|
|
974
|
+
### Clickable secondary style
|
|
975
|
+
|
|
976
|
+
```html
|
|
977
|
+
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
978
|
+
<div
|
|
979
|
+
class="pf-v5-c-card pf-m-clickable pf-m-secondary"
|
|
980
|
+
id="card-clickable-secondary-example"
|
|
981
|
+
>
|
|
982
|
+
<div class="pf-v5-c-card__header">
|
|
983
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
984
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
985
|
+
<div class="pf-v5-c-radio pf-m-standalone">
|
|
986
|
+
<input
|
|
987
|
+
class="pf-v5-c-radio__input pf-v5-screen-reader"
|
|
988
|
+
type="radio"
|
|
989
|
+
id="card-clickable-secondary-example-sr-only-radio"
|
|
990
|
+
name="card-clickable-secondary-example-sr-only-radio"
|
|
991
|
+
aria-labelledby="card-clickable-secondary-example"
|
|
992
|
+
/>
|
|
993
|
+
|
|
994
|
+
<label
|
|
995
|
+
class="pf-v5-c-radio__label"
|
|
996
|
+
for="card-clickable-secondary-example-sr-only-radio"
|
|
997
|
+
id="card-clickable-secondary-example-sr-only-radio-label"
|
|
998
|
+
name="card-clickable-secondary-example-sr-only-radio"
|
|
999
|
+
></label>
|
|
1000
|
+
</div>
|
|
1001
|
+
</div>
|
|
1002
|
+
</div>
|
|
1003
|
+
<div class="pf-v5-c-card__header-main">
|
|
1004
|
+
<div
|
|
1005
|
+
class="pf-v5-c-card__title"
|
|
1006
|
+
id="card-clickable-secondary-example-title"
|
|
1007
|
+
>
|
|
1008
|
+
<h2 class="pf-v5-c-card__title-text">Title</h2>
|
|
1009
|
+
</div>
|
|
1010
|
+
</div>
|
|
1011
|
+
</div>
|
|
1012
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
1013
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
1014
|
+
</div>
|
|
1015
|
+
|
|
1016
|
+
<div
|
|
1017
|
+
class="pf-v5-c-card pf-m-clickable pf-m-disabled pf-m-secondary"
|
|
1018
|
+
id="card-clickable-secondary-example-disabled"
|
|
1019
|
+
>
|
|
1020
|
+
<div class="pf-v5-c-card__header">
|
|
1021
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
1022
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
1023
|
+
<div class="pf-v5-c-radio pf-m-standalone">
|
|
1024
|
+
<input
|
|
1025
|
+
class="pf-v5-c-radio__input pf-v5-screen-reader"
|
|
1026
|
+
type="radio"
|
|
1027
|
+
id="card-clickable-secondary-example-disabled-sr-only-radio"
|
|
1028
|
+
name="card-clickable-secondary-example-disabled-sr-only-radio"
|
|
1029
|
+
aria-labelledby="card-clickable-secondary-example-disabled"
|
|
1030
|
+
disabled
|
|
1031
|
+
/>
|
|
1032
|
+
|
|
1033
|
+
<label
|
|
1034
|
+
class="pf-v5-c-radio__label pf-m-disabled"
|
|
1035
|
+
for="card-clickable-secondary-example-disabled-sr-only-radio"
|
|
1036
|
+
id="card-clickable-secondary-example-disabled-sr-only-radio-label"
|
|
1037
|
+
name="card-clickable-secondary-example-disabled-sr-only-radio"
|
|
1038
|
+
></label>
|
|
1039
|
+
</div>
|
|
1040
|
+
</div>
|
|
1041
|
+
</div>
|
|
1042
|
+
<div class="pf-v5-c-card__header-main">
|
|
1043
|
+
<div
|
|
1044
|
+
class="pf-v5-c-card__title"
|
|
1045
|
+
id="card-clickable-secondary-example-disabled-title"
|
|
1046
|
+
>
|
|
1047
|
+
<h2 class="pf-v5-c-card__title-text">Disabled card</h2>
|
|
1048
|
+
</div>
|
|
1049
|
+
</div>
|
|
1050
|
+
</div>
|
|
1051
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
1052
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
1053
|
+
</div>
|
|
1054
|
+
|
|
1055
|
+
<div
|
|
1056
|
+
class="pf-v5-c-card pf-m-clickable pf-m-selected pf-m-disabled pf-m-secondary"
|
|
1057
|
+
id="card-clickable-secondary-example-selected-disabled"
|
|
1058
|
+
>
|
|
1059
|
+
<div class="pf-v5-c-card__header">
|
|
1060
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
1061
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
1062
|
+
<div class="pf-v5-c-radio pf-m-standalone">
|
|
1063
|
+
<input
|
|
1064
|
+
class="pf-v5-c-radio__input pf-v5-screen-reader"
|
|
1065
|
+
type="radio"
|
|
1066
|
+
id="card-clickable-secondary-example-selected-disabled-sr-only-radio"
|
|
1067
|
+
name="card-clickable-secondary-example-selected-disabled-sr-only-radio"
|
|
1068
|
+
aria-labelledby="card-clickable-secondary-example-selected-disabled"
|
|
1069
|
+
disabled
|
|
1070
|
+
/>
|
|
1071
|
+
|
|
1072
|
+
<label
|
|
1073
|
+
class="pf-v5-c-radio__label pf-m-disabled"
|
|
1074
|
+
for="card-clickable-secondary-example-selected-disabled-sr-only-radio"
|
|
1075
|
+
id="card-clickable-secondary-example-selected-disabled-sr-only-radio-label"
|
|
1076
|
+
name="card-clickable-secondary-example-selected-disabled-sr-only-radio"
|
|
1077
|
+
></label>
|
|
1078
|
+
</div>
|
|
1079
|
+
</div>
|
|
1080
|
+
</div>
|
|
1081
|
+
<div class="pf-v5-c-card__header-main">
|
|
1082
|
+
<div
|
|
1083
|
+
class="pf-v5-c-card__title"
|
|
1084
|
+
id="card-clickable-secondary-example-selected-disabled-title"
|
|
1085
|
+
>
|
|
1086
|
+
<h2 class="pf-v5-c-card__title-text">Selected but disabled card</h2>
|
|
1087
|
+
</div>
|
|
1088
|
+
</div>
|
|
1089
|
+
</div>
|
|
1090
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
1091
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
1092
|
+
</div>
|
|
1093
|
+
</div>
|
|
1094
|
+
|
|
1095
|
+
```
|
|
1096
|
+
|
|
1097
|
+
### Clickable and selectable
|
|
752
1098
|
|
|
753
1099
|
```html
|
|
754
1100
|
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
@@ -759,7 +1105,7 @@ cssPrefix: pf-v5-c-card
|
|
|
759
1105
|
<div class="pf-v5-c-card__header">
|
|
760
1106
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
761
1107
|
<div class="pf-v5-c-card__selectable-actions">
|
|
762
|
-
<div class="pf-v5-c-check
|
|
1108
|
+
<div class="pf-v5-c-check">
|
|
763
1109
|
<input
|
|
764
1110
|
class="pf-v5-c-check__input"
|
|
765
1111
|
type="checkbox"
|
|
@@ -767,12 +1113,11 @@ cssPrefix: pf-v5-c-card
|
|
|
767
1113
|
name="card-clickable-selectable-example-check"
|
|
768
1114
|
aria-labelledby="card-clickable-selectable-example"
|
|
769
1115
|
/>
|
|
770
|
-
|
|
771
1116
|
<label
|
|
772
1117
|
class="pf-v5-c-check__label"
|
|
1118
|
+
for="card-clickable-selectable-example-check"
|
|
773
1119
|
id="card-clickable-selectable-example-check-label"
|
|
774
1120
|
name="card-clickable-selectable-example-check"
|
|
775
|
-
for="card-clickable-selectable-example-check"
|
|
776
1121
|
></label>
|
|
777
1122
|
</div>
|
|
778
1123
|
</div>
|
|
@@ -782,10 +1127,9 @@ cssPrefix: pf-v5-c-card
|
|
|
782
1127
|
class="pf-v5-c-card__title"
|
|
783
1128
|
id="card-clickable-selectable-example-title"
|
|
784
1129
|
>
|
|
785
|
-
<
|
|
786
|
-
class="pf-v5-c-button pf-m-link pf-m-inline"
|
|
787
|
-
|
|
788
|
-
>Title</button>
|
|
1130
|
+
<h2 class="pf-v5-c-card__title-text">
|
|
1131
|
+
<button class="pf-v5-c-button pf-m-link pf-m-inline">Title</button>
|
|
1132
|
+
</h2>
|
|
789
1133
|
</div>
|
|
790
1134
|
</div>
|
|
791
1135
|
</div>
|
|
@@ -800,7 +1144,7 @@ cssPrefix: pf-v5-c-card
|
|
|
800
1144
|
<div class="pf-v5-c-card__header">
|
|
801
1145
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
802
1146
|
<div class="pf-v5-c-card__selectable-actions">
|
|
803
|
-
<div class="pf-v5-c-check
|
|
1147
|
+
<div class="pf-v5-c-check">
|
|
804
1148
|
<input
|
|
805
1149
|
class="pf-v5-c-check__input"
|
|
806
1150
|
type="checkbox"
|
|
@@ -808,12 +1152,11 @@ cssPrefix: pf-v5-c-card
|
|
|
808
1152
|
name="card-clickable-selectable-current-example-check"
|
|
809
1153
|
aria-labelledby="card-clickable-selectable-current-example"
|
|
810
1154
|
/>
|
|
811
|
-
|
|
812
1155
|
<label
|
|
813
1156
|
class="pf-v5-c-check__label"
|
|
1157
|
+
for="card-clickable-selectable-current-example-check"
|
|
814
1158
|
id="card-clickable-selectable-current-example-check-label"
|
|
815
1159
|
name="card-clickable-selectable-current-example-check"
|
|
816
|
-
for="card-clickable-selectable-current-example-check"
|
|
817
1160
|
></label>
|
|
818
1161
|
</div>
|
|
819
1162
|
</div>
|
|
@@ -823,10 +1166,11 @@ cssPrefix: pf-v5-c-card
|
|
|
823
1166
|
class="pf-v5-c-card__title"
|
|
824
1167
|
id="card-clickable-selectable-current-example-title"
|
|
825
1168
|
>
|
|
826
|
-
<
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
1169
|
+
<h2 class="pf-v5-c-card__title-text">
|
|
1170
|
+
<button
|
|
1171
|
+
class="pf-v5-c-button pf-m-link pf-m-inline"
|
|
1172
|
+
>Current card (clicked)</button>
|
|
1173
|
+
</h2>
|
|
830
1174
|
</div>
|
|
831
1175
|
</div>
|
|
832
1176
|
</div>
|
|
@@ -841,7 +1185,7 @@ cssPrefix: pf-v5-c-card
|
|
|
841
1185
|
<div class="pf-v5-c-card__header">
|
|
842
1186
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
843
1187
|
<div class="pf-v5-c-card__selectable-actions">
|
|
844
|
-
<div class="pf-v5-c-check
|
|
1188
|
+
<div class="pf-v5-c-check">
|
|
845
1189
|
<input
|
|
846
1190
|
class="pf-v5-c-check__input"
|
|
847
1191
|
type="checkbox"
|
|
@@ -850,12 +1194,11 @@ cssPrefix: pf-v5-c-card
|
|
|
850
1194
|
name="card-clickable-selectable-example-disabled-check"
|
|
851
1195
|
aria-labelledby="card-clickable-selectable-example-disabled"
|
|
852
1196
|
/>
|
|
853
|
-
|
|
854
1197
|
<label
|
|
855
1198
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
1199
|
+
for="card-clickable-selectable-example-disabled-check"
|
|
856
1200
|
id="card-clickable-selectable-example-disabled-check-label"
|
|
857
1201
|
name="card-clickable-selectable-example-disabled-check"
|
|
858
|
-
for="card-clickable-selectable-example-disabled-check"
|
|
859
1202
|
></label>
|
|
860
1203
|
</div>
|
|
861
1204
|
</div>
|
|
@@ -865,11 +1208,11 @@ cssPrefix: pf-v5-c-card
|
|
|
865
1208
|
class="pf-v5-c-card__title"
|
|
866
1209
|
id="card-clickable-selectable-example-disabled-title"
|
|
867
1210
|
>
|
|
868
|
-
<
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
1211
|
+
<h2 class="pf-v5-c-card__title-text">
|
|
1212
|
+
<button
|
|
1213
|
+
class="pf-v5-c-button pf-m-link pf-m-inline pf-m-disabled"
|
|
1214
|
+
>Disabled card</button>
|
|
1215
|
+
</h2>
|
|
873
1216
|
</div>
|
|
874
1217
|
</div>
|
|
875
1218
|
</div>
|
|
@@ -884,7 +1227,7 @@ cssPrefix: pf-v5-c-card
|
|
|
884
1227
|
<div class="pf-v5-c-card__header">
|
|
885
1228
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
886
1229
|
<div class="pf-v5-c-card__selectable-actions">
|
|
887
|
-
<div class="pf-v5-c-check
|
|
1230
|
+
<div class="pf-v5-c-check">
|
|
888
1231
|
<input
|
|
889
1232
|
class="pf-v5-c-check__input"
|
|
890
1233
|
type="checkbox"
|
|
@@ -894,12 +1237,11 @@ cssPrefix: pf-v5-c-card
|
|
|
894
1237
|
name="card-clickable-selectable-example-selected-disabled-check"
|
|
895
1238
|
aria-labelledby="card-clickable-selectable-example-selected-disabled"
|
|
896
1239
|
/>
|
|
897
|
-
|
|
898
1240
|
<label
|
|
899
1241
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
1242
|
+
for="card-clickable-selectable-example-selected-disabled-check"
|
|
900
1243
|
id="card-clickable-selectable-example-selected-disabled-check-label"
|
|
901
1244
|
name="card-clickable-selectable-example-selected-disabled-check"
|
|
902
|
-
for="card-clickable-selectable-example-selected-disabled-check"
|
|
903
1245
|
></label>
|
|
904
1246
|
</div>
|
|
905
1247
|
</div>
|
|
@@ -909,11 +1251,11 @@ cssPrefix: pf-v5-c-card
|
|
|
909
1251
|
class="pf-v5-c-card__title"
|
|
910
1252
|
id="card-clickable-selectable-example-selected-disabled-title"
|
|
911
1253
|
>
|
|
912
|
-
<
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
disabled
|
|
916
|
-
|
|
1254
|
+
<h2 class="pf-v5-c-card__title-text">
|
|
1255
|
+
<button
|
|
1256
|
+
class="pf-v5-c-button pf-m-link pf-m-inline pf-m-disabled"
|
|
1257
|
+
>Selected but disabled card</button>
|
|
1258
|
+
</h2>
|
|
917
1259
|
</div>
|
|
918
1260
|
</div>
|
|
919
1261
|
</div>
|
|
@@ -924,109 +1266,182 @@ cssPrefix: pf-v5-c-card
|
|
|
924
1266
|
|
|
925
1267
|
```
|
|
926
1268
|
|
|
927
|
-
###
|
|
928
|
-
|
|
929
|
-
```html isDeprecated
|
|
930
|
-
<div class="pf-v5-c-card pf-m-hoverable-raised" id="card-hoverable-example">
|
|
931
|
-
<div class="pf-v5-c-card__title">
|
|
932
|
-
<h2 class="pf-v5-c-card__title-text">Title</h2>
|
|
933
|
-
</div>
|
|
934
|
-
<div class="pf-v5-c-card__body">Body</div>
|
|
935
|
-
<div class="pf-v5-c-card__footer">Footer</div>
|
|
936
|
-
</div>
|
|
937
|
-
|
|
938
|
-
```
|
|
939
|
-
|
|
940
|
-
### Selectable raised
|
|
1269
|
+
### Clickable and selectable secondary style
|
|
941
1270
|
|
|
942
|
-
```html
|
|
943
|
-
<div
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
>
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
>
|
|
965
|
-
|
|
966
|
-
|
|
1271
|
+
```html
|
|
1272
|
+
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
1273
|
+
<div
|
|
1274
|
+
class="pf-v5-c-card pf-m-clickable pf-m-selectable pf-m-secondary"
|
|
1275
|
+
id="card-clickable-selectable-secondary-example"
|
|
1276
|
+
>
|
|
1277
|
+
<div class="pf-v5-c-card__header">
|
|
1278
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
1279
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
1280
|
+
<div class="pf-v5-c-check">
|
|
1281
|
+
<input
|
|
1282
|
+
class="pf-v5-c-check__input"
|
|
1283
|
+
type="checkbox"
|
|
1284
|
+
id="card-clickable-selectable-secondary-example-check"
|
|
1285
|
+
name="card-clickable-selectable-secondary-example-check"
|
|
1286
|
+
aria-labelledby="card-clickable-selectable-secondary-example"
|
|
1287
|
+
/>
|
|
1288
|
+
<label
|
|
1289
|
+
class="pf-v5-c-check__label"
|
|
1290
|
+
for="card-clickable-selectable-secondary-example-check"
|
|
1291
|
+
id="card-clickable-selectable-secondary-example-check-label"
|
|
1292
|
+
name="card-clickable-selectable-secondary-example-check"
|
|
1293
|
+
></label>
|
|
1294
|
+
</div>
|
|
1295
|
+
</div>
|
|
1296
|
+
</div>
|
|
1297
|
+
<div class="pf-v5-c-card__header-main">
|
|
1298
|
+
<div
|
|
1299
|
+
class="pf-v5-c-card__title"
|
|
1300
|
+
id="card-clickable-selectable-secondary-example-title"
|
|
1301
|
+
>
|
|
1302
|
+
<h2 class="pf-v5-c-card__title-text">
|
|
1303
|
+
<button class="pf-v5-c-button pf-m-link pf-m-inline">Title</button>
|
|
1304
|
+
</h2>
|
|
1305
|
+
</div>
|
|
1306
|
+
</div>
|
|
1307
|
+
</div>
|
|
1308
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
1309
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
967
1310
|
</div>
|
|
968
|
-
<div class="pf-v5-c-card__body">Body</div>
|
|
969
|
-
<div class="pf-v5-c-card__footer">Footer</div>
|
|
970
|
-
</div>
|
|
971
|
-
|
|
972
|
-
```
|
|
973
1311
|
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
1312
|
+
<div
|
|
1313
|
+
class="pf-v5-c-card pf-m-clickable pf-m-selectable pf-m-current pf-m-secondary"
|
|
1314
|
+
id="card-clickable-selectable-secondary-current-example"
|
|
1315
|
+
>
|
|
1316
|
+
<div class="pf-v5-c-card__header">
|
|
1317
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
1318
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
1319
|
+
<div class="pf-v5-c-check">
|
|
1320
|
+
<input
|
|
1321
|
+
class="pf-v5-c-check__input"
|
|
1322
|
+
type="checkbox"
|
|
1323
|
+
id="card-clickable-selectable-secondary-current-example-check"
|
|
1324
|
+
name="card-clickable-selectable-secondary-current-example-check"
|
|
1325
|
+
aria-labelledby="card-clickable-selectable-secondary-current-example"
|
|
1326
|
+
/>
|
|
1327
|
+
<label
|
|
1328
|
+
class="pf-v5-c-check__label"
|
|
1329
|
+
for="card-clickable-selectable-secondary-current-example-check"
|
|
1330
|
+
id="card-clickable-selectable-secondary-current-example-check-label"
|
|
1331
|
+
name="card-clickable-selectable-secondary-current-example-check"
|
|
1332
|
+
></label>
|
|
1333
|
+
</div>
|
|
1334
|
+
</div>
|
|
1335
|
+
</div>
|
|
1336
|
+
<div class="pf-v5-c-card__header-main">
|
|
1337
|
+
<div
|
|
1338
|
+
class="pf-v5-c-card__title"
|
|
1339
|
+
id="card-clickable-selectable-secondary-current-example-title"
|
|
1340
|
+
>
|
|
1341
|
+
<h2 class="pf-v5-c-card__title-text">
|
|
1342
|
+
<button
|
|
1343
|
+
class="pf-v5-c-button pf-m-link pf-m-inline"
|
|
1344
|
+
>Current card (clicked)</button>
|
|
1345
|
+
</h2>
|
|
1346
|
+
</div>
|
|
1347
|
+
</div>
|
|
1348
|
+
</div>
|
|
1349
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
1350
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
990
1351
|
</div>
|
|
991
|
-
<div class="pf-v5-c-card__body">Body</div>
|
|
992
|
-
<div class="pf-v5-c-card__footer">Footer</div>
|
|
993
|
-
</div>
|
|
994
|
-
|
|
995
|
-
```
|
|
996
1352
|
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
>
|
|
1004
|
-
|
|
1005
|
-
|
|
1353
|
+
<div
|
|
1354
|
+
class="pf-v5-c-card pf-m-clickable pf-m-selectable pf-m-disabled pf-m-secondary"
|
|
1355
|
+
id="card-clickable-selectable-secondary-example-disabled"
|
|
1356
|
+
>
|
|
1357
|
+
<div class="pf-v5-c-card__header">
|
|
1358
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
1359
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
1360
|
+
<div class="pf-v5-c-check">
|
|
1361
|
+
<input
|
|
1362
|
+
class="pf-v5-c-check__input"
|
|
1363
|
+
type="checkbox"
|
|
1364
|
+
disabled
|
|
1365
|
+
id="card-clickable-selectable-secondary-example-disabled-check"
|
|
1366
|
+
name="card-clickable-selectable-secondary-example-disabled-check"
|
|
1367
|
+
aria-labelledby="card-clickable-selectable-secondary-example-disabled"
|
|
1368
|
+
/>
|
|
1369
|
+
<label
|
|
1370
|
+
class="pf-v5-c-check__label pf-m-disabled"
|
|
1371
|
+
for="card-clickable-selectable-secondary-example-disabled-check"
|
|
1372
|
+
id="card-clickable-selectable-secondary-example-disabled-check-label"
|
|
1373
|
+
name="card-clickable-selectable-secondary-example-disabled-check"
|
|
1374
|
+
></label>
|
|
1375
|
+
</div>
|
|
1376
|
+
</div>
|
|
1377
|
+
</div>
|
|
1378
|
+
<div class="pf-v5-c-card__header-main">
|
|
1379
|
+
<div
|
|
1380
|
+
class="pf-v5-c-card__title"
|
|
1381
|
+
id="card-clickable-selectable-secondary-example-disabled-title"
|
|
1382
|
+
>
|
|
1383
|
+
<h2 class="pf-v5-c-card__title-text">
|
|
1384
|
+
<button
|
|
1385
|
+
class="pf-v5-c-button pf-m-link pf-m-inline pf-m-disabled"
|
|
1386
|
+
>Disabled card</button>
|
|
1387
|
+
</h2>
|
|
1388
|
+
</div>
|
|
1389
|
+
</div>
|
|
1390
|
+
</div>
|
|
1391
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
1392
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
1006
1393
|
</div>
|
|
1007
|
-
<div class="pf-v5-c-card__body">Body</div>
|
|
1008
|
-
<div class="pf-v5-c-card__footer">Footer</div>
|
|
1009
|
-
</div>
|
|
1010
1394
|
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
<div class="pf-v5-c-
|
|
1017
|
-
|
|
1018
|
-
|
|
1395
|
+
<div
|
|
1396
|
+
class="pf-v5-c-card pf-m-clickable pf-m-selectable pf-m-selected pf-m-disabled pf-m-secondary"
|
|
1397
|
+
id="card-clickable-selectable-secondary-example-selected-disabled"
|
|
1398
|
+
>
|
|
1399
|
+
<div class="pf-v5-c-card__header">
|
|
1400
|
+
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
1401
|
+
<div class="pf-v5-c-card__selectable-actions">
|
|
1402
|
+
<div class="pf-v5-c-check">
|
|
1403
|
+
<input
|
|
1404
|
+
class="pf-v5-c-check__input"
|
|
1405
|
+
type="checkbox"
|
|
1406
|
+
checked
|
|
1407
|
+
disabled
|
|
1408
|
+
id="card-clickable-selectable-secondary-example-selected-disabled-check"
|
|
1409
|
+
name="card-clickable-selectable-secondary-example-selected-disabled-check"
|
|
1410
|
+
aria-labelledby="card-clickable-selectable-secondary-example-selected-disabled"
|
|
1411
|
+
/>
|
|
1412
|
+
<label
|
|
1413
|
+
class="pf-v5-c-check__label pf-m-disabled"
|
|
1414
|
+
for="card-clickable-selectable-secondary-example-selected-disabled-check"
|
|
1415
|
+
id="card-clickable-selectable-secondary-example-selected-disabled-check-label"
|
|
1416
|
+
name="card-clickable-selectable-secondary-example-selected-disabled-check"
|
|
1417
|
+
></label>
|
|
1418
|
+
</div>
|
|
1419
|
+
</div>
|
|
1420
|
+
</div>
|
|
1421
|
+
<div class="pf-v5-c-card__header-main">
|
|
1422
|
+
<div
|
|
1423
|
+
class="pf-v5-c-card__title"
|
|
1424
|
+
id="card-clickable-selectable-secondary-example-selected-disabled-title"
|
|
1425
|
+
>
|
|
1426
|
+
<h2 class="pf-v5-c-card__title-text">
|
|
1427
|
+
<button
|
|
1428
|
+
class="pf-v5-c-button pf-m-link pf-m-inline pf-m-disabled"
|
|
1429
|
+
>Selected but disabled card</button>
|
|
1430
|
+
</h2>
|
|
1431
|
+
</div>
|
|
1432
|
+
</div>
|
|
1433
|
+
</div>
|
|
1434
|
+
<div class="pf-v5-c-card__body">Body</div>
|
|
1435
|
+
<div class="pf-v5-c-card__footer">Footer</div>
|
|
1019
1436
|
</div>
|
|
1020
|
-
<div class="pf-v5-c-card__body">Body</div>
|
|
1021
|
-
<div class="pf-v5-c-card__footer">Footer</div>
|
|
1022
1437
|
</div>
|
|
1023
1438
|
|
|
1024
1439
|
```
|
|
1025
1440
|
|
|
1026
|
-
###
|
|
1441
|
+
### Secondary
|
|
1027
1442
|
|
|
1028
1443
|
```html
|
|
1029
|
-
<div class="pf-v5-c-card pf-m-
|
|
1444
|
+
<div class="pf-v5-c-card pf-m-secondary" id="card-secondary-example">
|
|
1030
1445
|
<div class="pf-v5-c-card__title">
|
|
1031
1446
|
<h2 class="pf-v5-c-card__title-text">Title</h2>
|
|
1032
1447
|
</div>
|
|
@@ -1125,6 +1540,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1125
1540
|
<input
|
|
1126
1541
|
class="pf-v5-c-check__input"
|
|
1127
1542
|
type="checkbox"
|
|
1543
|
+
aria-label="Standalone check"
|
|
1128
1544
|
id="card-expandable-example-check"
|
|
1129
1545
|
name="card-expandable-example-check"
|
|
1130
1546
|
aria-labelledby="card-expandable-example"
|
|
@@ -1227,6 +1643,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1227
1643
|
<input
|
|
1228
1644
|
class="pf-v5-c-check__input"
|
|
1229
1645
|
type="checkbox"
|
|
1646
|
+
aria-label="Standalone check"
|
|
1230
1647
|
id="card-expandable-image-example-check"
|
|
1231
1648
|
name="card-expandable-image-example-check"
|
|
1232
1649
|
aria-labelledby="card-expandable-image-example"
|
|
@@ -1314,6 +1731,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1314
1731
|
<input
|
|
1315
1732
|
class="pf-v5-c-check__input"
|
|
1316
1733
|
type="checkbox"
|
|
1734
|
+
aria-label="Standalone check"
|
|
1317
1735
|
id="card-expanded-example-check"
|
|
1318
1736
|
name="card-expanded-example-check"
|
|
1319
1737
|
aria-labelledby="card-expanded-example"
|
|
@@ -1398,6 +1816,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1398
1816
|
<input
|
|
1399
1817
|
class="pf-v5-c-check__input"
|
|
1400
1818
|
type="checkbox"
|
|
1819
|
+
aria-label="Standalone check"
|
|
1401
1820
|
id="card-full-height-example-check"
|
|
1402
1821
|
name="card-full-height-example-check"
|
|
1403
1822
|
aria-labelledby="card-full-height-example"
|
|
@@ -1482,6 +1901,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1482
1901
|
<input
|
|
1483
1902
|
class="pf-v5-c-check__input"
|
|
1484
1903
|
type="checkbox"
|
|
1904
|
+
aria-label="Standalone check"
|
|
1485
1905
|
id="card-toggle-on-right-example-check"
|
|
1486
1906
|
name="card-toggle-on-right-example-check"
|
|
1487
1907
|
aria-labelledby="card-toggle-on-right-example"
|
|
@@ -1562,10 +1982,7 @@ A card is a generic rectangular container that can be used to build other compon
|
|
|
1562
1982
|
| `.pf-m-selected` | `.pf-v5-c-card` | Modifies a selectable card for selected state styling. Can be used in addition to indicating selection via the `.pf-v5-c-card__input`. |
|
|
1563
1983
|
| `.pf-m-current` | `.pf-v5-c-card` | Modifies a card that is both clickable and selectable for clicked state styling. |
|
|
1564
1984
|
| `.pf-m-disabled` | `.pf-v5-c-card` | Modifies a card so it is not selectable or clickable. |
|
|
1565
|
-
| `.pf-m-
|
|
1566
|
-
| `.pf-m-selectable-raised` | `.pf-v5-c-card` | Modifies a selectable card so that it is selectable. |
|
|
1567
|
-
| `.pf-m-selected-raised` | `.pf-v5-c-card.pf-m-selectable-raised` | Modifies a selectable card for the selected state. |
|
|
1568
|
-
| `.pf-m-non-selectable-raised` | `.pf-v5-c-card` | Modifies a selectable card so that it is not selectable. |
|
|
1985
|
+
| `.pf-m-secondary` | `.pf-v5-c-card` | Modifies the card to have secondary styling. |
|
|
1569
1986
|
| `.pf-m-flat` | `.pf-v5-c-card` | Modifies the card to have a border instead of a shadow. `.pf-m-flat` is for use in layouts where cards are against a white background. |
|
|
1570
1987
|
| `.pf-m-rounded` | `.pf-v5-c-card` | Modifies the card to have rounded corners. |
|
|
1571
1988
|
| `.pf-m-plain` | `.pf-v5-c-card` | Modifies the card to have no box shadow and no background color. |
|