@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,157 @@
|
|
|
1
|
+
// ============================================================================= QPP COLOR DEFINITIONS
|
|
2
|
+
// primary
|
|
3
|
+
$color-navy: #036;
|
|
4
|
+
$color-teal: #04838a;
|
|
5
|
+
$color-green: #689f38;
|
|
6
|
+
$color-orange: #df711c;
|
|
7
|
+
|
|
8
|
+
// tones
|
|
9
|
+
$color-navy-medium: #125496;
|
|
10
|
+
$color-navy-dark: darken($color-navy, 7%);
|
|
11
|
+
$color-teal-medium: #209fa6;
|
|
12
|
+
$color-teal-dark: #106970;
|
|
13
|
+
$color-green-medium: #7cb342;
|
|
14
|
+
$color-orange-medium: #ffb300;
|
|
15
|
+
|
|
16
|
+
$color-navy-light: #3f7dba;
|
|
17
|
+
$color-teal-light: #80cbc4;
|
|
18
|
+
$color-green-light: #aed581;
|
|
19
|
+
$color-orange-light: #ffcc80;
|
|
20
|
+
|
|
21
|
+
// data
|
|
22
|
+
$color-blue: #0288d1;
|
|
23
|
+
$color-blue-medium: #2eb1ed;
|
|
24
|
+
$color-blue-light: #81d4fa;
|
|
25
|
+
|
|
26
|
+
$color-magenta: #ad1457;
|
|
27
|
+
$color-magenta-medium: #f06292;
|
|
28
|
+
$color-magenta-light: #f8bbd0;
|
|
29
|
+
|
|
30
|
+
$color-chartreuse: #c0ca33;
|
|
31
|
+
$color-chartreuse-medium: #cddc39;
|
|
32
|
+
$color-chartreuse-light: #e6ee9c;
|
|
33
|
+
|
|
34
|
+
$color-green-data: #507d29;
|
|
35
|
+
$color-green-data-medium: #70a03d;
|
|
36
|
+
$color-green-data-light: #aed581;
|
|
37
|
+
|
|
38
|
+
$color-orange-data: #e47500;
|
|
39
|
+
$color-orange-data-medium: #ffa200;
|
|
40
|
+
$color-orange-data-light: #ffc438;
|
|
41
|
+
|
|
42
|
+
// Side Navigation
|
|
43
|
+
$color-slate: #21344c;
|
|
44
|
+
$color-slate-light: #3b5c82;
|
|
45
|
+
$color-slate-dark: #0f2138;
|
|
46
|
+
|
|
47
|
+
// neutral
|
|
48
|
+
$color-white: #fff;
|
|
49
|
+
$color-gray-light: #f8f8f8;
|
|
50
|
+
$color-gray-very-light: #ddd;
|
|
51
|
+
$color-gray-medium: #b0b0b0;
|
|
52
|
+
$color-gray-dark: #686868;
|
|
53
|
+
$color-gray-darker-medium: #767676;
|
|
54
|
+
$color-gray-darker: #242424;
|
|
55
|
+
$color-black: #000;
|
|
56
|
+
|
|
57
|
+
// Error and Progress
|
|
58
|
+
$color-red: #bc2828;
|
|
59
|
+
$color-red-highlight: #f2dede;
|
|
60
|
+
$color-warning: #ffc438;
|
|
61
|
+
$color-success: #507d29;
|
|
62
|
+
$color-disabled: #ddd;
|
|
63
|
+
|
|
64
|
+
// MIPS Category Colors
|
|
65
|
+
$color-quality: #0288d1;
|
|
66
|
+
$color-aci: #f06292;
|
|
67
|
+
$color-ia: #ffa200;
|
|
68
|
+
$color-cost: #70a03d;
|
|
69
|
+
|
|
70
|
+
// Notification Banner
|
|
71
|
+
$notification-banner-background: #f7f7f7;
|
|
72
|
+
$notification-banner-label-color: #515151;
|
|
73
|
+
|
|
74
|
+
// ============================================================================= COLOR VARIABLES
|
|
75
|
+
$brand-primary-dark: $color-navy;
|
|
76
|
+
$brand-primary-medium: $color-navy-medium;
|
|
77
|
+
$brand-primary-light: $color-navy-light;
|
|
78
|
+
$brand-secondary-dark: $color-teal;
|
|
79
|
+
$brand-secondary-light: $color-teal-light;
|
|
80
|
+
|
|
81
|
+
$text-selection-color: $color-orange-light;
|
|
82
|
+
|
|
83
|
+
// ============================================================================= GLOBAL
|
|
84
|
+
$border-radius-base: 4px;
|
|
85
|
+
$border-radius-large: 4px;
|
|
86
|
+
$border-radius-small: 4px;
|
|
87
|
+
// ============================================================================= FONTS SETUP
|
|
88
|
+
$font-size-base: 16px;
|
|
89
|
+
$font-family-base: Rubik, Arial, 'Helvetica Neue', Helvetica, sans-serif;
|
|
90
|
+
|
|
91
|
+
// ============================================================================= TEXT
|
|
92
|
+
$color-text-main: $color-gray-darker;
|
|
93
|
+
$text-color: $color-text-main;
|
|
94
|
+
$lead-color: $brand-primary-dark;
|
|
95
|
+
// ============================================================================= FORMS
|
|
96
|
+
$form-label-color: $brand-secondary-dark;
|
|
97
|
+
$form-border-color: $color-gray-medium;
|
|
98
|
+
$form-border-color-focus: $brand-secondary-dark;
|
|
99
|
+
$form-field-color: $color-gray-medium;
|
|
100
|
+
$form-check-color: $brand-secondary-dark;
|
|
101
|
+
$form-error-color: $color-red;
|
|
102
|
+
// ============================================================================= LINKS
|
|
103
|
+
$link-color: $color-teal;
|
|
104
|
+
$link-decoration: underline;
|
|
105
|
+
$link-hover-color: $color-navy-medium;
|
|
106
|
+
$link-hover-decoration: none;
|
|
107
|
+
// ============================================================================= BUTTONS
|
|
108
|
+
$button-color-primary: $color-orange;
|
|
109
|
+
$button-color-secondary: $color-green;
|
|
110
|
+
// ============================================================================= TABLES
|
|
111
|
+
$table-primary-color: $brand-secondary-dark;
|
|
112
|
+
$table-border-color: $color-gray-medium;
|
|
113
|
+
$table-stripe-color: $color-gray-light;
|
|
114
|
+
// ============================================================================= NAV
|
|
115
|
+
$nav-color-primary: $brand-primary-dark;
|
|
116
|
+
$nav-color-secondary: $brand-secondary-dark;
|
|
117
|
+
$nav-color-secondary-light: $brand-secondary-light;
|
|
118
|
+
$nav-text-color: $color-white;
|
|
119
|
+
// ============================================================================= HEADINGS
|
|
120
|
+
$headings-font-family: $font-family-base;
|
|
121
|
+
$headings-color: $color-gray-darker;
|
|
122
|
+
$headings-color-content: $color-navy;
|
|
123
|
+
// ============================================================================= SIDE NAV
|
|
124
|
+
$side-nav-horizontal-padding: 22px;
|
|
125
|
+
$side-nav-expanded-width: 300px;
|
|
126
|
+
$side-nav-closed-width: 90px;
|
|
127
|
+
|
|
128
|
+
// Font weights based on /styles/components/_fonts.scss
|
|
129
|
+
$rubik-light: 300;
|
|
130
|
+
$rubik-regular: 400;
|
|
131
|
+
$rubik-medium: 500;
|
|
132
|
+
$rubik-bold: 700;
|
|
133
|
+
|
|
134
|
+
// Text style based on https://confluence.cms.gov/pages/viewpage.action?spaceKey=QPPPRACTICE&title=Design+Specifications
|
|
135
|
+
// Structure: (font-size(desktop), font-size(mobile), line-height(desktop), line-height(mobile), font-weight)
|
|
136
|
+
$headings: (
|
|
137
|
+
(44, 32, 48, 38, $rubik-regular),
|
|
138
|
+
(32, 26, 38, 30, $rubik-regular),
|
|
139
|
+
(24, 20, 29, 24, $rubik-medium),
|
|
140
|
+
(18, 18, 22, 22, $rubik-medium),
|
|
141
|
+
(16, 16, 21, 21, $rubik-medium),
|
|
142
|
+
(14, 14, 19, 19, $rubik-medium)
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
// Structure: (Desktop (px), Tablet(px), Mobile(px), Font Weight, Transform)
|
|
146
|
+
$content-headings: (
|
|
147
|
+
(56, 34, 34, $rubik-light, initial),
|
|
148
|
+
(46, 28, 28, $rubik-light, initial),
|
|
149
|
+
(36, 24, 24, $rubik-regular, initial),
|
|
150
|
+
(30, 20, 20, $rubik-medium, initial),
|
|
151
|
+
(24, 18, 18, $rubik-medium, initial),
|
|
152
|
+
(18, 18, 16, $rubik-bold, uppercase)
|
|
153
|
+
);
|
|
154
|
+
// ============================================================================= SCREEN SIZE
|
|
155
|
+
$screen-sm: 768px;
|
|
156
|
+
$screen-md: 992px;
|
|
157
|
+
$screen-lg: 1200px;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.measure-item {
|
|
2
|
+
align-content: center;
|
|
3
|
+
align-items: center;
|
|
4
|
+
border-top: 1px solid #eee;
|
|
5
|
+
-webkit-box-align: center;
|
|
6
|
+
display: -webkit-box;
|
|
7
|
+
display: -ms-flexbox;
|
|
8
|
+
display: flex;
|
|
9
|
+
-ms-flex-align: center;
|
|
10
|
+
-ms-flex-line-pack: center;
|
|
11
|
+
padding: 10px 0;
|
|
12
|
+
|
|
13
|
+
p {
|
|
14
|
+
display: inline;
|
|
15
|
+
margin: 0;
|
|
16
|
+
width: 85%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
a {
|
|
20
|
+
margin-left: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.remove-self {
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.well {
|
|
29
|
+
background-color: #f5f5f5;
|
|
30
|
+
border: 1px solid #eaeaea;
|
|
31
|
+
border-radius: 0;
|
|
32
|
+
box-shadow: none;
|
|
33
|
+
margin-bottom: 2em;
|
|
34
|
+
|
|
35
|
+
h3 {
|
|
36
|
+
color: #333;
|
|
37
|
+
margin-bottom: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
p {
|
|
41
|
+
&:first-of-type {
|
|
42
|
+
margin-bottom: 2em;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.well-search {
|
|
48
|
+
background-color: $color-navy;
|
|
49
|
+
color: $color-white;
|
|
50
|
+
|
|
51
|
+
label,
|
|
52
|
+
legend {
|
|
53
|
+
color: $color-white;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.measures-search {
|
|
57
|
+
.btn-tertiary {
|
|
58
|
+
background-color: $color-white;
|
|
59
|
+
border-color: $color-white;
|
|
60
|
+
font-size: 1rem;
|
|
61
|
+
min-height: 50px;
|
|
62
|
+
padding-right: 2.5rem;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.js-label-filter-box {
|
|
67
|
+
background-color: $color-white;
|
|
68
|
+
border-color: $color-white;
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
margin-bottom: 1rem;
|
|
71
|
+
|
|
72
|
+
&:hover {
|
|
73
|
+
background-color: $color-gray-light;
|
|
74
|
+
border-color: $color-gray-light;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
#search {
|
|
79
|
+
background-color: $color-green-medium;
|
|
80
|
+
border-color: $color-green-medium;
|
|
81
|
+
color: $color-white;
|
|
82
|
+
font-size: 0.9rem;
|
|
83
|
+
height: 50px;
|
|
84
|
+
text-transform: uppercase;
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
background-color: $color-green;
|
|
88
|
+
border-color: $color-green;
|
|
89
|
+
color: $color-white;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import '../settings/index';
|
|
2
|
+
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: Rubik;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-weight: 300;
|
|
7
|
+
src: url('#{$font-path}Rubik-Light.ttf');
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: Rubik;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
src: url('#{$font-path}Rubik-Regular.ttf');
|
|
14
|
+
}
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: Rubik;
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
src: url('#{$font-path}Rubik-Medium.ttf');
|
|
20
|
+
}
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: Rubik;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
src: url('#{$font-path}Rubik-Bold.ttf');
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@import '../settings/variables/index';
|
|
2
|
+
|
|
3
|
+
.qpp-icon-inline {
|
|
4
|
+
@include inline-icon;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.qpp-icon-inline--md {
|
|
8
|
+
@include inline-icon-md;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.qpp-icon-inline--lg {
|
|
12
|
+
@include inline-icon-lg;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.qpp-icon-mat {
|
|
16
|
+
@include mat-icon;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Deprecated. Will be removed once feather icons are
|
|
20
|
+
// no longer used by applications.
|
|
21
|
+
.qpp-icon-feather {
|
|
22
|
+
@include feather-icon;
|
|
23
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
@import '../settings/index';
|
|
2
|
+
|
|
3
|
+
// scope all base (global) styles nested under .qppds selector
|
|
4
|
+
// this can help avoid conflicts between new qppds styles and legacy styles
|
|
5
|
+
.qppds,
|
|
6
|
+
.qpp-prose {
|
|
7
|
+
// *:not() { // TODO: ignore component classes
|
|
8
|
+
// Override legacy qpp-style label styles
|
|
9
|
+
// TODO: reevaluate this when we get to forms and fieldsets
|
|
10
|
+
label {
|
|
11
|
+
@include input-label;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@for $i from 1 through length($headings) {
|
|
15
|
+
$heading: nth($headings, $i);
|
|
16
|
+
|
|
17
|
+
h#{$i},
|
|
18
|
+
.h#{$i} {
|
|
19
|
+
@include heading($heading);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
p,
|
|
24
|
+
.p1 {
|
|
25
|
+
@include p1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.p2 {
|
|
29
|
+
@include p2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.l1 {
|
|
33
|
+
@include l1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.l2 {
|
|
37
|
+
@include l2;
|
|
38
|
+
}
|
|
39
|
+
//}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// prefixed, single-use global classes for typography styles that can
|
|
43
|
+
// be used outside a .qppds wrapper.
|
|
44
|
+
.qpp-label {
|
|
45
|
+
@include input-label;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@for $i from 1 through length($headings) {
|
|
49
|
+
$heading: nth($headings, $i);
|
|
50
|
+
|
|
51
|
+
.qpp-h#{$i} {
|
|
52
|
+
@include heading($heading);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.qpp-p,
|
|
57
|
+
.qpp-p1 {
|
|
58
|
+
@include p1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.qpp-p2 {
|
|
62
|
+
@include p2;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.qpp-l1 {
|
|
66
|
+
@include l1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.qpp-l2 {
|
|
70
|
+
@include l2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.qpp-error-message {
|
|
74
|
+
color: $red-60;
|
|
75
|
+
display: block;
|
|
76
|
+
font-size: $font-size-14;
|
|
77
|
+
font-weight: 400;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.qpp-hint-message {
|
|
81
|
+
color: $gray-60;
|
|
82
|
+
display: block;
|
|
83
|
+
font-size: $font-size-14;
|
|
84
|
+
font-weight: 400;
|
|
85
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
@import '../settings/index';
|
|
2
|
+
|
|
3
|
+
.qpp-c-alert {
|
|
4
|
+
font-family: $font-rubik;
|
|
5
|
+
font-size: $font-size-14;
|
|
6
|
+
line-height: $line-height-lg;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
background-color: $gray-10;
|
|
9
|
+
background-repeat: no-repeat;
|
|
10
|
+
background-size: $spacing-32;
|
|
11
|
+
padding: $spacing-16;
|
|
12
|
+
position: relative;
|
|
13
|
+
border-left: 4px solid $gray-60;
|
|
14
|
+
border-radius: 3px;
|
|
15
|
+
|
|
16
|
+
.qpp-c-alert__body {
|
|
17
|
+
vertical-align: top;
|
|
18
|
+
margin-left: $spacing-40;
|
|
19
|
+
max-width: 600px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.qpp-c-alert__heading {
|
|
23
|
+
font-size: $font-size-16;
|
|
24
|
+
margin-top: 0;
|
|
25
|
+
margin-bottom: $spacing-8;
|
|
26
|
+
line-height: $line-height-md;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.qpp-c-alert__text {
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&::before {
|
|
34
|
+
background-color: transparent;
|
|
35
|
+
background-repeat: no-repeat;
|
|
36
|
+
content: '';
|
|
37
|
+
height: 100%;
|
|
38
|
+
left: 0;
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: 0;
|
|
41
|
+
width: $spacing-24;
|
|
42
|
+
margin: $spacing-16;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.qpp-c-alert--info {
|
|
46
|
+
background-color: $blue-05;
|
|
47
|
+
color: $black;
|
|
48
|
+
border-left: 4px solid $blue-60;
|
|
49
|
+
|
|
50
|
+
&::before {
|
|
51
|
+
background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='info-circle' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='24' height='24' class='svg-inline--fa fa-info-circle fa-w-16 fa-3x'%3E%3Cpath fill='currentColor' d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z' class=''%3E%3C/path%3E%3C/svg%3E");
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.qpp-c-alert--warning {
|
|
56
|
+
background-color: $gold-05;
|
|
57
|
+
color: $black;
|
|
58
|
+
border-left: 4px solid $gold-20;
|
|
59
|
+
|
|
60
|
+
&::before {
|
|
61
|
+
background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='exclamation-circle' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='24' height='24' class='svg-inline--fa fa-exclamation-circle fa-w-16 fa-3x'%3E%3Cpath fill='currentColor' d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z' class=''%3E%3C/path%3E%3C/svg%3E");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.qpp-c-alert--error {
|
|
66
|
+
background-color: $red-10;
|
|
67
|
+
color: $black;
|
|
68
|
+
border-left: 4px solid $red-50;
|
|
69
|
+
|
|
70
|
+
&::before {
|
|
71
|
+
background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='times-circle' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='24' height='24' class='svg-inline--fa fa-times-circle fa-w-16 fa-3x'%3E%3Cpath fill='currentColor' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z' class=''%3E%3C/path%3E%3C/svg%3E");
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.qpp-c-alert--success {
|
|
76
|
+
background-color: $green-05;
|
|
77
|
+
color: $black;
|
|
78
|
+
border-left: 4px solid $green-30;
|
|
79
|
+
|
|
80
|
+
&::before {
|
|
81
|
+
background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='check-circle' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='24' height='24' class='svg-inline--fa fa-check-circle fa-w-16 fa-3x'%3E%3Cpath fill='currentColor' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z' class=''%3E%3C/path%3E%3C/svg%3E");
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.qppds .qpp-c-alert a,
|
|
87
|
+
.qpp-c-alert .qpp-c-link {
|
|
88
|
+
color: $blue-80;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.qppds .qpp-c-alert p {
|
|
92
|
+
font-family: $font-rubik;
|
|
93
|
+
font-size: $font-size-14;
|
|
94
|
+
line-height: $line-height-lg;
|
|
95
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@import '../settings/index';
|
|
2
|
+
|
|
3
|
+
.qpp-c-breadcrumbs {
|
|
4
|
+
line-height: $line-height-lg;
|
|
5
|
+
font-size: $font-size-14;
|
|
6
|
+
font-family: $font-rubik;
|
|
7
|
+
color: $gray-80;
|
|
8
|
+
|
|
9
|
+
.qpp-c-breadcrumbs__list {
|
|
10
|
+
@include unstyled-list;
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.qpp-c-breadcrumbs__list-item {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
|
|
19
|
+
&::after {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
margin-left: $spacing-8;
|
|
22
|
+
margin-right: $spacing-8;
|
|
23
|
+
transform: translateY(3px) rotate(20deg);
|
|
24
|
+
border-right: 0.1em solid fade-out($gray-80, 0.7);
|
|
25
|
+
height: 0.9em;
|
|
26
|
+
content: '';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.qpp-c-breadcrumbs__list-item--current::after {
|
|
30
|
+
content: '';
|
|
31
|
+
margin-left: $spacing-0;
|
|
32
|
+
margin-right: $spacing-0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.qpp-c-breadcrumbs__link {
|
|
37
|
+
color: $gray-80;
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
text-underline-offset: rem(4px);
|
|
40
|
+
text-decoration-thickness: rem(1px);
|
|
41
|
+
|
|
42
|
+
&:focus {
|
|
43
|
+
@include link-focus;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
> span {
|
|
48
|
+
text-decoration-thickness: rem(2px);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
> span {
|
|
53
|
+
text-decoration: underline;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.qpp-c-breadcrumbs--light {
|
|
59
|
+
color: $white;
|
|
60
|
+
|
|
61
|
+
.qpp-c-breadcrumbs__link {
|
|
62
|
+
color: $white;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.qpp-c-breadcrumbs__list-item {
|
|
66
|
+
&::after {
|
|
67
|
+
border-right: 0.1em solid fade-out($white, 0.6);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|