@patternfly/patternfly 6.0.0-alpha.2 → 6.0.0-alpha.20

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.
Files changed (311) hide show
  1. package/README.md +13 -3
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/images/PF-Backdrop.svg +1 -0
  4. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  5. package/assets/images/PF-IconLogo.svg +17 -0
  6. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  7. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  8. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  9. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  10. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  11. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  12. package/assets/images/pf_logo_white.hbs +35 -0
  13. package/assets/images/pf_logo_white.svg +38 -0
  14. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  15. package/assets/pficon/pficon.scss +6 -129
  16. package/base/_common.scss +21 -0
  17. package/base/_globals.scss +15 -24
  18. package/base/_variables.scss +8 -0
  19. package/base/patternfly-common.css +16 -2
  20. package/base/patternfly-globals.css +15 -20
  21. package/base/patternfly-icons.css +5 -1
  22. package/base/patternfly-pf-icons.css +5 -1
  23. package/base/patternfly-variables.css +378 -222
  24. package/base/tokens/_tokens-dark.scss +117 -82
  25. package/base/tokens/_tokens-default.scss +181 -144
  26. package/base/tokens/_tokens-font.scss +96 -0
  27. package/base/tokens/_tokens-palette.scss +2 -4
  28. package/components/AboutModalBox/about-modal-box.css +80 -108
  29. package/components/AboutModalBox/about-modal-box.scss +64 -78
  30. package/components/Accordion/accordion.css +43 -21
  31. package/components/Accordion/accordion.scss +45 -21
  32. package/components/ActionList/action-list.css +2 -2
  33. package/components/ActionList/action-list.scss +2 -2
  34. package/components/Alert/alert-group.css +27 -20
  35. package/components/Alert/alert-group.scss +27 -20
  36. package/components/Alert/alert.css +74 -95
  37. package/components/Alert/alert.scss +76 -89
  38. package/components/AppLauncher/app-launcher.css +32 -23
  39. package/components/AppLauncher/app-launcher.scss +32 -23
  40. package/components/BackToTop/back-to-top.css +2 -2
  41. package/components/BackToTop/back-to-top.scss +2 -2
  42. package/components/Backdrop/backdrop.css +2 -2
  43. package/components/Backdrop/backdrop.scss +2 -2
  44. package/components/BackgroundImage/background-image.css +6 -3
  45. package/components/BackgroundImage/background-image.scss +8 -3
  46. package/components/Badge/badge.css +25 -17
  47. package/components/Badge/badge.scss +27 -19
  48. package/components/Banner/banner.css +5 -5
  49. package/components/Banner/banner.scss +5 -2
  50. package/components/Breadcrumb/breadcrumb.css +9 -3
  51. package/components/Breadcrumb/breadcrumb.scss +8 -3
  52. package/components/Button/button.css +167 -195
  53. package/components/Button/button.scss +185 -157
  54. package/components/Button/themes/dark/button.scss +1 -1
  55. package/components/CalendarMonth/calendar-month.css +25 -15
  56. package/components/CalendarMonth/calendar-month.scss +23 -15
  57. package/components/Card/card.css +25 -17
  58. package/components/Card/card.scss +24 -17
  59. package/components/Check/check.css +12 -10
  60. package/components/Check/check.scss +17 -12
  61. package/components/Chip/chip-group.css +6 -6
  62. package/components/Chip/chip-group.scss +6 -6
  63. package/components/Chip/chip.css +16 -9
  64. package/components/Chip/chip.scss +17 -9
  65. package/components/ClipboardCopy/clipboard-copy.css +19 -10
  66. package/components/ClipboardCopy/clipboard-copy.scss +16 -8
  67. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
  68. package/components/CodeBlock/code-block.css +6 -3
  69. package/components/CodeBlock/code-block.scss +6 -3
  70. package/components/CodeEditor/code-editor.css +31 -22
  71. package/components/CodeEditor/code-editor.scss +30 -21
  72. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  73. package/components/Content/content.css +100 -97
  74. package/components/Content/content.scss +101 -98
  75. package/components/ContextSelector/context-selector.css +41 -26
  76. package/components/ContextSelector/context-selector.scss +40 -25
  77. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  78. package/components/DataList/data-list-grid.css +21 -21
  79. package/components/DataList/data-list-grid.scss +3 -3
  80. package/components/DataList/data-list.css +69 -56
  81. package/components/DataList/data-list.scss +47 -35
  82. package/components/DatePicker/date-picker.css +8 -8
  83. package/components/DatePicker/date-picker.scss +8 -8
  84. package/components/DescriptionList/description-list.css +8 -5
  85. package/components/DescriptionList/description-list.scss +8 -5
  86. package/components/DragDrop/drag-drop.css +8 -8
  87. package/components/DragDrop/drag-drop.scss +8 -8
  88. package/components/Drawer/drawer.css +120 -62
  89. package/components/Drawer/drawer.scss +94 -44
  90. package/components/Dropdown/dropdown.css +76 -69
  91. package/components/Dropdown/dropdown.scss +67 -62
  92. package/components/DualListSelector/dual-list-selector.css +29 -15
  93. package/components/DualListSelector/dual-list-selector.scss +30 -15
  94. package/components/EmptyState/empty-state.css +7 -4
  95. package/components/EmptyState/empty-state.scss +7 -4
  96. package/components/ExpandableSection/expandable-section.css +17 -10
  97. package/components/ExpandableSection/expandable-section.scss +15 -10
  98. package/components/FileUpload/file-upload.css +9 -15
  99. package/components/FileUpload/file-upload.scss +9 -15
  100. package/components/Form/form.css +53 -50
  101. package/components/Form/form.scss +46 -44
  102. package/components/FormControl/form-control.css +18 -9
  103. package/components/FormControl/form-control.scss +18 -9
  104. package/components/HelperText/helper-text.css +1 -1
  105. package/components/HelperText/helper-text.scss +1 -1
  106. package/components/Hint/hint.css +37 -27
  107. package/components/Hint/hint.scss +37 -30
  108. package/components/Icon/icon.css +1 -1
  109. package/components/Icon/icon.scss +1 -1
  110. package/components/InlineEdit/inline-edit.css +4 -4
  111. package/components/InlineEdit/inline-edit.scss +4 -4
  112. package/components/InputGroup/input-group.css +12 -6
  113. package/components/InputGroup/input-group.scss +11 -5
  114. package/components/InputGroup/themes/dark/input-group.scss +1 -1
  115. package/components/JumpLinks/jump-links.css +27 -24
  116. package/components/JumpLinks/jump-links.scss +26 -24
  117. package/components/Label/label-group.css +13 -10
  118. package/components/Label/label-group.scss +13 -10
  119. package/components/Label/label.css +9 -9
  120. package/components/Label/label.scss +9 -9
  121. package/components/List/list.css +25 -25
  122. package/components/List/list.scss +26 -26
  123. package/components/LogViewer/log-viewer.css +14 -14
  124. package/components/LogViewer/log-viewer.scss +14 -14
  125. package/components/Login/login.css +104 -122
  126. package/components/Login/login.scss +92 -91
  127. package/components/Masthead/masthead.css +68 -125
  128. package/components/Masthead/masthead.scss +123 -153
  129. package/components/Menu/menu.css +82 -65
  130. package/components/Menu/menu.scss +85 -69
  131. package/components/MenuToggle/menu-toggle.css +89 -100
  132. package/components/MenuToggle/menu-toggle.scss +92 -112
  133. package/components/ModalBox/modal-box.css +76 -69
  134. package/components/ModalBox/modal-box.scss +74 -70
  135. package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  136. package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
  137. package/components/Nav/nav.css +162 -133
  138. package/components/Nav/nav.scss +162 -135
  139. package/components/Nav/themes/dark/nav.scss +2 -2
  140. package/components/NotificationBadge/notification-badge.css +66 -85
  141. package/components/NotificationBadge/notification-badge.scss +72 -103
  142. package/components/NotificationDrawer/notification-drawer.css +32 -19
  143. package/components/NotificationDrawer/notification-drawer.scss +30 -19
  144. package/components/NumberInput/number-input.css +2 -2
  145. package/components/NumberInput/number-input.scss +2 -2
  146. package/components/OptionsMenu/options-menu.css +43 -31
  147. package/components/OptionsMenu/options-menu.scss +43 -31
  148. package/components/OverflowMenu/overflow-menu.css +2 -2
  149. package/components/OverflowMenu/overflow-menu.scss +2 -2
  150. package/components/Page/page.css +232 -271
  151. package/components/Page/page.scss +180 -231
  152. package/components/Pagination/pagination.css +27 -17
  153. package/components/Pagination/pagination.scss +25 -17
  154. package/components/Panel/panel.css +13 -7
  155. package/components/Panel/panel.scss +13 -7
  156. package/components/Popover/popover.css +72 -40
  157. package/components/Popover/popover.scss +95 -75
  158. package/components/Progress/progress.css +9 -7
  159. package/components/Progress/progress.scss +12 -7
  160. package/components/ProgressStepper/progress-stepper.css +26 -20
  161. package/components/ProgressStepper/progress-stepper.scss +25 -19
  162. package/components/Radio/radio.css +16 -13
  163. package/components/Radio/radio.scss +20 -14
  164. package/components/Select/select.css +56 -47
  165. package/components/Select/select.scss +56 -47
  166. package/components/Sidebar/sidebar.css +11 -5
  167. package/components/Sidebar/sidebar.scss +11 -5
  168. package/components/SimpleList/simple-list.css +10 -4
  169. package/components/SimpleList/simple-list.scss +10 -4
  170. package/components/Skeleton/skeleton.css +6 -5
  171. package/components/Skeleton/skeleton.scss +4 -5
  172. package/components/SkipToContent/skip-to-content.css +3 -3
  173. package/components/SkipToContent/skip-to-content.scss +3 -3
  174. package/components/Slider/slider.css +47 -26
  175. package/components/Slider/slider.scss +56 -28
  176. package/components/Switch/switch.css +10 -6
  177. package/components/Switch/switch.scss +11 -7
  178. package/components/TabContent/tab-content.css +4 -1
  179. package/components/TabContent/tab-content.scss +4 -1
  180. package/components/Table/table-grid.css +264 -203
  181. package/components/Table/table-grid.scss +61 -47
  182. package/components/Table/table-scrollable.css +4 -4
  183. package/components/Table/table-scrollable.scss +6 -4
  184. package/components/Table/table-tree-view.css +112 -105
  185. package/components/Table/table-tree-view.scss +38 -33
  186. package/components/Table/table.css +176 -159
  187. package/components/Table/table.scss +177 -165
  188. package/components/Tabs/tabs.css +76 -48
  189. package/components/Tabs/tabs.scss +74 -48
  190. package/components/TextInputGroup/text-input-group.css +15 -15
  191. package/components/TextInputGroup/text-input-group.scss +15 -15
  192. package/components/Tile/tile.css +10 -10
  193. package/components/Tile/tile.scss +10 -10
  194. package/components/Title/title.css +70 -19
  195. package/components/Title/title.scss +90 -20
  196. package/components/ToggleGroup/toggle-group.css +14 -11
  197. package/components/ToggleGroup/toggle-group.scss +14 -11
  198. package/components/Toolbar/toolbar.css +57 -44
  199. package/components/Toolbar/toolbar.scss +45 -26
  200. package/components/Tooltip/tooltip.css +60 -28
  201. package/components/Tooltip/tooltip.scss +76 -56
  202. package/components/TreeView/tree-view.css +48 -27
  203. package/components/TreeView/tree-view.scss +50 -28
  204. package/components/Truncate/truncate.css +9 -0
  205. package/components/Truncate/truncate.scss +16 -3
  206. package/components/Wizard/wizard.css +57 -36
  207. package/components/Wizard/wizard.scss +57 -36
  208. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  209. package/docs/components/Accordion/examples/Accordion.md +95 -0
  210. package/docs/components/Alert/examples/Alert.md +1 -1
  211. package/docs/components/Badge/examples/Badge.md +21 -0
  212. package/docs/components/Brand/examples/Brand.css +12 -0
  213. package/docs/components/Brand/examples/Brand.md +75 -32
  214. package/docs/components/Button/examples/Button.css +2 -2
  215. package/docs/components/Button/examples/Button.md +15 -3
  216. package/docs/components/Card/examples/Card.md +125 -17
  217. package/docs/components/Check/examples/Check.md +71 -59
  218. package/docs/components/Chip/examples/Chip.md +1 -1
  219. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  220. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  221. package/docs/components/DragDrop/examples/DragDrop.css +2 -2
  222. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  223. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  224. package/docs/components/Label/examples/Label.md +1 -1
  225. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  226. package/docs/components/LogViewer/examples/LogViewer.md +250 -160
  227. package/docs/components/Login/examples/Login.md +5 -0
  228. package/docs/components/Masthead/examples/masthead.md +7 -54
  229. package/docs/components/Menu/examples/Menu.css +8 -0
  230. package/docs/components/Menu/examples/Menu.md +594 -543
  231. package/docs/components/MenuToggle/examples/MenuToggle.md +151 -138
  232. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  233. package/docs/components/Nav/examples/Navigation.css +3 -25
  234. package/docs/components/Nav/examples/Navigation.md +239 -113
  235. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  236. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  237. package/docs/components/Page/examples/Page.css +0 -8
  238. package/docs/components/Page/examples/Page.md +22 -21
  239. package/docs/components/Popover/examples/Popover.css +4 -9
  240. package/docs/components/Radio/examples/Radio.md +63 -55
  241. package/docs/components/Select/deprecated/Select.md +184 -177
  242. package/docs/components/Table/examples/Table.css +2 -2
  243. package/docs/components/Table/examples/Table.md +2 -2
  244. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  245. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  246. package/docs/components/Tile/examples/Tile.css +1 -1
  247. package/docs/components/Title/examples/Title.md +18 -0
  248. package/docs/components/Toolbar/examples/Toolbar.md +570 -2803
  249. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  250. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  251. package/docs/components/Truncate/examples/Truncate.md +2 -2
  252. package/docs/demos/AboutModal/examples/AboutModal.md +85 -10
  253. package/docs/demos/Alert/examples/Alert.md +249 -24
  254. package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
  255. package/docs/demos/Banner/examples/Banner.md +168 -16
  256. package/docs/demos/Card/examples/Card.css +3 -3
  257. package/docs/demos/Card/examples/Card.md +26 -10
  258. package/docs/demos/CardView/examples/CardView.md +139 -79
  259. package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
  260. package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
  261. package/docs/demos/DataList/examples/DataList.md +524 -354
  262. package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
  263. package/docs/demos/Drawer/examples/Drawer.md +415 -40
  264. package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
  265. package/docs/demos/Masthead/examples/Masthead.md +793 -277
  266. package/docs/demos/Modal/examples/Modal.md +498 -48
  267. package/docs/demos/Nav/examples/Nav.md +664 -64
  268. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +420 -40
  269. package/docs/demos/Page/examples/Page.md +747 -72
  270. package/docs/demos/Page/examples/Penta.md +746 -0
  271. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
  272. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +824 -451
  273. package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
  274. package/docs/demos/Table/examples/Table.md +2313 -1887
  275. package/docs/demos/Tabs/examples/Tabs.md +528 -71
  276. package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  277. package/docs/demos/Toolbar/examples/Toolbar.md +870 -1044
  278. package/docs/demos/Wizard/examples/Wizard.md +747 -72
  279. package/docs/layouts/Flex/examples/Flex.md +5 -5
  280. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  281. package/icons/pficons.mjs +1 -0
  282. package/layouts/Flex/flex.css +115 -43
  283. package/layouts/Flex/flex.scss +20 -8
  284. package/package.json +9 -5
  285. package/patternfly-addons.css +732 -972
  286. package/patternfly-base-no-globals-theme-dark-unversioned.css +397 -227
  287. package/patternfly-base-no-globals.css +397 -227
  288. package/patternfly-base-theme-dark-unversioned.css +414 -245
  289. package/patternfly-base.css +414 -245
  290. package/patternfly-no-globals.css +4135 -3506
  291. package/patternfly-theme-dark-unversioned.css +4152 -3524
  292. package/patternfly.css +4152 -3524
  293. package/patternfly.min.css +1 -1
  294. package/patternfly.min.css.map +1 -1
  295. package/sass-utilities/functions.scss +6 -0
  296. package/sass-utilities/mixins.scss +62 -2
  297. package/sass-utilities/scss-variables.scss +8 -8
  298. package/sass-utilities/themes/dark/mixins.scss +3 -1
  299. package/utilities/Accessibility/accessibility.css +12 -12
  300. package/utilities/Spacing/spacing.css +720 -960
  301. package/utilities/Spacing/spacing.scss +4 -8
  302. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  303. package/components/Alert/themes/dark/alert.scss +0 -17
  304. package/components/Badge/themes/dark/badge.scss +0 -9
  305. package/components/Hint/themes/dark/hint.scss +0 -8
  306. package/components/Login/themes/dark/login.scss +0 -12
  307. package/components/Masthead/themes/dark/masthead.scss +0 -14
  308. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  309. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  310. package/components/Page/themes/dark/page.scss +0 -69
  311. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -1,119 +1,104 @@
