govuk_publishing_components 37.3.0 → 37.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (317) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/govuk_publishing_components/favicon-development.png +0 -0
  3. data/app/assets/images/govuk_publishing_components/favicon-example.png +0 -0
  4. data/app/assets/images/govuk_publishing_components/favicon-integration.png +0 -0
  5. data/app/assets/images/govuk_publishing_components/favicon-production.png +0 -0
  6. data/app/assets/images/govuk_publishing_components/favicon-staging.png +0 -0
  7. data/app/assets/images/govuk_publishing_components/govuk-logo.png +0 -0
  8. data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-16x9.png +0 -0
  9. data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-1x1.png +0 -0
  10. data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-4x3.png +0 -0
  11. data/app/assets/stylesheets/component_guide/application.scss +1 -1
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +1 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +8 -0
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +3 -3
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +15 -7
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +1 -1
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +2 -2
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +1 -1
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +1 -1
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +1 -1
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -1
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +8 -8
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +1 -1
  24. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +2 -2
  25. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -1
  26. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -3
  27. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +4 -4
  28. data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +5 -4
  29. data/app/views/govuk_publishing_components/components/_share_links.html.erb +4 -3
  30. data/app/views/govuk_publishing_components/components/cross_service_header/_one_login_header.html.erb +3 -2
  31. data/app/views/govuk_publishing_components/components/docs/share_links.yml +15 -2
  32. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +5 -3
  33. data/lib/govuk_publishing_components/version.rb +1 -1
  34. data/node_modules/govuk-frontend/govuk/_base.scss +2 -0
  35. data/node_modules/govuk-frontend/govuk/_base.scss.map +1 -0
  36. data/node_modules/govuk-frontend/govuk/all-ie8.scss +2 -0
  37. data/node_modules/govuk-frontend/govuk/all-ie8.scss.map +1 -0
  38. data/node_modules/govuk-frontend/govuk/all.js +1 -1
  39. data/node_modules/govuk-frontend/govuk/all.scss +2 -0
  40. data/node_modules/govuk-frontend/govuk/all.scss.map +1 -0
  41. data/node_modules/govuk-frontend/govuk/assets/images/favicon.ico +0 -0
  42. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-152x152.png +0 -0
  43. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-167x167.png +0 -0
  44. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-180x180.png +0 -0
  45. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon.png +0 -0
  46. data/node_modules/govuk-frontend/govuk/assets/images/govuk-logotype-tudor-crown.png +0 -0
  47. data/node_modules/govuk-frontend/govuk/assets/images/govuk-mask-icon.svg +1 -7
  48. data/node_modules/govuk-frontend/govuk/assets/images/govuk-opengraph-image.png +0 -0
  49. data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +1 -1
  50. data/node_modules/govuk-frontend/govuk/components/_all.scss +2 -0
  51. data/node_modules/govuk-frontend/govuk/components/_all.scss.map +1 -0
  52. data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss +2 -0
  53. data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss.map +1 -0
  54. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +8 -10
  55. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss.map +1 -0
  56. data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss +2 -0
  57. data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss.map +1 -0
  58. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +4 -4
  59. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss.map +1 -0
  60. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss +2 -0
  61. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss.map +1 -0
  62. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +4 -4
  63. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss.map +1 -0
  64. data/node_modules/govuk-frontend/govuk/components/button/_button.scss +2 -0
  65. data/node_modules/govuk-frontend/govuk/components/button/_button.scss.map +1 -0
  66. data/node_modules/govuk-frontend/govuk/components/button/_index.scss +2 -0
  67. data/node_modules/govuk-frontend/govuk/components/button/_index.scss.map +1 -0
  68. data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss +2 -0
  69. data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss.map +1 -0
  70. data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss +2 -0
  71. data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss.map +1 -0
  72. data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +8 -2
  73. data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss +2 -0
  74. data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss.map +1 -0
  75. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +4 -4
  76. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss.map +1 -0
  77. data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +4 -3
  78. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss +2 -0
  79. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss.map +1 -0
  80. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss +2 -0
  81. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss.map +1 -0
  82. data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss +2 -0
  83. data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss.map +1 -0
  84. data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss +2 -0
  85. data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss.map +1 -0
  86. data/node_modules/govuk-frontend/govuk/components/details/_details.scss +2 -0
  87. data/node_modules/govuk-frontend/govuk/components/details/_details.scss.map +1 -0
  88. data/node_modules/govuk-frontend/govuk/components/details/_index.scss +2 -0
  89. data/node_modules/govuk-frontend/govuk/components/details/_index.scss.map +1 -0
  90. data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss +2 -0
  91. data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss.map +1 -0
  92. data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss +2 -0
  93. data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss.map +1 -0
  94. data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss +2 -0
  95. data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss.map +1 -0
  96. data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss +2 -0
  97. data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss.map +1 -0
  98. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss +2 -0
  99. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss.map +1 -0
  100. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss +2 -0
  101. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss.map +1 -0
  102. data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss +2 -0
  103. data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss.map +1 -0
  104. data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss +2 -0
  105. data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss.map +1 -0
  106. data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss +2 -0
  107. data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss.map +1 -0
  108. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +2 -0
  109. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss.map +1 -0
  110. data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss +2 -0
  111. data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss.map +1 -0
  112. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +2 -0
  113. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss.map +1 -0
  114. data/node_modules/govuk-frontend/govuk/components/header/_header.scss +2 -0
  115. data/node_modules/govuk-frontend/govuk/components/header/_header.scss.map +1 -0
  116. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +18 -0
  117. data/node_modules/govuk-frontend/govuk/components/header/_index.scss.map +1 -0
  118. data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +29 -21
  119. data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +6 -0
  120. data/node_modules/govuk-frontend/govuk/components/header/template.njk +56 -31
  121. data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss +2 -0
  122. data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss.map +1 -0
  123. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +2 -0
  124. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss.map +1 -0
  125. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +2 -0
  126. data/node_modules/govuk-frontend/govuk/components/input/_index.scss.map +1 -0
  127. data/node_modules/govuk-frontend/govuk/components/input/_input.scss +2 -0
  128. data/node_modules/govuk-frontend/govuk/components/input/_input.scss.map +1 -0
  129. data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss +2 -0
  130. data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss.map +1 -0
  131. data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss +2 -0
  132. data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss.map +1 -0
  133. data/node_modules/govuk-frontend/govuk/components/label/_index.scss +2 -0
  134. data/node_modules/govuk-frontend/govuk/components/label/_index.scss.map +1 -0
  135. data/node_modules/govuk-frontend/govuk/components/label/_label.scss +2 -0
  136. data/node_modules/govuk-frontend/govuk/components/label/_label.scss.map +1 -0
  137. data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss +2 -0
  138. data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss.map +1 -0
  139. data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss +2 -0
  140. data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss.map +1 -0
  141. data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss +2 -0
  142. data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss.map +1 -0
  143. data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss +2 -0
  144. data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss.map +1 -0
  145. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +2 -0
  146. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss.map +1 -0
  147. data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss +2 -0
  148. data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss.map +1 -0
  149. data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss +2 -0
  150. data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss.map +1 -0
  151. data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss +2 -0
  152. data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss.map +1 -0
  153. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +2 -0
  154. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss.map +1 -0
  155. data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss +2 -0
  156. data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss.map +1 -0
  157. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +2 -0
  158. data/node_modules/govuk-frontend/govuk/components/select/_index.scss.map +1 -0
  159. data/node_modules/govuk-frontend/govuk/components/select/_select.scss +2 -0
  160. data/node_modules/govuk-frontend/govuk/components/select/_select.scss.map +1 -0
  161. data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +36 -9
  162. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +2 -0
  163. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss.map +1 -0
  164. data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss +2 -0
  165. data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss.map +1 -0
  166. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +2 -0
  167. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss.map +1 -0
  168. data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss +2 -0
  169. data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss.map +1 -0
  170. data/node_modules/govuk-frontend/govuk/components/table/_index.scss +2 -0
  171. data/node_modules/govuk-frontend/govuk/components/table/_index.scss.map +1 -0
  172. data/node_modules/govuk-frontend/govuk/components/table/_table.scss +2 -0
  173. data/node_modules/govuk-frontend/govuk/components/table/_table.scss.map +1 -0
  174. data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +2 -1
  175. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +2 -0
  176. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss.map +1 -0
  177. data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss +2 -0
  178. data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss.map +1 -0
  179. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +2 -0
  180. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss.map +1 -0
  181. data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss +2 -0
  182. data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss.map +1 -0
  183. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +2 -0
  184. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss.map +1 -0
  185. data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss +2 -0
  186. data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss.map +1 -0
  187. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +2 -0
  188. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss.map +1 -0
  189. data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss +2 -0
  190. data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss.map +1 -0
  191. data/node_modules/govuk-frontend/govuk/core/_all.scss +2 -0
  192. data/node_modules/govuk-frontend/govuk/core/_all.scss.map +1 -0
  193. data/node_modules/govuk-frontend/govuk/core/_global-styles.scss +2 -0
  194. data/node_modules/govuk-frontend/govuk/core/_global-styles.scss.map +1 -0
  195. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +3 -1
  196. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss.map +1 -0
  197. data/node_modules/govuk-frontend/govuk/core/_links.scss +2 -0
  198. data/node_modules/govuk-frontend/govuk/core/_links.scss.map +1 -0
  199. data/node_modules/govuk-frontend/govuk/core/_lists.scss +2 -0
  200. data/node_modules/govuk-frontend/govuk/core/_lists.scss.map +1 -0
  201. data/node_modules/govuk-frontend/govuk/core/_section-break.scss +2 -0
  202. data/node_modules/govuk-frontend/govuk/core/_section-break.scss.map +1 -0
  203. data/node_modules/govuk-frontend/govuk/core/_typography.scss +2 -0
  204. data/node_modules/govuk-frontend/govuk/core/_typography.scss.map +1 -0
  205. data/node_modules/govuk-frontend/govuk/helpers/_all.scss +2 -0
  206. data/node_modules/govuk-frontend/govuk/helpers/_all.scss.map +1 -0
  207. data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss +2 -0
  208. data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss.map +1 -0
  209. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +2 -0
  210. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss.map +1 -0
  211. data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss +2 -0
  212. data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss.map +1 -0
  213. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +2 -0
  214. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss.map +1 -0
  215. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +2 -0
  216. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss.map +1 -0
  217. data/node_modules/govuk-frontend/govuk/helpers/_grid.scss +2 -0
  218. data/node_modules/govuk-frontend/govuk/helpers/_grid.scss.map +1 -0
  219. data/node_modules/govuk-frontend/govuk/helpers/_links.scss +2 -0
  220. data/node_modules/govuk-frontend/govuk/helpers/_links.scss.map +1 -0
  221. data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss +2 -0
  222. data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss.map +1 -0
  223. data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss +2 -0
  224. data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss.map +1 -0
  225. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +2 -0
  226. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss.map +1 -0
  227. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +2 -0
  228. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss.map +1 -0
  229. data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss +2 -0
  230. data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss.map +1 -0
  231. data/node_modules/govuk-frontend/govuk/objects/_all.scss +2 -0
  232. data/node_modules/govuk-frontend/govuk/objects/_all.scss.map +1 -0
  233. data/node_modules/govuk-frontend/govuk/objects/_button-group.scss +2 -0
  234. data/node_modules/govuk-frontend/govuk/objects/_button-group.scss.map +1 -0
  235. data/node_modules/govuk-frontend/govuk/objects/_form-group.scss +2 -0
  236. data/node_modules/govuk-frontend/govuk/objects/_form-group.scss.map +1 -0
  237. data/node_modules/govuk-frontend/govuk/objects/_grid.scss +2 -0
  238. data/node_modules/govuk-frontend/govuk/objects/_grid.scss.map +1 -0
  239. data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss +2 -0
  240. data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss.map +1 -0
  241. data/node_modules/govuk-frontend/govuk/objects/_template.scss +2 -0
  242. data/node_modules/govuk-frontend/govuk/objects/_template.scss.map +1 -0
  243. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +2 -0
  244. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss.map +1 -0
  245. data/node_modules/govuk-frontend/govuk/overrides/_all.scss +2 -0
  246. data/node_modules/govuk-frontend/govuk/overrides/_all.scss.map +1 -0
  247. data/node_modules/govuk-frontend/govuk/overrides/_display.scss +2 -0
  248. data/node_modules/govuk-frontend/govuk/overrides/_display.scss.map +1 -0
  249. data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss +2 -0
  250. data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss.map +1 -0
  251. data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss +2 -0
  252. data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss.map +1 -0
  253. data/node_modules/govuk-frontend/govuk/overrides/_typography.scss +2 -0
  254. data/node_modules/govuk-frontend/govuk/overrides/_typography.scss.map +1 -0
  255. data/node_modules/govuk-frontend/govuk/overrides/_width.scss +2 -0
  256. data/node_modules/govuk-frontend/govuk/overrides/_width.scss.map +1 -0
  257. data/node_modules/govuk-frontend/govuk/settings/_all.scss +2 -0
  258. data/node_modules/govuk-frontend/govuk/settings/_all.scss.map +1 -0
  259. data/node_modules/govuk-frontend/govuk/settings/_assets.scss +2 -0
  260. data/node_modules/govuk-frontend/govuk/settings/_assets.scss.map +1 -0
  261. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +2 -0
  262. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss.map +1 -0
  263. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +2 -0
  264. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss.map +1 -0
  265. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +2 -0
  266. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss.map +1 -0
  267. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +2 -0
  268. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss.map +1 -0
  269. data/node_modules/govuk-frontend/govuk/settings/_global-styles.scss +2 -0
  270. data/node_modules/govuk-frontend/govuk/settings/_global-styles.scss.map +1 -0
  271. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +2 -0
  272. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss.map +1 -0
  273. data/node_modules/govuk-frontend/govuk/settings/_links.scss +2 -0
  274. data/node_modules/govuk-frontend/govuk/settings/_links.scss.map +1 -0
  275. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +2 -0
  276. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss.map +1 -0
  277. data/node_modules/govuk-frontend/govuk/settings/_media-queries.scss +2 -0
  278. data/node_modules/govuk-frontend/govuk/settings/_media-queries.scss.map +1 -0
  279. data/node_modules/govuk-frontend/govuk/settings/_spacing.scss +2 -0
  280. data/node_modules/govuk-frontend/govuk/settings/_spacing.scss.map +1 -0
  281. data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss +2 -0
  282. data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss.map +1 -0
  283. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +2 -0
  284. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss.map +1 -0
  285. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +2 -0
  286. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss.map +1 -0
  287. data/node_modules/govuk-frontend/govuk/settings/_warnings.scss +2 -0
  288. data/node_modules/govuk-frontend/govuk/settings/_warnings.scss.map +1 -0
  289. data/node_modules/govuk-frontend/govuk/tools/_all.scss +2 -0
  290. data/node_modules/govuk-frontend/govuk/tools/_all.scss.map +1 -0
  291. data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss +2 -0
  292. data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss.map +1 -0
  293. data/node_modules/govuk-frontend/govuk/tools/_exports.scss +2 -0
  294. data/node_modules/govuk-frontend/govuk/tools/_exports.scss.map +1 -0
  295. data/node_modules/govuk-frontend/govuk/tools/_font-url.scss +2 -0
  296. data/node_modules/govuk-frontend/govuk/tools/_font-url.scss.map +1 -0
  297. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +2 -0
  298. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss.map +1 -0
  299. data/node_modules/govuk-frontend/govuk/tools/_image-url.scss +2 -0
  300. data/node_modules/govuk-frontend/govuk/tools/_image-url.scss.map +1 -0
  301. data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss +2 -0
  302. data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss.map +1 -0
  303. data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss +2 -0
  304. data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss.map +1 -0
  305. data/node_modules/govuk-frontend/govuk/utilities/_all.scss +2 -0
  306. data/node_modules/govuk-frontend/govuk/utilities/_all.scss.map +1 -0
  307. data/node_modules/govuk-frontend/govuk/utilities/_clearfix.scss +2 -0
  308. data/node_modules/govuk-frontend/govuk/utilities/_clearfix.scss.map +1 -0
  309. data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss +2 -0
  310. data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss.map +1 -0
  311. data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss +2 -0
  312. data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss.map +1 -0
  313. data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs +1 -1
  314. data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss +2 -0
  315. data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss.map +1 -0
  316. data/node_modules/govuk-frontend/package.json +1 -1
  317. metadata +135 -2
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_accordion.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/accordion/_accordion.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_accordion.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -174,11 +174,9 @@
174
174
  width: govuk-px-to-rem(6px);
