qpp-style 2.1.13 → 2.2.0-sm.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 +32 -0
- package/.husky/pre-commit +5 -0
- package/.prettierrc +1 -0
- package/README.md +50 -55
- package/components/Accordion/index.jsx +97 -0
- package/components/Alert/index.js +53 -0
- package/components/Breadcrumb/Breadcrumb.md +28 -0
- package/components/Breadcrumb/index.js +83 -0
- package/components/Button/index.js +90 -0
- package/components/Details/DetailsIcons.js +50 -0
- package/components/Details/index.js +53 -0
- package/components/Dropdown/index.js +85 -0
- package/components/DropdownButton/Menu.js +25 -0
- package/components/DropdownButton/MenuButton.js +41 -0
- package/components/DropdownButton/MenuItem.js +25 -0
- package/components/DropdownButton/MenuItemLink.js +27 -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/FooterUI.jsx +210 -0
- package/components/Footer/SocialLinks.jsx +60 -0
- package/components/Footer/Subscribe.jsx +34 -0
- package/components/Footer/footer.js +20 -0
- package/components/GovBanner/index.js +117 -0
- package/components/Header/Header.md +111 -0
- package/components/Header/HeaderAccountMenu.jsx +94 -0
- package/components/Header/HeaderCancel.jsx +16 -0
- package/components/Header/HeaderContainer.jsx +76 -0
- package/components/Header/HeaderLogo.jsx +60 -0
- package/components/Header/HeaderMenuButton.js +50 -0
- package/components/Header/HeaderMenuItem.jsx +239 -0
- package/components/Header/HeaderMenuLink.js +56 -0
- package/components/Header/HeaderMenuSignOutButton.js +62 -0
- package/components/Header/HeaderMobileButton.js +37 -0
- package/components/Header/HeaderUI.jsx +168 -0
- package/components/Header/HelpIcon.jsx +32 -0
- package/components/Header/ImpersonatorBanner.jsx +81 -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 +66 -0
- package/components/Header/utag-helpers.js +9 -0
- package/components/Infotip/Infotip.jsx +71 -0
- package/components/Infotip/InfotipContent.jsx +46 -0
- package/components/Infotip/InfotipIcon.jsx +41 -0
- package/components/Infotip/index.js +3 -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/index.jsx +22 -0
- package/components/NotificationBanner/CollapsedView.js +39 -0
- package/components/NotificationBanner/ExpandedView.js +45 -0
- package/components/NotificationBanner/index.js +221 -0
- package/components/SanitizedContent/index.jsx +223 -0
- package/components/Search/index.js +98 -0
- package/components/Session/Session.jsx +89 -0
- package/components/Session/SessionDialogWrapped.jsx +12 -0
- package/components/Session/index.jsx +3 -0
- package/components/SideNav/AnimationGroup/AnimationGroup.jsx +27 -0
- package/components/SideNav/Content/LevelOneContent.jsx +49 -0
- package/components/SideNav/Content/SelectRole/index.js +78 -0
- package/components/SideNav/Content/SelectRole/utils.js +149 -0
- package/components/SideNav/Content/index.js +3 -0
- package/components/SideNav/Details/IndividualDetails.jsx +18 -0
- package/components/SideNav/Details/PracticeDetails.jsx +51 -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 +295 -0
- package/components/SideNav/Links/NavLinkInline.jsx +110 -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/UI/SideNavUI.jsx +323 -0
- package/components/SideNav/UI/default-markup.js +4 -0
- package/components/SideNav/UI/index.js +3 -0
- package/components/SideNav/UI/utils.js +0 -0
- package/components/SideNav/helpers.js +399 -0
- package/components/SideNav/index.js +29 -0
- package/components/Tabs/TabPanel.js +5 -0
- package/components/Tabs/Tabs.js +73 -0
- package/components/TextInput/index.js +137 -0
- package/components/hooks/useGetConfig.js +75 -0
- package/components/index.js +122 -0
- package/coverage/clover.xml +1324 -0
- package/coverage/coverage-final.json +71 -0
- package/coverage/lcov-report/Tooltip.jsx.html +232 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/components/Accordion/index.html +116 -0
- package/coverage/lcov-report/components/Accordion/index.jsx.html +364 -0
- package/coverage/lcov-report/components/Button/index.html +116 -0
- package/coverage/lcov-report/components/Button/index.js.html +355 -0
- package/coverage/lcov-report/components/Error/Collapsible.jsx.html +349 -0
- package/coverage/lcov-report/components/Error/ErrorUI.jsx.html +178 -0
- package/coverage/lcov-report/components/Error/index.html +131 -0
- package/coverage/lcov-report/components/Footer/FooterUI.jsx.html +706 -0
- package/coverage/lcov-report/components/Footer/SocialLinks.jsx.html +265 -0
- package/coverage/lcov-report/components/Footer/Subscribe.jsx.html +187 -0
- package/coverage/lcov-report/components/Footer/index.html +146 -0
- package/coverage/lcov-report/components/GovBanner/index.html +116 -0
- package/coverage/lcov-report/components/GovBanner/index.js.html +436 -0
- package/coverage/lcov-report/components/Header/HeaderAccountMenu.jsx.html +367 -0
- package/coverage/lcov-report/components/Header/HeaderCancel.jsx.html +133 -0
- package/coverage/lcov-report/components/Header/HeaderContainer.jsx.html +307 -0
- package/coverage/lcov-report/components/Header/HeaderLogo.jsx.html +211 -0
- package/coverage/lcov-report/components/Header/HeaderMenuButton.js.html +235 -0
- package/coverage/lcov-report/components/Header/HeaderMenuItem.jsx.html +802 -0
- package/coverage/lcov-report/components/Header/HeaderMenuLink.js.html +253 -0
- package/coverage/lcov-report/components/Header/HeaderMenuSignOutButton.js.html +271 -0
- package/coverage/lcov-report/components/Header/HeaderMobileButton.js.html +196 -0
- package/coverage/lcov-report/components/Header/HeaderUI.jsx.html +586 -0
- package/coverage/lcov-report/components/Header/HelpIcon.jsx.html +181 -0
- package/coverage/lcov-report/components/Header/ImpersonatorBanner.jsx.html +328 -0
- package/coverage/lcov-report/components/Header/NavigationButtonIcon.jsx.html +166 -0
- package/coverage/lcov-report/components/Header/hooks.js.html +283 -0
- package/coverage/lcov-report/components/Header/index.html +326 -0
- package/coverage/lcov-report/components/Header/utag-helpers.js.html +112 -0
- package/coverage/lcov-report/components/Infotip/Infotip.jsx.html +310 -0
- package/coverage/lcov-report/components/Infotip/InfotipIcon.jsx.html +208 -0
- package/coverage/lcov-report/components/Infotip/index.html +146 -0
- package/coverage/lcov-report/components/Infotip/index.js.html +94 -0
- package/coverage/lcov-report/components/Modal/LegacyModal.jsx.html +301 -0
- package/coverage/lcov-report/components/Modal/Modal.jsx.html +505 -0
- package/coverage/lcov-report/components/Modal/index.html +146 -0
- package/coverage/lcov-report/components/Modal/index.jsx.html +151 -0
- package/coverage/lcov-report/components/NotificationBanner/CollapsedView.js.html +202 -0
- package/coverage/lcov-report/components/NotificationBanner/ExpandedView.js.html +220 -0
- package/coverage/lcov-report/components/NotificationBanner/index.html +146 -0
- package/coverage/lcov-report/components/NotificationBanner/index.js.html +748 -0
- package/coverage/lcov-report/components/SanitizedContent/index.html +116 -0
- package/coverage/lcov-report/components/SanitizedContent/index.jsx.html +685 -0
- package/coverage/lcov-report/components/SessionDialogUI.jsx.html +868 -0
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/index.html +116 -0
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/utils.js.html +505 -0
- package/coverage/lcov-report/components/SideNav/helpers.js.html +1138 -0
- package/coverage/lcov-report/components/SideNav/index.html +116 -0
- package/coverage/lcov-report/components/Tooltip/Tooltip.jsx.html +349 -0
- package/coverage/lcov-report/components/Tooltip/index.html +146 -0
- package/coverage/lcov-report/components/Tooltip/index.js.html +94 -0
- package/coverage/lcov-report/components/Tooltip/position.js.html +289 -0
- package/coverage/lcov-report/components/hooks/index.html +116 -0
- package/coverage/lcov-report/components/hooks/useGetConfig.js.html +310 -0
- package/coverage/lcov-report/components/index.html +116 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +476 -0
- package/coverage/lcov-report/index.js.html +94 -0
- package/coverage/lcov-report/lib/Chevron.jsx.html +181 -0
- package/coverage/lcov-report/lib/SvgComponents.jsx.html +2200 -0
- package/coverage/lcov-report/lib/index.html +131 -0
- package/coverage/lcov-report/position.js.html +289 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +116 -0
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +376 -0
- package/coverage/lcov-report/react/components/Button/index.html +116 -0
- package/coverage/lcov-report/react/components/Button/index.js.html +355 -0
- package/coverage/lcov-report/react/components/Dropdown/index.html +116 -0
- package/coverage/lcov-report/react/components/Dropdown/index.js.html +340 -0
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +349 -0
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +178 -0
- package/coverage/lcov-report/react/components/Error/error.js.html +163 -0
- package/coverage/lcov-report/react/components/Error/index.html +146 -0
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +718 -0
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +265 -0
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +187 -0
- package/coverage/lcov-report/react/components/Footer/footer.js.html +145 -0
- package/coverage/lcov-report/react/components/Footer/index.html +161 -0
- package/coverage/lcov-report/react/components/GovBanner/index.html +116 -0
- package/coverage/lcov-report/react/components/GovBanner/index.js.html +436 -0
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +367 -0
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +133 -0
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +307 -0
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +211 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +235 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +802 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +253 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +271 -0
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +196 -0
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +586 -0
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +181 -0
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +334 -0
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +166 -0
- package/coverage/lcov-report/react/components/Header/header.js.html +205 -0
- package/coverage/lcov-report/react/components/Header/hooks.js.html +283 -0
- package/coverage/lcov-report/react/components/Header/index.html +341 -0
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +112 -0
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +298 -0
- package/coverage/lcov-report/react/components/Infotip/InfotipContent.jsx.html +223 -0
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +208 -0
- package/coverage/lcov-report/react/components/Infotip/index.html +161 -0
- package/coverage/lcov-report/react/components/Infotip/index.js.html +94 -0
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +301 -0
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +505 -0
- package/coverage/lcov-report/react/components/Modal/index.html +146 -0
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +151 -0
- package/coverage/lcov-report/react/components/NotificationBanner/CollapsedView.js.html +202 -0
- package/coverage/lcov-report/react/components/NotificationBanner/ExpandedView.js.html +220 -0
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +146 -0
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +748 -0
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +116 -0
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +754 -0
- package/coverage/lcov-report/react/components/SessionDialog/index.html +116 -0
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +163 -0
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +868 -0
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +166 -0
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +116 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +889 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +199 -0
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +733 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.js.html +214 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +139 -0
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +139 -0
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +220 -0
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +146 -0
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +97 -0
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +208 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +247 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +199 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +970 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +415 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +187 -0
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +206 -0
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +124 -0
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +1060 -0
- package/coverage/lcov-report/react/components/SideNav/UI/default-markup.js.html +97 -0
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +146 -0
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +361 -0
- package/coverage/lcov-report/react/components/SideNav/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/index.js.html +238 -0
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +232 -0
- package/coverage/lcov-report/react/components/Tooltip/index.html +146 -0
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +94 -0
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +289 -0
- package/coverage/lcov-report/react/components/hooks/index.html +116 -0
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +310 -0
- package/coverage/lcov-report/react/components/index.html +116 -0
- package/coverage/lcov-report/react/index.html +116 -0
- package/coverage/lcov-report/react/index.js.html +178 -0
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +181 -0
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +2200 -0
- package/coverage/lcov-report/react/lib/index.html +131 -0
- package/coverage/lcov-report/react/lib/svg-definitions.svg.html +460 -0
- package/coverage/lcov-report/react/session/index.html +161 -0
- package/coverage/lcov-report/react/session/index.js.html +100 -0
- package/coverage/lcov-report/react/session/logout.js.html +283 -0
- package/coverage/lcov-report/react/session/refresh.js.html +232 -0
- package/coverage/lcov-report/react/session/ttl.js.html +196 -0
- package/coverage/lcov-report/session/index.html +161 -0
- package/coverage/lcov-report/session/index.js.html +100 -0
- package/coverage/lcov-report/session/logout.js.html +307 -0
- package/coverage/lcov-report/session/refresh.js.html +232 -0
- package/coverage/lcov-report/session/ttl.js.html +196 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +2883 -0
- package/dist/browser.js +3 -53
- package/dist/browser.js.LICENSE.txt +31 -0
- package/dist/browser.js.map +1 -0
- package/dist/index.js +3 -53
- package/dist/index.js.LICENSE.txt +31 -0
- package/dist/index.js.map +1 -0
- package/dist/react/index.js +3 -0
- package/dist/react/index.js.LICENSE.txt +54 -0
- package/dist/react/index.js.map +1 -0
- package/fonts/PublicSans-Black.ttf +0 -0
- package/fonts/PublicSans-BlackItalic.ttf +0 -0
- package/fonts/PublicSans-Bold.ttf +0 -0
- package/fonts/PublicSans-BoldItalic.ttf +0 -0
- package/fonts/PublicSans-ExtraBold.ttf +0 -0
- package/fonts/PublicSans-ExtraBoldItalic.ttf +0 -0
- package/fonts/PublicSans-ExtraLight.ttf +0 -0
- package/fonts/PublicSans-ExtraLightItalic.ttf +0 -0
- package/fonts/PublicSans-Italic.ttf +0 -0
- package/fonts/PublicSans-Light.ttf +0 -0
- package/fonts/PublicSans-LightItalic.ttf +0 -0
- package/fonts/PublicSans-Medium.ttf +0 -0
- package/fonts/PublicSans-MediumItalic.ttf +0 -0
- package/fonts/PublicSans-Regular.ttf +0 -0
- package/fonts/PublicSans-SemiBold.ttf +0 -0
- package/fonts/PublicSans-SemiBoldItalic.ttf +0 -0
- package/fonts/PublicSans-Thin.ttf +0 -0
- package/fonts/PublicSans-ThinItalic.ttf +0 -0
- package/images/favicon/manifest.json +3 -3
- package/images/hhs-logo-black.svg +10 -0
- package/images/icon-dot-gov.svg +1 -0
- package/images/icon-https.svg +1 -0
- package/images/icons/close-x.svg +6 -0
- package/images/icons/svg/arrow-down.svg +3 -0
- package/images/icons/svg/arrow-download.svg +1 -0
- package/images/icons/svg/arrow-right.svg +1 -0
- package/images/icons/svg/arrow-up.svg +3 -0
- package/images/icons/svg/block.svg +5 -0
- package/images/icons/svg/calendar.svg +1 -0
- package/images/icons/svg/check-circle.svg +5 -0
- package/images/icons/svg/checkmark.svg +7 -0
- package/images/icons/svg/chevron-down.svg +11 -0
- package/images/icons/svg/chevron-left.svg +12 -0
- package/images/icons/svg/chevron-right.svg +12 -0
- package/images/icons/svg/chevron-up.svg +12 -0
- package/images/icons/svg/clipboard.svg +1 -0
- package/images/icons/svg/close.svg +1 -0
- package/images/icons/svg/divide.svg +13 -0
- package/images/icons/svg/doctors-and-clinicians-preview.svg +10 -0
- package/images/icons/svg/download.svg +1 -0
- package/images/icons/svg/dropdown-arrow.svg +1 -0
- package/images/icons/svg/equals.svg +13 -0
- package/images/icons/svg/exclamation.svg +10 -0
- package/images/icons/svg/external.svg +1 -0
- package/images/icons/svg/file-download.svg +1 -0
- package/images/icons/svg/file-upload.svg +1 -0
- package/images/icons/svg/info.svg +17 -0
- package/images/icons/svg/manage-user-access.svg +8 -0
- package/images/icons/svg/multiply.svg +12 -0
- package/images/icons/svg/performance-feedback.svg +1 -0
- package/images/icons/svg/plus.svg +12 -0
- package/images/icons/svg/preview.svg +15 -0
- package/images/icons/svg/print.svg +1 -0
- package/images/icons/svg/registration.svg +8 -0
- package/images/icons/svg/reporting.svg +15 -0
- package/images/icons/svg/save-disk.svg +5 -0
- package/images/icons/svg/search.svg +1 -0
- package/images/icons/svg/subtract.svg +15 -0
- package/images/icons/svg/targeted-review.svg +15 -0
- package/images/icons/svg/tooltip-question.svg +1 -0
- package/images/icons/svg/trash.svg +1 -0
- package/images/icons/svg/upload.svg +1 -0
- package/images/us_flag_small.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 +705 -0
- package/lib/svg-definitions.svg +125 -0
- package/package.json +70 -55
- package/{js/session → session}/index.js +1 -5
- package/session/isAuthV2.js +22 -0
- package/session/logout.js +77 -0
- package/session/refresh.js +52 -0
- package/session/ttl.js +25 -0
- package/storybook-static/229.630347465201d1822126.manager.bundle.js +1 -0
- package/storybook-static/295.aa3c5122636a27ad7c7b.manager.bundle.js +1 -0
- package/storybook-static/468.d976c69e47003b4dcfa3.manager.bundle.js +2 -0
- package/storybook-static/468.d976c69e47003b4dcfa3.manager.bundle.js.LICENSE.txt +94 -0
- package/storybook-static/51.fc4b02f2a75c894ae64e.manager.bundle.js +2 -0
- package/storybook-static/51.fc4b02f2a75c894ae64e.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/551.45aead073703cc6fb12b.manager.bundle.js +1 -0
- package/storybook-static/807.1a7f4dcf15e4696572ca.manager.bundle.js +2 -0
- package/storybook-static/807.1a7f4dcf15e4696572ca.manager.bundle.js.LICENSE.txt +31 -0
- package/storybook-static/897.9b5fee8cc7074607c812.manager.bundle.js +2 -0
- package/storybook-static/897.9b5fee8cc7074607c812.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/935.532759f0652585685af7.manager.bundle.js +1 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/index.html +59 -0
- package/storybook-static/main.ad4edcd27d527a119d7a.manager.bundle.js +1 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.b165398bf7ef3e30d431.manager.bundle.js +1 -0
- package/styles/_global.scss +81 -59
- package/styles/_main.scss +11 -3
- package/styles/_paths.scss +1 -1
- package/styles/_qpp-style.scss +7 -4
- package/styles/components/_accordion.scss +273 -149
- package/styles/components/_alerts.scss +5 -7
- package/styles/components/_autocomplete.scss +47 -0
- package/styles/components/_breadcrumbs.scss +18 -17
- package/styles/components/_buttons.scss +536 -384
- package/styles/components/_error-page.scss +56 -0
- package/styles/components/_flash-notification.scss +98 -0
- package/styles/components/_fonts.scss +12 -13
- package/styles/components/_forms.scss +144 -70
- package/styles/components/_grid.scss +26 -20
- package/styles/components/_info-modal.scss +52 -27
- package/styles/components/_links.scss +4 -3
- package/styles/components/_modals.scss +10 -9
- package/styles/components/_notification-banner.scss +166 -0
- package/styles/components/_panels.scss +23 -21
- package/styles/components/_pie-chart.scss +3 -3
- package/styles/components/_score-chart.scss +135 -105
- package/styles/components/_spinner.scss +7 -0
- package/styles/components/_tables.scss +96 -72
- package/styles/components/_tabs.scss +69 -0
- package/styles/components/_text.scss +114 -48
- package/styles/components/_tooltip.scss +23 -0
- package/styles/components/_variables.scss +84 -58
- package/styles/components/_wells.scss +39 -29
- package/styles/qppds/README.md +0 -0
- package/styles/qppds/base/_backgrounds.scss +7 -0
- package/styles/qppds/base/_fonts.scss +50 -0
- package/styles/qppds/base/_icon.scss +31 -0
- package/styles/qppds/base/_layout.scss +5 -0
- package/styles/qppds/base/_typography.scss +97 -0
- package/styles/qppds/base/index.scss +8 -0
- package/styles/qppds/components/_alert.scss +101 -0
- package/styles/qppds/components/_breadcrumbs.scss +93 -0
- package/styles/qppds/components/_button.scss +306 -0
- package/styles/qppds/components/_card.scss +176 -0
- package/styles/qppds/components/_checkbox.scss +201 -0
- package/styles/qppds/components/_circular-loader.scss +47 -0
- package/styles/qppds/components/_details.scss +91 -0
- package/styles/qppds/components/_dropdown-menu.scss +126 -0
- package/styles/qppds/components/_dropdown.scss +56 -0
- package/styles/qppds/components/_footer.scss +606 -0
- package/styles/qppds/components/_gov-banner.scss +342 -0
- package/styles/qppds/components/_header.scss +913 -0
- package/styles/qppds/components/_link.scss +54 -0
- package/styles/qppds/components/_modal.scss +153 -0
- package/styles/qppds/components/_page-header.scss +105 -0
- package/styles/qppds/components/_pagination.scss +230 -0
- package/styles/qppds/components/_process-list.scss +106 -0
- package/styles/qppds/components/_radio-button.scss +185 -0
- package/styles/qppds/components/_search.scss +163 -0
- package/styles/qppds/components/_sidebar.scss +10 -0
- package/styles/qppds/components/_step-indicator.scss +193 -0
- package/styles/qppds/components/_table.scss +159 -0
- package/styles/qppds/components/_tabs.scss +199 -0
- package/styles/qppds/components/_text-input.scss +60 -0
- package/styles/qppds/components/index.scss +25 -0
- package/styles/qppds/components/sidebar/_animations.scss +38 -0
- package/styles/{components → qppds/components}/sidebar/_cms.scss +19 -6
- package/styles/{components → qppds/components}/sidebar/_details.scss +28 -21
- package/styles/qppds/components/sidebar/_links.scss +462 -0
- package/styles/qppds/components/sidebar/_select-role-dropdown.scss +21 -0
- package/styles/qppds/components/sidebar/_sidebar-animation.scss +117 -0
- package/styles/qppds/components/sidebar/_sidebar-tooltip.scss +33 -0
- package/styles/qppds/components/sidebar/_sidebar.scss +145 -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 +6 -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 +30 -0
- package/styles/qppds/settings/mixins/_icons.scss +43 -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 +92 -0
- package/styles/qppds/settings/mixins/_type.scss +90 -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 +4 -0
- package/styles/qppds/settings/variables/_layout.scss +69 -0
- package/styles/qppds/settings/variables/_type.scss +135 -0
- package/styles/qppds/settings/variables/_z-index.scss +8 -0
- package/styles/qppds/utilities/_background-color.scss +134 -0
- package/styles/qppds/utilities/_color.scss +40 -0
- package/styles/qppds/utilities/_display-visibility.scss +84 -0
- package/styles/qppds/utilities/_flexbox.scss +240 -0
- package/styles/qppds/utilities/_font-family.scss +10 -0
- package/styles/qppds/utilities/_font-size.scss +8 -0
- package/styles/qppds/utilities/_font-weight.scss +10 -0
- package/styles/qppds/utilities/_gap.scss +38 -0
- package/styles/qppds/utilities/_height.scss +81 -0
- package/styles/qppds/utilities/_list-style.scss +17 -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/_vertical-align.scss +72 -0
- package/styles/qppds/utilities/_width.scss +82 -0
- package/styles/qppds/utilities/index.scss +17 -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 +12 -11
- package/styles/utility/_utilities.scss +12 -1
- package/svgo.config.js +14 -0
- package/test/components/Accordion.test.js +12 -0
- package/test/components/ErrorUI.test.js +33 -0
- package/test/components/FooterUI.test.js +60 -0
- package/test/components/HeaderUI.test.js +35 -0
- package/test/components/Infotip.test.js +79 -0
- package/test/components/SideNavUI.test.js +23 -0
- package/test/index.test.js +8 -0
- package/test/session/session.test.js +221 -0
- package/test-setup.js +1 -0
- package/webpack.config.js +137 -0
- package/webpack.config.react.js +75 -0
- package/Dockerfile +0 -27
- package/Jenkinsfile +0 -22
- package/_config.dev.yml +0 -17
- package/_layouts/base.html +0 -42
- package/css/main.scss +0 -5
- package/dist/default.css +0 -2
- package/dist/default.css.map +0 -1
- package/dist/fonts/FontAwesome.otf +0 -0
- package/dist/fonts/Rubik-Bold.ttf +0 -0
- package/dist/fonts/Rubik-Light.ttf +0 -0
- package/dist/fonts/Rubik-Medium.ttf +0 -0
- package/dist/fonts/Rubik-Regular.ttf +0 -0
- package/dist/fonts/fontawesome-webfont.eot +0 -0
- package/dist/fonts/fontawesome-webfont.ttf +0 -0
- package/dist/fonts/fontawesome-webfont.woff +0 -0
- package/dist/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/report.html +0 -25
- package/js/components/Error/Collapsible.jsx +0 -35
- package/js/components/Error/ErrorUI.jsx +0 -24
- package/js/components/Error/error.js +0 -11
- package/js/components/Footer/FooterUI.jsx +0 -39
- package/js/components/Footer/footer.js +0 -17
- package/js/components/Header/HeaderAbout.jsx +0 -27
- package/js/components/Header/HeaderAccountMenu.jsx +0 -147
- package/js/components/Header/HeaderApms.jsx +0 -25
- package/js/components/Header/HeaderMips.jsx +0 -43
- package/js/components/Header/HeaderUI.jsx +0 -87
- package/js/components/Header/header.js +0 -16
- package/js/components/InfoModal/index.jsx +0 -64
- package/js/components/SessionDialogUI.jsx +0 -199
- package/js/components/SideNav/Chart/ScoreChart.jsx +0 -246
- package/js/components/SideNav/Chart/__tests__/ScoreChart.test.js +0 -28
- package/js/components/SideNav/Chart/__tests__/__snapshots__/ScoreChart.test.js.snap +0 -57
- package/js/components/SideNav/Chart/index.js +0 -1
- package/js/components/SideNav/Content/CmsContent.jsx +0 -85
- package/js/components/SideNav/Content/FeedbackContent.jsx +0 -76
- package/js/components/SideNav/Content/LevelOneContent.jsx +0 -64
- package/js/components/SideNav/Content/LevelThreeContent.jsx +0 -99
- package/js/components/SideNav/Content/LevelTwoContent.jsx +0 -89
- package/js/components/SideNav/Content/index.js +0 -5
- package/js/components/SideNav/Details/IndividualDetails.jsx +0 -35
- package/js/components/SideNav/Details/PracticeDetails.jsx +0 -33
- package/js/components/SideNav/Details/index.js +0 -2
- package/js/components/SideNav/Links/CmsReportLink.jsx +0 -117
- package/js/components/SideNav/Links/NavLinkBack.jsx +0 -8
- package/js/components/SideNav/Links/NavLinkContainer.jsx +0 -33
- package/js/components/SideNav/Links/NavLinkDrawer.jsx +0 -86
- package/js/components/SideNav/Links/NavLinkInline.jsx +0 -22
- package/js/components/SideNav/Links/NavLinkSlideOut.jsx +0 -47
- package/js/components/SideNav/Links/NavLinkToggle.jsx +0 -25
- package/js/components/SideNav/Links/index.js +0 -7
- package/js/components/SideNav/UI/SideNavUI.jsx +0 -115
- package/js/components/SideNav/UI/index.js +0 -1
- package/js/components/SideNav/index.js +0 -25
- package/js/components/index.js +0 -11
- package/js/index.js +0 -28
- package/js/session/logout.js +0 -43
- package/js/session/refresh.js +0 -47
- package/js/session/ttl.js +0 -32
- package/sidebar-demo.html +0 -48
- package/styles/components/_footer.scss +0 -157
- package/styles/components/_header.scss +0 -393
- package/styles/components/_sidebar.scss +0 -6
- package/styles/components/_tool-tips.scss +0 -6
- package/styles/components/sidebar/_animations.scss +0 -16
- package/styles/components/sidebar/_links.scss +0 -284
- package/styles/components/sidebar/_sidebar.scss +0 -108
- package/styles/guide/_layout.scss +0 -120
- package/styles/guide/sidebar-demo.css +0 -121
- package/yarn.lock +0 -5694
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Navs
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
// Base class
|
|
6
|
+
// --------------------------------------------------
|
|
7
|
+
.nav {
|
|
8
|
+
padding-left: 0; // Override default ul/ol
|
|
9
|
+
margin-bottom: 0;
|
|
10
|
+
list-style: none;
|
|
11
|
+
@include clearfix;
|
|
12
|
+
|
|
13
|
+
> li {
|
|
14
|
+
position: relative;
|
|
15
|
+
display: block;
|
|
16
|
+
|
|
17
|
+
> a {
|
|
18
|
+
position: relative;
|
|
19
|
+
display: block;
|
|
20
|
+
padding: $nav-link-padding;
|
|
21
|
+
|
|
22
|
+
&:hover,
|
|
23
|
+
&:focus {
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
background-color: $nav-link-hover-bg;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Disabled state sets text to gray and nukes hover/tab effects
|
|
30
|
+
&.disabled > a {
|
|
31
|
+
color: $nav-disabled-link-color;
|
|
32
|
+
|
|
33
|
+
&:hover,
|
|
34
|
+
&:focus {
|
|
35
|
+
color: $nav-disabled-link-hover-color;
|
|
36
|
+
text-decoration: none;
|
|
37
|
+
cursor: $cursor-disabled;
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Open dropdowns
|
|
44
|
+
.open > a {
|
|
45
|
+
&,
|
|
46
|
+
&:hover,
|
|
47
|
+
&:focus {
|
|
48
|
+
background-color: $nav-link-hover-bg;
|
|
49
|
+
border-color: $link-color;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Nav dividers (deprecated with v3.0.1)
|
|
54
|
+
//
|
|
55
|
+
// This should have been removed in v3 with the dropping of `.nav-list`, but
|
|
56
|
+
// we missed it. We don't currently support this anywhere, but in the interest
|
|
57
|
+
// of maintaining backward compatibility in case you use it, it's deprecated.
|
|
58
|
+
.nav-divider {
|
|
59
|
+
@include nav-divider;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Prevent IE8 from misplacing imgs
|
|
63
|
+
//
|
|
64
|
+
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
|
65
|
+
> li > a > img {
|
|
66
|
+
max-width: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Tabs
|
|
71
|
+
// -------------------------
|
|
72
|
+
|
|
73
|
+
// Give the tabs something to sit on
|
|
74
|
+
.nav-tabs {
|
|
75
|
+
border-bottom: 1px solid $nav-tabs-border-color;
|
|
76
|
+
|
|
77
|
+
> li {
|
|
78
|
+
float: left;
|
|
79
|
+
// Make the list-items overlay the bottom border
|
|
80
|
+
margin-bottom: -1px;
|
|
81
|
+
|
|
82
|
+
// Actual tabs (as links)
|
|
83
|
+
> a {
|
|
84
|
+
margin-right: 2px;
|
|
85
|
+
line-height: $line-height-base;
|
|
86
|
+
border: 1px solid transparent;
|
|
87
|
+
border-radius: $border-radius-base $border-radius-base 0 0;
|
|
88
|
+
|
|
89
|
+
&:hover {
|
|
90
|
+
border-color: $nav-tabs-link-hover-border-color;
|
|
91
|
+
// $nav-tabs-link-hover-border-color $nav-tabs-border-color;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Active state, and its :hover to override normal :hover
|
|
96
|
+
&.active > a {
|
|
97
|
+
&,
|
|
98
|
+
&:hover,
|
|
99
|
+
&:focus {
|
|
100
|
+
color: $nav-tabs-active-link-hover-color;
|
|
101
|
+
cursor: default;
|
|
102
|
+
background-color: $nav-tabs-active-link-hover-bg;
|
|
103
|
+
border: 1px solid $nav-tabs-active-link-hover-border-color;
|
|
104
|
+
border-bottom-color: transparent;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
// pulling this in mainly for less shorthand
|
|
109
|
+
&.nav-justified {
|
|
110
|
+
@extend .nav-justified;
|
|
111
|
+
@extend .nav-tabs-justified;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Nav variations
|
|
116
|
+
// --------------------------------------------------
|
|
117
|
+
|
|
118
|
+
// Justified nav links
|
|
119
|
+
// -------------------------
|
|
120
|
+
.nav-justified {
|
|
121
|
+
width: 100%;
|
|
122
|
+
|
|
123
|
+
> li {
|
|
124
|
+
float: none;
|
|
125
|
+
|
|
126
|
+
> a {
|
|
127
|
+
margin-bottom: 5px;
|
|
128
|
+
text-align: center;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
> .dropdown .dropdown-menu {
|
|
133
|
+
top: auto;
|
|
134
|
+
left: auto;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@media (min-width: $screen-sm-min) {
|
|
138
|
+
> li {
|
|
139
|
+
display: table-cell;
|
|
140
|
+
width: 1%;
|
|
141
|
+
|
|
142
|
+
> a {
|
|
143
|
+
margin-bottom: 0;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// Move borders to anchors instead of bottom of list
|
|
150
|
+
//
|
|
151
|
+
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
|
|
152
|
+
.nav-tabs-justified {
|
|
153
|
+
border-bottom: 0;
|
|
154
|
+
|
|
155
|
+
> li > a {
|
|
156
|
+
// Override margin from .nav-tabs
|
|
157
|
+
margin-right: 0;
|
|
158
|
+
border-radius: $border-radius-base;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
> .active > a,
|
|
162
|
+
> .active > a:hover,
|
|
163
|
+
> .active > a:focus {
|
|
164
|
+
border: 1px solid $nav-tabs-justified-link-border-color;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@media (min-width: $screen-sm-min) {
|
|
168
|
+
> li > a {
|
|
169
|
+
border-bottom: 1px solid $nav-tabs-justified-link-border-color;
|
|
170
|
+
border-radius: $border-radius-base $border-radius-base 0 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
> .active > a,
|
|
174
|
+
> .active > a:hover,
|
|
175
|
+
> .active > a:focus {
|
|
176
|
+
border-bottom-color: $nav-tabs-justified-active-link-border-color;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
// Tabbable tabs
|
|
182
|
+
// -------------------------
|
|
183
|
+
|
|
184
|
+
// Hide tabbable panes to start, show them when `.active`
|
|
185
|
+
.tab-content {
|
|
186
|
+
> .tab-pane {
|
|
187
|
+
display: none;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
> .active {
|
|
191
|
+
display: block;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// 1. Set default font family to sans-serif.
|
|
5
|
+
// 2. Prevent iOS and IE text size adjust after device orientation change,
|
|
6
|
+
// without disabling user zoom.
|
|
7
|
+
//
|
|
8
|
+
html {
|
|
9
|
+
font-family: sans-serif; // 1
|
|
10
|
+
-ms-text-size-adjust: 100%; // 2
|
|
11
|
+
-webkit-text-size-adjust: 100%; // 2
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//
|
|
15
|
+
// Remove default margin.
|
|
16
|
+
//
|
|
17
|
+
body {
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// HTML5 display definitions
|
|
22
|
+
// ==========================================================================
|
|
23
|
+
|
|
24
|
+
//
|
|
25
|
+
// Correct `block` display not defined for any HTML5 element in IE 8/9.
|
|
26
|
+
// Correct `block` display not defined for `details` or `summary` in IE 10/11
|
|
27
|
+
// and Firefox.
|
|
28
|
+
// Correct `block` display not defined for `main` in IE 11.
|
|
29
|
+
//
|
|
30
|
+
article,
|
|
31
|
+
aside,
|
|
32
|
+
details,
|
|
33
|
+
figcaption,
|
|
34
|
+
figure,
|
|
35
|
+
footer,
|
|
36
|
+
header,
|
|
37
|
+
hgroup,
|
|
38
|
+
main,
|
|
39
|
+
menu,
|
|
40
|
+
nav,
|
|
41
|
+
section,
|
|
42
|
+
summary {
|
|
43
|
+
display: block;
|
|
44
|
+
}
|
|
45
|
+
//
|
|
46
|
+
// 1. Correct `inline-block` display not defined in IE 8/9.
|
|
47
|
+
// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
|
48
|
+
//
|
|
49
|
+
audio,
|
|
50
|
+
canvas,
|
|
51
|
+
progress,
|
|
52
|
+
video {
|
|
53
|
+
display: inline-block; // 1
|
|
54
|
+
vertical-align: baseline; // 2
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
//
|
|
58
|
+
// Prevent modern browsers from displaying `audio` without controls.
|
|
59
|
+
// Remove excess height in iOS 5 devices.
|
|
60
|
+
//
|
|
61
|
+
audio:not([controls]) {
|
|
62
|
+
display: none;
|
|
63
|
+
height: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
//
|
|
67
|
+
// Address `[hidden]` styling not present in IE 8/9/10.
|
|
68
|
+
// Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
|
69
|
+
//
|
|
70
|
+
[hidden],
|
|
71
|
+
template {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Links
|
|
76
|
+
// ==========================================================================
|
|
77
|
+
|
|
78
|
+
//
|
|
79
|
+
// Remove the gray background color from active links in IE 10.
|
|
80
|
+
//
|
|
81
|
+
a {
|
|
82
|
+
background-color: transparent;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
//
|
|
86
|
+
// Improve readability of focused elements when they are also in an
|
|
87
|
+
// active/hover state.
|
|
88
|
+
//
|
|
89
|
+
a:active,
|
|
90
|
+
a:hover {
|
|
91
|
+
outline: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Text-level semantics
|
|
95
|
+
// ==========================================================================
|
|
96
|
+
//
|
|
97
|
+
// 1. Remove the bottom border in Chrome 57- and Firefox 39-.
|
|
98
|
+
// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
99
|
+
//
|
|
100
|
+
abbr[title] {
|
|
101
|
+
border-bottom: none; // 1
|
|
102
|
+
text-decoration: underline; // 2
|
|
103
|
+
text-decoration: underline dotted; // 2
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
//
|
|
107
|
+
// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
|
108
|
+
//
|
|
109
|
+
b,
|
|
110
|
+
strong {
|
|
111
|
+
font-weight: bold;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
//
|
|
115
|
+
// Address styling not present in Safari and Chrome.
|
|
116
|
+
//
|
|
117
|
+
dfn {
|
|
118
|
+
font-style: italic;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
//
|
|
122
|
+
// Address variable `h1` font-size and margin within `section` and `article`
|
|
123
|
+
// contexts in Firefox 4+, Safari, and Chrome.
|
|
124
|
+
//
|
|
125
|
+
h1 {
|
|
126
|
+
font-size: 2em;
|
|
127
|
+
margin: 0.67em 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
//
|
|
131
|
+
// Address styling not present in IE 8/9.
|
|
132
|
+
//
|
|
133
|
+
mark {
|
|
134
|
+
background: #ff0;
|
|
135
|
+
color: #000;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
//
|
|
139
|
+
// Address inconsistent and variable font size in all browsers.
|
|
140
|
+
//
|
|
141
|
+
small {
|
|
142
|
+
font-size: 80%;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
//
|
|
146
|
+
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
|
147
|
+
//
|
|
148
|
+
sub,
|
|
149
|
+
sup {
|
|
150
|
+
font-size: 75%;
|
|
151
|
+
line-height: 0;
|
|
152
|
+
position: relative;
|
|
153
|
+
vertical-align: baseline;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
sup {
|
|
157
|
+
top: -0.5em;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
sub {
|
|
161
|
+
bottom: -0.25em;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Embedded content
|
|
165
|
+
// ==========================================================================
|
|
166
|
+
|
|
167
|
+
//
|
|
168
|
+
// Remove border when inside `a` element in IE 8/9/10.
|
|
169
|
+
//
|
|
170
|
+
img {
|
|
171
|
+
border: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
//
|
|
175
|
+
// Correct overflow not hidden in IE 9/10/11.
|
|
176
|
+
//
|
|
177
|
+
svg:not(:root) {
|
|
178
|
+
overflow: hidden;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
// Grouping content
|
|
182
|
+
// ==========================================================================
|
|
183
|
+
|
|
184
|
+
//
|
|
185
|
+
// Address margin not present in IE 8/9 and Safari.
|
|
186
|
+
//
|
|
187
|
+
figure {
|
|
188
|
+
margin: 1em 40px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
//
|
|
192
|
+
// Address differences between Firefox and other browsers.
|
|
193
|
+
//
|
|
194
|
+
hr {
|
|
195
|
+
box-sizing: content-box;
|
|
196
|
+
height: 0;
|
|
197
|
+
}
|
|
198
|
+
//
|
|
199
|
+
// Contain overflow in all browsers.
|
|
200
|
+
//
|
|
201
|
+
pre {
|
|
202
|
+
overflow: auto;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
//
|
|
206
|
+
// Address odd `em`-unit font size rendering in all browsers.
|
|
207
|
+
//
|
|
208
|
+
code,
|
|
209
|
+
kbd,
|
|
210
|
+
pre,
|
|
211
|
+
samp {
|
|
212
|
+
font-family: monospace;
|
|
213
|
+
font-size: 1em;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Forms
|
|
217
|
+
// ==========================================================================
|
|
218
|
+
//
|
|
219
|
+
// Known limitation: by default, Chrome and Safari on OS X allow very limited
|
|
220
|
+
// styling of `select`, unless a `border` property is set.
|
|
221
|
+
//
|
|
222
|
+
//
|
|
223
|
+
// 1. Correct color not being inherited.
|
|
224
|
+
// Known issue: affects color of disabled elements.
|
|
225
|
+
// 2. Correct font properties not being inherited.
|
|
226
|
+
// 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
|
227
|
+
//
|
|
228
|
+
button,
|
|
229
|
+
input,
|
|
230
|
+
optgroup,
|
|
231
|
+
select,
|
|
232
|
+
textarea {
|
|
233
|
+
color: inherit; // 1
|
|
234
|
+
font: inherit; // 2
|
|
235
|
+
margin: 0; // 3
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
//
|
|
239
|
+
// Address `overflow` set to `hidden` in IE 8/9/10/11.
|
|
240
|
+
//
|
|
241
|
+
button {
|
|
242
|
+
overflow: visible;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
//
|
|
246
|
+
// Address inconsistent `text-transform` inheritance for `button` and `select`.
|
|
247
|
+
// All other form control elements do not inherit `text-transform` values.
|
|
248
|
+
// Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
|
249
|
+
// Correct `select` style inheritance in Firefox.
|
|
250
|
+
//
|
|
251
|
+
button,
|
|
252
|
+
select {
|
|
253
|
+
text-transform: none;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
//
|
|
257
|
+
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
|
258
|
+
// and `video` controls.
|
|
259
|
+
// 2. Correct inability to style clickable `input` types in iOS.
|
|
260
|
+
// 3. Improve usability and consistency of cursor style between image-type
|
|
261
|
+
// `input` and others.
|
|
262
|
+
//
|
|
263
|
+
button,
|
|
264
|
+
html input[type="button"], // 1
|
|
265
|
+
input[type="reset"],
|
|
266
|
+
input[type="submit"] {
|
|
267
|
+
-webkit-appearance: button; // 2
|
|
268
|
+
cursor: pointer; // 3
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
//
|
|
272
|
+
// Re-set default cursor for disabled elements.
|
|
273
|
+
//
|
|
274
|
+
button[disabled],
|
|
275
|
+
html input[disabled] {
|
|
276
|
+
cursor: default;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
//
|
|
280
|
+
// Remove inner padding and border in Firefox 4+.
|
|
281
|
+
//
|
|
282
|
+
button::-moz-focus-inner,
|
|
283
|
+
input::-moz-focus-inner {
|
|
284
|
+
border: 0;
|
|
285
|
+
padding: 0;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
//
|
|
289
|
+
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
|
290
|
+
// the UA stylesheet.
|
|
291
|
+
//
|
|
292
|
+
input {
|
|
293
|
+
line-height: normal;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
//
|
|
297
|
+
// It's recommended that you don't attempt to style these elements.
|
|
298
|
+
// Firefox's implementation doesn't respect box-sizing, padding, or width.
|
|
299
|
+
//
|
|
300
|
+
// 1. Address box sizing set to `content-box` in IE 8/9/10.
|
|
301
|
+
// 2. Remove excess padding in IE 8/9/10.
|
|
302
|
+
//
|
|
303
|
+
input[type='checkbox'],
|
|
304
|
+
input[type='radio'] {
|
|
305
|
+
box-sizing: border-box; // 1
|
|
306
|
+
padding: 0; // 2
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
//
|
|
310
|
+
// Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
|
311
|
+
// `font-size` values of the `input`, it causes the cursor style of the
|
|
312
|
+
// decrement button to change from `default` to `text`.
|
|
313
|
+
//
|
|
314
|
+
input[type='number']::-webkit-inner-spin-button,
|
|
315
|
+
input[type='number']::-webkit-outer-spin-button {
|
|
316
|
+
height: auto;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
//
|
|
320
|
+
// 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
|
321
|
+
// 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
|
322
|
+
//
|
|
323
|
+
input[type='search'] {
|
|
324
|
+
-webkit-appearance: textfield; // 1
|
|
325
|
+
box-sizing: content-box; //2
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
//
|
|
329
|
+
// Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
|
330
|
+
// Safari (but not Chrome) clips the cancel button when the search input has
|
|
331
|
+
// padding (and `textfield` appearance).
|
|
332
|
+
//
|
|
333
|
+
input[type='search']::-webkit-search-cancel-button,
|
|
334
|
+
input[type='search']::-webkit-search-decoration {
|
|
335
|
+
-webkit-appearance: none;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
//
|
|
339
|
+
// Define consistent border, margin, and padding.
|
|
340
|
+
//
|
|
341
|
+
fieldset {
|
|
342
|
+
border: 1px solid #c0c0c0;
|
|
343
|
+
margin: 0 2px;
|
|
344
|
+
padding: 0.35em 0.625em 0.75em;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
//
|
|
348
|
+
// 1. Correct `color` not being inherited in IE 8/9/10/11.
|
|
349
|
+
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
|
350
|
+
//
|
|
351
|
+
legend {
|
|
352
|
+
border: 0; // 1
|
|
353
|
+
padding: 0; // 2
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
//
|
|
357
|
+
// Remove default vertical scrollbar in IE 8/9/10/11.
|
|
358
|
+
//
|
|
359
|
+
textarea {
|
|
360
|
+
overflow: auto;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
//
|
|
364
|
+
// Don't inherit the `font-weight` (applied by a rule above).
|
|
365
|
+
// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
|
366
|
+
//
|
|
367
|
+
optgroup {
|
|
368
|
+
font-weight: bold;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// Tables
|
|
372
|
+
// ==========================================================================
|
|
373
|
+
|
|
374
|
+
//
|
|
375
|
+
// Remove most spacing between table cells.
|
|
376
|
+
//
|
|
377
|
+
table {
|
|
378
|
+
border-collapse: collapse;
|
|
379
|
+
border-spacing: 0;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
td,
|
|
383
|
+
th {
|
|
384
|
+
padding: 0;
|
|
385
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Scaffolding
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
// Reset the box-sizing
|
|
6
|
+
//
|
|
7
|
+
// Heads up! This reset may cause conflicts with some third-party widgets.
|
|
8
|
+
// For recommendations on resolving such conflicts, see
|
|
9
|
+
// https://getbootstrap.com/docs/3.4/getting-started/#third-box-sizing
|
|
10
|
+
* {
|
|
11
|
+
@include box-sizing(border-box);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
*::before,
|
|
15
|
+
*::after {
|
|
16
|
+
@include box-sizing(border-box);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Body reset
|
|
20
|
+
html {
|
|
21
|
+
font-size: 10px;
|
|
22
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
body {
|
|
26
|
+
font-family: $font-family-base;
|
|
27
|
+
font-size: $font-size-base;
|
|
28
|
+
line-height: $line-height-base;
|
|
29
|
+
color: $text-color;
|
|
30
|
+
background-color: $body-bg;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Reset fonts for relevant elements
|
|
34
|
+
input,
|
|
35
|
+
button,
|
|
36
|
+
select,
|
|
37
|
+
textarea {
|
|
38
|
+
font-family: inherit;
|
|
39
|
+
font-size: inherit;
|
|
40
|
+
line-height: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Links
|
|
44
|
+
a {
|
|
45
|
+
color: $link-color;
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
|
|
48
|
+
&:hover,
|
|
49
|
+
&:focus {
|
|
50
|
+
color: $link-hover-color;
|
|
51
|
+
text-decoration: $link-hover-decoration;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:focus {
|
|
55
|
+
@include tab-focus;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Figures
|
|
60
|
+
//
|
|
61
|
+
// We reset this here because previously Normalize had no `figure` margins. This
|
|
62
|
+
// ensures we don't break anyone's use of the element.
|
|
63
|
+
figure {
|
|
64
|
+
margin: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Images
|
|
68
|
+
img {
|
|
69
|
+
vertical-align: middle;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Horizontal rules
|
|
73
|
+
hr {
|
|
74
|
+
margin-top: $line-height-computed;
|
|
75
|
+
margin-bottom: $line-height-computed;
|
|
76
|
+
border: 0;
|
|
77
|
+
border-top: 1px solid $hr-border;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// Only display content to screen readers
|
|
81
|
+
//
|
|
82
|
+
// See: https://a11yproject.com/posts/how-to-hide-content
|
|
83
|
+
.sr-only {
|
|
84
|
+
position: absolute;
|
|
85
|
+
width: 1px;
|
|
86
|
+
height: 1px;
|
|
87
|
+
padding: 0;
|
|
88
|
+
margin: -1px;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
clip: rect(0, 0, 0, 0);
|
|
91
|
+
border: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Use in conjunction with .sr-only to only display content when it's focused.
|
|
95
|
+
// Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
|
96
|
+
// Credit: HTML5 Boilerplate
|
|
97
|
+
.sr-only-focusable {
|
|
98
|
+
&:active,
|
|
99
|
+
&:focus {
|
|
100
|
+
position: static;
|
|
101
|
+
width: auto;
|
|
102
|
+
height: auto;
|
|
103
|
+
margin: 0;
|
|
104
|
+
overflow: visible;
|
|
105
|
+
clip: auto;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// iOS "clickable elements" fix for role="button"
|
|
110
|
+
//
|
|
111
|
+
// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
|
|
112
|
+
// for traditionally non-focusable elements with role="button"
|
|
113
|
+
// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
|
114
|
+
[role='button'] {
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
}
|