@comicrelief/storybook 1.34.0 → 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.
Files changed (565) hide show
  1. package/README.md +1 -0
  2. package/build/index.js +4 -4
  3. package/package.json +2 -2
  4. package/src/components/BrowserSupportMessage/BrowserSupport.scss +9 -9
  5. package/src/components/CookieConsentMessage/CookieConsent.scss +13 -13
  6. package/src/components/Footer/Footer.js +1 -2
  7. package/src/components/Footer/footer.scss +9 -9
  8. package/src/components/Footer/package.json +1 -2
  9. package/src/components/GrantsNearYou/GrantsNearYou.scss +9 -9
  10. package/src/components/JustInTime/JustInTime.scss +6 -6
  11. package/src/components/RadioButtons/RadioButtons.scss +9 -9
  12. package/src/components/SVG/instagram.svg +18 -0
  13. package/src/components/SVG/spritesheet.svg +142 -0
  14. package/src/components/SchoolsLookUp/SchoolsLookUp.scss +11 -11
  15. package/src/components/SocialLink/SocialLink.js +2 -2
  16. package/src/components/SocialLink/package.json +1 -2
  17. package/src/sass/base/_components.scss +66 -0
  18. package/src/sass/base/_core.scss +12 -0
  19. package/src/sass/base/_variables.scss +9 -0
  20. package/src/sass/base/components/animations/_animations.scss +37 -0
  21. package/src/sass/base/components/animations/animations.twig +1 -0
  22. package/src/sass/base/components/background-colours/_background-colours.scss +105 -0
  23. package/src/sass/base/components/background-colours/background-colours.twig +28 -0
  24. package/src/sass/base/components/background-single-msg/_background-single-msg.scss +69 -0
  25. package/src/sass/base/components/background-single-msg/background-single-msg.twig +16 -0
  26. package/src/sass/base/components/banners/_card-banner.scss +87 -0
  27. package/src/sass/base/components/banners/card-banner.json +5 -0
  28. package/src/sass/base/components/banners/card-banner.twig +13 -0
  29. package/src/sass/base/components/buttons/_buttons.scss +158 -0
  30. package/src/sass/base/components/buttons/buttons.twig +4 -0
  31. package/src/sass/base/components/card-block/_card.scss +85 -0
  32. package/src/sass/base/components/card-block/card.json +5 -0
  33. package/src/sass/base/components/card-block/card.twig +13 -0
  34. package/src/sass/base/components/cards/_cards.scss +55 -0
  35. package/src/sass/base/components/cards/cards.twig +19 -0
  36. package/src/sass/base/components/content-block/_content-block.scss +67 -0
  37. package/src/sass/base/components/content-block/content-block.twig +20 -0
  38. package/src/sass/base/components/content-wall/_content-wall.scss +57 -0
  39. package/src/sass/base/components/content-wall/content-wall.twig +211 -0
  40. package/src/sass/base/components/cookie-consent/_cookie-consent.scss +116 -0
  41. package/src/sass/base/components/cookie-consent/cookie-consent.json +7 -0
  42. package/src/sass/base/components/cookie-consent/cookie-consent.twig +7 -0
  43. package/src/sass/base/components/custom-block/_custom-block.scss +16 -0
  44. package/src/sass/base/components/demo/_demo.scss +5 -0
  45. package/src/sass/base/components/demo/demo.json +5 -0
  46. package/src/sass/base/components/demo/demo.twig +14 -0
  47. package/src/sass/base/components/email-signup/_email-signup-head.scss +163 -0
  48. package/src/sass/base/components/email-signup/_email-signup.scss +835 -0
  49. package/src/sass/base/components/email-signup/email-signup-fundraise.twig +33 -0
  50. package/src/sass/base/components/email-signup/email-signup-header.twig +38 -0
  51. package/src/sass/base/components/email-signup/email-signup-interest.twig +35 -0
  52. package/src/sass/base/components/email-signup/email-signup-standard.twig +50 -0
  53. package/src/sass/base/components/email-signup/email-signup-workplace.twig +39 -0
  54. package/src/sass/base/components/email-signup/images/arrow-right.svg +6 -0
  55. package/src/sass/base/components/email-signup/images/cross-close.svg +5 -0
  56. package/src/sass/base/components/email-signup/images/error-icon.png +0 -0
  57. package/src/sass/base/components/email-signup/images/error-red-cross.svg +7 -0
  58. package/src/sass/base/components/email-signup/images/esuEmailIconLarge.png +0 -0
  59. package/src/sass/base/components/email-signup/images/esuEmailIconSmall.png +0 -0
  60. package/src/sass/base/components/email-signup/images/fixedplaceholder-register-interest-bg-1x.png +0 -0
  61. package/src/sass/base/components/email-signup/images/fixedplaceholder-register-interest-bg-2x.png +0 -0
  62. package/src/sass/base/components/email-signup/images/fixedplaceholder-register-interest-bg-sm-1x.png +0 -0
  63. package/src/sass/base/components/email-signup/images/fixedplaceholder-register-interest-bg-sm-2x.png +0 -0
  64. package/src/sass/base/components/external-link/_external-link.scss +16 -0
  65. package/src/sass/base/components/feature-articles-block/_feature-articles-block.scss +30 -0
  66. package/src/sass/base/components/feature-articles-block/feature-articles-block.twig +14 -0
  67. package/src/sass/base/components/footer/_footer.scss +39 -0
  68. package/src/sass/base/components/footer/footer.twig +24 -0
  69. package/src/sass/base/components/form/_form.scss +132 -0
  70. package/src/sass/base/components/form/_standard-form.scss +361 -0
  71. package/src/sass/base/components/form/form.twig +146 -0
  72. package/src/sass/base/components/form/images/checkbox-white-tick.png +0 -0
  73. package/src/sass/base/components/form/images/error-alert-icon.png +0 -0
  74. package/src/sass/base/components/fundraising-target/_fundraising-target.scss +99 -0
  75. package/src/sass/base/components/fundraising-target/fundraising-target.twig +23 -0
  76. package/src/sass/base/components/grants-near-you/__grants-near-you.scss +111 -0
  77. package/src/sass/base/components/grid/_grid.scss +73 -0
  78. package/src/sass/base/components/grid/grid.twig +108 -0
  79. package/src/sass/base/components/header/_base-header.scss +52 -0
  80. package/src/sass/base/components/header/base_header.twig +8 -0
  81. package/src/sass/base/components/iframe-block/_iframe-block.scss +64 -0
  82. package/src/sass/base/components/just-in-time-block/_just-in-time.scss +90 -0
  83. package/src/sass/base/components/just-in-time-block/just-in-time-block.twig +11 -0
  84. package/src/sass/base/components/lightcase/_lightcase.scss +482 -0
  85. package/src/sass/base/components/links/_links.scss +42 -0
  86. package/src/sass/base/components/links/links.twig +9 -0
  87. package/src/sass/base/components/list/_list.scss +37 -0
  88. package/src/sass/base/components/media/_media.scss +37 -0
  89. package/src/sass/base/components/media-block/_media-block.scss +84 -0
  90. package/src/sass/base/components/media-block/js/media-block.js +31 -0
  91. package/src/sass/base/components/media-block/media-block.twig +31 -0
  92. package/src/sass/base/components/meta-icons/_meta-icons.scss +74 -0
  93. package/src/sass/base/components/meta-icons/meta-icons.twig +20 -0
  94. package/src/sass/base/components/navigation/SR18_logo_date_blacktext.svg +90 -0
  95. package/src/sass/base/components/navigation/SR18_logo_date_whitetext.svg +91 -0
  96. package/src/sass/base/components/navigation/_feature-nav.scss +150 -0
  97. package/src/sass/base/components/navigation/_footer-nav.scss +37 -0
  98. package/src/sass/base/components/navigation/_hamburger-menu-button.scss +108 -0
  99. package/src/sass/base/components/navigation/_main-nav.scss +248 -0
  100. package/src/sass/base/components/navigation/feature-nav-open.twig +22 -0
  101. package/src/sass/base/components/navigation/feature-nav.twig +46 -0
  102. package/src/sass/base/components/navigation/footer-nav.twig +16 -0
  103. package/src/sass/base/components/navigation/js/main-nav.js +173 -0
  104. package/src/sass/base/components/navigation/main-nav.twig +82 -0
  105. package/src/sass/base/components/news-article/_news-article.scss +128 -0
  106. package/src/sass/base/components/news-article/_press-release-article.scss +21 -0
  107. package/src/sass/base/components/news-article/news-article.twig +60 -0
  108. package/src/sass/base/components/news-article/press-release-article.twig +54 -0
  109. package/src/sass/base/components/news-overview/_news.scss +118 -0
  110. package/src/sass/base/components/news-overview/news.twig +256 -0
  111. package/src/sass/base/components/news-overview/news_press-releases.twig +148 -0
  112. package/src/sass/base/components/news-teaser/_news-article-teaser.scss +132 -0
  113. package/src/sass/base/components/news-teaser/_news-teaser.scss +42 -0
  114. package/src/sass/base/components/news-teaser/images/copyvideo--play-icon.svg +13 -0
  115. package/src/sass/base/components/news-teaser/images/copyvideo--play-icon__hover.svg +15 -0
  116. package/src/sass/base/components/news-teaser/images/play-icon.svg +5 -0
  117. package/src/sass/base/components/news-teaser/images/press-logos.png +0 -0
  118. package/src/sass/base/components/news-teaser/news-teaser.twig +15 -0
  119. package/src/sass/base/components/pagination/_pagination.scss +50 -0
  120. package/src/sass/base/components/pagination/pagination.twig +29 -0
  121. package/src/sass/base/components/paragraph--cr-single-message-row/_paragraph--cr-single-message-row.scss +170 -0
  122. package/src/sass/base/components/partners/_partners.scss +62 -0
  123. package/src/sass/base/components/partners/partners.twig +25 -0
  124. package/src/sass/base/components/partners-grid/_partners-grid.scss +97 -0
  125. package/src/sass/base/components/partners-grid/partners-grid.twig +121 -0
  126. package/src/sass/base/components/partners-row/_partners-row.scss +54 -0
  127. package/src/sass/base/components/partners-row/partners-row.twig +18 -0
  128. package/src/sass/base/components/postcode-lookup/_postcode-lookup.scss +74 -0
  129. package/src/sass/base/components/postcode-lookup/postcode-lookup.twig +56 -0
  130. package/src/sass/base/components/progress-bar/_progress-bar.scss +120 -0
  131. package/src/sass/base/components/progress-bar/images/navbar-sprite.png +0 -0
  132. package/src/sass/base/components/progress-bar/progress-bar.twig +23 -0
  133. package/src/sass/base/components/progress-indicator/_progress-indicator.scss +119 -0
  134. package/src/sass/base/components/progress-indicator/progress-indicator.twig +28 -0
  135. package/src/sass/base/components/promo-header/_promo-header.scss +244 -0
  136. package/src/sass/base/components/promo-header/promo-header.twig +16 -0
  137. package/src/sass/base/components/quote-block/_content-wall-quote.scss +109 -0
  138. package/src/sass/base/components/quote-block/content-wall-quote.twig +18 -0
  139. package/src/sass/base/components/related-articles/_related-articles.scss +34 -0
  140. package/src/sass/base/components/schools-look-up/_schools-look-up.scss +93 -0
  141. package/src/sass/base/components/search/_search-block.scss +182 -0
  142. package/src/sass/base/components/search/images/magnify.svg +11 -0
  143. package/src/sass/base/components/search/images/search_page_icon.png +0 -0
  144. package/src/sass/base/components/search/images/search_page_icon_hover.png +0 -0
  145. package/src/sass/base/components/search/search.twig +26 -0
  146. package/src/sass/base/components/search-results/_search-result.scss +163 -0
  147. package/src/sass/base/components/search-results/search-results.twig +211 -0
  148. package/src/sass/base/components/selectbox/_selectbox.scss +471 -0
  149. package/src/sass/base/components/single-msg/_single-msg.scss +345 -0
  150. package/src/sass/base/components/single-msg/single-msg.twig +27 -0
  151. package/src/sass/base/components/social/_social.scss +74 -0
  152. package/src/sass/base/components/social/social-following.twig +39 -0
  153. package/src/sass/base/components/social/social-sharing.twig +23 -0
  154. package/src/sass/base/components/story/_story.scss +309 -0
  155. package/src/sass/base/components/story/_story.twig +53 -0
  156. package/src/sass/base/components/svg/instagram.svg +18 -0
  157. package/src/sass/base/components/svg/spritesheet.svg +142 -0
  158. package/src/sass/base/components/table/_table.scss +8 -0
  159. package/src/sass/base/components/table/table.twig +48 -0
  160. package/src/sass/base/components/teaser-block/_teaser-block.scss +156 -0
  161. package/src/sass/base/components/teaser-block/teaser-block.twig +17 -0
  162. package/src/sass/base/components/teaser-block/teaser-row.twig +128 -0
  163. package/src/sass/base/components/tooltips/_tooltips.scss +46 -0
  164. package/src/sass/base/components/typography/_typography.scss +99 -0
  165. package/src/sass/base/components/typography/typography.twig +25 -0
  166. package/src/sass/base/components/views/_views.scss +11 -0
  167. package/src/sass/base/core/_base-1-mixins.scss +327 -0
  168. package/src/sass/base/core/_base-breakpoints.scss +56 -0
  169. package/src/sass/base/core/_base-common.scss +8 -0
  170. package/src/sass/base/core/_base-fonts.scss +81 -0
  171. package/src/sass/base/core/_base-grid.scss +1 -0
  172. package/src/sass/base/core/_base-helper.scss +4 -0
  173. package/src/sass/base/core/_base-layout.scss +4 -0
  174. package/src/sass/base/core/_base-reset.scss +37 -0
  175. package/src/sass/base/helpers/_js-breakpoint-class-helper.scss +10 -0
  176. package/src/sass/base/variables/_colours.scss +43 -0
  177. package/src/sass/base/variables/_grid.scss +51 -0
  178. package/src/sass/base/variables/_lists.scss +66 -0
  179. package/src/sass/base/variables/_theme.scss +3 -0
  180. package/src/sass/base/variables/_typography.scss +88 -0
  181. package/src/sass/base/variables/colour.twig +82 -0
  182. package/src/sass/themes/base/base-styleguide.scss +497 -0
  183. package/src/sass/themes/base/base.scss +8 -0
  184. package/src/sass/themes/cr/2017/_cr17-components.scss +47 -0
  185. package/src/sass/themes/cr/2017/_cr17-styleguide.scss +522 -0
  186. package/src/sass/themes/cr/2017/components/background-colours/_background-colours.scss +104 -0
  187. package/src/sass/themes/cr/2017/components/background-colours/background-colours.twig +25 -0
  188. package/src/sass/themes/cr/2017/components/buttons/_buttons.scss +67 -0
  189. package/src/sass/themes/cr/2017/components/buttons/buttons.twig +39 -0
  190. package/src/sass/themes/cr/2017/components/content-block/_content-block.scss +5 -0
  191. package/src/sass/themes/cr/2017/components/content-block/content-block.twig +20 -0
  192. package/src/sass/themes/cr/2017/components/content-wall/content-wall.twig +213 -0
  193. package/src/sass/themes/cr/2017/components/cookie-consent/_cookie-consent.scss +18 -0
  194. package/src/sass/themes/cr/2017/components/cookie-consent/cookie-consent.json +7 -0
  195. package/src/sass/themes/cr/2017/components/cookie-consent/cookie-consent.twig +4 -0
  196. package/src/sass/themes/cr/2017/components/email-signup/_email-signup-head.scss +5 -0
  197. package/src/sass/themes/cr/2017/components/highlight/_highlight.scss +35 -0
  198. package/src/sass/themes/cr/2017/components/highlight/highlight.twig +1 -0
  199. package/src/sass/themes/cr/2017/components/just-in-time-block/_just-in-time-block.scss +6 -0
  200. package/src/sass/themes/cr/2017/components/links/_links.scss +43 -0
  201. package/src/sass/themes/cr/2017/components/links/links.twig +26 -0
  202. package/src/sass/themes/cr/2017/components/loading/_loading.scss +101 -0
  203. package/src/sass/themes/cr/2017/components/media-block/_media-block.scss +16 -0
  204. package/src/sass/themes/cr/2017/components/media-block/media-block.twig +31 -0
  205. package/src/sass/themes/cr/2017/components/meta-icons/_meta-icons.scss +64 -0
  206. package/src/sass/themes/cr/2017/components/navigation/_expanded-footer.scss +291 -0
  207. package/src/sass/themes/cr/2017/components/navigation/_main-nav.scss +365 -0
  208. package/src/sass/themes/cr/2017/components/navigation/cr18-logo.png +0 -0
  209. package/src/sass/themes/cr/2017/components/navigation/expanded-footer.twig +180 -0
  210. package/src/sass/themes/cr/2017/components/navigation/footer-nav.twig +116 -0
  211. package/src/sass/themes/cr/2017/components/navigation/js/expanded-footer.js +31 -0
  212. package/src/sass/themes/cr/2017/components/news-teaser/images/news-default-img.jpg +0 -0
  213. package/src/sass/themes/cr/2017/components/news-teaser/news-teaser.twig +15 -0
  214. package/src/sass/themes/cr/2017/components/single-msg/_single-msg.scss +238 -0
  215. package/src/sass/themes/cr/2017/components/single-msg/single-msg.twig +125 -0
  216. package/src/sass/themes/cr/2017/components/typography/_fonts.scss +192 -0
  217. package/src/sass/themes/cr/2017/components/typography/_typography.scss +83 -0
  218. package/src/sass/themes/cr/2017/components/typography/typography.twig +116 -0
  219. package/src/sass/themes/cr/2017/cr17.scss +104 -0
  220. package/src/sass/themes/cr/2017/variables/_colours.scss +20 -0
  221. package/src/sass/themes/cr/2017/variables/_mixins.scss +56 -0
  222. package/src/sass/themes/cr/2017/variables/_typography.scss +86 -0
  223. package/src/sass/themes/cr/2017/variables/colour.twig +51 -0
  224. package/src/sass/themes/cr/2019/_cr19-components.scss +65 -0
  225. package/src/sass/themes/cr/2019/_cr19-styleguide.scss +654 -0
  226. package/src/sass/themes/cr/2019/components/background-colours/_background-colours.scss +340 -0
  227. package/src/sass/themes/cr/2019/components/background-colours/background-colours.twig +100 -0
  228. package/src/sass/themes/cr/2019/components/bg-video-copy/_bg-video-copy.scss +206 -0
  229. package/src/sass/themes/cr/2019/components/bg-video-copy/bg-video-copy.twig +16 -0
  230. package/src/sass/themes/cr/2019/components/bg-video-copy/js/bg-video-copy.js +72 -0
  231. package/src/sass/themes/cr/2019/components/bg-video-copy/videos/SR18-promo.mp4 +0 -0
  232. package/src/sass/themes/cr/2019/components/buttons/_buttons.scss +174 -0
  233. package/src/sass/themes/cr/2019/components/buttons/buttons.twig +128 -0
  234. package/src/sass/themes/cr/2019/components/content-block/_content-block.scss +5 -0
  235. package/src/sass/themes/cr/2019/components/content-block/content-block.twig +20 -0
  236. package/src/sass/themes/cr/2019/components/content-wall/_content-wall.scss +6 -0
  237. package/src/sass/themes/cr/2019/components/content-wall/content-wall.twig +213 -0
  238. package/src/sass/themes/cr/2019/components/cookie-consent/cookie-consent.json +7 -0
  239. package/src/sass/themes/cr/2019/components/cookie-consent/cookie-consent.twig +7 -0
  240. package/src/sass/themes/cr/2019/components/copy-copy/_copy-copy.scss +57 -0
  241. package/src/sass/themes/cr/2019/components/copy-copy/copy-copy.twig +22 -0
  242. package/src/sass/themes/cr/2019/components/copy-video/_copy-video.scss +152 -0
  243. package/src/sass/themes/cr/2019/components/copy-video/copy-video.twig +47 -0
  244. package/src/sass/themes/cr/2019/components/copy-video/js/copy-video.js +62 -0
  245. package/src/sass/themes/cr/2019/components/email-signup/_email-signup-head.scss +5 -0
  246. package/src/sass/themes/cr/2019/components/fixed-ratio-image/_fixed-ratio-image.scss +63 -0
  247. package/src/sass/themes/cr/2019/components/fixed-ratio-image/fixed-ratio-image.twig +10 -0
  248. package/src/sass/themes/cr/2019/components/full-height-double-image-single-copy/_full-height-double-image-single-copy.scss +107 -0
  249. package/src/sass/themes/cr/2019/components/full-height-double-image-single-copy/full-height-double-image-single-copy.twig +23 -0
  250. package/src/sass/themes/cr/2019/components/full-height-single-image/_full-height-single-image.scss +138 -0
  251. package/src/sass/themes/cr/2019/components/full-height-single-image/full-height-single-image.twig +12 -0
  252. package/src/sass/themes/cr/2019/components/full-height-single-image-single-copy/_full-height-single-image-single-copy.scss +72 -0
  253. package/src/sass/themes/cr/2019/components/full-height-single-image-single-copy/full-height-single-image-single-copy.twig +14 -0
  254. package/src/sass/themes/cr/2019/components/full-height-single-image-triple-copy/_full-height-single-image-triple-copy.scss +158 -0
  255. package/src/sass/themes/cr/2019/components/full-height-single-image-triple-copy/full-height-single-image-triple-copy.twig +24 -0
  256. package/src/sass/themes/cr/2019/components/grant-page/_grant-page.scss +18 -0
  257. package/src/sass/themes/cr/2019/components/highlight/_highlight.scss +38 -0
  258. package/src/sass/themes/cr/2019/components/highlight/highlight.twig +1 -0
  259. package/src/sass/themes/cr/2019/components/inline-social-icons/_inline-social-icons.scss +43 -0
  260. package/src/sass/themes/cr/2019/components/inline-social-icons/images/ig-icon--dark.svg +17 -0
  261. package/src/sass/themes/cr/2019/components/inline-social-icons/images/ig-icon--light.svg +17 -0
  262. package/src/sass/themes/cr/2019/components/inline-social-icons/images/twitter-icon--dark.svg +9 -0
  263. package/src/sass/themes/cr/2019/components/inline-social-icons/images/twitter-icon--light.svg +9 -0
  264. package/src/sass/themes/cr/2019/components/inline-social-icons/inline-social-icons.twig +21 -0
  265. package/src/sass/themes/cr/2019/components/just-in-time-block/_just-in-time-block.scss +15 -0
  266. package/src/sass/themes/cr/2019/components/links/_links.scss +42 -0
  267. package/src/sass/themes/cr/2019/components/links/links.twig +28 -0
  268. package/src/sass/themes/cr/2019/components/list/_list.scss +3 -0
  269. package/src/sass/themes/cr/2019/components/loading/_loading.scss +101 -0
  270. package/src/sass/themes/cr/2019/components/media-block/_media-block.scss +16 -0
  271. package/src/sass/themes/cr/2019/components/media-block/media-block.twig +31 -0
  272. package/src/sass/themes/cr/2019/components/membership-signup/_membership-signup.scss +447 -0
  273. package/src/sass/themes/cr/2019/components/membership-signup/images/drop-down-white.svg +9 -0
  274. package/src/sass/themes/cr/2019/components/membership-signup/images/membership-LG.jpg +0 -0
  275. package/src/sass/themes/cr/2019/components/membership-signup/images/membership-MD.jpg +0 -0
  276. package/src/sass/themes/cr/2019/components/membership-signup/images/membership-SM.jpg +0 -0
  277. package/src/sass/themes/cr/2019/components/membership-signup/images/membership2-LG.jpg +0 -0
  278. package/src/sass/themes/cr/2019/components/membership-signup/images/membership2-md.jpg +0 -0
  279. package/src/sass/themes/cr/2019/components/membership-signup/images/membership2-sm.jpg +0 -0
  280. package/src/sass/themes/cr/2019/components/membership-signup/js/membership-signup.js +490 -0
  281. package/src/sass/themes/cr/2019/components/membership-signup/membership-signup.twig +103 -0
  282. package/src/sass/themes/cr/2019/components/meta-icons/_meta-icons.scss +64 -0
  283. package/src/sass/themes/cr/2019/components/navigation/_expanded-footer.scss +280 -0
  284. package/src/sass/themes/cr/2019/components/navigation/_main-nav.scss +459 -0
  285. package/src/sass/themes/cr/2019/components/navigation/cr18-logo.png +0 -0
  286. package/src/sass/themes/cr/2019/components/navigation/expanded-footer.twig +167 -0
  287. package/src/sass/themes/cr/2019/components/navigation/footer-nav.twig +116 -0
  288. package/src/sass/themes/cr/2019/components/navigation/js/expanded-footer.js +31 -0
  289. package/src/sass/themes/cr/2019/components/navigation/main-nav.twig +97 -0
  290. package/src/sass/themes/cr/2019/components/news/_news.scss +6 -0
  291. package/src/sass/themes/cr/2019/components/news-teaser/_news-article-teaser.scss +13 -0
  292. package/src/sass/themes/cr/2019/components/news-teaser/images/news-default-img--v2.jpg +0 -0
  293. package/src/sass/themes/cr/2019/components/news-teaser/news-teaser.twig +15 -0
  294. package/src/sass/themes/cr/2019/components/single-msg/_single-msg.scss +242 -0
  295. package/src/sass/themes/cr/2019/components/single-msg/single-msg.twig +125 -0
  296. package/src/sass/themes/cr/2019/components/typography/_fonts.scss +1 -0
  297. package/src/sass/themes/cr/2019/components/typography/_typography.scss +188 -0
  298. package/src/sass/themes/cr/2019/components/typography/typography.twig +128 -0
  299. package/src/sass/themes/cr/2019/cr19.scss +104 -0
  300. package/src/sass/themes/cr/2019/form.twig +133 -0
  301. package/src/sass/themes/cr/2019/variables/_colours.scss +48 -0
  302. package/src/sass/themes/cr/2019/variables/_mixins.scss +44 -0
  303. package/src/sass/themes/cr/2019/variables/_typography.scss +81 -0
  304. package/src/sass/themes/cr/2019/variables/colour.twig +162 -0
  305. package/src/sass/themes/donate/_donate-styleguide.scss +18 -0
  306. package/src/sass/themes/donate/components/background-colours/_background-colours.scss +9 -0
  307. package/src/sass/themes/donate/components/banner/_banner.scss +10 -0
  308. package/src/sass/themes/donate/components/buttons/_buttons.scss +122 -0
  309. package/src/sass/themes/donate/components/cards/_cards.scss +72 -0
  310. package/src/sass/themes/donate/components/cards/images/aziza-card.jpg +0 -0
  311. package/src/sass/themes/donate/components/cards/images/georgia-card.jpg +0 -0
  312. package/src/sass/themes/donate/components/cards/images/kevin-card.jpg +0 -0
  313. package/src/sass/themes/donate/components/form/_form.scss +287 -0
  314. package/src/sass/themes/donate/components/form/images/gift_aid_logo--white.png +0 -0
  315. package/src/sass/themes/donate/components/form/images/gift_aid_logo.png +0 -0
  316. package/src/sass/themes/donate/components/full-height-single-image-single-copy/_full-height-single-image-single-copy.scss +234 -0
  317. package/src/sass/themes/donate/components/giving-type-selector/_giving-type-selector.scss +120 -0
  318. package/src/sass/themes/donate/components/header/_header.scss +41 -0
  319. package/src/sass/themes/donate/components/money-buy-block/_money-buy-block.scss +272 -0
  320. package/src/sass/themes/donate/components/partner-footer/_partner-footer.scss +43 -0
  321. package/src/sass/themes/donate/components/success/_success.scss +137 -0
  322. package/src/sass/themes/donate/components/typography/_fonts.scss +1 -0
  323. package/src/sass/themes/donate/components/typography/_typography.scss +188 -0
  324. package/src/sass/themes/donate/donate-page.twig +504 -0
  325. package/src/sass/themes/donate/donate.scss +72 -0
  326. package/src/sass/themes/donate/failure-page.twig +31 -0
  327. package/src/sass/themes/donate/success-page.twig +83 -0
  328. package/src/sass/themes/donate/variables/_colours.scss +33 -0
  329. package/src/sass/themes/donate/variables/_mixins.scss +36 -0
  330. package/src/sass/themes/donate/variables/_typography.scss +89 -0
  331. package/src/sass/themes/frost/_frost-styleguide.scss +150 -0
  332. package/src/sass/themes/frost/core/_frost-components.scss +0 -0
  333. package/src/sass/themes/frost/core/_frost-variables.scss +0 -0
  334. package/src/sass/themes/frost/core/components/_background-images.scss +29 -0
  335. package/src/sass/themes/frost/core/components/_buttons.scss +57 -0
  336. package/src/sass/themes/frost/core/components/_campaign-images.scss +54 -0
  337. package/src/sass/themes/frost/core/components/_cookie-consent.scss +55 -0
  338. package/src/sass/themes/frost/core/components/_font-awesome.scss +17 -0
  339. package/src/sass/themes/frost/core/components/_footer.scss +28 -0
  340. package/src/sass/themes/frost/core/components/_form.scss +695 -0
  341. package/src/sass/themes/frost/core/components/_gpLink.scss +70 -0
  342. package/src/sass/themes/frost/core/components/_header.scss +39 -0
  343. package/src/sass/themes/frost/core/components/_layout.scss +124 -0
  344. package/src/sass/themes/frost/core/components/_modal.scss +53 -0
  345. package/src/sass/themes/frost/core/components/_schools-look-up.scss +47 -0
  346. package/src/sass/themes/frost/core/components/footer-nav.twig +16 -0
  347. package/src/sass/themes/frost/core/components/form--frost.twig +48 -0
  348. package/src/sass/themes/frost/core/variables/_colours.scss +15 -0
  349. package/src/sass/themes/frost/core/variables/_typography.scss +106 -0
  350. package/src/sass/themes/frost/core/variables/typography.twig +115 -0
  351. package/src/sass/themes/frost/cr365/components/_header.scss +7 -0
  352. package/src/sass/themes/frost/cr365/cr365.scss +11 -0
  353. package/src/sass/themes/frost/frost.scss +62 -0
  354. package/src/sass/themes/frost/images/campaigns/17-selected.png +0 -0
  355. package/src/sass/themes/frost/images/campaigns/17.png +0 -0
  356. package/src/sass/themes/frost/images/campaigns/19-selected.png +0 -0
  357. package/src/sass/themes/frost/images/campaigns/19.png +0 -0
  358. package/src/sass/themes/frost/images/campaigns/21-selected.png +0 -0
  359. package/src/sass/themes/frost/images/campaigns/21.png +0 -0
  360. package/src/sass/themes/frost/images/landing/construction_bg.jpg +0 -0
  361. package/src/sass/themes/frost/images/landing/construction_bg@2x.jpg +0 -0
  362. package/src/sass/themes/frost/images/landing/fabrics_bg.jpg +0 -0
  363. package/src/sass/themes/frost/images/landing/fabrics_bg@2x.jpg +0 -0
  364. package/src/sass/themes/frost/images/landing/football_bg.jpg +0 -0
  365. package/src/sass/themes/frost/images/landing/football_bg@2x.jpg +0 -0
  366. package/src/sass/themes/frost/images/landing/rooftop_bg.jpg +0 -0
  367. package/src/sass/themes/frost/images/landing/rooftop_bg@2x.jpg +0 -0
  368. package/src/sass/themes/frost/images/landing/rubbish-dump-01_bg.jpg +0 -0
  369. package/src/sass/themes/frost/images/landing/rubbish-dump-01_bg@2x.jpg +0 -0
  370. package/src/sass/themes/frost/images/landing/rubbish-dump-02_bg.jpg +0 -0
  371. package/src/sass/themes/frost/images/landing/rubbish-dump-02_bg@2x.jpg +0 -0
  372. package/src/sass/themes/frost/images/landing/sack-race_bg.jpg +0 -0
  373. package/src/sass/themes/frost/images/landing/sack-race_bg@2x.jpg +0 -0
  374. package/src/sass/themes/frost/images/logo/cr_logo@2x.png +0 -0
  375. package/src/sass/themes/frost/sr18/components/_buttons.scss +7 -0
  376. package/src/sass/themes/frost/sr18/components/_cookie-consent.scss +9 -0
  377. package/src/sass/themes/frost/sr18/components/_form.scss +31 -0
  378. package/src/sass/themes/frost/sr18/components/_header.scss +15 -0
  379. package/src/sass/themes/frost/sr18/components/_just-in-time.scss +23 -0
  380. package/src/sass/themes/frost/sr18/sr18.scss +71 -0
  381. package/src/sass/themes/frost/sr18/variables/_colours.scss +8 -0
  382. package/src/sass/themes/payin/_payin-styleguide.scss +17 -0
  383. package/src/sass/themes/payin/default/components/_payin-form.scss +611 -0
  384. package/src/sass/themes/payin/default/components/checkbox/_checkbox.scss +42 -0
  385. package/src/sass/themes/payin/default/components/checkbox/checkbox.twig +7 -0
  386. package/src/sass/themes/payin/default/components/images/CR__Arrow_L--white.svg +44 -0
  387. package/src/sass/themes/payin/default/components/images/CR__Arrow_L.svg +44 -0
  388. package/src/sass/themes/payin/default/components/images/CR__Chevron_D--white.svg +44 -0
  389. package/src/sass/themes/payin/default/components/images/CR__Chevron_D.svg +44 -0
  390. package/src/sass/themes/payin/default/components/images/CR__Chevron_U.svg +44 -0
  391. package/src/sass/themes/payin/default/components/images/arrow.png +0 -0
  392. package/src/sass/themes/payin/default/components/images/checkbox-checked.png +0 -0
  393. package/src/sass/themes/payin/default/components/images/checkbox-tick-new.png +0 -0
  394. package/src/sass/themes/payin/default/components/images/checkbox.png +0 -0
  395. package/src/sass/themes/payin/default/components/images/drop-down-dark-purple.svg +9 -0
  396. package/src/sass/themes/payin/default/components/images/error-alert-icon.png +0 -0
  397. package/src/sass/themes/payin/default/components/images/form_sprite.png +0 -0
  398. package/src/sass/themes/payin/default/components/images/frsb.jpg +0 -0
  399. package/src/sass/themes/payin/default/components/images/frsb.png +0 -0
  400. package/src/sass/themes/payin/default/components/images/icon_sprite.png +0 -0
  401. package/src/sass/themes/payin/default/components/images/info-icon.jpg +0 -0
  402. package/src/sass/themes/payin/default/components/images/info-icon.png +0 -0
  403. package/src/sass/themes/payin/default/components/images/loader.gif +0 -0
  404. package/src/sass/themes/payin/default/components/images/lookup-icon.png +0 -0
  405. package/src/sass/themes/payin/default/components/images/payment_icon.jpg +0 -0
  406. package/src/sass/themes/payin/default/components/images/paypal-logo.png +0 -0
  407. package/src/sass/themes/payin/default/components/images/paypal.svg +8 -0
  408. package/src/sass/themes/payin/default/components/payin-form.twig +119 -0
  409. package/src/sass/themes/payin/default/payin-default.scss +46 -0
  410. package/src/sass/themes/payin/default/variables/_payin-colours.scss +5 -0
  411. package/src/sass/themes/payin/default/variables/_payin-mixins.scss +5 -0
  412. package/src/sass/themes/payin/payin-rnd.scss +3 -0
  413. package/src/sass/themes/payin/payin-sr.scss +3 -0
  414. package/src/sass/themes/payin/rednoseday/components/failure/_failure.scss +41 -0
  415. package/src/sass/themes/payin/rednoseday/components/footer/_footer.scss +22 -0
  416. package/src/sass/themes/payin/rednoseday/components/form/_form.scss +262 -0
  417. package/src/sass/themes/payin/rednoseday/components/form/images/drop-down.svg +9 -0
  418. package/src/sass/themes/payin/rednoseday/components/header/_header.scss +36 -0
  419. package/src/sass/themes/payin/rednoseday/components/header/cr-logo.svg +27 -0
  420. package/src/sass/themes/payin/rednoseday/components/header/rnd19-logo.svg +1 -0
  421. package/src/sass/themes/payin/rednoseday/components/just-in-time-block/_just-in-time.scss +21 -0
  422. package/src/sass/themes/payin/rednoseday/components/promo-header/_promo-header.scss +28 -0
  423. package/src/sass/themes/payin/rednoseday/pages/failure-page.twig +14 -0
  424. package/src/sass/themes/payin/rednoseday/pages/payin-page.twig +859 -0
  425. package/src/sass/themes/payin/rednoseday/pages/success-page.twig +77 -0
  426. package/src/sass/themes/payin/rednoseday/payin-rednoseday.scss +33 -0
  427. package/src/sass/themes/payin/sportrelief/components/cards/_cards.scss +74 -0
  428. package/src/sass/themes/payin/sportrelief/components/cards/images/myself-friends-family.jpg +0 -0
  429. package/src/sass/themes/payin/sportrelief/components/cards/images/nursery-school.jpg +0 -0
  430. package/src/sass/themes/payin/sportrelief/components/cards/images/workplace-organisation.jpg +0 -0
  431. package/src/sass/themes/payin/sportrelief/components/cards/images/youth-university.jpg +0 -0
  432. package/src/sass/themes/payin/sportrelief/components/failure/_failure.scss +41 -0
  433. package/src/sass/themes/payin/sportrelief/components/footer/_footer.scss +3 -0
  434. package/src/sass/themes/payin/sportrelief/components/form/_form.scss +216 -0
  435. package/src/sass/themes/payin/sportrelief/components/form/images/drop-down.svg +9 -0
  436. package/src/sass/themes/payin/sportrelief/components/header/_header.scss +33 -0
  437. package/src/sass/themes/payin/sportrelief/components/promo-header/_promo-header.scss +28 -0
  438. package/src/sass/themes/payin/sportrelief/components/success/_success.scss +70 -0
  439. package/src/sass/themes/payin/sportrelief/pages/failure-page.twig +14 -0
  440. package/src/sass/themes/payin/sportrelief/pages/payin-page.twig +859 -0
  441. package/src/sass/themes/payin/sportrelief/pages/success-page.twig +77 -0
  442. package/src/sass/themes/payin/sportrelief/payin-sportrelief.scss +82 -0
  443. package/src/sass/themes/rnd/2017/_rnd17-styleguide.scss +496 -0
  444. package/src/sass/themes/rnd/2017/components/_loading.scss +101 -0
  445. package/src/sass/themes/rnd/2017/components/_otn.scss +9 -0
  446. package/src/sass/themes/rnd/2017/components/_theme.scss +246 -0
  447. package/src/sass/themes/rnd/2017/components/email-signup/_email-signup-sticky-nav.scss +144 -0
  448. package/src/sass/themes/rnd/2017/components/email-signup/_email-signup.scss +5 -0
  449. package/src/sass/themes/rnd/2017/components/header/_base-header.scss +26 -0
  450. package/src/sass/themes/rnd/2017/components/meta-icons/_meta-icons.scss +69 -0
  451. package/src/sass/themes/rnd/2017/components/navigation/_feature-nav.scss +69 -0
  452. package/src/sass/themes/rnd/2017/components/navigation/_main-nav.scss +37 -0
  453. package/src/sass/themes/rnd/2017/components/navigation/_sticky-nav.scss +715 -0
  454. package/src/sass/themes/rnd/2017/components/navigation/kids-nav/_kids-nav.scss +180 -0
  455. package/src/sass/themes/rnd/2017/components/navigation/kids-nav/images/kids-nav-sprite.png +0 -0
  456. package/src/sass/themes/rnd/2017/components/navigation/kids-nav/kids-nav.twig +13 -0
  457. package/src/sass/themes/rnd/2017/components/search/_search-block-sticky-nav.scss +175 -0
  458. package/src/sass/themes/rnd/2017/components/search/images/magnify-icon.svg +1 -0
  459. package/src/sass/themes/rnd/2017/components/search/images/search_page_icon.png +0 -0
  460. package/src/sass/themes/rnd/2017/components/search/images/search_page_icon_hover.png +0 -0
  461. package/src/sass/themes/rnd/2017/components/social/_social.scss +21 -0
  462. package/src/sass/themes/rnd/2017/components/tooltips/_tooltips.scss +14 -0
  463. package/src/sass/themes/rnd/2017/rnd17.scss +36 -0
  464. package/src/sass/themes/rnd/2017/variables/_colours.scss +25 -0
  465. package/src/sass/themes/rnd/2017/variables/_navigation.scss +4 -0
  466. package/src/sass/themes/shop/2018/_shop18-components.scss +52 -0
  467. package/src/sass/themes/shop/2018/_shop18-styleguide.scss +504 -0
  468. package/src/sass/themes/shop/2018/_typography.scss +11 -0
  469. package/src/sass/themes/shop/2018/base_header.twig +16 -0
  470. package/src/sass/themes/shop/2018/shop18.scss +68 -0
  471. package/src/sass/themes/shop/2018/typography.twig +116 -0
  472. package/src/sass/themes/shop/2019/_shop19-components.scss +60 -0
  473. package/src/sass/themes/shop/2019/_shop19-styleguide.scss +504 -0
  474. package/src/sass/themes/shop/2019/background-colours.twig +100 -0
  475. package/src/sass/themes/shop/2019/base_header.twig +16 -0
  476. package/src/sass/themes/shop/2019/colour.twig +162 -0
  477. package/src/sass/themes/shop/2019/form.twig +133 -0
  478. package/src/sass/themes/shop/2019/shop19.scss +62 -0
  479. package/src/sass/themes/shop/2019/typography.twig +128 -0
  480. package/src/sass/themes/shop/2019/variables/_main-nav.scss +3 -0
  481. package/src/sass/themes/sr/2018/_sr18-styleguide.scss +637 -0
  482. package/src/sass/themes/sr/2018/base_header.twig +10 -0
  483. package/src/sass/themes/sr/2018/components/app-link-block/_app-link-block.scss +209 -0
  484. package/src/sass/themes/sr/2018/components/app-link-block/app-link-block.twig +90 -0
  485. package/src/sass/themes/sr/2018/components/app-link-block/images/success-tick.svg +13 -0
  486. package/src/sass/themes/sr/2018/components/background-colours/_background-colours.scss +201 -0
  487. package/src/sass/themes/sr/2018/components/background-colours/background-colours.twig +46 -0
  488. package/src/sass/themes/sr/2018/components/background-single-msg/_background-single-msg.scss +3 -0
  489. package/src/sass/themes/sr/2018/components/bg-graphics/_bg-graphics.scss +126 -0
  490. package/src/sass/themes/sr/2018/components/bg-graphics/bg-graphics.twig +0 -0
  491. package/src/sass/themes/sr/2018/components/bg-video-copy/_bg-video-copy.scss +206 -0
  492. package/src/sass/themes/sr/2018/components/bg-video-copy/bg-video-copy.twig +16 -0
  493. package/src/sass/themes/sr/2018/components/bg-video-copy/js/bg-video-copy.js +72 -0
  494. package/src/sass/themes/sr/2018/components/bg-video-copy/videos/SR18-promo.mp4 +0 -0
  495. package/src/sass/themes/sr/2018/components/buttons/_buttons.scss +169 -0
  496. package/src/sass/themes/sr/2018/components/buttons/buttons.twig +27 -0
  497. package/src/sass/themes/sr/2018/components/cookie-consent/cookie-consent.json +7 -0
  498. package/src/sass/themes/sr/2018/components/cookie-consent/cookie-consent.twig +7 -0
  499. package/src/sass/themes/sr/2018/components/copy-copy/_copy-copy.scss +57 -0
  500. package/src/sass/themes/sr/2018/components/copy-copy/copy-copy.twig +22 -0
  501. package/src/sass/themes/sr/2018/components/copy-video/_copy-video.scss +152 -0
  502. package/src/sass/themes/sr/2018/components/copy-video/copy-video.twig +47 -0
  503. package/src/sass/themes/sr/2018/components/copy-video/js/copy-video.js +62 -0
  504. package/src/sass/themes/sr/2018/components/email-signup/_email-signup-head.scss +23 -0
  505. package/src/sass/themes/sr/2018/components/email-signup/_email-signup.scss +30 -0
  506. package/src/sass/themes/sr/2018/components/fixed-ratio-image/_fixed-ratio-image.scss +63 -0
  507. package/src/sass/themes/sr/2018/components/fixed-ratio-image/fixed-ratio-image.twig +10 -0
  508. package/src/sass/themes/sr/2018/components/footer-app-links-block/_footer-app-links-block.scss +65 -0
  509. package/src/sass/themes/sr/2018/components/footer-app-links-block/footer-app-links-block.twig +16 -0
  510. package/src/sass/themes/sr/2018/components/full-height-double-image-single-copy/_full-height-double-image-single-copy.scss +107 -0
  511. package/src/sass/themes/sr/2018/components/full-height-double-image-single-copy/full-height-double-image-single-copy.twig +23 -0
  512. package/src/sass/themes/sr/2018/components/full-height-single-image/_full-height-single-image.scss +138 -0
  513. package/src/sass/themes/sr/2018/components/full-height-single-image/full-height-single-image.twig +12 -0
  514. package/src/sass/themes/sr/2018/components/full-height-single-image-single-copy/_full-height-single-image-single-copy.scss +73 -0
  515. package/src/sass/themes/sr/2018/components/full-height-single-image-single-copy/full-height-single-image-single-copy.twig +14 -0
  516. package/src/sass/themes/sr/2018/components/full-height-single-image-triple-copy/_full-height-single-image-triple-copy.scss +158 -0
  517. package/src/sass/themes/sr/2018/components/full-height-single-image-triple-copy/full-height-single-image-triple-copy.twig +24 -0
  518. package/src/sass/themes/sr/2018/components/just-in-time-block/_just-in-time-block.scss +24 -0
  519. package/src/sass/themes/sr/2018/components/just-in-time-block/just-in-time-block.twig +11 -0
  520. package/src/sass/themes/sr/2018/components/links/_links.scss +86 -0
  521. package/src/sass/themes/sr/2018/components/links/links.twig +94 -0
  522. package/src/sass/themes/sr/2018/components/lists/_lists.scss +43 -0
  523. package/src/sass/themes/sr/2018/components/lists/lists.twig +28 -0
  524. package/src/sass/themes/sr/2018/components/live-total-block/_live-total-block.scss +150 -0
  525. package/src/sass/themes/sr/2018/components/live-total-block/images/sr18-logo-2018.svg +1 -0
  526. package/src/sass/themes/sr/2018/components/live-total-block/live-total-block.twig +44 -0
  527. package/src/sass/themes/sr/2018/components/loading/_loading.scss +101 -0
  528. package/src/sass/themes/sr/2018/components/media/_media.scss +9 -0
  529. package/src/sass/themes/sr/2018/components/membership-signup/_membership-signup.scss +479 -0
  530. package/src/sass/themes/sr/2018/components/membership-signup/images/drop-down-black.svg +1 -0
  531. package/src/sass/themes/sr/2018/components/membership-signup/images/drop-down-white.svg +9 -0
  532. package/src/sass/themes/sr/2018/components/membership-signup/images/membership-LG.jpg +0 -0
  533. package/src/sass/themes/sr/2018/components/membership-signup/images/membership-MD.jpg +0 -0
  534. package/src/sass/themes/sr/2018/components/membership-signup/images/membership-SM.jpg +0 -0
  535. package/src/sass/themes/sr/2018/components/membership-signup/images/membership2-LG.jpg +0 -0
  536. package/src/sass/themes/sr/2018/components/membership-signup/images/membership2-md.jpg +0 -0
  537. package/src/sass/themes/sr/2018/components/membership-signup/images/membership2-sm.jpg +0 -0
  538. package/src/sass/themes/sr/2018/components/membership-signup/js/membership-signup.js +490 -0
  539. package/src/sass/themes/sr/2018/components/membership-signup/membership-signup.twig +103 -0
  540. package/src/sass/themes/sr/2018/components/navigation/_main-nav.scss +704 -0
  541. package/src/sass/themes/sr/2018/components/navigation/images/SR+IGO_LOGO_RGB.svg +1 -0
  542. package/src/sass/themes/sr/2018/components/navigation/images/error-alert-icon-ruby.png +0 -0
  543. package/src/sass/themes/sr/2018/components/news-article/_news-article.scss +118 -0
  544. package/src/sass/themes/sr/2018/components/news-article/news-article.twig +29 -0
  545. package/src/sass/themes/sr/2018/components/news-teaser/_news-teaser.scss +8 -0
  546. package/src/sass/themes/sr/2018/components/promo-header/_promo-header.scss +61 -0
  547. package/src/sass/themes/sr/2018/components/search/_search-block.scss +177 -0
  548. package/src/sass/themes/sr/2018/components/search/images/magnify-icon.svg +1 -0
  549. package/src/sass/themes/sr/2018/components/search/images/search_page_icon.png +0 -0
  550. package/src/sass/themes/sr/2018/components/search/images/search_page_icon_hover.png +0 -0
  551. package/src/sass/themes/sr/2018/components/search/search.twig +21 -0
  552. package/src/sass/themes/sr/2018/components/search-results/_search-results.scss +127 -0
  553. package/src/sass/themes/sr/2018/components/single-msg/_single-msg.scss +59 -0
  554. package/src/sass/themes/sr/2018/components/teaser-block/_teaser-block.scss +60 -0
  555. package/src/sass/themes/sr/2018/components/tooltips/_tooltips.scss +9 -0
  556. package/src/sass/themes/sr/2018/components/typography/_fonts.scss +23 -0
  557. package/src/sass/themes/sr/2018/components/typography/_typography.scss +161 -0
  558. package/src/sass/themes/sr/2018/components/typography/typography.twig +127 -0
  559. package/src/sass/themes/sr/2018/main-nav.twig +86 -0
  560. package/src/sass/themes/sr/2018/sr18.scss +135 -0
  561. package/src/sass/themes/sr/2018/variables/_colours.scss +36 -0
  562. package/src/sass/themes/sr/2018/variables/_main-nav.scss +3 -0
  563. package/src/sass/themes/sr/2018/variables/_mixins.scss +82 -0
  564. package/src/sass/themes/sr/2018/variables/_typography.scss +106 -0
  565. package/src/sass/themes/sr/2018/variables/colour.twig +58 -0
