@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.
- package/.babelrc +10 -0
- package/.editorconfig +22 -0
- package/.eslintignore +5 -0
- package/.eslintrc.js +31 -0
- package/.storybook/.babelrc +4 -0
- package/.storybook/main.js +89 -0
- package/.storybook/preview-head.html +9 -0
- package/.storybook/preview.js +5 -0
- package/README.md +5 -0
- package/components/Accordion/Accordion.stories.js +20 -0
- package/components/Accordion/index.jsx +93 -0
- package/components/Alert/Alert.stories.js +61 -0
- package/components/Alert/index.js +46 -0
- package/components/Breadcrumb/Breadcrumb.md +28 -0
- package/components/Breadcrumb/Breadcrumb.stories.js +76 -0
- package/components/Breadcrumb/index.js +83 -0
- package/components/Button/Button.stories.js +121 -0
- package/components/Button/index.js +90 -0
- package/components/CalloutBox/CalloutBox.stories.js +94 -0
- package/components/CalloutBox/index.js +109 -0
- package/components/Card/Card.stories.js +163 -0
- package/components/Card/index.js +137 -0
- package/components/Dropdown/Dropdown.stories.js +94 -0
- package/components/Dropdown/index.js +85 -0
- package/components/Error/Collapsible.jsx +88 -0
- package/components/Error/ErrorUI.jsx +31 -0
- package/components/Error/error.js +26 -0
- package/components/FlashNotification/FlashNotificationUI.jsx +91 -0
- package/components/FlashNotification/index.js +30 -0
- package/components/Footer/Footer.stories.js +20 -0
- package/components/Footer/FooterUI.jsx +269 -0
- package/components/Footer/LegacyFooterUI.jsx +194 -0
- package/components/Footer/SocialLinks.jsx +60 -0
- package/components/Footer/Subscribe.jsx +34 -0
- package/components/Footer/footer.js +30 -0
- package/components/Header/Header.md +111 -0
- package/components/Header/Header.stories.js +32 -0
- package/components/Header/HeaderAccountMenu.jsx +169 -0
- package/components/Header/HeaderCancel.jsx +16 -0
- package/components/Header/HeaderContainer.jsx +63 -0
- package/components/Header/HeaderLogo.jsx +42 -0
- package/components/Header/HeaderMenuButton.js +50 -0
- package/components/Header/HeaderMenuItem.jsx +232 -0
- package/components/Header/HeaderMenuLink.js +50 -0
- package/components/Header/HeaderMenuSignOutButton.js +62 -0
- package/components/Header/HeaderMobileButton.js +37 -0
- package/components/Header/HeaderUI.jsx +167 -0
- package/components/Header/HelpIcon.jsx +32 -0
- package/components/Header/ImpersonatorBanner.jsx +57 -0
- package/components/Header/NavigationButtonIcon.jsx +27 -0
- package/components/Header/default-content.json +280 -0
- package/components/Header/header.js +40 -0
- package/components/Header/hooks.js +52 -0
- package/components/Header/utag-helpers.js +9 -0
- package/components/Infotip/Infotip.jsx +75 -0
- package/components/Infotip/Infotip.stories.js +50 -0
- package/components/Infotip/InfotipIcon.jsx +41 -0
- package/components/Infotip/index.js +3 -0
- package/components/Link/Link.stories.js +81 -0
- package/components/Link/index.js +61 -0
- package/components/Modal/LegacyModal.jsx +72 -0
- package/components/Modal/Modal.jsx +140 -0
- package/components/Modal/Modal.stories.js +159 -0
- package/components/Modal/index.jsx +22 -0
- package/components/NotificationBanner/NotificationBanner.stories.js +23 -0
- package/components/NotificationBanner/index.js +265 -0
- package/components/SanitizedContent/index.jsx +200 -0
- package/components/Search/Search.stories.js +21 -0
- package/components/Search/index.js +85 -0
- package/components/SessionDialog/sessionDialog.js +26 -0
- package/components/SessionDialogUI.jsx +261 -0
- package/components/SideNav/AnimationGroup/AnimationGroup.jsx +27 -0
- package/components/SideNav/Chart/ScoreChart.jsx +268 -0
- package/components/SideNav/Chart/__tests__/ScoreChart.test.js +22 -0
- package/components/SideNav/Chart/__tests__/__snapshots__/ScoreChart.test.js.snap +173 -0
- package/components/SideNav/Chart/index.js +3 -0
- package/components/SideNav/Content/LevelOneContent.jsx +208 -0
- package/components/SideNav/Content/LevelTwoContent.jsx +216 -0
- package/components/SideNav/Content/index.js +4 -0
- package/components/SideNav/Details/IndividualDetails.jsx +18 -0
- package/components/SideNav/Details/PracticeDetails.jsx +45 -0
- package/components/SideNav/Details/index.js +4 -0
- package/components/SideNav/Links/CmsSwitchLink.jsx +41 -0
- package/components/SideNav/Links/NavItemInline.jsx +54 -0
- package/components/SideNav/Links/NavLinkContainer.jsx +38 -0
- package/components/SideNav/Links/NavLinkDrawer.jsx +249 -0
- package/components/SideNav/Links/NavLinkInline.jsx +107 -0
- package/components/SideNav/Links/NavLinkToggle.jsx +34 -0
- package/components/SideNav/Links/index.js +13 -0
- package/components/SideNav/SideNav.md +50 -0
- package/components/SideNav/SideNav.stories.js +379 -0
- package/components/SideNav/UI/SideNavUI.jsx +333 -0
- package/components/SideNav/UI/default-content.json +99 -0
- package/components/SideNav/UI/index.js +3 -0
- package/components/SideNav/helpers.js +49 -0
- package/components/SideNav/index.js +53 -0
- package/components/Spinner/index.js +9 -0
- package/components/Tabs/Tab.js +26 -0
- package/components/Tabs/TabPanel.js +34 -0
- package/components/Tabs/Tabs.stories.js +120 -0
- package/components/Tabs/index.js +95 -0
- package/components/TextInput/TextInput.stories.js +118 -0
- package/components/TextInput/index.js +137 -0
- package/components/Tooltip/Tooltip.jsx +88 -0
- package/components/Tooltip/Tooltip.stories.js +80 -0
- package/components/Tooltip/index.js +3 -0
- package/components/Tooltip/position.js +68 -0
- package/components/UnwrappedSpinner/index.js +8 -0
- package/components/hooks/useGetConfig.js +74 -0
- package/components/index.js +126 -0
- package/dist/browser.js +3 -0
- package/dist/browser.js.LICENSE.txt +54 -0
- package/dist/browser.js.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.LICENSE.txt +54 -0
- package/dist/index.js.map +1 -0
- package/dist/react/index.js +3 -0
- package/dist/react/index.js.LICENSE.txt +71 -0
- package/dist/react/index.js.map +1 -0
- package/fonts/FontAwesome.otf +0 -0
- package/fonts/OFL.txt +92 -0
- package/fonts/Rubik-Black.ttf +0 -0
- package/fonts/Rubik-BlackItalic.ttf +0 -0
- package/fonts/Rubik-Bold.ttf +0 -0
- package/fonts/Rubik-BoldItalic.ttf +0 -0
- package/fonts/Rubik-Italic.ttf +0 -0
- package/fonts/Rubik-Light.ttf +0 -0
- package/fonts/Rubik-LightItalic.ttf +0 -0
- package/fonts/Rubik-Medium.ttf +0 -0
- package/fonts/Rubik-MediumItalic.ttf +0 -0
- package/fonts/Rubik-Regular.ttf +0 -0
- package/fonts/fontawesome-webfont.eot +0 -0
- package/fonts/fontawesome-webfont.svg +2671 -0
- package/fonts/fontawesome-webfont.ttf +0 -0
- package/fonts/fontawesome-webfont.woff +0 -0
- package/fonts/fontawesome-webfont.woff2 +0 -0
- package/images/favicon/android-chrome-192x192.png +0 -0
- package/images/favicon/android-chrome-256x256.png +0 -0
- package/images/favicon/apple-touch-icon.png +0 -0
- package/images/favicon/browserconfig.xml +9 -0
- package/images/favicon/favicon-16x16.png +0 -0
- package/images/favicon/favicon-32x32.png +0 -0
- package/images/favicon/favicon.ico +0 -0
- package/images/favicon/manifest.json +18 -0
- package/images/favicon/mstile-150x150.png +0 -0
- package/images/favicon/safari-pinned-tab.svg +32 -0
- package/images/hhs-logo-black.svg +10 -0
- package/images/hhs-logo-white.svg +10 -0
- package/images/icons/close-x.svg +6 -0
- package/images/icons/help-headset.svg +21 -0
- package/images/icons/svg/arrow-down.svg +1 -0
- package/images/icons/svg/arrow-download.svg +1 -0
- package/images/icons/svg/arrow-right.svg +1 -0
- package/images/icons/svg/calendar.svg +1 -0
- package/images/icons/svg/close.svg +1 -0
- package/images/icons/svg/download.svg +1 -0
- package/images/icons/svg/external.svg +1 -0
- package/images/icons/svg/file-upload.svg +1 -0
- package/images/icons/svg/print.svg +1 -0
- package/images/icons/svg/search.svg +7 -0
- package/images/icons/svg/tooltip-question.svg +6 -0
- package/images/icons/svg/trash.svg +1 -0
- package/images/icons/svg/upload.svg +1 -0
- package/images/qpp_logo_reversed.png +0 -0
- package/images/qpp_logo_rgb_color.png +0 -0
- package/index.js +31 -0
- package/jest/mediaFileTransformer.js +9 -0
- package/jest.config.js +188 -0
- package/lib/Chevron.jsx +32 -0
- package/lib/SvgComponents.jsx +539 -0
- package/lib/svg-definitions.svg +125 -0
- package/package.json +125 -0
- package/session/index.js +5 -0
- package/session/logout.js +65 -0
- package/session/refresh.js +49 -0
- package/session/ttl.js +37 -0
- package/styles/_global.scss +106 -0
- package/styles/_main.scss +15 -0
- package/styles/_paths.scss +1 -0
- package/styles/_qpp-style.scss +31 -0
- package/styles/components/_accordion.scss +289 -0
- package/styles/components/_alerts.scss +54 -0
- package/styles/components/_autocomplete.scss +47 -0
- package/styles/components/_breadcrumbs.scss +64 -0
- package/styles/components/_buttons.scss +580 -0
- package/styles/components/_error-page.scss +56 -0
- package/styles/components/_flash-notification.scss +98 -0
- package/styles/components/_fonts.scss +42 -0
- package/styles/components/_forms.scss +277 -0
- package/styles/components/_grid.scss +37 -0
- package/styles/components/_info-modal.scss +139 -0
- package/styles/components/_links.scss +12 -0
- package/styles/components/_modals.scss +18 -0
- package/styles/components/_notification-banner.scss +165 -0
- package/styles/components/_panels.scss +61 -0
- package/styles/components/_pie-chart.scss +13 -0
- package/styles/components/_score-chart.scss +164 -0
- package/styles/components/_spinner.scss +7 -0
- package/styles/components/_tables.scss +111 -0
- package/styles/components/_tabs.scss +69 -0
- package/styles/components/_text.scss +150 -0
- package/styles/components/_toggles.scss +3 -0
- package/styles/components/_tooltip.scss +23 -0
- package/styles/components/_variables.scss +157 -0
- package/styles/components/_wells.scss +92 -0
- package/styles/qppds/README.md +0 -0
- package/styles/qppds/base/_backgrounds.scss +7 -0
- package/styles/qppds/base/_fonts.scss +26 -0
- package/styles/qppds/base/_icon.scss +23 -0
- package/styles/qppds/base/_layout.scss +5 -0
- package/styles/qppds/base/_typography.scss +85 -0
- package/styles/qppds/base/index.scss +8 -0
- package/styles/qppds/components/_alert.scss +95 -0
- package/styles/qppds/components/_breadcrumbs.scss +70 -0
- package/styles/qppds/components/_button.scss +292 -0
- package/styles/qppds/components/_card.scss +175 -0
- package/styles/qppds/components/_dropdown.scss +55 -0
- package/styles/qppds/components/_footer.scss +597 -0
- package/styles/qppds/components/_header.scss +892 -0
- package/styles/qppds/components/_link.scss +52 -0
- package/styles/qppds/components/_modal.scss +118 -0
- package/styles/qppds/components/_page-header.scss +67 -0
- package/styles/qppds/components/_pagination.scss +227 -0
- package/styles/qppds/components/_search.scss +112 -0
- package/styles/qppds/components/_sidebar.scss +9 -0
- package/styles/qppds/components/_table.scss +139 -0
- package/styles/qppds/components/_tabs.scss +197 -0
- package/styles/qppds/components/_text-input.scss +60 -0
- package/styles/qppds/components/index.scss +16 -0
- package/styles/qppds/components/sidebar/_animations.scss +38 -0
- package/styles/qppds/components/sidebar/_cms.scss +61 -0
- package/styles/qppds/components/sidebar/_details.scss +58 -0
- package/styles/qppds/components/sidebar/_links.scss +444 -0
- package/styles/qppds/components/sidebar/_sidebar-animation.scss +125 -0
- package/styles/qppds/components/sidebar/_sidebar-tooltip.scss +33 -0
- package/styles/qppds/components/sidebar/_sidebar.scss +146 -0
- package/styles/qppds/components/sidebar/project-specific/_wi.scss +42 -0
- package/styles/qppds/index.scss +4 -0
- package/styles/qppds/settings/_functions.scss +4 -0
- package/styles/qppds/settings/_index.scss +3 -0
- package/styles/qppds/settings/mixins/_borders.scss +6 -0
- package/styles/qppds/settings/mixins/_focus.scss +28 -0
- package/styles/qppds/settings/mixins/_icons.scss +33 -0
- package/styles/qppds/settings/mixins/_index.scss +8 -0
- package/styles/qppds/settings/mixins/_layout.scss +74 -0
- package/styles/qppds/settings/mixins/_lists.scss +12 -0
- package/styles/qppds/settings/mixins/_table.scss +91 -0
- package/styles/qppds/settings/mixins/_type.scss +65 -0
- package/styles/qppds/settings/mixins/_visually-hidden.scss +30 -0
- package/styles/qppds/settings/variables/_color.scss +86 -0
- package/styles/qppds/settings/variables/_index.scss +3 -0
- package/styles/qppds/settings/variables/_layout.scss +67 -0
- package/styles/qppds/settings/variables/_type.scss +132 -0
- package/styles/qppds/utilities/_background-color.scss +134 -0
- package/styles/qppds/utilities/_color.scss +32 -0
- package/styles/qppds/utilities/_display-visibility.scss +83 -0
- package/styles/qppds/utilities/_flexbox.scss +240 -0
- package/styles/qppds/utilities/_font-family.scss +9 -0
- package/styles/qppds/utilities/_font-size.scss +8 -0
- package/styles/qppds/utilities/_font-weight.scss +8 -0
- package/styles/qppds/utilities/_height.scss +38 -0
- package/styles/qppds/utilities/_margin.scss +136 -0
- package/styles/qppds/utilities/_padding.scss +76 -0
- package/styles/qppds/utilities/_position.scss +24 -0
- package/styles/qppds/utilities/_text-align.scss +40 -0
- package/styles/qppds/utilities/_text-transform.scss +7 -0
- package/styles/qppds/utilities/_truncate.scss +8 -0
- package/styles/qppds/utilities/_width.scss +79 -0
- package/styles/qppds/utilities/index.scss +15 -0
- package/styles/qppds.scss +2 -0
- package/styles/third-party/_legacy-bootstrap.scss +19 -0
- package/styles/third-party/legacy-bootstrap/_buttons.scss +126 -0
- package/styles/third-party/legacy-bootstrap/_dropdowns.scss +211 -0
- package/styles/third-party/legacy-bootstrap/_forms.scss +510 -0
- package/styles/third-party/legacy-bootstrap/_grid.scss +73 -0
- package/styles/third-party/legacy-bootstrap/_mixins.scss +27 -0
- package/styles/third-party/legacy-bootstrap/_navbar.scss +644 -0
- package/styles/third-party/legacy-bootstrap/_navs.scss +193 -0
- package/styles/third-party/legacy-bootstrap/_normalize.scss +385 -0
- package/styles/third-party/legacy-bootstrap/_scaffolding.scss +116 -0
- package/styles/third-party/legacy-bootstrap/_variables.scss +858 -0
- package/styles/third-party/legacy-bootstrap/mixins/_buttons.scss +70 -0
- package/styles/third-party/legacy-bootstrap/mixins/_clearfix.scss +22 -0
- package/styles/third-party/legacy-bootstrap/mixins/_forms.scss +108 -0
- package/styles/third-party/legacy-bootstrap/mixins/_grid-framework.scss +86 -0
- package/styles/third-party/legacy-bootstrap/mixins/_grid.scss +112 -0
- package/styles/third-party/legacy-bootstrap/mixins/_labels.scss +12 -0
- package/styles/third-party/legacy-bootstrap/mixins/_nav-divider.scss +10 -0
- package/styles/third-party/legacy-bootstrap/mixins/_nav-vertical-align.scss +9 -0
- package/styles/third-party/legacy-bootstrap/mixins/_opacity.scss +7 -0
- package/styles/third-party/legacy-bootstrap/mixins/_panels.scss +30 -0
- package/styles/third-party/legacy-bootstrap/mixins/_reset-filter.scss +7 -0
- package/styles/third-party/legacy-bootstrap/mixins/_reset-text.scss +18 -0
- package/styles/third-party/legacy-bootstrap/mixins/_resize.scss +6 -0
- package/styles/third-party/legacy-bootstrap/mixins/_responsive-visibility.scss +25 -0
- package/styles/third-party/legacy-bootstrap/mixins/_size.scss +10 -0
- package/styles/third-party/legacy-bootstrap/mixins/_tab-focus.scss +9 -0
- package/styles/third-party/legacy-bootstrap/mixins/_table-row.scss +28 -0
- package/styles/third-party/legacy-bootstrap/mixins/_text-emphasis.scss +12 -0
- package/styles/third-party/legacy-bootstrap/mixins/_text-overflow.scss +8 -0
- package/styles/third-party/legacy-bootstrap/mixins/_vendor-prefixes.scss +182 -0
- package/styles/utility/_mixins.scss +46 -0
- package/styles/utility/_utilities.scss +73 -0
- package/test/components/Accordion.test.js +12 -0
- package/test/components/ErrorUI.test.js +33 -0
- package/test/components/FooterUI.test.js +90 -0
- package/test/components/HeaderUI.test.js +45 -0
- package/test/components/Infotip.test.js +73 -0
- package/test/components/SessionDialogUI.test.js +339 -0
- package/test/components/SideNavUI.test.js +23 -0
- package/test/components/Tooltip.test.js +147 -0
- package/test/index.test.js +8 -0
- package/test/session/session.test.js +221 -0
- package/test-setup.js +9 -0
- package/webpack.config.js +147 -0
- package/webpack.config.react.js +86 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'FontAwesome';
|
|
3
|
+
src: url('#{$font-path}fontawesome-webfont.eot?') format('eot'),
|
|
4
|
+
url('#{$font-path}fontawesome-webfont.woff2') format('woff2'),
|
|
5
|
+
url('#{$font-path}fontawesome-webfont.woff') format('woff'),
|
|
6
|
+
url('#{$font-path}fontawesome-webfont.ttf') format('truetype'),
|
|
7
|
+
url('#{$font-path}fontawesome-webfont.svg') format('svg');
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Rubik';
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 300;
|
|
13
|
+
letter-spacing: -0.2px;
|
|
14
|
+
src: url('#{$font-path}Rubik-Light.ttf');
|
|
15
|
+
}
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: 'Rubik';
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
letter-spacing: -0.2px;
|
|
21
|
+
src: url('#{$font-path}Rubik-Regular.ttf');
|
|
22
|
+
}
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'Rubik';
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-weight: 500;
|
|
27
|
+
letter-spacing: -0.2px;
|
|
28
|
+
src: url('#{$font-path}Rubik-Medium.ttf');
|
|
29
|
+
}
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'Rubik';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 700;
|
|
34
|
+
letter-spacing: -0.2px;
|
|
35
|
+
src: url('#{$font-path}Rubik-Bold.ttf');
|
|
36
|
+
}
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: 'FontAwesome';
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
src: url('#{$font-path}FontAwesome.otf') format('opentype');
|
|
42
|
+
}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
/* Forms */
|
|
2
|
+
|
|
3
|
+
label,
|
|
4
|
+
legend {
|
|
5
|
+
border-bottom: none;
|
|
6
|
+
color: $form-label-color;
|
|
7
|
+
font-size: 0.8em;
|
|
8
|
+
font-weight: 500;
|
|
9
|
+
margin-bottom: 0.2rem;
|
|
10
|
+
text-transform: uppercase;
|
|
11
|
+
|
|
12
|
+
&.form-small {
|
|
13
|
+
color: $color-text-main;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
line-height: 22px;
|
|
17
|
+
margin: 0.5rem 0;
|
|
18
|
+
text-transform: none;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
fieldset {
|
|
23
|
+
padding: 0.35em 0 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.form-control {
|
|
27
|
+
-webkit-appearance: none;
|
|
28
|
+
border-color: $form-border-color;
|
|
29
|
+
border-radius: 2px;
|
|
30
|
+
box-shadow: none; // Bootstrap 3
|
|
31
|
+
color: $color-gray-dark;
|
|
32
|
+
font-family: $font-family-base;
|
|
33
|
+
font-size: 1rem; // Bootstrap 3
|
|
34
|
+
height: 50px; // Bootstrap 3
|
|
35
|
+
padding: 0.9rem 0.75rem;
|
|
36
|
+
|
|
37
|
+
&::placeholder {
|
|
38
|
+
color: $form-field-color;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:focus {
|
|
42
|
+
border-color: $form-border-color-focus;
|
|
43
|
+
box-shadow: none; // Bootstrap 3
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.form-control-feedback {
|
|
48
|
+
display: none;
|
|
49
|
+
font-size: 0.9rem;
|
|
50
|
+
margin-top: 0;
|
|
51
|
+
position: relative;
|
|
52
|
+
text-align: initial;
|
|
53
|
+
width: initial;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.custom-control {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
display: inline-flex;
|
|
59
|
+
margin-right: 1rem;
|
|
60
|
+
min-height: 1.5rem;
|
|
61
|
+
padding-left: 2.2rem;
|
|
62
|
+
position: relative;
|
|
63
|
+
top: -20px;
|
|
64
|
+
user-select: none;
|
|
65
|
+
|
|
66
|
+
.custom-control-indicator {
|
|
67
|
+
background-color: $color-gray-very-light;
|
|
68
|
+
background-position: center center;
|
|
69
|
+
background-repeat: no-repeat;
|
|
70
|
+
border: 1px solid $form-border-color;
|
|
71
|
+
display: block;
|
|
72
|
+
height: 1.5rem;
|
|
73
|
+
left: 0;
|
|
74
|
+
padding: 5px;
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
position: absolute;
|
|
77
|
+
width: 1.5rem;
|
|
78
|
+
|
|
79
|
+
&.radio {
|
|
80
|
+
background-position: 4px 4px;
|
|
81
|
+
background-size: 65%;
|
|
82
|
+
border-radius: 50%;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.checkbox {
|
|
86
|
+
background-size: 90%;
|
|
87
|
+
border-radius: 3px;
|
|
88
|
+
|
|
89
|
+
&.white {
|
|
90
|
+
background-color: $color-white;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.custom-control-input {
|
|
96
|
+
opacity: 0;
|
|
97
|
+
position: absolute;
|
|
98
|
+
z-index: -1;
|
|
99
|
+
|
|
100
|
+
&:active {
|
|
101
|
+
& ~ .custom-control-indicator {
|
|
102
|
+
background-color: $color-white;
|
|
103
|
+
border-color: $form-border-color;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:focus {
|
|
108
|
+
& ~ .custom-control-indicator {
|
|
109
|
+
border-color: $form-border-color;
|
|
110
|
+
box-shadow: none;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:checked {
|
|
115
|
+
& ~ .custom-control-indicator {
|
|
116
|
+
background-color: $form-check-color;
|
|
117
|
+
border-color: $form-check-color;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&:focus {
|
|
121
|
+
& ~ .custom-control-indicator {
|
|
122
|
+
border-color: $form-check-color;
|
|
123
|
+
box-shadow: none;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.custom-control-description {
|
|
130
|
+
color: $text-color;
|
|
131
|
+
font-weight: normal;
|
|
132
|
+
position: relative;
|
|
133
|
+
text-transform: initial;
|
|
134
|
+
top: 10px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.custom-radio,
|
|
139
|
+
.custom-checkbox {
|
|
140
|
+
margin-bottom: -0.875rem;
|
|
141
|
+
padding-bottom: 0.875rem;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.custom-radio {
|
|
145
|
+
.custom-control-input:checked ~ .custom-control-indicator.radio {
|
|
146
|
+
background-color: $color-white;
|
|
147
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='4' fill='%2304838a'/%3E%3C/svg%3E");
|
|
148
|
+
border: 1px solid $color-teal;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.custom-checkbox {
|
|
153
|
+
.custom-control-input:checked ~ .custom-control-indicator.checkbox,
|
|
154
|
+
.custom-control-input:checked ~ .custom-control-indicator.checkbox-white {
|
|
155
|
+
background-color: $color-teal;
|
|
156
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' viewBox='3 0 20 25'%3E%3Cpath fill='%23fff' d='M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z'/%3E%3C/svg%3E");
|
|
157
|
+
border: 1px solid $color-teal;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.has-danger {
|
|
162
|
+
.col-form-label,
|
|
163
|
+
.custom-control,
|
|
164
|
+
.form-check-label,
|
|
165
|
+
.form-control-feedback,
|
|
166
|
+
.form-control-label {
|
|
167
|
+
color: $form-error-color;
|
|
168
|
+
display: block;
|
|
169
|
+
height: initial;
|
|
170
|
+
line-height: initial;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.form-control {
|
|
174
|
+
border-color: $form-error-color;
|
|
175
|
+
border-width: 2px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.form-control-danger {
|
|
179
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23bc2828' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23bc2828' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E");
|
|
180
|
+
background-position: center right 0.5625rem;
|
|
181
|
+
background-repeat: no-repeat;
|
|
182
|
+
background-size: 1.125rem 1.125rem;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.form-check {
|
|
187
|
+
.form-check-label {
|
|
188
|
+
color: inherit;
|
|
189
|
+
font-weight: normal;
|
|
190
|
+
text-transform: initial;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
form {
|
|
195
|
+
button[type='submit'] {
|
|
196
|
+
margin-top: 1rem;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
select.form-control:not([size]):not([multiple]) {
|
|
201
|
+
height: calc(3rem + 2px);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.custom-select {
|
|
205
|
+
appearance: none;
|
|
206
|
+
background: #fff
|
|
207
|
+
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-26 -12 40 40'%3E%3Cpath fill='%2304838a' d='M13.148 6.312l-5.797 5.789q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.789q-0.148-0.148-0.148-0.355t0.148-0.355l1.297-1.289q0.148-0.148 0.352-0.148t0.352 0.148l4.148 4.148 4.148-4.148q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.289q0.148 0.148 0.148 0.355t-0.148 0.355z'/%3E%3C/svg%3E")
|
|
208
|
+
no-repeat right 0.75rem center;
|
|
209
|
+
background-size: 40px 40px;
|
|
210
|
+
|
|
211
|
+
&::-ms-expand {
|
|
212
|
+
display: none;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.input-group {
|
|
217
|
+
.input-group-btn {
|
|
218
|
+
select {
|
|
219
|
+
border-right: none;
|
|
220
|
+
min-width: 110px;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
input {
|
|
225
|
+
border-left: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.form-control {
|
|
229
|
+
&:focus {
|
|
230
|
+
border-color: $form-border-color;
|
|
231
|
+
border-right: none;
|
|
232
|
+
box-shadow: none; // Bootstrap 3
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.detail-boxed {
|
|
238
|
+
border-left: 1px solid $color-gray-very-light;
|
|
239
|
+
border-radius: 3px;
|
|
240
|
+
border-right: 1px solid $color-gray-very-light;
|
|
241
|
+
border-top: 1px solid $color-gray-very-light;
|
|
242
|
+
box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.1);
|
|
243
|
+
font-size: 1rem;
|
|
244
|
+
margin-bottom: 2rem;
|
|
245
|
+
margin-top: 2rem;
|
|
246
|
+
|
|
247
|
+
.detail {
|
|
248
|
+
border-bottom: 1px solid $color-gray-very-light;
|
|
249
|
+
display: flex;
|
|
250
|
+
flex-direction: column;
|
|
251
|
+
@include breakpoint(sm) {
|
|
252
|
+
flex-direction: row;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
& > div {
|
|
256
|
+
padding: 1rem;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
& > div:nth-of-type(1) {
|
|
260
|
+
background: $color-gray-light;
|
|
261
|
+
flex: 1;
|
|
262
|
+
font-weight: 500;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
& > div:nth-of-type(2) {
|
|
266
|
+
@include breakpoint(sm) {
|
|
267
|
+
flex: 2;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.detail-field {
|
|
272
|
+
display: flex;
|
|
273
|
+
flex-direction: row-reverse;
|
|
274
|
+
justify-content: space-between;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Due to adding in the side-nav, on qpp-ui we need to start
|
|
2
|
+
// phasing out bootstrap's default containers to make it more responsive
|
|
3
|
+
|
|
4
|
+
.responsive-container {
|
|
5
|
+
margin-left: auto;
|
|
6
|
+
margin-right: auto;
|
|
7
|
+
padding-left: 15px;
|
|
8
|
+
padding-right: 15px;
|
|
9
|
+
|
|
10
|
+
@include breakpoint(sm) {
|
|
11
|
+
max-width: $screen-sm;
|
|
12
|
+
}
|
|
13
|
+
@include breakpoint(md) {
|
|
14
|
+
max-width: $screen-md;
|
|
15
|
+
}
|
|
16
|
+
@include breakpoint(lg) {
|
|
17
|
+
max-width: $screen-lg;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.tight {
|
|
21
|
+
max-width: 800px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.tighter {
|
|
25
|
+
max-width: 500px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// The bootstrap container class causes issues with our
|
|
30
|
+
// sm/md/lg breakpoints. Will remove this once we make changes
|
|
31
|
+
// to legacy containers.
|
|
32
|
+
|
|
33
|
+
.container {
|
|
34
|
+
&.tight {
|
|
35
|
+
max-width: 800px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
.info-modal-overlay {
|
|
2
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
3
|
+
bottom: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
position: fixed;
|
|
6
|
+
right: 0;
|
|
7
|
+
top: 0;
|
|
8
|
+
z-index: 2000;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.info-modal-content {
|
|
12
|
+
background: $color-white;
|
|
13
|
+
border: 0 none;
|
|
14
|
+
border-radius: 2px;
|
|
15
|
+
bottom: auto;
|
|
16
|
+
left: 50%;
|
|
17
|
+
max-width: 800px;
|
|
18
|
+
min-width: 450px;
|
|
19
|
+
outline: none;
|
|
20
|
+
overflow: auto;
|
|
21
|
+
padding: 2rem 3rem 1rem;
|
|
22
|
+
position: absolute;
|
|
23
|
+
right: auto;
|
|
24
|
+
top: 10%;
|
|
25
|
+
|
|
26
|
+
transform: translateX(-50%);
|
|
27
|
+
|
|
28
|
+
@include breakpoint(xs) {
|
|
29
|
+
height: 100%;
|
|
30
|
+
overflow: scroll;
|
|
31
|
+
top: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
p {
|
|
35
|
+
&.body-text {
|
|
36
|
+
margin-bottom: 10px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.disclaimer {
|
|
40
|
+
color: $color-gray-darker-medium;
|
|
41
|
+
font-size: 0.875rem;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h1 {
|
|
46
|
+
color: $brand-primary-dark;
|
|
47
|
+
font-size: 2rem;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
margin-bottom: 30px;
|
|
50
|
+
position: relative;
|
|
51
|
+
|
|
52
|
+
.icon {
|
|
53
|
+
fill: $color-gray-medium;
|
|
54
|
+
height: 1.9375rem;
|
|
55
|
+
left: -2.75rem;
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 0.125rem;
|
|
58
|
+
width: 2rem;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.closeModal {
|
|
63
|
+
background-color: transparent;
|
|
64
|
+
border: 0;
|
|
65
|
+
line-height: 0;
|
|
66
|
+
margin: 0;
|
|
67
|
+
padding: 0;
|
|
68
|
+
position: absolute;
|
|
69
|
+
right: 16px;
|
|
70
|
+
top: 16px;
|
|
71
|
+
|
|
72
|
+
@include breakpoint(xs) {
|
|
73
|
+
padding: 16px;
|
|
74
|
+
right: 10%;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.close-icon {
|
|
78
|
+
fill: $color-gray-medium;
|
|
79
|
+
height: 16px;
|
|
80
|
+
width: 16px;
|
|
81
|
+
|
|
82
|
+
@include breakpoint(xs) {
|
|
83
|
+
height: 11px;
|
|
84
|
+
width: 11px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.list-section {
|
|
90
|
+
color: $color-gray-dark;
|
|
91
|
+
font-size: 0.9rem;
|
|
92
|
+
|
|
93
|
+
p {
|
|
94
|
+
font-weight: normal;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
ul {
|
|
98
|
+
margin-bottom: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
ul li {
|
|
102
|
+
font-weight: 100;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.actions {
|
|
107
|
+
align-items: center;
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
margin-top: 30px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.btn {
|
|
114
|
+
background-color: transparent;
|
|
115
|
+
border: 1px solid transparent;
|
|
116
|
+
border-radius: 2rem;
|
|
117
|
+
color: $color-teal;
|
|
118
|
+
font-size: 0.75rem;
|
|
119
|
+
margin-top: 0.25rem;
|
|
120
|
+
padding: 1.25rem 4rem;
|
|
121
|
+
text-transform: uppercase;
|
|
122
|
+
|
|
123
|
+
&.primary-action {
|
|
124
|
+
background-color: $color-teal;
|
|
125
|
+
color: $color-white;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.secondary-action {
|
|
129
|
+
color: $color-gray-dark;
|
|
130
|
+
font-weight: 100;
|
|
131
|
+
text-decoration: underline;
|
|
132
|
+
text-transform: none;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.info-modal-content-primary-only {
|
|
138
|
+
padding-bottom: 3rem;
|
|
139
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// External Links
|
|
2
|
+
|
|
3
|
+
a[target^='_blank']:not(.button):not([download]):not(.social-link):not(.adobe-link) {
|
|
4
|
+
&::after {
|
|
5
|
+
content: '\f08e';
|
|
6
|
+
display: inline-block;
|
|
7
|
+
font-family: 'FontAwesome';
|
|
8
|
+
font-size: 1em;
|
|
9
|
+
margin-left: 0.25em;
|
|
10
|
+
vertical-align: middle;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
@mixin label-style($customColor) {
|
|
2
|
+
.expanded-view .notification-banner-label {
|
|
3
|
+
background-color: $customColor;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.collapsed-view .notification-banner-label .bell-icon svg {
|
|
7
|
+
fill: $customColor;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.notification-banner-red {
|
|
12
|
+
@include label-style($color-red);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.notification-banner-blue {
|
|
16
|
+
@include label-style($color-navy);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.notification-banner {
|
|
20
|
+
background: $notification-banner-background;
|
|
21
|
+
border-bottom: 1px solid $color-gray-light;
|
|
22
|
+
border-bottom-color: $color-gray-very-light;
|
|
23
|
+
color: $color-gray-darker;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
font-size: 0.875rem;
|
|
27
|
+
|
|
28
|
+
&-label {
|
|
29
|
+
background-color: transparent;
|
|
30
|
+
border: none;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.expanded {
|
|
35
|
+
.expanded-view.notification-banner-wrapper {
|
|
36
|
+
opacity: 100;
|
|
37
|
+
position: relative;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.collapsed-view.notification-banner-wrapper {
|
|
41
|
+
opacity: 0;
|
|
42
|
+
position: absolute;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.collapsed {
|
|
47
|
+
flex-direction: column-reverse;
|
|
48
|
+
|
|
49
|
+
.expanded-view.notification-banner-wrapper {
|
|
50
|
+
opacity: 0;
|
|
51
|
+
position: absolute;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.collapsed-view.notification-banner-wrapper {
|
|
55
|
+
opacity: 100;
|
|
56
|
+
position: relative;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.notification-banner-wrapper {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: row;
|
|
63
|
+
flex-shrink: 0;
|
|
64
|
+
|
|
65
|
+
.notification-banner-label {
|
|
66
|
+
align-items: center;
|
|
67
|
+
display: flex;
|
|
68
|
+
line-height: 1;
|
|
69
|
+
text-transform: uppercase;
|
|
70
|
+
flex: 0 0 auto;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.expanded-view {
|
|
74
|
+
justify-content: flex-start;
|
|
75
|
+
|
|
76
|
+
.notification-banner-label {
|
|
77
|
+
color: $color-white;
|
|
78
|
+
font-size: 1rem;
|
|
79
|
+
padding: 0 30px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.notification-banner-content {
|
|
83
|
+
padding: 20px 80px 20px 20px;
|
|
84
|
+
|
|
85
|
+
b {
|
|
86
|
+
color: $color-navy;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
p {
|
|
90
|
+
display: inline;
|
|
91
|
+
margin: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
a {
|
|
95
|
+
color: $link-color;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.notification-banner-close {
|
|
100
|
+
align-self: flex-start;
|
|
101
|
+
background: transparent;
|
|
102
|
+
border: 0 none;
|
|
103
|
+
margin-left: auto;
|
|
104
|
+
padding: 15px 15px;
|
|
105
|
+
|
|
106
|
+
.close-icon {
|
|
107
|
+
fill: $link-color;
|
|
108
|
+
height: 1rem;
|
|
109
|
+
width: 1rem;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.collapsed-view {
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
justify-content: flex-end;
|
|
117
|
+
padding: 10px 30px;
|
|
118
|
+
|
|
119
|
+
.notification-banner-label {
|
|
120
|
+
color: $notification-banner-label-color;
|
|
121
|
+
font-size: 0.75rem;
|
|
122
|
+
|
|
123
|
+
.bell-icon {
|
|
124
|
+
padding-left: 15px;
|
|
125
|
+
|
|
126
|
+
svg {
|
|
127
|
+
height: 18px;
|
|
128
|
+
width: 18px;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@include breakpoint(xs) {
|
|
137
|
+
.notification-banner {
|
|
138
|
+
.notification-banner-wrapper {
|
|
139
|
+
flex-direction: column;
|
|
140
|
+
|
|
141
|
+
&.collapsed-view {
|
|
142
|
+
align-items: center;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.expanded-view {
|
|
146
|
+
.notification-banner-label {
|
|
147
|
+
align-self: flex-start;
|
|
148
|
+
font-size: 0.875rem;
|
|
149
|
+
margin: 20px 0 0 20px;
|
|
150
|
+
padding: 10px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.notification-banner-content {
|
|
154
|
+
padding: 20px 50px 20px 20px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.notification-banner-close {
|
|
158
|
+
padding: 20px;
|
|
159
|
+
position: absolute;
|
|
160
|
+
right: 0;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|