@madie/madie-design-system 1.0.0

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 (316) hide show
  1. package/.babelrc +10 -0
  2. package/.editorconfig +22 -0
  3. package/.eslintignore +5 -0
  4. package/.eslintrc.js +31 -0
  5. package/.storybook/.babelrc +4 -0
  6. package/.storybook/main.js +89 -0
  7. package/.storybook/preview-head.html +9 -0
  8. package/.storybook/preview.js +5 -0
  9. package/README.md +5 -0
  10. package/components/Accordion/Accordion.stories.js +20 -0
  11. package/components/Accordion/index.jsx +93 -0
  12. package/components/Alert/Alert.stories.js +61 -0
  13. package/components/Alert/index.js +46 -0
  14. package/components/Breadcrumb/Breadcrumb.md +28 -0
  15. package/components/Breadcrumb/Breadcrumb.stories.js +76 -0
  16. package/components/Breadcrumb/index.js +83 -0
  17. package/components/Button/Button.stories.js +121 -0
  18. package/components/Button/index.js +90 -0
  19. package/components/CalloutBox/CalloutBox.stories.js +94 -0
  20. package/components/CalloutBox/index.js +109 -0
  21. package/components/Card/Card.stories.js +163 -0
  22. package/components/Card/index.js +137 -0
  23. package/components/Dropdown/Dropdown.stories.js +94 -0
  24. package/components/Dropdown/index.js +85 -0
  25. package/components/Error/Collapsible.jsx +88 -0
  26. package/components/Error/ErrorUI.jsx +31 -0
  27. package/components/Error/error.js +26 -0
  28. package/components/FlashNotification/FlashNotificationUI.jsx +91 -0
  29. package/components/FlashNotification/index.js +30 -0
  30. package/components/Footer/Footer.stories.js +20 -0
  31. package/components/Footer/FooterUI.jsx +269 -0
  32. package/components/Footer/LegacyFooterUI.jsx +194 -0
  33. package/components/Footer/SocialLinks.jsx +60 -0
  34. package/components/Footer/Subscribe.jsx +34 -0
  35. package/components/Footer/footer.js +30 -0
  36. package/components/Header/Header.md +111 -0
  37. package/components/Header/Header.stories.js +32 -0
  38. package/components/Header/HeaderAccountMenu.jsx +169 -0
  39. package/components/Header/HeaderCancel.jsx +16 -0
  40. package/components/Header/HeaderContainer.jsx +63 -0
  41. package/components/Header/HeaderLogo.jsx +42 -0
  42. package/components/Header/HeaderMenuButton.js +50 -0
  43. package/components/Header/HeaderMenuItem.jsx +232 -0
  44. package/components/Header/HeaderMenuLink.js +50 -0
  45. package/components/Header/HeaderMenuSignOutButton.js +62 -0
  46. package/components/Header/HeaderMobileButton.js +37 -0
  47. package/components/Header/HeaderUI.jsx +167 -0
  48. package/components/Header/HelpIcon.jsx +32 -0
  49. package/components/Header/ImpersonatorBanner.jsx +57 -0
  50. package/components/Header/NavigationButtonIcon.jsx +27 -0
  51. package/components/Header/default-content.json +280 -0
  52. package/components/Header/header.js +40 -0
  53. package/components/Header/hooks.js +52 -0
  54. package/components/Header/utag-helpers.js +9 -0
  55. package/components/Infotip/Infotip.jsx +75 -0
  56. package/components/Infotip/Infotip.stories.js +50 -0
  57. package/components/Infotip/InfotipIcon.jsx +41 -0
  58. package/components/Infotip/index.js +3 -0
  59. package/components/Link/Link.stories.js +81 -0
  60. package/components/Link/index.js +61 -0
  61. package/components/Modal/LegacyModal.jsx +72 -0
  62. package/components/Modal/Modal.jsx +140 -0
  63. package/components/Modal/Modal.stories.js +159 -0
  64. package/components/Modal/index.jsx +22 -0
  65. package/components/NotificationBanner/NotificationBanner.stories.js +23 -0
  66. package/components/NotificationBanner/index.js +265 -0
  67. package/components/SanitizedContent/index.jsx +200 -0
  68. package/components/Search/Search.stories.js +21 -0
  69. package/components/Search/index.js +85 -0
  70. package/components/SessionDialog/sessionDialog.js +26 -0
  71. package/components/SessionDialogUI.jsx +261 -0
  72. package/components/SideNav/AnimationGroup/AnimationGroup.jsx +27 -0
  73. package/components/SideNav/Chart/ScoreChart.jsx +268 -0
  74. package/components/SideNav/Chart/__tests__/ScoreChart.test.js +22 -0
  75. package/components/SideNav/Chart/__tests__/__snapshots__/ScoreChart.test.js.snap +173 -0
  76. package/components/SideNav/Chart/index.js +3 -0
  77. package/components/SideNav/Content/LevelOneContent.jsx +208 -0
  78. package/components/SideNav/Content/LevelTwoContent.jsx +216 -0
  79. package/components/SideNav/Content/index.js +4 -0
  80. package/components/SideNav/Details/IndividualDetails.jsx +18 -0
  81. package/components/SideNav/Details/PracticeDetails.jsx +45 -0
  82. package/components/SideNav/Details/index.js +4 -0
  83. package/components/SideNav/Links/CmsSwitchLink.jsx +41 -0
  84. package/components/SideNav/Links/NavItemInline.jsx +54 -0
  85. package/components/SideNav/Links/NavLinkContainer.jsx +38 -0
  86. package/components/SideNav/Links/NavLinkDrawer.jsx +249 -0
  87. package/components/SideNav/Links/NavLinkInline.jsx +107 -0
  88. package/components/SideNav/Links/NavLinkToggle.jsx +34 -0
  89. package/components/SideNav/Links/index.js +13 -0
  90. package/components/SideNav/SideNav.md +50 -0
  91. package/components/SideNav/SideNav.stories.js +379 -0
  92. package/components/SideNav/UI/SideNavUI.jsx +333 -0
  93. package/components/SideNav/UI/default-content.json +99 -0
  94. package/components/SideNav/UI/index.js +3 -0
  95. package/components/SideNav/helpers.js +49 -0
  96. package/components/SideNav/index.js +53 -0
  97. package/components/Spinner/index.js +9 -0
  98. package/components/Tabs/Tab.js +26 -0
  99. package/components/Tabs/TabPanel.js +34 -0
  100. package/components/Tabs/Tabs.stories.js +120 -0
  101. package/components/Tabs/index.js +95 -0
  102. package/components/TextInput/TextInput.stories.js +118 -0
  103. package/components/TextInput/index.js +137 -0
  104. package/components/Tooltip/Tooltip.jsx +88 -0
  105. package/components/Tooltip/Tooltip.stories.js +80 -0
  106. package/components/Tooltip/index.js +3 -0
  107. package/components/Tooltip/position.js +68 -0
  108. package/components/UnwrappedSpinner/index.js +8 -0
  109. package/components/hooks/useGetConfig.js +74 -0
  110. package/components/index.js +126 -0
  111. package/dist/browser.js +3 -0
  112. package/dist/browser.js.LICENSE.txt +54 -0
  113. package/dist/browser.js.map +1 -0
  114. package/dist/index.js +3 -0
  115. package/dist/index.js.LICENSE.txt +54 -0
  116. package/dist/index.js.map +1 -0
  117. package/dist/react/index.js +3 -0
  118. package/dist/react/index.js.LICENSE.txt +71 -0
  119. package/dist/react/index.js.map +1 -0
  120. package/fonts/FontAwesome.otf +0 -0
  121. package/fonts/OFL.txt +92 -0
  122. package/fonts/Rubik-Black.ttf +0 -0
  123. package/fonts/Rubik-BlackItalic.ttf +0 -0
  124. package/fonts/Rubik-Bold.ttf +0 -0
  125. package/fonts/Rubik-BoldItalic.ttf +0 -0
  126. package/fonts/Rubik-Italic.ttf +0 -0
  127. package/fonts/Rubik-Light.ttf +0 -0
  128. package/fonts/Rubik-LightItalic.ttf +0 -0
  129. package/fonts/Rubik-Medium.ttf +0 -0
  130. package/fonts/Rubik-MediumItalic.ttf +0 -0
  131. package/fonts/Rubik-Regular.ttf +0 -0
  132. package/fonts/fontawesome-webfont.eot +0 -0
  133. package/fonts/fontawesome-webfont.svg +2671 -0
  134. package/fonts/fontawesome-webfont.ttf +0 -0
  135. package/fonts/fontawesome-webfont.woff +0 -0
  136. package/fonts/fontawesome-webfont.woff2 +0 -0
  137. package/images/favicon/android-chrome-192x192.png +0 -0
  138. package/images/favicon/android-chrome-256x256.png +0 -0
  139. package/images/favicon/apple-touch-icon.png +0 -0
  140. package/images/favicon/browserconfig.xml +9 -0
  141. package/images/favicon/favicon-16x16.png +0 -0
  142. package/images/favicon/favicon-32x32.png +0 -0
  143. package/images/favicon/favicon.ico +0 -0
  144. package/images/favicon/manifest.json +18 -0
  145. package/images/favicon/mstile-150x150.png +0 -0
  146. package/images/favicon/safari-pinned-tab.svg +32 -0
  147. package/images/hhs-logo-black.svg +10 -0
  148. package/images/hhs-logo-white.svg +10 -0
  149. package/images/icons/close-x.svg +6 -0
  150. package/images/icons/help-headset.svg +21 -0
  151. package/images/icons/svg/arrow-down.svg +1 -0
  152. package/images/icons/svg/arrow-download.svg +1 -0
  153. package/images/icons/svg/arrow-right.svg +1 -0
  154. package/images/icons/svg/calendar.svg +1 -0
  155. package/images/icons/svg/close.svg +1 -0
  156. package/images/icons/svg/download.svg +1 -0
  157. package/images/icons/svg/external.svg +1 -0
  158. package/images/icons/svg/file-upload.svg +1 -0
  159. package/images/icons/svg/print.svg +1 -0
  160. package/images/icons/svg/search.svg +7 -0
  161. package/images/icons/svg/tooltip-question.svg +6 -0
  162. package/images/icons/svg/trash.svg +1 -0
  163. package/images/icons/svg/upload.svg +1 -0
  164. package/images/qpp_logo_reversed.png +0 -0
  165. package/images/qpp_logo_rgb_color.png +0 -0
  166. package/index.js +31 -0
  167. package/jest/mediaFileTransformer.js +9 -0
  168. package/jest.config.js +188 -0
  169. package/lib/Chevron.jsx +32 -0
  170. package/lib/SvgComponents.jsx +539 -0
  171. package/lib/svg-definitions.svg +125 -0
  172. package/package.json +125 -0
  173. package/session/index.js +5 -0
  174. package/session/logout.js +65 -0
  175. package/session/refresh.js +49 -0
  176. package/session/ttl.js +37 -0
  177. package/styles/_global.scss +106 -0
  178. package/styles/_main.scss +15 -0
  179. package/styles/_paths.scss +1 -0
  180. package/styles/_qpp-style.scss +31 -0
  181. package/styles/components/_accordion.scss +289 -0
  182. package/styles/components/_alerts.scss +54 -0
  183. package/styles/components/_autocomplete.scss +47 -0
  184. package/styles/components/_breadcrumbs.scss +64 -0
  185. package/styles/components/_buttons.scss +580 -0
  186. package/styles/components/_error-page.scss +56 -0
  187. package/styles/components/_flash-notification.scss +98 -0
  188. package/styles/components/_fonts.scss +42 -0
  189. package/styles/components/_forms.scss +277 -0
  190. package/styles/components/_grid.scss +37 -0
  191. package/styles/components/_info-modal.scss +139 -0
  192. package/styles/components/_links.scss +12 -0
  193. package/styles/components/_modals.scss +18 -0
  194. package/styles/components/_notification-banner.scss +165 -0
  195. package/styles/components/_panels.scss +61 -0
  196. package/styles/components/_pie-chart.scss +13 -0
  197. package/styles/components/_score-chart.scss +164 -0
  198. package/styles/components/_spinner.scss +7 -0
  199. package/styles/components/_tables.scss +111 -0
  200. package/styles/components/_tabs.scss +69 -0
  201. package/styles/components/_text.scss +150 -0
  202. package/styles/components/_toggles.scss +3 -0
  203. package/styles/components/_tooltip.scss +23 -0
  204. package/styles/components/_variables.scss +157 -0
  205. package/styles/components/_wells.scss +92 -0
  206. package/styles/qppds/README.md +0 -0
  207. package/styles/qppds/base/_backgrounds.scss +7 -0
  208. package/styles/qppds/base/_fonts.scss +26 -0
  209. package/styles/qppds/base/_icon.scss +23 -0
  210. package/styles/qppds/base/_layout.scss +5 -0
  211. package/styles/qppds/base/_typography.scss +85 -0
  212. package/styles/qppds/base/index.scss +8 -0
  213. package/styles/qppds/components/_alert.scss +95 -0
  214. package/styles/qppds/components/_breadcrumbs.scss +70 -0
  215. package/styles/qppds/components/_button.scss +292 -0
  216. package/styles/qppds/components/_card.scss +175 -0
  217. package/styles/qppds/components/_dropdown.scss +55 -0
  218. package/styles/qppds/components/_footer.scss +597 -0
  219. package/styles/qppds/components/_header.scss +892 -0
  220. package/styles/qppds/components/_link.scss +52 -0
  221. package/styles/qppds/components/_modal.scss +118 -0
  222. package/styles/qppds/components/_page-header.scss +67 -0
  223. package/styles/qppds/components/_pagination.scss +227 -0
  224. package/styles/qppds/components/_search.scss +112 -0
  225. package/styles/qppds/components/_sidebar.scss +9 -0
  226. package/styles/qppds/components/_table.scss +139 -0
  227. package/styles/qppds/components/_tabs.scss +197 -0
  228. package/styles/qppds/components/_text-input.scss +60 -0
  229. package/styles/qppds/components/index.scss +16 -0
  230. package/styles/qppds/components/sidebar/_animations.scss +38 -0
  231. package/styles/qppds/components/sidebar/_cms.scss +61 -0
  232. package/styles/qppds/components/sidebar/_details.scss +58 -0
  233. package/styles/qppds/components/sidebar/_links.scss +444 -0
  234. package/styles/qppds/components/sidebar/_sidebar-animation.scss +125 -0
  235. package/styles/qppds/components/sidebar/_sidebar-tooltip.scss +33 -0
  236. package/styles/qppds/components/sidebar/_sidebar.scss +146 -0
  237. package/styles/qppds/components/sidebar/project-specific/_wi.scss +42 -0
  238. package/styles/qppds/index.scss +4 -0
  239. package/styles/qppds/settings/_functions.scss +4 -0
  240. package/styles/qppds/settings/_index.scss +3 -0
  241. package/styles/qppds/settings/mixins/_borders.scss +6 -0
  242. package/styles/qppds/settings/mixins/_focus.scss +28 -0
  243. package/styles/qppds/settings/mixins/_icons.scss +33 -0
  244. package/styles/qppds/settings/mixins/_index.scss +8 -0
  245. package/styles/qppds/settings/mixins/_layout.scss +74 -0
  246. package/styles/qppds/settings/mixins/_lists.scss +12 -0
  247. package/styles/qppds/settings/mixins/_table.scss +91 -0
  248. package/styles/qppds/settings/mixins/_type.scss +65 -0
  249. package/styles/qppds/settings/mixins/_visually-hidden.scss +30 -0
  250. package/styles/qppds/settings/variables/_color.scss +86 -0
  251. package/styles/qppds/settings/variables/_index.scss +3 -0
  252. package/styles/qppds/settings/variables/_layout.scss +67 -0
  253. package/styles/qppds/settings/variables/_type.scss +132 -0
  254. package/styles/qppds/utilities/_background-color.scss +134 -0
  255. package/styles/qppds/utilities/_color.scss +32 -0
  256. package/styles/qppds/utilities/_display-visibility.scss +83 -0
  257. package/styles/qppds/utilities/_flexbox.scss +240 -0
  258. package/styles/qppds/utilities/_font-family.scss +9 -0
  259. package/styles/qppds/utilities/_font-size.scss +8 -0
  260. package/styles/qppds/utilities/_font-weight.scss +8 -0
  261. package/styles/qppds/utilities/_height.scss +38 -0
  262. package/styles/qppds/utilities/_margin.scss +136 -0
  263. package/styles/qppds/utilities/_padding.scss +76 -0
  264. package/styles/qppds/utilities/_position.scss +24 -0
  265. package/styles/qppds/utilities/_text-align.scss +40 -0
  266. package/styles/qppds/utilities/_text-transform.scss +7 -0
  267. package/styles/qppds/utilities/_truncate.scss +8 -0
  268. package/styles/qppds/utilities/_width.scss +79 -0
  269. package/styles/qppds/utilities/index.scss +15 -0
  270. package/styles/qppds.scss +2 -0
  271. package/styles/third-party/_legacy-bootstrap.scss +19 -0
  272. package/styles/third-party/legacy-bootstrap/_buttons.scss +126 -0
  273. package/styles/third-party/legacy-bootstrap/_dropdowns.scss +211 -0
  274. package/styles/third-party/legacy-bootstrap/_forms.scss +510 -0
  275. package/styles/third-party/legacy-bootstrap/_grid.scss +73 -0
  276. package/styles/third-party/legacy-bootstrap/_mixins.scss +27 -0
  277. package/styles/third-party/legacy-bootstrap/_navbar.scss +644 -0
  278. package/styles/third-party/legacy-bootstrap/_navs.scss +193 -0
  279. package/styles/third-party/legacy-bootstrap/_normalize.scss +385 -0
  280. package/styles/third-party/legacy-bootstrap/_scaffolding.scss +116 -0
  281. package/styles/third-party/legacy-bootstrap/_variables.scss +858 -0
  282. package/styles/third-party/legacy-bootstrap/mixins/_buttons.scss +70 -0
  283. package/styles/third-party/legacy-bootstrap/mixins/_clearfix.scss +22 -0
  284. package/styles/third-party/legacy-bootstrap/mixins/_forms.scss +108 -0
  285. package/styles/third-party/legacy-bootstrap/mixins/_grid-framework.scss +86 -0
  286. package/styles/third-party/legacy-bootstrap/mixins/_grid.scss +112 -0
  287. package/styles/third-party/legacy-bootstrap/mixins/_labels.scss +12 -0
  288. package/styles/third-party/legacy-bootstrap/mixins/_nav-divider.scss +10 -0
  289. package/styles/third-party/legacy-bootstrap/mixins/_nav-vertical-align.scss +9 -0
  290. package/styles/third-party/legacy-bootstrap/mixins/_opacity.scss +7 -0
  291. package/styles/third-party/legacy-bootstrap/mixins/_panels.scss +30 -0
  292. package/styles/third-party/legacy-bootstrap/mixins/_reset-filter.scss +7 -0
  293. package/styles/third-party/legacy-bootstrap/mixins/_reset-text.scss +18 -0
  294. package/styles/third-party/legacy-bootstrap/mixins/_resize.scss +6 -0
  295. package/styles/third-party/legacy-bootstrap/mixins/_responsive-visibility.scss +25 -0
  296. package/styles/third-party/legacy-bootstrap/mixins/_size.scss +10 -0
  297. package/styles/third-party/legacy-bootstrap/mixins/_tab-focus.scss +9 -0
  298. package/styles/third-party/legacy-bootstrap/mixins/_table-row.scss +28 -0
  299. package/styles/third-party/legacy-bootstrap/mixins/_text-emphasis.scss +12 -0
  300. package/styles/third-party/legacy-bootstrap/mixins/_text-overflow.scss +8 -0
  301. package/styles/third-party/legacy-bootstrap/mixins/_vendor-prefixes.scss +182 -0
  302. package/styles/utility/_mixins.scss +46 -0
  303. package/styles/utility/_utilities.scss +73 -0
  304. package/test/components/Accordion.test.js +12 -0
  305. package/test/components/ErrorUI.test.js +33 -0
  306. package/test/components/FooterUI.test.js +90 -0
  307. package/test/components/HeaderUI.test.js +45 -0
  308. package/test/components/Infotip.test.js +73 -0
  309. package/test/components/SessionDialogUI.test.js +339 -0
  310. package/test/components/SideNavUI.test.js +23 -0
  311. package/test/components/Tooltip.test.js +147 -0
  312. package/test/index.test.js +8 -0
  313. package/test/session/session.test.js +221 -0
  314. package/test-setup.js +9 -0
  315. package/webpack.config.js +147 -0
  316. package/webpack.config.react.js +86 -0
