govuk_publishing_components 37.3.1 → 37.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) 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/govuk_publishing_components/components/_cross-service-header.scss +8 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +15 -7
  13. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +4 -4
  14. data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +5 -4
  15. data/app/views/govuk_publishing_components/components/cross_service_header/_one_login_header.html.erb +3 -2
  16. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +5 -3
  17. data/lib/govuk_publishing_components/version.rb +1 -1
  18. data/node_modules/govuk-frontend/govuk/_base.scss +2 -0
  19. data/node_modules/govuk-frontend/govuk/_base.scss.map +1 -0
  20. data/node_modules/govuk-frontend/govuk/all-ie8.scss +2 -0
  21. data/node_modules/govuk-frontend/govuk/all-ie8.scss.map +1 -0
  22. data/node_modules/govuk-frontend/govuk/all.js +1 -1
  23. data/node_modules/govuk-frontend/govuk/all.scss +2 -0
  24. data/node_modules/govuk-frontend/govuk/all.scss.map +1 -0
  25. data/node_modules/govuk-frontend/govuk/assets/images/favicon.ico +0 -0
  26. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-152x152.png +0 -0
  27. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-167x167.png +0 -0
  28. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-180x180.png +0 -0
  29. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon.png +0 -0
  30. data/node_modules/govuk-frontend/govuk/assets/images/govuk-logotype-tudor-crown.png +0 -0
  31. data/node_modules/govuk-frontend/govuk/assets/images/govuk-mask-icon.svg +1 -7
  32. data/node_modules/govuk-frontend/govuk/assets/images/govuk-opengraph-image.png +0 -0
  33. data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +1 -1
  34. data/node_modules/govuk-frontend/govuk/components/_all.scss +2 -0
  35. data/node_modules/govuk-frontend/govuk/components/_all.scss.map +1 -0
  36. data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss +2 -0
  37. data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss.map +1 -0
  38. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +8 -10
  39. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss.map +1 -0
  40. data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss +2 -0
  41. data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss.map +1 -0
  42. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +4 -4
  43. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss.map +1 -0
  44. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss +2 -0
  45. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss.map +1 -0
  46. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +4 -4
  47. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss.map +1 -0
  48. data/node_modules/govuk-frontend/govuk/components/button/_button.scss +2 -0
  49. data/node_modules/govuk-frontend/govuk/components/button/_button.scss.map +1 -0
  50. data/node_modules/govuk-frontend/govuk/components/button/_index.scss +2 -0
  51. data/node_modules/govuk-frontend/govuk/components/button/_index.scss.map +1 -0
  52. data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss +2 -0
  53. data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss.map +1 -0
  54. data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss +2 -0
  55. data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss.map +1 -0
  56. data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +8 -2
  57. data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss +2 -0
  58. data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss.map +1 -0
  59. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +4 -4
  60. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss.map +1 -0
  61. data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +4 -3
  62. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss +2 -0
  63. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss.map +1 -0
  64. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss +2 -0
  65. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss.map +1 -0
  66. data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss +2 -0
  67. data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss.map +1 -0
  68. data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss +2 -0
  69. data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss.map +1 -0
  70. data/node_modules/govuk-frontend/govuk/components/details/_details.scss +2 -0
  71. data/node_modules/govuk-frontend/govuk/components/details/_details.scss.map +1 -0
  72. data/node_modules/govuk-frontend/govuk/components/details/_index.scss +2 -0
  73. data/node_modules/govuk-frontend/govuk/components/details/_index.scss.map +1 -0
  74. data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss +2 -0
  75. data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss.map +1 -0
  76. data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss +2 -0
  77. data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss.map +1 -0
  78. data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss +2 -0
  79. data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss.map +1 -0
  80. data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss +2 -0
  81. data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss.map +1 -0
  82. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss +2 -0
  83. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss.map +1 -0
  84. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss +2 -0
  85. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss.map +1 -0
  86. data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss +2 -0
  87. data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss.map +1 -0
  88. data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss +2 -0
  89. data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss.map +1 -0
  90. data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss +2 -0
  91. data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss.map +1 -0
  92. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +2 -0
  93. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss.map +1 -0
  94. data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss +2 -0
  95. data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss.map +1 -0
  96. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +2 -0
  97. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss.map +1 -0
  98. data/node_modules/govuk-frontend/govuk/components/header/_header.scss +2 -0
  99. data/node_modules/govuk-frontend/govuk/components/header/_header.scss.map +1 -0
  100. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +18 -0
  101. data/node_modules/govuk-frontend/govuk/components/header/_index.scss.map +1 -0
  102. data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +29 -21
  103. data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +6 -0
  104. data/node_modules/govuk-frontend/govuk/components/header/template.njk +56 -31
  105. data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss +2 -0
  106. data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss.map +1 -0
  107. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +2 -0
  108. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss.map +1 -0
  109. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +2 -0
  110. data/node_modules/govuk-frontend/govuk/components/input/_index.scss.map +1 -0
  111. data/node_modules/govuk-frontend/govuk/components/input/_input.scss +2 -0
  112. data/node_modules/govuk-frontend/govuk/components/input/_input.scss.map +1 -0
  113. data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss +2 -0
  114. data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss.map +1 -0
  115. data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss +2 -0
  116. data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss.map +1 -0
  117. data/node_modules/govuk-frontend/govuk/components/label/_index.scss +2 -0
  118. data/node_modules/govuk-frontend/govuk/components/label/_index.scss.map +1 -0
  119. data/node_modules/govuk-frontend/govuk/components/label/_label.scss +2 -0
  120. data/node_modules/govuk-frontend/govuk/components/label/_label.scss.map +1 -0
  121. data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss +2 -0
  122. data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss.map +1 -0
  123. data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss +2 -0
  124. data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss.map +1 -0
  125. data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss +2 -0
  126. data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss.map +1 -0
  127. data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss +2 -0
  128. data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss.map +1 -0
  129. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +2 -0
  130. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss.map +1 -0
  131. data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss +2 -0
  132. data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss.map +1 -0
  133. data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss +2 -0
  134. data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss.map +1 -0
  135. data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss +2 -0
  136. data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss.map +1 -0
  137. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +2 -0
  138. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss.map +1 -0
  139. data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss +2 -0
  140. data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss.map +1 -0
  141. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +2 -0
  142. data/node_modules/govuk-frontend/govuk/components/select/_index.scss.map +1 -0
  143. data/node_modules/govuk-frontend/govuk/components/select/_select.scss +2 -0
  144. data/node_modules/govuk-frontend/govuk/components/select/_select.scss.map +1 -0
  145. data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +36 -9
  146. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +2 -0
  147. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss.map +1 -0
  148. data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss +2 -0
  149. data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss.map +1 -0
  150. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +2 -0
  151. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss.map +1 -0
  152. data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss +2 -0
  153. data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss.map +1 -0
  154. data/node_modules/govuk-frontend/govuk/components/table/_index.scss +2 -0
  155. data/node_modules/govuk-frontend/govuk/components/table/_index.scss.map +1 -0
  156. data/node_modules/govuk-frontend/govuk/components/table/_table.scss +2 -0
  157. data/node_modules/govuk-frontend/govuk/components/table/_table.scss.map +1 -0
  158. data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +2 -1
  159. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +2 -0
  160. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss.map +1 -0
  161. data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss +2 -0
  162. data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss.map +1 -0
  163. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +2 -0
  164. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss.map +1 -0
  165. data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss +2 -0
  166. data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss.map +1 -0
  167. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +2 -0
  168. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss.map +1 -0
  169. data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss +2 -0
  170. data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss.map +1 -0
  171. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +2 -0
  172. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss.map +1 -0
  173. data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss +2 -0
  174. data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss.map +1 -0
  175. data/node_modules/govuk-frontend/govuk/core/_all.scss +2 -0
  176. data/node_modules/govuk-frontend/govuk/core/_all.scss.map +1 -0
  177. data/node_modules/govuk-frontend/govuk/core/_global-styles.scss +2 -0
  178. data/node_modules/govuk-frontend/govuk/core/_global-styles.scss.map +1 -0
  179. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +3 -1
  180. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss.map +1 -0
  181. data/node_modules/govuk-frontend/govuk/core/_links.scss +2 -0
  182. data/node_modules/govuk-frontend/govuk/core/_links.scss.map +1 -0
  183. data/node_modules/govuk-frontend/govuk/core/_lists.scss +2 -0
  184. data/node_modules/govuk-frontend/govuk/core/_lists.scss.map +1 -0
  185. data/node_modules/govuk-frontend/govuk/core/_section-break.scss +2 -0
  186. data/node_modules/govuk-frontend/govuk/core/_section-break.scss.map +1 -0
  187. data/node_modules/govuk-frontend/govuk/core/_typography.scss +2 -0
  188. data/node_modules/govuk-frontend/govuk/core/_typography.scss.map +1 -0
  189. data/node_modules/govuk-frontend/govuk/helpers/_all.scss +2 -0
  190. data/node_modules/govuk-frontend/govuk/helpers/_all.scss.map +1 -0
  191. data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss +2 -0
  192. data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss.map +1 -0
  193. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +2 -0
  194. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss.map +1 -0
  195. data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss +2 -0
  196. data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss.map +1 -0
  197. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +2 -0
  198. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss.map +1 -0
  199. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +2 -0
  200. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss.map +1 -0
  201. data/node_modules/govuk-frontend/govuk/helpers/_grid.scss +2 -0
  202. data/node_modules/govuk-frontend/govuk/helpers/_grid.scss.map +1 -0
  203. data/node_modules/govuk-frontend/govuk/helpers/_links.scss +2 -0
  204. data/node_modules/govuk-frontend/govuk/helpers/_links.scss.map +1 -0
  205. data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss +2 -0
  206. data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss.map +1 -0
  207. data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss +2 -0
  208. data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss.map +1 -0
  209. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +2 -0
  210. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss.map +1 -0
  211. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +2 -0
  212. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss.map +1 -0
  213. data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss +2 -0
  214. data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss.map +1 -0
  215. data/node_modules/govuk-frontend/govuk/objects/_all.scss +2 -0
  216. data/node_modules/govuk-frontend/govuk/objects/_all.scss.map +1 -0
  217. data/node_modules/govuk-frontend/govuk/objects/_button-group.scss +2 -0
  218. data/node_modules/govuk-frontend/govuk/objects/_button-group.scss.map +1 -0
  219. data/node_modules/govuk-frontend/govuk/objects/_form-group.scss +2 -0
  220. data/node_modules/govuk-frontend/govuk/objects/_form-group.scss.map +1 -0
  221. data/node_modules/govuk-frontend/govuk/objects/_grid.scss +2 -0
  222. data/node_modules/govuk-frontend/govuk/objects/_grid.scss.map +1 -0
  223. data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss +2 -0
  224. data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss.map +1 -0
  225. data/node_modules/govuk-frontend/govuk/objects/_template.scss +2 -0
  226. data/node_modules/govuk-frontend/govuk/objects/_template.scss.map +1 -0
  227. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +2 -0
  228. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss.map +1 -0
  229. data/node_modules/govuk-frontend/govuk/overrides/_all.scss +2 -0
  230. data/node_modules/govuk-frontend/govuk/overrides/_all.scss.map +1 -0
  231. data/node_modules/govuk-frontend/govuk/overrides/_display.scss +2 -0
  232. data/node_modules/govuk-frontend/govuk/overrides/_display.scss.map +1 -0
  233. data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss +2 -0
  234. data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss.map +1 -0
  235. data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss +2 -0
  236. data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss.map +1 -0
  237. data/node_modules/govuk-frontend/govuk/overrides/_typography.scss +2 -0
  238. data/node_modules/govuk-frontend/govuk/overrides/_typography.scss.map +1 -0
  239. data/node_modules/govuk-frontend/govuk/overrides/_width.scss +2 -0
  240. data/node_modules/govuk-frontend/govuk/overrides/_width.scss.map +1 -0
  241. data/node_modules/govuk-frontend/govuk/settings/_all.scss +2 -0
  242. data/node_modules/govuk-frontend/govuk/settings/_all.scss.map +1 -0
  243. data/node_modules/govuk-frontend/govuk/settings/_assets.scss +2 -0
  244. data/node_modules/govuk-frontend/govuk/settings/_assets.scss.map +1 -0
  245. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +2 -0
  246. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss.map +1 -0
  247. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +2 -0
  248. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss.map +1 -0
  249. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +2 -0
  250. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss.map +1 -0
  251. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +2 -0
  252. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss.map +1 -0
  253. data/node_modules/govuk-frontend/govuk/settings/_global-styles.scss +2 -0
  254. data/node_modules/govuk-frontend/govuk/settings/_global-styles.scss.map +1 -0
  255. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +2 -0
  256. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss.map +1 -0
  257. data/node_modules/govuk-frontend/govuk/settings/_links.scss +2 -0
  258. data/node_modules/govuk-frontend/govuk/settings/_links.scss.map +1 -0
  259. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +2 -0
  260. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss.map +1 -0
  261. data/node_modules/govuk-frontend/govuk/settings/_media-queries.scss +2 -0
  262. data/node_modules/govuk-frontend/govuk/settings/_media-queries.scss.map +1 -0
  263. data/node_modules/govuk-frontend/govuk/settings/_spacing.scss +2 -0
  264. data/node_modules/govuk-frontend/govuk/settings/_spacing.scss.map +1 -0
  265. data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss +2 -0
  266. data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss.map +1 -0
  267. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +2 -0
  268. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss.map +1 -0
  269. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +2 -0
  270. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss.map +1 -0
  271. data/node_modules/govuk-frontend/govuk/settings/_warnings.scss +2 -0
  272. data/node_modules/govuk-frontend/govuk/settings/_warnings.scss.map +1 -0
  273. data/node_modules/govuk-frontend/govuk/tools/_all.scss +2 -0
  274. data/node_modules/govuk-frontend/govuk/tools/_all.scss.map +1 -0
  275. data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss +2 -0
  276. data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss.map +1 -0
  277. data/node_modules/govuk-frontend/govuk/tools/_exports.scss +2 -0
  278. data/node_modules/govuk-frontend/govuk/tools/_exports.scss.map +1 -0
  279. data/node_modules/govuk-frontend/govuk/tools/_font-url.scss +2 -0
  280. data/node_modules/govuk-frontend/govuk/tools/_font-url.scss.map +1 -0
  281. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +2 -0
  282. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss.map +1 -0
  283. data/node_modules/govuk-frontend/govuk/tools/_image-url.scss +2 -0
  284. data/node_modules/govuk-frontend/govuk/tools/_image-url.scss.map +1 -0
  285. data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss +2 -0
  286. data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss.map +1 -0
  287. data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss +2 -0
  288. data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss.map +1 -0
  289. data/node_modules/govuk-frontend/govuk/utilities/_all.scss +2 -0
  290. data/node_modules/govuk-frontend/govuk/utilities/_all.scss.map +1 -0
  291. data/node_modules/govuk-frontend/govuk/utilities/_clearfix.scss +2 -0
  292. data/node_modules/govuk-frontend/govuk/utilities/_clearfix.scss.map +1 -0
  293. data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss +2 -0
  294. data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss.map +1 -0
  295. data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss +2 -0
  296. data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss.map +1 -0
  297. data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs +1 -1
  298. data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss +2 -0
  299. data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss.map +1 -0
  300. data/node_modules/govuk-frontend/package.json +1 -1
  301. metadata +135 -2
