@patternfly/patternfly 6.0.0-alpha.8 → 6.0.0-alpha.81
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/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/base/_common.scss +8 -4
- package/base/_globals.scss +4 -6
- package/base/_variables.scss +2 -7
- package/base/patternfly-common.css +8 -4
- package/base/patternfly-globals.css +4 -3
- package/base/patternfly-variables.css +884 -871
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +311 -287
- package/base/tokens/_tokens-default.scss +425 -329
- package/base/tokens/_tokens-font.scss +29 -36
- package/base/tokens/_tokens-palette.scss +71 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +57 -94
- package/components/AboutModalBox/about-modal-box.scss +37 -62
- package/components/Accordion/accordion.css +85 -177
- package/components/Accordion/accordion.scss +96 -195
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +59 -84
- package/components/Alert/alert.scss +62 -78
- 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 +12 -12
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/BackgroundImage/background-image.css +5 -1
- package/components/BackgroundImage/background-image.scss +5 -1
- package/components/Badge/badge.css +23 -15
- package/components/Badge/badge.scss +25 -17
- package/components/Banner/banner.css +90 -64
- package/components/Banner/banner.scss +95 -32
- package/components/Breadcrumb/breadcrumb.css +19 -16
- package/components/Breadcrumb/breadcrumb.scss +18 -16
- package/components/Button/button.css +419 -353
- package/components/Button/button.scss +476 -476
- package/components/CalendarMonth/calendar-month.css +61 -92
- package/components/CalendarMonth/calendar-month.scss +68 -63
- package/components/Card/card.css +100 -194
- package/components/Card/card.scss +121 -237
- package/components/Check/check.css +24 -21
- package/components/Check/check.scss +25 -23
- package/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/components/ClipboardCopy/clipboard-copy.scss +34 -26
- package/components/CodeBlock/code-block.css +22 -9
- package/components/CodeBlock/code-block.scss +22 -10
- package/components/CodeEditor/code-editor.css +94 -72
- package/components/CodeEditor/code-editor.scss +104 -82
- package/components/Content/content.css +7 -7
- package/components/Content/content.scss +7 -7
- package/components/DataList/data-list.css +101 -158
- package/components/DataList/data-list.scss +95 -154
- package/components/DatePicker/date-picker.css +13 -14
- package/components/DatePicker/date-picker.scss +12 -16
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/Divider/divider.css +91 -169
- package/components/Divider/divider.scss +60 -77
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/Drawer/drawer.css +112 -113
- package/components/Drawer/drawer.scss +134 -134
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/DualListSelector/dual-list-selector.css +56 -48
- package/components/DualListSelector/dual-list-selector.scss +57 -50
- package/components/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +64 -62
- package/components/ExpandableSection/expandable-section.scss +73 -76
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Form/form.css +68 -114
- package/components/Form/form.scss +65 -126
- package/components/FormControl/form-control.css +86 -111
- package/components/FormControl/form-control.scss +88 -92
- package/components/HelperText/helper-text.css +28 -34
- package/components/HelperText/helper-text.scss +30 -40
- package/components/Hint/hint.css +28 -21
- package/components/Hint/hint.scss +28 -24
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/InlineEdit/inline-edit.css +8 -7
- package/components/InlineEdit/inline-edit.scss +8 -7
- package/components/InputGroup/input-group.css +22 -38
- package/components/InputGroup/input-group.scss +21 -29
- package/components/JumpLinks/jump-links.css +34 -34
- package/components/JumpLinks/jump-links.scss +35 -36
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +380 -355
- package/components/Label/label.scss +434 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +70 -97
- package/components/Login/login.scss +56 -64
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +3 -0
- package/components/Menu/menu.scss +7 -3
- package/components/MenuToggle/menu-toggle.css +8 -8
- package/components/MenuToggle/menu-toggle.scss +8 -10
- package/components/ModalBox/modal-box.css +59 -52
- package/components/ModalBox/modal-box.scss +57 -53
- package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
- package/components/Nav/nav.css +240 -918
- package/components/Nav/nav.scss +300 -1082
- package/components/NotificationBadge/notification-badge.css +56 -81
- package/components/NotificationBadge/notification-badge.scss +60 -97
- package/components/NotificationDrawer/notification-drawer.css +104 -115
- package/components/NotificationDrawer/notification-drawer.scss +106 -116
- package/components/NumberInput/number-input.css +8 -8
- package/components/NumberInput/number-input.scss +7 -12
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +56 -164
- package/components/Page/page.scss +60 -154
- package/components/Pagination/pagination.css +57 -124
- package/components/Pagination/pagination.scss +40 -128
- package/components/Panel/panel.css +27 -23
- package/components/Panel/panel.scss +29 -26
- package/components/Popover/popover.css +42 -53
- package/components/Popover/popover.scss +46 -55
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/components/ProgressStepper/progress-stepper.css +72 -69
- package/components/ProgressStepper/progress-stepper.scss +65 -65
- package/components/Radio/radio.css +27 -20
- package/components/Radio/radio.scss +28 -22
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +35 -52
- package/components/SimpleList/simple-list.scss +41 -51
- package/components/Skeleton/skeleton.css +18 -20
- package/components/Skeleton/skeleton.scss +17 -21
- package/components/SkipToContent/skip-to-content.css +6 -3
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +34 -30
- package/components/Slider/slider.scss +46 -43
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +42 -38
- package/components/Switch/switch.scss +48 -43
- package/components/TabContent/tab-content.css +17 -11
- package/components/TabContent/tab-content.scss +18 -14
- package/components/Table/table-grid.css +29 -45
- package/components/Table/table-grid.scss +40 -53
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +76 -74
- package/components/Table/table-tree-view.scss +44 -39
- package/components/Table/table.css +67 -93
- package/components/Table/table.scss +83 -105
- package/components/Tabs/tabs.css +143 -175
- package/components/Tabs/tabs.scss +159 -217
- package/components/Tile/tile.css +40 -81
- package/components/Tile/tile.scss +38 -84
- 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 +54 -48
- package/components/ToggleGroup/toggle-group.scss +62 -50
- package/components/Toolbar/toolbar.css +2527 -1031
- package/components/Toolbar/toolbar.scss +233 -520
- package/components/Tooltip/tooltip.css +16 -18
- package/components/Tooltip/tooltip.scss +20 -24
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- 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 +4 -0
- package/docs/components/Button/examples/Button.md +1419 -93
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +48 -224
- package/docs/components/Card/examples/Card.md +550 -133
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/DatePicker/examples/DatePicker.md +5 -2
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +30 -5
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- 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 +3090 -703
- package/docs/components/LogViewer/examples/LogViewer.md +180 -180
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.md +507 -473
- package/docs/components/MenuToggle/examples/MenuToggle.md +106 -114
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +1 -23
- package/docs/components/Nav/examples/Navigation.md +209 -356
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- 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.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +1 -1
- 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.md +8 -8
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- 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 +985 -3355
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +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.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +241 -187
- package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
- package/docs/demos/Dashboard/examples/Dashboard.md +102 -29
- package/docs/demos/DataList/examples/DataList.md +999 -938
- 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 +1183 -832
- package/docs/demos/Skeleton/examples/Skeleton.md +102 -29
- package/docs/demos/Table/examples/Table.md +3811 -3456
- package/docs/demos/Tabs/examples/Tabs.md +636 -194
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1316 -1478
- package/docs/demos/Wizard/examples/Wizard.md +918 -261
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +897 -880
- package/patternfly-base-no-globals.css +897 -880
- package/patternfly-base-theme-dark-unversioned.css +890 -872
- package/patternfly-base.css +890 -872
- package/patternfly-no-globals.css +8107 -8027
- package/patternfly-theme-dark-unversioned.css +8111 -8030
- package/patternfly.css +8111 -8030
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- 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/CalendarMonth/themes/dark/calendar-month.scss +0 -37
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DatePicker/themes/dark/date-picker.scss +0 -8
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
- 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/components/TreeView/themes/dark/tree-view.scss +0 -8
- package/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
package/components/Card/card.css
CHANGED
|
@@ -1,113 +1,92 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
--pf-v5-c-card--
|
|
4
|
-
--pf-v5-c-card--
|
|
5
|
-
--pf-v5-c-card--
|
|
6
|
-
--pf-v5-c-card--
|
|
7
|
-
--pf-v5-c-card--
|
|
8
|
-
--pf-v5-c-card--
|
|
9
|
-
--pf-v5-c-
|
|
10
|
-
--pf-v5-c-
|
|
11
|
-
--pf-v5-c-
|
|
12
|
-
--pf-v5-c-
|
|
13
|
-
--pf-v5-c-card__title-
|
|
14
|
-
--pf-v5-c-
|
|
15
|
-
--pf-v5-c-
|
|
16
|
-
--pf-v5-c-
|
|
17
|
-
--pf-v5-c-
|
|
1
|
+
:where(:root),
|
|
2
|
+
:where(.pf-v5-c-card) {
|
|
3
|
+
--pf-v5-c-card--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
4
|
+
--pf-v5-c-card--BorderColor: var(--pf-t--global--border--color--default);
|
|
5
|
+
--pf-v5-c-card--BorderStyle: solid;
|
|
6
|
+
--pf-v5-c-card--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
7
|
+
--pf-v5-c-card--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
8
|
+
--pf-v5-c-card--first-child--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
9
|
+
--pf-v5-c-card--child--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
10
|
+
--pf-v5-c-card--child--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
11
|
+
--pf-v5-c-card--child--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
12
|
+
--pf-v5-c-card--c-divider--child--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
13
|
+
--pf-v5-c-card__title--not--last-child--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
14
|
+
--pf-v5-c-card__title-text--Color: var(--pf-t--global--text--color--regular);
|
|
15
|
+
--pf-v5-c-card__title-text--FontFamily: var(--pf-t--global--font--family--heading);
|
|
16
|
+
--pf-v5-c-card__title-text--FontSize: var(--pf-t--global--font--size--heading--sm);
|
|
17
|
+
--pf-v5-c-card__title-text--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
18
|
+
--pf-v5-c-card__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
19
|
+
--pf-v5-c-card--c-button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
|
20
|
+
--pf-v5-c-card__body--FontSize: var(--pf-t--global--font--size--body--default);
|
|
21
|
+
--pf-v5-c-card__footer--FontSize: var(--pf-t--global--font--size--body--default);
|
|
22
|
+
--pf-v5-c-card__footer--Color: var(--pf-t--global--text--color--subtle);
|
|
23
|
+
--pf-v5-c-card__actions--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
24
|
+
--pf-v5-c-card__actions--Gap: var(--pf-t--global--spacer--sm);
|
|
18
25
|
--pf-v5-c-card__actions--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
19
26
|
--pf-v5-c-card__actions--MarginBottom: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
20
27
|
--pf-v5-c-card__header-toggle--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
21
|
-
--pf-v5-c-card__header-toggle--MarginRight: var(--pf-
|
|
28
|
+
--pf-v5-c-card__header-toggle--MarginRight: var(--pf-t--global--spacer--xs);
|
|
22
29
|
--pf-v5-c-card__header-toggle--MarginBottom: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
23
|
-
--pf-v5-c-card__header-toggle--MarginLeft: calc(var(--pf-
|
|
30
|
+
--pf-v5-c-card__header-toggle--MarginLeft: calc(var(--pf-t--global--spacer--md) * -1);
|
|
24
31
|
--pf-v5-c-card__header-toggle-icon--Transition: var(--pf-v5-global--Transition);
|
|
25
32
|
--pf-v5-c-card--m-expanded__header-toggle-icon--Rotate: 90deg;
|
|
26
|
-
--pf-v5-c-card--m-selectable--BorderWidth: var(--pf-v5-
|
|
27
|
-
--pf-v5-c-card--m-selectable--m-selected--
|
|
28
|
-
--pf-v5-c-card--m-selectable--m-selected--
|
|
29
|
-
--pf-v5-c-card--m-selectable--hover--
|
|
30
|
-
--pf-v5-c-card--m-selectable--
|
|
31
|
-
--pf-v5-c-card--m-selectable--focus--
|
|
32
|
-
--pf-v5-c-card--m-selectable--focus--BorderColor: var(--pf-
|
|
33
|
-
--pf-v5-c-card--m-selectable--m-selected--focus--
|
|
34
|
-
--pf-v5-c-card--m-selectable--m-
|
|
35
|
-
--pf-v5-c-card--m-selectable--m-
|
|
36
|
-
--pf-v5-c-card--m-selectable--m-
|
|
37
|
-
--pf-v5-c-card--m-selectable--m-
|
|
38
|
-
--pf-v5-c-card--m-selectable--m-
|
|
39
|
-
--pf-v5-c-card--m-selectable--m-clickable--m-
|
|
40
|
-
--pf-v5-c-card--m-selectable--m-clickable--m-
|
|
41
|
-
--pf-v5-c-card--m-
|
|
42
|
-
--pf-v5-c-card--m-
|
|
43
|
-
--pf-v5-c-card--m-
|
|
44
|
-
--pf-v5-c-card--m-
|
|
45
|
-
--pf-v5-c-card--m-
|
|
46
|
-
--pf-v5-c-card--m-
|
|
47
|
-
--pf-v5-c-card--m-
|
|
48
|
-
--pf-v5-c-card--m-
|
|
49
|
-
--pf-v5-c-card--m-
|
|
50
|
-
--pf-v5-c-card--m-
|
|
51
|
-
--pf-v5-c-card--m-
|
|
52
|
-
--pf-v5-c-card--m-
|
|
53
|
-
--pf-v5-c-card--m-
|
|
54
|
-
--pf-v5-c-card--m-
|
|
55
|
-
--pf-v5-c-card--m-
|
|
56
|
-
--pf-v5-c-card--m-
|
|
57
|
-
--pf-v5-c-card--m-
|
|
58
|
-
--pf-v5-c-card--m-
|
|
59
|
-
--pf-v5-c-card--m-
|
|
60
|
-
--pf-v5-c-card--m-
|
|
61
|
-
--pf-v5-c-card--m-selectable-raised--active--before--BackgroundColor: var(--pf-v5-global--active-color--400);
|
|
62
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--BackgroundColor: var(--pf-v5-global--active-color--100);
|
|
63
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
|
64
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base: -0.5rem;
|
|
65
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base);
|
|
66
|
-
--pf-v5-c-card--m-flat--m-selectable-raised--m-selected-raised--TranslateY: calc(var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base) + var(--pf-v5-c-card--m-flat--BorderWidth));
|
|
67
|
-
--pf-v5-c-card--m-rounded--m-selectable-raised--m-selected-raised--TranslateY: calc(var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base) + var(--pf-v5-c-card--m-rounded--BorderRadius));
|
|
68
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--ZIndex: var(--pf-v5-global--ZIndex--xs);
|
|
69
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--Transition: transform .25s linear, box-shadow .25s linear;
|
|
70
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--Transition: transform .25s linear;
|
|
71
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--TranslateY: calc(var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY) * -1);
|
|
72
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--ScaleY: 2;
|
|
73
|
-
--pf-v5-c-card--m-non-selectable-raised--BackgroundColor: var(--pf-v5-global--BackgroundColor--light-200);
|
|
74
|
-
--pf-v5-c-card--m-non-selectable-raised--before--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
|
75
|
-
--pf-v5-c-card--m-non-selectable-raised--before--ScaleY: 2;
|
|
76
|
-
--pf-v5-c-card--m-flat--m-non-selectable-raised--before--BorderColor: var(--pf-v5-global--disabled-color--200);
|
|
77
|
-
--pf-v5-c-card--m-compact__body--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
78
|
-
--pf-v5-c-card--m-compact__footer--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
79
|
-
--pf-v5-c-card--m-compact--first-child--PaddingTop: var(--pf-v5-global--spacer--md);
|
|
80
|
-
--pf-v5-c-card--m-compact--child--PaddingRight: var(--pf-v5-global--spacer--md);
|
|
81
|
-
--pf-v5-c-card--m-compact--child--PaddingBottom: var(--pf-v5-global--spacer--md);
|
|
82
|
-
--pf-v5-c-card--m-compact--child--PaddingLeft: var(--pf-v5-global--spacer--md);
|
|
83
|
-
--pf-v5-c-card--m-compact--c-divider--child--PaddingTop: var(--pf-v5-global--spacer--md);
|
|
84
|
-
--pf-v5-c-card--m-compact__title--not--last-child--PaddingBottom: var(--pf-v5-global--spacer--sm);
|
|
85
|
-
--pf-v5-c-card--m-display-lg__title-text--FontSize: var(--pf-v5-global--FontSize--xl);
|
|
86
|
-
--pf-v5-c-card--m-display-lg--first-child--PaddingTop: var(--pf-v5-global--spacer--xl);
|
|
87
|
-
--pf-v5-c-card--m-display-lg--child--PaddingRight: var(--pf-v5-global--spacer--xl);
|
|
88
|
-
--pf-v5-c-card--m-display-lg--child--PaddingBottom: var(--pf-v5-global--spacer--xl);
|
|
89
|
-
--pf-v5-c-card--m-display-lg--child--PaddingLeft: var(--pf-v5-global--spacer--xl);
|
|
90
|
-
--pf-v5-c-card--m-display-lg--c-divider--child--PaddingTop: var(--pf-v5-global--spacer--xl);
|
|
91
|
-
--pf-v5-c-card--m-display-lg__title--not--last-child--PaddingBottom: var(--pf-v5-global--spacer--lg);
|
|
92
|
-
--pf-v5-c-card--m-flat--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
|
|
93
|
-
--pf-v5-c-card--m-flat--BorderColor: var(--pf-v5-global--BorderColor--100);
|
|
94
|
-
--pf-v5-c-card--m-rounded--BorderRadius: var(--pf-v5-global--BorderRadius--sm);
|
|
33
|
+
--pf-v5-c-card--m-selectable--BorderWidth: var(--pf-v5-c-card--BorderWidth);
|
|
34
|
+
--pf-v5-c-card--m-selectable--m-selected--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
35
|
+
--pf-v5-c-card--m-selectable--m-selected--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
|
36
|
+
--pf-v5-c-card--m-selectable--hover--BorderColor: var(--pf-t--global--border--color--hover);
|
|
37
|
+
--pf-v5-c-card--m-selectable--focus--BorderColor: var(--pf-t--global--border--color--hover);
|
|
38
|
+
--pf-v5-c-card--m-selectable--focus--BorderWidth: var(--pf-t--global--border--width--box--hover);
|
|
39
|
+
--pf-v5-c-card--m-selectable--m-selected--focus--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
40
|
+
--pf-v5-c-card--m-selectable--m-selected--focus--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
|
41
|
+
--pf-v5-c-card--m-selectable--m-disabled__title-text--Color: var(--pf-t--global--text--color--on-disabled);
|
|
42
|
+
--pf-v5-c-card--m-selectable--m-disabled__body--Color: var(--pf-t--global--text--color--on-disabled);
|
|
43
|
+
--pf-v5-c-card--m-selectable--m-disabled__footer--Color: var(--pf-t--global--text--color--on-disabled);
|
|
44
|
+
--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
45
|
+
--pf-v5-c-card--m-selectable--m-disabled--BorderColor: transparent;
|
|
46
|
+
--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
47
|
+
--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
|
48
|
+
--pf-v5-c-card--m-compact__title-text--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
49
|
+
--pf-v5-c-card--m-compact__body--FontSize: var(--pf-t--global--font--size--body--default);
|
|
50
|
+
--pf-v5-c-card--m-compact__footer--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
51
|
+
--pf-v5-c-card--m-compact--first-child--PaddingTop: var(--pf-t--global--spacer--md);
|
|
52
|
+
--pf-v5-c-card--m-compact--child--PaddingRight: var(--pf-t--global--spacer--md);
|
|
53
|
+
--pf-v5-c-card--m-compact--child--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
54
|
+
--pf-v5-c-card--m-compact--child--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
55
|
+
--pf-v5-c-card--m-compact--c-divider--child--PaddingTop: var(--pf-t--global--spacer--md);
|
|
56
|
+
--pf-v5-c-card--m-compact__title--not--last-child--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
57
|
+
--pf-v5-c-card--m-display-lg__title-text--FontSize: var(--pf-t--global--font--size--heading--md);
|
|
58
|
+
--pf-v5-c-card--m-display-lg__body--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
59
|
+
--pf-v5-c-card--m-display-lg__footer--FontSize: var(--pf-t--global--font--size--body--default);
|
|
60
|
+
--pf-v5-c-card--m-display-lg--first-child--PaddingTop: var(--pf-t--global--spacer--xl);
|
|
61
|
+
--pf-v5-c-card--m-display-lg--child--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
62
|
+
--pf-v5-c-card--m-display-lg--child--PaddingBottom: var(--pf-t--global--spacer--xl);
|
|
63
|
+
--pf-v5-c-card--m-display-lg--child--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
64
|
+
--pf-v5-c-card--m-display-lg--c-divider--child--PaddingTop: var(--pf-t--global--spacer--xl);
|
|
65
|
+
--pf-v5-c-card--m-display-lg__title--not--last-child--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
66
|
+
--pf-v5-c-card--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
67
|
+
--pf-v5-c-card--m-secondary--BorderColor: transparent;
|
|
95
68
|
--pf-v5-c-card--m-full-height--Height: 100%;
|
|
96
|
-
--pf-v5-c-card--m-plain--
|
|
69
|
+
--pf-v5-c-card--m-plain--BorderColor: transparent;
|
|
97
70
|
--pf-v5-c-card--m-plain--BackgroundColor: transparent;
|
|
98
71
|
--pf-v5-c-card__header--m-toggle-right--toggle--MarginRight: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
99
|
-
--pf-v5-c-card__header--m-toggle-right--toggle--MarginLeft: var(--pf-
|
|
100
|
-
|
|
101
|
-
|
|
72
|
+
--pf-v5-c-card__header--m-toggle-right--toggle--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.pf-v5-c-card {
|
|
102
76
|
position: relative;
|
|
103
77
|
display: flex;
|
|
104
78
|
flex-direction: column;
|
|
79
|
+
overflow: auto;
|
|
105
80
|
background-color: var(--pf-v5-c-card--BackgroundColor);
|
|
106
|
-
|
|
81
|
+
border: var(--pf-v5-c-card--BorderColor) var(--pf-v5-c-card--BorderStyle) var(--pf-v5-c-card--BorderWidth);
|
|
82
|
+
border-radius: var(--pf-v5-c-card--BorderRadius);
|
|
83
|
+
}
|
|
84
|
+
.pf-v5-c-card.pf-m-selectable .pf-v5-c-card__selectable-actions :is(.pf-v5-c-check, .pf-v5-c-radio) {
|
|
85
|
+
gap: 0;
|
|
107
86
|
}
|
|
108
87
|
.pf-v5-c-card.pf-m-selectable, .pf-v5-c-card.pf-m-clickable {
|
|
109
88
|
isolation: isolate;
|
|
110
|
-
|
|
89
|
+
border: none;
|
|
111
90
|
}
|
|
112
91
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__label,
|
|
113
92
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-radio__label {
|
|
@@ -121,77 +100,24 @@
|
|
|
121
100
|
}
|
|
122
101
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible) ~ .pf-v5-c-check__label,
|
|
123
102
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:focus-visible) ~ .pf-v5-c-radio__label {
|
|
124
|
-
--pf-v5-c-card--BackgroundColor:
|
|
125
|
-
--pf-v5-c-card--BorderColor:
|
|
103
|
+
--pf-v5-c-card--BackgroundColor: revert;
|
|
104
|
+
--pf-v5-c-card--BorderColor: revert;
|
|
126
105
|
}
|
|
127
106
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label,
|
|
128
107
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:checked) ~ .pf-v5-c-radio__label, .pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-selected {
|
|
129
|
-
--pf-v5-c-card--
|
|
130
|
-
--pf-v5-c-card--
|
|
108
|
+
--pf-v5-c-card--BorderColor: revert;
|
|
109
|
+
--pf-v5-c-card--m-selectable--BorderWidth: revert;
|
|
131
110
|
}
|
|
132
111
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current {
|
|
133
|
-
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor);
|
|
134
|
-
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor);
|
|
135
|
-
}
|
|
136
|
-
.pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current.pf-m-selected, .pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label, .pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current .pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:checked) ~ .pf-v5-c-radio__label {
|
|
137
|
-
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor);
|
|
138
112
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor);
|
|
113
|
+
--pf-v5-c-card--BorderWidth: var(--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderWidth);
|
|
139
114
|
}
|
|
140
115
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label,
|
|
141
116
|
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:disabled) ~ .pf-v5-c-radio__label, .pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-disabled {
|
|
142
117
|
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor);
|
|
143
|
-
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-disabled--BorderColor);
|
|
144
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable--m-disabled--BoxShadow);
|
|
145
|
-
}
|
|
146
|
-
.pf-v5-c-card.pf-m-hoverable-raised::before, .pf-v5-c-card.pf-m-selectable-raised::before, .pf-v5-c-card.pf-m-non-selectable-raised::before {
|
|
147
|
-
position: absolute;
|
|
148
|
-
inset-block-end: var(--pf-v5-c-card--m-selectable-raised--before--Bottom);
|
|
149
|
-
inset-inline-start: var(--pf-v5-c-card--m-selectable-raised--before--Left);
|
|
150
|
-
inset-inline-end: var(--pf-v5-c-card--m-selectable-raised--before--Right);
|
|
151
|
-
height: var(--pf-v5-c-card--m-selectable-raised--before--Height);
|
|
152
|
-
content: "";
|
|
153
|
-
background-color: var(--pf-v5-c-card--m-selectable-raised--before--BackgroundColor);
|
|
154
|
-
transition: var(--pf-v5-c-card--m-selectable-raised--before--Transition);
|
|
155
|
-
transform: translateY(var(--pf-v5-c-card--m-selectable-raised--before--TranslateY)) scaleY(var(--pf-v5-c-card--m-selectable-raised--before--ScaleY));
|
|
156
|
-
transform-origin: center bottom;
|
|
157
|
-
}
|
|
158
|
-
.pf-v5-c-card.pf-m-hoverable-raised:hover {
|
|
159
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-hoverable-raised--hover--BoxShadow);
|
|
160
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-hoverable-raised--hover--before--BackgroundColor);
|
|
161
|
-
}
|
|
162
|
-
.pf-v5-c-card.pf-m-selectable-raised {
|
|
163
|
-
cursor: pointer;
|
|
164
|
-
}
|
|
165
|
-
.pf-v5-c-card.pf-m-selectable-raised:hover {
|
|
166
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable-raised--hover--BoxShadow);
|
|
167
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-selectable-raised--hover--before--BackgroundColor);
|
|
168
|
-
}
|
|
169
|
-
.pf-v5-c-card.pf-m-selectable-raised:focus {
|
|
170
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable-raised--focus--BoxShadow);
|
|
171
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-selectable-raised--focus--before--BackgroundColor);
|
|
172
|
-
}
|
|
173
|
-
.pf-v5-c-card.pf-m-selectable-raised:active {
|
|
174
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable-raised--active--BoxShadow);
|
|
175
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-selectable-raised--active--before--BackgroundColor);
|
|
176
|
-
}
|
|
177
|
-
.pf-v5-c-card.pf-m-selectable-raised.pf-m-selected-raised {
|
|
178
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--BackgroundColor);
|
|
179
|
-
--pf-v5-c-card--m-selectable-raised--before--Transition: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--Transition);
|
|
180
|
-
--pf-v5-c-card--m-selectable-raised--before--TranslateY: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--TranslateY);
|
|
181
|
-
--pf-v5-c-card--m-selectable-raised--before--ScaleY: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--ScaleY);
|
|
182
|
-
z-index: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--ZIndex);
|
|
183
|
-
box-shadow: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--BoxShadow);
|
|
184
|
-
transition: var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--Transition);
|
|
185
|
-
transform: translateY(var(--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY));
|
|
186
|
-
}
|
|
187
|
-
.pf-v5-c-card.pf-m-non-selectable-raised {
|
|
188
|
-
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-non-selectable-raised--BackgroundColor);
|
|
189
|
-
--pf-v5-c-card--BoxShadow: none;
|
|
190
|
-
--pf-v5-c-card--m-flat--BorderColor: var(--pf-v5-c-card--m-flat--m-non-selectable-raised--before--BorderColor);
|
|
191
|
-
--pf-v5-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-v5-c-card--m-non-selectable-raised--before--BackgroundColor);
|
|
192
|
-
--pf-v5-c-card--m-selectable-raised--before--ScaleY: var(--pf-v5-c-card--m-non-selectable-raised--before--ScaleY);
|
|
193
118
|
}
|
|
194
119
|
.pf-v5-c-card.pf-m-compact {
|
|
120
|
+
--pf-v5-c-card__title-text--FontSize: var(--pf-v5-c-card--m-compact__title-text--FontSize);
|
|
195
121
|
--pf-v5-c-card__body--FontSize: var(--pf-v5-c-card--m-compact__body--FontSize);
|
|
196
122
|
--pf-v5-c-card__footer--FontSize: var(--pf-v5-c-card--m-compact__footer--FontSize);
|
|
197
123
|
--pf-v5-c-card--first-child--PaddingTop: var(--pf-v5-c-card--m-compact--first-child--PaddingTop);
|
|
@@ -203,6 +129,8 @@
|
|
|
203
129
|
}
|
|
204
130
|
.pf-v5-c-card.pf-m-display-lg {
|
|
205
131
|
--pf-v5-c-card__title-text--FontSize: var(--pf-v5-c-card--m-display-lg__title-text--FontSize);
|
|
132
|
+
--pf-v5-c-card__body--FontSize: var(--pf-v5-c-card--m-display-lg__body--FontSize);
|
|
133
|
+
--pf-v5-c-card__footer--FontSize: var(--pf-v5-c-card--m-display-lg__footer--FontSize);
|
|
206
134
|
--pf-v5-c-card--first-child--PaddingTop: var(--pf-v5-c-card--m-display-lg--first-child--PaddingTop);
|
|
207
135
|
--pf-v5-c-card--child--PaddingRight: var(--pf-v5-c-card--m-display-lg--child--PaddingRight);
|
|
208
136
|
--pf-v5-c-card--child--PaddingBottom: var(--pf-v5-c-card--m-display-lg--child--PaddingBottom);
|
|
@@ -210,22 +138,14 @@
|
|
|
210
138
|
--pf-v5-c-card--c-divider--child--PaddingTop: var(--pf-v5-c-card--m-display-lg--c-divider--child--PaddingTop);
|
|
211
139
|
--pf-v5-c-card__title--not--last-child--PaddingBottom: var(--pf-v5-c-card--m-display-lg__title--not--last-child--PaddingBottom);
|
|
212
140
|
}
|
|
213
|
-
.pf-v5-c-card.pf-m-
|
|
214
|
-
--pf-v5-c-card--
|
|
215
|
-
--pf-v5-c-card--
|
|
216
|
-
--pf-v5-c-card--m-selectable-raised--before--Bottom: var(--pf-v5-c-card--m-flat--m-selectable-raised--before--Bottom);
|
|
217
|
-
--pf-v5-c-card--m-selectable-raised--before--Left: var(--pf-v5-c-card--m-flat--m-selectable-raised--before--Left);
|
|
218
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-v5-c-card--m-flat--m-selectable-raised--m-selected-raised--TranslateY);
|
|
219
|
-
border: var(--pf-v5-c-card--m-flat--BorderWidth) solid var(--pf-v5-c-card--m-flat--BorderColor);
|
|
141
|
+
.pf-v5-c-card.pf-m-secondary {
|
|
142
|
+
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-secondary--BorderColor);
|
|
143
|
+
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-secondary--BackgroundColor);
|
|
220
144
|
}
|
|
221
145
|
.pf-v5-c-card.pf-m-plain {
|
|
222
|
-
--pf-v5-c-card--
|
|
146
|
+
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-plain--BorderColor);
|
|
223
147
|
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-plain--BackgroundColor);
|
|
224
148
|
}
|
|
225
|
-
.pf-v5-c-card.pf-m-rounded {
|
|
226
|
-
--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-v5-c-card--m-rounded--m-selectable-raised--m-selected-raised--TranslateY);
|
|
227
|
-
border-radius: var(--pf-v5-c-card--m-rounded--BorderRadius);
|
|
228
|
-
}
|
|
229
149
|
.pf-v5-c-card.pf-m-expanded .pf-v5-c-card__header-toggle-icon {
|
|
230
150
|
transform: rotate(var(--pf-v5-c-card--m-expanded__header-toggle-icon--Rotate));
|
|
231
151
|
}
|
|
@@ -279,6 +199,7 @@
|
|
|
279
199
|
font-size: var(--pf-v5-c-card__title-text--FontSize);
|
|
280
200
|
font-weight: var(--pf-v5-c-card__title-text--FontWeight);
|
|
281
201
|
line-height: var(--pf-v5-c-card__title-text--LineHeight);
|
|
202
|
+
color: var(--pf-v5-c-card__title-text--Color);
|
|
282
203
|
}
|
|
283
204
|
|
|
284
205
|
.pf-v5-c-card__actions {
|
|
@@ -316,38 +237,40 @@
|
|
|
316
237
|
content: "";
|
|
317
238
|
background-color: var(--pf-v5-c-card--BackgroundColor, transparent);
|
|
318
239
|
border: var(--pf-v5-c-card--m-selectable--BorderWidth) solid var(--pf-v5-c-card--BorderColor, transparent);
|
|
319
|
-
|
|
240
|
+
border-radius: var(--pf-v5-c-card--BorderRadius);
|
|
320
241
|
}
|
|
321
242
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__label:hover,
|
|
322
243
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__label:hover {
|
|
323
|
-
--pf-v5-c-card--
|
|
324
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable--hover--BoxShadow);
|
|
244
|
+
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--hover--BorderColor);
|
|
325
245
|
}
|
|
326
246
|
|
|
327
247
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label,
|
|
328
248
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:checked) ~ .pf-v5-c-radio__label,
|
|
329
249
|
.pf-v5-c-card.pf-m-selected {
|
|
330
250
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-selected--BorderColor);
|
|
331
|
-
--pf-v5-c-card--
|
|
251
|
+
--pf-v5-c-card--m-selectable--BorderWidth: var(--pf-v5-c-card--m-selectable--m-selected--BorderWidth);
|
|
332
252
|
}
|
|
333
253
|
|
|
334
254
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible) ~ .pf-v5-c-check__label,
|
|
335
255
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:focus-visible) ~ .pf-v5-c-radio__label {
|
|
336
256
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--focus--BorderColor);
|
|
337
|
-
--pf-v5-c-card--
|
|
257
|
+
--pf-v5-c-card--BorderWidth: var(--pf-v5-c-card--m-selectable--focus--BorderWidth);
|
|
338
258
|
}
|
|
339
259
|
|
|
340
260
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible):where(:checked) ~ .pf-v5-c-check__label,
|
|
341
261
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:focus-visible):where(:checked) ~ .pf-v5-c-radio__label {
|
|
342
262
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-selected--focus--BorderColor);
|
|
263
|
+
--pf-v5-c-card--BorderWidth: var(--pf-v5-c-card--m-selectable--m-selected--focus--BorderWidth);
|
|
343
264
|
}
|
|
344
265
|
|
|
345
266
|
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label,
|
|
346
267
|
.pf-v5-c-card__selectable-actions .pf-v5-c-radio__input:where(:disabled) ~ .pf-v5-c-radio__label,
|
|
347
268
|
.pf-v5-c-card.pf-m-disabled {
|
|
269
|
+
--pf-v5-c-card__title-text--Color: var(--pf-v5-c-card--m-selectable--m-disabled__title-text--Color);
|
|
270
|
+
--pf-v5-c-card__body--Color: var(--pf-v5-c-card--m-selectable--m-disabled__body--Color);
|
|
271
|
+
--pf-v5-c-card__footer--Color: var(--pf-v5-c-card--m-selectable--m-disabled__footer--Color);
|
|
348
272
|
--pf-v5-c-card--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor);
|
|
349
273
|
--pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-disabled--BorderColor);
|
|
350
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-c-card--m-selectable--m-disabled--BoxShadow);
|
|
351
274
|
}
|
|
352
275
|
|
|
353
276
|
.pf-v5-c-card__header,
|
|
@@ -369,6 +292,10 @@
|
|
|
369
292
|
.pf-v5-c-card__title:not(:last-child) {
|
|
370
293
|
padding-block-end: var(--pf-v5-c-card__title--not--last-child--PaddingBottom);
|
|
371
294
|
}
|
|
295
|
+
.pf-v5-c-card__header button.pf-m-inline.pf-m-disabled,
|
|
296
|
+
.pf-v5-c-card__title button.pf-m-inline.pf-m-disabled {
|
|
297
|
+
--pf-v5-c-button--disabled--Color: var(--pf-v5-c-card--c-button--disabled--Color);
|
|
298
|
+
}
|
|
372
299
|
|
|
373
300
|
.pf-v5-c-card__expandable-content {
|
|
374
301
|
--pf-v5-c-card--first-child--PaddingTop: 0;
|
|
@@ -380,31 +307,10 @@
|
|
|
380
307
|
|
|
381
308
|
.pf-v5-c-card__body {
|
|
382
309
|
font-size: var(--pf-v5-c-card__body--FontSize);
|
|
310
|
+
color: var(--pf-v5-c-card__body--Color);
|
|
383
311
|
}
|
|
384
312
|
|
|
385
313
|
.pf-v5-c-card__footer {
|
|
386
314
|
font-size: var(--pf-v5-c-card__footer--FontSize);
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
.pf-v5-c-card__sr-input:focus + .pf-v5-c-card::after {
|
|
390
|
-
position: absolute;
|
|
391
|
-
inset-block-start: 0;
|
|
392
|
-
inset-block-end: 0;
|
|
393
|
-
inset-inline-start: 0;
|
|
394
|
-
inset-inline-end: 0;
|
|
395
|
-
content: "";
|
|
396
|
-
border: var(--pf-v5-c-card__input--focus--BorderWidth) solid var(--pf-v5-c-card__input--focus--BorderColor);
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-card,
|
|
400
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-card.pf-m-non-selectable-raised {
|
|
401
|
-
--pf-v5-c-card--BoxShadow: var(--pf-v5-global--BoxShadow--md);
|
|
402
|
-
--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
403
|
-
--pf-v5-c-card--m-selectable--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--150);
|
|
404
|
-
--pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor: var(--pf-v5-global--BackgroundColor--150);
|
|
405
|
-
--pf-v5-c-card--m-selectable--focus--BackgroundColor: var(--pf-v5-global--palette--blue-600);
|
|
406
|
-
--pf-v5-c-card--m-hoverable-raised--hover--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
|
407
|
-
--pf-v5-c-card--m-selectable-raised--hover--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
|
408
|
-
--pf-v5-c-card--m-selectable-raised--focus--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
|
409
|
-
--pf-v5-c-card--m-selectable-raised--active--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
|
315
|
+
color: var(--pf-v5-c-card__footer--Color);
|
|
410
316
|
}
|