@@ -0,0 +1,33 @@
1
+ <div class="cr-email-signup-fundraise-form contextual-region block-cr-email-signup block--cr-email-signup block--cr-email-signup--standard block--cr-email-signup--step-1 block--cr-email-signup--banner crEMailSignup-processed" data-drupal-selector="cr-email-signup-fundraise-form" id="block-emailsignupblockfundraise">
2
+ <div class="block--cr-email-signup__inner-wrapper">
3
+ <div class="cr-email-signup--messages">
4
+ <div class="esu-title-message">
5
+ <p>Sign-up to our newsletter</p>
6
+ </div>
7
+ <div class="esu-initial-message">
8
+ <p>We’ll keep you up to date with the latest Comic Relief updates, handy fundraising tips & tools as well as exciting news from Red Nose Day and Sport Relief.</p>
9
+ </div>
10
+ <div class="esu-first-success-message">
11
+ <p>ESU Fundraise: success message</p>
12
+ </div>
13
+ </div>
14
+ <div class="esu-errors messages messages--error"></div>
15
+ <form action="/web/test/esu" method="post" id="cr-email-signup-fundraise-form" accept-charset="UTF-8" data-drupal-form-fields="edit-email--2,edit-step1--2">
16
+ <input class="esu-device" data-drupal-selector="edit-device" type="hidden" name="device" value="OS_X_10.11.6_-_Chrome_56.0.2924.87">
17
+ <input class="esu-source" data-drupal-selector="edit-source" type="hidden" name="source" value="Banner">
18
+ <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-email form-item-email">
19
+ <label for="edit-email--2">Your email address</label>
20
+ <input class="–metrika-nokeys form-text" data-drupal-selector="edit-email" type="text" id="edit-email--2" name="email" value="" size="60" maxlength="500" placeholder="Enter your email address">
21
+ </div>
22
+ <input class="step1 button js-form-submit form-submit" data-drupal-selector="edit-step1" type="submit" id="edit-step1--2" name="step1" value="Sign Up">
23
+ <input data-drupal-selector="form-rqvvpemkcgc5hd7jksv3ludvh6amvd-jgy6vmatcv8e" type="hidden" name="form_build_id" value="form-rqvvpeMkcgc5hd7jKSv3lUdvh6AmVD-JGY6vmaTCv8E">
24
+ <input data-drupal-selector="edit-cr-email-signup-fundraise-form-form-token" type="hidden" name="form_token" value="yg6GwzSbKSwRFrB5Py3ASG3bQr2UbWaltDcoZuUYpx8">
25
+ <input data-drupal-selector="edit-cr-email-signup-fundraise-form" type="hidden" name="form_id" value="cr_email_signup_fundraise_form">
26
+ </form>
27
+ <div class="esu-privacy-message">
28
+ <p>Find out how we will use your information in our <a class="link link--white inline" href="/privacy-policy">Privacy Policy</a>
29
+ <br> <br> If you are under 18, please make sure you have your parents’ permission before providing us with any personal details.
30
+ </p>
31
+ </div>
32
+ </div>
33
+ </div>
@@ -0,0 +1,38 @@
1
+ <div style="display:block;" class="cr-header-email-signup-form contextual-region block-cr-email-signup block--cr-email-signup block--cr-email-signup--head block--cr-email-signup--step-1 crEMailSignup-processed" data-drupal-selector="cr-header-email-signup-form" id="block-emailsignupblockhead">
2
+ <div class="block--cr-email-signup__inner-wrapper">
3
+ <div class="cr-email-signup--messages">
4
+ <div class="esu-title-message">
5
+ <p>Stay in the know!</p>
6
+ </div>
7
+ <div class="esu-initial-message">
8
+ <p>Get regular email updates and info on what we're up to!</p>
9
+ </div>
10
+ <div class="esu-first-success-message">
11
+ <p>Thanks! Your first email will be with you shortly</p>
12
+ </div>
13
+ </div>
14
+ <div class="esu-errors messages messages--error"></div>
15
+ <form action="/web/" method="post" id="cr-header-email-signup-form" accept-charset="UTF-8" data-drupal-form-fields="edit-email,edit-step1">
16
+ <input class="esu-device" data-drupal-selector="edit-device" type="hidden" name="device" value="OS_X_10.11.6_-_Chrome_56.0.2924.87">
17
+ <input class="esu-source" data-drupal-selector="edit-source" type="hidden" name="source" value="Header">
18
+ <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-email form-item-email">
19
+ <label for="edit-email">Your email address</label>
20
+ <input class="–metrika-nokeys form-text" data-drupal-selector="edit-email" type="text" id="edit-email" name="email" value="" size="60" maxlength="500" placeholder="example@youremail.com">
21
+ </div>
22
+ <input class="step1 button js-form-submit form-submit" data-drupal-selector="edit-step1" type="submit" id="edit-step1" name="step1" value="Subscribe">
23
+ <input data-drupal-selector="form-bja0x4d6a3lmjjlyotlzzlq-pazuc5phi7qyduqqcya" type="hidden" name="form_build_id" value="form-BJA0X4d6a3LmJJlyotLzzlQ_pAZuc5PhI7QyduQqCYA">
24
+ <input data-drupal-selector="edit-cr-header-email-signup-form-form-token" type="hidden" name="form_token" value="BREegNF1jBbSdnIuntqc0VFn7apoecLt3Dc0ubP8pFs">
25
+ <input data-drupal-selector="edit-cr-header-email-signup-form" type="hidden" name="form_id" value="cr_header_email_signup_form">
26
+ <div class="esu-second-success-message">
27
+ <p>Great! Now we know what's right for you.</p>
28
+ </div>
29
+ </form>
30
+ <div class="esu-privacy-message"><p>Our <a class="link link--white inline" href="/privacy-policy">Privacy Policy</a> describes how we handle and protect your information.<br><br>If you are under 18, please make sure you have your parents’ permission before providing us with any personal details.</p></div>
31
+ <a role="button" class="close-button" href="#">
32
+ <svg class="icon">
33
+ <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#close-cross"></use>
34
+ </svg>
35
+ </a>
36
+ </div>
37
+ </div>
38
+
@@ -0,0 +1,35 @@
1
+ <div class="cr-email-signup-register-interest-form contextual-region block-cr-email-signup block--cr-email-signup block--cr-email-signup--register-interest block--cr-email-signup--step-1 block--cr-email-signup--banner crEMailSignup-processed" data-drupal-selector="cr-email-signup-register-interest-form" id="block-emailsignupblockregisterinterest">
2
+ <div class="block--cr-email-signup__inner-wrapper">
3
+ <div class="cr-email-signup--messages">
4
+ <div class="esu-title-message">
5
+ <p>Sign-up to our newsletter</p>
6
+ </div>
7
+ <div class="esu-initial-message">
8
+ <p>We’ll keep you up to date with the latest Comic Relief updates, handy fundraising tips & tools as well as exciting news from Red Nose Day and Sport Relief.</p>
9
+ </div>
10
+ <div class="esu-first-success-message">
11
+ <p>ESU Register Interest: success message</p>
12
+ </div>
13
+ </div>
14
+ <div class="esu-errors messages messages--error">
15
+ <div></div>
16
+ </div>
17
+ <form action="/web/test/esu" method="post" id="cr-email-signup-register-interest-form" accept-charset="UTF-8" data-drupal-form-fields="edit-email--5,edit-step1--5">
18
+ <input class="esu-device" data-drupal-selector="edit-device" type="hidden" name="device" value="OS_X_10.11.6_-_Chrome_56.0.2924.87">
19
+ <input class="esu-source" data-drupal-selector="edit-source" type="hidden" name="source" value="Banner">
20
+ <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-email form-item-email">
21
+ <label for="edit-email--5">Your email address</label>
22
+ <input class="–metrika-nokeys form-text" data-drupal-selector="edit-email" type="text" id="edit-email--5" name="email" value="" size="60" maxlength="500" placeholder="Enter your email address">
23
+ </div>
24
+ <input class="step1 button js-form-submit form-submit" data-drupal-selector="edit-step1" type="submit" id="edit-step1--5" name="step1" value="Subscribe">
25
+ <input data-drupal-selector="form-viyyqd1ny64-7lbarzwycso-2-zsflyjcxuvjyhekuw" type="hidden" name="form_build_id" value="form-VIYYqD1ny64_7lBArzWYcso_2-zsfLYJcxUVjYHeKUw">
26
+ <input data-drupal-selector="edit-cr-email-signup-register-interest-form-form-token" type="hidden" name="form_token" value="7YRPGVfEFSFWIp_igbeaXZBlhOLvbP-8WQZTFyi7EXM">
27
+ <input data-drupal-selector="edit-cr-email-signup-register-interest-form" type="hidden" name="form_id" value="cr_email_signup_register_interest_form">
28
+ </form>
29
+ <div class="esu-privacy-message">
30
+ <p>Find out how we will use your information in our <a class="link link--white inline" href="/privacy-policy">Privacy Policy</a>
31
+ <br> <br>If you are under 18, please make sure you have your parents’ permission before providing us with any personal details.
32
+ </p>
33
+ </div>
34
+ </div>
35
+ </div>
@@ -0,0 +1,50 @@
1
+ <div class="cr-email-signup-form contextual-region block-cr-email-signup block--cr-email-signup block--cr-email-signup--standard block--cr-email-signup--step-1 block--cr-email-signup--banner crEMailSignup-processed" data-drupal-selector="cr-email-signup-form" id="block-emailsignupblockstandard">
2
+ <div class="block--cr-email-signup__inner-wrapper">
3
+ <div class="cr-email-signup--messages">
4
+ <div class="esu-title-message">
5
+ <p>Sign-up to our newsletter</p>
6
+ </div>
7
+ <div class="esu-initial-message">
8
+ <p>We’ll keep you up to date with the latest Comic Relief updates, handy fundraising tips & tools as well as exciting news from Red Nose Day and Sport Relief.</p>
9
+ </div>
10
+ <div class="esu-first-success-message">
11
+ <p>ESU Standard: success! (first message)</p>
12
+ </div>
13
+ <div class="esu-second-success-message">
14
+ <p>ESU Standard: success! (second message)</p>
15
+ </div>
16
+ </div>
17
+ <div class="esu-errors messages messages--error"></div>
18
+ <form action="/web/test/esu" method="post" id="cr-email-signup-form" accept-charset="UTF-8" data-drupal-form-fields="edit-email--3,edit-school-phase,edit-step1--3,edit-step2">
19
+ <input class="esu-device" data-drupal-selector="edit-device" type="hidden" name="device" value="OS_X_10.11.6_-_Chrome_56.0.2924.87">
20
+ <input class="esu-source" data-drupal-selector="edit-source" type="hidden" name="source" value="Banner">
21
+ <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-email form-item-email">
22
+ <label for="edit-email--3">Your email address</label>
23
+ <input class="–metrika-nokeys form-text" data-drupal-selector="edit-email" type="text" id="edit-email--3" name="email" value="" size="60" maxlength="500" placeholder="Enter your email address">
24
+ </div>
25
+ <div class="js-form-item form-item js-form-type-select form-type-select js-form-item-school-phase form-item-school-phase">
26
+ <label for="edit-school-phase-button">Also send me School resources</label>
27
+ <select data-drupal-selector="edit-school-phase" id="edit-school-phase" name="school_phase" class="form-select" style="display: none;">
28
+ <option value="" selected="selected">-- Select age group --</option>
29
+ <option value="EY">Early Years or Nursery</option>
30
+ <option value="PY">Primary</option>
31
+ <option value="SY">Secondary</option>
32
+ <option value="FE">Further Education or Sixth-Form College</option>
33
+ <option value="HE">Higher Education</option>
34
+ <option value="OH">Other</option>
35
+ </select>
36
+ <span class="ui-selectmenu-button ui-widget ui-state-default ui-corner-all" tabindex="0" id="edit-school-phase-button" role="combobox" aria-expanded="false" aria-autocomplete="list" aria-owns="edit-school-phase-menu" aria-haspopup="true" style="width: 100px;"><span class="ui-icon ui-icon-triangle-1-s"></span><span class="ui-selectmenu-text">-- Select age group --</span></span>
37
+ </div>
38
+ <input class="step1 button js-form-submit form-submit" data-drupal-selector="edit-step1" type="submit" id="edit-step1--3" name="step1" value="Go">
39
+ <input class="step2 button js-form-submit form-submit" data-drupal-selector="edit-step2" type="submit" id="edit-step2" name="step2" value="Go">
40
+ <input data-drupal-selector="form-9b6qb6oimpe9zn500qwm7ijredqzatwi-g3izeutgg4" type="hidden" name="form_build_id" value="form-9B6qb6OIMpe9zn500Qwm7ijreDQZatwi_G3izEutgG4">
41
+ <input data-drupal-selector="edit-cr-email-signup-form-form-token" type="hidden" name="form_token" value="gK9p3T0PfgFJ0-jIiF33q3Wfu4BTHzu5RvYw_A8rlIo">
42
+ <input data-drupal-selector="edit-cr-email-signup-form" type="hidden" name="form_id" value="cr_email_signup_form">
43
+ </form>
44
+ <div class="esu-privacy-message">
45
+ <p>Find out how we will use your information in our <a class="link link--white inline" href="/privacy-policy">Privacy Policy</a>
46
+ <br> <br>If you are under 18, please make sure you have your parents’ permission before providing us with any personal details.
47
+ </p>
48
+ </div>
49
+ </div>
50
+ </div>
@@ -0,0 +1,39 @@
1
+ <div class="cr-email-signup-workplace-form contextual-region block-cr-email-signup block--cr-email-signup block--cr-email-signup--workplace block--cr-email-signup--step-1 block--cr-email-signup--banner crEMailSignup-processed" data-drupal-selector="cr-email-signup-workplace-form" id="block-emailsignupblockworkplace">
2
+ <div class="block--cr-email-signup__inner-wrapper">
3
+ <div class="cr-email-signup--messages">
4
+ <div class="esu-title-message">
5
+ <p>Sign-up to our newsletter</p>
6
+ </div>
7
+ <div class="esu-initial-message">
8
+ <p>We’ll keep you up to date with the latest Comic Relief updates, handy fundraising tips & tools as well as exciting news from Red Nose Day and Sport Relief.</p>
9
+ </div>
10
+ <div class="esu-first-success-message">
11
+ <p>ESU Workplace: success message</p>
12
+ </div>
13
+ </div>
14
+ <div class="esu-errors messages messages--error">
15
+ <div></div>
16
+ </div>
17
+ <form action="/web/test/esu" method="post" id="cr-email-signup-workplace-form" accept-charset="UTF-8" data-drupal-form-fields="edit-firstname,edit-email--4,edit-step1--4">
18
+ <input class="esu-device" data-drupal-selector="edit-device" type="hidden" name="device" value="OS_X_10.11.6_-_Chrome_56.0.2924.87">
19
+ <input class="esu-source" data-drupal-selector="edit-source" type="hidden" name="source" value="Banner">
20
+ <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-firstname form-item-firstname">
21
+ <label for="edit-firstname">Your first name</label>
22
+ <input class="–metrika-nokeys form-text" data-drupal-selector="edit-firstname" type="text" id="edit-firstname" name="firstName" value="" size="60" maxlength="100" placeholder="Enter your first name">
23
+ </div>
24
+ <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-email form-item-email">
25
+ <label for="edit-email--4">Your email address</label>
26
+ <input class="–metrika-nokeys form-text" data-drupal-selector="edit-email" type="text" id="edit-email--4" name="email" value="" size="60" maxlength="500" placeholder="Enter your email address">
27
+ </div>
28
+ <input class="step1 button btn btn--yellow js-form-submit form-submit" data-drupal-selector="edit-step1" type="submit" id="edit-step1--4" name="step1" value="Sign Up">
29
+ <input data-drupal-selector="form-ir3piqq75hewphoqjybj-co-i4iwk5-zblgbyc8sqso" type="hidden" name="form_build_id" value="form-ir3PiQq75HEwpHoqjYbJ_cO-I4iwK5-ZBLgbYc8sqso">
30
+ <input data-drupal-selector="edit-cr-email-signup-workplace-form-form-token" type="hidden" name="form_token" value="D5eVtLpvyGoOb9l0MxgyODaD28ouAReO9ExRWopMsk4">
31
+ <input data-drupal-selector="edit-cr-email-signup-workplace-form" type="hidden" name="form_id" value="cr_email_signup_workplace_form">
32
+ </form>
33
+ <div class="esu-privacy-message">
34
+ <p>Find out how we will use your information in our <a class="link link--white inline" href="/privacy-policy">Privacy Policy</a>
35
+ <br> <br>If you are under 18, please make sure you have your parents’ permission before providing us with any personal details.
36
+ </p>
37
+ </div>
38
+ </div>
39
+ </div>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve">
5
+ <path fill="#FFFFFF" d="M17.7,29.7l-1.4-1.4l8.3-8.3l-8.3-8.3l1.4-1.4l9.7,9.7L17.7,29.7z"/>
6
+ </svg>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve">
4
+ <path fill="#ffffff" d="M21.4,20l8.3,8.3l-1.4,1.4L20,21.4l-8.3,8.3l-1.4-1.4l8.3-8.3l-8.3-8.3l1.4-1.4l8.3,8.3l8.3-8.3l1.4,1.4L21.4,20z"/>
5
+ </svg>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 40 40" width="40" height="40" xml:space="preserve" preserveAspectRatio="xMinYMid">
5
+ <path fill="#F04257" d="M20,21.4l-5.3,5.3l-1.4-1.4l5.3-5.3l-5.3-5.3l1.4-1.4l5.3,5.3l5.3-5.3l1.4,1.4L21.4,20l5.3,5.3l-1.4,1.4
6
+ L20,21.4z"/>
7
+ </svg>
@@ -0,0 +1,16 @@
1
+ .external-link {
2
+ &:after {
3
+ display: inline-block;
4
+ width: 25px;
5
+ height: 25px;
6
+ margin: 5px 5px -3px 10px;
7
+ content: " ";
8
+ background: url($image-path + "external-link.svg");
9
+ background-size: 25px 25px;
10
+ }
11
+ }
12
+ .media-external-file {
13
+ a {
14
+ @extend .link;
15
+ }
16
+ }
@@ -0,0 +1,30 @@
1
+ .feature-articles-block {
2
+ width: calc(100% - (8 * 1.25%));
3
+ margin: auto;
4
+ @include breakpoint($screen-md) {
5
+ width: calc(100% - (4 * 1.25%));
6
+ }
7
+ @include breakpoint($screen-md-max) {
8
+ max-width: calc(1200px - (2 * 1.25%));
9
+ }
10
+ @include breakpoint($screen-lg) {
11
+ display: flex;
12
+ }
13
+ .article-teaser {
14
+ width: 100%;
15
+ height: 100%;
16
+ margin: 0 0 calc(4 * #{gutter()});
17
+ display: inline-block;
18
+ background-color: $colour-white;
19
+
20
+ @include breakpoint($screen-md) {
21
+ position: relative;
22
+ height: auto;
23
+ }
24
+ @include breakpoint($screen-lg) {
25
+ @include span(4);
26
+ min-height: 390px;
27
+ margin-bottom: calc(2 * #{gutter()});
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,14 @@
1
+ <section class="paragraph">
2
+ <h2>Max 3 items</h2>
3
+ <div class="feature-articles-block">
4
+ {% for i in 0..2 %}
5
+ {% include directory ~ '../news-teaser/news-teaser.twig' %}
6
+ {% endfor %}
7
+ </div>
8
+ <h2>Teasers always keep same 4 columns width</h2>
9
+ <div class="feature-articles-block">
10
+ {% for i in 0..1 %}
11
+ {% include directory ~ '../news-teaser/news-teaser.twig' %}
12
+ {% endfor %}
13
+ </div>
14
+ </section>
@@ -0,0 +1,39 @@
1
+
2
+ footer[role=contentinfo] {
3
+ padding: 50px 5px 185px;
4
+ background: $colour-black;
5
+ @include clearfix;
6
+ @include breakpoint($screen-md) {
7
+ padding: 50px 5px 140px;
8
+ }
9
+ @include breakpoint($screen-lg) {
10
+ padding-top: 100px;
11
+ padding-bottom: 120px;
12
+ }
13
+ .footer__copyright p {
14
+ text-align: center;
15
+ color: $colour-white;
16
+ font-size: 12px;
17
+ line-height: 15px;
18
+ }
19
+ .footer__branding {
20
+ text-align: center;
21
+ margin-top:25px;
22
+ a {
23
+ display: inline-block;
24
+ width: 70px;
25
+ height: 70px;
26
+ .icon {
27
+ width: inherit;
28
+ height: inherit;
29
+ }
30
+ html.no-svg & {
31
+ // background-image: url($image-path + "cr_footer_logo.png");
32
+ }
33
+ }
34
+ }
35
+ .footer__follow {
36
+ text-align: center;
37
+ color: $colour-white;
38
+ }
39
+ }
@@ -0,0 +1,24 @@
1
+ <footer role="contentinfo">
2
+
3
+ <h4 class="footer__follow">Follow us...</h4>
4
+
5
+ {# social media icons #}
6
+ {% include directory ~ '../social/social-following.twig' %}
7
+
8
+ {# footer nav #}
9
+ {% include directory ~ '../navigation/footer-nav.twig' %}
10
+
11
+
12
+ <div class="footer__copyright">
13
+ <p>© Comic Relief {{ "now"|date("Y") }}. Comic Relief, registered charity 326568 (England/Wales); SC039730 (Scotland)</p>
14
+ </div>
15
+ <div class="footer__branding">
16
+ <a title="Comic Relief" href="http://www.comicrelief.com/" rel="home" target="_blank">
17
+ <svg class="icon">
18
+ <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#crlogo"></use>
19
+ </svg>
20
+ </a>
21
+ </div>
22
+
23
+ <a class="styleguide-link external-link" href="/profiles/contrib/cr/themes/custom/campaign_base/styleguide/index.html" target="_blank">Styleguide</a>
24
+ </footer>
@@ -0,0 +1,132 @@
1
+
2
+ // Forms
3
+ //
4
+ // Standard Forms
5
+ //
6
+ // Kept in for legacy use of sites using this base styles
7
+
8
+ label,
9
+ legend {
10
+ display: block;
11
+ position: relative;
12
+ @include clearfix();
13
+ @include font-size($p-small-font-size);
14
+
15
+ span {
16
+ font-family: $body-font;
17
+ }
18
+ }
19
+
20
+ fieldset {
21
+ padding: 0;
22
+ border-width: 0;
23
+ }
24
+
25
+ input[type="email"],
26
+ input[type="number"],
27
+ input[type="date"],
28
+ input[type="search"],
29
+ input[type="text"],
30
+ input[type="tel"],
31
+ input[type="url"],
32
+ input[type="password"],
33
+ textarea {
34
+ height: 50px;
35
+ padding: 13px;
36
+ background-color: $colour-white;
37
+ border: 1px solid $item-grey;
38
+ width: 100%;
39
+
40
+ box-shadow: none;
41
+ box-sizing: border-box;
42
+ appearance: none;
43
+
44
+ @include breakpoint($screen-md) {
45
+ max-width: 290px;
46
+ }
47
+ }
48
+
49
+ input[type="email"]:focus,
50
+ input[type="number"]:focus,
51
+ input[type="date"]:focus,
52
+ input[type="search"]:focus,
53
+ input[type="text"]:focus,
54
+ input[type="tel"]:focus,
55
+ input[type="url"]:focus,
56
+ input[type="password"]:focus,
57
+ textarea:focus,
58
+ select:focus {
59
+ border: 1px solid $item-grey;
60
+ }
61
+
62
+ input:focus::-webkit-input-placeholder { color:transparent; }
63
+ input:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
64
+ input:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
65
+ input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */
66
+ select:focus {
67
+ outline: 0;
68
+ }
69
+
70
+ input[type="checkbox"] {
71
+ @include opacity(0);
72
+ position: absolute;
73
+ left: 0px;
74
+ }
75
+ input[type="radio"],
76
+ input[type="checkbox"],
77
+ input[type="checkbox"] + span {
78
+ width: 30px;
79
+ height: 30px;
80
+ margin: 5px 10px 10px 0px;
81
+ }
82
+
83
+ input[type="checkbox"] + span {
84
+ background-color: $colour-white;
85
+ border: 1px solid $item-grey;
86
+ float: left;
87
+ }
88
+
89
+ input[type="checkbox"]:checked + span {
90
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2NHB4IiBoZWlnaHQ9IjY0cHgiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNjQgNjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTMuNzA3LDMyLjI5MyAxMi4yOTMsMzMuODU0IDI0LjI5Myw0NiAyNS43MDcsNDYgNDkuNzA3LDIxLjg1NCA0OC4yOTMsMjAuMzY2IDI1LDQzLjYyMyAiLz48L2c+PC9zdmc+) no-repeat center;
91
+ background-size: contain;
92
+ }
93
+
94
+ input[type="radio"] {
95
+ position: relative;
96
+ top: 5px;
97
+ left: 5px;
98
+ }
99
+
100
+ select {
101
+ border: 1px solid $item-grey;
102
+ background: $colour-white url(data:image/png;base64,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) 100% -51px no-repeat;
103
+ height: 50px;
104
+ position: relative;
105
+ width: 100%;
106
+ margin-bottom: 30px;
107
+ cursor: pointer;
108
+ outline: 0 none;
109
+ padding: 12px 50px 14px 10px;
110
+ text-decoration: none;
111
+ font-size: 16px;
112
+
113
+ appearance: none;
114
+ box-shadow: border-box;
115
+ @include border-radius(0px);
116
+
117
+ @include breakpoint($screen-md) {
118
+ max-width: 290px;
119
+ }
120
+ }
121
+
122
+ textarea {
123
+ min-height: 65px;
124
+ padding: 12px 50px 14px 10px;
125
+ @include font-size($p-small-font-size);
126
+ }
127
+
128
+ input[type="submit"],
129
+ input[type="reset"],
130
+ input[type="button"] {
131
+ @extend .btn;
132
+ }