@@ -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":"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","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"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_file-upload.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/file-upload/_file-upload.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_file-upload.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -53,3 +53,5 @@
53
53
  }
54
54
  }
55
55
  }
56
+
57
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/file-upload/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uBAAuB;AACvB,wBAAwB;;AAExB;EACE,oCAAoC;;EAEpC;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,eAAe;IACf,gCAAgC;IAChC,2BAA2B;;IAE3B,mDAAmD;IACnD,8DAA8D;IAC9D,yDAAyD;IACzD,0BAA0B;IAC1B,gDAAgD;IAChD;MACE,0BAA0B;MAC1B,cAAc;MACd,aAAa;IACf;;IAEA;MACE,qDAAqD;MACrD,mEAAmE;MACnE,0EAA0E;MAC1E,qBAAqB;MACrB,sDAAsD;;MAEtD;QACE,0DAA0D;QAC1D,4CAA4C;MAC9C;IACF;;IAEA,gFAAgF;IAChF,8CAA8C;IAC9C,qEAAqE;IACrE,qEAAqE;IACrE,uBAAuB;IACvB;MACE,qDAAqD;;MAErD,sDAAsD;IACxD;;IAEA;MACE,WAAW;MACX,mBAAmB;IACrB;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/file-upload\") {\n $component-padding: govuk-spacing(1);\n\n .govuk-file-upload {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n max-width: 100%;\n margin-left: -$component-padding;\n padding: $component-padding;\n\n // The default file upload button in Safari does not\n // support setting a custom font-size. Set `-webkit-appearance`\n // to `button` to drop out of the native appearance so the\n // font-size is set to 19px\n // https://bugs.webkit.org/show_bug.cgi?id=224746\n &::-webkit-file-upload-button {\n -webkit-appearance: button;\n color: inherit;\n font: inherit;\n }\n\n &:focus {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n // Use `box-shadow` to add border instead of changing `border-width`\n // (which changes element size) and since `outline` is already used for the\n // yellow focus state.\n box-shadow: inset 0 0 0 4px $govuk-input-border-colour;\n\n @include _govuk-if-ie8 {\n // IE8 doesn't support `box-shadow` so add an actual border\n border: 4px solid $govuk-input-border-colour;\n }\n }\n\n // Set \"focus-within\" to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1430196\n // so that component receives focus in Firefox.\n // This can't be set together with `:focus` as all versions of IE fail\n // to recognise `focus-within` and don't set any styles from the block\n // when it's a selector.\n &:focus-within {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n\n box-shadow: inset 0 0 0 4px $govuk-input-border-colour;\n }\n\n &:disabled {\n opacity: .5;\n cursor: not-allowed;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_footer.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/footer/_footer.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_footer.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -191,3 +191,5 @@
191
191
  margin-bottom: 0;