@@ -0,0 +1,580 @@
1
+ /* Buttons */
2
+
3
+ .btn {
4
+ border-radius: 2px;
5
+ cursor: pointer;
6
+ font-family: $font-family-base;
7
+ font-size: 1.125rem;
8
+ font-weight: 500;
9
+ line-height: 1.4;
10
+ max-width: 100%;
11
+ padding: 10px 12px;
12
+ position: relative;
13
+ text-align: left;
14
+ text-decoration: none;
15
+ -webkit-transition-duration: 0.2s;
16
+ transition-duration: 0.2s;
17
+ white-space: normal;
18
+
19
+ &.btn-primary {
20
+ background-color: $button-color-primary;
21
+ border: 3px solid $button-color-primary;
22
+ border-radius: 3px;
23
+ color: $color-white;
24
+ padding-right: 3em;
25
+
26
+ &::after {
27
+ border-top: 4px solid $color-white;
28
+ content: '';
29
+ font-family: FontAwesome;
30
+ margin-top: -3px;
31
+ opacity: 0;
32
+ position: absolute;
33
+ right: 1em;
34
+ top: 50%;
35
+ -webkit-transition-duration: 0.2s;
36
+ transition-duration: 0.2s;
37
+ -webkit-transition-timing-function: ease-out;
38
+ transition-timing-function: ease-out;
39
+ width: 0;
40
+ }
41
+
42
+ &::before {
43
+ content: '\f054';
44
+ font-family: FontAwesome;
45
+ margin-top: -12px;
46
+ position: absolute;
47
+ right: 0.75em;
48
+ top: 50%;
49
+ }
50
+
51
+ &:hover,
52
+ &:focus,
53
+ &:active {
54
+ background-color: transparent;
55
+ border-color: $button-color-primary;
56
+ box-shadow: none;
57
+ color: $button-color-primary;
58
+
59
+ &::after {
60
+ border-color: $button-color-primary;
61
+ opacity: 1;
62
+ width: 20px;
63
+ }
64
+ }
65
+
66
+ &.inverse-hover {
67
+ &:hover,
68
+ &:focus,
69
+ &:active {
70
+ background-color: transparent;
71
+ border-color: $color-white;
72
+ box-shadow: none;
73
+ color: $color-white;
74
+
75
+ &::after {
76
+ border-color: $color-white;
77
+ opacity: 1;
78
+ width: 20px;
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+ &.btn-secondary {
85
+ background-color: $button-color-secondary;
86
+ border: 3px solid $button-color-secondary;
87
+ border-radius: 3px;
88
+ color: $color-white;
89
+ padding-right: 3em;
90
+
91
+ &::after {
92
+ border-top: 4px solid $color-white;
93
+ content: '';
94
+ font-family: FontAwesome;
95
+ opacity: 0;
96
+ position: absolute;
97
+ right: 1em;
98
+ top: 1.05em;
99
+ -webkit-transition-duration: 0.2s;
100
+ transition-duration: 0.2s;
101
+ -webkit-transition-timing-function: ease-out;
102
+ transition-timing-function: ease-out;
103
+ width: 0;
104
+ }
105
+
106
+ &::before {
107
+ content: '\f054';
108
+ font-family: FontAwesome;
109
+ padding: 0 1px;
110
+ position: absolute;
111
+ right: 0.75em;
112
+ }
113
+
114
+ &:hover,
115
+ &:focus,
116
+ &:active {
117
+ background-color: transparent;
118
+ border-color: $button-color-secondary;
119
+ box-shadow: none;
120
+ color: $button-color-secondary;
121
+
122
+ &::after {
123
+ border-color: $button-color-secondary;
124
+ opacity: 1;
125
+ width: 20px;
126
+ }
127
+ }
128
+
129
+ &.inverse-hover {
130
+ &:hover,
131
+ &:focus,
132
+ &:active {
133
+ background-color: transparent;
134
+ border-color: $color-white;
135
+ box-shadow: none;
136
+ color: $color-white;
137
+
138
+ &::after {
139
+ border-color: $color-white;
140
+ opacity: 1;
141
+ width: 20px;
142
+ }
143
+ }
144
+ }
145
+ }
146
+
147
+ &.btn-navigation {
148
+ background-color: $color-teal-dark;
149
+ border: 1px solid $color-white;
150
+ border-radius: 3px;
151
+ color: $color-white;
152
+ font-size: 0.9rem;
153
+ line-height: 1.5;
154
+ margin-top: 10px;
155
+ padding: 15px 0 15px 10px;
156
+ width: 100%;
157
+
158
+ .btn-navigation-icon {
159
+ position: absolute;
160
+ right: 1rem;
161
+ width: 0.5rem;
162
+
163
+ .chevron-icon {
164
+ fill: white;
165
+ }
166
+ }
167
+
168
+ &:hover,
169
+ &:focus,
170
+ &:active {
171
+ background-color: $color-teal-dark;
172
+ border-color: $color-white;
173
+ box-shadow: none;
174
+ color: $color-white;
175
+
176
+ .btn-navigation-icon {
177
+ .chevron-icon {
178
+ fill: $color-white;
179
+ }
180
+ }
181
+
182
+ &::after {
183
+ border-color: $color-teal-dark;
184
+ opacity: 1;
185
+ width: 20px;
186
+ }
187
+ }
188
+
189
+ &.inverse-hover {
190
+ &:hover,
191
+ &:focus,
192
+ &:active {
193
+ background-color: $color-white;
194
+ border-color: $color-white;
195
+ box-shadow: none;
196
+ color: $color-teal-dark;
197
+
198
+ .btn-navigation-icon {
199
+ .chevron-icon {
200
+ fill: $color-teal;
201
+ }
202
+ }
203
+
204
+ &::after {
205
+ border-color: $color-teal-dark;
206
+ opacity: 1;
207
+ width: 20px;
208
+ }
209
+ }
210
+ }
211
+ }
212
+
213
+ &.btn-tertiary {
214
+ background-color: $color-gray-light;
215
+ border: 3px solid $color-gray-light;
216
+ color: $brand-primary-dark;
217
+
218
+ &:hover,
219
+ &:focus,
220
+ &:active {
221
+ background-color: $color-gray-medium;
222
+ border-color: $color-gray-medium;
223
+ box-shadow: none;
224
+ }
225
+
226
+ &.btn-inverse {
227
+ background-color: $color-white;
228
+ border-color: $color-white;
229
+ color: $color-teal;
230
+
231
+ &:hover {
232
+ background-color: $color-gray-light;
233
+ border-color: $color-gray-light;
234
+ }
235
+ }
236
+ }
237
+
238
+ &.btn-subscribe {
239
+ background-color: $color-teal;
240
+ border: 3px solid $color-teal;
241
+ color: $color-white;
242
+ border-radius: 0;
243
+
244
+ &:hover,
245
+ &:focus,
246
+ &:active {
247
+ background-color: $color-white;
248
+ box-shadow: none;
249
+ color: $color-teal;
250
+ }
251
+ }
252
+ }
253
+
254
+ .btn-selected,
255
+ .btnSmall {
256
+ background-color: white;
257
+ border-color: $color-teal;
258
+ border-radius: 0;
259
+ color: $color-teal;
260
+ font-size: 15px;
261
+ font-weight: normal;
262
+ line-height: 1em;
263
+ margin-left: auto;
264
+ padding: 11px 15px;
265
+
266
+ &.is-selected,
267
+ &:active,
268
+ &:hover,
269
+ &:focus {
270
+ background-color: $color-teal;
271
+ border-color: $color-teal;
272
+ color: $color-white;
273
+ }
274
+ }
275
+
276
+ .btn-save {
277
+ background-color: $color-teal;
278
+ border-color: $color-teal;
279
+ border-radius: 0;
280
+ color: $color-white;
281
+ font-size: 15px;
282
+ font-weight: normal;
283
+ line-height: 1em;
284
+ margin-left: auto;
285
+ padding: 11px 15px;
286
+
287
+ &:active,
288
+ &:hover,
289
+ &:focus {
290
+ color: $color-white;
291
+ }
292
+ }
293
+
294
+ .btn-cancel {
295
+ background-color: white;
296
+ border-color: $color-teal;
297
+ border-radius: 0;
298
+ color: $color-teal;
299
+ font-size: 15px;
300
+ font-weight: normal;
301
+ line-height: 1em;
302
+ margin-left: auto;
303
+ padding: 11px 15px;
304
+
305
+ &:active,
306
+ &:hover,
307
+ &:focus {
308
+ background-color: $color-white;
309
+ color: $color-teal;
310
+ text-decoration: underline;
311
+ }
312
+ }
313
+
314
+ .btnSmall.title-case {
315
+ color: $color-teal;
316
+ font-weight: 500;
317
+ text-decoration: none;
318
+ text-transform: capitalize;
319
+
320
+ &:hover,
321
+ &:focus {
322
+ color: white;
323
+ text-decoration: underline;
324
+ }
325
+ }
326
+
327
+ .btn-download-measures {
328
+ @extend .btn-selected;
329
+ border: 1px solid $color-teal;
330
+ font-weight: 500;
331
+ margin-top: 0;
332
+ }
333
+
334
+ a.button-link-secondary {
335
+ background: $color-green;
336
+ color: white;
337
+ float: left;
338
+ font-size: 17px;
339
+ font-weight: 500;
340
+ margin-bottom: 15px;
341
+ position: relative;
342
+ white-space: normal;
343
+ width: 100%;
344
+
345
+ .link-icon {
346
+ background: $color-green;
347
+ display: block;
348
+ float: right;
349
+ height: 100%;
350
+ padding: 12px 15px;
351
+ position: absolute;
352
+ right: 0;
353
+ }
354
+
355
+ &:active,
356
+ &:focus,
357
+ &:hover {
358
+ background-color: darken($color-green, 5%);
359
+ color: $color-white;
360
+
361
+ .link-icon {
362
+ background-color: darken($color-green, 5%);
363
+ }
364
+ }
365
+
366
+ .link {
367
+ display: block;
368
+ float: left;
369
+ line-height: 1.2;
370
+ margin-left: 0;
371
+ padding: 18px 76px 18px 23px;
372
+
373
+ .small {
374
+ font-weight: 300;
375
+ margin-top: 10px;
376
+ }
377
+ }
378
+
379
+ img {
380
+ height: 30px;
381
+ width: 30px;
382
+ }
383
+ }
384
+
385
+ .back-to-top {
386
+ border-radius: 4px;
387
+ bottom: 15px;
388
+ box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
389
+ display: none;
390
+ font-size: 0.8rem;
391
+ font-weight: 500;
392
+ height: 60px;
393
+ padding: 8px 15px 5px 15px;
394
+ position: fixed;
395
+ right: 15px;
396
+ text-align: center;
397
+ width: 50px;
398
+ z-index: 100;
399
+
400
+ svg {
401
+ fill: $color-teal;
402
+ }
403
+
404
+ &:link,
405
+ &:visited {
406
+ background: $color-gray-light;
407
+ color: $color-teal;
408
+ text-decoration: none;
409
+ }
410
+
411
+ &:active,
412
+ &:focus,
413
+ &:hover {
414
+ background-color: $color-teal;
415
+ color: white;
416
+
417
+ svg {
418
+ fill: $color-white;
419
+ }
420
+ }
421
+ }
422
+
423
+ .btn.btn-selected {
424
+ text-transform: uppercase;
425
+ }
426
+
427
+ a.btn-download-measures {
428
+ color: $color-teal;
429
+ text-decoration: none;
430
+
431
+ &:hover,
432
+ &:active {
433
+ text-decoration: underline;
434
+ }
435
+ }
436
+
437
+ span {
438
+ &.doc-label {
439
+ border-radius: 15px;
440
+ color: #fff;
441
+ font-size: 0.8rem;
442
+ font-weight: 500;
443
+ padding: 3px 12px;
444
+ text-align: center;
445
+ text-transform: uppercase;
446
+
447
+ &.doc-label-pdf {
448
+ background-color: $color-navy;
449
+ }
450
+
451
+ &.doc-label-doc {
452
+ background-color: $color-green;
453
+ }
454
+
455
+ &.doc-label-zip {
456
+ background-color: $color-magenta;
457
+ }
458
+ }
459
+ }
460
+
461
+ .auth-fill-btn {
462
+ background-color: $color-teal;
463
+ border: solid $color-teal 2px;
464
+ border-radius: 30px;
465
+ color: $color-white;
466
+ cursor: pointer;
467
+ display: block;
468
+ font-size: 13px;
469
+ font-weight: 500;
470
+ height: 54px;
471
+ line-height: 54px;
472
+ margin: 10px auto;
473
+ text-align: center;
474
+ text-decoration: none;
475
+ text-transform: uppercase;
476
+ width: 180px;
477
+
478
+ @include breakpoint(xs) {
479
+ min-width: 200px;
480
+ padding: 0 25px;
481
+ }
482
+
483
+ @include breakpoint(sm) {
484
+ margin: 10px 0;
485
+ min-width: 200px;
486
+ padding: 0 25px;
487
+ }
488
+
489
+ @include breakpoint(md) {
490
+ margin: 15px 0;
491
+ min-width: 200px;
492
+ padding: 0 25px;
493
+ }
494
+
495
+ &:focus,
496
+ &:hover {
497
+ background-color: $color-white;
498
+ border: solid $color-teal 2px;
499
+ color: $color-teal;
500
+ }
501
+ }
502
+
503
+ .auth-ghost-btn {
504
+ align-items: center;
505
+ background-color: $color-white;
506
+ border: solid $color-teal 2px;
507
+ border-radius: 30px;
508
+ color: $color-teal;
509
+ cursor: pointer;
510
+ display: flex;
511
+ font-size: 13px;
512
+ font-weight: 500;
513
+ height: 54px;
514
+ justify-content: center;
515
+ line-height: 15px;
516
+ margin: 10px 0;
517
+ text-align: center;
518
+ text-decoration: none;
519
+ text-transform: uppercase;
520
+ width: 180px;
521
+
522
+ @include breakpoint(xs) {
523
+ min-width: 200px;
524
+ padding: 0 25px;
525
+ }
526
+
527
+ @include breakpoint(sm) {
528
+ margin: 10px 0;
529
+ min-width: 200px;
530
+ padding: 0 25px;
531
+ }
532
+
533
+ @include breakpoint(md) {
534
+ margin: 15px 0;
535
+ min-width: 200px;
536
+ padding: 0 25px;
537
+ }
538
+
539
+ &:focus,
540
+ &:hover {
541
+ background-color: $color-teal;
542
+ border: solid $color-teal 2px;
543
+ color: $color-white;
544
+ }
545
+ }
546
+
547
+ .auth-disabled-btn[disabled] {
548
+ background-color: $color-gray-very-light;
549
+ border: solid $color-gray-very-light 2px;
550
+ border-radius: 30px;
551
+ color: $color-gray-darker-medium;
552
+ cursor: not-allowed;
553
+ display: block;
554
+ font-size: 13px;
555
+ font-weight: 500;
556
+ height: 54px;
557
+ line-height: 15px;
558
+ margin: 10px auto;
559
+ text-align: center;
560
+ text-decoration: none;
561
+ text-transform: uppercase;
562
+ width: 180px;
563
+
564
+ @include breakpoint(xs) {
565
+ min-width: 200px;
566
+ padding: 0 25px;
567
+ }
568
+
569
+ @include breakpoint(sm) {
570
+ margin: 10px 0;
571
+ min-width: 200px;
572
+ padding: 0 25px;
573
+ }
574
+
575
+ @include breakpoint(md) {
576
+ margin: 15px 0;
577
+ min-width: 200px;
578
+ padding: 0 25px;
579
+ }
580
+ }
@@ -0,0 +1,56 @@
1
+ .page-error {
2
+ text-align: center;
3
+
4
+ .collapsible-container {
5
+ margin: 0 auto;
6
+ width: 350px;
7
+ }
8
+
9
+ .collapsible-summary {
10
+ background: transparent;
11
+ border: 0 none;
12
+ color: $color-teal;
13
+ display: block;
14
+ font-size: initial;
15
+ margin: 2em auto 1em;
16
+ padding: 0;
17
+
18
+ &::before {
19
+ margin-right: 0.25em;
20
+ }
21
+
22
+ &[aria-expanded='false'] {
23
+ &::before {
24
+ content: '+';
25
+ }
26
+
27
+ .collapsible-hide-label {
28
+ display: none;
29
+ }
30
+ }
31
+
32
+ &[aria-expanded='true'] {
33
+ &::before {
34
+ content: '-';
35
+ }
36
+
37
+ .collapsible-show-label:not(:last-child) {
38
+ display: none;
39
+ }
40
+
41
+ .collapsible-hide-label {
42
+ display: initial;
43
+ }
44
+ }
45
+ }
46
+
47
+ .collapsible-details {
48
+ font-size: initial;
49
+ padding: 0 1em;
50
+ text-align: left;
51
+
52
+ p {
53
+ margin: 0.5em 0;
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,98 @@
1
+ .flash-notification {
2
+ bottom: 0;
3
+ margin: 10px;
4
+ opacity: 1;
5
+ position: fixed;
6
+ right: 0;
7
+ transition: opacity 0.5s ease-in-out;
8
+ z-index: 101;
9
+
10
+ &.notification-closed {
11
+ opacity: 0;
12
+ }
13
+
14
+ .success,
15
+ .error {
16
+ align-items: center;
17
+ border-radius: 3px;
18
+ color: white;
19
+ display: flex;
20
+ height: auto;
21
+ justify-content: center;
22
+ width: 300px;
23
+
24
+ .icon {
25
+ left: 18px;
26
+ margin-right: 5px;
27
+ position: relative;
28
+ }
29
+ }
30
+
31
+ .success {
32
+ background-color: $color-slate;
33
+
34
+ .icon {
35
+ &::before {
36
+ content: '\f058';
37
+ font-family: 'FontAwesome';
38
+ font-size: 1.2rem;
39
+ }
40
+ }
41
+ }
42
+
43
+ .error {
44
+ background-color: $color-red;
45
+
46
+ .icon {
47
+ &::before {
48
+ content: '\f06a';
49
+ font-family: 'FontAwesome';
50
+ font-size: 1.2rem;
51
+ }
52
+ }
53
+ }
54
+
55
+ .close-notification-container {
56
+ align-self: flex-start;
57
+ position: relative;
58
+
59
+ .closeNotification {
60
+ background: none;
61
+ border: none;
62
+ height: 20px;
63
+ margin: 10px 5px 0 -28px;
64
+ width: 20px;
65
+
66
+ .close-icon {
67
+ fill: white;
68
+ height: 14px;
69
+ position: relative;
70
+ right: 4px;
71
+ top: -4px;
72
+ width: 14px;
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+ .text-content {
79
+ font-size: 13px;
80
+ line-height: 1.3;
81
+ margin: 10px auto;
82
+ max-width: 220px;
83
+
84
+ .title-text,
85
+ .body-text {
86
+ margin: auto;
87
+ }
88
+
89
+ .title-text {
90
+ font-weight: $rubik-medium;
91
+ padding: 10px 0;
92
+ }
93
+
94
+ .body-text {
95
+ font-weight: $rubik-regular;
96
+ padding: 0 0 10px;
97
+ }
98
+ }