@patternfly/react-styles 6.0.0-alpha.1 → 6.0.0-alpha.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/README.md +1 -1
  3. package/css/assets/images/PF-Backdrop.svg +1 -0
  4. package/css/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  5. package/css/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  6. package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
  7. package/css/assets/images/PF-IconLogo-color.svg +17 -0
  8. package/css/assets/images/PF-IconLogo.svg +17 -0
  9. package/css/assets/images/logo__pf--reverse-on-md.svg +1 -1
  10. package/css/assets/images/pf-background.svg +22 -0
  11. package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  12. package/css/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  13. package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  14. package/css/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  15. package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  16. package/css/assets/images/pf_logo_white.hbs +35 -0
  17. package/css/assets/images/pf_logo_white.svg +38 -0
  18. package/css/components/AboutModalBox/about-modal-box.css +57 -94
  19. package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
  20. package/css/components/AboutModalBox/about-modal-box.js +1 -2
  21. package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
  22. package/css/components/Accordion/accordion.css +85 -177
  23. package/css/components/Accordion/accordion.d.ts +3 -2
  24. package/css/components/Accordion/accordion.js +3 -2
  25. package/css/components/Accordion/accordion.mjs +3 -2
  26. package/css/components/ActionList/action-list.css +18 -17
  27. package/css/components/Alert/alert-group.css +20 -16
  28. package/css/components/Alert/alert.css +57 -84
  29. package/css/components/Alert/alert.d.ts +1 -2
  30. package/css/components/Alert/alert.js +1 -2
  31. package/css/components/Alert/alert.mjs +1 -2
  32. package/css/components/Avatar/avatar.css +10 -13
  33. package/css/components/Avatar/avatar.d.ts +1 -2
  34. package/css/components/Avatar/avatar.js +1 -2
  35. package/css/components/Avatar/avatar.mjs +1 -2
  36. package/css/components/BackToTop/back-to-top.css +17 -16
  37. package/css/components/Backdrop/backdrop.css +6 -2
  38. package/css/components/BackgroundImage/background-image.css +5 -1
  39. package/css/components/Badge/badge.css +23 -15
  40. package/css/components/Badge/badge.d.ts +2 -2
  41. package/css/components/Badge/badge.js +2 -2
  42. package/css/components/Badge/badge.mjs +2 -2
  43. package/css/components/Banner/banner.css +90 -64
  44. package/css/components/Banner/banner.d.ts +12 -4
  45. package/css/components/Banner/banner.js +12 -4
  46. package/css/components/Banner/banner.mjs +12 -4
  47. package/css/components/Breadcrumb/breadcrumb.css +19 -16
  48. package/css/components/Button/button.css +444 -435
  49. package/css/components/Button/button.d.ts +10 -9
  50. package/css/components/Button/button.js +10 -9
  51. package/css/components/Button/button.mjs +10 -9
  52. package/css/components/Card/card.css +100 -194
  53. package/css/components/Card/card.d.ts +5 -9
  54. package/css/components/Card/card.js +5 -9
  55. package/css/components/Card/card.mjs +5 -9
  56. package/css/components/Check/check.css +24 -21
  57. package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
  58. package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
  59. package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
  60. package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
  61. package/css/components/CodeBlock/code-block.css +18 -9
  62. package/css/components/Content/content.css +67 -67
  63. package/css/components/DataList/data-list.css +101 -158
  64. package/css/components/DataList/data-list.d.ts +1 -2
  65. package/css/components/DataList/data-list.js +1 -2
  66. package/css/components/DataList/data-list.mjs +1 -2
  67. package/css/components/DescriptionList/description-list.css +39 -34
  68. package/css/components/Divider/divider.css +97 -177
  69. package/css/components/Divider/divider.d.ts +1 -0
  70. package/css/components/Divider/divider.js +1 -0
  71. package/css/components/Divider/divider.mjs +1 -0
  72. package/css/components/DragDrop/drag-drop.css +18 -14
  73. package/css/components/DragDrop/drag-drop.d.ts +1 -2
  74. package/css/components/DragDrop/drag-drop.js +1 -2
  75. package/css/components/DragDrop/drag-drop.mjs +1 -2
  76. package/css/components/Drawer/drawer.css +112 -113
  77. package/css/components/Drawer/drawer.d.ts +3 -3
  78. package/css/components/Drawer/drawer.js +3 -3
  79. package/css/components/Drawer/drawer.mjs +3 -3
  80. package/css/components/Dropdown/dropdown.css +1 -3
  81. package/css/components/Dropdown/dropdown.d.ts +0 -1
  82. package/css/components/Dropdown/dropdown.js +0 -1
  83. package/css/components/Dropdown/dropdown.mjs +0 -1
  84. package/css/components/EmptyState/empty-state.css +57 -34
  85. package/css/components/EmptyState/empty-state.d.ts +6 -1
  86. package/css/components/EmptyState/empty-state.js +6 -1
  87. package/css/components/EmptyState/empty-state.mjs +6 -1
  88. package/css/components/ExpandableSection/expandable-section.css +64 -62
  89. package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
  90. package/css/components/ExpandableSection/expandable-section.js +1 -3
  91. package/css/components/ExpandableSection/expandable-section.mjs +1 -3
  92. package/css/components/FileUpload/file-upload.css +28 -34
  93. package/css/components/Form/form.css +68 -114
  94. package/css/components/Form/form.d.ts +2 -6
  95. package/css/components/Form/form.js +2 -6
  96. package/css/components/Form/form.mjs +2 -6
  97. package/css/components/FormControl/form-control.css +86 -111
  98. package/css/components/FormControl/form-control.d.ts +1 -2
  99. package/css/components/FormControl/form-control.js +1 -2
  100. package/css/components/FormControl/form-control.mjs +1 -2
  101. package/css/components/HelperText/helper-text.css +28 -34
  102. package/css/components/HelperText/helper-text.d.ts +1 -2
  103. package/css/components/HelperText/helper-text.js +1 -2
  104. package/css/components/HelperText/helper-text.mjs +1 -2
  105. package/css/components/Hint/hint.css +28 -21
  106. package/css/components/Hint/hint.d.ts +1 -2
  107. package/css/components/Hint/hint.js +1 -2
  108. package/css/components/Hint/hint.mjs +1 -2
  109. package/css/components/Icon/icon.css +154 -18
  110. package/css/components/Icon/icon.d.ts +11 -0
  111. package/css/components/Icon/icon.js +11 -0
  112. package/css/components/Icon/icon.mjs +11 -0
  113. package/css/components/InlineEdit/inline-edit.css +8 -7
  114. package/css/components/InputGroup/input-group.css +22 -38
  115. package/css/components/InputGroup/input-group.d.ts +1 -2
  116. package/css/components/InputGroup/input-group.js +1 -2
  117. package/css/components/InputGroup/input-group.mjs +1 -2
  118. package/css/components/JumpLinks/jump-links.css +34 -34
  119. package/css/components/Label/label-group.css +39 -44
  120. package/css/components/Label/label.css +258 -355
  121. package/css/components/Label/label.d.ts +11 -10
  122. package/css/components/Label/label.js +11 -10
  123. package/css/components/Label/label.mjs +11 -10
  124. package/css/components/List/list.css +16 -16
  125. package/css/components/Login/login.css +70 -97
  126. package/css/components/Login/login.d.ts +0 -2
  127. package/css/components/Login/login.js +0 -2
  128. package/css/components/Login/login.mjs +0 -2
  129. package/css/components/Masthead/masthead.css +262 -498
  130. package/css/components/Masthead/masthead.d.ts +3 -45
  131. package/css/components/Masthead/masthead.js +3 -45
  132. package/css/components/Masthead/masthead.mjs +3 -45
  133. package/css/components/Menu/menu.css +3 -0
  134. package/css/components/Menu/menu.d.ts +1 -0
  135. package/css/components/Menu/menu.js +1 -0
  136. package/css/components/Menu/menu.mjs +1 -0
  137. package/css/components/MenuToggle/menu-toggle.css +58 -80
  138. package/css/components/ModalBox/modal-box.css +59 -52
  139. package/css/components/ModalBox/modal-box.d.ts +1 -2
  140. package/css/components/ModalBox/modal-box.js +1 -2
  141. package/css/components/ModalBox/modal-box.mjs +1 -2
  142. package/css/components/MultipleFileUpload/multiple-file-upload.css +77 -50
  143. package/css/components/MultipleFileUpload/multiple-file-upload.d.ts +0 -1
  144. package/css/components/MultipleFileUpload/multiple-file-upload.js +0 -1
  145. package/css/components/MultipleFileUpload/multiple-file-upload.mjs +0 -1
  146. package/css/components/Nav/nav.css +241 -917
  147. package/css/components/Nav/nav.d.ts +9 -20
  148. package/css/components/Nav/nav.js +9 -20
  149. package/css/components/Nav/nav.mjs +9 -20
  150. package/css/components/NotificationBadge/notification-badge.css +56 -81
  151. package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
  152. package/css/components/NotificationBadge/notification-badge.js +1 -5
  153. package/css/components/NotificationBadge/notification-badge.mjs +1 -5
  154. package/css/components/NotificationDrawer/notification-drawer.css +104 -115
  155. package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -3
  156. package/css/components/NotificationDrawer/notification-drawer.js +3 -3
  157. package/css/components/NotificationDrawer/notification-drawer.mjs +3 -3
  158. package/css/components/NumberInput/number-input.css +8 -8
  159. package/css/components/NumberInput/number-input.d.ts +0 -3
  160. package/css/components/NumberInput/number-input.js +0 -3
  161. package/css/components/NumberInput/number-input.mjs +0 -3
  162. package/css/components/OverflowMenu/overflow-menu.css +17 -47
  163. package/css/components/OverflowMenu/overflow-menu.d.ts +1 -3
  164. package/css/components/OverflowMenu/overflow-menu.js +1 -3
  165. package/css/components/OverflowMenu/overflow-menu.mjs +1 -3
  166. package/css/components/Page/page.css +112 -209
  167. package/css/components/Page/page.d.ts +5 -12
  168. package/css/components/Page/page.js +5 -12
  169. package/css/components/Page/page.mjs +5 -12
  170. package/css/components/Pagination/pagination.css +64 -121
  171. package/css/components/Pagination/pagination.d.ts +2 -5
  172. package/css/components/Pagination/pagination.js +2 -5
  173. package/css/components/Pagination/pagination.mjs +2 -5
  174. package/css/components/Panel/panel.css +27 -23
  175. package/css/components/Panel/panel.d.ts +2 -2
  176. package/css/components/Panel/panel.js +2 -2
  177. package/css/components/Panel/panel.mjs +2 -2
  178. package/css/components/Popover/popover.css +42 -53
  179. package/css/components/Popover/popover.d.ts +1 -2
  180. package/css/components/Popover/popover.js +1 -2
  181. package/css/components/Popover/popover.mjs +1 -2
  182. package/css/components/Progress/progress.css +31 -45
  183. package/css/components/Progress/progress.d.ts +1 -2
  184. package/css/components/Progress/progress.js +1 -2
  185. package/css/components/Progress/progress.mjs +1 -2
  186. package/css/components/Radio/radio.css +27 -20
  187. package/css/components/Sidebar/sidebar.css +20 -9
  188. package/css/components/Sidebar/sidebar.d.ts +1 -0
  189. package/css/components/Sidebar/sidebar.js +1 -0
  190. package/css/components/Sidebar/sidebar.mjs +1 -0
  191. package/css/components/SimpleList/simple-list.css +35 -52
  192. package/css/components/SimpleList/simple-list.d.ts +2 -2
  193. package/css/components/SimpleList/simple-list.js +2 -2
  194. package/css/components/SimpleList/simple-list.mjs +2 -2
  195. package/css/components/Skeleton/skeleton.css +18 -20
  196. package/css/components/Skeleton/skeleton.d.ts +1 -2
  197. package/css/components/Skeleton/skeleton.js +1 -2
  198. package/css/components/Skeleton/skeleton.mjs +1 -2
  199. package/css/components/SkipToContent/skip-to-content.css +6 -3
  200. package/css/components/Slider/slider.css +34 -30
  201. package/css/components/Spinner/spinner.css +17 -34
  202. package/css/components/Switch/switch.css +42 -38
  203. package/css/components/Switch/switch.d.ts +1 -2
  204. package/css/components/Switch/switch.js +1 -2
  205. package/css/components/Switch/switch.mjs +1 -2
  206. package/css/components/TabContent/tab-content.css +17 -11
  207. package/css/components/TabContent/tab-content.d.ts +1 -1
  208. package/css/components/TabContent/tab-content.js +1 -1
  209. package/css/components/TabContent/tab-content.mjs +1 -1
  210. package/css/components/Table/table-grid.css +8 -8
  211. package/css/components/Table/table.css +85 -90
  212. package/css/components/Table/table.d.ts +2 -0
  213. package/css/components/Table/table.js +2 -0
  214. package/css/components/Table/table.mjs +2 -0
  215. package/css/components/Tile/tile.css +40 -81
  216. package/css/components/Tile/tile.d.ts +0 -1
  217. package/css/components/Tile/tile.js +0 -1
  218. package/css/components/Tile/tile.mjs +0 -1
  219. package/css/components/Timestamp/timestamp.css +12 -9
  220. package/css/components/Title/title.css +70 -19
  221. package/css/components/Title/title.d.ts +7 -1
  222. package/css/components/Title/title.js +7 -1
  223. package/css/components/Title/title.mjs +7 -1
  224. package/css/components/ToggleGroup/toggle-group.css +34 -47
  225. package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
  226. package/css/components/ToggleGroup/toggle-group.js +0 -1
  227. package/css/components/ToggleGroup/toggle-group.mjs +0 -1
  228. package/css/components/Toolbar/toolbar.css +2527 -1032
  229. package/css/components/Toolbar/toolbar.d.ts +406 -102
  230. package/css/components/Toolbar/toolbar.js +406 -102
  231. package/css/components/Toolbar/toolbar.mjs +406 -102
  232. package/css/components/Tooltip/tooltip.css +16 -18
  233. package/css/components/Tooltip/tooltip.d.ts +0 -1
  234. package/css/components/Tooltip/tooltip.js +0 -1
  235. package/css/components/Tooltip/tooltip.mjs +0 -1
  236. package/css/components/Truncate/truncate.css +4 -0
  237. package/css/docs/components/Brand/examples/Brand.css +12 -0
  238. package/css/docs/components/Brand/examples/Brand.d.ts +10 -0
  239. package/css/docs/components/Brand/examples/Brand.js +11 -0
  240. package/css/docs/components/Brand/examples/Brand.mjs +9 -0
  241. package/css/docs/components/Button/examples/Button.css +4 -0
  242. package/css/docs/components/Divider/examples/Divider.css +3 -1
  243. package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
  244. package/css/docs/components/Label/examples/Label.css +4 -0
  245. package/css/docs/components/Nav/examples/Navigation.css +1 -22
  246. package/css/docs/components/Nav/examples/Navigation.d.ts +0 -3
  247. package/css/docs/components/Nav/examples/Navigation.js +0 -3
  248. package/css/docs/components/Nav/examples/Navigation.mjs +0 -3
  249. package/css/docs/components/Page/examples/Page.css +0 -8
  250. package/css/docs/components/Page/examples/Page.d.ts +0 -7
  251. package/css/docs/components/Page/examples/Page.js +0 -7
  252. package/css/docs/components/Page/examples/Page.mjs +0 -7
  253. package/css/docs/components/Toolbar/examples/Toolbar.css +20 -15
  254. package/css/docs/components/Truncate/examples/Truncate.css +2 -2
  255. package/css/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  256. package/css/docs/demos/Toolbar/examples/Toolbar.d.ts +6 -1
  257. package/css/docs/demos/Toolbar/examples/Toolbar.js +6 -1
  258. package/css/docs/demos/Toolbar/examples/Toolbar.mjs +6 -1
  259. package/package.json +3 -3
  260. package/css/docs/components/Avatar/examples/Avatar.css +0 -3
  261. package/css/docs/components/Avatar/examples/Avatar.d.ts +0 -3
  262. package/css/docs/components/Avatar/examples/Avatar.js +0 -4
  263. package/css/docs/components/Avatar/examples/Avatar.mjs +0 -2
  264. package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
  265. package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
  266. package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
  267. package/css/docs/components/NotificationBadge/examples/NotificationBadge.mjs +0 -4
