@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,67 @@
|
|
|
1
|
+
// stylelint-disable length-zero-no-unit
|
|
2
|
+
@import '../functions';
|
|
3
|
+
|
|
4
|
+
$spacers: (
|
|
5
|
+
'0': rem(0px),
|
|
6
|
+
'4': rem(4px),
|
|
7
|
+
'8': rem(8px),
|
|
8
|
+
'12': rem(12px),
|
|
9
|
+
'16': rem(16px),
|
|
10
|
+
'24': rem(24px),
|
|
11
|
+
'32': rem(32px),
|
|
12
|
+
'40': rem(40px),
|
|
13
|
+
'48': rem(48px),
|
|
14
|
+
'96': rem(96px)
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
$spacing-0: map-get($spacers, '0');
|
|
18
|
+
$spacing-4: map-get($spacers, '4'); // deprecated
|
|
19
|
+
$spacing-8: map-get($spacers, '8');
|
|
20
|
+
$spacing-12: map-get($spacers, '12'); // deprecated
|
|
21
|
+
$spacing-16: map-get($spacers, '16');
|
|
22
|
+
$spacing-24: map-get($spacers, '24');
|
|
23
|
+
$spacing-32: map-get($spacers, '32');
|
|
24
|
+
$spacing-40: map-get($spacers, '40');
|
|
25
|
+
$spacing-48: map-get($spacers, '48');
|
|
26
|
+
$spacing-96: map-get($spacers, '96');
|
|
27
|
+
|
|
28
|
+
// Breakpoint widths
|
|
29
|
+
$width-xxs: 0;
|
|
30
|
+
$width-xs: 544px;
|
|
31
|
+
$width-sm: 768px;
|
|
32
|
+
$width-md: 992px;
|
|
33
|
+
$width-lg: 1200px;
|
|
34
|
+
$width-xl: 1400px;
|
|
35
|
+
|
|
36
|
+
// Breakpoints
|
|
37
|
+
$breakpoints: (
|
|
38
|
+
xxs: $width-xxs,
|
|
39
|
+
xs: $width-xs,
|
|
40
|
+
sm: $width-sm,
|
|
41
|
+
md: $width-md,
|
|
42
|
+
lg: $width-lg,
|
|
43
|
+
xl: $width-xl
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
// JS Variable Exports
|
|
47
|
+
/* stylelint-disable property-case */
|
|
48
|
+
:export {
|
|
49
|
+
// spacing variables
|
|
50
|
+
spacing0: $spacing-0;
|
|
51
|
+
spacing8: $spacing-8;
|
|
52
|
+
spacing16: $spacing-16;
|
|
53
|
+
spacing24: $spacing-24;
|
|
54
|
+
spacing32: $spacing-32;
|
|
55
|
+
spacing40: $spacing-40;
|
|
56
|
+
spacing48: $spacing-48;
|
|
57
|
+
spacing96: $spacing-96;
|
|
58
|
+
|
|
59
|
+
// breakpoints
|
|
60
|
+
breakpointXXS: $width-xxs;
|
|
61
|
+
breakpointXS: $width-xs;
|
|
62
|
+
breakpointSM: $width-sm;
|
|
63
|
+
breakpointMD: $width-md;
|
|
64
|
+
breakpointLG: $width-lg;
|
|
65
|
+
breakpointXL: $width-xl;
|
|
66
|
+
}
|
|
67
|
+
/* stylelint-enable property-case */
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
@import '../functions';
|
|
2
|
+
|
|
3
|
+
// Font Sizes (in rem units)
|
|
4
|
+
$font-sizes: (
|
|
5
|
+
'12': rem(12px),
|
|
6
|
+
'14': rem(14px),
|
|
7
|
+
'16': rem(16px),
|
|
8
|
+
'18': rem(18px),
|
|
9
|
+
'20': rem(20px),
|
|
10
|
+
'24': rem(24px),
|
|
11
|
+
'32': rem(32px),
|
|
12
|
+
'40': rem(40px),
|
|
13
|
+
'48': rem(48px),
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
$font-size-12: map-get($font-sizes, '12');
|
|
17
|
+
$font-size-14: map-get($font-sizes, '14');
|
|
18
|
+
$font-size-16: map-get($font-sizes, '16');
|
|
19
|
+
$font-size-18: map-get($font-sizes, '18');
|
|
20
|
+
$font-size-20: map-get($font-sizes, '20');
|
|
21
|
+
$font-size-24: map-get($font-sizes, '24');
|
|
22
|
+
$font-size-32: map-get($font-sizes, '32');
|
|
23
|
+
$font-size-40: map-get($font-sizes, '40');
|
|
24
|
+
$font-size-48: map-get($font-sizes, '48');
|
|
25
|
+
|
|
26
|
+
// Line Heights (unitless)
|
|
27
|
+
$line-height-xs: 1;
|
|
28
|
+
$line-height-sm: 1.125;
|
|
29
|
+
$line-height-md: 1.25;
|
|
30
|
+
$line-height-lg: 1.5;
|
|
31
|
+
$line-height-reset: $line-height-xs;
|
|
32
|
+
$line-height-base: $line-height-lg;
|
|
33
|
+
$line-height-heading: $line-height-sm;
|
|
34
|
+
$line-height-subheading: $line-height-md;
|
|
35
|
+
|
|
36
|
+
// Letter Spacing
|
|
37
|
+
$letter-spacing-sm: 0;
|
|
38
|
+
$letter-spacing-md: 0.25;
|
|
39
|
+
$letter-spacing-lg: 0.5;
|
|
40
|
+
|
|
41
|
+
// Font Family
|
|
42
|
+
$font-rubik: Rubik, Arial, 'Helvetica Neue', Helvetica, sans-serif;
|
|
43
|
+
$font-monospace: monospace;
|
|
44
|
+
|
|
45
|
+
// Font Weight
|
|
46
|
+
$font-regular: 400;
|
|
47
|
+
$font-medium: 500;
|
|
48
|
+
|
|
49
|
+
// Headings (h1 - h6)
|
|
50
|
+
// Structure: (font-size(desktop), font-size(mobile), line-height(desktop), line-height(mobile), font-weight)
|
|
51
|
+
// TODO: get designs for responsive heading sizes
|
|
52
|
+
$headings: (
|
|
53
|
+
(
|
|
54
|
+
$font-size-48,
|
|
55
|
+
$font-size-32,
|
|
56
|
+
$line-height-heading,
|
|
57
|
+
$line-height-subheading,
|
|
58
|
+
$font-regular
|
|
59
|
+
),
|
|
60
|
+
(
|
|
61
|
+
$font-size-32,
|
|
62
|
+
$font-size-24,
|
|
63
|
+
$line-height-subheading,
|
|
64
|
+
$line-height-subheading,
|
|
65
|
+
$font-regular
|
|
66
|
+
),
|
|
67
|
+
(
|
|
68
|
+
$font-size-24,
|
|
69
|
+
$font-size-20,
|
|
70
|
+
$line-height-subheading,
|
|
71
|
+
$line-height-subheading,
|
|
72
|
+
$font-medium
|
|
73
|
+
),
|
|
74
|
+
(
|
|
75
|
+
$font-size-18,
|
|
76
|
+
$font-size-16,
|
|
77
|
+
$line-height-subheading,
|
|
78
|
+
$line-height-subheading,
|
|
79
|
+
$font-medium
|
|
80
|
+
),
|
|
81
|
+
(
|
|
82
|
+
$font-size-16,
|
|
83
|
+
$font-size-14,
|
|
84
|
+
$line-height-subheading,
|
|
85
|
+
$line-height-subheading,
|
|
86
|
+
$font-medium
|
|
87
|
+
),
|
|
88
|
+
(
|
|
89
|
+
$font-size-14,
|
|
90
|
+
$font-size-12,
|
|
91
|
+
$line-height-subheading,
|
|
92
|
+
$line-height-subheading,
|
|
93
|
+
$font-medium
|
|
94
|
+
)
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
/* stylelint-disable property-case */
|
|
98
|
+
:export {
|
|
99
|
+
// Font Sizes (in rem units)
|
|
100
|
+
fontSize12: $font-size-12;
|
|
101
|
+
fontSize14: $font-size-14;
|
|
102
|
+
fontSize16: $font-size-16;
|
|
103
|
+
fontSize18: $font-size-18;
|
|
104
|
+
fontSize20: $font-size-20;
|
|
105
|
+
fontSize24: $font-size-24;
|
|
106
|
+
fontSize32: $font-size-32;
|
|
107
|
+
fontSize40: $font-size-40;
|
|
108
|
+
fontSize48: $font-size-48;
|
|
109
|
+
|
|
110
|
+
// Line Heights (unitless)
|
|
111
|
+
lineHeightXS: $line-height-xs;
|
|
112
|
+
lineHeightSM: $line-height-sm;
|
|
113
|
+
lineHeightMD: $line-height-md;
|
|
114
|
+
lineHeightLG: $line-height-lg;
|
|
115
|
+
lineHeightReset: $line-height-reset;
|
|
116
|
+
lineHeightBase: $line-height-base;
|
|
117
|
+
lineHeightHeading: $line-height-heading;
|
|
118
|
+
lineHeightSubheading: $line-height-subheading;
|
|
119
|
+
|
|
120
|
+
// Letter Spacing
|
|
121
|
+
letterSpacingSM: $letter-spacing-sm;
|
|
122
|
+
letterSpacingMD: $letter-spacing-md;
|
|
123
|
+
letterSpacingLG: $letter-spacing-lg;
|
|
124
|
+
|
|
125
|
+
// Font Family
|
|
126
|
+
fontRubik: $font-rubik;
|
|
127
|
+
|
|
128
|
+
// Font Weight
|
|
129
|
+
fontRegular: $font-regular;
|
|
130
|
+
fontMedium: $font-medium;
|
|
131
|
+
}
|
|
132
|
+
/* stylelint-enable property-case */
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// stylelint-disable declaration-no-important
|
|
2
|
+
@import '../settings/index';
|
|
3
|
+
|
|
4
|
+
.qpp-u-fill--white {
|
|
5
|
+
background-color: $white !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.qpp-u-fill--black {
|
|
9
|
+
background-color: $black !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.qpp-u-fill--gray-02 {
|
|
13
|
+
background-color: $gray-02 !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.qpp-u-fill--gray-04 {
|
|
17
|
+
background-color: $gray-04 !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.qpp-u-fill--gray-10 {
|
|
21
|
+
background-color: $gray-10 !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.qpp-u-fill--gray-20 {
|
|
25
|
+
background-color: $gray-20 !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.qpp-u-fill--gray-60 {
|
|
29
|
+
background-color: $gray-60 !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.qpp-u-fill--gray-70 {
|
|
33
|
+
background-color: $gray-70 !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.qpp-u-fill--gray-80 {
|
|
37
|
+
background-color: $gray-80 !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.qpp-u-fill--gray-90 {
|
|
41
|
+
background-color: $gray-90 !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.qpp-u-fill--blue-05 {
|
|
45
|
+
background-color: $blue-05 !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.qpp-u-fill--blue-10 {
|
|
49
|
+
background-color: $blue-10 !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.qpp-u-fill--blue-30 {
|
|
53
|
+
background-color: $blue-30 !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.qpp-u-fill--blue-40 {
|
|
57
|
+
background-color: $blue-40 !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.qpp-u-fill--blue-60 {
|
|
61
|
+
background-color: $blue-60 !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.qpp-u-fill--blue-70 {
|
|
65
|
+
background-color: $blue-70 !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.qpp-u-fill--blue-80 {
|
|
69
|
+
background-color: $blue-80 !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.qpp-u-fill--cyan-20 {
|
|
73
|
+
background-color: $cyan-20 !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.qpp-u-fill--cyan-40 {
|
|
77
|
+
background-color: $cyan-40 !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.qpp-u-fill--cyan-50 {
|
|
81
|
+
background-color: $cyan-50 !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.qpp-u-fill--green-05 {
|
|
85
|
+
background-color: $green-05 !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.qpp-u-fill--green-30 {
|
|
89
|
+
background-color: $green-30 !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.qpp-u-fill--green-50 {
|
|
93
|
+
background-color: $green-50 !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.qpp-u-fill--gold-05 {
|
|
97
|
+
background-color: $gold-05 !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.qpp-u-fill--gold-20 {
|
|
101
|
+
background-color: $gold-20 !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.qpp-u-fill--gold-40 {
|
|
105
|
+
background-color: $gold-40 !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.qpp-u-fill--red-10 {
|
|
109
|
+
background-color: $red-10 !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.qpp-u-fill--red-50 {
|
|
113
|
+
background-color: $red-50 !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.qpp-u-fill--red-60 {
|
|
117
|
+
background-color: $red-60 !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.qpp-u-fill--cost-green {
|
|
121
|
+
background-color: $cost-green !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.qpp-u-fill--ia-gold {
|
|
125
|
+
background-color: $ia-gold !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.qpp-u-fill--pi-magenta {
|
|
129
|
+
background-color: $pi-magenta !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.qpp-u-fill--quality-blue {
|
|
133
|
+
background-color: $quality-blue !important;
|
|
134
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// stylelint-disable declaration-no-important
|
|
2
|
+
@import '../settings/index';
|
|
3
|
+
|
|
4
|
+
.qpp-u-color--white {
|
|
5
|
+
color: $white !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.qpp-u-color--black {
|
|
9
|
+
color: $black !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.qpp-u-color--gray-60 {
|
|
13
|
+
color: $gray-60 !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.qpp-u-color--gray-80 {
|
|
17
|
+
color: $gray-80 !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.qpp-u-color--gray-90 {
|
|
21
|
+
color: $gray-90 !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.qpp-u-color--blue-70 {
|
|
25
|
+
color: $blue-70 !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.qpp-u-color--red-60 {
|
|
29
|
+
color: $red-60 !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// TODO: determine all colors that are intended to be used for text in design
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// stylelint-disable declaration-no-important
|
|
2
|
+
@import '../settings/index.scss';
|
|
3
|
+
|
|
4
|
+
.qpp-u-display--block {
|
|
5
|
+
display: block !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.qpp-u-display--inline-block {
|
|
9
|
+
display: inline-block !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.qpp-u-display--inline {
|
|
13
|
+
display: inline !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.qpp-u-display--flex {
|
|
17
|
+
display: flex !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.qpp-u-display--inline-flex {
|
|
21
|
+
display: inline-flex !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.qpp-u-display--none {
|
|
25
|
+
display: none !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.qpp-u-visibility--hidden {
|
|
29
|
+
visibility: hidden !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.qpp-u-visibility--visible {
|
|
33
|
+
visibility: visible !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
37
|
+
$viewport: map-get($breakpoints, $breakpoint);
|
|
38
|
+
|
|
39
|
+
@media (min-width: $viewport) {
|
|
40
|
+
.qpp-u-#{$breakpoint}-display--block {
|
|
41
|
+
display: block !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.qpp-u-#{$breakpoint}-display--inline-block {
|
|
45
|
+
display: inline-block !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.qpp-u-#{$breakpoint}-display--inline {
|
|
49
|
+
display: inline !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.qpp-u-#{$breakpoint}-display--flex {
|
|
53
|
+
display: flex !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.qpp-u-#{$breakpoint}-display--inline-flex {
|
|
57
|
+
display: inline-flex !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.qpp-u-#{$breakpoint}-display--none {
|
|
61
|
+
display: none !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.qpp-u-#{$breakpoint}-visibility--hidden {
|
|
65
|
+
visibility: hidden !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.qpp-u-#{$breakpoint}-visibility--visible {
|
|
69
|
+
visibility: visible !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.qpp-u-visually-hidden,
|
|
75
|
+
.qpp-u-visually-hidden-focusable:not(:focus) {
|
|
76
|
+
@include visually-hidden;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media print {
|
|
80
|
+
.qpp-u-visibility--hidden-print {
|
|
81
|
+
display: none !important;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
// stylelint-disable declaration-no-important
|
|
2
|
+
@import '../settings/index.scss';
|
|
3
|
+
|
|
4
|
+
$_flex-direction-values: (
|
|
5
|
+
row: row,
|
|
6
|
+
column: column,
|
|
7
|
+
row-reverse: row-reverse,
|
|
8
|
+
column-reverse: column-reverse
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
@each $name in map-keys($_flex-direction-values) {
|
|
12
|
+
$value: map-get($_flex-direction-values, $name);
|
|
13
|
+
// Example: .qpp-u-flex-direction--column
|
|
14
|
+
.qpp-u-flex-direction--#{$name} {
|
|
15
|
+
// Example: flex-direction: column
|
|
16
|
+
flex-direction: $value !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
21
|
+
$viewport: map-get($breakpoints, $breakpoint);
|
|
22
|
+
|
|
23
|
+
@media (min-width: $viewport) {
|
|
24
|
+
@each $name in map-keys($_flex-direction-values) {
|
|
25
|
+
$value: map-get($_flex-direction-values, $name);
|
|
26
|
+
// Example: .qpp-u-lg-flex-direction--column
|
|
27
|
+
.qpp-u-#{$breakpoint}-flex-direction--#{$name} {
|
|
28
|
+
// Example: flex-direction: column
|
|
29
|
+
flex-direction: $value !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
$_justify-content-values: (
|
|
36
|
+
start: flex-start,
|
|
37
|
+
end: flex-end,
|
|
38
|
+
center: center,
|
|
39
|
+
between: space-between,
|
|
40
|
+
around: space-around
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
@each $name in map-keys($_justify-content-values) {
|
|
44
|
+
$value: map-get($_justify-content-values, $name);
|
|
45
|
+
// Example: .qpp-u-justify-content--start
|
|
46
|
+
.qpp-u-justify-content--#{$name} {
|
|
47
|
+
// Example: justify-content: flex-start
|
|
48
|
+
justify-content: $value !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
53
|
+
$viewport: map-get($breakpoints, $breakpoint);
|
|
54
|
+
|
|
55
|
+
@media (min-width: $viewport) {
|
|
56
|
+
@each $name in map-keys($_justify-content-values) {
|
|
57
|
+
$value: map-get($_justify-content-values, $name);
|
|
58
|
+
// Example: .qpp-u-lg-justify-content--start
|
|
59
|
+
.qpp-u-#{$breakpoint}-justify-content--#{$name} {
|
|
60
|
+
// Example: justify-content: flex-start
|
|
61
|
+
justify-content: $value !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
$_align-items-values: (
|
|
68
|
+
start: flex-start,
|
|
69
|
+
end: flex-end,
|
|
70
|
+
center: center,
|
|
71
|
+
baseline: baseline,
|
|
72
|
+
stretch: stretch
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
@each $name in map-keys($_align-items-values) {
|
|
76
|
+
$value: map-get($_align-items-values, $name);
|
|
77
|
+
// Example: .qpp-u-align-items--start
|
|
78
|
+
.qpp-u-align-items--#{$name} {
|
|
79
|
+
// Example: align-items: flex-start
|
|
80
|
+
align-items: $value !important;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
85
|
+
$viewport: map-get($breakpoints, $breakpoint);
|
|
86
|
+
|
|
87
|
+
@media (min-width: $viewport) {
|
|
88
|
+
@each $name in map-keys($_align-items-values) {
|
|
89
|
+
$value: map-get($_align-items-values, $name);
|
|
90
|
+
// Example: .qpp-u-lg-align-items--start
|
|
91
|
+
.qpp-u-#{$breakpoint}-align-items--#{$name} {
|
|
92
|
+
// Example: align-items: flex-start
|
|
93
|
+
align-items: $value !important;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
$_flex-wrap-values: (
|
|
100
|
+
nowrap: nowrap,
|
|
101
|
+
wrap: wrap,
|
|
102
|
+
reverse: wrap-reverse
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
@each $name in map-keys($_flex-wrap-values) {
|
|
106
|
+
$value: map-get($_flex-wrap-values, $name);
|
|
107
|
+
// Example: .qpp-u-flex-wrap--start
|
|
108
|
+
.qpp-u-flex-wrap--#{$name} {
|
|
109
|
+
// Example: flex-wrap: flex-start
|
|
110
|
+
flex-wrap: $value !important;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
115
|
+
$viewport: map-get($breakpoints, $breakpoint);
|
|
116
|
+
|
|
117
|
+
@media (min-width: $viewport) {
|
|
118
|
+
@each $name in map-keys($_flex-wrap-values) {
|
|
119
|
+
$value: map-get($_flex-wrap-values, $name);
|
|
120
|
+
// Example: .qpp-u-lg-flex-wrap--start
|
|
121
|
+
.qpp-u-#{$breakpoint}-flex-wrap--#{$name} {
|
|
122
|
+
// Example: flex-wrap: flex-start
|
|
123
|
+
flex-wrap: $value !important;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@each $name in map-keys($spacers) {
|
|
130
|
+
$value: map-get($spacers, $name);
|
|
131
|
+
.qpp-u-flex-gap--#{$name} {
|
|
132
|
+
margin: -#{$value} 0 0 -#{$value};
|
|
133
|
+
width: calc(100% + #{$value});
|
|
134
|
+
|
|
135
|
+
> * {
|
|
136
|
+
padding: $value 0 0 $value;
|
|
137
|
+
width: 100%; // needed for IE11 support
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.qpp-u-flex-gap-col--#{$name} {
|
|
142
|
+
margin: 0;
|
|
143
|
+
margin-left: -#{$value} !important;
|
|
144
|
+
width: calc(100% + #{$value});
|
|
145
|
+
|
|
146
|
+
> * {
|
|
147
|
+
padding: 0;
|
|
148
|
+
padding-left: $value !important;
|
|
149
|
+
width: 100%;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.qpp-u-flex-gap-row--#{$name} {
|
|
154
|
+
margin: 0;
|
|
155
|
+
margin-top: -#{$value} !important;
|
|
156
|
+
|
|
157
|
+
> * {
|
|
158
|
+
padding: 0;
|
|
159
|
+
padding-top: $value !important;
|
|
160
|
+
width: 100%;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
166
|
+
$viewport: map-get($breakpoints, $breakpoint);
|
|
167
|
+
|
|
168
|
+
@media (min-width: $viewport) {
|
|
169
|
+
@each $name in map-keys($spacers) {
|
|
170
|
+
$value: map-get($spacers, $name);
|
|
171
|
+
// Example: .qpp-u-lg-flex-gap--12
|
|
172
|
+
.qpp-u-#{$breakpoint}-flex-gap--#{$name} {
|
|
173
|
+
margin: -#{$value} 0 0 -#{$value};
|
|
174
|
+
width: calc(100% + #{$value});
|
|
175
|
+
|
|
176
|
+
> * {
|
|
177
|
+
padding: $value 0 0 $value;
|
|
178
|
+
width: 100%;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.qpp-u-#{$breakpoint}-flex-gap-col--#{$name} {
|
|
183
|
+
margin: 0;
|
|
184
|
+
margin-left: -#{$value} !important;
|
|
185
|
+
width: calc(100% + #{$value});
|
|
186
|
+
|
|
187
|
+
> * {
|
|
188
|
+
padding: 0;
|
|
189
|
+
padding-left: $value !important;
|
|
190
|
+
width: 100%;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.qpp-u-#{$breakpoint}-flex-gap-row--#{$name} {
|
|
195
|
+
margin: 0;
|
|
196
|
+
margin-top: -#{$value} !important;
|
|
197
|
+
|
|
198
|
+
> * {
|
|
199
|
+
padding: 0;
|
|
200
|
+
padding-top: $value !important;
|
|
201
|
+
width: 100%;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
$_flex-values: (
|
|
209
|
+
'1': 1,
|
|
210
|
+
'fifth': 20% 0,
|
|
211
|
+
'quarter': 25% 0,
|
|
212
|
+
'third': 33.333333333% 0,
|
|
213
|
+
'half': 50% 0,
|
|
214
|
+
'full': 100% 0,
|
|
215
|
+
'initial': initial,
|
|
216
|
+
'auto': auto,
|
|
217
|
+
'none': none
|
|
218
|
+
);
|
|
219
|
+
|
|
220
|
+
@each $name in map-keys($_flex-values) {
|
|
221
|
+
$value: map-get($_flex-values, $name);
|
|
222
|
+
// Example: .qpp-u-flex--1
|
|
223
|
+
.qpp-u-flex--#{$name} {
|
|
224
|
+
flex: $value !important;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
229
|
+
$viewport: map-get($breakpoints, $breakpoint);
|
|
230
|
+
|
|
231
|
+
@media (min-width: $viewport) {
|
|
232
|
+
@each $name in map-keys($_flex-values) {
|
|
233
|
+
$value: map-get($_flex-values, $name);
|
|
234
|
+
// Example: .qpp-u-lg-flex--1
|
|
235
|
+
.qpp-u-#{$breakpoint}-flex--#{$name} {
|
|
236
|
+
flex: $value !important;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|