175
175
  height: govuk-px-to-rem(6px);
176
176
 
177
- -webkit-transform: rotate(-45deg);
177
+ -ms-transform: rotate(-45deg);
178
178
 
179
- -ms-transform: rotate(-45deg);
180
-
181
- transform: rotate(-45deg);
179
+ transform: rotate(-45deg);
182
180
 
183
181
  border-top: govuk-px-to-rem(2px) solid;
184
182
  border-right: govuk-px-to-rem(2px) solid;
@@ -194,17 +192,15 @@
194
192
 
195
193
  // Rotate icon to create "Down" version
196
194
  .govuk-accordion-nav__chevron--down {
197
- -webkit-transform: rotate(180deg);
198
- -ms-transform: rotate(180deg);
199
- transform: rotate(180deg);
195
+ -ms-transform: rotate(180deg);
196
+ transform: rotate(180deg);
200
197
 
201
198
  // IE8 fallback of arrow icon
202
199
  @include _govuk-if-ie8 {
203
200
  &:after {
204
201
  content: "\25BC"; // "▼"
205
- -webkit-transform: none;
206
- -ms-transform: none;
207
- transform: none;
202
+ -ms-transform: none;
203
+ transform: none;
208
204
  }
209
205
  }
210
206
  }
@@ -390,3 +386,5 @@
390
386
  }
391
387
  }
392
388
  }
