@mediafly/js-ui 51.1.1 → 51.1.2

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 (343) hide show
  1. package/.node-version +1 -1
  2. package/.release-it.json +13 -13
  3. package/.semaphore/promotion-deploy-docs.yml +35 -35
  4. package/.semaphore/scripts/notify_jira.sh +115 -115
  5. package/.semaphore/semaphore.yml +91 -91
  6. package/.stylelintignore +5 -5
  7. package/CHANGELOG.md +468 -464
  8. package/README.md +61 -61
  9. package/archive/old-changelog.md +1645 -1645
  10. package/browserslist.config.js +27 -27
  11. package/cypress.config.ts +26 -26
  12. package/lib/actionable-empty-state/actionable-empty-state.html +15 -15
  13. package/lib/auto-complete/auto-complete-match-renderer.component.html +20 -20
  14. package/lib/auto-complete/auto-complete.component.html +43 -43
  15. package/lib/badge/badge.html +3 -3
  16. package/lib/checkbox/checkbox.html +23 -23
  17. package/lib/color-input/color-input.html +32 -32
  18. package/lib/date-input/date-input.html +31 -31
  19. package/lib/date-time-zone-picker/date-time-zone-picker.html +36 -36
  20. package/lib/date-time-zone-picker/datepicker.html +31 -31
  21. package/lib/date-time-zone-picker/time-zone-picker.html +21 -21
  22. package/lib/date-time-zone-picker/timepicker.html +32 -32
  23. package/lib/dropdown/dropdown.html +21 -21
  24. package/lib/dropdown-menu/dropdown-menu-action.component.html +25 -25
  25. package/lib/dropdown-menu/dropdown-menu-contents.html +3 -3
  26. package/lib/dropdown-menu/dropdown-menu-header.html +1 -1
  27. package/lib/dropdown-menu/dropdown-menu-item.html +1 -1
  28. package/lib/dropdown-menu/dropdown-menu-note.html +1 -1
  29. package/lib/dropdown-menu/dropdown-menu-separator.html +1 -1
  30. package/lib/dropdown-menu/dropdown-menu.html +1 -1
  31. package/lib/feedback/feedback.component.html +24 -24
  32. package/lib/first-time-motivator/first-time-motivator-transclude.html +1 -1
  33. package/lib/first-time-motivator/first-time-motivator.html +29 -29
  34. package/lib/font-selector/font-selector.html +67 -67
  35. package/lib/footer/footer.html +6 -6
  36. package/lib/hierarchy/hierarchy.html +38 -38
  37. package/lib/icon/icon.html +1 -1
  38. package/lib/icon/icon.service.js +3 -1
  39. package/lib/icon/icon.service.js.map +1 -1
  40. package/lib/inline-text-input/inline-text-input.component.html +13 -13
  41. package/lib/jsui.module.css +494 -494
  42. package/lib/loading-indicator/loading-indicator.component.html +12 -12
  43. package/lib/login-textinput/login-textinput.html +14 -14
  44. package/lib/metadata-form/metadata-form.html +547 -547
  45. package/lib/metadata-form/typeahead-match.template.html +3 -3
  46. package/lib/modal/modal.component.html +39 -39
  47. package/lib/paging/pager.html +20 -20
  48. package/lib/paging/paging-range-bottom.html +8 -8
  49. package/lib/paging/paging-range-top.html +34 -34
  50. package/lib/progress-bar/progress-bar.html +6 -6
  51. package/lib/progress-circle/progress-circle.html +15 -15
  52. package/lib/rich-text/rich-text.component.html +64 -64
  53. package/lib/site-header/site-header-navbar-item.component.html +12 -12
  54. package/lib/site-header/site-header.component.html +28 -28
  55. package/lib/table-blank-slate/table-blank-slate.html +16 -16
  56. package/lib/tabs/tab-group.html +20 -20
  57. package/lib/tabs/tab.html +2 -2
  58. package/lib/tag-input/tag-input.html +66 -66
  59. package/lib/textarea/textarea.html +16 -16
  60. package/lib/textinput/textinput.html +33 -33
  61. package/lib/time-input/time-input.html +47 -47
  62. package/lib/tree/tree-node.html +56 -56
  63. package/lib/tree/tree.html +27 -27
  64. package/lib/tsconfig.deploy.tsbuildinfo +140 -140
  65. package/lib/type-string/type-string.component.html +1 -1
  66. package/package.json +117 -117
  67. package/src/components/actionable-empty-state/actionable-empty-state.html +15 -15
  68. package/src/components/actionable-empty-state/actionable-empty-state.less +19 -19
  69. package/src/components/actionable-empty-state/actionable-empty-state.ts +36 -36
  70. package/src/components/actionable-empty-state/index.ts +1 -1
  71. package/src/components/auto-complete/auto-complete-match-renderer.component.html +20 -20
  72. package/src/components/auto-complete/auto-complete-match-renderer.component.ts +240 -240
  73. package/src/components/auto-complete/auto-complete.component.html +43 -43
  74. package/src/components/auto-complete/auto-complete.component.less +66 -66
  75. package/src/components/auto-complete/auto-complete.component.ts +69 -69
  76. package/src/components/auto-complete/index.ts +2 -2
  77. package/src/components/auto-focus/auto-focus.service.ts +24 -24
  78. package/src/components/auto-focus/auto-focus.ts +13 -13
  79. package/src/components/auto-focus/index.ts +2 -2
  80. package/src/components/badge/badge.html +3 -3
  81. package/src/components/badge/badge.less +47 -47
  82. package/src/components/badge/badge.ts +14 -14
  83. package/src/components/badge/index.ts +1 -1
  84. package/src/components/checkbox/checkbox.html +23 -23
  85. package/src/components/checkbox/checkbox.js +29 -29
  86. package/src/components/checkbox/index.ts +1 -1
  87. package/src/components/collapse/collapse.js +86 -86
  88. package/src/components/collapse/collapse.less +17 -17
  89. package/src/components/collapse/index.ts +1 -1
  90. package/src/components/color-input/color-input.html +32 -32
  91. package/src/components/color-input/color-input.less +623 -623
  92. package/src/components/color-input/color-input.ts +95 -95
  93. package/src/components/color-input/index.ts +2 -2
  94. package/src/components/color-input/spectrum-color-picker.js +59 -59
  95. package/src/components/color-utils/color-utils.service.ts +34 -34
  96. package/src/components/color-utils/index.ts +1 -1
  97. package/src/components/constants/constants.js +7 -7
  98. package/src/components/constants/index.ts +1 -1
  99. package/src/components/date-input/date-input.html +31 -31
  100. package/src/components/date-input/date-input.js +115 -115
  101. package/src/components/date-input/date-input.less +20 -20
  102. package/src/components/date-input/index.ts +2 -2
  103. package/src/components/date-input/validate-date.js +32 -32
  104. package/src/components/date-time-zone-picker/date-time-zone-factory.ts +122 -122
  105. package/src/components/date-time-zone-picker/date-time-zone-picker.html +36 -36
  106. package/src/components/date-time-zone-picker/date-time-zone-picker.less +55 -55
  107. package/src/components/date-time-zone-picker/date-time-zone-picker.ts +159 -159
  108. package/src/components/date-time-zone-picker/datepicker.html +31 -31
  109. package/src/components/date-time-zone-picker/datepicker.ts +173 -173
  110. package/src/components/date-time-zone-picker/index.ts +6 -6
  111. package/src/components/date-time-zone-picker/time-format-filter.ts +60 -60
  112. package/src/components/date-time-zone-picker/time-zone-picker.html +21 -21
  113. package/src/components/date-time-zone-picker/time-zone-picker.js +45 -45
  114. package/src/components/date-time-zone-picker/timepicker.html +32 -32
  115. package/src/components/date-time-zone-picker/timepicker.js +115 -115
  116. package/src/components/decorators/index.ts +82 -82
  117. package/src/components/dropdown/dropdown.html +21 -21
  118. package/src/components/dropdown/dropdown.less +67 -67
  119. package/src/components/dropdown/dropdown.ts +96 -96
  120. package/src/components/dropdown/index.ts +1 -1
  121. package/src/components/dropdown-menu/dropdown-menu-action.component.html +25 -25
  122. package/src/components/dropdown-menu/dropdown-menu-action.component.ts +70 -70
  123. package/src/components/dropdown-menu/dropdown-menu-contents.html +3 -3
  124. package/src/components/dropdown-menu/dropdown-menu-contents.ts +119 -119
  125. package/src/components/dropdown-menu/dropdown-menu-header.html +1 -1
  126. package/src/components/dropdown-menu/dropdown-menu-header.js +12 -12
  127. package/src/components/dropdown-menu/dropdown-menu-item.html +1 -1
  128. package/src/components/dropdown-menu/dropdown-menu-item.js +12 -12
  129. package/src/components/dropdown-menu/dropdown-menu-note.html +1 -1
  130. package/src/components/dropdown-menu/dropdown-menu-note.js +12 -12
  131. package/src/components/dropdown-menu/dropdown-menu-separator.html +1 -1
  132. package/src/components/dropdown-menu/dropdown-menu-separator.js +11 -11
  133. package/src/components/dropdown-menu/dropdown-menu-toggle.js +74 -74
  134. package/src/components/dropdown-menu/dropdown-menu.html +1 -1
  135. package/src/components/dropdown-menu/dropdown-menu.less +141 -141
  136. package/src/components/dropdown-menu/dropdown-menu.ts +84 -84
  137. package/src/components/dropdown-menu/index.ts +8 -8
  138. package/src/components/feedback/clipboard.service.ts +42 -42
  139. package/src/components/feedback/feedback.component.html +24 -24
  140. package/src/components/feedback/feedback.component.ts +125 -125
  141. package/src/components/feedback/feedback.less +126 -126
  142. package/src/components/feedback/feedback.service.ts +51 -51
  143. package/src/components/feedback/index.ts +3 -3
  144. package/src/components/first-time-motivator/first-time-motivator-transclude.html +1 -1
  145. package/src/components/first-time-motivator/first-time-motivator.html +29 -29
  146. package/src/components/first-time-motivator/first-time-motivator.less +151 -151
  147. package/src/components/first-time-motivator/first-time-motivator.ts +337 -337
  148. package/src/components/first-time-motivator/ftm-target-element.ts +98 -98
  149. package/src/components/first-time-motivator/index.ts +2 -2
  150. package/src/components/font-selector/font-selector.html +67 -67
  151. package/src/components/font-selector/font-selector.less +122 -122
  152. package/src/components/font-selector/font-selector.ts +258 -258
  153. package/src/components/font-selector/google-webfonts-api.backend.ts +5 -5
  154. package/src/components/font-selector/google-webfonts-api.service.ts +28 -28
  155. package/src/components/font-selector/index.ts +3 -3
  156. package/src/components/font-selector/webfont-loader.service.ts +42 -42
  157. package/src/components/footer/footer.html +6 -6
  158. package/src/components/footer/footer.js +21 -21
  159. package/src/components/footer/footer.less +9 -9
  160. package/src/components/footer/index.ts +1 -1
  161. package/src/components/form-validation-utils/form-validation-utils.ts +11 -11
  162. package/src/components/form-validation-utils/index.ts +1 -1
  163. package/src/components/full-screen/full-screen.service.ts +62 -62
  164. package/src/components/full-screen/index.ts +1 -1
  165. package/src/components/gesture-handler/gesture-handler.ts +116 -116
  166. package/src/components/gesture-handler/index.ts +1 -1
  167. package/src/components/gesture-handler/test/gesture-handler.spec.js +26 -26
  168. package/src/components/hierarchy/hierarchy.html +38 -38
  169. package/src/components/hierarchy/hierarchy.js +24 -24
  170. package/src/components/hierarchy/hierarchy.less +42 -42
  171. package/src/components/hierarchy/index.ts +1 -1
  172. package/src/components/hover-tooltip/hover-tooltip.less +85 -85
  173. package/src/components/hover-tooltip/hover-tooltip.ts +145 -145
  174. package/src/components/hover-tooltip/index.ts +1 -1
  175. package/src/components/icon/icon.html +1 -1
  176. package/src/components/icon/icon.service.ts +70 -68
  177. package/src/components/icon/icon.ts +34 -34
  178. package/src/components/icon/index.ts +2 -2
  179. package/src/components/index.less +34 -34
  180. package/src/components/index.ts +47 -47
  181. package/src/components/inline-text-input/index.ts +1 -1
  182. package/src/components/inline-text-input/inline-text-input.component.html +13 -13
  183. package/src/components/inline-text-input/inline-text-input.component.ts +10 -10
  184. package/src/components/inline-text-input/inline-text-input.less +17 -17
  185. package/src/components/legacy/mediafly-bootstrap.css +2890 -2890
  186. package/src/components/legacy/mediafly-utils.js +15 -15
  187. package/src/components/legacy/mediafly.css +2323 -2323
  188. package/src/components/legacy/oocss.css +77 -77
  189. package/src/components/less/fonts/font-awesome.less +7146 -7146
  190. package/src/components/less/fonts/index.less +4 -4
  191. package/src/components/less/fonts/mfly-webfont.less +93 -93
  192. package/src/components/less/fonts/poppins.less +26 -26
  193. package/src/components/less/fonts/roboto.less +38 -38
  194. package/src/components/less/mixins/vendor-prefixes.less +287 -287
  195. package/src/components/less/objects/buttons.less +277 -277
  196. package/src/components/less/objects/buttons.module.css +198 -198
  197. package/src/components/less/objects/containers.less +246 -246
  198. package/src/components/less/objects/containers.module.css +18 -18
  199. package/src/components/less/objects/forms.less +203 -203
  200. package/src/components/less/objects/grid.less +985 -985
  201. package/src/components/less/objects/headers.less +81 -81
  202. package/src/components/less/objects/headers.module.css +85 -85
  203. package/src/components/less/objects/index.less +11 -11
  204. package/src/components/less/objects/labels.less +26 -26
  205. package/src/components/less/objects/links.less +58 -58
  206. package/src/components/less/objects/links.module.css +57 -57
  207. package/src/components/less/objects/modals.less +40 -40
  208. package/src/components/less/objects/radios-checkboxes.less +234 -234
  209. package/src/components/less/objects/tables.less +237 -237
  210. package/src/components/less/objects/tabs.less +28 -28
  211. package/src/components/less/standalone.less +8 -8
  212. package/src/components/less/utilities/accessibility.less +39 -39
  213. package/src/components/less/utilities/animations.less +41 -41
  214. package/src/components/less/utilities/grid-utilities.less +115 -115
  215. package/src/components/less/utilities/index.less +6 -6
  216. package/src/components/less/utilities/normalize.less +344 -344
  217. package/src/components/less/utilities/reset.less +52 -52
  218. package/src/components/less/utilities/utilities.less +173 -173
  219. package/src/components/less/variables/colors.less +62 -62
  220. package/src/components/less/variables/effects.less +17 -17
  221. package/src/components/less/variables/forms.less +16 -16
  222. package/src/components/less/variables/index.less +6 -6
  223. package/src/components/less/variables/pages.less +25 -25
  224. package/src/components/less/variables/typography.less +19 -19
  225. package/src/components/less/variables/z-index.less +24 -24
  226. package/src/components/less/variables.module.css +132 -132
  227. package/src/components/less/vendor/index.less +2 -2
  228. package/src/components/less/vendor/pikaday.css +225 -225
  229. package/src/components/less/vendor/quill.snow.css +10 -10
  230. package/src/components/loading-indicator/index.ts +1 -1
  231. package/src/components/loading-indicator/loading-indicator.component.html +12 -12
  232. package/src/components/loading-indicator/loading-indicator.component.ts +10 -10
  233. package/src/components/loading-indicator/loading-indicator.less +62 -62
  234. package/src/components/localization/index.strings.json +50 -50
  235. package/src/components/login-textinput/index.ts +1 -1
  236. package/src/components/login-textinput/login-textinput.html +14 -14
  237. package/src/components/login-textinput/login-textinput.js +26 -26
  238. package/src/components/metadata-form/index.ts +12 -12
  239. package/src/components/metadata-form/metadata-form.component.ts +352 -352
  240. package/src/components/metadata-form/metadata-form.html +547 -547
  241. package/src/components/metadata-form/metadata-form.less +153 -153
  242. package/src/components/metadata-form/template-cache.run.ts +8 -8
  243. package/src/components/metadata-form/typeahead-match.template.html +3 -3
  244. package/src/components/modal/index.ts +2 -2
  245. package/src/components/modal/modal.component.html +39 -39
  246. package/src/components/modal/modal.component.less +136 -136
  247. package/src/components/modal/modal.component.module.css +126 -126
  248. package/src/components/modal/modal.component.ts +170 -170
  249. package/src/components/modal/modal.service.ts +169 -169
  250. package/src/components/on-media-error/index.ts +1 -1
  251. package/src/components/on-media-error/on-media-error.js +23 -23
  252. package/src/components/page-thumbnail/index.ts +1 -1
  253. package/src/components/page-thumbnail/page-thumbnail.ts +159 -159
  254. package/src/components/paging/index.ts +4 -4
  255. package/src/components/paging/pager.html +20 -20
  256. package/src/components/paging/pager.js +63 -63
  257. package/src/components/paging/paging-factory.js +36 -36
  258. package/src/components/paging/paging-range-bottom.html +8 -8
  259. package/src/components/paging/paging-range-bottom.js +50 -50
  260. package/src/components/paging/paging-range-top.html +34 -34
  261. package/src/components/paging/paging-range-top.js +36 -36
  262. package/src/components/paging/paging.less +36 -36
  263. package/src/components/progress-bar/index.ts +1 -1
  264. package/src/components/progress-bar/progress-bar.component.ts +27 -27
  265. package/src/components/progress-bar/progress-bar.html +6 -6
  266. package/src/components/progress-bar/progress-bar.less +24 -24
  267. package/src/components/progress-circle/index.ts +1 -1
  268. package/src/components/progress-circle/progress-circle.html +15 -15
  269. package/src/components/progress-circle/progress-circle.less +146 -146
  270. package/src/components/progress-circle/progress-circle.ts +30 -30
  271. package/src/components/response-handlers/api-success-handlers.ts +14 -14
  272. package/src/components/response-handlers/error-response.service.ts +40 -40
  273. package/src/components/response-handlers/feedback-error-handler.ts +25 -25
  274. package/src/components/response-handlers/index.ts +4 -4
  275. package/src/components/response-handlers/log-error-handler.ts +15 -15
  276. package/src/components/rich-text/index.ts +2 -2
  277. package/src/components/rich-text/rich-text.component.html +64 -64
  278. package/src/components/rich-text/rich-text.component.less +139 -139
  279. package/src/components/rich-text/rich-text.component.ts +622 -622
  280. package/src/components/rich-text/rich-text.service.ts +158 -158
  281. package/src/components/site-header/default-background-img.b64.js +1 -1
  282. package/src/components/site-header/index.ts +2 -2
  283. package/src/components/site-header/site-header-navbar-item.component.html +12 -12
  284. package/src/components/site-header/site-header-navbar-item.component.ts +24 -24
  285. package/src/components/site-header/site-header.component.html +28 -28
  286. package/src/components/site-header/site-header.component.ts +30 -30
  287. package/src/components/site-header/site-header.less +196 -196
  288. package/src/components/style-typings/styles.ts +37 -37
  289. package/src/components/table-blank-slate/index.ts +1 -1
  290. package/src/components/table-blank-slate/table-blank-slate.html +16 -16
  291. package/src/components/table-blank-slate/table-blank-slate.js +17 -17
  292. package/src/components/table-blank-slate/table-blank-slate.less +22 -22
  293. package/src/components/tabs/index.ts +4 -4
  294. package/src/components/tabs/tab-group.html +20 -20
  295. package/src/components/tabs/tab-group.ts +159 -159
  296. package/src/components/tabs/tab-html-title-append.ts +17 -17
  297. package/src/components/tabs/tab-html-title.ts +33 -33
  298. package/src/components/tabs/tab.html +2 -2
  299. package/src/components/tabs/tab.ts +55 -55
  300. package/src/components/tabs/tabs.less +44 -44
  301. package/src/components/tag-input/index.ts +1 -1
  302. package/src/components/tag-input/tag-input.component.ts +135 -135
  303. package/src/components/tag-input/tag-input.html +66 -66
  304. package/src/components/tag-input/tag-input.less +107 -107
  305. package/src/components/textarea/index.ts +1 -1
  306. package/src/components/textarea/textarea.html +16 -16
  307. package/src/components/textarea/textarea.js +30 -30
  308. package/src/components/textinput/index.ts +1 -1
  309. package/src/components/textinput/textinput.html +33 -33
  310. package/src/components/textinput/textinput.ts +54 -54
  311. package/src/components/theme/index.ts +1 -1
  312. package/src/components/theme/theme.service.ts +71 -71
  313. package/src/components/theme/theme.typings.ts +3 -3
  314. package/src/components/time-input/index.ts +2 -2
  315. package/src/components/time-input/time-input.html +47 -47
  316. package/src/components/time-input/time-input.js +160 -160
  317. package/src/components/time-input/time-input.less +25 -25
  318. package/src/components/time-input/validate-time.js +30 -30
  319. package/src/components/translate/index.ts +1 -1
  320. package/src/components/translate/translate-factory.ts +49 -49
  321. package/src/components/tree/index.ts +3 -3
  322. package/src/components/tree/recursion-factory.js +43 -43
  323. package/src/components/tree/tree-node.html +56 -56
  324. package/src/components/tree/tree-node.js +30 -30
  325. package/src/components/tree/tree.html +27 -27
  326. package/src/components/tree/tree.less +117 -117
  327. package/src/components/tree/tree.ts +108 -108
  328. package/src/components/type-string/index.ts +1 -1
  329. package/src/components/type-string/type-string.component.html +1 -1
  330. package/src/components/type-string/type-string.component.ts +63 -63
  331. package/src/components/url-modification/index.ts +1 -1
  332. package/src/components/url-modification/url-modification.service.ts +33 -33
  333. package/src/index.html +90 -90
  334. package/src/index.js +23 -23
  335. package/src/index.less +16 -16
  336. package/src/index.spec.js +39 -39
  337. package/stylelint.config.js +8 -8
  338. package/tsconfig.deploy.json +29 -29
  339. package/tsconfig.json +34 -34
  340. package/tslint.json +4 -4
  341. package/typings/index.d.ts +46 -46
  342. package/webpack.config.js +228 -228
  343. package/tsconfig.tsbuildinfo +0 -7675