1
- .pf-v5-c-about-modal-box {
2
- --pf-v5-global--Color--100: var(--pf-v5-global--Color--light-100);
3
- --pf-v5-global--Color--200: var(--pf-v5-global--Color--light-200);
4
- --pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--light-100);
5
- --pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--light-100);
6
- --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--light);
7
- --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--light);
8
- --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--dark-100);
9
- --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--light);
10
- --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--light);
11
- }
12
- .pf-v5-c-about-modal-box .pf-v5-c-button {
13
- --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--dark-100);
14
- }
15
-
16
- .pf-v5-c-about-modal-box {
1
+ :root {
17
2
  --pf-v5-c-about-modal-box--BackgroundImage: none;
18
- --pf-v5-c-about-modal-box--BackgroundColor: var(--pf-v5-global--palette--black-1000);
3
+ --pf-v5-c-about-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
19
4
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
20
- --pf-v5-c-about-modal-box--BackgroundSize--min-width: 200px;
21
- --pf-v5-c-about-modal-box--BackgroundSize--width: 60%;
22
- --pf-v5-c-about-modal-box--BackgroundSize--max-width: 600px;
23
- --pf-v5-c-about-modal-box--BackgroundSize: clamp(var(--pf-v5-c-about-modal-box--BackgroundSize--min-width), var(--pf-v5-c-about-modal-box--BackgroundSize--width), var(--pf-v5-c-about-modal-box--BackgroundSize--max-width));
5
+ --pf-v5-c-about-modal-box--BackgroundSize--width: 100%;
6
+ --pf-v5-c-about-modal-box--BackgroundSize: contain;
24
7
  --pf-v5-c-about-modal-box--Height: 100%;
25
8
  --pf-v5-c-about-modal-box--lg--Height: 47.625rem;
26
9
  --pf-v5-c-about-modal-box--Width: 100%;
27
10
  --pf-v5-c-about-modal-box--sm--GridTemplateColumns: 5fr 1fr;
28
11
  --pf-v5-c-about-modal-box--lg--GridTemplateColumns: 1fr .6fr;
29
- --pf-v5-c-about-modal-box__brand--PaddingTop: var(--pf-v5-global--spacer--2xl);
30
- --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-v5-global--spacer--xl);
31
- --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-v5-global--spacer--xl);
32
- --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-v5-global--spacer--xl);
33
- --pf-v5-c-about-modal-box__brand--sm--PaddingRight: var(--pf-v5-global--spacer--3xl);
34
- --pf-v5-c-about-modal-box__brand--sm--PaddingLeft: var(--pf-v5-global--spacer--3xl);
35
- --pf-v5-c-about-modal-box__brand--sm--PaddingBottom: var(--pf-v5-global--spacer--3xl);
12
+ --pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
13
+ --pf-v5-c-about-modal-box__brand--PaddingTop: var(--pf-t--global--spacer--2xl);
14
+ --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-t--global--spacer--xl);
15
+ --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-t--global--spacer--xl);
16
+ --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-t--global--spacer--xl);
17
+ --pf-v5-c-about-modal-box__brand--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
18
+ --pf-v5-c-about-modal-box__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
19
+ --pf-v5-c-about-modal-box__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
36
20
  --pf-v5-c-about-modal-box__close--ZIndex: var(--pf-v5-global--ZIndex--2xl);