389
+
390
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/accordion/_index.scss"],"names":[],"mappings":"AAAA;EACE,mDAAmD;EACnD,4EAA4E;EAC5E,uDAAuD;EACvD,yCAAyC;;EAEzC;IACE,6CAA6C;EAC/C;;EAEA;IACE,6BAA6B;EAC/B;;EAEA;IACE,+DAA+D;IAC/D,aAAa;IACb,gBAAgB;;IAEhB,6BAA6B;IAC7B,gCAAgC;EAClC;;EAEA;IACE,6CAA6C;IAC7C,0BAA0B;;IAE1B,cAAc;IACd,gBAAgB;IAChB,6BAA6B;EAC/B;;EAEA,gEAAgE;EAChE;IACE,gBAAgB;EAClB;;EAEA,oBAAoB;EACpB;IACE;MACE,6CAA6C;MAC7C,8EAA8E;IAChF;;IAEA;MACE,cAAc;IAChB;;IAEA,uEAAuE;IACvE,mEAAmE;IACnE;MACE,aAAa;;MAEb,2CAA2C;MAC3C,8CAA8C;IAChD;;IAEA,0EAA0E;IAC1E,yEAAyE;IACzE;MACE;QACE,0BAA0B;QAC1B,gBAAgB;MAClB;;MAEA,wCAAwC;MACxC,cAAc;MACd,iBAAiB;IACnB;;IAEA,oCAAoC;IACpC;MACE,cAAc;IAChB;;IAEA;MACE,8BAA8B;MAC9B,kBAAkB;MAClB,UAAU;;MAEV,kBAAkB;MAClB,gDAAgD;;MAEhD,eAAe;;MAEf,yBAAyB;MACzB,gBAAgB;;MAEhB,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F;;IAEA,qDAAqD;IACrD,4DAA4D;IAC5D;MACE;QACE,sCAAsC;;QAEtC,8CAA8C;;QAE9C;UACE,sCAAsC;QACxC;MACF;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/accordion\") {\n $govuk-accordion-base-colour: govuk-colour(\"black\");\n $govuk-accordion-hover-colour: govuk-colour(\"light-grey\", $legacy: \"grey-3\");\n $govuk-accordion-icon-focus-colour: $govuk-focus-colour;\n $govuk-accordion-bottom-border-width: 1px;\n\n .govuk-accordion {\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-accordion__section {\n padding-top: govuk-spacing(3);\n }\n\n .govuk-accordion__section-heading {\n // Override browser defaults to ensure consistent element height\n margin-top: 0;\n margin-bottom: 0;\n\n padding-top: govuk-spacing(3);\n padding-bottom: govuk-spacing(3);\n }\n\n .govuk-accordion__section-button {\n @include govuk-font($size: 24, $weight: bold);\n @include govuk-text-colour;\n\n display: block;\n margin-bottom: 0;\n padding-top: govuk-spacing(3);\n }\n\n // Remove the bottom margin from the last item inside the content\n .govuk-accordion__section-content > :last-child {\n margin-bottom: 0;\n }\n\n // JavaScript enabled\n .js-enabled {\n .govuk-accordion {\n // Border at the bottom of the whole accordion\n border-bottom: $govuk-accordion-bottom-border-width solid $govuk-border-colour;\n }\n\n .govuk-accordion__section {\n padding-top: 0;\n }\n\n // Hide the body of collapsed sections by default for browsers that lack\n // support for `content-visibility` paired with [hidden=until-found]\n .govuk-accordion__section-content {\n display: none;\n\n @include govuk-responsive-padding(3, \"top\");\n @include govuk-responsive-padding(8, \"bottom\");\n }\n\n // Hide the body of collapsed sections using `content-visibility` to enable\n // page search within [hidden=until-found] regions where browser supported\n .govuk-accordion__section-content[hidden] {\n @supports (content-visibility: hidden) {\n content-visibility: hidden;\n display: inherit;\n }\n\n // Hide the padding of collapsed sections\n padding-top: 0;\n padding-bottom: 0;\n }\n\n // Show the body of expanded sections\n .govuk-accordion__section--expanded .govuk-accordion__section-content {\n display: block;\n }\n\n .govuk-accordion__show-all {\n @include govuk-font($size: 19);\n position: relative;\n z-index: 1;\n\n margin-bottom: 9px;\n padding: govuk-spacing(1) 2px govuk-spacing(1) 0;\n\n border-width: 0;\n\n color: $govuk-link-colour;\n background: none;\n\n cursor: pointer;\n -webkit-appearance: none;\n\n @include govuk-media-query ($from: tablet) {\n margin-bottom: 14px;\n }\n\n // Remove default button focus outline in Firefox\n &::-moz-focus-inner {\n padding: 0;\n border: 0;\n }\n\n &:hover {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-hover-colour;\n // The GOV.UK Design System focus state adds a box-shadow to the top and bottom of the\n // button. We add a grey box-shadow on hover too, to make the height of the hover state\n // match the height of the focus state.\n box-shadow: 0 -2px $govuk-accordion-hover-colour, 0 4px $govuk-accordion-hover-colour;\n\n .govuk-accordion__section-toggle-text {\n color: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron:after {\n color: $govuk-accordion-hover-colour;\n }\n }\n\n &:focus {\n @include govuk-focused-text;\n\n .govuk-accordion-nav__chevron {\n background: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron:after {\n color: $govuk-accordion-icon-focus-colour;\n }\n }\n }\n\n .govuk-accordion__section-heading {\n padding: 0;\n }\n\n // Create Chevron icon aligned with text\n .govuk-accordion-nav__chevron {\n box-sizing: border-box;\n display: inline-block;\n\n position: relative;\n\n // Set size using rems to make the icon scale with text if user resizes text in their browser\n width: govuk-px-to-rem(20px);\n height: govuk-px-to-rem(20px);\n\n border: govuk-px-to-rem(1px) solid;\n border-radius: 50%;\n\n vertical-align: middle;\n\n // IE8 fallback of icon\n @include _govuk-if-ie8 {\n display: inline-block;\n max-height: 20px;\n line-height: 1;\n }\n\n // Create inner chevron arrow\n &:after {\n content: \"\";\n box-sizing: border-box;\n display: block;\n\n position: absolute;\n bottom: govuk-px-to-rem(5px);\n left: govuk-px-to-rem(6px);\n\n width: govuk-px-to-rem(6px);\n height: govuk-px-to-rem(6px);\n\n transform: rotate(-45deg);\n\n border-top: govuk-px-to-rem(2px) solid;\n border-right: govuk-px-to-rem(2px) solid;\n\n // IE8 fallback of icon with HTML symbol\n @include _govuk-if-ie8 {\n content: \"\\25B2\"; // \"▲\"\n position: relative;\n border: 0;\n }\n }\n }\n\n // Rotate icon to create \"Down\" version\n .govuk-accordion-nav__chevron--down {\n transform: rotate(180deg);\n\n // IE8 fallback of arrow icon\n @include _govuk-if-ie8 {\n &:after {\n content: \"\\25BC\"; // \"▼\"\n transform: none;\n }\n }\n }\n\n .govuk-accordion__section-button {\n width: 100%;\n\n padding: govuk-spacing(2) 0 0 0;\n\n border: 0;\n\n border-top: $govuk-accordion-bottom-border-width solid $govuk-border-colour;\n\n // Visually separate the section from the one underneath when user changes colours in their\n // browser. See https://github.com/alphagov/govuk-frontend/issues/2321#issuecomment-924201488\n border-bottom: govuk-spacing(2) solid transparent;\n\n color: $govuk-text-colour;\n background: none;\n\n text-align: left;\n // Section headers have a pointer cursor as an additional affordance\n cursor: pointer;\n -webkit-appearance: none;\n\n @include govuk-media-query ($from: tablet) {\n padding-bottom: govuk-spacing(2);\n }\n\n &:active {\n color: $govuk-link-active-colour;\n background: none;\n }\n\n &:hover {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-hover-colour;\n\n .govuk-accordion__section-toggle-text {\n color: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron:after {\n color: $govuk-accordion-hover-colour;\n }\n }\n\n &:focus {\n // Remove default focus border around button as\n // styling is being applied to inner text elements that receive focus\n outline: 0;\n\n .govuk-accordion__section-heading-text-focus,\n .govuk-accordion__section-summary-focus,\n .govuk-accordion__section-toggle-focus {\n @include govuk-focused-text;\n }\n\n .govuk-accordion-nav__chevron {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron:after {\n color: $govuk-accordion-icon-focus-colour;\n }\n }\n\n // Remove default button focus outline in Firefox\n &::-moz-focus-inner {\n padding: 0;\n border: 0;\n }\n }\n\n // Remove the transparent border when the section is expanded to make it clear that the heading\n // relates to the content below. Adjust padding to maintain the height of the element.\n // See https://github.com/alphagov/govuk-frontend/pull/2257#issuecomment-951920798\n .govuk-accordion__section--expanded .govuk-accordion__section-button {\n padding-bottom: govuk-spacing(3);\n border-bottom: 0;\n\n @include govuk-media-query ($from: tablet) {\n padding-bottom: govuk-spacing(4);\n }\n }\n\n // As Chevron icon is vertically aligned it overlaps with the focus state bottom border\n // Styling adds some spacing\n .govuk-accordion__section-button:focus .govuk-accordion__section-toggle-focus {\n padding-bottom: 3px;\n\n @include govuk-media-query ($from: desktop) {\n padding-bottom: 2px;\n }\n }\n\n .govuk-accordion__section-toggle,\n .govuk-accordion__section-heading-text,\n .govuk-accordion__section-summary {\n display: block;\n margin-bottom: 13px;\n\n .govuk-accordion__section-heading-text-focus,\n .govuk-accordion__section-summary-focus,\n .govuk-accordion__section-toggle-focus {\n display: inline;\n }\n }\n\n // Add toggle link with Chevron icon on left.\n .govuk-accordion__section-toggle {\n @include govuk-typography-responsive($size: 19);\n @include govuk-typography-weight-regular;\n color: $govuk-link-colour;\n }\n\n // Add space between the icon and text.\n // Avoid applying spacing directly to the icon as the use of `transform` will change the\n // placement of any margins.\n .govuk-accordion__show-all-text,\n .govuk-accordion__section-toggle-text {\n margin-left: govuk-spacing(1);\n vertical-align: middle;\n }\n\n // Background colour adjustment when user changes colours in Firefox\n //\n // When user changes colours in Firefox, text colour inside <button> is always black\n // (regardless of the custom colours the user has set). This is fine when the text in the\n // button is not nested inside another element because when user changes colours in Firefox,\n // the immediate background colour of buttons is always white (again, regardless of user's\n // custom colours).\n //\n // However, when the text inside <button> is wrapped inside another element AND that element\n // sets a background colour, the text colour is still black but the background of that nested\n // element gets the user's custom background colour. When the custom background is a lighter\n // hue, the contrast might be sufficient. But if the user's custom background colour is a\n // darker colour, the contrast with the text might not be sufficient.\n //\n // To ensure sufficient contrast, override the background colour set by the focus state on the\n // nested elements to be transparent.\n //\n // Also override the background colour of the Show/Hide chevrons which set a background colour\n // on hover.\n @media screen and (forced-colors: active) {\n .govuk-accordion__show-all:hover,\n .govuk-accordion__section-button:hover {\n .govuk-accordion-nav__chevron {\n background-color: transparent;\n }\n }\n\n .govuk-accordion__show-all:focus,\n .govuk-accordion__section-button:focus {\n .govuk-accordion__section-heading-text-focus,\n .govuk-accordion__section-summary-focus,\n .govuk-accordion__section-toggle-focus,\n .govuk-accordion-nav__chevron {\n background: transparent;\n background-color: transparent;\n }\n }\n }\n\n // For devices that can't hover such as touch devices,\n // remove hover state as it can be stuck in that state (iOS).\n @media (hover: none) {\n .govuk-accordion__section-header:hover {\n border-top-color: $govuk-border-colour;\n\n box-shadow: inset 0 3px 0 0 $govuk-link-colour;\n\n .govuk-accordion__section-button {\n border-top-color: $govuk-border-colour;\n }\n }\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_back-link.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/back-link/_back-link.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_back-link.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -53,11 +53,9 @@
53
53
 
54
54
  margin: auto 0;
55
55
 
56
- -webkit-transform: rotate(225deg);
56
+ -ms-transform: rotate(225deg);
57
57
 
58
- -ms-transform: rotate(225deg);
59
-
60
- transform: rotate(225deg);
58
+ transform: rotate(225deg);
61
59
 
62
60
  border: solid;
63
61
  border-width: $chevron-border-min-width $chevron-border-min-width 0 0;
@@ -105,3 +103,5 @@
105
103
  }
106
104
  }
107
105
  }
106
+
107
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/back-link/_index.scss"],"names":[],"mappings":"AAAA;EACE,6DAA6D;EAC7D,cAAc;;EAEd,oCAAoC;EACpC,wCAAwC;;EAExC,wBAAwB;EACxB,8BAA8B;EAC9B,sEAAsE;;EAEtE,mBAAmB;EACnB,oDAAoD;;EAEpD;IACE,uDAAuD;IACvD,0BAA0B;IAC1B,8BAA8B;;IAE9B,qBAAqB;IACrB,kBAAkB;;IAElB,4BAA4B;IAC5B,+BAA+B;;IAE/B,2BAA2B;IAC3B,wCAAwC;EAC1C;;EAEA,+BAA+B;EAC/B;IACE,WAAW;IACX,cAAc;;IAEd,0CAA0C;IAC1C,kBAAkB;;IAElB;MACE,4CAA4C;MAC5C,6DAA6D;MAC7D,kCAAkC;MAClC,iBAAiB;MACjB,eAAe;IACjB,EAAE;MACA,MAAM;MACN,SAAS;IACX;;IAEA,+BAA+B;;IAE/B,oBAAoB;IACpB,qBAAqB;;IAErB,cAAc;;IAEd,6BAAyB;;QAAzB,yBAAyB;;IAEzB,aAAa;IACb,qEAAqE;IACrE,oCAAoC;;IAEpC;MACE,oJAAoJ;;MAEpJ,sDAAsD;MACtD,mDAAmD;IACrD;;IAEA,uCAAuC;IACvC;MACE,gBAAgB,EAAE,oBAAoB;MACtC,WAAW;MACX,YAAY;MACZ,SAAS;MACT,6BAA6B;;MAE7B,uEAAuE;MACvE,sEAAsE;MACtE,8BAA8B;IAChC;EACF;;EAEA;IACE,sCAAsC;EACxC;;EAEA;IACE,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,QAAQ;IACR,aAAa;IACb,OAAO;EACT;;EAEA;IACE,iCAAiC;;IAEjC;MACE,0BAA0B;IAC5B;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/back-link\") {\n // Component font-size on the Frontend (used for calculations)\n $font-size: 16;\n\n // Size of chevron (excluding border)\n $chevron-size: govuk-em(7px, $font-size);\n\n // Size of chevron border\n $chevron-border-min-width: 1px;\n $chevron-border-width: govuk-em($chevron-border-min-width, $font-size);\n\n // Colour of chevron\n $chevron-border-colour: $govuk-secondary-text-colour;\n\n .govuk-back-link {\n @include govuk-typography-responsive($size: $font-size);\n @include govuk-link-common;\n @include govuk-link-style-text;\n\n display: inline-block;\n position: relative;\n\n margin-top: govuk-spacing(3);\n margin-bottom: govuk-spacing(3);\n\n // Allow space for the arrow\n padding-left: govuk-em(14px, $font-size);\n }\n\n // Prepend left pointing chevron\n .govuk-back-link:before {\n content: \"\";\n display: block;\n\n // Vertically align with the parent element\n position: absolute;\n\n @if $govuk-use-legacy-font {\n // Begin adjustments for font baseline offset\n // These should be removed when legacy font support is dropped\n $offset: govuk-em(1px, $font-size);\n top: $offset * -1;\n bottom: $offset;\n } @else {\n top: 0;\n bottom: 0;\n }\n\n left: govuk-em(3px, $font-size);\n\n width: $chevron-size;\n height: $chevron-size;\n\n margin: auto 0;\n\n transform: rotate(225deg);\n\n border: solid;\n border-width: $chevron-border-min-width $chevron-border-min-width 0 0;\n border-color: $chevron-border-colour;\n\n @supports (border-width: unquote(\"max(0px)\")) {\n border-width: unquote(\"max(#{$chevron-border-min-width}, #{$chevron-border-width}) max(#{$chevron-border-min-width}, #{$chevron-border-width})\") 0 0;\n\n // Ensure that the chevron never gets smaller than 16px\n font-size: unquote(\"max(#{$font-size * 1px}, 1em)\");\n }\n\n // Fall back to a less than sign for IE8\n @include _govuk-if-ie8 {\n content: \"\\003c\"; // Less than sign (<)\n width: auto;\n height: auto;\n border: 0;\n color: $chevron-border-colour;\n\n // IE8 doesn't seem to like rendering pseudo-elements using @font-faces,\n // so fall back to using another sans-serif font to render the chevron.\n font-family: Arial, sans-serif;\n }\n }\n\n .govuk-back-link:focus:before {\n border-color: $govuk-focus-text-colour;\n }\n\n .govuk-back-link:after {\n content: \"\";\n position: absolute;\n top: -14px;\n right: 0;\n bottom: -14px;\n left: 0;\n }\n\n .govuk-back-link--inverse {\n @include govuk-link-style-inverse;\n\n &:before {\n border-color: currentcolor;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_breadcrumbs.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/breadcrumbs/_breadcrumbs.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_breadcrumbs.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -75,11 +75,9 @@
75
75
 