@@ -6,22 +6,24 @@ declare const _default: {
6
6
  "buttonIcon": "pf-v5-c-button__icon",
7
7
  "buttonProgress": "pf-v5-c-button__progress",
8
8
  "modifiers": {
9
- "active": "pf-m-active",
10
- "block": "pf-m-block",
11
- "small": "pf-m-small",
12
9
  "primary": "pf-m-primary",
13
- "displayLg": "pf-m-display-lg",
10
+ "unread": "pf-m-unread",
14
11
  "secondary": "pf-m-secondary",
12
+ "danger": "pf-m-danger",
15
13
  "tertiary": "pf-m-tertiary",
16
14
  "link": "pf-m-link",
17
- "unread": "pf-m-unread",
18
15
  "inline": "pf-m-inline",
19
- "danger": "pf-m-danger",
16
+ "displayLg": "pf-m-display-lg",
20
17
  "warning": "pf-m-warning",
21
18
  "control": "pf-m-control",
22
- "expanded": "pf-m-expanded",
19
+ "stateful": "pf-m-stateful",
20
+ "read": "pf-m-read",
21
+ "attention": "pf-m-attention",
23
22
  "plain": "pf-m-plain",
24
23
  "noPadding": "pf-m-no-padding",
24
+ "block": "pf-m-block",
25
+ "small": "pf-m-small",
26
+ "clicked": "pf-m-clicked",
25
27
  "disabled": "pf-m-disabled",
26
28
  "ariaDisabled": "pf-m-aria-disabled",
27
29
  "progress": "pf-m-progress",
@@ -29,7 +31,6 @@ declare const _default: {
29
31
  "start": "pf-m-start",
30
32
  "end": "pf-m-end"
31
33
  },
32
- "spinner": "pf-v5-c-spinner",
33
- "themeDark": "pf-v5-theme-dark"
34
+ "spinner": "pf-v5-c-spinner"
34
35
  };
35
36
  export default _default;
@@ -8,22 +8,24 @@ exports.default = {
8
8
  "buttonIcon": "pf-v5-c-button__icon",
9
9
  "buttonProgress": "pf-v5-c-button__progress",
10
10
  "modifiers": {
11
- "active": "pf-m-active",
12
- "block": "pf-m-block",
13
- "small": "pf-m-small",
14
11
  "primary": "pf-m-primary",
15
- "displayLg": "pf-m-display-lg",
12
+ "unread": "pf-m-unread",
16
13
  "secondary": "pf-m-secondary",
14
+ "danger": "pf-m-danger",
17
15
  "tertiary": "pf-m-tertiary",
18
16
  "link": "pf-m-link",
19
- "unread": "pf-m-unread",
20
17
  "inline": "pf-m-inline",
21
- "danger": "pf-m-danger",
18
+ "displayLg": "pf-m-display-lg",
22
19
  "warning": "pf-m-warning",
23
20
  "control": "pf-m-control",
24
- "expanded": "pf-m-expanded",
21
+ "stateful": "pf-m-stateful",
22
+ "read": "pf-m-read",
23
+ "attention": "pf-m-attention",
25
24
  "plain": "pf-m-plain",
26
25
  "noPadding": "pf-m-no-padding",
26
+ "block": "pf-m-block",
27
+ "small": "pf-m-small",
28
+ "clicked": "pf-m-clicked",
27
29
  "disabled": "pf-m-disabled",
28
30
  "ariaDisabled": "pf-m-aria-disabled",
29
31
  "progress": "pf-m-progress",
@@ -31,6 +33,5 @@ exports.default = {
31
33
  "start": "pf-m-start",
32
34
  "end": "pf-m-end"
33
35
  },
34
- "spinner": "pf-v5-c-spinner",
35
- "themeDark": "pf-v5-theme-dark"
36
+ "spinner": "pf-v5-c-spinner"
36
37
  };
@@ -6,22 +6,24 @@ export default {
6
6
  "buttonIcon": "pf-v5-c-button__icon",
7
7
  "buttonProgress": "pf-v5-c-button__progress",
8
8
  "modifiers": {
9
- "active": "pf-m-active",
10
- "block": "pf-m-block",
11
- "small": "pf-m-small",
12
9
  "primary": "pf-m-primary",
13
- "displayLg": "pf-m-display-lg",
10
+ "unread": "pf-m-unread",
14
11
  "secondary": "pf-m-secondary",
12
+ "danger": "pf-m-danger",
15
13
  "tertiary": "pf-m-tertiary",
16
14
  "link": "pf-m-link",
17
- "unread": "pf-m-unread",
18
15
  "inline": "pf-m-inline",
19
- "danger": "pf-m-danger",
16
+ "displayLg": "pf-m-display-lg",
20
17
  "warning": "pf-m-warning",
21
18
  "control": "pf-m-control",
22
- "expanded": "pf-m-expanded",
19
+ "stateful": "pf-m-stateful",
20
+ "read": "pf-m-read",
21
+ "attention": "pf-m-attention",
23
22
  "plain": "pf-m-plain",
24
23
  "noPadding": "pf-m-no-padding",
24
+ "block": "pf-m-block",
25
+ "small": "pf-m-small",
26
+ "clicked": "pf-m-clicked",
25
27
  "disabled": "pf-m-disabled",
26
28
  "ariaDisabled": "pf-m-aria-disabled",
27
29
  "progress": "pf-m-progress",
@@ -29,6 +31,5 @@ export default {
29
31
  "start": "pf-m-start",
30
32
  "end": "pf-m-end"
31
33
  },
32
- "spinner": "pf-v5-c-spinner",
33
- "themeDark": "pf-v5-theme-dark"
34
+ "spinner": "pf-v5-c-spinner"
34
35
  };
@@ -1,113 +1,92 @@
1
- .pf-v5-c-card {
2
- --pf-v5-c-card--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
3
- --pf-v5-c-card--BoxShadow: var(--pf-v5-global--BoxShadow--sm);
4
- --pf-v5-c-card--first-child--PaddingTop: var(--pf-v5-global--spacer--lg);
5
- --pf-v5-c-card--child--PaddingRight: var(--pf-v5-global--spacer--lg);
6
- --pf-v5-c-card--child--PaddingBottom: var(--pf-v5-global--spacer--lg);
7
- --pf-v5-c-card--child--PaddingLeft: var(--pf-v5-global--spacer--lg);
8
- --pf-v5-c-card--c-divider--child--PaddingTop: var(--pf-v5-global--spacer--lg);
9
- --pf-v5-c-card__title--not--last-child--PaddingBottom: var(--pf-v5-global--spacer--md);
10
- --pf-v5-c-card__title-text--FontFamily: var(--pf-v5-global--FontFamily--heading);
11
- --pf-v5-c-card__title-text--FontSize: var(--pf-v5-global--FontSize--md);
12
- --pf-v5-c-card__title-text--FontWeight: var(--pf-v5-global--FontWeight--normal);
13
- --pf-v5-c-card__title-text--LineHeight: var(--pf-v5-global--LineHeight--md);
14
- --pf-v5-c-card__body--FontSize: var(--pf-v5-global--FontSize--md);
15
- --pf-v5-c-card__footer--FontSize: var(--pf-v5-global--FontSize--md);
16
- --pf-v5-c-card__actions--PaddingLeft: var(--pf-v5-global--spacer--md);
17
- --pf-v5-c-card__actions--Gap: var(--pf-v5-global--spacer--sm);
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-v5-global--spacer--xs);
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-v5-global--spacer--md) * -1);
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-global--BorderWidth--sm);
27
- --pf-v5-c-card--m-selectable--m-selected--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
28
- --pf-v5-c-card--m-selectable--m-selected--BorderColor: var(--pf-v5-global--active-color--100);
29
- --pf-v5-c-card--m-selectable--hover--BackgroundColor: var(--pf-v5-global--palette--black-150);
30
- --pf-v5-c-card--m-selectable--hover--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
31
- --pf-v5-c-card--m-selectable--focus--BackgroundColor: var(--pf-v5-global--palette--blue-100);
32
- --pf-v5-c-card--m-selectable--focus--BorderColor: var(--pf-v5-global--active-color--100);
33
- --pf-v5-c-card--m-selectable--m-selected--focus--BorderColor: var(--pf-v5-global--active-color--100);
34
- --pf-v5-c-card--m-selectable--m-disabled--BackgroundColor: var(--pf-v5-global--palette--black-100);
35
- --pf-v5-c-card--m-selectable--m-disabled--BorderColor: var(--pf-v5-global--BorderColor--100);
36
- --pf-v5-c-card--m-selectable--m-disabled--BoxShadow: var(--pf-v5-global--BoxShadow--sm);
37
- --pf-v5-c-card--m-selectable--m-clickable--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
38
- --pf-v5-c-card--m-selectable--m-clickable--hover--BoxShadow: var(--pf-v5-global--BoxShadow--sm);
39
- --pf-v5-c-card--m-selectable--m-clickable--m-selected--BorderColor: transparent;
40
- --pf-v5-c-card--m-selectable--m-clickable--m-selected--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
41
- --pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor: var(--pf-v5-global--palette--black-150);
42
- --pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor: var(--pf-v5-global--active-color--100);
43
- --pf-v5-c-card--m-hoverable-raised--hover--BoxShadow: var(--pf-v5-global--BoxShadow--md);
44
- --pf-v5-c-card--m-hoverable-raised--hover--before--BackgroundColor: var(--pf-v5-global--active-color--400);
45
- --pf-v5-c-card--m-selectable-raised--before--Right: 0;
46
- --pf-v5-c-card--m-selectable-raised--before--Bottom: 0;
47
- --pf-v5-c-card--m-selectable-raised--before--Left: 0;
48
- --pf-v5-c-card--m-flat--m-selectable-raised--before--Right: calc(-1 * var(--pf-v5-c-card--m-flat--BorderWidth));
49
- --pf-v5-c-card--m-flat--m-selectable-raised--before--Bottom: calc(-1 * var(--pf-v5-c-card--m-flat--BorderWidth));
50
- --pf-v5-c-card--m-flat--m-selectable-raised--before--Left: calc(-1 * var(--pf-v5-c-card--m-flat--BorderWidth));
51
- --pf-v5-c-card--m-selectable-raised--before--Height: var(--pf-v5-global--BorderWidth--xl);
52
- --pf-v5-c-card--m-selectable-raised--before--BackgroundColor: transparent;
53
- --pf-v5-c-card--m-selectable-raised--before--Transition: none;
54
- --pf-v5-c-card--m-selectable-raised--before--ScaleY: 1;
55
- --pf-v5-c-card--m-selectable-raised--before--TranslateY: 0;
56
- --pf-v5-c-card--m-selectable-raised--hover--BoxShadow: var(--pf-v5-global--BoxShadow--md);
57
- --pf-v5-c-card--m-selectable-raised--hover--before--BackgroundColor: var(--pf-v5-global--active-color--400);
58
- --pf-v5-c-card--m-selectable-raised--focus--BoxShadow: var(--pf-v5-global--BoxShadow--md);
59
- --pf-v5-c-card--m-selectable-raised--focus--before--BackgroundColor: var(--pf-v5-global--active-color--400);
60
- --pf-v5-c-card--m-selectable-raised--active--BoxShadow: var(--pf-v5-global--BoxShadow--md);
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--BoxShadow: none;
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-v5-global--spacer--xs);
100
- --pf-v5-c-card__input--focus--BorderWidth: var(--pf-v5-global--BorderWidth--md);
101
- --pf-v5-c-card__input--focus--BorderColor: var(--pf-v5-global--primary-color--100);
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
- box-shadow: var(--pf-v5-c-card--BoxShadow);
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
- box-shadow: none;
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: unset;
125
- --pf-v5-c-card--BorderColor: unset;
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--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-selected--BackgroundColor);
130
- --pf-v5-c-card--BorderColor: var(--pf-v5-c-card--m-selectable--m-clickable--m-selected--BorderColor);
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-flat {
214
- --pf-v5-c-card--BoxShadow: none;
215
- --pf-v5-c-card--m-selectable-raised--before--Right: var(--pf-v5-c-card--m-flat--m-selectable-raised--before--Right);
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--BoxShadow: var(--pf-v5-c-card--m-plain--BoxShadow);
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
- box-shadow: var(--pf-v5-c-card--BoxShadow, none);
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--BackgroundColor: var(--pf-v5-c-card--m-selectable--hover--BackgroundColor);
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--BackgroundColor: var(--pf-v5-c-card--m-selectable--m-selected--BackgroundColor);
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--BackgroundColor: var(--pf-v5-c-card--m-selectable--focus--BackgroundColor);
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
  }