37
- --pf-v5-c-about-modal-box__close--PaddingTop: var(--pf-v5-global--spacer--2xl);
38
- --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-v5-global--spacer--xl);
39
- --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-v5-global--spacer--xl);
40
- --pf-v5-c-about-modal-box__close--sm--PaddingBottom: var(--pf-v5-global--spacer--3xl);
41
- --pf-v5-c-about-modal-box__close--lg--PaddingRight: var(--pf-v5-global--spacer--3xl);
42
- --pf-v5-c-about-modal-box__close--c-button--Color: var(--pf-v5-global--Color--100);
43
- --pf-v5-c-about-modal-box__close--c-button--FontSize: var(--pf-v5-global--FontSize--xl);
44
- --pf-v5-c-about-modal-box__close--c-button--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
45
- --pf-v5-c-about-modal-box__close--c-button--Width: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
46
- --pf-v5-c-about-modal-box__close--c-button--Height: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
47
- --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-global--palette--black-1000);
48
- --pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor: rgba(3, 3, 3, 0.4);
21
+ --pf-v5-c-about-modal-box__close--PaddingTop: var(--pf-t--global--spacer--2xl);
22
+ --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-t--global--spacer--xl);
23
+ --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-t--global--spacer--xl);
24
+ --pf-v5-c-about-modal-box__close--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
25
+ --pf-v5-c-about-modal-box__close--lg--PaddingRight: var(--pf-t--global--spacer--3xl);
26
+ --pf-v5-c-about-modal-box__close--c-button--FontSize: var(--pf-t--global--icon--size--lg);
49
27
  --pf-v5-c-about-modal-box__brand-image--Height: 2.5rem;