76
76
  margin: auto 0;
77
77
 
78
- -webkit-transform: rotate(45deg);
78
+ -ms-transform: rotate(45deg);
79
79
 
80
- -ms-transform: rotate(45deg);
81
-
82
- transform: rotate(45deg);
80
+ transform: rotate(45deg);
83
81
 
84
82
  border: solid;
85
83
  border-width: $chevron-border-min-width $chevron-border-min-width 0 0;
@@ -157,3 +155,5 @@
157
155
  }
158
156
  }
159
157
  }
158
+
159
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/breadcrumbs/_index.scss"],"names":[],"mappings":"AAAA;EACE,6DAA6D;EAC7D,cAAc;;EAEd,oCAAoC;EACpC,wCAAwC;;EAExC,wBAAwB;EACxB,8BAA8B;EAC9B,sEAAsE;;EAEtE,mBAAmB;EACnB,oDAAoD;;EAEpD,2EAA2E;EAC3E,iCAAiC;EACjC,CAAC;EACD,0BAA0B;EAC1B,2DAA2D;;EAE3D;IACE,sCAAsC;IACtC,0BAA0B;;IAE1B,4BAA4B;IAC5B,+BAA+B;EACjC;;EAEA;IACE,uBAAuB;;IAEvB,SAAS;IACT,UAAU;IACV,qBAAqB;EACvB;;EAEA;;IAEE,qBAAqB;IACrB,kBAAkB;;IAElB,+BAA+B;;IAE/B,qEAAqE;IACrE,8BAA8B;IAC9B,mDAAmD;IACnD,mFAAmF;;IAEnF,WAAW;;IAEX,wEAAwE;IACxE;MACE,WAAW;MACX,cAAc;;MAEd,kBAAkB;;MAElB;QACE,4CAA4C;QAC5C,6DAA6D;QAC7D,kCAAkC;QAClC,iBAAiB;QACjB,eAAe;MACjB,EAAE;QACA,MAAM;QACN,SAAS;MACX;;MAEA,sEAAsE;MACtE,4BAA4B;MAC5B,mFAAmF;;MAEnF,oBAAoB;MACpB,qBAAqB;;MAErB,cAAc;;MAEd,4BAAwB;;UAAxB,wBAAwB;;MAExB,aAAa;MACb,qEAAqE;MACrE,oCAAoC;;MAEpC;QACE,oJAAoJ;;QAEpJ,sDAAsD;QACtD,mDAAmD;MACrD;;MAEA,0CAA0C;MAC1C;QACE,gBAAgB,EAAE,uBAAuB;QACzC,WAAW;QACX,YAAY;QACZ,SAAS;QACT,6BAA6B;;QAE7B,uEAAuE;QACvE,sEAAsE;QACtE,8BAA8B;MAChC;IACF;;IAEA;MACE,cAAc;MACd,eAAe;;MAEf;QACE,aAAa;QACb,aAAa;MACf;IACF;EACF;;EAEA;IACE,0BAA0B;IAC1B,8BAA8B;EAChC;;EAEA;IACE;MACE;QACE,aAAa;;QAEb;;UAEE,qBAAqB;QACvB;;QAEA;UACE,8BAA8B;UAC9B,SAAS;QACX;MACF;;MAEA;QACE,oBAAa;QAAb,aAAa;MACf;IACF;EACF;;EAEA;IACE,4BAA4B;;IAE5B;MACE,iCAAiC;IACnC;;IAEA;MACE,0BAA0B;IAC5B;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/breadcrumbs\") {\n // Component font-size on the Frontend (used for calculations)\n $font-size: 16;\n\n // Size of chevron (excluding border)\n $chevron-size: govuk-em(7px, $font-size);\n\n // Size of chevron border\n $chevron-border-min-width: 1px;\n $chevron-border-width: govuk-em($chevron-border-min-width, $font-size);\n\n // Colour of chevron\n $chevron-border-colour: $govuk-secondary-text-colour;\n\n // Calculated altitude (△↕) of the right-angled isosceles chevron with sides\n // of length 8 (7px + 1px border):\n //\n // √(8² + 8²) * 0.5 ≅ 5.655\n $chevron-altitude-calculated: govuk-em(5.655px, $font-size);\n\n .govuk-breadcrumbs {\n @include govuk-font($size: $font-size);\n @include govuk-text-colour;\n\n margin-top: govuk-spacing(3);\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-breadcrumbs__list {\n @include govuk-clearfix;\n\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .govuk-breadcrumbs__list-item {\n\n display: inline-block;\n position: relative;\n\n margin-bottom: govuk-spacing(1);\n\n // Add both margin and padding such that the chevron appears centrally\n // between each breadcrumb item\n margin-left: govuk-em(govuk-spacing(2), $font-size);\n padding-left: govuk-em(govuk-spacing(2), $font-size) + $chevron-altitude-calculated;\n\n float: left;\n\n // Create a chevron using a box with borders on two sides, rotated 45deg.\n &:before {\n content: \"\";\n display: block;\n\n position: absolute;\n\n @if $govuk-use-legacy-font {\n // Begin adjustments for font baseline offset\n // These should be removed when legacy font support is dropped\n $offset: govuk-em(1px, $font-size);\n top: $offset * -1;\n bottom: $offset;\n } @else {\n top: 0;\n bottom: 0;\n }\n\n // Offset by the difference between the width of the non-rotated square\n // and its width when rotated\n left: (($chevron-altitude-calculated * -2) + $chevron-size + $chevron-border-width);\n\n width: $chevron-size;\n height: $chevron-size;\n\n margin: auto 0;\n\n transform: rotate(45deg);\n\n border: solid;\n border-width: $chevron-border-min-width $chevron-border-min-width 0 0;\n border-color: $chevron-border-colour;\n\n @supports (border-width: unquote(\"max(0px)\")) {\n border-width: unquote(\"max(#{$chevron-border-min-width}, #{$chevron-border-width}) max(#{$chevron-border-min-width}, #{$chevron-border-width})\") 0 0;\n\n // Ensure that the chevron never gets smaller than 16px\n font-size: unquote(\"max(#{$font-size * 1px}, 1em)\");\n }\n\n // Fall back to a greater than sign for IE8\n @include _govuk-if-ie8 {\n content: \"\\003e\"; // Greater than sign (>)\n width: auto;\n height: auto;\n border: 0;\n color: $chevron-border-colour;\n\n // IE8 doesn't seem to like rendering pseudo-elements using @font-faces,\n // so fall back to using another sans-serif font to render the chevron.\n font-family: Arial, sans-serif;\n }\n }\n\n &:first-child {\n margin-left: 0;\n padding-left: 0;\n\n &:before {\n content: none;\n display: none;\n }\n }\n }\n\n .govuk-breadcrumbs__link {\n @include govuk-link-common;\n @include govuk-link-style-text;\n }\n\n .govuk-breadcrumbs--collapse-on-mobile {\n @include govuk-media-query($until: tablet) {\n .govuk-breadcrumbs__list-item {\n display: none;\n\n &:first-child,\n &:last-child {\n display: inline-block;\n }\n\n &:before {\n top: govuk-em(6px, $font-size);\n margin: 0;\n }\n }\n\n .govuk-breadcrumbs__list {\n display: flex;\n }\n }\n }\n\n .govuk-breadcrumbs--inverse {\n color: govuk-colour(\"white\");\n\n .govuk-breadcrumbs__link {\n @include govuk-link-style-inverse;\n }\n\n .govuk-breadcrumbs__list-item:before {\n border-color: currentcolor;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_button.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/button/_button.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_button.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -333,3 +333,5 @@ $govuk-button-text-colour: govuk-colour("white") !default;
333
333
  }
334
334
  }
335
335
  }
