@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,892 @@
1
+ @import '../settings/index';
2
+
3
+ // this should be a global thing
4
+ [hidden] {
5
+ display: none;
6
+ }
7
+
8
+ header {
9
+ align-items: center;
10
+ background: $color-white;
11
+ display: flex;
12
+ flex-wrap: wrap;
13
+ justify-content: space-between;
14
+ position: relative;
15
+ z-index: 1999;
16
+ @include breakpoint(sm) {
17
+ box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.1);
18
+ display: block;
19
+ height: 103px;
20
+ &.show-cancel-button {
21
+ display: flex;
22
+ }
23
+ }
24
+ @include breakpoint(md) {
25
+ height: 106px;
26
+ }
27
+ @media (min-width: 1080px) {
28
+ height: 108px;
29
+ }
30
+ }
31
+
32
+ // logo
33
+ .header-logo {
34
+ height: 45px;
35
+ margin-left: 40px;
36
+ @include breakpoint(sm) {
37
+ float: left;
38
+ margin-left: 30px;
39
+ padding: 27px 0;
40
+ height: 103px;
41
+ }
42
+ @include breakpoint(md) {
43
+ height: 106px;
44
+ }
45
+ @media (min-width: 1080px) {
46
+ height: 108px;
47
+ }
48
+ }
49
+ .qpp-logo {
50
+ height: 100%;
51
+ }
52
+
53
+ // mobile-only help icon
54
+ .header-help {
55
+ font-size: 0.9rem;
56
+ text-decoration: none;
57
+ margin: 0 40px 0 0;
58
+ padding-top: 10px;
59
+ width: 30px;
60
+ height: 86px;
61
+ @include breakpoint(sm) {
62
+ display: none;
63
+ }
64
+ }
65
+ .header-help-icon {
66
+ fill: $color-teal;
67
+ width: 30px;
68
+ height: 30px;
69
+ }
70
+
71
+ // cancel button
72
+ .header-cancel {
73
+ background-color: transparent;
74
+ border: none;
75
+ color: #006771;
76
+ font-size: 16px;
77
+ margin-right: 30px;
78
+ text-transform: uppercase;
79
+ }
80
+
81
+ // mobile menu button new
82
+ .mobile-menu-btn-new {
83
+ background-color: #fefefe;
84
+ border: none;
85
+ display: block;
86
+ flex: 0 0 100%;
87
+ padding: 14px 0;
88
+ width: 100%;
89
+ &[aria-expanded='true'] {
90
+ color: $gray-90;
91
+ }
92
+ @include breakpoint(sm) {
93
+ display: none;
94
+ }
95
+
96
+ .close-icon {
97
+ fill: $cyan-50;
98
+ height: 18px;
99
+ width: 35px;
100
+ margin-bottom: -2px;
101
+ }
102
+ }
103
+
104
+ .icon {
105
+ display: inline-block;
106
+ margin-right: 14px;
107
+ }
108
+ .icon-bar {
109
+ background-color: $cyan-50;
110
+ border-radius: 1px;
111
+ display: block;
112
+ height: 3px;
113
+ width: 22px;
114
+ }
115
+ .icon-bar + .icon-bar {
116
+ margin-top: 5px;
117
+ }
118
+ .toggle-text {
119
+ display: inline-block;
120
+ font-size: 1.25rem;
121
+ }
122
+
123
+ // dropdown menu
124
+ [aria-label='Primary navigation'] {
125
+ flex: 0 0 100%;
126
+ background-color: $color-teal-dark;
127
+ color: $color-white;
128
+ @include breakpoint(sm) {
129
+ background-color: transparent;
130
+ color: $color-navy;
131
+ display: block;
132
+ float: right;
133
+ margin-right: 16px;
134
+ }
135
+ }
136
+ [class^='header-item-'] {
137
+ @include breakpoint(sm) {
138
+ float: left;
139
+ position: relative;
140
+ }
141
+ &:last-child {
142
+ .menu-dropdown-toggle::after {
143
+ display: none;
144
+ }
145
+ }
146
+ }
147
+ .full-width-menu[class^='header-item-'] {
148
+ position: static;
149
+ }
150
+ .navigation-menu {
151
+ list-style: none;
152
+ margin: 0;
153
+ padding: 0;
154
+ }
155
+
156
+ .navigation-menu:not(.navigation-new-style) {
157
+ .chevron-container {
158
+ display: none;
159
+ }
160
+ .accordion-section {
161
+ display: none;
162
+ }
163
+ .submenu-section-mips-mobile {
164
+ display: none;
165
+ }
166
+ }
167
+
168
+ // Mobile Top Nav
169
+ .navigation-menu.navigation-new-style {
170
+ background-color: $white;
171
+
172
+ .nav-section.open {
173
+ border-top: 1px solid $gray-10;
174
+ }
175
+
176
+ .menu-dropdown-toggle {
177
+ .dropdown-title,
178
+ .nav-title {
179
+ color: $gray-90;
180
+ font-weight: $rubik-regular;
181
+ }
182
+
183
+ @include breakpoint(sm) {
184
+ &[aria-expanded='true'] {
185
+ border-bottom: 4px solid $color-teal-medium;
186
+ outline: none;
187
+ .nav-description {
188
+ color: $cyan-50;
189
+ }
190
+ }
191
+ }
192
+ }
193
+
194
+ .menu-dropdown-toggle,
195
+ .header-item-login {
196
+ background-color: $white;
197
+ @media only screen and (max-width: 767px) {
198
+ border-top: 1px solid $gray-10;
199
+ }
200
+ }
201
+
202
+ .menu-dropdown-toggle[aria-expanded='true']
203
+ .dropdown-title-chevron-container {
204
+ .chevron-container {
205
+ transition: transform 0.5s ease;
206
+ transform: rotate(180deg);
207
+ }
208
+ }
209
+ .menu-dropdown-toggle[aria-expanded='false']
210
+ .dropdown-title-chevron-container {
211
+ .chevron-container {
212
+ transition: transform 0.5s ease;
213
+ }
214
+ }
215
+ .dropdown-title-chevron-container {
216
+ display: flex;
217
+ justify-content: flex-start;
218
+ align-items: center;
219
+ flex-wrap: nowrap;
220
+ text-align: left;
221
+
222
+ @include breakpoint(xs) {
223
+ justify-content: space-around;
224
+ }
225
+
226
+ .dropdown-title {
227
+ flex-grow: 0;
228
+
229
+ @include breakpoint(xs) {
230
+ flex-grow: 1;
231
+ }
232
+
233
+ &::before {
234
+ right: -20px;
235
+
236
+ @include breakpoint(sm) {
237
+ right: -18px;
238
+ }
239
+ }
240
+ }
241
+
242
+ .chevron-container {
243
+ margin: 0;
244
+ margin-right: 10px;
245
+
246
+ @include breakpoint(xs) {
247
+ margin-right: 0;
248
+ }
249
+
250
+ @include breakpoint(sm) {
251
+ margin-right: 10px;
252
+ }
253
+ }
254
+
255
+ .accordion-left-title {
256
+ color: $color-gray-darker;
257
+ flex-grow: 1;
258
+ font-size: 1.125rem;
259
+ font-weight: 500;
260
+ max-width: 100%;
261
+ text-align: left;
262
+ width: 33%;
263
+
264
+ .accordion-title {
265
+ width: 75%;
266
+ }
267
+
268
+ .accordion-subtitle {
269
+ color: $color-gray-dark;
270
+ font-size: 1rem;
271
+ font-weight: 400;
272
+ margin-top: 5px;
273
+ }
274
+
275
+ p {
276
+ margin: 0;
277
+ padding: 0;
278
+ }
279
+ }
280
+ .chevron-container {
281
+ height: 10px;
282
+ width: 10px;
283
+ display: inline-block;
284
+ margin-top: 0;
285
+
286
+ @include breakpoint(xs) {
287
+ margin-top: 20px;
288
+ }
289
+
290
+ @include breakpoint(sm) {
291
+ height: 8px;
292
+ width: 8px;
293
+ }
294
+
295
+ .accordion-icon {
296
+ transition: transform 0.5s ease;
297
+ height: 10px;
298
+ width: 10px;
299
+ display: block;
300
+ margin-top: 0;
301
+
302
+ @include breakpoint(sm) {
303
+ height: 8px;
304
+ width: 8px;
305
+ }
306
+
307
+ @include breakpoint(md) {
308
+ height: 10px;
309
+ width: 10px;
310
+ }
311
+ }
312
+ }
313
+ }
314
+
315
+ .nav-section.open {
316
+ background-color: $gray-02;
317
+ @include breakpoint(sm) {
318
+ background-color: $gray-02;
319
+ }
320
+ }
321
+
322
+ .dropdown-title,
323
+ .nav-title {
324
+ color: $gray-90;
325
+ font-weight: $rubik-regular;
326
+ padding-right: 0;
327
+ margin-right: 0;
328
+
329
+ @include breakpoint(xs) {
330
+ padding-right: 0;
331
+ }
332
+
333
+ @include breakpoint(sm) {
334
+ padding-right: 6px;
335
+ }
336
+
337
+ @include breakpoint(md) {
338
+ padding-right: 9px;
339
+ }
340
+
341
+ @include breakpoint(lg) {
342
+ margin-right: 0;
343
+ }
344
+
345
+ &:after {
346
+ display: none;
347
+ }
348
+ }
349
+
350
+ .dropdown-description,
351
+ .nav-description {
352
+ color: $gray-70;
353
+ font-weight: $rubik-light;
354
+ margin-top: 5px;
355
+
356
+ @include breakpoint(xs) {
357
+ margin-top: 0;
358
+ }
359
+ }
360
+
361
+ .dropdown-description.active {
362
+ color: $cyan-50;
363
+ }
364
+
365
+ .nav-section {
366
+ background-color: $white;
367
+
368
+ .submenu-heading {
369
+ border-bottom: 1px solid $gray-10;
370
+ color: $gray-80;
371
+ font-weight: 500;
372
+ text-transform: none;
373
+ }
374
+
375
+ a {
376
+ color: $gray-90;
377
+ }
378
+
379
+ .signout-button {
380
+ color: $gray-90;
381
+ &:hover {
382
+ text-decoration: underline;
383
+ }
384
+ }
385
+
386
+ .sublink::before {
387
+ color: $gray-90;
388
+ }
389
+ }
390
+
391
+ .submenu-section {
392
+ .btn.btn-navigation.inverse-hover {
393
+ background-color: $white;
394
+ border-color: $gray-10;
395
+ box-shadow: none;
396
+ color: $gray-80;
397
+ &:hover,
398
+ &:focus,
399
+ &:active {
400
+ background-color: $gray-04;
401
+ }
402
+
403
+ .chevron-icon {
404
+ fill: $gray-80;
405
+ }
406
+ }
407
+ }
408
+
409
+ .menu-link .nav-title {
410
+ margin-top: 0;
411
+ }
412
+ }
413
+
414
+ // mobile top nav - mips dropdown
415
+ .navigation-menu.navigation-new-style {
416
+ #nav-section-MIPS {
417
+ padding: 24px;
418
+
419
+ .nav-column:last-child {
420
+ .submenu-section-mips-mobile:last-child {
421
+ .accordion-section {
422
+ border: none;
423
+ }
424
+ }
425
+ }
426
+
427
+ @include breakpoint(xs) {
428
+ padding: 0;
429
+ .nav-column {
430
+ margin-top: 0;
431
+ }
432
+ }
433
+ }
434
+
435
+ #nav-section-MIPS .nav-column .submenu-section {
436
+ display: block;
437
+ @include breakpoint(xs) {
438
+ display: none;
439
+ }
440
+
441
+ @include breakpoint(sm) {
442
+ display: block;
443
+ }
444
+ }
445
+
446
+ .accordion-section {
447
+ border: none;
448
+ border-bottom: 1px solid $gray-10;
449
+ margin: 0;
450
+
451
+ .accordion {
452
+ padding: 12px 5px 12px 30px;
453
+ background-color: $gray-02;
454
+
455
+ .accordion-left-title {
456
+ font-size: 14px;
457
+ }
458
+
459
+ .chevron-container {
460
+ background-color: $gray-02;
461
+ border: none;
462
+
463
+ .accordion-icon {
464
+ height: 10px;
465
+ width: 10px;
466
+ }
467
+ }
468
+ }
469
+
470
+ .accordion-content {
471
+ .accordion-text {
472
+ padding: 0;
473
+ margin-bottom: 10px;
474
+
475
+ a {
476
+ display: inline-block;
477
+ font-size: 1rem;
478
+ font-weight: 300;
479
+ line-height: 1.4;
480
+ text-decoration: none;
481
+ margin-bottom: 10px;
482
+ }
483
+
484
+ .btn.btn-navigation.inverse-hover {
485
+ background-color: $white;
486
+ border-color: $gray-10;
487
+ box-shadow: none;
488
+ color: $gray-80;
489
+ font-size: 0.9rem;
490
+ font-weight: 500;
491
+ &:hover,
492
+ &:focus,
493
+ &:active {
494
+ background-color: $gray-04;
495
+ }
496
+
497
+ .chevron-icon {
498
+ fill: $gray-80;
499
+ }
500
+ }
501
+ }
502
+ }
503
+
504
+ .accordion-text.dashed-border {
505
+ border: none;
506
+ }
507
+ }
508
+
509
+ .submenu-section-mips-mobile {
510
+ display: none;
511
+
512
+ @include breakpoint(xs) {
513
+ display: block;
514
+ }
515
+
516
+ @include breakpoint(sm) {
517
+ display: none;
518
+ }
519
+
520
+ @include breakpoint(md) {
521
+ display: none;
522
+ }
523
+ }
524
+ }
525
+
526
+ .menu-dropdown-toggle {
527
+ background-color: transparent;
528
+ border: none;
529
+ padding: 20px 16px;
530
+ position: relative;
531
+ text-align: left;
532
+ width: 100%;
533
+ &[aria-expanded='true'] {
534
+ .dropdown-title::after {
535
+ transform: translateX(0.5rem) translateY(-0.25rem) rotate(180deg);
536
+ }
537
+ }
538
+ @include breakpoint(sm) {
539
+ border-bottom: 4px solid white;
540
+ padding: 0;
541
+ height: 103px;
542
+ &:focus,
543
+ &[aria-expanded='true'] {
544
+ border-bottom: 4px solid $color-teal;
545
+ outline: none;
546
+ .dropdown-title {
547
+ color: $color-teal;
548
+ }
549
+ }
550
+ }
551
+ @include breakpoint(md) {
552
+ height: 106px;
553
+ max-width: 132px;
554
+ padding: 0 10px;
555
+ &::after {
556
+ content: '';
557
+ background: $color-gray-very-light;
558
+ height: 64px;
559
+ position: absolute;
560
+ width: 1px;
561
+ right: 0;
562
+ top: 26px;
563
+ }
564
+ }
565
+ @media (min-width: 1080px) {
566
+ height: 108px;
567
+ max-width: 158px;
568
+ padding: 0 15px;
569
+ }
570
+ }
571
+ .menu-link {
572
+ padding: 20px 16px;
573
+ width: 100%;
574
+ display: inline-block;
575
+ text-decoration: none;
576
+ &:hover,
577
+ &:focus {
578
+ text-decoration: none;
579
+ }
580
+ @include breakpoint(sm) {
581
+ margin-top: -2px;
582
+ align-items: center;
583
+ display: grid;
584
+ height: 103px;
585
+ padding: 0 14px;
586
+ _:-ms-fullscreen,
587
+ :root & {
588
+ display: flex;
589
+ flex-direction: column;
590
+ justify-content: center;
591
+ }
592
+ }
593
+ @include breakpoint(md) {
594
+ align-content: center;
595
+ height: 106px;
596
+ justify-content: center;
597
+ padding: 0 10px;
598
+ }
599
+ @media (min-width: 1080px) {
600
+ max-width: 158px;
601
+ padding: 0 15px;
602
+ }
603
+ }
604
+ .dropdown-title {
605
+ color: $color-white;
606
+ display: inline-block;
607
+ font-size: 1.25rem;
608
+ line-height: 1.2;
609
+ margin-bottom: 6px;
610
+ margin-right: 8px;
611
+ position: relative;
612
+ &::after {
613
+ content: '\f078';
614
+ display: inline-block;
615
+ font-family: 'FontAwesome';
616
+ font-size: 10px;
617
+ transform: translateX(0.5rem) translateY(-0.25rem);
618
+ transition: 0.25s;
619
+ }
620
+ @include breakpoint(sm) {
621
+ color: $color-navy;
622
+ font-size: 1rem;
623
+ margin: 0;
624
+ padding-left: 14px;
625
+ padding-right: 22px;
626
+ &::before {
627
+ content: '';
628
+ border-right: 1px solid $color-gray-very-light;
629
+ position: absolute;
630
+ top: 0;
631
+ right: 0;
632
+ height: 100%;
633
+ }
634
+ }
635
+ @include breakpoint(md) {
636
+ padding-left: 0;
637
+ padding-right: 0;
638
+ &::before {
639
+ content: '';
640
+ display: none;
641
+ }
642
+ }
643
+ @media (min-width: 1080px) {
644
+ font-size: 1.25rem;
645
+ margin-right: 8px;
646
+ }
647
+ }
648
+ .nav-title {
649
+ color: $color-white;
650
+ display: inline-block;
651
+ font-size: 1.25rem;
652
+ margin-bottom: 6px;
653
+ margin-right: 8px;
654
+ line-height: 1.2;
655
+ @include breakpoint(sm) {
656
+ color: $color-navy;
657
+ font-size: 1rem;
658
+ margin: 0;
659
+ _:-ms-fullscreen,
660
+ :root & {
661
+ width: 100%;
662
+ }
663
+ }
664
+ @media (min-width: 1080px) {
665
+ font-size: 1.25rem;
666
+ }
667
+ }
668
+ .nav-column {
669
+ margin-top: 0;
670
+ }
671
+ .dropdown-description,
672
+ .nav-description {
673
+ color: $color-white;
674
+ display: block;
675
+ font-size: 0.8rem;
676
+ font-weight: 300;
677
+ line-height: 1.1rem;
678
+ @include breakpoint(sm) {
679
+ display: none;
680
+ }
681
+ @include breakpoint(md) {
682
+ color: $color-teal;
683
+ font-size: 0.7rem;
684
+ display: block;
685
+ }
686
+ @media (min-width: 1080px) {
687
+ font-size: 0.8rem;
688
+ }
689
+ }
690
+ .login .nav-description br {
691
+ @include breakpoint(xs) {
692
+ display: none;
693
+ }
694
+ }
695
+ .submenu-heading {
696
+ border-bottom: 1px solid $color-white;
697
+ color: $color-white;
698
+ font-size: 1rem;
699
+ font-weight: 500;
700
+ line-height: 1.4;
701
+ margin: 0 0 18px;
702
+ padding: 0;
703
+ text-transform: uppercase;
704
+ }
705
+ .nav-section {
706
+ padding: 24px;
707
+ box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.1);
708
+ & ul {
709
+ list-style: none;
710
+ margin: 0;
711
+ padding: 0;
712
+ }
713
+
714
+ ul + ul {
715
+ margin-top: 26px;
716
+ }
717
+
718
+ .btn {
719
+ font-weight: 500;
720
+ }
721
+
722
+ .sublink::before {
723
+ content: '\2022';
724
+ font-weight: 500;
725
+ padding: 0 12px;
726
+ }
727
+
728
+ $menu-spacing: 18px;
729
+ @include breakpoint(sm) {
730
+ background-color: $color-teal-dark;
731
+ position: absolute;
732
+ right: 0;
733
+ &.open {
734
+ .nav-column:not(:first-of-type) {
735
+ margin-top: $menu-spacing;
736
+ }
737
+ }
738
+ &[data-columns='1'] {
739
+ width: 315px;
740
+ _:-ms-fullscreen,
741
+ :root & {
742
+ .nav-column {
743
+ flex-basis: 100%;
744
+ margin-right: 0;
745
+ }
746
+ }
747
+ }
748
+ &[data-columns='2'] {
749
+ width: 650px;
750
+ .nav-column {
751
+ display: flex;
752
+ justify-content: space-between;
753
+ li {
754
+ flex-basis: calc((100% / 2) - 15px);
755
+ }
756
+ }
757
+
758
+ _:-ms-fullscreen,
759
+ :root & {
760
+ .nav-column {
761
+ flex-basis: calc((100% / 2) - 15px);
762
+ margin-right: 30px;
763
+ }
764
+ .nav-column:last-of-type {
765
+ margin-right: 0;
766
+ }
767
+ }
768
+ }
769
+ &[data-columns='3'] {
770
+ width: 890px;
771
+ .nav-column {
772
+ display: flex;
773
+ justify-content: space-between;
774
+ li {
775
+ flex-basis: calc((100% / 3) - 15px);
776
+ }
777
+ }
778
+
779
+ _:-ms-fullscreen,
780
+ :root & {
781
+ .nav-column {
782
+ flex-basis: calc((100% / 3) - 15px);
783
+ margin-right: 30px;
784
+ }
785
+ .nav-column:last-of-type {
786
+ margin-right: 0;
787
+ }
788
+ }
789
+ }
790
+ &[data-columns='4'] {
791
+ width: 1200px;
792
+ .nav-column {
793
+ display: flex;
794
+ justify-content: space-between;
795
+ li {
796
+ flex-basis: calc((100% / 4) - 15px);
797
+ }
798
+ }
799
+ _:-ms-fullscreen,
800
+ :root & {
801
+ .nav-column {
802
+ flex-basis: calc((100% / 4) - 15px);
803
+ margin-right: 30px;
804
+ }
805
+ .nav-column:last-of-type {
806
+ margin-right: 0;
807
+ }
808
+ }
809
+ }
810
+ .full-width-menu & {
811
+ left: 0;
812
+ width: 100%;
813
+ }
814
+ .sublink::before {
815
+ color: $color-white;
816
+ }
817
+ .nav-column + .nav-column {
818
+ margin-top: 0;
819
+ }
820
+ }
821
+ }
822
+ .submenu-section {
823
+ a {
824
+ color: $color-white;
825
+ display: inline-block;
826
+ font-size: 1rem;
827
+ font-weight: 300;
828
+ line-height: 1.4;
829
+ text-decoration: none;
830
+ margin-bottom: 10px;
831
+
832
+ &:hover:not(.btn),
833
+ &:focus:not(.btn) {
834
+ text-decoration: underline;
835
+ }
836
+
837
+ &:focus {
838
+ outline-offset: 2px;
839
+ }
840
+ }
841
+ li:last-child a {
842
+ margin-bottom: 0;
843
+ }
844
+ }
845
+
846
+ .nav-section .nav-column > .submenu-section {
847
+ margin-top: 0;
848
+
849
+ &:first-child {
850
+ margin-top: 0;
851
+ }
852
+
853
+ @include breakpoint(xs) {
854
+ margin-top: 26px;
855
+ }
856
+ }
857
+
858
+ .full-width-menu {
859
+ @include breakpoint(sm) {
860
+ left: 0;
861
+ }
862
+ }
863
+ .btn.btn-navigation {
864
+ @include breakpoint(sm) {
865
+ font-size: 0.78rem;
866
+ .btn-navigation-icon {
867
+ top: 25%;
868
+ }
869
+ }
870
+ @include breakpoint(md) {
871
+ font-size: 0.9rem;
872
+ }
873
+ }
874
+ .signout-button {
875
+ border: none;
876
+ background: transparent;
877
+ color: $color-white;
878
+ display: inline-block;
879
+ font-size: 1rem;
880
+ font-weight: 300;
881
+ line-height: 1.4;
882
+ padding-left: 0;
883
+
884
+ &:hover {
885
+ text-decoration: underline;
886
+ }
887
+ }
888
+ .account-menu-item {
889
+ .dropdown-description {
890
+ height: 35px;
891
+ }
892
+ }