50
- --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-global--spacer--xl);
51
- --pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-v5-global--spacer--sm);
52
- --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-v5-global--spacer--xl);
53
- --pf-v5-c-about-modal-box__header--sm--PaddingRight: var(--pf-v5-global--spacer--3xl);
54
- --pf-v5-c-about-modal-box__header--sm--PaddingLeft: var(--pf-v5-global--spacer--3xl);
55
- --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-v5-global--spacer--xl);
56
- --pf-v5-c-about-modal-box__strapline--FontSize: var(--pf-v5-global--FontSize--sm);
57
- --pf-v5-c-about-modal-box__strapline--sm--PaddingTop: var(--pf-v5-global--spacer--2xl);
58
- --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-v5-global--spacer--xl);
59
- --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-v5-global--spacer--xl);
60
- --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-v5-global--spacer--xl);
61
- --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-v5-global--spacer--xl);
62
- --pf-v5-c-about-modal-box__content--sm--MarginTop: var(--pf-v5-global--spacer--2xl);
63
- --pf-v5-c-about-modal-box__content--sm--MarginRight: var(--pf-v5-global--spacer--3xl);
64
- --pf-v5-c-about-modal-box__content--sm--MarginBottom: var(--pf-v5-global--spacer--2xl);
65
- --pf-v5-c-about-modal-box__content--sm--MarginLeft: var(--pf-v5-global--spacer--3xl);
66
- color: var(--pf-v5-global--Color--100);
67
- position: relative;
68
- display: grid;
69
- grid-template-areas: "brand close" "header header" "content content";
70
- grid-template-rows: max-content max-content auto;
71
- width: var(--pf-v5-c-about-modal-box--Width);
72
- height: var(--pf-v5-c-about-modal-box--Height);
73
- overflow-x: hidden;
74
- overflow-y: auto;
75
- background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
76
- background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
77
- background-repeat: no-repeat;
78
- background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
79
- background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
28
+ --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-t--global--spacer--xl);
29
+ --pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-t--global--spacer--sm);
30
+ --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-t--global--spacer--xl);
31
+ --pf-v5-c-about-modal-box__header--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
32
+ --pf-v5-c-about-modal-box__header--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
33
+ --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-t--global--spacer--xl);
34
+ --pf-v5-c-about-modal-box__strapline--FontSize: var(--pf-t--global--font--size--body--sm);
35
+ --pf-v5-c-about-modal-box__strapline--Color: var(--pf-t--global--text--color--subtle);
36
+ --pf-v5-c-about-modal-box__strapline--sm--PaddingTop: var(--pf-t--global--spacer--2xl);
37
+ --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-t--global--spacer--xl);
38
+ --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-t--global--spacer--xl);
39
+ --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-t--global--spacer--xl);
40
+ --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-t--global--spacer--xl);
41
+ --pf-v5-c-about-modal-box__content--sm--MarginTop: var(--pf-t--global--spacer--2xl);
42
+ --pf-v5-c-about-modal-box__content--sm--MarginRight: var(--pf-t--global--spacer--3xl);
43
+ --pf-v5-c-about-modal-box__content--sm--MarginBottom: var(--pf-t--global--spacer--2xl);
44
+ --pf-v5-c-about-modal-box__content--sm--MarginLeft: var(--pf-t--global--spacer--3xl);
45
+ }
46
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) :root {
47
+ --pf-v5-c-about-modal-box--BackgroundPosition: bottom left;
80
48
  }