336
+
337
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/button/_index.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,2BAA2B;AAC3B,GAAG;;AAEH,qCAAqC;AACrC,EAAE;AACF,eAAe;AACf,iBAAiB;;AAEjB,iFAAiF;;AAEjF,+BAA+B;AAC/B,EAAE;AACF,eAAe;AACf,iBAAiB;;AAEjB,yDAAyD;;AAEzD;EACE,qDAAqD;EACrD,oDAAoD;EACpD,kEAAkE;EAClE,mEAAmE;;EAEnE,4BAA4B;EAC5B,6EAA6E;EAC7E,0DAA0D;EAC1D,sFAAsF;EACtF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B;IACpB,gBAAgB;;IAEhB,qBAAuB;;QAAvB,uBAAuB;EACzB;;EAEA;IACE,6BAA6B;;IAE7B;MACE,6BAA6B;IAC/B;IACA,sBAAsB;IACtB,oBAAc;QAAd,cAAc;IACd,2BAAkB;QAAlB,kBAAkB;IAClB,wEAAwE;IACxE,mDAAmD;IACnD,yBAAyB;EAC3B;;EAEA;IACE,iEAAiE;IACjE,UAAU;;IAEV;MACE,wGAAwG,EAAE,IAAI;MAC9G,+GAA+G,EAAE,IAAI;IACvH;;IAEA;MACE,gBAAgB;IAClB;EACF;AACF","file":"_index.scss","sourcesContent":["////\n/// @group components/button\n////\n\n/// Button component background colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-button-background-colour: govuk-colour(\"green\", $legacy: #00823b) !default;\n\n/// Button component text colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-button-text-colour: govuk-colour(\"white\") !default;\n\n@include govuk-exports(\"govuk/component/button\") {\n $govuk-button-colour: $govuk-button-background-colour;\n $govuk-button-text-colour: $govuk-button-text-colour;\n $govuk-button-hover-colour: govuk-shade($govuk-button-colour, 20%);\n $govuk-button-shadow-colour: govuk-shade($govuk-button-colour, 60%);\n\n // Secondary button variables\n $govuk-secondary-button-colour: govuk-colour(\"light-grey\", $legacy: \"grey-3\");\n $govuk-secondary-button-text-colour: govuk-colour(\"black\");\n $govuk-secondary-button-hover-colour: govuk-shade($govuk-secondary-button-colour, 10%);\n $govuk-secondary-button-shadow-colour: govuk-shade($govuk-secondary-button-colour, 40%);\n\n // Warning button variables\n $govuk-warning-button-colour: govuk-colour(\"red\");\n $govuk-warning-button-text-colour: govuk-colour(\"white\");\n $govuk-warning-button-hover-colour: govuk-shade($govuk-warning-button-colour, 20%);\n $govuk-warning-button-shadow-colour: govuk-shade($govuk-warning-button-colour, 60%);\n\n // Inverse button variables\n $govuk-inverse-button-colour: govuk-colour(\"white\");\n $govuk-inverse-button-text-colour: govuk-colour(\"blue\");\n $govuk-inverse-button-hover-colour: govuk-tint($govuk-inverse-button-text-colour, 90%);\n $govuk-inverse-button-shadow-colour: govuk-shade($govuk-inverse-button-text-colour, 30%);\n\n // Because the shadow (s0) is visually 'part of' the button, we need to reduce\n // the height of the button to compensate by adjusting its padding (s1) and\n // increase the bottom margin to include it (s2).\n $button-shadow-size: $govuk-border-width-form-element;\n\n .govuk-button {\n @include govuk-font($size: 19, $line-height: 19px);\n\n box-sizing: border-box;\n display: inline-block;\n position: relative;\n width: 100%;\n margin-top: 0;\n margin-right: 0;\n margin-left: 0;\n @include govuk-responsive-margin(6, \"bottom\", $adjustment: $button-shadow-size); // s2\n padding: (govuk-spacing(2) - $govuk-border-width-form-element) govuk-spacing(2) (govuk-spacing(2) - $govuk-border-width-form-element - ($button-shadow-size / 2)); // s1\n border: $govuk-border-width-form-element solid transparent;\n border-radius: 0;\n color: $govuk-button-text-colour;\n background-color: $govuk-button-colour;\n box-shadow: 0 $button-shadow-size 0 $govuk-button-shadow-colour; // s0\n text-align: center;\n vertical-align: top;\n cursor: pointer;\n -webkit-appearance: none;\n\n @include _govuk-if-ie8 {\n border-bottom: $button-shadow-size solid $govuk-button-shadow-colour;\n }\n\n @include govuk-media-query($from: tablet) {\n width: auto;\n }\n\n // Ensure that any global link styles are overridden\n &:link,\n &:visited,\n &:active,\n &:hover {\n color: $govuk-button-text-colour;\n text-decoration: none;\n }\n\n // Fix unwanted button padding in Firefox\n &::-moz-focus-inner {\n padding: 0;\n border: 0;\n }\n\n &:hover {\n background-color: $govuk-button-hover-colour;\n }\n\n &:active {\n // Bump the button down so it looks like its being pressed in\n top: $button-shadow-size;\n\n @include _govuk-if-ie8 {\n border-bottom-width: 0;\n }\n }\n\n &:focus {\n border-color: $govuk-focus-colour;\n // When colours are overridden, for example when users have a dark mode,\n // backgrounds and box-shadows disappear, so we need to ensure there's a\n // transparent outline which will be set to a visible colour.\n // Since Internet Explorer 8 does not support box-shadow, we want to force the user-agent outlines\n @include _govuk-not-ie8 {\n outline: $govuk-focus-width solid transparent;\n }\n // Since Internet Explorer does not support `:not()` we set a clearer focus style to match user-agent outlines.\n @include _govuk-if-ie8 {\n color: $govuk-focus-text-colour;\n background-color: $govuk-focus-colour;\n }\n box-shadow: inset 0 0 0 1px $govuk-focus-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited links a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-button-text-colour;\n }\n }\n\n &:focus:not(:active):not(:hover) {\n border-color: $govuk-focus-colour;\n color: $govuk-focus-text-colour;\n background-color: $govuk-focus-colour;\n box-shadow: 0 2px 0 $govuk-focus-text-colour;\n }\n\n // The following adjustments do not work for <input type=\"button\"> as\n // non-container elements cannot include pseudo elements (i.e. ::before).\n\n // Use a pseudo element to expand the click target area to include the\n // button's shadow as well, in case users try to click it.\n &:before {\n content: \"\";\n display: block;\n\n position: absolute;\n\n top: -$govuk-border-width-form-element;\n right: -$govuk-border-width-form-element;\n bottom: -($govuk-border-width-form-element + $button-shadow-size);\n left: -$govuk-border-width-form-element;\n\n background: transparent;\n }\n\n // When the button is active it is shifted down by $button-shadow-size to\n // denote a 'pressed' state. If the user happened to click at the very top\n // of the button, their mouse is no longer over the button (because it has\n // 'moved beneath them') and so the click event is not fired.\n //\n // This corrects that by shifting the top of the pseudo element so that it\n // continues to cover the area that the user originally clicked, which means\n // the click event is still fired.\n //\n // 🎉\n &:active:before {\n top: -($govuk-border-width-form-element + $button-shadow-size);\n }\n }\n\n // @deprecated Disabling buttons using the .govuk-button--disabled class is\n // deprecated and will be removed in the next major version.\n .govuk-button--disabled,\n .govuk-button[disabled=\"disabled\"],\n .govuk-button[disabled] {\n opacity: (.5);\n\n &:hover {\n background-color: $govuk-button-colour;\n cursor: not-allowed;\n }\n\n &:active {\n top: 0;\n box-shadow: 0 $button-shadow-size 0 $govuk-button-shadow-colour; // s0\n @include _govuk-if-ie8 {\n border-bottom: $button-shadow-size solid $govuk-button-shadow-colour; // s0\n }\n }\n }\n\n .govuk-button--secondary {\n background-color: $govuk-secondary-button-colour;\n box-shadow: 0 $button-shadow-size 0 $govuk-secondary-button-shadow-colour;\n\n &,\n &:link,\n &:visited,\n &:active,\n &:hover {\n color: $govuk-secondary-button-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited links a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-secondary-button-text-colour;\n }\n }\n\n &:hover {\n background-color: $govuk-secondary-button-hover-colour;\n\n &[disabled] {\n background-color: $govuk-secondary-button-colour;\n }\n }\n }\n\n .govuk-button--warning {\n background-color: $govuk-warning-button-colour;\n box-shadow: 0 $button-shadow-size 0 $govuk-warning-button-shadow-colour;\n\n &,\n &:link,\n &:visited,\n &:active,\n &:hover {\n color: $govuk-warning-button-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited links a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-warning-button-text-colour;\n }\n }\n\n &:hover {\n background-color: $govuk-warning-button-hover-colour;\n\n &[disabled] {\n background-color: $govuk-warning-button-colour;\n }\n }\n }\n\n .govuk-button--inverse {\n background-color: $govuk-inverse-button-colour;\n box-shadow: 0 $button-shadow-size 0 $govuk-inverse-button-shadow-colour;\n\n &,\n &:link,\n &:visited,\n &:active,\n &:hover {\n color: $govuk-inverse-button-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited links a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-inverse-button-text-colour;\n }\n }\n\n &:hover {\n background-color: $govuk-inverse-button-hover-colour;\n\n &[disabled] {\n background-color: $govuk-inverse-button-colour;\n }\n }\n }\n\n .govuk-button--start {\n @include govuk-typography-weight-bold;\n @include govuk-typography-responsive($size: 24, $override-line-height: 1);\n\n display: inline-flex;\n min-height: auto;\n\n justify-content: center;\n }\n\n .govuk-button__start-icon {\n margin-left: govuk-spacing(1);\n\n @include govuk-media-query($from: desktop) {\n margin-left: govuk-spacing(2);\n }\n vertical-align: middle;\n flex-shrink: 0;\n align-self: center;\n // Work around SVGs not inheriting color from parent in forced color mode\n // (https://github.com/w3c/csswg-drafts/issues/6310)\n forced-color-adjust: auto;\n }\n\n @if $govuk-use-legacy-font {\n // Begin adjustments for font baseline offset when using v1 of nta\n $offset: 2;\n\n .govuk-button {\n padding-top: (govuk-spacing(2) - $govuk-border-width-form-element - ($button-shadow-size / 2) + $offset); // s1\n padding-bottom: (govuk-spacing(2) - $govuk-border-width-form-element - ($button-shadow-size / 2) - $offset + 1); // s1\n }\n\n .govuk-button__start-icon {\n margin-top: -3px;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_character-count.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/character-count/_character-count.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_character-count.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -32,3 +32,5 @@
32
32
  visibility: hidden;
33
33
  }
34
34
  }
35
+
36
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/character-count/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uBAAuB;AACvB,wBAAwB;AACxB,2BAA2B;;AAE3B;EACE;IACE,6CAA6C;;IAE7C;;MAEE,+BAA+B;IACjC;EACF;;EAEA;IACE,iDAAiD;IACjD,aAAa;IACb,gBAAgB;;IAEhB;MACE,4EAA4E;MAC5E,KAAK;MACL,+DAA+D;MAC/D,iEAAiE;MACjE,wEAAwE;MACxE,gBAAgB;IAClB;EACF;;EAEA;IACE,kBAAkB;EACpB;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n@import \"../textarea/index\";\n\n@include govuk-exports(\"govuk/component/character-count\") {\n .govuk-character-count {\n @include govuk-responsive-margin(6, \"bottom\");\n\n .govuk-form-group,\n .govuk-textarea {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n .govuk-character-count__message {\n @include govuk-font($size: false, $tabular: true);\n margin-top: 0;\n margin-bottom: 0;\n\n &:after {\n // Zero-width space that will reserve vertical space when no hint is provided\n // as:\n // - setting a min-height is not possible without a magic number\n // because the line-height is set by the `govuk-font` call above\n // - using `:empty` is not possible as the hint macro outputs line breaks\n content: \"\\200B\";\n }\n }\n\n .govuk-character-count__message--disabled {\n visibility: hidden;\n }\n}\n"]}
@@ -20,10 +20,13 @@
20
20
  "name": "custom-textarea-description",
21
21
  "id": "custom-textarea-description",
22
22
  "maxlength": 10,
23
+ "label": {
24
+ "text": "Can you provide more detail?"
25
+ },
23
26
  "textareaDescriptionText": "Gallwch ddefnyddio hyd at %{count} nod"
24
27
  },
25
28
  "hidden": false,
26
- "html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\">\n <div class=\"govuk-form-group\">\n \n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"custom-textarea-description\" name=\"custom-textarea-description\" rows=\"5\" aria-describedby=\"custom-textarea-description-info\"></textarea>\n</div>\n \n <div id=\"custom-textarea-description-info\" class=\"govuk-hint govuk-character-count__message\">\n Gallwch ddefnyddio hyd at 10 nod\n</div>\n\n</div>"
29
+ "html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"custom-textarea-description\">\n Can you provide more detail?\n </label>\n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"custom-textarea-description\" name=\"custom-textarea-description\" rows=\"5\" aria-describedby=\"custom-textarea-description-info\"></textarea>\n</div>\n \n <div id=\"custom-textarea-description-info\" class=\"govuk-hint govuk-character-count__message\">\n Gallwch ddefnyddio hyd at 10 nod\n</div>\n\n</div>"
27
30
  },
28
31
  {
29
32
  "name": "with hint",
@@ -134,6 +137,9 @@
134
137
  "id": "with-translations",
135
138
  "name": "with-translations",
136
139
  "maxlength": 10,
140
+ "label": {
141
+ "text": "Full address"
142
+ },
137
143
  "charactersUnderLimitText": {
138
144
  "other": "%{count} characters to go",
139
145
  "one": "One character to go"
@@ -154,7 +160,7 @@
154
160
  }
155
161
  },
156
162
  "hidden": false,