@@ -1,494 +1,494 @@
1
- /**
2
- * The .variables class should be composed into the root class of an MFE or app.
3
- * After doing so, the variables will be available to CSS in that app's DOM tree.
4
- *
5
- * One exception is the grid breakpoints. They use CSS Module Values because
6
- * media queries can't be scoped to the DOM like variables, so we need a different
7
- * approach to isolating those.
8
- */
9
- @value grid-breakpoint-sm: 768px;
10
- @value grid-breakpoint-md: 992px;
11
- @value grid-breakpoint-lg: 1200px;
12
- @value vertical-breakpoint-sm: 640px;
13
-
14
- .variables {
15
- /* Basic colors */
16
- --color-gray-xxx-light: #f4f4f7;
17
- --color-gray-xx-light: #e4e4ea;
18
- --color-gray-x-light: #b6b7c1;
19
- --color-gray-light: #9a9ca9;
20
- --color-gray-medium: #585a64;
21
- --color-gray-dark: #434551;
22
- --color-gray-x-dark: #1e202b;
23
-
24
- /* Branding colors */
25
- --color-mfly-primary: #155e93;
26
- --color-mfly-secondary: #5f5094;
27
-
28
- /* UI colors */
29
- --color-success-light: #b6f2d6;
30
- --color-success: #21664c;
31
- --color-danger-light: #fddedb;
32
- --color-danger: #9d3a18;
33
- --color-warning-light: #f6e68a;
34
- --color-warning: #e4cd6d;
35
- --color-warning-dark: #7e5105;
36
- --color-info-light: #d1e9ee;
37
- --color-info: #435f64;
38
-
39
- /* Button colors */
40
- --color-button-default-text: #1e202b;
41
- --color-button-default-background: #fff;
42
- --color-button-default-border: #b6b7c1;
43
- --color-button-default-hover-background: #f4f4f7;
44
- --color-button-default-hover-border: #b6b7c1;
45
- --color-button-primary-text: #fff;
46
- --color-button-primary-background: #155e93;
47
- --color-button-primary-border: #155e93;
48
-
49
- /* Colors used in ui-theme (React) */
50
- --color-ui-theme-primary: #155e93;
51
- --color-ui-theme-primary-dark: #1c486f;
52
- --color-ui-theme-primary-light: #2b83c6;
53
- --color-ui-theme-secondary: #5f5094;
54
- --color-ui-theme-success: #21664c;
55
- --color-ui-theme-warning: #e4cd6d;
56
- --color-ui-theme-info: #435f64;
57
- --color-ui-theme-error: #9d3a18;
58
- --color-ui-theme-text-primary: #1e202b;
59
- --color-ui-theme-text-secondary: #585a64;
60
- --color-ui-theme-text-disabled: #b6b7c1;
61
- --color-ui-theme-background-default: #fff;
62
- --color-ui-theme-background-overlay: rgba(30, 32, 43, 0.8);
63
-
64
- /* Box shadows */
65
- --dropdown-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
66
- --dropup-box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.15);
67
- --modal-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
68
- --navbar-box-shadow: 0 3px 5px rgba(25, 25, 25, 0.75);
69
- --notification-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
70
- --input-focus-box-shadow: 0 0 8px rgba(187, 187, 187, 0.9);
71
- --input-dirty-focus-box-shadow: 0 0 8px rgba(84, 168, 68, 0.8);
72
- --input-invalid-focus-box-shadow: 0 0 8px rgba(169, 68, 66, 0.8);
73
-
74
- /* Inputs */
75
- --form-input-border-width: 1px;
76
- --form-input-border-radius: 3px;
77
- --form-input-height: 34px;
78
-
79
- /* Input groups */
80
- --form-group-margin-bottom: 20px;
81
-
82
- /* Grid breakpoints */
83
- --grid-breakpoint-sm: grid-breakpoint-sm; /* Note: everything from 0 to 768px is "xs" grid size */
84
- --grid-breakpoint-md: grid-breakpoint-md;
85
- --grid-breakpoint-lg: grid-breakpoint-lg;
86
-
87
- /* Vertical breakpoints */
88
- --vertical-breakpoint-sm: 640px;
89
-
90
- /* Site header sizes */
91
- --site-header-height: 100px;
92
- --site-header-height-small: 60px;
93
-
94
- /* Typography */
95
- --font-stack-main: 'Roboto', sans-serif;
96
- --font-stack-headers: 'Poppins', sans-serif;
97
- --font-size-base: 14px;
98
- --font-line-height-base: 1.7;
99
- --font-line-height-header: 1.3;
100
- --font-weight-light: 300;
101
- --font-weight-regular: 400;
102
- --font-weight-medium: 500;
103
- --font-weight-bold: 700;
104
-
105
- /**
106
- * Z-index
107
- *
108
- * Eventually, we want to move to a set of z-index constants, so we know for
109
- * sure there are no rogue values floating around and we can totally predict
110
- * the stacking order.
111
- *
112
- * However, for now we are starting by just collecting z-index values in these
113
- * variables. This lets us see the relative stacking of elements even if they're
114
- * not standardized.
115
- *
116
- * For example: https://gist.github.com/toadkicker/fc290e84d7bd861e3e73
117
- */
118
- --z-index-spectrum-preview: 0;
119
- --z-index-ftm: 1005;
120
- --z-index-site-header: 1024;
121
- --z-index-site-navbar: 1024;
122
- --z-index-modal-backdrop: 1251;
123
- --z-index-modal: 1252;
124
- --z-index-dropdown-menu: 1300;
125
- --z-index-hover-tooltip: 1400;
126
- --z-index-ftm-high: 8000;
127
- --z-index-ftm-arrow-before: 8001;
128
- --z-index-ftm-arrow-after: 8002;
129
- --z-index-feedback: 9999;
130
- --z-index-ftm-max: 50000;
131
- --z-index-spectrum-container: 9999994;
132
- }
133
-
134
- .button {
135
- align-items: center;
136
- background-color: var(--color-button-default-background);
137
- border: 1px solid var(--color-button-default-border);
138
- border-radius: 17px;
139
- box-shadow: inset 1000px 400px 0 0 rgba(0, 0, 0, 0);
140
- color: var(--color-button-default-text);
141
- cursor: pointer;
142
- display: inline-flex;
143
- font-size: 14px;
144
- font-weight: var(--font-weight-bold);
145
- height: 34px;
146
- line-height: 20px; /* Match text positioning of non-module inline-block buttons */
147
- padding: 6px 17px;
148
- text-align: center;
149
- transition: all 0.25s ease-in;
150
- user-select: none;
151
- vertical-align: middle; /* Match baseline of non-module inline-block buttons */
152
- white-space: nowrap;
153
-
154
- @media (hover: hover) {
155
- &:hover {
156
- background-color: var(--color-button-default-hover-background);
157
- border-color: var(--color-button-default-hover-border);
158
- color: var(--color-button-default-text);
159
- }
160
- }
161
-
162
- &:active {
163
- background-color: var(--color-button-default-hover-background);
164
- border-color: var(--color-button-default-hover-border);
165
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
166
- color: var(--color-button-default-text);
167
- outline: 0;
168
- }
169
-
170
- &:focus {
171
- box-shadow: 0 0 8px rgba(131, 131, 131, 0.9);
172
- outline: none;
173
- outline-offset: 0;
174
- }
175
-
176
- &[disabled] {
177
- box-shadow: none;
178
- color: var(--color-ui-theme-text-disabled);
179
- pointer-events: none;
180
- }
181
- }
182
-
183
- .button.isPrimary {
184
- background-color: var(--color-button-primary-background);
185
- border-color: var(--color-button-primary-border);
186
- color: var(--color-button-primary-text);
187
-
188
- @media (hover: hover) {
189
- &:hover {
190
- box-shadow: inset 1000px 400px 0 0 rgba(0, 0, 0, 0.2); /* Dynamically darken - this is useful because primary buttons might be themed */
191
- color: var(--color-button-primary-text);
192
- }
193
- }
194
-
195
- &:focus {
196
- box-shadow:
197
- inset 1000px 400px 0 0 rgba(0, 0, 0, 0),
198
- 0 0 8px rgba(131, 131, 131, 0.9);
199
- }
200
-
201
- &[disabled] {
202
- background-color: var(--color-gray-xx-light);
203
- border-color: var(--color-gray-xx-light);
204
- color: var(--color-ui-theme-text-disabled);
205
- }
206
- }
207
-
208
- .button.isTertiary {
209
- background-color: transparent;
210
- border-color: transparent;
211
-
212
- @media (hover: hover) {
213
- &:hover {
214
- background-color: var(--color-button-default-hover-background);
215
- border-color: var(--color-button-default-hover-border);
216
- color: var(--color-button-default-text);
217
- }
218
- }
219
- }
220
-
221
- .button.isLarge {
222
- border-radius: 24px;
223
- font-size: 18px;
224
- height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
225
- line-height: 1.33;
226
- padding: 11px 24px 11px;
227
- }
228
-
229
- .button.isLogin {
230
- border-radius: 24px;
231
- font-size: 18px;
232
- height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
233
- line-height: 1.33;
234
- padding: 11px 20% 11px;
235
- }
236
-
237
- .button.isSmall {
238
- border-radius: 16px;
239
- font-size: 13px;
240
- font-weight: var(--font-weight-regular);
241
- height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
242
- line-height: 1;
243
- padding: 6px 12px;
244
- }
245
-
246
- .button.isRoundRect {
247
- background: #fff;
248
- border: none;
249
- border-radius: 6px;
250
- box-shadow: 0 1px 4px rgba(0, 0, 0, 30%);
251
- font-size: 13px;
252
- font-weight: var(--font-weight-regular);
253
- height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
254
- line-height: 1;
255
- padding: 6px 12px;
256
- white-space: nowrap;
257
-
258
- /* We set an explicit background on this button so we need more specificity on the hover style: */
259
- @media (hover: hover) {
260
- &:hover {
261
- background-color: var(--color-button-default-hover-background);
262
- border-color: var(--color-button-default-hover-border);
263
- color: var(--color-button-default-text);
264
- }
265
- }
266
-
267
- :global(.far),
268
- :global(.fal),
269
- :global(.fas) {
270
- margin-right: 4px;
271
- }
272
- }
273
-
274
- .buttonGroup {
275
- /* Font-size override to suppress whitespace in output */
276
- font-size: 0;
277
-
278
- /* Interior rounded edges and margins are removed & borders are added: */
279
- & .button:not(:first-child) {
280
- border-bottom-left-radius: 0;
281
- border-left: none;
282
- border-top-left-radius: 0;
283
- margin-left: 0;
284
- }
285
-
286
- & .button:not(:last-child) {
287
- border-bottom-right-radius: 0;
288
-
289
- /**
290
- * All buttons except the last one get a right-border.
291
- * The primary-background color looks good and ensures a primary button in
292
- * the group doesn't have a clashing gray border against it.
293
- */
294
- border-right: 1px solid var(--color-button-default-border);
295
- border-top-right-radius: 0;
296
- margin-right: 0;
297
- }
298
-
299
- /* "Selected" buttons can be used to indicate state. */
300
- & .button.isSelected {
301
- background-color: var(--color-gray-xx-light);
302
- color: var(--color-gray-x-dark);
303
- }
304
- }
305
-
306
- .formBottomButtonGroup {
307
- align-items: center;
308
- border-top: 1px solid var(--color-gray-xx-light);
309
- display: flex;
310
- justify-content: flex-end;
311
- margin-top: 50px;
312
- padding-top: 10px;
313
-
314
- & .button {
315
- margin-left: 5px;
316
- }
317
-
318
- /* The default is too tight between the leftmost button and text hints or links. */
319
- & .button:first-of-type {
320
- margin-left: 10px;
321
- }
322
- }
323
-
324
- /**
325
- * Work around ng-show waiting the transition duration before hiding.
326
- * https://github.com/angular/angular.js/issues/8224
327
- * Apply the .ng-animate-opt-in class to get the old behavior back.
328
- */
329
- .button:global(.ng-animate):not(:global(.ng-animate-opt-in)) {
330
- transition-duration: 0s;
331
- }
332
-
333
- .pageContainer {
334
- margin-left: auto;
335
- margin-right: auto;
336
- padding-left: 15px;
337
- padding-right: 15px;
338
-
339
- @media (min-width: 768px) { /* grid-breakpoint-sm */
340
- width: 750px;
341
- }
342
-
343
- @media (min-width: 992px) { /* grid-breakpoint-md */
344
- width: 970px;
345
- }
346
-
347
- @media (min-width: 1200px) { /* grid-breakpoint-lg */
348
- width: 1170px;
349
- }
350
- }
351
-
352
- .hero,
353
- .h1,
354
- .h2,
355
- .h3 {
356
- font-family: var(--font-stack-headers);
357
- font-weight: var(--font-weight-light);
358
- line-height: var(--font-line-height-header);
359
-
360
- &.verticalMargin {
361
- margin-bottom: 10px;
362
- margin-top: 20px;
363
- }
364
- }
365
-
366
- .hero {
367
- font-size: 38px;
368
- }
369
-
370
- .h1 {
371
- font-size: 28px;
372
- }
373
-
374
- .h2 {
375
- font-size: 20px;
376
- }
377
-
378
- .h3 {
379
- font-size: 16px;
380
- }
381
-
382
- .h4 {
383
- font-family: var(--font-stack-main);
384
- font-size: var(--font-size-base);
385
- font-weight: var(--font-weight-bold);
386
- line-height: var(--font-line-height-base);
387
-
388
- &.verticalMargin {
389
- margin-bottom: 10px;
390
- margin-top: 10px;
391
- }
392
- }
393
-
394
- /**
395
- * The page header is designed to wrap a page icon/title and optional
396
- * right-aligned actions or additional content below the title.
397
- */
398
- .pageHeader {
399
- --header-margin: 30px;
400
-
401
- align-items: flex-start;
402
- display: flex;
403
- justify-content: space-between;
404
- margin-bottom: var(--header-margin);
405
- padding-top: var(--header-margin);
406
- }
407
-
408
- .pageTitle,
409
- h1.pageTitle {
410
- align-items: center;
411
- display: flex;
412
- font-size: 28px;
413
- font-weight: var(--font-weight-light);
414
- margin: 0;
415
-
416
- &:not(:last-child) {
417
- margin-bottom: 15px;
418
- }
419
-
420
- &.isSubtle {
421
- color: var(--color-gray-x-light);
422
- }
423
-
424
- &.isSubtle.isReact {
425
- margin-right: 12px;
426
- }
427
- }
428
-
429
- .pageTitleIcon {
430
- color: var(--color-gray-x-light);
431
- margin-right: 2px;
432
-
433
- &.isReact {
434
- margin-right: 12px;
435
- }
436
- }
437
-
438
- .link {
439
- background: transparent;
440
- border: none;
441
- color: var(--color-gray-medium);
442
- padding: 0; /* when a button has this class, we don't want the button's padding on it */
443
- text-decoration: underline;
444
- transition: color 0.3s;
445
-
446
- &:hover,
447
- &:focus {
448
- background: transparent;
449
- border: none;
450
- color: var(--color-gray-x-dark);
451
- }
452
-
453
- /* Style the focus outline for accessibility purposes */
454
- &:focus {
455
- background: transparent;
456
- border: none;
457
- outline: thin dotted;
458
- outline-offset: 0;
459
- }
460
-
461
- &.isDisabled {
462
- color: var(--color-gray-x-light);
463
- cursor: not-allowed;
464
- }
465
-
466
- /**
467
- * Work around ng-show waiting the transition duration before hiding.
468
- * https://github.com/angular/angular.js/issues/8224
469
- *
470
- * Apply the .ng-animate-opt-in class to get the old behavior back.
471
- */
472
- &:global(.ng-animate):not(.ng-animate-opt-in) {
473
- transition-duration: 0s;
474
- }
475
- }
476
-
477
- /* Links that wrap an icon and some text (we don't want the icon to be underlined) */
478
- .link.hasIcon {
479
- align-items: baseline;
480
- display: inline-flex;
481
- text-decoration: none;
482
-
483
- :global(.far),
484
- :global(.fal),
485
- :global(.fas),
486
- :global(.fab),
487
- :global(.mfly-font) {
488
- margin-right: 5px;
489
- }
490
-
491
- .linkText {
492
- text-decoration: underline;
493
- }
494
- }
1
+ /**
2
+ * The .variables class should be composed into the root class of an MFE or app.
3
+ * After doing so, the variables will be available to CSS in that app's DOM tree.
4
+ *
5
+ * One exception is the grid breakpoints. They use CSS Module Values because
6
+ * media queries can't be scoped to the DOM like variables, so we need a different
7
+ * approach to isolating those.
8
+ */
9
+ @value grid-breakpoint-sm: 768px;
10
+ @value grid-breakpoint-md: 992px;
11
+ @value grid-breakpoint-lg: 1200px;
12
+ @value vertical-breakpoint-sm: 640px;
13
+
14
+ .variables {
15
+ /* Basic colors */
16
+ --color-gray-xxx-light: #f4f4f7;
17
+ --color-gray-xx-light: #e4e4ea;
18
+ --color-gray-x-light: #b6b7c1;
19
+ --color-gray-light: #9a9ca9;
20
+ --color-gray-medium: #585a64;
21
+ --color-gray-dark: #434551;
22
+ --color-gray-x-dark: #1e202b;
23
+
24
+ /* Branding colors */
25
+ --color-mfly-primary: #155e93;
26
+ --color-mfly-secondary: #5f5094;
27
+
28
+ /* UI colors */
29
+ --color-success-light: #b6f2d6;
30
+ --color-success: #21664c;
31
+ --color-danger-light: #fddedb;
32
+ --color-danger: #9d3a18;
33
+ --color-warning-light: #f6e68a;
34
+ --color-warning: #e4cd6d;
35
+ --color-warning-dark: #7e5105;
36
+ --color-info-light: #d1e9ee;
37
+ --color-info: #435f64;
38
+
39
+ /* Button colors */
40
+ --color-button-default-text: #1e202b;
41
+ --color-button-default-background: #fff;
42
+ --color-button-default-border: #b6b7c1;
43
+ --color-button-default-hover-background: #f4f4f7;
44
+ --color-button-default-hover-border: #b6b7c1;
45
+ --color-button-primary-text: #fff;
46
+ --color-button-primary-background: #155e93;
47
+ --color-button-primary-border: #155e93;
48
+
49
+ /* Colors used in ui-theme (React) */
50
+ --color-ui-theme-primary: #155e93;
51
+ --color-ui-theme-primary-dark: #1c486f;
52
+ --color-ui-theme-primary-light: #2b83c6;
53
+ --color-ui-theme-secondary: #5f5094;
54
+ --color-ui-theme-success: #21664c;
55
+ --color-ui-theme-warning: #e4cd6d;
56
+ --color-ui-theme-info: #435f64;
57
+ --color-ui-theme-error: #9d3a18;
58
+ --color-ui-theme-text-primary: #1e202b;
59
+ --color-ui-theme-text-secondary: #585a64;
60
+ --color-ui-theme-text-disabled: #b6b7c1;
61
+ --color-ui-theme-background-default: #fff;
62
+ --color-ui-theme-background-overlay: rgba(30, 32, 43, 0.8);
63
+
64
+ /* Box shadows */
65
+ --dropdown-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
66
+ --dropup-box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.15);
67
+ --modal-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
68
+ --navbar-box-shadow: 0 3px 5px rgba(25, 25, 25, 0.75);
69
+ --notification-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
70
+ --input-focus-box-shadow: 0 0 8px rgba(187, 187, 187, 0.9);
71
+ --input-dirty-focus-box-shadow: 0 0 8px rgba(84, 168, 68, 0.8);
72
+ --input-invalid-focus-box-shadow: 0 0 8px rgba(169, 68, 66, 0.8);
73
+
74
+ /* Inputs */
75
+ --form-input-border-width: 1px;
76
+ --form-input-border-radius: 3px;
77
+ --form-input-height: 34px;
78
+
79
+ /* Input groups */
80
+ --form-group-margin-bottom: 20px;
81
+
82
+ /* Grid breakpoints */
83
+ --grid-breakpoint-sm: grid-breakpoint-sm; /* Note: everything from 0 to 768px is "xs" grid size */
84
+ --grid-breakpoint-md: grid-breakpoint-md;
85
+ --grid-breakpoint-lg: grid-breakpoint-lg;
86
+
87
+ /* Vertical breakpoints */
88
+ --vertical-breakpoint-sm: 640px;
89
+
90
+ /* Site header sizes */
91
+ --site-header-height: 100px;
92
+ --site-header-height-small: 60px;
93
+
94
+ /* Typography */
95
+ --font-stack-main: 'Roboto', sans-serif;
96
+ --font-stack-headers: 'Poppins', sans-serif;
97
+ --font-size-base: 14px;
98
+ --font-line-height-base: 1.7;
99
+ --font-line-height-header: 1.3;
100
+ --font-weight-light: 300;
101
+ --font-weight-regular: 400;
102
+ --font-weight-medium: 500;
103
+ --font-weight-bold: 700;
104
+
105
+ /**
106
+ * Z-index
107
+ *
108
+ * Eventually, we want to move to a set of z-index constants, so we know for
109
+ * sure there are no rogue values floating around and we can totally predict
110
+ * the stacking order.
111
+ *
112
+ * However, for now we are starting by just collecting z-index values in these
113
+ * variables. This lets us see the relative stacking of elements even if they're
114
+ * not standardized.
115
+ *
116
+ * For example: https://gist.github.com/toadkicker/fc290e84d7bd861e3e73
117
+ */
118
+ --z-index-spectrum-preview: 0;
119
+ --z-index-ftm: 1005;
120
+ --z-index-site-header: 1024;
121
+ --z-index-site-navbar: 1024;
122
+ --z-index-modal-backdrop: 1251;
123
+ --z-index-modal: 1252;
124
+ --z-index-dropdown-menu: 1300;
125
+ --z-index-hover-tooltip: 1400;
126
+ --z-index-ftm-high: 8000;
127
+ --z-index-ftm-arrow-before: 8001;
128
+ --z-index-ftm-arrow-after: 8002;
129
+ --z-index-feedback: 9999;
130
+ --z-index-ftm-max: 50000;
131
+ --z-index-spectrum-container: 9999994;
132
+ }
133
+
134
+ .button {
135
+ align-items: center;
136
+ background-color: var(--color-button-default-background);
137
+ border: 1px solid var(--color-button-default-border);
138
+ border-radius: 17px;
139
+ box-shadow: inset 1000px 400px 0 0 rgba(0, 0, 0, 0);
140
+ color: var(--color-button-default-text);
141
+ cursor: pointer;
142
+ display: inline-flex;
143
+ font-size: 14px;
144
+ font-weight: var(--font-weight-bold);
145
+ height: 34px;
146
+ line-height: 20px; /* Match text positioning of non-module inline-block buttons */
147
+ padding: 6px 17px;
148
+ text-align: center;
149
+ transition: all 0.25s ease-in;
150
+ user-select: none;
151
+ vertical-align: middle; /* Match baseline of non-module inline-block buttons */
152
+ white-space: nowrap;
153
+
154
+ @media (hover: hover) {
155
+ &:hover {
156
+ background-color: var(--color-button-default-hover-background);
157
+ border-color: var(--color-button-default-hover-border);
158
+ color: var(--color-button-default-text);
159
+ }
160
+ }
161
+
162
+ &:active {
163
+ background-color: var(--color-button-default-hover-background);
164
+ border-color: var(--color-button-default-hover-border);
165
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
166
+ color: var(--color-button-default-text);
167
+ outline: 0;
168
+ }
169
+
170
+ &:focus {
171
+ box-shadow: 0 0 8px rgba(131, 131, 131, 0.9);
172
+ outline: none;
173
+ outline-offset: 0;
174
+ }
175
+
176
+ &[disabled] {
177
+ box-shadow: none;
178
+ color: var(--color-ui-theme-text-disabled);
179
+ pointer-events: none;
180
+ }
181
+ }
182
+
183
+ .button.isPrimary {
184
+ background-color: var(--color-button-primary-background);
185
+ border-color: var(--color-button-primary-border);
186
+ color: var(--color-button-primary-text);
187
+
188
+ @media (hover: hover) {
189
+ &:hover {
190
+ box-shadow: inset 1000px 400px 0 0 rgba(0, 0, 0, 0.2); /* Dynamically darken - this is useful because primary buttons might be themed */
191
+ color: var(--color-button-primary-text);
192
+ }
193
+ }
194
+
195
+ &:focus {
196
+ box-shadow:
197
+ inset 1000px 400px 0 0 rgba(0, 0, 0, 0),
198
+ 0 0 8px rgba(131, 131, 131, 0.9);
199
+ }
200
+
201
+ &[disabled] {
202
+ background-color: var(--color-gray-xx-light);
203
+ border-color: var(--color-gray-xx-light);
204
+ color: var(--color-ui-theme-text-disabled);
205
+ }
206
+ }
207
+
208
+ .button.isTertiary {
209
+ background-color: transparent;
210
+ border-color: transparent;
211
+
212
+ @media (hover: hover) {
213
+ &:hover {
214
+ background-color: var(--color-button-default-hover-background);
215
+ border-color: var(--color-button-default-hover-border);
216
+ color: var(--color-button-default-text);
217
+ }
218
+ }
219
+ }
220
+
221
+ .button.isLarge {
222
+ border-radius: 24px;
223
+ font-size: 18px;
224
+ height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
225
+ line-height: 1.33;
226
+ padding: 11px 24px 11px;
227
+ }
228
+
229
+ .button.isLogin {
230
+ border-radius: 24px;
231
+ font-size: 18px;
232
+ height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
233
+ line-height: 1.33;
234
+ padding: 11px 20% 11px;
235
+ }
236
+
237
+ .button.isSmall {
238
+ border-radius: 16px;
239
+ font-size: 13px;
240
+ font-weight: var(--font-weight-regular);
241
+ height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
242
+ line-height: 1;
243
+ padding: 6px 12px;
244
+ }
245
+
246
+ .button.isRoundRect {
247
+ background: #fff;
248
+ border: none;
249
+ border-radius: 6px;
250
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 30%);
251
+ font-size: 13px;
252
+ font-weight: var(--font-weight-regular);
253
+ height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
254
+ line-height: 1;
255
+ padding: 6px 12px;
256
+ white-space: nowrap;
257
+
258
+ /* We set an explicit background on this button so we need more specificity on the hover style: */
259
+ @media (hover: hover) {
260
+ &:hover {
261
+ background-color: var(--color-button-default-hover-background);
262
+ border-color: var(--color-button-default-hover-border);
263
+ color: var(--color-button-default-text);
264
+ }
265
+ }
266
+
267
+ :global(.far),
268
+ :global(.fal),
269
+ :global(.fas) {
270
+ margin-right: 4px;
271
+ }
272
+ }
273
+
274
+ .buttonGroup {
275
+ /* Font-size override to suppress whitespace in output */
276
+ font-size: 0;
277
+
278
+ /* Interior rounded edges and margins are removed & borders are added: */
279
+ & .button:not(:first-child) {
280
+ border-bottom-left-radius: 0;
281
+ border-left: none;
282
+ border-top-left-radius: 0;
283
+ margin-left: 0;
284
+ }
285
+
286
+ & .button:not(:last-child) {
287
+ border-bottom-right-radius: 0;
288
+
289
+ /**
290
+ * All buttons except the last one get a right-border.
291
+ * The primary-background color looks good and ensures a primary button in
292
+ * the group doesn't have a clashing gray border against it.
293
+ */
294
+ border-right: 1px solid var(--color-button-default-border);
295
+ border-top-right-radius: 0;
296
+ margin-right: 0;
297
+ }
298
+
299
+ /* "Selected" buttons can be used to indicate state. */
300
+ & .button.isSelected {
301
+ background-color: var(--color-gray-xx-light);
302
+ color: var(--color-gray-x-dark);
303
+ }
304
+ }
305
+
306
+ .formBottomButtonGroup {
307
+ align-items: center;
308
+ border-top: 1px solid var(--color-gray-xx-light);
309
+ display: flex;
310
+ justify-content: flex-end;
311
+ margin-top: 50px;
312
+ padding-top: 10px;
313
+
314
+ & .button {
315
+ margin-left: 5px;
316
+ }
317
+
318
+ /* The default is too tight between the leftmost button and text hints or links. */
319
+ & .button:first-of-type {
320
+ margin-left: 10px;
321
+ }
322
+ }
323
+
324
+ /**
325
+ * Work around ng-show waiting the transition duration before hiding.
326
+ * https://github.com/angular/angular.js/issues/8224
327
+ * Apply the .ng-animate-opt-in class to get the old behavior back.
328
+ */
329
+ .button:global(.ng-animate):not(:global(.ng-animate-opt-in)) {
330
+ transition-duration: 0s;
331
+ }
332
+
333
+ .pageContainer {
334
+ margin-left: auto;
335
+ margin-right: auto;
336
+ padding-left: 15px;
337
+ padding-right: 15px;
338
+
339
+ @media (min-width: 768px) { /* grid-breakpoint-sm */
340
+ width: 750px;
341
+ }
342
+
343
+ @media (min-width: 992px) { /* grid-breakpoint-md */
344
+ width: 970px;
345
+ }
346
+
347
+ @media (min-width: 1200px) { /* grid-breakpoint-lg */
348
+ width: 1170px;
349
+ }
350
+ }
351
+
352
+ .hero,
353
+ .h1,
354
+ .h2,
355
+ .h3 {
356
+ font-family: var(--font-stack-headers);
357
+ font-weight: var(--font-weight-light);
358
+ line-height: var(--font-line-height-header);
359
+
360
+ &.verticalMargin {
361
+ margin-bottom: 10px;
362
+ margin-top: 20px;
363
+ }
364
+ }
365
+
366
+ .hero {
367
+ font-size: 38px;
368
+ }
369
+
370
+ .h1 {
371
+ font-size: 28px;
372
+ }
373
+
374
+ .h2 {
375
+ font-size: 20px;
376
+ }
377
+
378
+ .h3 {
379
+ font-size: 16px;
380
+ }
381
+
382
+ .h4 {
383
+ font-family: var(--font-stack-main);
384
+ font-size: var(--font-size-base);
385
+ font-weight: var(--font-weight-bold);
386
+ line-height: var(--font-line-height-base);
387
+
388
+ &.verticalMargin {
389
+ margin-bottom: 10px;
390
+ margin-top: 10px;
391
+ }
392
+ }
393
+
394
+ /**
395
+ * The page header is designed to wrap a page icon/title and optional
396
+ * right-aligned actions or additional content below the title.
397
+ */
398
+ .pageHeader {
399
+ --header-margin: 30px;
400
+
401
+ align-items: flex-start;
402
+ display: flex;
403
+ justify-content: space-between;
404
+ margin-bottom: var(--header-margin);
405
+ padding-top: var(--header-margin);
406
+ }
407
+
408
+ .pageTitle,
409
+ h1.pageTitle {
410
+ align-items: center;
411
+ display: flex;
412
+ font-size: 28px;
413
+ font-weight: var(--font-weight-light);
414
+ margin: 0;
415
+
416
+ &:not(:last-child) {
417
+ margin-bottom: 15px;
418
+ }
419
+
420
+ &.isSubtle {
421
+ color: var(--color-gray-x-light);
422
+ }
423
+
424
+ &.isSubtle.isReact {
425
+ margin-right: 12px;
426
+ }
427
+ }
428
+
429
+ .pageTitleIcon {
430
+ color: var(--color-gray-x-light);
431
+ margin-right: 2px;
432
+
433
+ &.isReact {
434
+ margin-right: 12px;
435
+ }
436
+ }
437
+
438
+ .link {
439
+ background: transparent;
440
+ border: none;
441
+ color: var(--color-gray-medium);
442
+ padding: 0; /* when a button has this class, we don't want the button's padding on it */
443
+ text-decoration: underline;
444
+ transition: color 0.3s;
445
+
446
+ &:hover,
447
+ &:focus {
448
+ background: transparent;
449
+ border: none;
450
+ color: var(--color-gray-x-dark);
451
+ }
452
+
453
+ /* Style the focus outline for accessibility purposes */
454
+ &:focus {
455
+ background: transparent;
456
+ border: none;
457
+ outline: thin dotted;
458
+ outline-offset: 0;
459
+ }
460
+
461
+ &.isDisabled {
462
+ color: var(--color-gray-x-light);
463
+ cursor: not-allowed;
464
+ }
465
+
466
+ /**
467
+ * Work around ng-show waiting the transition duration before hiding.
468
+ * https://github.com/angular/angular.js/issues/8224
469
+ *
470
+ * Apply the .ng-animate-opt-in class to get the old behavior back.
471
+ */
472
+ &:global(.ng-animate):not(.ng-animate-opt-in) {
473
+ transition-duration: 0s;
474
+ }
475
+ }
476
+
477
+ /* Links that wrap an icon and some text (we don't want the icon to be underlined) */
478
+ .link.hasIcon {
479
+ align-items: baseline;
480
+ display: inline-flex;
481
+ text-decoration: none;
482
+
483
+ :global(.far),
484
+ :global(.fal),
485
+ :global(.fas),
486
+ :global(.fab),
487
+ :global(.mfly-font) {
488
+ margin-right: 5px;
489
+ }
490
+
491
+ .linkText {
492
+ text-decoration: underline;
493
+ }
494
+ }