49
+
81
50
  @media screen and (min-width: 576px) {
82
- .pf-v5-c-about-modal-box {
51
+ :root {
83
52
  --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-v5-c-about-modal-box__brand--sm--PaddingRight);
84
53
  --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-v5-c-about-modal-box__brand--sm--PaddingLeft);
85
54
  --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-v5-c-about-modal-box__brand--sm--PaddingBottom);
86
55
  }
87
56
  }
88
57
  @media only screen and (min-width: 576px) {
89
- .pf-v5-c-about-modal-box {
58
+ :root {
90
59
  --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-v5-c-about-modal-box__close--sm--PaddingBottom);
91
60
  }
92
61
  }
93
62
  @media only screen and (min-width: 992px) {
94
- .pf-v5-c-about-modal-box {
63
+ :root {
95
64
  --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-v5-c-about-modal-box__close--lg--PaddingRight);
96
65
  }
97
66
  }
98
67
  @media only screen and (min-width: 576px) {
99
- .pf-v5-c-about-modal-box {
68
+ :root {
100
69
  --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-c-about-modal-box__header--sm--PaddingRight);
101
70
  --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-v5-c-about-modal-box__header--sm--PaddingLeft);
102
71
  }
103
72
  }
104
73
  @media only screen and (min-width: 576px) {
105
- .pf-v5-c-about-modal-box {
74
+ :root {
106
75
  --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-v5-c-about-modal-box__strapline--sm--PaddingTop);
107
76
  }
108
77
  }
109
78
  @media only screen and (min-width: 576px) {
110
- .pf-v5-c-about-modal-box {
79
+ :root {
111
80
  --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-v5-c-about-modal-box__content--sm--MarginTop);
112
81
  --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-v5-c-about-modal-box__content--sm--MarginRight);
113
82
  --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-v5-c-about-modal-box__content--sm--MarginBottom);
114
83
  --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-v5-c-about-modal-box__content--sm--MarginLeft);
115
84
  }
116
85
  }