157
- "html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\" data-i18n.characters-under-limit.other=\"%{count} characters to go\" data-i18n.characters-under-limit.one=\"One character to go\" data-i18n.characters-at-limit=\"Zero characters left\" data-i18n.characters-over-limit.other=\"%{count} characters too many\" data-i18n.characters-over-limit.one=\"One character too many\" data-i18n.words-under-limit.other=\"%{count} words to go\" data-i18n.words-under-limit.one=\"One word to go\" data-i18n.words-at-limit=\"Zero words left\" data-i18n.words-over-limit.other=\"%{count} words too many\" data-i18n.words-over-limit.one=\"One word too many\">\n <div class=\"govuk-form-group\">\n \n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"with-translations\" name=\"with-translations\" rows=\"5\" aria-describedby=\"with-translations-info\"></textarea>\n</div>\n \n <div id=\"with-translations-info\" class=\"govuk-hint govuk-character-count__message\">\n You can enter up to 10 characters\n</div>\n\n</div>"
163
+ "html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\" data-i18n.characters-under-limit.other=\"%{count} characters to go\" data-i18n.characters-under-limit.one=\"One character to go\" data-i18n.characters-at-limit=\"Zero characters left\" data-i18n.characters-over-limit.other=\"%{count} characters too many\" data-i18n.characters-over-limit.one=\"One character too many\" data-i18n.words-under-limit.other=\"%{count} words to go\" data-i18n.words-under-limit.one=\"One word to go\" data-i18n.words-at-limit=\"Zero words left\" data-i18n.words-over-limit.other=\"%{count} words too many\" data-i18n.words-over-limit.one=\"One word too many\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-translations\">\n Full address\n </label>\n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"with-translations\" name=\"with-translations\" rows=\"5\" aria-describedby=\"with-translations-info\"></textarea>\n</div>\n \n <div id=\"with-translations-info\" class=\"govuk-hint govuk-character-count__message\">\n You can enter up to 10 characters\n</div>\n\n</div>"
158
164
  },
159
165
  {
160
166
  "name": "classes",
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_checkboxes.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/checkboxes/_checkboxes.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_checkboxes.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -101,11 +101,9 @@
101
101
  width: 23px;
102
102
  height: 12px;
103
103
 
104
- -webkit-transform: rotate(-45deg);
104
+ -ms-transform: rotate(-45deg);
105
105
 
106
- -ms-transform: rotate(-45deg);
107
-
108
- transform: rotate(-45deg);
106
+ transform: rotate(-45deg);
109
107
  border: solid;
110
108
  border-width: 0 0 5px 5px;
111
109
  // Fix bug in IE11 caused by transform rotate (-45deg).
@@ -333,3 +331,5 @@
333
331
  }
334
332
  }
335
333
  }
334
+
335
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/checkboxes/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,2BAA2B;AAC3B,uBAA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DAAqD,EAAE,GAAG;MAC1D,mCAAmC,EAAE,GAAG;MACxC,oCAAoC,EAAE,GAAG;IAC3C;;IAEA,cAAc;IACd,CAAC;IACD,oEAAoE;IACpE;MACE,SAAS;MACT,SAAS;MACT,WAAW;MACX,aAAa;MACb,yBAAyB;IAC3B;;IAEA,4CAA4C;IAC5C,CAAC;IACD,2EAA2E;IAC3E,0EAA0E;IAC1E,uBAAuB;IACvB,CAAC;IACD,0EAA0E;IAC1E,iBAAiB;IACjB;MACE,UAAU;MACV,WAAW;IACb;;IAEA,iDAAiD;IACjD;MACE,kFAAkF;MAClF,yBAAyB;MACzB,wEAAwE;MACxE,WAAW;IACb;;IAEA,mCAAmC;IACnC,CAAC;IACD,yEAAyE;IACzE,sEAAsE;IACtE,uEAAuE;IACvE,wCAAwC;IACxC;MACE,wDAAwD;IAC1D;;IAEA,yEAAyE;IACzE,+BAA+B;IAC/B,CAAC;IACD,wEAAwE;IACxE,oDAAoD;IACpD;MACE;;oDAE8C,EAAE,GAAG;IACrD;;IAEA,wEAAwE;IACxE,yCAAyC;IACzC,CAAC;IACD,wEAAwE;IACxE,sEAAsE;IACtE,2DAA2D;IAC3D;MACE;QACE,mBAAmB;MACrB;;MAEA;QACE,wDAAwD;MAC1D;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../fieldset/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/checkboxes\") {\n\n $govuk-touch-target-size: 44px;\n $govuk-checkboxes-size: 40px;\n $govuk-small-checkboxes-size: 24px;\n $govuk-checkboxes-label-padding-left-right: govuk-spacing(3);\n\n .govuk-checkboxes__item {\n @include govuk-font($size: 19);\n\n display: block;\n position: relative;\n\n min-height: $govuk-checkboxes-size;\n\n margin-bottom: govuk-spacing(2);\n padding-left: $govuk-checkboxes-size;\n\n clear: left;\n }\n\n .govuk-checkboxes__item:last-child,\n .govuk-checkboxes__item:last-of-type {\n margin-bottom: 0;\n }\n\n .govuk-checkboxes__input {\n $input-offset: ($govuk-touch-target-size - $govuk-checkboxes-size) / 2;\n\n cursor: pointer;\n\n // IE8 doesn’t support pseudo-elements, so we don’t want to hide native\n // elements there.\n @include _govuk-not-ie8 {\n position: absolute;\n\n z-index: 1;\n top: $input-offset * -1;\n left: $input-offset * -1;\n\n width: $govuk-touch-target-size;\n height: $govuk-touch-target-size;\n margin: 0;\n\n opacity: 0;\n }\n\n @include _govuk-if-ie8 {\n margin-top: 10px;\n margin-right: $govuk-checkboxes-size / -2;\n margin-left: $govuk-checkboxes-size / -2;\n float: left;\n\n // add focus outline to input\n &:focus {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n }\n }\n }\n\n .govuk-checkboxes__label {\n display: inline-block;\n margin-bottom: 0;\n padding: 8px $govuk-checkboxes-label-padding-left-right govuk-spacing(1);\n cursor: pointer;\n // remove 300ms pause on mobile\n touch-action: manipulation;\n }\n\n @include _govuk-not-ie8 {\n // [ ] Check box\n .govuk-checkboxes__label:before {\n content: \"\";\n box-sizing: border-box;\n position: absolute;\n top: 0;\n left: 0;\n width: $govuk-checkboxes-size;\n height: $govuk-checkboxes-size;\n border: $govuk-border-width-form-element solid currentcolor;\n background: transparent;\n }\n\n // ✔ Check mark\n //\n // The check mark is a box with a border on the left and bottom side (└──),\n // rotated 45 degrees\n .govuk-checkboxes__label:after {\n content: \"\";\n box-sizing: border-box;\n\n position: absolute;\n top: 11px;\n left: 9px;\n width: 23px;\n height: 12px;\n\n transform: rotate(-45deg);\n border: solid;\n border-width: 0 0 5px 5px;\n // Fix bug in IE11 caused by transform rotate (-45deg).\n // See: alphagov/govuk_elements/issues/518\n border-top-color: transparent;\n\n opacity: 0;\n\n background: transparent;\n }\n }\n\n .govuk-checkboxes__hint {\n display: block;\n padding-right: $govuk-checkboxes-label-padding-left-right;\n padding-left: $govuk-checkboxes-label-padding-left-right;\n }\n\n // Focused state\n .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {\n border-width: 4px;\n\n // When colours are overridden, the yellow box-shadow becomes invisible\n // which means the focus state is less obvious. By adding a transparent\n // outline, which becomes solid (text-coloured) in that context, we ensure\n // the focus remains clearly visible.\n outline: $govuk-focus-width solid transparent;\n outline-offset: 1px;\n\n // When in an explicit forced-color mode, we can use the Highlight system\n // color for the outline to better match focus states of native controls\n @media screen and (forced-colors: active), (-ms-high-contrast: active) {\n outline-color: Highlight;\n }\n\n box-shadow: 0 0 0 $govuk-focus-width $govuk-focus-colour;\n }\n\n // Selected state\n .govuk-checkboxes__input:checked + .govuk-checkboxes__label:after {\n opacity: 1;\n }\n\n // Disabled state\n .govuk-checkboxes__input:disabled,\n .govuk-checkboxes__input:disabled + .govuk-checkboxes__label {\n cursor: not-allowed;\n }\n\n .govuk-checkboxes__input:disabled + .govuk-checkboxes__label,\n .govuk-checkboxes__input:disabled ~ .govuk-hint {\n opacity: .5;\n }\n\n // =========================================================\n // Dividers ('or')\n // =========================================================\n\n .govuk-checkboxes__divider {\n $govuk-divider-size: $govuk-checkboxes-size !default;\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n width: $govuk-divider-size;\n margin-bottom: govuk-spacing(2);\n text-align: center;\n }\n\n // =========================================================\n // Conditional reveals\n // =========================================================\n\n // The narrow border is used in the conditional reveals because the border has\n // to be an even number in order to be centred under the 40px checkbox or radio.\n $conditional-border-width: $govuk-border-width-narrow;\n // Calculate the amount of padding needed to keep the border centered against the checkbox.\n $conditional-border-padding: ($govuk-checkboxes-size / 2) - ($conditional-border-width / 2);\n // Move the border centered with the checkbox\n $conditional-margin-left: $conditional-border-padding;\n // Move the contents of the conditional inline with the label\n $conditional-padding-left: $conditional-border-padding + $govuk-checkboxes-label-padding-left-right;\n\n .govuk-checkboxes__conditional {\n @include govuk-responsive-margin(4, \"bottom\");\n margin-left: $conditional-margin-left;\n padding-left: $conditional-padding-left;\n border-left: $conditional-border-width solid $govuk-border-colour;\n\n .js-enabled &--hidden {\n display: none;\n }\n\n & > :last-child {\n margin-bottom: 0;\n }\n }\n\n // =========================================================\n // Small checkboxes\n // =========================================================\n\n .govuk-checkboxes--small {\n\n $input-offset: ($govuk-touch-target-size - $govuk-small-checkboxes-size) / 2;\n $label-offset: $govuk-touch-target-size - $input-offset;\n\n .govuk-checkboxes__item {\n @include govuk-clearfix;\n min-height: 0;\n margin-bottom: 0;\n padding-left: $label-offset;\n float: left;\n }\n\n // Shift the touch target into the left margin so that the visible edge of\n // the control is aligned\n //\n // ┆What colours do you like?\n // ┌┆───┐\n // │┆[] │ Purple\n // └┆▲──┘\n // ▲┆└─ Check box pseudo element, aligned with margin\n // └─── Touch target (invisible input), shifted into the margin\n .govuk-checkboxes__input {\n @include _govuk-not-ie8 {\n left: $input-offset * -1;\n }\n\n @include _govuk-if-ie8 {\n margin-left: $govuk-small-checkboxes-size * -1;\n }\n }\n\n // Adjust the size and position of the label.\n //\n // Unlike larger checkboxes, we also have to float the label in order to\n // 'shrink' it, preventing the hover state from kicking in across the full\n // width of the parent element.\n .govuk-checkboxes__label {\n margin-top: -2px;\n padding: 13px govuk-spacing(3) 13px 1px;\n float: left;\n\n @include govuk-media-query($from: tablet) {\n padding: 11px govuk-spacing(3) 10px 1px;\n }\n }\n\n // [ ] Check box\n //\n // Reduce the size of the check box [1], vertically center it within the\n // touch target [2]\n .govuk-checkboxes__label:before {\n top: $input-offset - $govuk-border-width-form-element; // 2\n width: $govuk-small-checkboxes-size; // 1\n height: $govuk-small-checkboxes-size; // 1\n }\n\n // ✔ Check mark\n //\n // Reduce the size of the check mark and re-align within the checkbox\n .govuk-checkboxes__label:after {\n top: 15px;\n left: 6px;\n width: 12px;\n height: 6.5px;\n border-width: 0 0 3px 3px;\n }\n\n // Fix position of hint with small checkboxes\n //\n // Do not use hints with small checkboxes – because they're within the input\n // wrapper they trigger the hover state, but clicking them doesn't actually\n // activate the control.\n //\n // (If you do use them, they won't look completely broken... but seriously,\n // don't use them)\n .govuk-checkboxes__hint {\n padding: 0;\n clear: both;\n }\n\n // Align conditional reveals with small checkboxes\n .govuk-checkboxes__conditional {\n $margin-left: ($govuk-small-checkboxes-size / 2) - ($conditional-border-width / 2);\n margin-left: $margin-left;\n padding-left: $label-offset - ($margin-left + $conditional-border-width);\n clear: both;\n }\n\n // Hover state for small checkboxes.\n //\n // We use a hover state for small checkboxes because the touch target size\n // is so much larger than their visible size, and so we need to provide\n // feedback to the user as to which checkbox they will select when their\n // cursor is outside of the visible area.\n .govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label:before {\n box-shadow: 0 0 0 $govuk-hover-width $govuk-hover-colour;\n }\n\n // Because we've overridden the border-shadow provided by the focus state,\n // we need to redefine that too.\n //\n // We use two box shadows, one that restores the original focus state [1]\n // and another that then applies the hover state [2].\n .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {\n box-shadow:\n 0 0 0 $govuk-focus-width $govuk-focus-colour, // 1\n 0 0 0 $govuk-hover-width $govuk-hover-colour; // 2\n }\n\n // For devices that explicitly don't support hover, don't provide a hover\n // state (e.g. on touch devices like iOS).\n //\n // We can't use `@media (hover: hover)` because we wouldn't get the hover\n // state in browsers that don't support `@media (hover)` (like Internet\n // Explorer) – so we have to 'undo' the hover state instead.\n @media (hover: none), (pointer: coarse) {\n .govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label:before {\n box-shadow: initial;\n }\n\n .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {\n box-shadow: 0 0 0 $govuk-focus-width $govuk-focus-colour;\n }\n }\n }\n}\n"]}
@@ -40,7 +40,7 @@
40
40
  "value": "other",