192
192
  }
193
193
  }
194
+
195
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/footer/_index.scss"],"names":[],"mappings":"AAAA;;EAEE,yDAAyD;EACzD,0CAA0C;EAC1C,0EAA0E;EAC1E,oDAAoD;EACpD,8CAA8C;EAC9C,sCAAsC;EACtC,qCAAqC,EAAE,mCAAmC;;EAE1E;IACE,iCAAiC;IACjC,4CAA4C;IAC5C,2BAA2B;IAC3B,wCAAwC;EAC1C;;EAEA,mDAAmD;EACnD,yCAAyC;EACzC,0CAA0C;EAC1C,wDAAwD;EACxD,yEAAyE;EACzE,2EAA2E;;EAE3E;IACE,8BAA8B;IAC9B,2CAA2C;IAC3C,8CAA8C;;IAE9C,8CAA8C;IAC9C,yBAAyB;IACzB,oCAAoC;EACtC;;EAEA;IACE,0BAA0B;;IAE1B;MACE;;QAEE,yBAAyB;MAC3B;;MAEA;;QAEE,sCAAsC;MACxC;IACF,EAAE;MACA,8BAA8B;IAChC;;IAEA,mEAAmE;IACnE,2EAA2E;IAC3E,wEAAwE;IACxE;MACE;QACE,0BAA0B;MAC5B;IACF;EACF;;EAEA;IACE,SAAS,EAAE,8BAA8B;IACzC,6CAA6C;IAC7C,SAAS,EAAE,8BAA8B;IACzC,6CAA6C;EAC/C;;EAEA;IACE,oBAAa;IAAb,aAAa,EAAE,kBAAkB;IACjC,iCAAiC;IACjC,gCAAgC;IAChC,mBAAe;QAAf,eAAe,EAAE,kBAAkB;IACnC,mBAAqB;QAArB,qBAAqB,EAAE,kBAAkB;IACzC,qBAAuB;QAAvB,uBAAuB,EAAE,kBAAkB;EAC7C;;EAEA;IACE,gCAAgC;IAChC,+BAA+B;IAC/B,+BAA+B;EACjC;;EAEA;IACE,WAAO;QAAP,OAAO,EAAE,kBAAkB;IAC3B;MACE,8BAAiB;UAAjB,iBAAiB,EAAE,kBAAkB;IACvC;EACF;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B;MACE,+BAA+B;IACjC;IACA,mBAAmB;IACnB,wEAAwE;IACxE,mDAAmD;IACnD,yBAAyB;EAC3B;;EAEA;IACE,qBAAqB;EACvB;;EAEA;IACE,qBAAqB;IACrB,0CAA0C;IAC1C,kEAAkE;IAClE,oDAAoD;IACpD;MACE,uDAAuD;IACzD;IACA,4BAA4B;IAC5B,2BAA2B;IAC3B,iFAAiF;IACjF,kBAAkB;IAClB,mBAAmB;EACrB;;EAEA;IACE,aAAa;IACb,+BAA+B;IAC/B,UAAU;EACZ;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,+BAA+B;EACjC;;EAEA;IACE,+BAA+B;IAC/B,gCAAgC;;IAEhC;MACE,gCAAgC;IAClC;IACA,6CAA6C;EAC/C;;EAEA;IACE,uBAAuB;IACvB,iCAAiC;IACjC,gCAAgC;EAClC;;EAEA;IACE,qBAAqB;IACrB,4BAA4B;IAC5B,mBAAmB;EACrB;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;IAChB,iCAAyB;YAAzB,yBAAyB,EAAE,kBAAkB;EAC/C;;EAEA;IACE;MACE,uBAAe;cAAf,eAAe,EAAE,kBAAkB;IACrC;;IAEA;MACE,uBAAe;cAAf,eAAe,EAAE,kBAAkB;IACrC;EACF;;EAEA;IACE,6CAA6C;EAC/C;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/footer\") {\n\n $govuk-footer-background: $govuk-canvas-background-colour;\n $govuk-footer-border: $govuk-border-colour;\n // This variable can be removed entirely once the legacy palette goes away,\n // as it'll just be the same as $govuk-footer-border.\n $govuk-footer-border-top: $govuk-border-colour;\n $govuk-footer-text: $govuk-text-colour;\n $govuk-footer-link-hover-colour: null; // Only used with the legacy palette\n\n @if $govuk-use-legacy-palette {\n $govuk-footer-border-top: #a1acb2;\n $govuk-footer-border: govuk-colour(\"grey-2\");\n $govuk-footer-text: #454a4c;\n $govuk-footer-link-hover-colour: #171819;\n }\n\n // Based on the govuk-crest-2x.png image dimensions.\n $govuk-footer-crest-image-width-2x: 250px;\n $govuk-footer-crest-image-height-2x: 204px;\n // Half the 2x image so that it fits the regular 1x size.\n $govuk-footer-crest-image-width: ($govuk-footer-crest-image-width-2x / 2);\n $govuk-footer-crest-image-height: ($govuk-footer-crest-image-height-2x / 2);\n\n .govuk-footer {\n @include govuk-font($size: 16);\n @include govuk-responsive-padding(7, \"top\");\n @include govuk-responsive-padding(5, \"bottom\");\n\n border-top: 1px solid $govuk-footer-border-top;\n color: $govuk-footer-text;\n background: $govuk-footer-background;\n }\n\n .govuk-footer__link {\n @include govuk-link-common;\n\n @if $govuk-use-legacy-palette {\n &:link,\n &:visited {\n color: $govuk-footer-text;\n }\n\n &:hover,\n &:active {\n color: $govuk-footer-link-hover-colour;\n }\n } @else {\n @include govuk-link-style-text;\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.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n @include govuk-text-colour;\n }\n }\n }\n\n .govuk-footer__section-break {\n margin: 0; // Reset `<hr>` default margins\n @include govuk-responsive-margin(8, \"bottom\");\n border: 0; // Reset `<hr>` default borders\n border-bottom: 1px solid $govuk-footer-border;\n }\n\n .govuk-footer__meta {\n display: flex; // Support: Flexbox\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n flex-wrap: wrap; // Support: Flexbox\n align-items: flex-end; // Support: Flexbox\n justify-content: center; // Support: Flexbox\n }\n\n .govuk-footer__meta-item {\n margin-right: $govuk-gutter-half;\n margin-bottom: govuk-spacing(5);\n margin-left: $govuk-gutter-half;\n }\n\n .govuk-footer__meta-item--grow {\n flex: 1; // Support: Flexbox\n @include govuk-media-query ($until: tablet) {\n flex-basis: 320px; // Support: Flexbox\n }\n }\n\n .govuk-footer__licence-logo {\n display: inline-block;\n margin-right: govuk-spacing(2);\n @include govuk-media-query ($until: desktop) {\n margin-bottom: govuk-spacing(3);\n }\n vertical-align: top;\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 .govuk-footer__licence-description {\n display: inline-block;\n }\n\n .govuk-footer__copyright-logo {\n display: inline-block;\n min-width: $govuk-footer-crest-image-width;\n padding-top: ($govuk-footer-crest-image-height + govuk-spacing(2));\n background-image: govuk-image-url(\"govuk-crest.png\");\n @include govuk-device-pixel-ratio {\n background-image: govuk-image-url(\"govuk-crest-2x.png\");\n }\n background-repeat: no-repeat;\n background-position: 50% 0%;\n background-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n text-align: center;\n white-space: nowrap;\n }\n\n .govuk-footer__inline-list {\n margin-top: 0;\n margin-bottom: govuk-spacing(3);\n padding: 0;\n }\n\n .govuk-footer__meta-custom {\n margin-bottom: govuk-spacing(4);\n }\n\n .govuk-footer__inline-list-item {\n display: inline-block;\n margin-right: govuk-spacing(3);\n margin-bottom: govuk-spacing(1);\n }\n\n .govuk-footer__heading {\n margin-bottom: govuk-spacing(6);\n padding-bottom: govuk-spacing(4);\n\n @include govuk-media-query ($until: tablet) {\n padding-bottom: govuk-spacing(2);\n }\n border-bottom: 1px solid $govuk-footer-border;\n }\n\n .govuk-footer__navigation {\n @include govuk-clearfix;\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n }\n\n .govuk-footer__section {\n display: inline-block;\n margin-bottom: $govuk-gutter;\n vertical-align: top;\n }\n\n .govuk-footer__list {\n margin: 0;\n padding: 0;\n list-style: none;\n column-gap: $govuk-gutter; // Support: Columns\n }\n\n @include govuk-media-query ($from: desktop) {\n .govuk-footer__list--columns-2 {\n column-count: 2; // Support: Columns\n }\n\n .govuk-footer__list--columns-3 {\n column-count: 3; // Support: Columns\n }\n }\n\n .govuk-footer__list-item {\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-footer__list-item:last-child {\n margin-bottom: 0;\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_header.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/header/_header.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_header.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -62,6 +62,14 @@
62
62
  vertical-align: top;