86
+
87
+ .pf-v5-c-about-modal-box {
88
+ position: relative;
89
+ display: grid;
90
+ grid-template-areas: "brand close" "header header" "content content";
91
+ grid-template-rows: max-content max-content auto;
92
+ width: var(--pf-v5-c-about-modal-box--Width);
93
+ height: var(--pf-v5-c-about-modal-box--Height);
94
+ overflow-x: hidden;
95
+ overflow-y: auto;
96
+ background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
97
+ background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
98
+ background-repeat: no-repeat;
99
+ background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
100
+ background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
101
+ }
117
102
  @media only screen and (min-width: 576px) {
118
103
  .pf-v5-c-about-modal-box {
119
104
  grid-template-areas: "brand close" "header close" "content close";
@@ -132,7 +117,10 @@
132
117
  .pf-v5-c-about-modal-box__brand {
133
118
  display: flex;
134
119
  grid-area: brand;
135
- padding: var(--pf-v5-c-about-modal-box__brand--PaddingTop) var(--pf-v5-c-about-modal-box__brand--PaddingRight) var(--pf-v5-c-about-modal-box__brand--PaddingBottom) var(--pf-v5-c-about-modal-box__brand--PaddingLeft);
120
+ padding-block-start: var(--pf-v5-c-about-modal-box__brand--PaddingTop);
121
+ padding-block-end: var(--pf-v5-c-about-modal-box__brand--PaddingBottom);
122
+ padding-inline-start: var(--pf-v5-c-about-modal-box__brand--PaddingLeft);
123
+ padding-inline-end: var(--pf-v5-c-about-modal-box__brand--PaddingRight);
136
124
  }
137
125
 
138
126
  .pf-v5-c-about-modal-box__brand-image {
@@ -143,27 +131,31 @@
143
131
  display: flex;
144
132
  flex-direction: column;
145
133
  grid-area: header;
146
- padding-right: var(--pf-v5-c-about-modal-box__header--PaddingRight);
147
- padding-bottom: var(--pf-v5-c-about-modal-box__header--PaddingBottom);
148
- padding-left: var(--pf-v5-c-about-modal-box__header--PaddingLeft);
134
+ padding-block-end: var(--pf-v5-c-about-modal-box__header--PaddingBottom);
135
+ padding-inline-start: var(--pf-v5-c-about-modal-box__header--PaddingLeft);
136
+ padding-inline-end: var(--pf-v5-c-about-modal-box__header--PaddingRight);
149
137
  }
150
138
 
151
139
  .pf-v5-c-about-modal-box__strapline {
152
- padding-top: var(--pf-v5-c-about-modal-box__strapline--PaddingTop);
153
- margin-top: auto;
140
+ padding-block-start: var(--pf-v5-c-about-modal-box__strapline--PaddingTop);
141
+ margin-block-start: auto;
154
142
  font-size: var(--pf-v5-c-about-modal-box__strapline--FontSize);
143
+ color: var(--pf-v5-c-about-modal-box__strapline--Color);
155
144
  }
156
145
 
157
146
  .pf-v5-c-about-modal-box__content {
158
147
  display: flex;
159
148
  flex-direction: column;
160
149
  grid-area: content;
161
- margin: var(--pf-v5-c-about-modal-box__content--MarginTop) var(--pf-v5-c-about-modal-box__content--MarginRight) var(--pf-v5-c-about-modal-box__content--MarginBottom) var(--pf-v5-c-about-modal-box__content--MarginLeft);
150
+ margin-block-start: var(--pf-v5-c-about-modal-box__content--MarginTop);
151
+ margin-block-end: var(--pf-v5-c-about-modal-box__content--MarginBottom);
152
+ margin-inline-start: var(--pf-v5-c-about-modal-box__content--MarginLeft);
153
+ margin-inline-end: var(--pf-v5-c-about-modal-box__content--MarginRight);
162
154
  overflow-x: hidden;
163
155
  overflow-y: auto;
164
156
  overscroll-behavior: contain;
165
- -webkit-overflow-scrolling: touch;
166
157
  word-break: break-word;
158
+ -webkit-overflow-scrolling: touch;
167
159
  }
168
160
  @media screen and (min-width: 576px) {
169
161
  .pf-v5-c-about-modal-box__content {
@@ -174,14 +166,14 @@
174
166
 
175
167
  .pf-v5-c-about-modal-box__close {
176
168
  position: sticky;
177
- top: 0;
169
+ inset-block-start: 0;
178
170
  display: flex;
179
171
  grid-area: close;
180
172
  align-items: flex-start;
181
173
  justify-content: flex-end;
182
- padding-top: var(--pf-v5-c-about-modal-box__close--PaddingTop);
183
- padding-right: var(--pf-v5-c-about-modal-box__close--PaddingRight);
184
- padding-bottom: var(--pf-v5-c-about-modal-box__close--PaddingBottom);
174
+ padding-block-start: var(--pf-v5-c-about-modal-box__close--PaddingTop);
175
+ padding-block-end: var(--pf-v5-c-about-modal-box__close--PaddingBottom);
176
+ padding-inline-end: var(--pf-v5-c-about-modal-box__close--PaddingRight);
185
177
  }
186
178
  @media only screen and (min-width: 576px) {
187
179
  .pf-v5-c-about-modal-box__close {
@@ -195,25 +187,5 @@
195
187
  }
196
188
  }
197
189
  .pf-v5-c-about-modal-box__close .pf-v5-c-button.pf-m-plain {
198
- display: flex;
199
- align-items: center;
200
- justify-content: center;
201
- width: var(--pf-v5-c-about-modal-box__close--c-button--Width);
202
- height: var(--pf-v5-c-about-modal-box__close--c-button--Height);
203
- padding: 0;
204
190
  font-size: var(--pf-v5-c-about-modal-box__close--c-button--FontSize);
205
- color: var(--pf-v5-c-about-modal-box__close--c-button--Color);
206
- background-color: var(--pf-v5-c-about-modal-box__close--c-button--BackgroundColor);
207
- border-radius: var(--pf-v5-c-about-modal-box__close--c-button--BorderRadius);
208
- }
209
- .pf-v5-c-about-modal-box__close .pf-v5-c-button.pf-m-plain:hover {
210
- --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor);
211
- }
212
-
213
- :where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box .pf-v5-c-button {
214
- --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--300);
215
- }
216
-
217
- :where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box {
218
- color: var(--pf-v5-global--Color--100);
219
191
  }
@@ -1,28 +1,33 @@
1
1
  // @debug $about-modal-box; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
2
 
3
- .#{$about-modal-box} {
3
+ :root {
4
4
  // Component variables
5
5
  --#{$about-modal-box}--BackgroundImage: none;
6
- --#{$about-modal-box}--BackgroundColor: var(--#{$pf-global}--palette--black-1000); // Modal uses a non-standard background color
6
+ --#{$about-modal-box}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
7
7
  --#{$about-modal-box}--BackgroundPosition: bottom right;
8
- --#{$about-modal-box}--BackgroundSize--min-width: 200px;
9
- --#{$about-modal-box}--BackgroundSize--width: 60%;
10
- --#{$about-modal-box}--BackgroundSize--max-width: 600px;
11
- --#{$about-modal-box}--BackgroundSize: clamp(var(--#{$about-modal-box}--BackgroundSize--min-width), var(--#{$about-modal-box}--BackgroundSize--width), var(--#{$about-modal-box}--BackgroundSize--max-width));
8
+ --#{$about-modal-box}--BackgroundSize--width: 100%;
9
+ --#{$about-modal-box}--BackgroundSize: contain;
12
10
  --#{$about-modal-box}--Height: 100%;
13
11
  --#{$about-modal-box}--lg--Height: #{pf-size-prem(762px)}; // Height is optimized for the exact height desired
14
12
  --#{$about-modal-box}--Width: 100%;
15
13
  --#{$about-modal-box}--sm--GridTemplateColumns: 5fr 1fr;
16
14
  --#{$about-modal-box}--lg--GridTemplateColumns: 1fr .6fr;
17
15
 
16
+ @include pf-v5-bidirectional-style(
17
+ $prop: --#{$about-modal-box}--BackgroundPosition,
18
+ $ltr-val: bottom right,
19
+ $rtl-val: bottom left
20
+ );
21
+
22
+
18
23
  // Brand
19
- --#{$about-modal-box}__brand--PaddingTop: var(--#{$pf-global}--spacer--2xl);
20
- --#{$about-modal-box}__brand--PaddingRight: var(--#{$pf-global}--spacer--xl);
21
- --#{$about-modal-box}__brand--PaddingLeft: var(--#{$pf-global}--spacer--xl);
22
- --#{$about-modal-box}__brand--PaddingBottom: var(--#{$pf-global}--spacer--xl);
23
- --#{$about-modal-box}__brand--sm--PaddingRight: var(--#{$pf-global}--spacer--3xl);
24
- --#{$about-modal-box}__brand--sm--PaddingLeft: var(--#{$pf-global}--spacer--3xl);
25
- --#{$about-modal-box}__brand--sm--PaddingBottom: var(--#{$pf-global}--spacer--3xl);
24
+ --#{$about-modal-box}__brand--PaddingTop: var(--pf-t--global--spacer--2xl);
25
+ --#{$about-modal-box}__brand--PaddingRight: var(--pf-t--global--spacer--xl);
26
+ --#{$about-modal-box}__brand--PaddingLeft: var(--pf-t--global--spacer--xl);
27
+ --#{$about-modal-box}__brand--PaddingBottom: var(--pf-t--global--spacer--xl);
28
+ --#{$about-modal-box}__brand--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
29
+ --#{$about-modal-box}__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
30
+ --#{$about-modal-box}__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
26
31
 
27
32
  @media screen and (min-width: $pf-v5-global--breakpoint--sm) {
28
33
  --#{$about-modal-box}__brand--PaddingRight: var(--#{$about-modal-box}__brand--sm--PaddingRight);
@@ -31,12 +36,12 @@
31
36
  }
32
37
 
33
38
  // Close
34
- --#{$about-modal-box}__close--ZIndex: var(--#{$pf-global}--ZIndex--2xl);
35
- --#{$about-modal-box}__close--PaddingTop: var(--#{$pf-global}--spacer--2xl);
36
- --#{$about-modal-box}__close--PaddingRight: var(--#{$pf-global}--spacer--xl);
37
- --#{$about-modal-box}__close--PaddingBottom: var(--#{$pf-global}--spacer--xl);
38
- --#{$about-modal-box}__close--sm--PaddingBottom: var(--#{$pf-global}--spacer--3xl);
39
- --#{$about-modal-box}__close--lg--PaddingRight: var(--#{$pf-global}--spacer--3xl);
39
+ --#{$about-modal-box}__close--ZIndex: var(--#{$pf-global}--ZIndex--2xl); // TODO zindex token
40
+ --#{$about-modal-box}__close--PaddingTop: var(--pf-t--global--spacer--2xl);
41
+ --#{$about-modal-box}__close--PaddingRight: var(--pf-t--global--spacer--xl);
42
+ --#{$about-modal-box}__close--PaddingBottom: var(--pf-t--global--spacer--xl);
43
+ --#{$about-modal-box}__close--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
44
+ --#{$about-modal-box}__close--lg--PaddingRight: var(--pf-t--global--spacer--3xl);
40
45
 
41
46
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
42
47
  --#{$about-modal-box}__close--PaddingBottom: var(--#{$about-modal-box}__close--sm--PaddingBottom);
@@ -47,23 +52,17 @@
47
52
  }
48
53
 
49
54
  // Close Button
50
- --#{$about-modal-box}__close--c-button--Color: var(--#{$pf-global}--Color--100);
51
- --#{$about-modal-box}__close--c-button--FontSize: var(--#{$pf-global}--FontSize--xl);
52
- --#{$about-modal-box}__close--c-button--BorderRadius: var(--#{$pf-global}--BorderRadius--lg);
53
- --#{$about-modal-box}__close--c-button--Width: calc(var(--#{$about-modal-box}__close--c-button--FontSize) * 2); // Height and width are 2x font-size
54
- --#{$about-modal-box}__close--c-button--Height: calc(var(--#{$about-modal-box}__close--c-button--FontSize) * 2);
55
- --#{$about-modal-box}__close--c-button--BackgroundColor: var(--#{$pf-global}--palette--black-1000); // Close button uses a non-standard background color
56
- --#{$about-modal-box}__close--c-button--hover--BackgroundColor: #{rgba($pf-v5-color-black-1000, .4)};
55
+ --#{$about-modal-box}__close--c-button--FontSize: var(--pf-t--global--icon--size--lg);
57
56
 
58
57
  // Brand img
59
58
  --#{$about-modal-box}__brand-image--Height: #{pf-size-prem(40px)};
60
59
 
61
60
  // Header
62
- --#{$about-modal-box}__header--PaddingRight: var(--#{$pf-global}--spacer--xl);
63
- --#{$about-modal-box}__header--PaddingBottom: var(--#{$pf-global}--spacer--sm);
64
- --#{$about-modal-box}__header--PaddingLeft: var(--#{$pf-global}--spacer--xl);
65
- --#{$about-modal-box}__header--sm--PaddingRight: var(--#{$pf-global}--spacer--3xl);
66
- --#{$about-modal-box}__header--sm--PaddingLeft: var(--#{$pf-global}--spacer--3xl);
61
+ --#{$about-modal-box}__header--PaddingRight: var(--pf-t--global--spacer--xl);
62
+ --#{$about-modal-box}__header--PaddingBottom: var(--pf-t--global--spacer--sm);
63
+ --#{$about-modal-box}__header--PaddingLeft: var(--pf-t--global--spacer--xl);
64
+ --#{$about-modal-box}__header--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
65
+ --#{$about-modal-box}__header--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
67
66
 
68
67
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
69
68
  --#{$about-modal-box}__header--PaddingRight: var(--#{$about-modal-box}__header--sm--PaddingRight);
@@ -71,23 +70,24 @@
71
70
  }
72
71
 
73
72
  // Strapline
74
- --#{$about-modal-box}__strapline--PaddingTop: var(--#{$pf-global}--spacer--xl);
75
- --#{$about-modal-box}__strapline--FontSize: var(--#{$pf-global}--FontSize--sm);
76
- --#{$about-modal-box}__strapline--sm--PaddingTop: var(--#{$pf-global}--spacer--2xl);
73
+ --#{$about-modal-box}__strapline--PaddingTop: var(--pf-t--global--spacer--xl);
74
+ --#{$about-modal-box}__strapline--FontSize: var(--pf-t--global--font--size--body--sm);
75
+ --#{$about-modal-box}__strapline--Color: var(--pf-t--global--text--color--subtle);
76
+ --#{$about-modal-box}__strapline--sm--PaddingTop: var(--pf-t--global--spacer--2xl);
77
77
 
78
78
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
79
79
  --#{$about-modal-box}__strapline--PaddingTop: var(--#{$about-modal-box}__strapline--sm--PaddingTop);
80
80
  }