41
41
  "text": "Citizen of another country",
42
42
  "conditional": {
43
- "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-example\">\n Country\n </label>\n<input class=\"govuk-input\" id=\"other-country\" name=\"other-country\" type=\"text\" value=\"Ravka\">\n</div>\n"
43
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"other-country\">\n Country\n </label>\n<input class=\"govuk-input\" id=\"other-country\" name=\"other-country\" type=\"text\" value=\"Ravka\">\n</div>\n"
44
44
  }
45
45
  }
46
46
  ],
@@ -50,7 +50,7 @@
50
50
  ]
51
51
  },
52
52
  "hidden": false,
53
- "html": "<div class=\"govuk-form-group\">\n <div class=\"govuk-checkboxes\" data-module=\"govuk-checkboxes\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality\" name=\"nationality\" type=\"checkbox\" value=\"british\" checked>\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality\">\n British\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality-2\" name=\"nationality\" type=\"checkbox\" value=\"irish\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality-2\">\n Irish\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality-3\" name=\"nationality\" type=\"checkbox\" value=\"other\" checked data-aria-controls=\"conditional-nationality-3\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality-3\">\n Citizen of another country\n </label>\n </div>\n <div class=\"govuk-checkboxes__conditional\" id=\"conditional-nationality-3\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-example\">\n Country\n </label>\n<input class=\"govuk-input\" id=\"other-country\" name=\"other-country\" type=\"text\" value=\"Ravka\">\n</div>\n\n </div>\n </div>\n</div>"
53
+ "html": "<div class=\"govuk-form-group\">\n <div class=\"govuk-checkboxes\" data-module=\"govuk-checkboxes\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality\" name=\"nationality\" type=\"checkbox\" value=\"british\" checked>\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality\">\n British\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality-2\" name=\"nationality\" type=\"checkbox\" value=\"irish\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality-2\">\n Irish\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality-3\" name=\"nationality\" type=\"checkbox\" value=\"other\" checked data-aria-controls=\"conditional-nationality-3\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality-3\">\n Citizen of another country\n </label>\n </div>\n <div class=\"govuk-checkboxes__conditional\" id=\"conditional-nationality-3\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"other-country\">\n Country\n </label>\n<input class=\"govuk-input\" id=\"other-country\" name=\"other-country\" type=\"text\" value=\"Ravka\">\n</div>\n\n </div>\n </div>\n</div>"
54
54
  },
55
55
  {
56
56
  "name": "with divider and None",
@@ -1042,6 +1042,7 @@
1042
1042
  },
1043
1043
  {
1044
1044
  "value": "other",
1045
+ "text": "Citizen of another country",
1045
1046
  "hint": {
1046
1047
  "text": "Hint for other option here"
1047
1048
  }
@@ -1049,7 +1050,7 @@
1049
1050
  ]
1050
1051
  },
1051
1052
  "hidden": true,
1052
- "html": "<div class=\"govuk-form-group\">\n <div id=\"example-multiple-hints-hint\" class=\"govuk-hint\">\n If you have dual nationality, select all options that are relevant to you.\n </div>\n <div class=\"govuk-checkboxes\" data-module=\"govuk-checkboxes\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"british\" aria-describedby=\"example-multiple-hints-hint example-multiple-hints-item-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints\">\n British\n </label>\n <div id=\"example-multiple-hints-item-hint\" class=\"govuk-hint govuk-checkboxes__hint\">\n Hint for british option here\n </div>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints-2\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"irish\" aria-describedby=\"example-multiple-hints-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints-2\">\n Irish\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints-3\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"other\" aria-describedby=\"example-multiple-hints-hint example-multiple-hints-3-item-hint\">\n \n <div id=\"example-multiple-hints-3-item-hint\" class=\"govuk-hint govuk-checkboxes__hint\">\n Hint for other option here\n </div>\n </div>\n </div>\n</div>"
1053
+ "html": "<div class=\"govuk-form-group\">\n <div id=\"example-multiple-hints-hint\" class=\"govuk-hint\">\n If you have dual nationality, select all options that are relevant to you.\n </div>\n <div class=\"govuk-checkboxes\" data-module=\"govuk-checkboxes\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"british\" aria-describedby=\"example-multiple-hints-hint example-multiple-hints-item-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints\">\n British\n </label>\n <div id=\"example-multiple-hints-item-hint\" class=\"govuk-hint govuk-checkboxes__hint\">\n Hint for british option here\n </div>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints-2\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"irish\" aria-describedby=\"example-multiple-hints-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints-2\">\n Irish\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints-3\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"other\" aria-describedby=\"example-multiple-hints-hint example-multiple-hints-3-item-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints-3\">\n Citizen of another country\n </label>\n <div id=\"example-multiple-hints-3-item-hint\" class=\"govuk-hint govuk-checkboxes__hint\">\n Hint for other option here\n </div>\n </div>\n </div>\n</div>"
1053
1054
  },
1054
1055
  {
1055
1056
  "name": "with error message and hint",
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_cookie-banner.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/cookie-banner/_cookie-banner.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_cookie-banner.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -47,3 +47,5 @@
47
47
  }
48
48
  }
49
49
  }
50
+
51
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/cookie-banner/_index.scss"],"names":[],"mappings":"AAAA;;EAEE,kEAAkE;EAClE,sCAAsC;;EAEtC;IACE,6BAA6B;IAC7B,4CAA4C;IAC5C,yEAAyE;;IAEzE,6DAA6D;IAC7D,6CAA6C;IAC7C,qDAAqD;;IAErD,+DAA+D;EACjE;;EAEA,8EAA8E;EAC9E,+DAA+D;EAC/D;IACE,aAAa;EACf;;EAEA;IACE,wDAAwD;IACxD,oCAAoC;;IAEpC;MACE,8EAA8E;MAC9E,oEAAoE;MACpE,aAAa;IACf;;IAEA;MACE,yFAAyF;MACzF,CAAC;MACD,wFAAwF;MACxF,4CAA4C;MAC5C,6FAA6F;MAC7F,sFAAsF;MACtF,4CAA4C;MAC5C,CAAC;MACD,uFAAuF;MACvF,CAAC;MACD,+DAA+D;MAC/D,aAAa;IACf;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/cookie-banner\") {\n\n // This needs to be kept in sync with the header component's styles\n $border-bottom-width: govuk-spacing(2);\n\n .govuk-cookie-banner {\n padding-top: govuk-spacing(4);\n // The component does not set bottom spacing.\n // The bottom spacing should be created by the items inside the component.\n\n // Visually separate the cookie banner from content underneath\n // when user changes colours in their browser.\n border-bottom: $border-bottom-width solid transparent;\n\n background-color: govuk-colour(\"light-grey\", $legacy: \"grey-3\");\n }\n\n // Support older browsers which don't hide elements with the `hidden` attribute\n // when user hides the whole cookie banner with a 'Hide' button.\n .govuk-cookie-banner[hidden] {\n display: none;\n }\n\n .govuk-cookie-banner__message {\n // Remove the extra height added by the separator border.\n margin-bottom: -$border-bottom-width;\n\n &[hidden] {\n // Support older browsers which don't hide elements with the `hidden` attribute\n // when the visibility of cookie and replacement messages is toggled.\n display: none;\n }\n\n &:focus {\n // Remove the native visible focus indicator when the element is programmatically focused.\n //\n // The focused cookie banner is the first element on the page and the last thing the user\n // interacted with prior to it gaining focus.\n // We therefore assume that moving focus to it is not going to surprise users, and that giving\n // it a visible focus indicator could be more confusing than helpful, especially as the\n // element is not normally keyboard operable.\n //\n // We have flagged this in the research section of the guidance as something to monitor.\n //\n // A related discussion: https://github.com/w3c/wcag/issues/1001\n outline: none;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_date-input.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/date-input/_date-input.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_date-input.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -24,3 +24,5 @@
24
24
  margin-bottom: 0;
25
25
  }
26
26
  }
27
+
28
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/date-input/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,wBAAwB;AACxB,uBAAuB;AACvB,wBAAwB;;AAExB;EACE;IACE,uBAAuB;IACvB,wDAAwD;IACxD,YAAY;EACd;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,gBAAgB;EAClB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../input/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/date-input\") {\n .govuk-date-input {\n @include govuk-clearfix;\n // font-size: 0 removes whitespace caused by inline-block\n font-size: 0;\n }\n\n .govuk-date-input__item {\n display: inline-block;\n margin-right: govuk-spacing(4);\n margin-bottom: 0;\n }\n\n .govuk-date-input__label {\n display: block;\n }\n\n .govuk-date-input__input {\n margin-bottom: 0;\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_details.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/details/_details.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_details.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -86,3 +86,5 @@
86
86
  margin-bottom: 0;
87
87
  }
88
88
  }