63
63
  }
64
64
 
65
+ // Spacing adjustment for Tudor crown, as the new graphic is narrower than the
66
+ // existing crown. In Frontend v5, this rule should replace the equivalent in
67
+ // the block above.
68
+ .govuk-header__logotype-crown[width="32"] {
69
+ top: -3px;
70
+ margin-right: 2px;
71
+ }
72
+
65
73
  .govuk-header__logotype-crown-fallback-image {
66
74
  width: 36px;
67
75
  height: 32px;
@@ -69,6 +77,14 @@
69
77
  vertical-align: bottom;
70
78
  }
71
79
 
80
+ // Sizing adjustment for Tudor crown, as the new graphic is smaller than the
81
+ // existing crown. In Frontend v5, these rules should replace their
82
+ // equivalents in the block above.
83
+ .govuk-header__logotype-crown-fallback-image[width="32"] {
84
+ width: 32px;
85
+ height: 30px;
86
+ }
87
+
72
88
  .govuk-header__product-name {
73
89
  @include govuk-font($size: 24, $line-height: 1);
74
90
  display: inline-table;
@@ -347,3 +363,5 @@
347
363
  // End adjustments
348
364
  }
349
365
  }
366
+
367
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/header/_index.scss"],"names":[],"mappings":"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","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/header\") {\n\n $govuk-header-background: govuk-colour(\"black\");\n $govuk-header-border-color: $govuk-brand-colour;\n $govuk-header-border-width: govuk-spacing(2);\n $govuk-header-text: govuk-colour(\"white\");\n $govuk-header-link-active: #1d8feb;\n $govuk-header-nav-item-border-color: #2e3133;\n $govuk-header-link-underline-thickness: 3px;\n\n .govuk-header {\n @include govuk-font($size: 16);\n\n border-bottom: govuk-spacing(2) solid govuk-colour(\"white\");\n color: $govuk-header-text;\n background: $govuk-header-background;\n }\n\n .govuk-header__container--full-width {\n padding: 0 govuk-spacing(3);\n border-color: $govuk-header-border-color;\n\n .govuk-header__menu-button {\n right: govuk-spacing(3);\n }\n }\n\n .govuk-header__container {\n @include govuk-clearfix;\n position: relative;\n margin-bottom: -$govuk-header-border-width;\n padding-top: govuk-spacing(2);\n border-bottom: $govuk-header-border-width solid $govuk-header-border-color;\n }\n\n .govuk-header__logotype {\n display: inline-block;\n\n // Add a gap after the logo in case it's followed by a product name. This\n // gets removed later if the logotype is a :last-child.\n margin-right: govuk-spacing(1);\n\n // Prevent readability backplate from obscuring underline in Windows High\n // Contrast Mode\n @media (forced-colors: active) {\n forced-color-adjust: none;\n color: linktext;\n }\n\n // Remove the gap after the logo if there's no product name to keep hover\n // and focus states neat\n &:last-child {\n margin-right: 0;\n }\n }\n\n .govuk-header__logotype-crown {\n position: relative;\n top: -1px;\n margin-right: 1px;\n fill: currentcolor;\n vertical-align: top;\n }\n\n // Spacing adjustment for Tudor crown, as the new graphic is narrower than the\n // existing crown. In Frontend v5, this rule should replace the equivalent in\n // the block above.\n .govuk-header__logotype-crown[width=\"32\"] {\n top: -3px;\n margin-right: 2px;\n }\n\n .govuk-header__logotype-crown-fallback-image {\n width: 36px;\n height: 32px;\n border: 0;\n vertical-align: bottom;\n }\n\n // Sizing adjustment for Tudor crown, as the new graphic is smaller than the\n // existing crown. In Frontend v5, these rules should replace their\n // equivalents in the block above.\n .govuk-header__logotype-crown-fallback-image[width=\"32\"] {\n width: 32px;\n height: 30px;\n }\n\n .govuk-header__product-name {\n @include govuk-font($size: 24, $line-height: 1);\n display: inline-table;\n }\n\n .govuk-header__link {\n // Avoid using the `govuk-link-common` mixin because the links in the header\n // get a special treatment, because:\n //\n // - underlines are only visible on hover\n // - all links get a 3px underline regardless of text size, as there are\n // multiple grouped elements close to one another and having slightly\n // different underline widths looks unbalanced\n @include govuk-typography-common;\n @include govuk-link-style-inverse;\n\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n text-decoration-thickness: $govuk-header-link-underline-thickness;\n\n @if $govuk-link-underline-offset {\n text-underline-offset: $govuk-link-underline-offset;\n }\n }\n\n &:focus {\n @include govuk-focused-text;\n }\n }\n\n .govuk-header__link--homepage {\n // Font size needs to be set on the link so that the box sizing is correct\n // in Firefox\n @include govuk-font($size: false, $weight: bold);\n\n display: inline-block;\n margin-right: govuk-spacing(2);\n font-size: 30px; // We don't have a mixin that produces 30px font size\n line-height: 1;\n\n @include govuk-media-query($from: tablet) {\n display: inline;\n\n &:focus {\n // Replicate the focus box shadow but without the -2px y-offset of the first yellow shadow\n // This is to stop the logo getting cut off by the box shadow when focused on above a product name\n box-shadow: 0 0 $govuk-focus-colour;\n }\n }\n\n &:link,\n &:visited {\n text-decoration: none;\n }\n\n &:hover,\n &:active {\n // Negate the added border\n margin-bottom: $govuk-header-link-underline-thickness * -1;\n // Omitting colour will use default value of currentColor – if we\n // specified currentColor explicitly IE8 would ignore this rule.\n border-bottom: $govuk-header-link-underline-thickness solid;\n }\n\n // Remove any borders that show when focused and hovered.\n &:focus {\n margin-bottom: 0;\n border-bottom: 0;\n }\n }\n\n // The govuk-header__link--service-name class is deprecated - use\n // govuk-header__service-name instead.\n .govuk-header__service-name,\n .govuk-header__link--service-name {\n display: inline-block;\n margin-bottom: govuk-spacing(2);\n @include govuk-font($size: 24, $weight: bold);\n }\n\n .govuk-header__logo,\n .govuk-header__content {\n box-sizing: border-box;\n }\n\n .govuk-header__logo {\n @include govuk-responsive-margin(2, \"bottom\");\n padding-right: govuk-spacing(8);\n\n @include govuk-media-query ($from: desktop) {\n width: 33.33%;\n padding-right: $govuk-gutter-half;\n float: left;\n vertical-align: top;\n }\n }\n\n .govuk-header__content {\n @include govuk-media-query ($from: desktop) {\n width: 66.66%;\n padding-left: $govuk-gutter-half;\n float: left;\n }\n }\n\n .govuk-header__menu-button {\n @include govuk-font($size: 16);\n display: none;\n position: absolute;\n top: govuk-spacing(4);\n right: 0;\n margin: 0;\n padding: 0;\n border: 0;\n color: govuk-colour(\"white\");\n background: none;\n cursor: pointer;\n\n &:hover {\n text-decoration: solid underline $govuk-header-link-underline-thickness;\n\n @if $govuk-link-underline-offset {\n text-underline-offset: $govuk-link-underline-offset;\n }\n }\n\n &:focus {\n @include govuk-focused-text;\n }\n\n &:after {\n @include govuk-shape-arrow($direction: down, $base: 10px, $display: inline-block);\n content: \"\";\n margin-left: govuk-spacing(1);\n }\n\n &[aria-expanded=\"true\"]:after {\n @include govuk-shape-arrow($direction: up, $base: 10px, $display: inline-block);\n }\n\n @include govuk-media-query ($from: tablet) {\n top: govuk-spacing(3);\n }\n\n .js-enabled & {\n display: block;\n }\n\n &[hidden],\n .js-enabled &[hidden] {\n display: none;\n }\n }\n\n .govuk-header__navigation {\n @include govuk-media-query ($from: desktop) {\n margin-bottom: govuk-spacing(2);\n }\n }\n\n .govuk-header__navigation-list {\n // Reset user-agent default list styles\n margin: 0;\n padding: 0;\n list-style: none;\n\n &[hidden] {\n display: none;\n }\n }\n\n .govuk-header__navigation--end {\n @include govuk-media-query ($from: desktop) {\n margin: 0;\n padding: govuk-spacing(1) 0;\n text-align: right;\n }\n }\n\n // The govuk-header__navigation--no-service-name class is deprecated and will\n // be removed in the next major release.\n .govuk-header__navigation--no-service-name {\n padding-top: govuk-spacing(7);\n }\n\n .govuk-header__navigation-item {\n padding: govuk-spacing(2) 0;\n border-bottom: 1px solid $govuk-header-nav-item-border-color;\n\n @include govuk-media-query ($from: desktop) {\n display: inline-block;\n margin-right: govuk-spacing(3);\n padding: govuk-spacing(1) 0;\n border: 0;\n }\n\n a {\n @include govuk-font($size: 16, $weight: bold);\n white-space: nowrap;\n }\n }\n\n .govuk-header__navigation-item--active {\n a {\n &:link,\n &:hover,\n &:visited {\n color: $govuk-header-link-active;\n }\n\n // When printing, use the normal blue as this contrasts better with the\n // white printing header\n @include govuk-media-query($media-type: print) {\n color: $govuk-brand-colour;\n }\n\n // When focussed, the text colour needs to be darker to ensure that colour\n // contrast is still acceptable\n &:focus {\n color: $govuk-focus-text-colour;\n }\n }\n }\n\n .govuk-header__navigation-item:last-child {\n margin-right: 0;\n border-bottom: 0;\n }\n\n @include govuk-media-query($media-type: print) {\n .govuk-header {\n border-bottom-width: 0;\n color: govuk-colour(\"black\");\n background: transparent;\n }\n\n // Hide the inverted crown when printing in browsers that don't support SVG.\n .govuk-header__logotype-crown-fallback-image {\n display: none;\n }\n\n .govuk-header__link {\n &:link,\n &:visited {\n color: govuk-colour(\"black\");\n }\n\n // Do not append link href to GOV.UK link when printing (e.g. '(/)')\n &:after {\n display: none;\n }\n }\n }\n\n @if $govuk-use-legacy-font {\n // Begin adjustments for font baseline offset\n // These should be removed when the font is updated with the correct baseline\n .govuk-header__logotype-crown,\n .govuk-header__logotype-crown-fallback-image {\n position: relative;\n top: -4px;\n vertical-align: middle;\n }\n\n .govuk-header {\n $offset: 3px;\n padding-top: $offset;\n }\n\n .govuk-header__link--homepage {\n line-height: 30px;\n }\n // End adjustments\n }\n}\n"]}