81
81
 
82
82
  // Content
83
- --#{$about-modal-box}__content--MarginTop: var(--#{$pf-global}--spacer--xl);
84
- --#{$about-modal-box}__content--MarginRight: var(--#{$pf-global}--spacer--xl);
85
- --#{$about-modal-box}__content--MarginBottom: var(--#{$pf-global}--spacer--xl);
86
- --#{$about-modal-box}__content--MarginLeft: var(--#{$pf-global}--spacer--xl);
87
- --#{$about-modal-box}__content--sm--MarginTop: var(--#{$pf-global}--spacer--2xl);
88
- --#{$about-modal-box}__content--sm--MarginRight: var(--#{$pf-global}--spacer--3xl);
89
- --#{$about-modal-box}__content--sm--MarginBottom: var(--#{$pf-global}--spacer--2xl);
90
- --#{$about-modal-box}__content--sm--MarginLeft: var(--#{$pf-global}--spacer--3xl);
83
+ --#{$about-modal-box}__content--MarginTop: var(--pf-t--global--spacer--xl);
84
+ --#{$about-modal-box}__content--MarginRight: var(--pf-t--global--spacer--xl);
85
+ --#{$about-modal-box}__content--MarginBottom: var(--pf-t--global--spacer--xl);
86
+ --#{$about-modal-box}__content--MarginLeft: var(--pf-t--global--spacer--xl);
87
+ --#{$about-modal-box}__content--sm--MarginTop: var(--pf-t--global--spacer--2xl);
88
+ --#{$about-modal-box}__content--sm--MarginRight: var(--pf-t--global--spacer--3xl);
89
+ --#{$about-modal-box}__content--sm--MarginBottom: var(--pf-t--global--spacer--2xl);
90
+ --#{$about-modal-box}__content--sm--MarginLeft: var(--pf-t--global--spacer--3xl);
91
91
 
92
92
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
93
93
  --#{$about-modal-box}__content--MarginTop: var(--#{$about-modal-box}__content--sm--MarginTop);
@@ -95,10 +95,9 @@
95
95
  --#{$about-modal-box}__content--MarginBottom: var(--#{$about-modal-box}__content--sm--MarginBottom);