@@ -10,9 +10,9 @@ declare const _default: {
10
10
  "cardHeaderToggle": "pf-v5-c-card__header-toggle",
11
11
  "cardHeaderToggleIcon": "pf-v5-c-card__header-toggle-icon",
12
12
  "cardSelectableActions": "pf-v5-c-card__selectable-actions",
13
- "cardSrInput": "pf-v5-c-card__sr-input",
14
13
  "cardTitle": "pf-v5-c-card__title",
15
14
  "cardTitleText": "pf-v5-c-card__title-text",
15
+ "check": "pf-v5-c-check",
16
16
  "checkInput": "pf-v5-c-check__input",
17
17
  "checkLabel": "pf-v5-c-check__label",
18
18
  "dirRtl": "pf-v5-m-dir-rtl",
@@ -23,23 +23,19 @@ declare const _default: {
23
23
  "selected": "pf-m-selected",
24
24
  "current": "pf-m-current",
25
25
  "disabled": "pf-m-disabled",
26
- "hoverableRaised": "pf-m-hoverable-raised",
27
- "selectableRaised": "pf-m-selectable-raised",
28
- "nonSelectableRaised": "pf-m-non-selectable-raised",
29
- "selectedRaised": "pf-m-selected-raised",
30
26
  "compact": "pf-m-compact",
31
27
  "displayLg": "pf-m-display-lg",
32
- "flat": "pf-m-flat",
28
+ "secondary": "pf-m-secondary",
33
29
  "plain": "pf-m-plain",
34
- "rounded": "pf-m-rounded",
35
30
  "expanded": "pf-m-expanded",
36
31
  "fullHeight": "pf-m-full-height",
37
32
  "toggleRight": "pf-m-toggle-right",
38
33
  "noOffset": "pf-m-no-offset",
34
+ "inline": "pf-m-inline",
39
35
  "noFill": "pf-m-no-fill"
40
36
  },
37
+ "radio": "pf-v5-c-radio",
41
38
  "radioInput": "pf-v5-c-radio__input",
42
- "radioLabel": "pf-v5-c-radio__label",
43
- "themeDark": "pf-v5-theme-dark"
39
+ "radioLabel": "pf-v5-c-radio__label"
44
40
  };