89
+
90
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/details/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,6CAA6C;;IAE7C,cAAc;EAChB;;EAEA;IACE,oEAAoE;IACpE,qBAAqB;;IAErB,qDAAqD;IACrD,kBAAkB;;IAElB,+BAA+B;;IAE/B,sEAAsE;IACtE,oDAAoD;;IAEpD,0CAA0C;IAC1C,yBAAyB;IACzB,eAAe;;IAEf;MACE,+BAA+B;IACjC;;IAEA;MACE,2BAA2B;IAC7B;EACF;;EAEA,+CAA+C;EAC/C;IACE,8BAA8B;EAChC;;EAEA;IACE,oCAAoC;EACtC;;EAEA,+DAA+D;EAC/D;IACE,qBAAqB;EACvB;;EAEA,4EAA4E;EAC5E,mEAAmE;EACnE;IACE,aAAa;EACf;;EAEA,4DAA4D;EAC5D;IACE,WAAW;IACX,kBAAkB;;IAElB,SAAS;IACT,SAAS;IACT,OAAO;;IAEP,YAAY;;IAEZ,0DAA0D;;IAE1D;MACE,yDAAyD;IAC3D;EACF;;EAEA;IACE,6BAA6B;IAC7B,gCAAgC;IAChC,8BAA8B;IAC9B,2DAA2D;EAC7D;;EAEA;IACE,aAAa;IACb,+BAA+B;EACjC;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/details\") {\n .govuk-details {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n @include govuk-responsive-margin(6, \"bottom\");\n\n display: block;\n }\n\n .govuk-details__summary {\n // Make the focus outline shrink-wrap the text content of the summary\n display: inline-block;\n\n // Absolutely position the marker against this element\n position: relative;\n\n margin-bottom: govuk-spacing(1);\n\n // Allow for absolutely positioned marker and align with disclosed text\n padding-left: govuk-spacing(4) + $govuk-border-width;\n\n // Style the summary to look like a link...\n color: $govuk-link-colour;\n cursor: pointer;\n\n &:hover {\n color: $govuk-link-hover-colour;\n }\n\n &:focus {\n @include govuk-focused-text;\n }\n }\n\n // ...but only underline the text, not the arrow\n .govuk-details__summary-text {\n @include govuk-link-decoration;\n }\n\n .govuk-details__summary:hover .govuk-details__summary-text {\n @include govuk-link-hover-decoration;\n }\n\n // Remove the underline when focussed to avoid duplicate borders\n .govuk-details__summary:focus .govuk-details__summary-text {\n text-decoration: none;\n }\n\n // Remove the default details marker so we can style our own consistently and\n // ensure it displays in Firefox (see implementation.md for details)\n .govuk-details__summary::-webkit-details-marker {\n display: none;\n }\n\n // Append our own open / closed marker using a pseudo-element\n .govuk-details__summary:before {\n content: \"\";\n position: absolute;\n\n top: -1px;\n bottom: 0;\n left: 0;\n\n margin: auto;\n\n @include govuk-shape-arrow($direction: right, $base: 14px);\n\n .govuk-details[open] > & {\n @include govuk-shape-arrow($direction: down, $base: 14px);\n }\n }\n\n .govuk-details__text {\n padding-top: govuk-spacing(3);\n padding-bottom: govuk-spacing(3);\n padding-left: govuk-spacing(4);\n border-left: $govuk-border-width solid $govuk-border-colour;\n }\n\n .govuk-details__text p {\n margin-top: 0;\n margin-bottom: govuk-spacing(4);\n }\n\n .govuk-details__text > :last-child {\n margin-bottom: 0;\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_error-message.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/error-message/_error-message.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_error-message.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -10,3 +10,5 @@
10
10
  color: $govuk-error-colour;
11
11
  }
12
12
  }
13
+
14
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/error-message/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,6CAA6C;;IAE7C,cAAc;IACd,aAAa,EAAE,kDAAkD;IACjE,+BAA+B;IAC/B,WAAW;;IAEX,0BAA0B;EAC5B;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/error-message\") {\n .govuk-error-message {\n @include govuk-font($size: 19, $weight: bold);\n\n display: block;\n margin-top: 0; // Reset any default browser margins for paragraphs\n margin-bottom: govuk-spacing(3);\n clear: both;\n\n color: $govuk-error-colour;\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_error-summary.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/error-summary/_error-summary.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_error-summary.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -41,3 +41,5 @@
41
41
  @include govuk-link-style-error;
42
42
  }
43
43
  }
44
+
45
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/error-summary/_index.scss"],"names":[],"mappings":"AAAA,0BAA0B;;AAE1B;EACE;IACE,0BAA0B;IAC1B,oCAAoC;IACpC,6CAA6C;;IAE7C,qDAAqD;;IAErD;MACE,qDAAqD;IACvD;EACF;;EAEA;IACE,6CAA6C;;IAE7C,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,8BAA8B;;IAE9B;MACE,aAAa;MACb,6CAA6C;IAC/C;EACF;;EAEA,2DAA2D;EAC3D;IACE,aAAa;IACb,gBAAgB;EAClB;;EAEA;IACE,qCAAqC;IACrC,0BAA0B;IAC1B,+BAA+B;EACjC;AACF","file":"_index.scss","sourcesContent":["@import \"../../core/lists\";\n\n@include govuk-exports(\"govuk/component/error-summary\") {\n .govuk-error-summary {\n @include govuk-text-colour;\n @include govuk-responsive-padding(4);\n @include govuk-responsive-margin(8, \"bottom\");\n\n border: $govuk-border-width solid $govuk-error-colour;\n\n &:focus {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n }\n }\n\n .govuk-error-summary__title {\n @include govuk-font($size: 24, $weight: bold);\n\n margin-top: 0;\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-error-summary__body {\n @include govuk-font($size: 19);\n\n p {\n margin-top: 0;\n @include govuk-responsive-margin(4, \"bottom\");\n }\n }\n\n // Cross-component class - adjusts styling of list component\n .govuk-error-summary__list {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n .govuk-error-summary__list a {\n @include govuk-typography-weight-bold;\n @include govuk-link-common;\n @include govuk-link-style-error;\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_exit-this-page.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/exit-this-page/_exit-this-page.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_exit-this-page.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -95,3 +95,5 @@
95
95
  }
96
96
  }
97
97
  }
98
+
99
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/exit-this-page/_index.scss"],"names":[],"mappings":"AAAA,yBAAyB;;AAEzB;EACE,sBAAsB;;EAEtB;IACE,6CAA6C;IAC7C,wBAAgB;IAAhB,gBAAgB;IAChB,aAAa;IACb,MAAM;IACN,OAAO;IACP,WAAW;;IAEX;MACE,qBAAqB;MACrB,QAAQ;MACR,UAAU;MACV,WAAW;MACX,YAAY;IACd;EACF;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,oCAAoC;IACpC,aAAa;IACb,iBAAiB;IACjB,cAAc;IACd,cAAc,EAAE,mDAAmD;IACnE,kBAAkB;IAClB,oBAAoB;EACtB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;IACtB,uBAAuB;IACvB,gBAAgB;IAChB,iBAAiB;IACjB,mBAAmB;IACnB,kBAAkB;;IAElB;MACE,0BAA0B;IAC5B;;IAEA;MACE,mCAAmC;IACrC;EACF;;EAEA;IACE,iCAAiC;EACnC;;EAEA;IACE;MACE,aAAa;IACf;EACF;;EAEA;IACE,eAAe;IACf,aAAa;IACb,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;IACP,uCAAuC;EACzC;;EAEA,6EAA6E;EAC7E,gFAAgF;EAChF,gBAAgB;EAChB,CAAC;EACD,iFAAiF;EACjF,4EAA4E;EAC5E;IACE,4CAA4C;IAC5C;MACE,wBAAwB;IAC1B;;IAEA;MACE,yBAAyB;IAC3B;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../button/index\";\n\n@include govuk-exports(\"govuk/component/exit-this-page\") {\n $indicator-size: .75em;\n\n .govuk-exit-this-page {\n @include govuk-responsive-margin(8, \"bottom\");\n position: sticky;\n z-index: 1000;\n top: 0;\n left: 0;\n width: 100%;\n\n @include govuk-media-query($from: tablet) {\n display: inline-block;\n right: 0;\n left: auto;\n width: auto;\n float: right;\n }\n }\n\n .govuk-exit-this-page__button {\n margin-bottom: 0;\n }\n\n .govuk-exit-this-page__indicator {\n @include govuk-responsive-padding(2);\n display: none;\n padding-bottom: 0;\n color: inherit;\n line-height: 0; // removes extra negative space below the indicators\n text-align: center;\n pointer-events: none;\n }\n\n .govuk-exit-this-page__indicator--visible {\n display: block;\n }\n\n .govuk-exit-this-page__indicator-light {\n box-sizing: border-box;\n display: inline-block;\n width: $indicator-size;\n height: $indicator-size;\n margin: 0 .125em;\n border-width: 2px;\n border-style: solid;\n border-radius: 50%;\n\n @include _govuk-not-ie8 {\n border-color: currentcolor;\n }\n\n @include _govuk-if-ie8 {\n border-color: govuk-colour(\"white\");\n }\n }\n\n .govuk-exit-this-page__indicator-light--on {\n border-width: $indicator-size / 2;\n }\n\n @media only print {\n .govuk-exit-this-page {\n display: none;\n }\n }\n\n .govuk-exit-this-page-overlay {\n position: fixed;\n z-index: 9999;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: govuk-colour(\"white\");\n }\n\n // This class is added to the body when the Exit This Page button is activated\n // in addition to the overlay to both block the entire screen and hide everything\n // underneath it.\n //\n // We do this to ensure that users don't risk interacting with the page underneath\n // the overlay between activating the button and navigating to the next page.\n .govuk-exit-this-page-hide-content {\n // stylelint-disable declaration-no-important\n * {\n display: none !important;\n }\n\n .govuk-exit-this-page-overlay {\n display: block !important;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_fieldset.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/fieldset/_fieldset.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_fieldset.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -62,3 +62,5 @@
62
62
  font-weight: inherit;
63
63
  }
64
64
  }
65
+
66
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/fieldset/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,YAAY;IACZ,SAAS;IACT,UAAU;IACV,SAAS;IACT,uBAAuB;EACzB;;EAEA,sBAAsB;EACtB,qDAAqD;EACrD;IACE;sBACkB,iDAAiD;MACjE,mBAAmB;IACrB;EACF;;EAEA;IACE,8BAA8B;IAC9B,0BAA0B;;IAE1B,yCAAyC;IACzC,wBAAwB;IACxB,WAAW;IACX,sBAAsB,EAAE,GAAG;IAC3B,cAAc,UAAU,GAAG;IAC3B,eAAe,SAAS,GAAG;IAC3B,+BAA+B;IAC/B,UAAU;;IAEV,mBAAmB,KAAK,GAAG;EAC7B;;EAEA,sEAAsE;;EAEtE;IACE,6CAA6C;IAC7C,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;IAC7C,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;IAC7C,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;EAC/C;;EAEA,2EAA2E;EAC3E,6EAA6E;EAC7E,YAAY;EACZ;IACE,SAAS;IACT,kBAAkB;IAClB,oBAAoB;EACtB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/fieldset\") {\n .govuk-fieldset {\n min-width: 0;\n margin: 0;\n padding: 0;\n border: 0;\n @include govuk-clearfix;\n }\n\n // Fix for Firefox < 53\n // https://bugzilla.mozilla.org/show_bug.cgi?id=504622\n @supports not (caret-color: auto) {\n .govuk-fieldset,\n x:-moz-any-link { // stylelint-disable-line selector-type-no-unknown\n display: table-cell;\n }\n }\n\n .govuk-fieldset__legend {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n\n // Fix legend text wrapping in Edge and IE\n // 1. IE9-11 & Edge 12-13\n // 2. IE8-11\n box-sizing: border-box; // 1\n display: table; // 2\n max-width: 100%; // 1\n margin-bottom: govuk-spacing(2);\n padding: 0;\n\n white-space: normal; // 1\n }\n\n // Modifiers that make legends look more like their equivalent headings\n\n .govuk-fieldset__legend--xl {\n @include govuk-font($size: 48, $weight: bold);\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-fieldset__legend--l {\n @include govuk-font($size: 36, $weight: bold);\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-fieldset__legend--m {\n @include govuk-font($size: 24, $weight: bold);\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-fieldset__legend--s {\n @include govuk-font($size: 19, $weight: bold);\n }\n\n // When the legend contains an H1, we want the H1 to inherit all styles from\n // the legend. Effectively we want to be able to treat the heading as if it is\n // not there.\n .govuk-fieldset__heading {\n margin: 0;\n font-size: inherit;\n font-weight: inherit;\n }\n}\n"]}