96
96
  --#{$about-modal-box}__content--MarginLeft: var(--#{$about-modal-box}__content--sm--MarginLeft);
97
97
  }
98
+ }
98
99
 
99
- // This component always needs to be dark
100
- @include pf-v5-t-dark;
101
-
100
+ .#{$about-modal-box} {
102
101
  position: relative;
103
102
  display: grid;
104
103
  grid-template-areas:
@@ -110,7 +109,7 @@
110
109
  height: var(--#{$about-modal-box}--Height);
111
110
  overflow-x: hidden;
112
111
  overflow-y: auto;
113
- background-color: var(--#{$about-modal-box}--BackgroundColor); // Because this component is always dark, set the background color
112
+ background-color: var(--#{$about-modal-box}--BackgroundColor);
114
113
  background-image: var(--#{$about-modal-box}--BackgroundImage);
115
114
  background-repeat: no-repeat;
116
115
  background-position: var(--#{$about-modal-box}--BackgroundPosition);
@@ -137,7 +136,10 @@
137
136
  .#{$about-modal-box}__brand {
138
137
  display: flex;
139
138
  grid-area: brand;
140
- padding: var(--#{$about-modal-box}__brand--PaddingTop) var(--#{$about-modal-box}__brand--PaddingRight) var(--#{$about-modal-box}__brand--PaddingBottom) var(--#{$about-modal-box}__brand--PaddingLeft);
139
+ padding-block-start: var(--#{$about-modal-box}__brand--PaddingTop);
140
+ padding-block-end: var(--#{$about-modal-box}__brand--PaddingBottom);
141
+ padding-inline-start: var(--#{$about-modal-box}__brand--PaddingLeft);
142
+ padding-inline-end: var(--#{$about-modal-box}__brand--PaddingRight);
141
143
  }
142
144
 
143
145
  .#{$about-modal-box}__brand-image {
@@ -149,16 +151,17 @@
149
151
  display: flex;
150
152
  flex-direction: column;
151
153
  grid-area: header;
152
- padding-right: var(--#{$about-modal-box}__header--PaddingRight);
153
- padding-bottom: var(--#{$about-modal-box}__header--PaddingBottom);
154
- padding-left: var(--#{$about-modal-box}__header--PaddingLeft);
154
+ padding-block-end: var(--#{$about-modal-box}__header--PaddingBottom);
155
+ padding-inline-start: var(--#{$about-modal-box}__header--PaddingLeft);
156
+ padding-inline-end: var(--#{$about-modal-box}__header--PaddingRight);
155
157
  }
156
158
 
157
159
  // Strapline
158
160
  .#{$about-modal-box}__strapline {
159
- padding-top: var(--#{$about-modal-box}__strapline--PaddingTop);
160
- margin-top: auto;
161
+ padding-block-start: var(--#{$about-modal-box}__strapline--PaddingTop);
162
+ margin-block-start: auto;
161
163
  font-size: var(--#{$about-modal-box}__strapline--FontSize);
164
+ color: var(--#{$about-modal-box}__strapline--Color);
162
165
  }
163
166
 
164
167
  // Content
@@ -166,12 +169,15 @@
166
169
  display: flex;
167
170
  flex-direction: column;
168
171
  grid-area: content;
169
- margin: var(--#{$about-modal-box}__content--MarginTop) var(--#{$about-modal-box}__content--MarginRight) var(--#{$about-modal-box}__content--MarginBottom) var(--#{$about-modal-box}__content--MarginLeft); // Using margin instead of padding to prevent scrollbar extending to top of content block
172
+ margin-block-start: var(--#{$about-modal-box}__content--MarginTop);
173
+ margin-block-end: var(--#{$about-modal-box}__content--MarginBottom);
174
+ margin-inline-start: var(--#{$about-modal-box}__content--MarginLeft); // Using margin instead of padding to prevent scrollbar extending to top of content block
175
+ margin-inline-end: var(--#{$about-modal-box}__content--MarginRight);
170
176
  overflow-x: hidden;
171
177
  overflow-y: auto;
172
178
  overscroll-behavior: contain;
173
- -webkit-overflow-scrolling: touch;
174
179
  word-break: break-word;
180
+ -webkit-overflow-scrolling: touch;
175
181
 
176
182
  @media screen and (min-width: $pf-v5-global--breakpoint--sm) {
177
183
  overflow: visible;
@@ -182,14 +188,14 @@
182
188
  // Close
183
189
  .#{$about-modal-box}__close {
184
190
  position: sticky;
185
- top: 0;
191
+ inset-block-start: 0;
186
192
  display: flex;
187
193
  grid-area: close;
188
194
  align-items: flex-start;
189
195
  justify-content: flex-end;
190
- padding-top: var(--#{$about-modal-box}__close--PaddingTop);
191
- padding-right: var(--#{$about-modal-box}__close--PaddingRight);
192
- padding-bottom: var(--#{$about-modal-box}__close--PaddingBottom);
196
+ padding-block-start: var(--#{$about-modal-box}__close--PaddingTop);
197
+ padding-block-end: var(--#{$about-modal-box}__close--PaddingBottom);
198
+ padding-inline-end: var(--#{$about-modal-box}__close--PaddingRight);
193
199
 
194
200
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
195
201
  grid-area: 1 / 2;
@@ -203,26 +209,6 @@
203
209
  // Close button
204
210
  // Since this btn is unique to the about modal, use contextual selectors in this specific instance
205
211
  .#{$button}.pf-m-plain {
206
- display: flex;
207
- align-items: center;
208
- justify-content: center;
209
- width: var(--#{$about-modal-box}__close--c-button--Width);
210
- height: var(--#{$about-modal-box}__close--c-button--Height);
211
- padding: 0;
212
212
  font-size: var(--#{$about-modal-box}__close--c-button--FontSize);
213
- color: var(--#{$about-modal-box}__close--c-button--Color);
214
- background-color: var(--#{$about-modal-box}__close--c-button--BackgroundColor);
215
- border-radius: var(--#{$about-modal-box}__close--c-button--BorderRadius);
216
-
217
- &:hover {
218
- --#{$about-modal-box}__close--c-button--BackgroundColor: var(--#{$about-modal-box}__close--c-button--hover--BackgroundColor);
219
- }
220
213
  }
221
214
  }
222
-
223
- // stylelint-disable no-invalid-position-at-import-rule
224
- @import "themes/dark/about-modal-box";
225
-
226
- @include pf-v5-theme-dark {
227
- @include pf-v5-theme-dark-about-modal-box;
228
- }