@patternfly/patternfly 6.0.0-alpha.3 → 6.0.0-alpha.31
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 +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- 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 -9
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -5
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +886 -771
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +426 -306
- package/base/tokens/_tokens-font.scss +59 -35
- package/base/tokens/_tokens-palette.scss +69 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +80 -108
- package/components/AboutModalBox/about-modal-box.scss +64 -78
- package/components/Accordion/accordion.css +96 -175
- package/components/Accordion/accordion.scss +106 -193
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- 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/BackToTop/back-to-top.css +17 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +91 -69
- package/components/Banner/banner.scss +95 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +35 -23
- package/components/Button/button.scss +36 -26
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +12 -10
- package/components/Check/check.scss +17 -12
- 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 +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- 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 +100 -97
- package/components/Content/content.scss +101 -98
- 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 +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- 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 +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +75 -59
- package/components/ExpandableSection/expandable-section.scss +81 -72
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- 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 +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +9 -9
- package/components/InlineEdit/inline-edit.scss +9 -9
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- 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 +68 -125
- package/components/Masthead/masthead.scss +123 -153
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +89 -100
- package/components/MenuToggle/menu-toggle.scss +92 -112
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +162 -133
- package/components/Nav/nav.scss +162 -135
- 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 +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +232 -271
- package/components/Page/page.scss +180 -231
- package/components/Pagination/pagination.css +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +110 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +16 -13
- package/components/Radio/radio.scss +20 -14
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +10 -6
- package/components/Switch/switch.scss +11 -7
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- 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 +176 -159
- package/components/Table/table.scss +177 -165
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +57 -44
- package/components/Toolbar/toolbar.scss +45 -26
- package/components/Tooltip/tooltip.css +76 -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 +9 -0
- package/components/Truncate/truncate.scss +16 -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/Alert/examples/Alert.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 +75 -32
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +125 -17
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +47 -24
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +250 -160
- package/docs/components/Login/examples/Login.md +5 -0
- package/docs/components/Masthead/examples/masthead.md +7 -54
- 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 +151 -138
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -25
- package/docs/components/Nav/examples/Navigation.md +239 -113
- 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/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- 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/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +570 -2803
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +85 -10
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- 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 +139 -79
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
- package/docs/demos/DataList/examples/DataList.md +524 -354
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +793 -277
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +420 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +824 -451
- package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
- package/docs/demos/Table/examples/Table.md +2313 -1887
- package/docs/demos/Tabs/examples/Tabs.md +528 -71
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +870 -1044
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- 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 +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +921 -784
- package/patternfly-base-no-globals.css +921 -784
- package/patternfly-base-theme-dark-unversioned.css +926 -789
- package/patternfly-base.css +926 -789
- package/patternfly-no-globals.css +4838 -4253
- package/patternfly-theme-dark-unversioned.css +4843 -4258
- package/patternfly.css +4843 -4258
- 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 +62 -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/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- 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/Page/themes/dark/page.scss +0 -69
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -36,6 +36,26 @@ cssPrefix: pf-v5-c-badge
|
|
|
36
36
|
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
### Badge as toggle
|
|
40
|
+
|
|
41
|
+
```html
|
|
42
|
+
<span class="pf-v5-c-badge pf-m-read">
|
|
43
|
+
7
|
|
44
|
+
<span class="pf-v5-c-badge__toggle-icon">
|
|
45
|
+
<i class="fas fa-caret-down"></i>
|
|
46
|
+
</span>
|
|
47
|
+
</span>
|
|
48
|
+
<span class="pf-v5-c-badge pf-m-unread">
|
|
49
|
+
7
|
|
50
|
+
<span class="pf-v5-screen-reader">unread messages</span>
|
|
51
|
+
|
|
52
|
+
<span class="pf-v5-c-badge__toggle-icon">
|
|
53
|
+
<i class="fas fa-caret-down"></i>
|
|
54
|
+
</span>
|
|
55
|
+
</span>
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
|
|
39
59
|
## Documentation
|
|
40
60
|
|
|
41
61
|
### Overview
|
|
@@ -47,5 +67,6 @@ Always add a modifier class. Never use the class `.pf-v5-c-badge` on its own.
|
|
|
47
67
|
| Class | Applied to | Outcome |
|
|
48
68
|
| -- | -- | -- |
|
|
49
69
|
| `.pf-v5-c-badge` | `<span>` | Initiates a badge. **Always use with a modifier class.** |
|
|
70
|
+
| `.pf-v5-c-badge__toggle-icon` | `<span>` | Initiates a badge toggle icon. |
|
|
50
71
|
| `.pf-m-read` | `.pf-v5-c-badge` | Applies read badge styling. |
|
|
51
72
|
| `.pf-m-unread` | `.pf-v5-c-badge` | Applies unread badge styling. |
|
|
@@ -6,27 +6,43 @@ cssPrefix: pf-v5-c-banner
|
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
8
8
|
|
|
9
|
-
Banners can be styled with one of
|
|
9
|
+
Banners can be styled with one of 9 different nonstatus colors. A nonstatus banner should only be used when the banner color does not represent status or severity.
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
12
|
<div class="pf-v5-c-banner">Default banner</div>
|
|
13
13
|
|
|
14
14
|
<br />
|
|
15
15
|
|
|
16
|
-
<div class="pf-v5-c-banner pf-m-
|
|
16
|
+
<div class="pf-v5-c-banner pf-m-red">Red banner</div>
|
|
17
17
|
|
|
18
18
|
<br />
|
|
19
19
|
|
|
20
|
-
<div class="pf-v5-c-banner pf-m-
|
|
20
|
+
<div class="pf-v5-c-banner pf-m-orangered">Orangered banner</div>
|
|
21
21
|
|
|
22
22
|
<br />
|
|
23
23
|
|
|
24
|
-
<div class="pf-v5-c-banner pf-m-
|
|
24
|
+
<div class="pf-v5-c-banner pf-m-orange">Orange banner</div>
|
|
25
25
|
|
|
26
26
|
<br />
|
|
27
27
|
|
|
28
28
|
<div class="pf-v5-c-banner pf-m-gold">Gold banner</div>
|
|
29
29
|
|
|
30
|
+
<br />
|
|
31
|
+
|
|
32
|
+
<div class="pf-v5-c-banner pf-m-green">Green banner</div>
|
|
33
|
+
|
|
34
|
+
<br />
|
|
35
|
+
|
|
36
|
+
<div class="pf-v5-c-banner pf-m-cyan">Cyan banner</div>
|
|
37
|
+
|
|
38
|
+
<br />
|
|
39
|
+
|
|
40
|
+
<div class="pf-v5-c-banner pf-m-blue">Blue banner</div>
|
|
41
|
+
|
|
42
|
+
<br />
|
|
43
|
+
|
|
44
|
+
<div class="pf-v5-c-banner pf-m-purple">Purple banner</div>
|
|
45
|
+
|
|
30
46
|
```
|
|
31
47
|
|
|
32
48
|
### Banner with links
|
|
@@ -80,33 +96,33 @@ Banners can be styled with one of 5 different colors. A basic banner should only
|
|
|
80
96
|
When a banner is used to convey status, it is advised to add an icon that also conveys status visually, and to provide screen reader text using `.pf-v5-screen-reader` or an equivalent.
|
|
81
97
|
|
|
82
98
|
```html
|
|
83
|
-
<div class="pf-v5-c-banner">
|
|
99
|
+
<div class="pf-v5-c-banner pf-m-success">
|
|
84
100
|
<div class="pf-v5-l-flex pf-m-space-items-sm">
|
|
85
101
|
<div class="pf-v5-l-flex__item">
|
|
86
|
-
<span class="pf-v5-screen-reader">
|
|
102
|
+
<span class="pf-v5-screen-reader">Success banner:</span>
|
|
87
103
|
|
|
88
|
-
<i class="fas fa-
|
|
104
|
+
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
89
105
|
</div>
|
|
90
|
-
<div class="pf-v5-l-flex__item">
|
|
106
|
+
<div class="pf-v5-l-flex__item">Success banner</div>
|
|
91
107
|
</div>
|
|
92
108
|
</div>
|
|
93
109
|
|
|
94
110
|
<br />
|
|
95
111
|
|
|
96
|
-
<div class="pf-v5-c-banner pf-m-
|
|
112
|
+
<div class="pf-v5-c-banner pf-m-warning">
|
|
97
113
|
<div class="pf-v5-l-flex pf-m-space-items-sm">
|
|
98
114
|
<div class="pf-v5-l-flex__item">
|
|
99
|
-
<span class="pf-v5-screen-reader">
|
|
115
|
+
<span class="pf-v5-screen-reader">Warning banner:</span>
|
|
100
116
|
|
|
101
|
-
<i class="fas fa-
|
|
117
|
+
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
102
118
|
</div>
|
|
103
|
-
<div class="pf-v5-l-flex__item">
|
|
119
|
+
<div class="pf-v5-l-flex__item">Warning banner</div>
|
|
104
120
|
</div>
|
|
105
121
|
</div>
|
|
106
122
|
|
|
107
123
|
<br />
|
|
108
124
|
|
|
109
|
-
<div class="pf-v5-c-banner pf-m-
|
|
125
|
+
<div class="pf-v5-c-banner pf-m-danger">
|
|
110
126
|
<div class="pf-v5-l-flex pf-m-space-items-sm">
|
|
111
127
|
<div class="pf-v5-l-flex__item">
|
|
112
128
|
<span class="pf-v5-screen-reader">Danger banner:</span>
|
|
@@ -119,27 +135,27 @@ When a banner is used to convey status, it is advised to add an icon that also c
|
|
|
119
135
|
|
|
120
136
|
<br />
|
|
121
137
|
|
|
122
|
-
<div class="pf-v5-c-banner pf-m-
|
|
138
|
+
<div class="pf-v5-c-banner pf-m-info">
|
|
123
139
|
<div class="pf-v5-l-flex pf-m-space-items-sm">
|
|
124
140
|
<div class="pf-v5-l-flex__item">
|
|
125
|
-
<span class="pf-v5-screen-reader">
|
|
141
|
+
<span class="pf-v5-screen-reader">Custom status banner:</span>
|
|
126
142
|
|
|
127
|
-
<i class="fas fa-
|
|
143
|
+
<i class="fas fa-info-circle" aria-hidden="true"></i>
|
|
128
144
|
</div>
|
|
129
|
-
<div class="pf-v5-l-flex__item">
|
|
145
|
+
<div class="pf-v5-l-flex__item">Info banner</div>
|
|
130
146
|
</div>
|
|
131
147
|
</div>
|
|
132
148
|
|
|
133
149
|
<br />
|
|
134
150
|
|
|
135
|
-
<div class="pf-v5-c-banner pf-m-
|
|
151
|
+
<div class="pf-v5-c-banner pf-m-custom">
|
|
136
152
|
<div class="pf-v5-l-flex pf-m-space-items-sm">
|
|
137
153
|
<div class="pf-v5-l-flex__item">
|
|
138
|
-
<span class="pf-v5-screen-reader">
|
|
154
|
+
<span class="pf-v5-screen-reader">Custom status banner:</span>
|
|
139
155
|
|
|
140
|
-
<i class="fas fa-
|
|
156
|
+
<i class="fas fa-bell" aria-hidden="true"></i>
|
|
141
157
|
</div>
|
|
142
|
-
<div class="pf-v5-l-flex__item">
|
|
158
|
+
<div class="pf-v5-l-flex__item">Custom banner</div>
|
|
143
159
|
</div>
|
|
144
160
|
</div>
|
|
145
161
|
|
|
@@ -147,15 +163,22 @@ When a banner is used to convey status, it is advised to add an icon that also c
|
|
|
147
163
|
|
|
148
164
|
## Documentation
|
|
149
165
|
|
|
150
|
-
Add a modifier class to the default banner to change the presentation: `.pf-m-blue`, `.pf-m-red`, `.pf-m-green`, or `.pf-m-gold`.
|
|
151
|
-
|
|
152
166
|
### Usage
|
|
153
167
|
|
|
154
168
|
| Class | Applied to | Outcome |
|
|
155
169
|
| -- | -- | -- |
|
|
156
170
|
| `.pf-v5-c-banner` | `<div>` | Initiates a banner. **Required** |
|
|
157
|
-
| `.pf-m-blue` | `.pf-v5-c-banner` | Modifies banner for blue styling. |
|
|
158
171
|
| `.pf-m-red` | `.pf-v5-c-banner` | Modifies banner for red styling. |
|
|
159
|
-
| `.pf-m-
|
|
172
|
+
| `.pf-m-orangered` | `.pf-v5-c-banner` | Modifies banner for orangered styling. |
|
|
173
|
+
| `.pf-m-orange` | `.pf-v5-c-banner` | Modifies banner for orange styling. |
|
|
160
174
|
| `.pf-m-gold` | `.pf-v5-c-banner` | Modifies banner for gold styling. |
|
|
175
|
+
| `.pf-m-green` | `.pf-v5-c-banner` | Modifies banner for green styling. |
|
|
176
|
+
| `.pf-m-cyan` | `.pf-v5-c-banner` | Modifies banner for cyan styling. |
|
|
177
|
+
| `.pf-m-blue` | `.pf-v5-c-banner` | Modifies banner for blue styling. |
|
|
178
|
+
| `.pf-m-purple` | `.pf-v5-c-banner` | Modifies banner for purple styling. |
|
|
179
|
+
| `.pf-m-success` | `.pf-v5-c-banner` | Modifies banner for success status styling. |
|
|
180
|
+
| `.pf-m-warning` | `.pf-v5-c-banner` | Modifies banner for warning status styling. |
|
|
181
|
+
| `.pf-m-danger` | `.pf-v5-c-banner` | Modifies banner for danger status styling. |
|
|
182
|
+
| `.pf-m-info` | `.pf-v5-c-banner` | Modifies banner for info status styling. |
|
|
183
|
+
| `.pf-m-custom` | `.pf-v5-c-banner` | Modifies banner for custom status styling. |
|
|
161
184
|
| `.pf-m-sticky` | `.pf-v5-c-banner` | Modifies banner to be sticky to the top of its container. |
|
|
@@ -1,48 +1,91 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Brand
|
|
3
3
|
section: components
|
|
4
|
-
|
|
4
|
+
---import './Brand.css'
|
|
5
|
+
|
|
6
|
+
## Examples
|
|
5
7
|
|
|
6
8
|
### Basic
|
|
7
9
|
|
|
8
10
|
```html
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
<div class="show-light">
|
|
12
|
+
<img
|
|
13
|
+
class="pf-v5-c-brand"
|
|
14
|
+
src="/assets/images/pf_logo.svg"
|
|
15
|
+
alt="PatternFly logo"
|
|
16
|
+
/>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="show-dark">
|
|
20
|
+
<img
|
|
21
|
+
class="pf-v5-c-brand"
|
|
22
|
+
src="/assets/images/pf_logo_white.svg"
|
|
23
|
+
alt="PatternFly logo"
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
14
26
|
|
|
15
27
|
```
|
|
16
28
|
|
|
17
29
|
### Responsive
|
|
18
30
|
|
|
19
31
|
```html
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
32
|
+
<div class="show-light">
|
|
33
|
+
<picture
|
|
34
|
+
class="pf-v5-c-brand pf-m-picture"
|
|
35
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-sm: 60px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
36
|
+
>
|
|
37
|
+
<source
|
|
38
|
+
media="(min-width: 1200px)"
|
|
39
|
+
srcset="/assets/images/pf-c-brand__logo-on-xl.svg"
|
|
40
|
+
/>
|
|
41
|
+
<source
|
|
42
|
+
media="(min-width: 992px)"
|
|
43
|
+
srcset="/assets/images/pf-c-brand__logo-on-lg.svg"
|
|
44
|
+
/>
|
|
45
|
+
<source
|
|
46
|
+
media="(min-width: 768px)"
|
|
47
|
+
srcset="/assets/images/pf-c-brand__logo-on-md.svg"
|
|
48
|
+
/>
|
|
49
|
+
<source
|
|
50
|
+
media="(min-width: 576px)"
|
|
51
|
+
srcset="/assets/images/pf-c-brand__logo-on-sm.svg"
|
|
52
|
+
/>
|
|
53
|
+
<source srcset="/assets/images/pf-c-brand__logo.svg" />
|
|
54
|
+
<img
|
|
55
|
+
src="/assets/images/pf_logo.svg"
|
|
56
|
+
alt="Fallback patternFly default logo"
|
|
57
|
+
/>
|
|
58
|
+
</picture>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<div class="show-dark">
|
|
62
|
+
<picture
|
|
63
|
+
class="pf-v5-c-brand pf-m-picture"
|
|
64
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-sm: 60px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
65
|
+
>
|
|
66
|
+
<source
|
|
67
|
+
media="(min-width: 1200px)"
|
|
68
|
+
srcset="/assets/images/pf-c-brand__logo-on-xl-white.svg"
|
|
69
|
+
/>
|
|
70
|
+
<source
|
|
71
|
+
media="(min-width: 992px)"
|
|
72
|
+
srcset="/assets/images/pf-c-brand__logo-on-lg-white.svg"
|
|
73
|
+
/>
|
|
74
|
+
<source
|
|
75
|
+
media="(min-width: 768px)"
|
|
76
|
+
srcset="/assets/images/pf-c-brand__logo-on-md-white.svg"
|
|
77
|
+
/>
|
|
78
|
+
<source
|
|
79
|
+
media="(min-width: 576px)"
|
|
80
|
+
srcset="/assets/images/pf-c-brand__logo-on-sm-white.svg"
|
|
81
|
+
/>
|
|
82
|
+
<source srcset="/assets/images/pf-c-brand__logo-white.svg" />
|
|
83
|
+
<img
|
|
84
|
+
src="/assets/images/pf_logo-white.svg"
|
|
85
|
+
alt="Fallback patternFly default logo"
|
|
86
|
+
/>
|
|
87
|
+
</picture>
|
|
88
|
+
</div>
|
|
46
89
|
|
|
47
90
|
```
|
|
48
91
|
|
|
@@ -50,10 +50,20 @@ cssPrefix: pf-v5-c-button
|
|
|
50
50
|
<button class="pf-v5-c-button pf-m-inline pf-m-link" type="button">Inline link</button>
|
|
51
51
|
<br />
|
|
52
52
|
<br />
|
|
53
|
+
<span>Default plain button:</span>
|
|
53
54
|
<button class="pf-v5-c-button pf-m-plain" type="button" aria-label="Remove">
|
|
54
55
|
<i class="fas fa-times" aria-hidden="true"></i>
|
|
55
56
|
</button>
|
|
56
57
|
<br />
|
|
58
|
+
<span>No padding plain button:</span>
|
|
59
|
+
<button
|
|
60
|
+
class="pf-v5-c-button pf-m-plain pf-m-no-padding"
|
|
61
|
+
type="button"
|
|
62
|
+
aria-label="Remove"
|
|
63
|
+
>
|
|
64
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
65
|
+
</button>
|
|
66
|
+
<br />
|
|
57
67
|
<br />
|
|
58
68
|
<button class="pf-v5-c-button pf-m-control" type="button">Control</button>
|
|
59
69
|
|
|
@@ -65,10 +75,11 @@ cssPrefix: pf-v5-c-button
|
|
|
65
75
|
<i class="fas fa-copy" aria-hidden="true"></i>
|
|
66
76
|
</button>
|
|
67
77
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Small buttons
|
|
71
81
|
|
|
82
|
+
```html
|
|
72
83
|
<button class="pf-v5-c-button pf-m-primary pf-m-small" type="button">Primary</button>
|
|
73
84
|
|
|
74
85
|
<button class="pf-v5-c-button pf-m-secondary pf-m-small" type="button">Secondary</button>
|
|
@@ -533,6 +544,7 @@ Semantic buttons and links are important for usability as well as accessibility.
|
|
|
533
544
|
| `.pf-m-warning` | `.pf-v5-c-button` | Modifies for warning styles. |
|
|
534
545
|
| `.pf-m-link` | `.pf-v5-c-button` | Modifies for link styles. This button has no background or border and is styled as a link. This button would commonly appear in a form and may include an icon. |
|
|
535
546
|
| `.pf-m-plain` | `.pf-v5-c-button` | Modifies for icon styles. This button has no background or border, uses a standard text color, and is used for `.pf-m-plain` icon buttons such as close, expand, kebab, etc. |
|
|
547
|
+
| `.pf-m-no-padding` | `.pf-v5-c-button.pf-m-plain` | Modifies a plain button to remove padding. This modifier should only be used when the button is inline within a sentence or block of text. Adjacent plain buttons without padding should always have spacing between them. |
|
|
536
548
|
| `.pf-m-inline` | `.pf-v5-c-button.pf-m-link` | Modifies for inline styles. This button is presented similar to a normal link and has no padding and is displayed inline with other inline content. When used as a `<span>`, the text will flow inline with text around it. |
|
|
537
549
|
| `.pf-m-block` | `.pf-v5-c-button` | Creates a block level button. |
|
|
538
550
|
| `.pf-m-control` | `.pf-v5-c-button` | Modifies for control styles. **Note:** This modifier should only be used when using buttons in the Input Group or Clipboard Copy components. |
|
|
@@ -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">
|
|
@@ -293,7 +347,61 @@ cssPrefix: pf-v5-c-card
|
|
|
293
347
|
<div class="pf-v5-c-card" id="card-image-head-example">
|
|
294
348
|
<div class="pf-v5-c-card__header">
|
|
295
349
|
<div class="pf-v5-c-card__header-main">
|
|
296
|
-
<
|
|
350
|
+
<svg
|
|
351
|
+
version="1.1"
|
|
352
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
353
|
+
viewBox="0 0 706.3 132.5"
|
|
354
|
+
fill="currentColor"
|
|
355
|
+
width="300px"
|
|
356
|
+
>
|
|
357
|
+
<g>
|
|
358
|
+
<path
|
|
359
|
+
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
|
|
360
|
+
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
|
|
361
|
+
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
|
|
362
|
+
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
|
|
363
|
+
c-0.6-0.3-1.4-0.4-2.3-0.4h-8.6v9.4H212.7z"
|
|
364
|
+
/>
|
|
365
|
+
<path
|
|
366
|
+
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
|
|
367
|
+
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"
|
|
368
|
+
/>
|
|
369
|
+
<path d="M317.3,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H317.3z" />
|
|
370
|
+
<path d="M370.2,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H370.2z" />
|
|
371
|
+
<path
|
|
372
|
+
d="M408.5,83.9V48.6h24.1v6.5h-17.3v7.4h10.2v6.5h-10.2v8.5h18.4v6.5H408.5z"
|
|
373
|
+
/>
|
|
374
|
+
<path
|
|
375
|
+
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
|
|
376
|
+
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
|
|
377
|
+
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
|
|
378
|
+
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
|
|
379
|
+
H478.9z"
|
|
380
|
+
/>
|
|
381
|
+
<path
|
|
382
|
+
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
|
|
383
|
+
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
|
|
384
|
+
c0-0.5,0-0.9,0-1.2V48.6h6.8v35.4H541.9z"
|
|
385
|
+
/>
|
|
386
|
+
<path
|
|
387
|
+
d="M578.4,83.9V48.6h23.7v6.5h-16.9v7.4H596v6.5h-10.7v15H578.4z"
|
|
388
|
+
/>
|
|
389
|
+
<path d="M629.8,83.9V48.6h6.8v28.8h17.1v6.6H629.8z" />
|
|
390
|
+
<path
|
|
391
|
+
d="M686.4,83.9V70.2l-13.1-21.6h7.7l8.7,14.5l8.7-14.5h7.7l-13.1,21.6v13.8H686.4z"
|
|
392
|
+
/>
|
|
393
|
+
</g>
|
|
394
|
+
<g>
|
|
395
|
+
<path
|
|
396
|
+
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
|
|
397
|
+
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
|
|
398
|
+
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
|
|
399
|
+
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
|
|
400
|
+
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
|
|
401
|
+
L101.1,70z"
|
|
402
|
+
/>
|
|
403
|
+
</g>
|
|
404
|
+
</svg>
|
|
297
405
|
</div>
|
|
298
406
|
</div>
|
|
299
407
|
<div class="pf-v5-c-card__title">
|
|
@@ -411,9 +519,9 @@ cssPrefix: pf-v5-c-card
|
|
|
411
519
|
|
|
412
520
|
<label
|
|
413
521
|
class="pf-v5-c-check__label"
|
|
522
|
+
for="card-selectable-example-check"
|
|
414
523
|
id="card-selectable-example-check-label"
|
|
415
524
|
name="card-selectable-example-check"
|
|
416
|
-
for="card-selectable-example-check"
|
|
417
525
|
></label>
|
|
418
526
|
</div>
|
|
419
527
|
</div>
|
|
@@ -447,9 +555,9 @@ cssPrefix: pf-v5-c-card
|
|
|
447
555
|
|
|
448
556
|
<label
|
|
449
557
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
558
|
+
for="card-selectable-example-disabled-check"
|
|
450
559
|
id="card-selectable-example-disabled-check-label"
|
|
451
560
|
name="card-selectable-example-disabled-check"
|
|
452
|
-
for="card-selectable-example-disabled-check"
|
|
453
561
|
></label>
|
|
454
562
|
</div>
|
|
455
563
|
</div>
|
|
@@ -487,9 +595,9 @@ cssPrefix: pf-v5-c-card
|
|
|
487
595
|
|
|
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,7 @@ cssPrefix: pf-v5-c-card
|
|
|
510
618
|
|
|
511
619
|
```
|
|
512
620
|
|
|
513
|
-
### Single
|
|
621
|
+
### Single selectable
|
|
514
622
|
|
|
515
623
|
```html
|
|
516
624
|
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
@@ -529,9 +637,9 @@ cssPrefix: pf-v5-c-card
|
|
|
529
637
|
|
|
530
638
|
<label
|
|
531
639
|
class="pf-v5-c-radio__label"
|
|
640
|
+
for="card-single-selectable-example-radio"
|
|
532
641
|
id="card-single-selectable-example-radio-label"
|
|
533
642
|
name="card-single-selectable-example-radio"
|
|
534
|
-
for="card-single-selectable-example-radio"
|
|
535
643
|
></label>
|
|
536
644
|
</div>
|
|
537
645
|
</div>
|
|
@@ -568,9 +676,9 @@ cssPrefix: pf-v5-c-card
|
|
|
568
676
|
|
|
569
677
|
<label
|
|
570
678
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
679
|
+
for="card-single-selectable-example-disabled-radio"
|
|
571
680
|
id="card-single-selectable-example-disabled-radio-label"
|
|
572
681
|
name="card-single-selectable-example-disabled-radio"
|
|
573
|
-
for="card-single-selectable-example-disabled-radio"
|
|
574
682
|
></label>
|
|
575
683
|
</div>
|
|
576
684
|
</div>
|
|
@@ -608,9 +716,9 @@ cssPrefix: pf-v5-c-card
|
|
|
608
716
|
|
|
609
717
|
<label
|
|
610
718
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
719
|
+
for="card-single-selectable-example-selected-disabled-radio"
|
|
611
720
|
id="card-single-selectable-example-selected-disabled-radio-label"
|
|
612
721
|
name="card-single-selectable-example-selected-disabled-radio"
|
|
613
|
-
for="card-single-selectable-example-selected-disabled-radio"
|
|
614
722
|
></label>
|
|
615
723
|
</div>
|
|
616
724
|
</div>
|
|
@@ -650,9 +758,9 @@ cssPrefix: pf-v5-c-card
|
|
|
650
758
|
|
|
651
759
|
<label
|
|
652
760
|
class="pf-v5-c-radio__label"
|
|
761
|
+
for="card-clickable-example-sr-only-radio"
|
|
653
762
|
id="card-clickable-example-sr-only-radio-label"
|
|
654
763
|
name="card-clickable-example-sr-only-radio"
|
|
655
|
-
for="card-clickable-example-sr-only-radio"
|
|
656
764
|
></label>
|
|
657
765
|
</div>
|
|
658
766
|
</div>
|
|
@@ -686,9 +794,9 @@ cssPrefix: pf-v5-c-card
|
|
|
686
794
|
|
|
687
795
|
<label
|
|
688
796
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
797
|
+
for="card-clickable-example-disabled-sr-only-radio"
|
|
689
798
|
id="card-clickable-example-disabled-sr-only-radio-label"
|
|
690
799
|
name="card-clickable-example-disabled-sr-only-radio"
|
|
691
|
-
for="card-clickable-example-disabled-sr-only-radio"
|
|
692
800
|
></label>
|
|
693
801
|
</div>
|
|
694
802
|
</div>
|
|
@@ -725,9 +833,9 @@ cssPrefix: pf-v5-c-card
|
|
|
725
833
|
|
|
726
834
|
<label
|
|
727
835
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
836
|
+
for="card-clickable-example-selected-disabled-sr-only-radio"
|
|
728
837
|
id="card-clickable-example-selected-disabled-sr-only-radio-label"
|
|
729
838
|
name="card-clickable-example-selected-disabled-sr-only-radio"
|
|
730
|
-
for="card-clickable-example-selected-disabled-sr-only-radio"
|
|
731
839
|
></label>
|
|
732
840
|
</div>
|
|
733
841
|
</div>
|
|
@@ -748,7 +856,7 @@ cssPrefix: pf-v5-c-card
|
|
|
748
856
|
|
|
749
857
|
```
|
|
750
858
|
|
|
751
|
-
### Clickable and
|
|
859
|
+
### Clickable and selectable
|
|
752
860
|
|
|
753
861
|
```html
|
|
754
862
|
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
@@ -770,9 +878,9 @@ cssPrefix: pf-v5-c-card
|
|
|
770
878
|
|
|
771
879
|
<label
|
|
772
880
|
class="pf-v5-c-check__label"
|
|
881
|
+
for="card-clickable-selectable-example-check"
|
|
773
882
|
id="card-clickable-selectable-example-check-label"
|
|
774
883
|
name="card-clickable-selectable-example-check"
|
|
775
|
-
for="card-clickable-selectable-example-check"
|
|
776
884
|
></label>
|
|
777
885
|
</div>
|
|
778
886
|
</div>
|
|
@@ -811,9 +919,9 @@ cssPrefix: pf-v5-c-card
|
|
|
811
919
|
|
|
812
920
|
<label
|
|
813
921
|
class="pf-v5-c-check__label"
|
|
922
|
+
for="card-clickable-selectable-current-example-check"
|
|
814
923
|
id="card-clickable-selectable-current-example-check-label"
|
|
815
924
|
name="card-clickable-selectable-current-example-check"
|
|
816
|
-
for="card-clickable-selectable-current-example-check"
|
|
817
925
|
></label>
|
|
818
926
|
</div>
|
|
819
927
|
</div>
|
|
@@ -853,9 +961,9 @@ cssPrefix: pf-v5-c-card
|
|
|
853
961
|
|
|
854
962
|
<label
|
|
855
963
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
964
|
+
for="card-clickable-selectable-example-disabled-check"
|
|
856
965
|
id="card-clickable-selectable-example-disabled-check-label"
|
|
857
966
|
name="card-clickable-selectable-example-disabled-check"
|
|
858
|
-
for="card-clickable-selectable-example-disabled-check"
|
|
859
967
|
></label>
|
|
860
968
|
</div>
|
|
861
969
|
</div>
|
|
@@ -897,9 +1005,9 @@ cssPrefix: pf-v5-c-card
|
|
|
897
1005
|
|
|
898
1006
|
<label
|
|
899
1007
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
1008
|
+
for="card-clickable-selectable-example-selected-disabled-check"
|
|
900
1009
|
id="card-clickable-selectable-example-selected-disabled-check-label"
|
|
901
1010
|
name="card-clickable-selectable-example-selected-disabled-check"
|
|
902
|
-
for="card-clickable-selectable-example-selected-disabled-check"
|
|
903
1011
|
></label>
|
|
904
1012
|
</div>
|
|
905
1013
|
</div>
|