45
41
  export default _default;
@@ -12,9 +12,9 @@ exports.default = {
12
12
  "cardHeaderToggle": "pf-v5-c-card__header-toggle",
13
13
  "cardHeaderToggleIcon": "pf-v5-c-card__header-toggle-icon",
14
14
  "cardSelectableActions": "pf-v5-c-card__selectable-actions",
15
- "cardSrInput": "pf-v5-c-card__sr-input",
16
15
  "cardTitle": "pf-v5-c-card__title",
17
16
  "cardTitleText": "pf-v5-c-card__title-text",
17
+ "check": "pf-v5-c-check",
18
18
  "checkInput": "pf-v5-c-check__input",
19
19
  "checkLabel": "pf-v5-c-check__label",
20
20
  "dirRtl": "pf-v5-m-dir-rtl",
@@ -25,22 +25,18 @@ exports.default = {
25
25
  "selected": "pf-m-selected",
26
26
  "current": "pf-m-current",
27
27
  "disabled": "pf-m-disabled",
28
- "hoverableRaised": "pf-m-hoverable-raised",
29
- "selectableRaised": "pf-m-selectable-raised",
30
- "nonSelectableRaised": "pf-m-non-selectable-raised",
31
- "selectedRaised": "pf-m-selected-raised",
32
28
  "compact": "pf-m-compact",
33
29
  "displayLg": "pf-m-display-lg",
34
- "flat": "pf-m-flat",
30
+ "secondary": "pf-m-secondary",
35
31
  "plain": "pf-m-plain",
36
- "rounded": "pf-m-rounded",
37
32
  "expanded": "pf-m-expanded",
38
33
  "fullHeight": "pf-m-full-height",
39
34
  "toggleRight": "pf-m-toggle-right",
40
35
  "noOffset": "pf-m-no-offset",
36
+ "inline": "pf-m-inline",
41
37
  "noFill": "pf-m-no-fill"
42
38
  },
39
+ "radio": "pf-v5-c-radio",
43
40
  "radioInput": "pf-v5-c-radio__input",
44
- "radioLabel": "pf-v5-c-radio__label",
45
- "themeDark": "pf-v5-theme-dark"
41
+ "radioLabel": "pf-v5-c-radio__label"
46
42
  };