@comicrelief/storybook 1.34.2 → 2.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/README.md +1 -0
- package/build/index.js +3 -3
- package/package.json +2 -2
- package/src/components/BrowserSupportMessage/BrowserSupport.scss +9 -9
- package/src/components/CookieConsentMessage/CookieConsent.scss +13 -13
- package/src/components/Footer/Footer.js +1 -2
- package/src/components/Footer/footer.scss +9 -9
- package/src/components/Footer/package.json +1 -2
- package/src/components/GrantsNearYou/GrantsNearYou.scss +9 -9
- package/src/components/JustInTime/JustInTime.scss +6 -6
- package/src/components/RadioButtons/RadioButtons.scss +9 -9
- package/src/components/SVG/instagram.svg +18 -0
- package/src/components/SVG/spritesheet.svg +142 -0
- package/src/components/SchoolsLookUp/SchoolsLookUp.scss +11 -11
- package/src/components/SocialLink/SocialLink.js +2 -2
- package/src/components/SocialLink/package.json +1 -2
- package/src/sass/base/_components.scss +66 -0
- package/src/sass/base/_core.scss +12 -0
- package/src/sass/base/_variables.scss +9 -0
- package/src/sass/base/components/animations/_animations.scss +37 -0
- package/src/sass/base/components/animations/animations.twig +1 -0
- package/src/sass/base/components/background-colours/_background-colours.scss +105 -0
- package/src/sass/base/components/background-colours/background-colours.twig +28 -0
- package/src/sass/base/components/background-single-msg/_background-single-msg.scss +69 -0
- package/src/sass/base/components/background-single-msg/background-single-msg.twig +16 -0
- package/src/sass/base/components/banners/_card-banner.scss +87 -0
- package/src/sass/base/components/banners/card-banner.json +5 -0
- package/src/sass/base/components/banners/card-banner.twig +13 -0
- package/src/sass/base/components/buttons/_buttons.scss +158 -0
- package/src/sass/base/components/buttons/buttons.twig +4 -0
- package/src/sass/base/components/card-block/_card.scss +85 -0
- package/src/sass/base/components/card-block/card.json +5 -0
- package/src/sass/base/components/card-block/card.twig +13 -0
- package/src/sass/base/components/cards/_cards.scss +55 -0
- package/src/sass/base/components/cards/cards.twig +19 -0
- package/src/sass/base/components/content-block/_content-block.scss +67 -0
- package/src/sass/base/components/content-block/content-block.twig +20 -0
- package/src/sass/base/components/content-wall/_content-wall.scss +57 -0
- package/src/sass/base/components/content-wall/content-wall.twig +211 -0
- package/src/sass/base/components/cookie-consent/_cookie-consent.scss +116 -0
- package/src/sass/base/components/cookie-consent/cookie-consent.json +7 -0
- package/src/sass/base/components/cookie-consent/cookie-consent.twig +7 -0
- package/src/sass/base/components/custom-block/_custom-block.scss +16 -0
- package/src/sass/base/components/demo/_demo.scss +5 -0
- package/src/sass/base/components/demo/demo.json +5 -0
- package/src/sass/base/components/demo/demo.twig +14 -0
- package/src/sass/base/components/email-signup/_email-signup-head.scss +163 -0
- package/src/sass/base/components/email-signup/_email-signup.scss +835 -0
- package/src/sass/base/components/email-signup/email-signup-fundraise.twig +33 -0
- package/src/sass/base/components/email-signup/email-signup-header.twig +38 -0
- package/src/sass/base/components/email-signup/email-signup-interest.twig +35 -0
- package/src/sass/base/components/email-signup/email-signup-standard.twig +50 -0
- package/src/sass/base/components/email-signup/email-signup-workplace.twig +39 -0
- package/src/sass/base/components/email-signup/images/arrow-right.svg +6 -0
- package/src/sass/base/components/email-signup/images/cross-close.svg +5 -0
- package/src/sass/base/components/email-signup/images/error-icon.png +0 -0
- package/src/sass/base/components/email-signup/images/error-red-cross.svg +7 -0
- package/src/sass/base/components/email-signup/images/esuEmailIconLarge.png +0 -0
- package/src/sass/base/components/email-signup/images/esuEmailIconSmall.png +0 -0
- package/src/sass/base/components/email-signup/images/fixedplaceholder-register-interest-bg-1x.png +0 -0
- package/src/sass/base/components/email-signup/images/fixedplaceholder-register-interest-bg-2x.png +0 -0
- package/src/sass/base/components/email-signup/images/fixedplaceholder-register-interest-bg-sm-1x.png +0 -0
- package/src/sass/base/components/email-signup/images/fixedplaceholder-register-interest-bg-sm-2x.png +0 -0
- package/src/sass/base/components/external-link/_external-link.scss +16 -0
- package/src/sass/base/components/feature-articles-block/_feature-articles-block.scss +30 -0
- package/src/sass/base/components/feature-articles-block/feature-articles-block.twig +14 -0
- package/src/sass/base/components/footer/_footer.scss +39 -0
- package/src/sass/base/components/footer/footer.twig +24 -0
- package/src/sass/base/components/form/_form.scss +132 -0
- package/src/sass/base/components/form/_standard-form.scss +361 -0
- package/src/sass/base/components/form/form.twig +146 -0
- package/src/sass/base/components/form/images/checkbox-white-tick.png +0 -0
- package/src/sass/base/components/form/images/error-alert-icon.png +0 -0
- package/src/sass/base/components/fundraising-target/_fundraising-target.scss +99 -0
- package/src/sass/base/components/fundraising-target/fundraising-target.twig +23 -0
- package/src/sass/base/components/grants-near-you/__grants-near-you.scss +111 -0
- package/src/sass/base/components/grid/_grid.scss +73 -0
- package/src/sass/base/components/grid/grid.twig +108 -0
- package/src/sass/base/components/header/_base-header.scss +52 -0
- package/src/sass/base/components/header/base_header.twig +8 -0
- package/src/sass/base/components/iframe-block/_iframe-block.scss +64 -0
- package/src/sass/base/components/just-in-time-block/_just-in-time.scss +90 -0
- package/src/sass/base/components/just-in-time-block/just-in-time-block.twig +11 -0
- package/src/sass/base/components/lightcase/_lightcase.scss +482 -0
- package/src/sass/base/components/links/_links.scss +42 -0
- package/src/sass/base/components/links/links.twig +9 -0
- package/src/sass/base/components/list/_list.scss +37 -0
- package/src/sass/base/components/media/_media.scss +37 -0
- package/src/sass/base/components/media-block/_media-block.scss +84 -0
- package/src/sass/base/components/media-block/js/media-block.js +31 -0
- package/src/sass/base/components/media-block/media-block.twig +31 -0
- package/src/sass/base/components/meta-icons/_meta-icons.scss +74 -0
- package/src/sass/base/components/meta-icons/meta-icons.twig +20 -0
- package/src/sass/base/components/navigation/SR18_logo_date_blacktext.svg +90 -0
- package/src/sass/base/components/navigation/SR18_logo_date_whitetext.svg +91 -0
- package/src/sass/base/components/navigation/_feature-nav.scss +150 -0
- package/src/sass/base/components/navigation/_footer-nav.scss +37 -0
- package/src/sass/base/components/navigation/_hamburger-menu-button.scss +108 -0
- package/src/sass/base/components/navigation/_main-nav.scss +248 -0
- package/src/sass/base/components/navigation/feature-nav-open.twig +22 -0
- package/src/sass/base/components/navigation/feature-nav.twig +46 -0
- package/src/sass/base/components/navigation/footer-nav.twig +16 -0
- package/src/sass/base/components/navigation/js/main-nav.js +173 -0
- package/src/sass/base/components/navigation/main-nav.twig +82 -0
- package/src/sass/base/components/news-article/_news-article.scss +128 -0
- package/src/sass/base/components/news-article/_press-release-article.scss +21 -0
- package/src/sass/base/components/news-article/news-article.twig +60 -0
- package/src/sass/base/components/news-article/press-release-article.twig +54 -0
- package/src/sass/base/components/news-overview/_news.scss +118 -0
- package/src/sass/base/components/news-overview/news.twig +256 -0
- package/src/sass/base/components/news-overview/news_press-releases.twig +148 -0
- package/src/sass/base/components/news-teaser/_news-article-teaser.scss +132 -0
- package/src/sass/base/components/news-teaser/_news-teaser.scss +42 -0
- package/src/sass/base/components/news-teaser/images/copyvideo--play-icon.svg +13 -0
- package/src/sass/base/components/news-teaser/images/copyvideo--play-icon__hover.svg +15 -0
- package/src/sass/base/components/news-teaser/images/play-icon.svg +5 -0
- package/src/sass/base/components/news-teaser/images/press-logos.png +0 -0
- package/src/sass/base/components/news-teaser/news-teaser.twig +15 -0
- package/src/sass/base/components/pagination/_pagination.scss +50 -0
- package/src/sass/base/components/pagination/pagination.twig +29 -0
- package/src/sass/base/components/paragraph--cr-single-message-row/_paragraph--cr-single-message-row.scss +170 -0
- package/src/sass/base/components/partners/_partners.scss +62 -0
- package/src/sass/base/components/partners/partners.twig +25 -0
- package/src/sass/base/components/partners-grid/_partners-grid.scss +97 -0
- package/src/sass/base/components/partners-grid/partners-grid.twig +121 -0
- package/src/sass/base/components/partners-row/_partners-row.scss +54 -0
- package/src/sass/base/components/partners-row/partners-row.twig +18 -0
- package/src/sass/base/components/postcode-lookup/_postcode-lookup.scss +74 -0
- package/src/sass/base/components/postcode-lookup/postcode-lookup.twig +56 -0
- package/src/sass/base/components/progress-bar/_progress-bar.scss +120 -0
- package/src/sass/base/components/progress-bar/images/navbar-sprite.png +0 -0
- package/src/sass/base/components/progress-bar/progress-bar.twig +23 -0
- package/src/sass/base/components/progress-indicator/_progress-indicator.scss +119 -0
- package/src/sass/base/components/progress-indicator/progress-indicator.twig +28 -0
- package/src/sass/base/components/promo-header/_promo-header.scss +244 -0
- package/src/sass/base/components/promo-header/promo-header.twig +16 -0
- package/src/sass/base/components/quote-block/_content-wall-quote.scss +109 -0
- package/src/sass/base/components/quote-block/content-wall-quote.twig +18 -0
- package/src/sass/base/components/related-articles/_related-articles.scss +34 -0
- package/src/sass/base/components/schools-look-up/_schools-look-up.scss +93 -0
- package/src/sass/base/components/search/_search-block.scss +182 -0
- package/src/sass/base/components/search/images/magnify.svg +11 -0
- package/src/sass/base/components/search/images/search_page_icon.png +0 -0
- package/src/sass/base/components/search/images/search_page_icon_hover.png +0 -0
- package/src/sass/base/components/search/search.twig +26 -0
- package/src/sass/base/components/search-results/_search-result.scss +163 -0
- package/src/sass/base/components/search-results/search-results.twig +211 -0
- package/src/sass/base/components/selectbox/_selectbox.scss +471 -0
- package/src/sass/base/components/single-msg/_single-msg.scss +345 -0
- package/src/sass/base/components/single-msg/single-msg.twig +27 -0
- package/src/sass/base/components/social/_social.scss +74 -0
- package/src/sass/base/components/social/social-following.twig +39 -0
- package/src/sass/base/components/social/social-sharing.twig +23 -0
- package/src/sass/base/components/story/_story.scss +309 -0
- package/src/sass/base/components/story/_story.twig +53 -0
- package/src/sass/base/components/svg/instagram.svg +18 -0
- package/src/sass/base/components/svg/spritesheet.svg +142 -0
- package/src/sass/base/components/table/_table.scss +8 -0
- package/src/sass/base/components/table/table.twig +48 -0
- package/src/sass/base/components/teaser-block/_teaser-block.scss +156 -0
- package/src/sass/base/components/teaser-block/teaser-block.twig +17 -0
- package/src/sass/base/components/teaser-block/teaser-row.twig +128 -0
- package/src/sass/base/components/tooltips/_tooltips.scss +46 -0
- package/src/sass/base/components/typography/_typography.scss +99 -0
- package/src/sass/base/components/typography/typography.twig +25 -0
- package/src/sass/base/components/views/_views.scss +11 -0
- package/src/sass/base/core/_base-1-mixins.scss +327 -0
- package/src/sass/base/core/_base-breakpoints.scss +56 -0
- package/src/sass/base/core/_base-common.scss +8 -0
- package/src/sass/base/core/_base-fonts.scss +81 -0
- package/src/sass/base/core/_base-grid.scss +1 -0
- package/src/sass/base/core/_base-helper.scss +4 -0
- package/src/sass/base/core/_base-layout.scss +4 -0
- package/src/sass/base/core/_base-reset.scss +37 -0
- package/src/sass/base/helpers/_js-breakpoint-class-helper.scss +10 -0
- package/src/sass/base/variables/_colours.scss +43 -0
- package/src/sass/base/variables/_grid.scss +51 -0
- package/src/sass/base/variables/_lists.scss +66 -0
- package/src/sass/base/variables/_theme.scss +3 -0
- package/src/sass/base/variables/_typography.scss +88 -0
- package/src/sass/base/variables/colour.twig +82 -0
- package/src/sass/themes/base/base-styleguide.scss +497 -0
- package/src/sass/themes/base/base.scss +8 -0
- package/src/sass/themes/cr/2017/_cr17-components.scss +47 -0
- package/src/sass/themes/cr/2017/_cr17-styleguide.scss +522 -0
- package/src/sass/themes/cr/2017/components/background-colours/_background-colours.scss +104 -0
- package/src/sass/themes/cr/2017/components/background-colours/background-colours.twig +25 -0
- package/src/sass/themes/cr/2017/components/buttons/_buttons.scss +67 -0
- package/src/sass/themes/cr/2017/components/buttons/buttons.twig +39 -0
- package/src/sass/themes/cr/2017/components/content-block/_content-block.scss +5 -0
- package/src/sass/themes/cr/2017/components/content-block/content-block.twig +20 -0
- package/src/sass/themes/cr/2017/components/content-wall/content-wall.twig +213 -0
- package/src/sass/themes/cr/2017/components/cookie-consent/_cookie-consent.scss +18 -0
- package/src/sass/themes/cr/2017/components/cookie-consent/cookie-consent.json +7 -0
- package/src/sass/themes/cr/2017/components/cookie-consent/cookie-consent.twig +4 -0
- package/src/sass/themes/cr/2017/components/email-signup/_email-signup-head.scss +5 -0
- package/src/sass/themes/cr/2017/components/highlight/_highlight.scss +35 -0
- package/src/sass/themes/cr/2017/components/highlight/highlight.twig +1 -0
- package/src/sass/themes/cr/2017/components/just-in-time-block/_just-in-time-block.scss +6 -0
- package/src/sass/themes/cr/2017/components/links/_links.scss +43 -0
- package/src/sass/themes/cr/2017/components/links/links.twig +26 -0
- package/src/sass/themes/cr/2017/components/loading/_loading.scss +101 -0
- package/src/sass/themes/cr/2017/components/media-block/_media-block.scss +16 -0
- package/src/sass/themes/cr/2017/components/media-block/media-block.twig +31 -0
- package/src/sass/themes/cr/2017/components/meta-icons/_meta-icons.scss +64 -0
- package/src/sass/themes/cr/2017/components/navigation/_expanded-footer.scss +291 -0
- package/src/sass/themes/cr/2017/components/navigation/_main-nav.scss +365 -0
- package/src/sass/themes/cr/2017/components/navigation/cr18-logo.png +0 -0
- package/src/sass/themes/cr/2017/components/navigation/expanded-footer.twig +180 -0
- package/src/sass/themes/cr/2017/components/navigation/footer-nav.twig +116 -0
- package/src/sass/themes/cr/2017/components/navigation/js/expanded-footer.js +31 -0
- package/src/sass/themes/cr/2017/components/news-teaser/images/news-default-img.jpg +0 -0
- package/src/sass/themes/cr/2017/components/news-teaser/news-teaser.twig +15 -0
- package/src/sass/themes/cr/2017/components/single-msg/_single-msg.scss +238 -0
- package/src/sass/themes/cr/2017/components/single-msg/single-msg.twig +125 -0
- package/src/sass/themes/cr/2017/components/typography/_fonts.scss +192 -0
- package/src/sass/themes/cr/2017/components/typography/_typography.scss +83 -0
- package/src/sass/themes/cr/2017/components/typography/typography.twig +116 -0
- package/src/sass/themes/cr/2017/cr17.scss +104 -0
- package/src/sass/themes/cr/2017/variables/_colours.scss +20 -0
- package/src/sass/themes/cr/2017/variables/_mixins.scss +56 -0
- package/src/sass/themes/cr/2017/variables/_typography.scss +86 -0
- package/src/sass/themes/cr/2017/variables/colour.twig +51 -0
- package/src/sass/themes/cr/2019/_cr19-components.scss +65 -0
- package/src/sass/themes/cr/2019/_cr19-styleguide.scss +654 -0
- package/src/sass/themes/cr/2019/components/background-colours/_background-colours.scss +340 -0
- package/src/sass/themes/cr/2019/components/background-colours/background-colours.twig +100 -0
- package/src/sass/themes/cr/2019/components/bg-video-copy/_bg-video-copy.scss +206 -0
- package/src/sass/themes/cr/2019/components/bg-video-copy/bg-video-copy.twig +16 -0
- package/src/sass/themes/cr/2019/components/bg-video-copy/js/bg-video-copy.js +72 -0
- package/src/sass/themes/cr/2019/components/bg-video-copy/videos/SR18-promo.mp4 +0 -0
- package/src/sass/themes/cr/2019/components/buttons/_buttons.scss +174 -0
- package/src/sass/themes/cr/2019/components/buttons/buttons.twig +128 -0
- package/src/sass/themes/cr/2019/components/content-block/_content-block.scss +5 -0
- package/src/sass/themes/cr/2019/components/content-block/content-block.twig +20 -0
- package/src/sass/themes/cr/2019/components/content-wall/_content-wall.scss +6 -0
- package/src/sass/themes/cr/2019/components/content-wall/content-wall.twig +213 -0
- package/src/sass/themes/cr/2019/components/cookie-consent/cookie-consent.json +7 -0
- package/src/sass/themes/cr/2019/components/cookie-consent/cookie-consent.twig +7 -0
- package/src/sass/themes/cr/2019/components/copy-copy/_copy-copy.scss +57 -0
- package/src/sass/themes/cr/2019/components/copy-copy/copy-copy.twig +22 -0
- package/src/sass/themes/cr/2019/components/copy-video/_copy-video.scss +152 -0
- package/src/sass/themes/cr/2019/components/copy-video/copy-video.twig +47 -0
- package/src/sass/themes/cr/2019/components/copy-video/js/copy-video.js +62 -0
- package/src/sass/themes/cr/2019/components/email-signup/_email-signup-head.scss +5 -0
- package/src/sass/themes/cr/2019/components/fixed-ratio-image/_fixed-ratio-image.scss +63 -0
- package/src/sass/themes/cr/2019/components/fixed-ratio-image/fixed-ratio-image.twig +10 -0
- package/src/sass/themes/cr/2019/components/full-height-double-image-single-copy/_full-height-double-image-single-copy.scss +107 -0
- package/src/sass/themes/cr/2019/components/full-height-double-image-single-copy/full-height-double-image-single-copy.twig +23 -0
- package/src/sass/themes/cr/2019/components/full-height-single-image/_full-height-single-image.scss +138 -0
- package/src/sass/themes/cr/2019/components/full-height-single-image/full-height-single-image.twig +12 -0
- package/src/sass/themes/cr/2019/components/full-height-single-image-single-copy/_full-height-single-image-single-copy.scss +72 -0
- package/src/sass/themes/cr/2019/components/full-height-single-image-single-copy/full-height-single-image-single-copy.twig +14 -0
- package/src/sass/themes/cr/2019/components/full-height-single-image-triple-copy/_full-height-single-image-triple-copy.scss +158 -0
- package/src/sass/themes/cr/2019/components/full-height-single-image-triple-copy/full-height-single-image-triple-copy.twig +24 -0
- package/src/sass/themes/cr/2019/components/grant-page/_grant-page.scss +18 -0
- package/src/sass/themes/cr/2019/components/highlight/_highlight.scss +38 -0
- package/src/sass/themes/cr/2019/components/highlight/highlight.twig +1 -0
- package/src/sass/themes/cr/2019/components/inline-social-icons/_inline-social-icons.scss +43 -0
- package/src/sass/themes/cr/2019/components/inline-social-icons/images/ig-icon--dark.svg +17 -0
- package/src/sass/themes/cr/2019/components/inline-social-icons/images/ig-icon--light.svg +17 -0
- package/src/sass/themes/cr/2019/components/inline-social-icons/images/twitter-icon--dark.svg +9 -0
- package/src/sass/themes/cr/2019/components/inline-social-icons/images/twitter-icon--light.svg +9 -0
- package/src/sass/themes/cr/2019/components/inline-social-icons/inline-social-icons.twig +21 -0
- package/src/sass/themes/cr/2019/components/just-in-time-block/_just-in-time-block.scss +15 -0
- package/src/sass/themes/cr/2019/components/links/_links.scss +42 -0
- package/src/sass/themes/cr/2019/components/links/links.twig +28 -0
- package/src/sass/themes/cr/2019/components/list/_list.scss +3 -0
- package/src/sass/themes/cr/2019/components/loading/_loading.scss +101 -0
- package/src/sass/themes/cr/2019/components/media-block/_media-block.scss +16 -0
- package/src/sass/themes/cr/2019/components/media-block/media-block.twig +31 -0
- package/src/sass/themes/cr/2019/components/membership-signup/_membership-signup.scss +447 -0
- package/src/sass/themes/cr/2019/components/membership-signup/images/drop-down-white.svg +9 -0
- package/src/sass/themes/cr/2019/components/membership-signup/images/membership-LG.jpg +0 -0
- package/src/sass/themes/cr/2019/components/membership-signup/images/membership-MD.jpg +0 -0
- package/src/sass/themes/cr/2019/components/membership-signup/images/membership-SM.jpg +0 -0
- package/src/sass/themes/cr/2019/components/membership-signup/images/membership2-LG.jpg +0 -0
- package/src/sass/themes/cr/2019/components/membership-signup/images/membership2-md.jpg +0 -0
- package/src/sass/themes/cr/2019/components/membership-signup/images/membership2-sm.jpg +0 -0
- package/src/sass/themes/cr/2019/components/membership-signup/js/membership-signup.js +490 -0
- package/src/sass/themes/cr/2019/components/membership-signup/membership-signup.twig +103 -0
- package/src/sass/themes/cr/2019/components/meta-icons/_meta-icons.scss +64 -0
- package/src/sass/themes/cr/2019/components/navigation/_expanded-footer.scss +280 -0
- package/src/sass/themes/cr/2019/components/navigation/_main-nav.scss +459 -0
- package/src/sass/themes/cr/2019/components/navigation/cr18-logo.png +0 -0
- package/src/sass/themes/cr/2019/components/navigation/expanded-footer.twig +167 -0
- package/src/sass/themes/cr/2019/components/navigation/footer-nav.twig +116 -0
- package/src/sass/themes/cr/2019/components/navigation/js/expanded-footer.js +31 -0
- package/src/sass/themes/cr/2019/components/navigation/main-nav.twig +97 -0
- package/src/sass/themes/cr/2019/components/news/_news.scss +6 -0
- package/src/sass/themes/cr/2019/components/news-teaser/_news-article-teaser.scss +13 -0
- package/src/sass/themes/cr/2019/components/news-teaser/images/news-default-img--v2.jpg +0 -0
- package/src/sass/themes/cr/2019/components/news-teaser/news-teaser.twig +15 -0
- package/src/sass/themes/cr/2019/components/single-msg/_single-msg.scss +242 -0
- package/src/sass/themes/cr/2019/components/single-msg/single-msg.twig +125 -0
- package/src/sass/themes/cr/2019/components/typography/_fonts.scss +1 -0
- package/src/sass/themes/cr/2019/components/typography/_typography.scss +188 -0
- package/src/sass/themes/cr/2019/components/typography/typography.twig +128 -0
- package/src/sass/themes/cr/2019/cr19.scss +104 -0
- package/src/sass/themes/cr/2019/form.twig +133 -0
- package/src/sass/themes/cr/2019/variables/_colours.scss +48 -0
- package/src/sass/themes/cr/2019/variables/_mixins.scss +44 -0
- package/src/sass/themes/cr/2019/variables/_typography.scss +81 -0
- package/src/sass/themes/cr/2019/variables/colour.twig +162 -0
- package/src/sass/themes/donate/_donate-styleguide.scss +18 -0
- package/src/sass/themes/donate/components/background-colours/_background-colours.scss +9 -0
- package/src/sass/themes/donate/components/banner/_banner.scss +10 -0
- package/src/sass/themes/donate/components/buttons/_buttons.scss +122 -0
- package/src/sass/themes/donate/components/cards/_cards.scss +72 -0
- package/src/sass/themes/donate/components/cards/images/aziza-card.jpg +0 -0
- package/src/sass/themes/donate/components/cards/images/georgia-card.jpg +0 -0
- package/src/sass/themes/donate/components/cards/images/kevin-card.jpg +0 -0
- package/src/sass/themes/donate/components/form/_form.scss +287 -0
- package/src/sass/themes/donate/components/form/images/gift_aid_logo--white.png +0 -0
- package/src/sass/themes/donate/components/form/images/gift_aid_logo.png +0 -0
- package/src/sass/themes/donate/components/full-height-single-image-single-copy/_full-height-single-image-single-copy.scss +234 -0
- package/src/sass/themes/donate/components/giving-type-selector/_giving-type-selector.scss +120 -0
- package/src/sass/themes/donate/components/header/_header.scss +41 -0
- package/src/sass/themes/donate/components/money-buy-block/_money-buy-block.scss +272 -0
- package/src/sass/themes/donate/components/partner-footer/_partner-footer.scss +43 -0
- package/src/sass/themes/donate/components/success/_success.scss +137 -0
- package/src/sass/themes/donate/components/typography/_fonts.scss +1 -0
- package/src/sass/themes/donate/components/typography/_typography.scss +188 -0
- package/src/sass/themes/donate/donate-page.twig +504 -0
- package/src/sass/themes/donate/donate.scss +72 -0
- package/src/sass/themes/donate/failure-page.twig +31 -0
- package/src/sass/themes/donate/success-page.twig +83 -0
- package/src/sass/themes/donate/variables/_colours.scss +33 -0
- package/src/sass/themes/donate/variables/_mixins.scss +36 -0
- package/src/sass/themes/donate/variables/_typography.scss +89 -0
- package/src/sass/themes/frost/_frost-styleguide.scss +150 -0
- package/src/sass/themes/frost/core/_frost-components.scss +0 -0
- package/src/sass/themes/frost/core/_frost-variables.scss +0 -0
- package/src/sass/themes/frost/core/components/_background-images.scss +29 -0
- package/src/sass/themes/frost/core/components/_buttons.scss +57 -0
- package/src/sass/themes/frost/core/components/_campaign-images.scss +54 -0
- package/src/sass/themes/frost/core/components/_cookie-consent.scss +55 -0
- package/src/sass/themes/frost/core/components/_font-awesome.scss +17 -0
- package/src/sass/themes/frost/core/components/_footer.scss +28 -0
- package/src/sass/themes/frost/core/components/_form.scss +695 -0
- package/src/sass/themes/frost/core/components/_gpLink.scss +70 -0
- package/src/sass/themes/frost/core/components/_header.scss +39 -0
- package/src/sass/themes/frost/core/components/_layout.scss +124 -0
- package/src/sass/themes/frost/core/components/_modal.scss +53 -0
- package/src/sass/themes/frost/core/components/_schools-look-up.scss +47 -0
- package/src/sass/themes/frost/core/components/footer-nav.twig +16 -0
- package/src/sass/themes/frost/core/components/form--frost.twig +48 -0
- package/src/sass/themes/frost/core/variables/_colours.scss +15 -0
- package/src/sass/themes/frost/core/variables/_typography.scss +106 -0
- package/src/sass/themes/frost/core/variables/typography.twig +115 -0
- package/src/sass/themes/frost/cr365/components/_header.scss +7 -0
- package/src/sass/themes/frost/cr365/cr365.scss +11 -0
- package/src/sass/themes/frost/frost.scss +62 -0
- package/src/sass/themes/frost/images/campaigns/17-selected.png +0 -0
- package/src/sass/themes/frost/images/campaigns/17.png +0 -0
- package/src/sass/themes/frost/images/campaigns/19-selected.png +0 -0
- package/src/sass/themes/frost/images/campaigns/19.png +0 -0
- package/src/sass/themes/frost/images/campaigns/21-selected.png +0 -0
- package/src/sass/themes/frost/images/campaigns/21.png +0 -0
- package/src/sass/themes/frost/images/landing/construction_bg.jpg +0 -0
- package/src/sass/themes/frost/images/landing/construction_bg@2x.jpg +0 -0
- package/src/sass/themes/frost/images/landing/fabrics_bg.jpg +0 -0
- package/src/sass/themes/frost/images/landing/fabrics_bg@2x.jpg +0 -0
- package/src/sass/themes/frost/images/landing/football_bg.jpg +0 -0
- package/src/sass/themes/frost/images/landing/football_bg@2x.jpg +0 -0
- package/src/sass/themes/frost/images/landing/rooftop_bg.jpg +0 -0
- package/src/sass/themes/frost/images/landing/rooftop_bg@2x.jpg +0 -0
- package/src/sass/themes/frost/images/landing/rubbish-dump-01_bg.jpg +0 -0
- package/src/sass/themes/frost/images/landing/rubbish-dump-01_bg@2x.jpg +0 -0
- package/src/sass/themes/frost/images/landing/rubbish-dump-02_bg.jpg +0 -0
- package/src/sass/themes/frost/images/landing/rubbish-dump-02_bg@2x.jpg +0 -0
- package/src/sass/themes/frost/images/landing/sack-race_bg.jpg +0 -0
- package/src/sass/themes/frost/images/landing/sack-race_bg@2x.jpg +0 -0
- package/src/sass/themes/frost/images/logo/cr_logo@2x.png +0 -0
- package/src/sass/themes/frost/sr18/components/_buttons.scss +7 -0
- package/src/sass/themes/frost/sr18/components/_cookie-consent.scss +9 -0
- package/src/sass/themes/frost/sr18/components/_form.scss +31 -0
- package/src/sass/themes/frost/sr18/components/_header.scss +15 -0
- package/src/sass/themes/frost/sr18/components/_just-in-time.scss +23 -0
- package/src/sass/themes/frost/sr18/sr18.scss +71 -0
- package/src/sass/themes/frost/sr18/variables/_colours.scss +8 -0
- package/src/sass/themes/payin/_payin-styleguide.scss +17 -0
- package/src/sass/themes/payin/default/components/_payin-form.scss +611 -0
- package/src/sass/themes/payin/default/components/checkbox/_checkbox.scss +42 -0
- package/src/sass/themes/payin/default/components/checkbox/checkbox.twig +7 -0
- package/src/sass/themes/payin/default/components/images/CR__Arrow_L--white.svg +44 -0
- package/src/sass/themes/payin/default/components/images/CR__Arrow_L.svg +44 -0
- package/src/sass/themes/payin/default/components/images/CR__Chevron_D--white.svg +44 -0
- package/src/sass/themes/payin/default/components/images/CR__Chevron_D.svg +44 -0
- package/src/sass/themes/payin/default/components/images/CR__Chevron_U.svg +44 -0
- package/src/sass/themes/payin/default/components/images/arrow.png +0 -0
- package/src/sass/themes/payin/default/components/images/checkbox-checked.png +0 -0
- package/src/sass/themes/payin/default/components/images/checkbox-tick-new.png +0 -0
- package/src/sass/themes/payin/default/components/images/checkbox.png +0 -0
- package/src/sass/themes/payin/default/components/images/drop-down-dark-purple.svg +9 -0
- package/src/sass/themes/payin/default/components/images/error-alert-icon.png +0 -0
- package/src/sass/themes/payin/default/components/images/form_sprite.png +0 -0
- package/src/sass/themes/payin/default/components/images/frsb.jpg +0 -0
- package/src/sass/themes/payin/default/components/images/frsb.png +0 -0
- package/src/sass/themes/payin/default/components/images/icon_sprite.png +0 -0
- package/src/sass/themes/payin/default/components/images/info-icon.jpg +0 -0
- package/src/sass/themes/payin/default/components/images/info-icon.png +0 -0
- package/src/sass/themes/payin/default/components/images/loader.gif +0 -0
- package/src/sass/themes/payin/default/components/images/lookup-icon.png +0 -0
- package/src/sass/themes/payin/default/components/images/payment_icon.jpg +0 -0
- package/src/sass/themes/payin/default/components/images/paypal-logo.png +0 -0
- package/src/sass/themes/payin/default/components/images/paypal.svg +8 -0
- package/src/sass/themes/payin/default/components/payin-form.twig +119 -0
- package/src/sass/themes/payin/default/payin-default.scss +46 -0
- package/src/sass/themes/payin/default/variables/_payin-colours.scss +5 -0
- package/src/sass/themes/payin/default/variables/_payin-mixins.scss +5 -0
- package/src/sass/themes/payin/payin-rnd.scss +3 -0
- package/src/sass/themes/payin/payin-sr.scss +3 -0
- package/src/sass/themes/payin/rednoseday/components/failure/_failure.scss +41 -0
- package/src/sass/themes/payin/rednoseday/components/footer/_footer.scss +22 -0
- package/src/sass/themes/payin/rednoseday/components/form/_form.scss +262 -0
- package/src/sass/themes/payin/rednoseday/components/form/images/drop-down.svg +9 -0
- package/src/sass/themes/payin/rednoseday/components/header/_header.scss +36 -0
- package/src/sass/themes/payin/rednoseday/components/header/cr-logo.svg +27 -0
- package/src/sass/themes/payin/rednoseday/components/header/rnd19-logo.svg +1 -0
- package/src/sass/themes/payin/rednoseday/components/just-in-time-block/_just-in-time.scss +21 -0
- package/src/sass/themes/payin/rednoseday/components/promo-header/_promo-header.scss +28 -0
- package/src/sass/themes/payin/rednoseday/pages/failure-page.twig +14 -0
- package/src/sass/themes/payin/rednoseday/pages/payin-page.twig +859 -0
- package/src/sass/themes/payin/rednoseday/pages/success-page.twig +77 -0
- package/src/sass/themes/payin/rednoseday/payin-rednoseday.scss +33 -0
- package/src/sass/themes/payin/sportrelief/components/cards/_cards.scss +74 -0
- package/src/sass/themes/payin/sportrelief/components/cards/images/myself-friends-family.jpg +0 -0
- package/src/sass/themes/payin/sportrelief/components/cards/images/nursery-school.jpg +0 -0
- package/src/sass/themes/payin/sportrelief/components/cards/images/workplace-organisation.jpg +0 -0
- package/src/sass/themes/payin/sportrelief/components/cards/images/youth-university.jpg +0 -0
- package/src/sass/themes/payin/sportrelief/components/failure/_failure.scss +41 -0
- package/src/sass/themes/payin/sportrelief/components/footer/_footer.scss +3 -0
- package/src/sass/themes/payin/sportrelief/components/form/_form.scss +216 -0
- package/src/sass/themes/payin/sportrelief/components/form/images/drop-down.svg +9 -0
- package/src/sass/themes/payin/sportrelief/components/header/_header.scss +33 -0
- package/src/sass/themes/payin/sportrelief/components/promo-header/_promo-header.scss +28 -0
- package/src/sass/themes/payin/sportrelief/components/success/_success.scss +70 -0
- package/src/sass/themes/payin/sportrelief/pages/failure-page.twig +14 -0
- package/src/sass/themes/payin/sportrelief/pages/payin-page.twig +859 -0
- package/src/sass/themes/payin/sportrelief/pages/success-page.twig +77 -0
- package/src/sass/themes/payin/sportrelief/payin-sportrelief.scss +82 -0
- package/src/sass/themes/rnd/2017/_rnd17-styleguide.scss +496 -0
- package/src/sass/themes/rnd/2017/components/_loading.scss +101 -0
- package/src/sass/themes/rnd/2017/components/_otn.scss +9 -0
- package/src/sass/themes/rnd/2017/components/_theme.scss +246 -0
- package/src/sass/themes/rnd/2017/components/email-signup/_email-signup-sticky-nav.scss +144 -0
- package/src/sass/themes/rnd/2017/components/email-signup/_email-signup.scss +5 -0
- package/src/sass/themes/rnd/2017/components/header/_base-header.scss +26 -0
- package/src/sass/themes/rnd/2017/components/meta-icons/_meta-icons.scss +69 -0
- package/src/sass/themes/rnd/2017/components/navigation/_feature-nav.scss +69 -0
- package/src/sass/themes/rnd/2017/components/navigation/_main-nav.scss +37 -0
- package/src/sass/themes/rnd/2017/components/navigation/_sticky-nav.scss +715 -0
- package/src/sass/themes/rnd/2017/components/navigation/kids-nav/_kids-nav.scss +180 -0
- package/src/sass/themes/rnd/2017/components/navigation/kids-nav/images/kids-nav-sprite.png +0 -0
- package/src/sass/themes/rnd/2017/components/navigation/kids-nav/kids-nav.twig +13 -0
- package/src/sass/themes/rnd/2017/components/search/_search-block-sticky-nav.scss +175 -0
- package/src/sass/themes/rnd/2017/components/search/images/magnify-icon.svg +1 -0
- package/src/sass/themes/rnd/2017/components/search/images/search_page_icon.png +0 -0
- package/src/sass/themes/rnd/2017/components/search/images/search_page_icon_hover.png +0 -0
- package/src/sass/themes/rnd/2017/components/social/_social.scss +21 -0
- package/src/sass/themes/rnd/2017/components/tooltips/_tooltips.scss +14 -0
- package/src/sass/themes/rnd/2017/rnd17.scss +36 -0
- package/src/sass/themes/rnd/2017/variables/_colours.scss +25 -0
- package/src/sass/themes/rnd/2017/variables/_navigation.scss +4 -0
- package/src/sass/themes/shop/2018/_shop18-components.scss +52 -0
- package/src/sass/themes/shop/2018/_shop18-styleguide.scss +504 -0
- package/src/sass/themes/shop/2018/_typography.scss +11 -0
- package/src/sass/themes/shop/2018/base_header.twig +16 -0
- package/src/sass/themes/shop/2018/shop18.scss +68 -0
- package/src/sass/themes/shop/2018/typography.twig +116 -0
- package/src/sass/themes/shop/2019/_shop19-components.scss +60 -0
- package/src/sass/themes/shop/2019/_shop19-styleguide.scss +504 -0
- package/src/sass/themes/shop/2019/background-colours.twig +100 -0
- package/src/sass/themes/shop/2019/base_header.twig +16 -0
- package/src/sass/themes/shop/2019/colour.twig +162 -0
- package/src/sass/themes/shop/2019/form.twig +133 -0
- package/src/sass/themes/shop/2019/shop19.scss +62 -0
- package/src/sass/themes/shop/2019/typography.twig +128 -0
- package/src/sass/themes/shop/2019/variables/_main-nav.scss +3 -0
- package/src/sass/themes/sr/2018/_sr18-styleguide.scss +637 -0
- package/src/sass/themes/sr/2018/base_header.twig +10 -0
- package/src/sass/themes/sr/2018/components/app-link-block/_app-link-block.scss +209 -0
- package/src/sass/themes/sr/2018/components/app-link-block/app-link-block.twig +90 -0
- package/src/sass/themes/sr/2018/components/app-link-block/images/success-tick.svg +13 -0
- package/src/sass/themes/sr/2018/components/background-colours/_background-colours.scss +201 -0
- package/src/sass/themes/sr/2018/components/background-colours/background-colours.twig +46 -0
- package/src/sass/themes/sr/2018/components/background-single-msg/_background-single-msg.scss +3 -0
- package/src/sass/themes/sr/2018/components/bg-graphics/_bg-graphics.scss +126 -0
- package/src/sass/themes/sr/2018/components/bg-graphics/bg-graphics.twig +0 -0
- package/src/sass/themes/sr/2018/components/bg-video-copy/_bg-video-copy.scss +206 -0
- package/src/sass/themes/sr/2018/components/bg-video-copy/bg-video-copy.twig +16 -0
- package/src/sass/themes/sr/2018/components/bg-video-copy/js/bg-video-copy.js +72 -0
- package/src/sass/themes/sr/2018/components/bg-video-copy/videos/SR18-promo.mp4 +0 -0
- package/src/sass/themes/sr/2018/components/buttons/_buttons.scss +169 -0
- package/src/sass/themes/sr/2018/components/buttons/buttons.twig +27 -0
- package/src/sass/themes/sr/2018/components/cookie-consent/cookie-consent.json +7 -0
- package/src/sass/themes/sr/2018/components/cookie-consent/cookie-consent.twig +7 -0
- package/src/sass/themes/sr/2018/components/copy-copy/_copy-copy.scss +57 -0
- package/src/sass/themes/sr/2018/components/copy-copy/copy-copy.twig +22 -0
- package/src/sass/themes/sr/2018/components/copy-video/_copy-video.scss +152 -0
- package/src/sass/themes/sr/2018/components/copy-video/copy-video.twig +47 -0
- package/src/sass/themes/sr/2018/components/copy-video/js/copy-video.js +62 -0
- package/src/sass/themes/sr/2018/components/email-signup/_email-signup-head.scss +23 -0
- package/src/sass/themes/sr/2018/components/email-signup/_email-signup.scss +30 -0
- package/src/sass/themes/sr/2018/components/fixed-ratio-image/_fixed-ratio-image.scss +63 -0
- package/src/sass/themes/sr/2018/components/fixed-ratio-image/fixed-ratio-image.twig +10 -0
- package/src/sass/themes/sr/2018/components/footer-app-links-block/_footer-app-links-block.scss +65 -0
- package/src/sass/themes/sr/2018/components/footer-app-links-block/footer-app-links-block.twig +16 -0
- package/src/sass/themes/sr/2018/components/full-height-double-image-single-copy/_full-height-double-image-single-copy.scss +107 -0
- package/src/sass/themes/sr/2018/components/full-height-double-image-single-copy/full-height-double-image-single-copy.twig +23 -0
- package/src/sass/themes/sr/2018/components/full-height-single-image/_full-height-single-image.scss +138 -0
- package/src/sass/themes/sr/2018/components/full-height-single-image/full-height-single-image.twig +12 -0
- package/src/sass/themes/sr/2018/components/full-height-single-image-single-copy/_full-height-single-image-single-copy.scss +73 -0
- package/src/sass/themes/sr/2018/components/full-height-single-image-single-copy/full-height-single-image-single-copy.twig +14 -0
- package/src/sass/themes/sr/2018/components/full-height-single-image-triple-copy/_full-height-single-image-triple-copy.scss +158 -0
- package/src/sass/themes/sr/2018/components/full-height-single-image-triple-copy/full-height-single-image-triple-copy.twig +24 -0
- package/src/sass/themes/sr/2018/components/just-in-time-block/_just-in-time-block.scss +24 -0
- package/src/sass/themes/sr/2018/components/just-in-time-block/just-in-time-block.twig +11 -0
- package/src/sass/themes/sr/2018/components/links/_links.scss +86 -0
- package/src/sass/themes/sr/2018/components/links/links.twig +94 -0
- package/src/sass/themes/sr/2018/components/lists/_lists.scss +43 -0
- package/src/sass/themes/sr/2018/components/lists/lists.twig +28 -0
- package/src/sass/themes/sr/2018/components/live-total-block/_live-total-block.scss +150 -0
- package/src/sass/themes/sr/2018/components/live-total-block/images/sr18-logo-2018.svg +1 -0
- package/src/sass/themes/sr/2018/components/live-total-block/live-total-block.twig +44 -0
- package/src/sass/themes/sr/2018/components/loading/_loading.scss +101 -0
- package/src/sass/themes/sr/2018/components/media/_media.scss +9 -0
- package/src/sass/themes/sr/2018/components/membership-signup/_membership-signup.scss +479 -0
- package/src/sass/themes/sr/2018/components/membership-signup/images/drop-down-black.svg +1 -0
- package/src/sass/themes/sr/2018/components/membership-signup/images/drop-down-white.svg +9 -0
- package/src/sass/themes/sr/2018/components/membership-signup/images/membership-LG.jpg +0 -0
- package/src/sass/themes/sr/2018/components/membership-signup/images/membership-MD.jpg +0 -0
- package/src/sass/themes/sr/2018/components/membership-signup/images/membership-SM.jpg +0 -0
- package/src/sass/themes/sr/2018/components/membership-signup/images/membership2-LG.jpg +0 -0
- package/src/sass/themes/sr/2018/components/membership-signup/images/membership2-md.jpg +0 -0
- package/src/sass/themes/sr/2018/components/membership-signup/images/membership2-sm.jpg +0 -0
- package/src/sass/themes/sr/2018/components/membership-signup/js/membership-signup.js +490 -0
- package/src/sass/themes/sr/2018/components/membership-signup/membership-signup.twig +103 -0
- package/src/sass/themes/sr/2018/components/navigation/_main-nav.scss +704 -0
- package/src/sass/themes/sr/2018/components/navigation/images/SR+IGO_LOGO_RGB.svg +1 -0
- package/src/sass/themes/sr/2018/components/navigation/images/error-alert-icon-ruby.png +0 -0
- package/src/sass/themes/sr/2018/components/news-article/_news-article.scss +118 -0
- package/src/sass/themes/sr/2018/components/news-article/news-article.twig +29 -0
- package/src/sass/themes/sr/2018/components/news-teaser/_news-teaser.scss +8 -0
- package/src/sass/themes/sr/2018/components/promo-header/_promo-header.scss +61 -0
- package/src/sass/themes/sr/2018/components/search/_search-block.scss +177 -0
- package/src/sass/themes/sr/2018/components/search/images/magnify-icon.svg +1 -0
- package/src/sass/themes/sr/2018/components/search/images/search_page_icon.png +0 -0
- package/src/sass/themes/sr/2018/components/search/images/search_page_icon_hover.png +0 -0
- package/src/sass/themes/sr/2018/components/search/search.twig +21 -0
- package/src/sass/themes/sr/2018/components/search-results/_search-results.scss +127 -0
- package/src/sass/themes/sr/2018/components/single-msg/_single-msg.scss +59 -0
- package/src/sass/themes/sr/2018/components/teaser-block/_teaser-block.scss +60 -0
- package/src/sass/themes/sr/2018/components/tooltips/_tooltips.scss +9 -0
- package/src/sass/themes/sr/2018/components/typography/_fonts.scss +23 -0
- package/src/sass/themes/sr/2018/components/typography/_typography.scss +161 -0
- package/src/sass/themes/sr/2018/components/typography/typography.twig +127 -0
- package/src/sass/themes/sr/2018/main-nav.twig +86 -0
- package/src/sass/themes/sr/2018/sr18.scss +135 -0
- package/src/sass/themes/sr/2018/variables/_colours.scss +36 -0
- package/src/sass/themes/sr/2018/variables/_main-nav.scss +3 -0
- package/src/sass/themes/sr/2018/variables/_mixins.scss +82 -0
- package/src/sass/themes/sr/2018/variables/_typography.scss +106 -0
- package/src/sass/themes/sr/2018/variables/colour.twig +58 -0
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
// Mixins
|
|
2
|
+
|
|
3
|
+
// Breakpoint gutters mixin
|
|
4
|
+
@mixin breakpoint-gutters {
|
|
5
|
+
width: calc(100% - (8 * #{gutter()}) );
|
|
6
|
+
@include breakpoint($screen-md) {
|
|
7
|
+
width: calc(100% - (4 * #{gutter()}) );
|
|
8
|
+
}
|
|
9
|
+
@include breakpoint($screen-md-max) {
|
|
10
|
+
max-width: calc(#{$max-width} - (1 * #{gutter()}) );
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/** Button mixin, used by $buttonList in _buttons.scss
|
|
15
|
+
*
|
|
16
|
+
* Parameters:
|
|
17
|
+
* $button[1] = name
|
|
18
|
+
* $button[2] = background-color
|
|
19
|
+
* $button[3] = background-color for hover & focus
|
|
20
|
+
* $button[4] = text color
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
@mixin btn-variation($button){
|
|
24
|
+
// Makes .btn-green etc
|
|
25
|
+
.btn--#{nth($button, 1)} {
|
|
26
|
+
// Applies $colour-green etc.
|
|
27
|
+
background-color: nth($button, 2);
|
|
28
|
+
color: nth($button, 4);
|
|
29
|
+
transition-property: background-color;
|
|
30
|
+
transition-duration: 300ms;
|
|
31
|
+
&:hover,
|
|
32
|
+
&:focus {
|
|
33
|
+
outline: none;
|
|
34
|
+
// Applies $green-v-dark etc.
|
|
35
|
+
background-color: nth($button, 3);
|
|
36
|
+
color: nth($button, 4);
|
|
37
|
+
transition-property: background-color;
|
|
38
|
+
transition-duration: 600ms;
|
|
39
|
+
}
|
|
40
|
+
&:active {
|
|
41
|
+
transition-property: background-color;
|
|
42
|
+
transition-duration: 600ms;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/***********************************
|
|
48
|
+
* Link colour
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Parameters
|
|
53
|
+
* $link[1] = name
|
|
54
|
+
* $link[2] = border-color and text
|
|
55
|
+
* $link[3] = border-color text for hover & focus
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
@mixin link-variation($link) {
|
|
59
|
+
.link--#{nth($link, 1)} {
|
|
60
|
+
border-bottom: 4px solid nth($link, 2);
|
|
61
|
+
&:hover,
|
|
62
|
+
&:focus,
|
|
63
|
+
&:active {
|
|
64
|
+
border-bottom: 4px solid nth($link, 3);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Parameters
|
|
71
|
+
* $color[1] = name
|
|
72
|
+
* $color[2] = background colour
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
@mixin bg-variation($color) {
|
|
76
|
+
.bg--#{nth($color, 1)} {
|
|
77
|
+
background-color: nth($color, 2);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Parameters
|
|
83
|
+
* $color[1] = name
|
|
84
|
+
* $color[2] = font colour
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
@mixin font-variation($color) {
|
|
88
|
+
.font--#{nth($color, 1)} {
|
|
89
|
+
color: nth($color, 2);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
// Make inline classes stronger
|
|
93
|
+
@mixin font-variation-inline($color) {
|
|
94
|
+
&.font--#{nth($color, 1)} {
|
|
95
|
+
color: nth($color, 2);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Font sizes
|
|
101
|
+
* $fs-map = font size maps in typography vars
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
@mixin font-size($fs-map) {
|
|
105
|
+
@each $fs-breakpoint, $p-font-size in $fs-map {
|
|
106
|
+
@if $fs-breakpoint == null {
|
|
107
|
+
@include make-font-size($p-font-size);
|
|
108
|
+
}
|
|
109
|
+
@else {
|
|
110
|
+
@include breakpoint($fs-breakpoint) {
|
|
111
|
+
@include make-font-size($p-font-size);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// walks through the $fs-map, adding in line-heights
|
|
118
|
+
@mixin make-font-size($p-font-size) {
|
|
119
|
+
@if type-of($p-font-size) == "list" {
|
|
120
|
+
font-size: nth($p-font-size, 1);
|
|
121
|
+
@if (length($p-font-size) > 1) {
|
|
122
|
+
line-height: nth($p-font-size, 2);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
@else {
|
|
126
|
+
font-size: $p-font-size;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* Helper function for multi-dimensional arrays */
|
|
131
|
+
@function multimap-get($map, $keys...) {
|
|
132
|
+
@each $key in $keys {
|
|
133
|
+
$map: map-get($map, $key);
|
|
134
|
+
}
|
|
135
|
+
@return $map;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Crops 4:3 or 16:9 images to 1:1, using container width as basis */
|
|
139
|
+
@mixin square-img-ratio($width, $ratio) {
|
|
140
|
+
|
|
141
|
+
// Values associated with each 'ratio' key passed in along with the container width
|
|
142
|
+
$ratio-map: (
|
|
143
|
+
'16:9' : (height: 0, padding-bottom : $width, offset : -39%, width : 178%),
|
|
144
|
+
'4:3' : (height: 0, padding-bottom : $width, offset: -16%, width : 134%),
|
|
145
|
+
'reset': (height: auto, padding-bottom : 0, offset: 0, width : 100%)
|
|
146
|
+
);
|
|
147
|
+
|
|
148
|
+
padding-bottom: multimap-get($ratio-map, $ratio, "padding-bottom");
|
|
149
|
+
height: multimap-get($ratio-map, $ratio, "height");
|
|
150
|
+
overflow:hidden;
|
|
151
|
+
|
|
152
|
+
img {
|
|
153
|
+
margin-left: multimap-get( $ratio-map, $ratio, "offset");
|
|
154
|
+
width: multimap-get( $ratio-map, $ratio, "width");
|
|
155
|
+
height: auto;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// Visually hidden
|
|
160
|
+
|
|
161
|
+
@mixin visuallyhidden {
|
|
162
|
+
position: absolute;
|
|
163
|
+
margin: -1px;
|
|
164
|
+
padding: 0;
|
|
165
|
+
width: 1px;
|
|
166
|
+
height: 1px;
|
|
167
|
+
border: 0;
|
|
168
|
+
overflow: hidden;
|
|
169
|
+
clip: rect(1px 1px 1px 1px);
|
|
170
|
+
word-wrap: normal;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.visuallyhidden,
|
|
174
|
+
.visually-hidden {
|
|
175
|
+
@include visuallyhidden;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.hide {
|
|
179
|
+
display: none;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
//no objectfit
|
|
183
|
+
@mixin no-objectfit {
|
|
184
|
+
.no-objectfit & {
|
|
185
|
+
position: absolute;
|
|
186
|
+
top: -100%;
|
|
187
|
+
right: -100%;
|
|
188
|
+
bottom: -100%;
|
|
189
|
+
left: -100%;
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
width: auto;
|
|
192
|
+
max-width: none;
|
|
193
|
+
height: 100%!important;
|
|
194
|
+
max-height: none;
|
|
195
|
+
margin: auto;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/* Not all of these options and additional rules are provided by PostCSS Autoprefix, so am leaving this in */
|
|
199
|
+
@mixin border-radius( $radius: $default-border-radius, $vertical-radius: false ) {
|
|
200
|
+
@if $vertical-radius {
|
|
201
|
+
-webkit-border-radius: $radius $vertical-radius;
|
|
202
|
+
-moz-border-radius: $radius / $vertical-radius;
|
|
203
|
+
border-radius: $radius / $vertical-radius;
|
|
204
|
+
-moz-background-clip: padding;
|
|
205
|
+
-webkit-background-clip: padding-box;
|
|
206
|
+
background-clip: padding-box;
|
|
207
|
+
} @else {
|
|
208
|
+
-webkit-border-radius: $radius;
|
|
209
|
+
-moz-border-radius: $radius;
|
|
210
|
+
border-radius: $radius;
|
|
211
|
+
-moz-background-clip: padding;
|
|
212
|
+
-webkit-background-clip: padding-box;
|
|
213
|
+
background-clip: padding-box;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@mixin clearfix {
|
|
218
|
+
overflow: hidden;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* Opacity prefixes not supported by PostCSS */
|
|
222
|
+
@mixin opacity( $arg ) {
|
|
223
|
+
filter: alpha(opacity=($arg * 100));
|
|
224
|
+
-moz-opacity: $arg;
|
|
225
|
+
-khtml-opacity: $arg;
|
|
226
|
+
-webkit-opacity: $arg;
|
|
227
|
+
opacity: $arg;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@mixin linear-gradient( $color1, $color2 ) {
|
|
231
|
+
background-color: $color2;
|
|
232
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from($color1), to($color2));
|
|
233
|
+
background-image: -webkit-linear-gradient(left, $color1, $color2);
|
|
234
|
+
background-image: -moz-linear-gradient(right, $color2, $color1);
|
|
235
|
+
background-image: -ms-linear-gradient(left, $color1, $color2);
|
|
236
|
+
background-image: -o-linear-gradient(left, $color1, $color2);
|
|
237
|
+
background-image: linear-gradient(to left, $color1, $color2);
|
|
238
|
+
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#{$color1}', EndColorStr='#{$color2}');
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@mixin nowrap() {
|
|
242
|
+
text-overflow: ellipsis;
|
|
243
|
+
white-space: nowrap;
|
|
244
|
+
overflow: hidden;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/* Additional rules not supplied by PostCSS, so leaving this in */
|
|
248
|
+
@mixin breakword-hyphenated() {
|
|
249
|
+
-ms-word-break: break-all;
|
|
250
|
+
word-break: break-all;
|
|
251
|
+
// Non standard for webkit
|
|
252
|
+
word-break: break-word;
|
|
253
|
+
|
|
254
|
+
-webkit-hyphens: auto;
|
|
255
|
+
-moz-hyphens: auto;
|
|
256
|
+
hyphens: auto;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@mixin retina {
|
|
260
|
+
@media
|
|
261
|
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
|
262
|
+
only screen and (min--moz-device-pixel-ratio: 2),
|
|
263
|
+
only screen and (-o-min-device-pixel-ratio: 2/1),
|
|
264
|
+
only screen and (min-device-pixel-ratio: 2),
|
|
265
|
+
only screen and (min-resolution: 192dpi),
|
|
266
|
+
only screen and (min-resolution: 2dppx) {
|
|
267
|
+
@content;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
@mixin optional-at-root($sel) {
|
|
273
|
+
@at-root #{if(not &, $sel, selector-append(&, $sel))} {
|
|
274
|
+
@content;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
@mixin placeholder($color, $font-size, $body-font, $line-height:"normal", $font-weight:"normal", $font-size--md: $font-size, $line-height--md:"normal") {
|
|
279
|
+
@include optional-at-root('::placeholder') {
|
|
280
|
+
color: $color;
|
|
281
|
+
font-size: $font-size;
|
|
282
|
+
line-height: $line-height;
|
|
283
|
+
font-family: $body-font;
|
|
284
|
+
opacity: 1;
|
|
285
|
+
overflow: visible;
|
|
286
|
+
font-weight: $font-weight;
|
|
287
|
+
|
|
288
|
+
@include breakpoint($screen-md) {
|
|
289
|
+
font-size: $font-size--md;
|
|
290
|
+
line-height: $line-height--md;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
@include optional-at-root('::-webkit-input-placeholder') {
|
|
294
|
+
color: $color;
|
|
295
|
+
font-size: $font-size;
|
|
296
|
+
line-height: $line-height;
|
|
297
|
+
font-family: $body-font;
|
|
298
|
+
opacity: 1;
|
|
299
|
+
overflow: visible;
|
|
300
|
+
font-weight: $font-weight;
|
|
301
|
+
@include breakpoint($screen-md) {
|
|
302
|
+
font-size: $font-size--md;
|
|
303
|
+
line-height: $line-height--md;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
@include optional-at-root(':-ms-input-placeholder') {
|
|
308
|
+
color: $color;
|
|
309
|
+
font-size: $font-size;
|
|
310
|
+
line-height: $line-height;
|
|
311
|
+
font-family: $body-font;
|
|
312
|
+
opacity: 1;
|
|
313
|
+
overflow: visible;
|
|
314
|
+
font-weight: $font-weight;
|
|
315
|
+
@include breakpoint($screen-md) {
|
|
316
|
+
font-size: $font-size--md;
|
|
317
|
+
line-height: $line-height--md;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
// safari only hack
|
|
322
|
+
@media screen and (min-color-index:0) and (-webkit-min-device-pixel-ratio:0) {
|
|
323
|
+
@include optional-at-root('::-webkit-input-placeholder') {
|
|
324
|
+
opacity: 0.7;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Breakpoint mixin? move to mixins
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Breakpoints
|
|
5
|
+
*
|
|
6
|
+
* For usage, please refer to:
|
|
7
|
+
* http://wiki.comicrelief.com/wiki/CR_Layout_V2#Breakpoints_and_SASS_Usage
|
|
8
|
+
* More on the breakpoint mixin usage:
|
|
9
|
+
* https://github.com/Team-Sass/breakpoint/wiki
|
|
10
|
+
*
|
|
11
|
+
* Single query breakpoint:
|
|
12
|
+
* @include breakpoint(md) { ... }
|
|
13
|
+
*
|
|
14
|
+
* Single custom breakpoint:
|
|
15
|
+
* @include breakpoint(100px) { ... }
|
|
16
|
+
*
|
|
17
|
+
* Min and max query breakpoint:
|
|
18
|
+
* @include breakpoint(100px, 200px) { ... }
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
@mixin breakpoint($min: 0, $max: 0) {
|
|
23
|
+
$type: type-of($min);
|
|
24
|
+
|
|
25
|
+
@if $type == string {
|
|
26
|
+
|
|
27
|
+
@if $min == md {
|
|
28
|
+
@media (min-width: $screen-md-min) { @content; }
|
|
29
|
+
.lt-ie9 & { @content }
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@else if $min == lg {
|
|
33
|
+
@media (min-width: $screen-lg) { @content; }
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@else {
|
|
37
|
+
@warn "Breakpoint mixin supports: md, lg";
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@else if $type == number {
|
|
42
|
+
$query: "all" !default;
|
|
43
|
+
@if $min != 0 and $max != 0 {
|
|
44
|
+
$query: "(min-width: #{$min}) and (max-width: #{$max})";
|
|
45
|
+
}
|
|
46
|
+
@else if $min != 0 and $max == 0 {
|
|
47
|
+
$query: "(min-width: #{$min})";
|
|
48
|
+
}
|
|
49
|
+
@else if $min == 0 and $max != 0 {
|
|
50
|
+
$query: "(max-width: #{$max})";
|
|
51
|
+
}
|
|
52
|
+
@media #{$query} {
|
|
53
|
+
@content;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// Import font
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'GT-Walsheim-Light-Oblique';
|
|
4
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Light-Oblique.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
5
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Light-Oblique.woff') format('woff'), /* Modern Browsers */
|
|
6
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Light-Oblique.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
7
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Light-Oblique.eot'); /* IE9 Compat Modes */
|
|
8
|
+
font-display: fallback;
|
|
9
|
+
}
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'GT-Walsheim-Light';
|
|
12
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Light.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
13
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Light.woff') format('woff'), /* Modern Browsers */
|
|
14
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Light.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
15
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Light.eot'); /* IE9 Compat Modes */
|
|
16
|
+
font-display: fallback;
|
|
17
|
+
}
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'GT-Walsheim-Regular-Oblique';
|
|
20
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Regular-Oblique.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
21
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Regular-Oblique.woff') format('woff'), /* Modern Browsers */
|
|
22
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Regular-Oblique.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
23
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Regular-Oblique.eot');/* IE9 Compat Modes */
|
|
24
|
+
font-display: fallback;
|
|
25
|
+
}
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'GT-Walsheim-Regular';
|
|
28
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Regular.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
29
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Regular.woff') format('woff'), /* Modern Browsers */
|
|
30
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
31
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Regular.eot'); /* IE9 Compat Modes */
|
|
32
|
+
font-display: fallback;
|
|
33
|
+
}
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: 'GT-Walsheim-Black-Oblique';
|
|
36
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Black-Oblique.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
37
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Black-Oblique.woff') format('woff'), /* Modern Browsers */
|
|
38
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Black-Oblique.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
39
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Black-Oblique.eot'); /* IE9 Compat Modes */
|
|
40
|
+
font-display: fallback;
|
|
41
|
+
}
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: 'GT-Walsheim-Black';
|
|
44
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Black.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
45
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Black.woff') format('woff'), /* Modern Browsers */
|
|
46
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Black.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
47
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Black.eot'); /* IE9 Compat Modes */
|
|
48
|
+
font-display: fallback;
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'GT-Walsheim-Bold-Oblique';
|
|
52
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Bold-Oblique.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
53
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Bold-Oblique.woff') format('woff'), /* Modern Browsers */
|
|
54
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Bold-Oblique.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
55
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Bold-Oblique.eot'); /* IE9 Compat Modes */
|
|
56
|
+
font-display: fallback;
|
|
57
|
+
}
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: 'GT-Walsheim-Bold';
|
|
60
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Bold.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
61
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Bold.woff') format('woff'), /* Modern Browsers */
|
|
62
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Bold.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
63
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Bold.eot'); /* IE9 Compat Modes */
|
|
64
|
+
font-display: fallback;
|
|
65
|
+
}
|
|
66
|
+
@font-face {
|
|
67
|
+
font-family: 'GT-Walsheim-Medium-Oblique';
|
|
68
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Medium-Oblique.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
69
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Medium-Oblique.woff') format('woff'), /* Modern Browsers */
|
|
70
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Medium-Oblique.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
71
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Medium-Oblique.eot'); /* IE9 Compat Modes */
|
|
72
|
+
font-display: fallback;
|
|
73
|
+
}
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'GT-Walsheim-Medium';
|
|
76
|
+
src: url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Medium.woff2') format('woff2'), /* Pretty Modern Browsers */
|
|
77
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Medium.woff') format('woff'), /* Modern Browsers */
|
|
78
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Medium.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
79
|
+
url('https://d2xeqttht14d9p.cloudfront.net/GT-Walsheim-Medium.eot'); /* IE9 Compat Modes */
|
|
80
|
+
font-display: fallback;
|
|
81
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
// ==========================================================================
|
|
3
|
+
// Reset
|
|
4
|
+
// ==========================================================================
|
|
5
|
+
|
|
6
|
+
body, div,
|
|
7
|
+
dl, dt, dd,
|
|
8
|
+
ul, ol, li,
|
|
9
|
+
h1, h2, h3, h4, h5, h6,
|
|
10
|
+
pre, form, fieldset, input, textarea,
|
|
11
|
+
p, blockquote, th, td { margin: 0; padding: 0; }
|
|
12
|
+
table { border-collapse: collapse; border-spacing: 0; }
|
|
13
|
+
fieldset, img { border: 0; }
|
|
14
|
+
caption, th { text-align: left; }
|
|
15
|
+
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
|
|
16
|
+
q:before,q:after { content: ''; }
|
|
17
|
+
abbr, acronym { border: 0; }
|
|
18
|
+
|
|
19
|
+
/* apply a natural box layout model to all elements, but allowing components to change */
|
|
20
|
+
html {
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
}
|
|
23
|
+
*, *:before, *:after {
|
|
24
|
+
box-sizing: inherit;
|
|
25
|
+
}
|
|
26
|
+
ol, ul {
|
|
27
|
+
list-style: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
body {
|
|
31
|
+
-webkit-font-smoothing: antialiased;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
picture img,
|
|
35
|
+
legend {
|
|
36
|
+
width: 100%;
|
|
37
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* breakpoint class hidden and shown by CSS so the JS can determine the current breakpoint easily.
|
|
2
|
+
* Used by for example the background video component
|
|
3
|
+
*/
|
|
4
|
+
span.md-breakpoint {
|
|
5
|
+
display: none;
|
|
6
|
+
visibility: hidden;
|
|
7
|
+
@include breakpoint($screen-md) {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
// Colours
|
|
3
|
+
//
|
|
4
|
+
// Markup: colour.twig
|
|
5
|
+
//
|
|
6
|
+
// Style guide: 10.5
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
* Colours
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// Colours
|
|
13
|
+
|
|
14
|
+
// Brand colors
|
|
15
|
+
|
|
16
|
+
$colour-red: #f04257 !default;
|
|
17
|
+
$colour-blue: #22d2dc !default;
|
|
18
|
+
$colour-yellow: #fbef51 !default;
|
|
19
|
+
$colour-green: #b2e55e !default;
|
|
20
|
+
$colour-teal: #00beca !default;
|
|
21
|
+
$colour-royal-blue: #0565d1 !default;
|
|
22
|
+
$colour-purple: #7d2ca9 !default;
|
|
23
|
+
$colour-dark-purple: #7023b7 !default;
|
|
24
|
+
$colour-pink: #fc9eb9 !default;
|
|
25
|
+
|
|
26
|
+
$colour-black: #030e1a !default;
|
|
27
|
+
$colour-dark-blue: #061d38 !default;
|
|
28
|
+
$colour-dark-grey: #333 !default;
|
|
29
|
+
$colour-jasper-grey: #666 !default;
|
|
30
|
+
$colour-greyboy-grey: #999 !default;
|
|
31
|
+
$colour-gainsboro-grey: #c7c7c7 !default;
|
|
32
|
+
$colour-light-grey: #dddddd !default;
|
|
33
|
+
$colour-smoke-grey: #f0f0f0 !default;
|
|
34
|
+
$colour-white: #fff !default;
|
|
35
|
+
|
|
36
|
+
/* Single message row background colour, used in June site, to be renamed and updated */
|
|
37
|
+
$cream-grey: #F5F2ED !default;
|
|
38
|
+
$item-grey: #ddd !default;
|
|
39
|
+
|
|
40
|
+
/* standard form colors */
|
|
41
|
+
$colour-scorpion-grey:#595959 !default;
|
|
42
|
+
$colour-ribbon-red: #EA0043 !default;
|
|
43
|
+
$colour-persian-purple: #340F78 !default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* Susy Grid and breakpoints */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* TODO: Extract grid from susy framework instead of importing all
|
|
5
|
+
*/
|
|
6
|
+
@import "~susy/sass/_susy";
|
|
7
|
+
|
|
8
|
+
/* Small breakpoint */
|
|
9
|
+
$screen-sm: 0px;
|
|
10
|
+
$screen-sm-min: $screen-sm;
|
|
11
|
+
$screen-sm-max: 739px;
|
|
12
|
+
|
|
13
|
+
/* Medium breakpoint */
|
|
14
|
+
$screen-md: 740px;
|
|
15
|
+
$screen-md-min: $screen-md;
|
|
16
|
+
$screen-md-max: 1023px;
|
|
17
|
+
|
|
18
|
+
$screen-md-only: $screen-md $screen-md-max;
|
|
19
|
+
|
|
20
|
+
/* Large breakpoint */
|
|
21
|
+
$screen-lg: 1024px;
|
|
22
|
+
$screen-lg-min: $screen-lg;
|
|
23
|
+
$screen-lg-max: 1439px;
|
|
24
|
+
|
|
25
|
+
/* Tweaked breakpoints to allow 'mobile' style nav on iPad landscape */
|
|
26
|
+
$desktop-nav-breakpoint: 1150px;
|
|
27
|
+
$desktop-max-nav-breakpoint: max-width 1150px;
|
|
28
|
+
$desktop-nav-breakpoint-min: $desktop-nav-breakpoint;
|
|
29
|
+
|
|
30
|
+
/* Extra Large breakpoint */
|
|
31
|
+
$screen-xlg: 1440px;
|
|
32
|
+
$screen-xlg-min: $screen-xlg;
|
|
33
|
+
|
|
34
|
+
/* Grid values */
|
|
35
|
+
$max-width: 1200px;
|
|
36
|
+
|
|
37
|
+
$gutter: 30px;
|
|
38
|
+
$column: 70px;
|
|
39
|
+
|
|
40
|
+
$columns: 12;
|
|
41
|
+
|
|
42
|
+
/* Changing Susy default global settings */
|
|
43
|
+
$susy: (
|
|
44
|
+
columns: $columns,
|
|
45
|
+
container: $max-width,
|
|
46
|
+
gutters: $gutter/$column,
|
|
47
|
+
global-box-sizing: border-box,
|
|
48
|
+
gutter-position: split,
|
|
49
|
+
output: float,
|
|
50
|
+
last-flow: to
|
|
51
|
+
);
|