govuk_publishing_components 67.1.0 → 68.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/govuk_publishing_components_manifest.js +1 -1
  3. data/app/assets/javascripts/govuk_publishing_components/lib/filter-list.js +29 -4
  4. data/app/assets/stylesheets/component_guide/application.scss +12 -18
  5. data/app/assets/stylesheets/govuk_publishing_components/all-components.scss +2 -0
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +6 -2
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_app-promo-banner.scss +3 -3
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss +1 -1
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +5 -5
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -2
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +6 -6
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +1 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss +1 -1
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +2 -2
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +4 -4
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +14 -14
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_devolved-nations.scss +3 -3
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +6 -6
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +3 -6
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +3 -3
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -1
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +7 -7
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +1 -1
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_glance-metric.scss +3 -3
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +3 -3
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +3 -3
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +3 -3
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +3 -3
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +2 -2
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +1 -1
  32. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +1 -1
  33. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +30 -51
  34. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +23 -23
  35. data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +1 -1
  36. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +2 -2
  37. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +3 -3
  38. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +3 -3
  39. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
  40. data/app/assets/stylesheets/govuk_publishing_components/components/_pagination.scss +1 -1
  41. data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +3 -3
  42. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +6 -6
  43. data/app/assets/stylesheets/govuk_publishing_components/components/_published-dates.scss +1 -1
  44. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +1 -1
  45. data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +3 -3
  46. data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss +7 -7
  47. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +8 -8
  48. data/app/assets/stylesheets/govuk_publishing_components/components/_secondary-navigation.scss +6 -6
  49. data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +15 -15
  50. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +2 -2
  51. data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +2 -2
  52. data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +6 -6
  53. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +2 -2
  54. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -1
  55. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +11 -11
  56. data/app/assets/stylesheets/govuk_publishing_components/components/_sub-navigation-menu.scss +9 -9
  57. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +5 -5
  58. data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +3 -3
  59. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +1 -1
  60. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +15 -10
  61. data/app/assets/stylesheets/govuk_publishing_components/components/_tag.scss +1 -1
  62. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +3 -3
  63. data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +3 -3
  64. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +4 -4
  65. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +2 -2
  66. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -1
  67. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -1
  68. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +4 -4
  69. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +1 -1
  70. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +1 -1
  71. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -1
  72. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +2 -2
  73. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
  74. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +2 -2
  75. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +2 -2
  76. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -1
  77. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +8 -0
  78. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_colours.scss +9 -11
  79. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +3 -3
  80. data/app/assets/stylesheets/govuk_publishing_components/lib/_link.scss +3 -3
  81. data/app/assets/stylesheets/govuk_publishing_components/lib/_print_support.scss +2 -2
  82. data/app/assets/stylesheets/govuk_publishing_components/settings/_custom-properties.scss +9 -0
  83. data/app/assets/stylesheets/govuk_publishing_components/settings/_index.scss +1 -2
  84. data/app/assets/stylesheets/govuk_publishing_components/specific-components.scss +2 -0
  85. data/app/views/govuk_publishing_components/components/_glance_metric.html.erb +1 -1
  86. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -1
  87. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -1
  88. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +14 -36
  89. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +1 -1
  90. data/app/views/govuk_publishing_components/components/_tag.html.erb +1 -1
  91. data/app/views/govuk_publishing_components/components/docs/layout_header.yml +0 -15
  92. data/app/views/govuk_publishing_components/components/docs/tag.yml +4 -8
  93. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +4 -13
  94. data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -1
  95. data/config/initializers/assets.rb +1 -1
  96. data/lib/govuk_publishing_components/version.rb +1 -1
  97. data/node_modules/axe-core/README.md +10 -7
  98. data/node_modules/axe-core/axe.d.ts +4 -15
  99. data/node_modules/axe-core/axe.js +4011 -3559
  100. data/node_modules/axe-core/axe.min.js +2 -2
  101. data/node_modules/axe-core/gather-internals.js +1 -1
  102. data/node_modules/axe-core/locales/README.md +2 -2
  103. data/node_modules/axe-core/locales/_template.json +15 -5
  104. data/node_modules/axe-core/locales/sv.json +1147 -0
  105. data/node_modules/axe-core/package.json +65 -73
  106. data/node_modules/axe-core/sri-history.json +4 -0
  107. data/node_modules/govuk-frontend/README.md +1 -1
  108. data/node_modules/govuk-frontend/dist/govuk/_base.scss +1 -0
  109. data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -1
  110. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +21 -95
  111. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  112. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +22 -95
  113. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  114. data/node_modules/govuk-frontend/dist/govuk/all.mjs +0 -1
  115. data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
  116. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.ico +0 -0
  117. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.svg +1 -1
  118. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-180.png +0 -0
  119. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-192.png +0 -0
  120. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-512.png +0 -0
  121. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
  122. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  123. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +14 -11
  124. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
  125. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
  126. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
  127. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +2 -2
  128. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -1
  129. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +1 -1
  130. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
  131. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +16 -19
  132. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
  133. data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +7 -95
  134. data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +12 -19
  135. data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +8 -20
  136. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +2 -2
  137. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
  138. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +19 -9
  139. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
  140. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +19 -9
  141. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
  142. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +19 -9
  143. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
  144. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +7 -6
  145. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -1
  146. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +2 -5
  147. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
  148. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +4 -40
  149. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +2 -2
  150. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +2 -2
  151. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +6 -4
  152. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -1
  153. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +1 -1
  154. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +1 -1
  155. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +4 -2
  156. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -1
  157. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
  158. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
  159. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +28 -37
  160. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
  161. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
  162. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
  163. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +1 -1
  164. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +0 -7
  165. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +0 -1
  166. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +18 -23
  167. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  168. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +25 -38
  169. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +0 -6
  170. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +23 -2
  171. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +23 -2
  172. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +23 -2
  173. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +23 -2
  174. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +23 -2
  175. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +23 -2
  176. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +23 -2
  177. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +23 -2
  178. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +23 -2
  179. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +23 -2
  180. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +23 -2
  181. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +23 -2
  182. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +23 -2
  183. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +6 -11
  184. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +85 -457
  185. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  186. data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +7 -536
  187. data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +2 -101
  188. data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +7 -6
  189. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +7 -6
  190. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +7 -6
  191. data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +4 -50
  192. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +1 -1
  193. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +1 -1
  194. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -5
  195. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
  196. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +2 -1
  197. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -1
  198. data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +2 -2
  199. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +8 -6
  200. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
  201. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +9 -10
  202. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
  203. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +2 -2
  204. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
  205. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
  206. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
  207. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +12 -6
  208. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
  209. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +7 -7
  210. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +1 -1
  211. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +1 -1
  212. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +7 -6
  213. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  214. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +5 -4
  215. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
  216. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +50 -71
  217. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
  218. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +7 -32
  219. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +3 -2
  220. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
  221. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +9 -5
  222. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
  223. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +7 -8
  224. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
  225. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +8 -5
  226. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
  227. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +66 -31
  228. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
  229. data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +6 -18
  230. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +2 -2
  231. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +2 -2
  232. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +7 -5
  233. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -1
  234. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +13 -25
  235. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +12 -24
  236. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html +2 -2
  237. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +4 -3
  238. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
  239. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +4 -3
  240. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
  241. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +0 -1
  242. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -1
  243. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +2 -1
  244. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -1
  245. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -17
  246. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
  247. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss +17 -0
  248. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss.map +1 -0
  249. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss +15 -0
  250. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss.map +1 -0
  251. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss +17 -0
  252. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss.map +1 -0
  253. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss +5 -0
  254. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss.map +1 -0
  255. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  256. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  257. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  258. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  259. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +168 -82
  260. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
  261. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +8 -7
  262. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
  263. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +23 -39
  264. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
  265. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +2 -26
  266. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
  267. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
  268. data/node_modules/govuk-frontend/dist/govuk/init.mjs +1 -2
  269. data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -1
  270. data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +4 -26
  271. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss +2 -1
  272. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss.map +1 -1
  273. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +2 -6
  274. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -1
  275. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +0 -2
  276. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
  277. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +3 -188
  278. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +1 -1
  279. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +366 -0
  280. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss.map +1 -0
  281. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +8 -254
  282. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
  283. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +117 -25
  284. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss.map +1 -1
  285. data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss +18 -0
  286. data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss.map +1 -0
  287. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +3 -14
  288. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -1
  289. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +0 -16
  290. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
  291. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +12 -189
  292. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -1
  293. data/node_modules/govuk-frontend/dist/govuk/template.njk +61 -23
  294. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +0 -1
  295. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -1
  296. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +2 -0
  297. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -1
  298. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -4
  299. data/node_modules/govuk-frontend/package.json +13 -12
  300. metadata +15 -56
  301. data/app/assets/javascripts/govuk_publishing_components/components/layout-header.js +0 -3
  302. data/app/assets/stylesheets/govuk_publishing_components/settings/_colours.scss +0 -5
  303. data/app/assets/stylesheets/govuk_publishing_components/settings/_typography.scss +0 -1
  304. data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +0 -34
  305. data/node_modules/govuk-frontend/dist/govuk/all.scss +0 -9
  306. data/node_modules/govuk-frontend/dist/govuk/all.scss.map +0 -1
  307. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.ico +0 -0
  308. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.svg +0 -1
  309. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-crest.svg +0 -1
  310. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-180.png +0 -0
  311. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-192.png +0 -0
  312. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-512.png +0 -0
  313. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-mask.svg +0 -1
  314. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-opengraph-image.png +0 -0
  315. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/manifest.json +0 -39
  316. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +0 -10
  317. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +0 -1
  318. data/node_modules/govuk-frontend/dist/govuk/components/button/template-input.html +0 -1
  319. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +0 -238
  320. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +0 -1
  321. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +0 -230
  322. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +0 -1
  323. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +0 -89
  324. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +0 -1
  325. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +0 -54
  326. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +0 -54
  327. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +0 -48
  328. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +0 -59
  329. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +0 -29
  330. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +0 -119
  331. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +0 -59
  332. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +0 -62
  333. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +0 -34
  334. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +0 -34
  335. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +0 -19
  336. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-light-blue.html +0 -3
  337. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +0 -10
  338. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +0 -1
  339. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +0 -15
  340. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.map +0 -1
  341. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +0 -10
  342. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +0 -1
  343. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +0 -10
  344. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +0 -1
  345. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +0 -9
  346. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +0 -1
  347. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +0 -10
  348. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +0 -1
  349. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +0 -10
  350. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +0 -1
  351. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss +0 -65
  352. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss.map +0 -1
  353. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +0 -10
  354. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +0 -1
  355. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/functions.js +0 -25
@@ -1,25 +1,16 @@
1
1
  @include govuk-exports("govuk/component/service-navigation") {
2
2
  $govuk-service-navigation-active-link-border-width: govuk-spacing(1);
3
- $govuk-service-navigation-background: govuk-colour("light-grey");
4
- $govuk-service-navigation-border-colour: $govuk-border-colour;
5
-
6
- // We make the link colour a little darker than normal here so that it has
7
- // better perceptual contrast with the navigation background.
8
- $govuk-service-navigation-link-colour: govuk-shade($govuk-link-colour, 10%);
3
+ $govuk-service-navigation-text-colour: govuk-functional-colour(surface-text);
4
+ $govuk-service-navigation-background: govuk-functional-colour(surface-background);
5
+ $govuk-service-navigation-border-colour: govuk-functional-colour(surface-border);
9
6
 
10
7
  .govuk-service-navigation {
8
+ @include govuk-font($size: 19);
11
9
  border-bottom-width: 1px;
12
10
  border-bottom-style: solid;
13
- @include _govuk-rebrand(
14
- "border-bottom-color",
15
- $from: $govuk-service-navigation-border-colour,
16
- $to: $_govuk-rebrand-border-colour-on-blue-tint-95
17
- );
18
- @include _govuk-rebrand(
19
- "background-color",
20
- $from: $govuk-service-navigation-background,
21
- $to: $_govuk-rebrand-template-background-colour
22
- );
11
+ border-bottom-color: $govuk-service-navigation-border-colour;
12
+ color: $govuk-service-navigation-text-colour;
13
+ background-color: $govuk-service-navigation-background;
23
14
  }
24
15
 
25
16
  .govuk-service-navigation__container {
@@ -39,7 +30,12 @@
39
30
  .govuk-service-navigation__service-name {
40
31
  position: relative;
41
32
  margin: govuk-spacing(2) 0;
42
- border: 0 solid $govuk-service-navigation-link-colour;
33
+
34
+ // A border matching the link colour is used to mark the active section –
35
+ // see the `govuk-service-navigation__item--active` class
36
+ border-width: 0;
37
+ border-style: solid;
38
+ border-color: govuk-functional-colour(link);
43
39
 
44
40
  @media #{govuk-from-breakpoint(tablet)} {
45
41
  // inline-block is used as a fallback for browsers that don't support flexbox
@@ -47,18 +43,14 @@
47
43
 
48
44
  margin-top: 0;
49
45
  margin-bottom: 0;
50
- padding: govuk-spacing(4) 0;
46
+ padding: govuk-spacing(3) 0;
51
47
 
52
- @include _govuk-rebrand {
53
- padding: govuk-spacing(3) 0;
54
-
55
- // More magic numbers ahoy:
56
- // 29 is the desired height of the element (60), minus top and bottom
57
- // padding (2×15), minus bottom border (1); 19 is the font-size at this
58
- // point. This gives us the perfect fractional line height to make the
59
- // overall component 60px high
60
- line-height: (29 / 19);
61
- }
48
+ // More magic numbers ahoy:
49
+ // 29 is the desired height of the element (60), minus top and bottom
50
+ // padding (2×15), minus bottom border (1); 19 is the font-size at this
51
+ // point. This gives us the perfect fractional line height to make the
52
+ // overall component 60px high
53
+ line-height: (29 / 19);
62
54
 
63
55
  &:not(:last-child) {
64
56
  @include govuk-responsive-margin(6, $direction: right);
@@ -87,11 +79,7 @@
87
79
  }
88
80
 
89
81
  @media #{govuk-from-breakpoint(tablet)} {
90
- @include _govuk-rebrand(
91
- "padding-bottom",
92
- $from: govuk-spacing(4) - $govuk-service-navigation-active-link-border-width,
93
- $to: govuk-spacing(3) - $govuk-service-navigation-active-link-border-width
94
- );
82
+ padding-bottom: govuk-spacing(3) - $govuk-service-navigation-active-link-border-width;
95
83
  border-bottom-width: $govuk-service-navigation-active-link-border-width;
96
84
  }
97
85
  }
@@ -100,12 +88,6 @@
100
88
  @include govuk-link-common;
101
89
  @include govuk-link-style-no-underline;
102
90
  @include govuk-link-style-no-visited-state;
103
-
104
- &:not(:hover):not(:focus) {
105
- // We set the colour here as we don't want to override the hover or
106
- // focus colours
107
- color: $govuk-service-navigation-link-colour;
108
- }
109
91
  }
110
92
 
111
93
  //
@@ -113,7 +95,7 @@
113
95
  //
114
96
 
115
97
  .govuk-service-navigation__service-name {
116
- @include govuk-font($size: 19, $weight: bold);
98
+ @include govuk-typography-weight-bold;
117
99
  }
118
100
 
119
101
  // Annoyingly this requires a compound selector in order to overcome the
@@ -139,7 +121,7 @@
139
121
  margin: govuk-spacing(2) 0;
140
122
  padding: 0;
141
123
  border: 0;
142
- color: $govuk-service-navigation-link-colour;
124
+ color: govuk-functional-colour(link);
143
125
  background: none;
144
126
  word-break: break-all;
145
127
  cursor: pointer;
@@ -172,7 +154,6 @@
172
154
  }
173
155
 
174
156
  .govuk-service-navigation__list {
175
- @include govuk-font($size: 19);
176
157
  margin: 0;
177
158
  margin-bottom: govuk-spacing(3);
178
159
  padding: 0;
@@ -211,42 +192,40 @@
211
192
 
212
193
  // Inverted colour scheme style intended for product pages
213
194
  .govuk-service-navigation--inverse {
214
- @include _govuk-rebrand {
215
- // Remove bottom border to add width-container ones
216
- border-bottom: none;
195
+ // Remove bottom border to add width-container ones
196
+ border-bottom: none;
217
197
 
218
- // Set colour here so non-link text (service name, slot content) can
219
- // use it too.
220
- color: govuk-colour("white");
198
+ // Set colour here so non-link text (service name, slot content) can
199
+ // use it too.
200
+ color: govuk-colour("white");
221
201
 
222
- background-color: $govuk-brand-colour;
202
+ background-color: govuk-functional-colour(brand);
223
203
 
224
- .govuk-width-container {
225
- border-width: 1px 0;
226
- border-style: solid;
227
- border-color: $_govuk-rebrand-border-colour-on-blue-tint-95;
228
- }
204
+ .govuk-width-container {
205
+ border-width: 1px 0;
206
+ border-style: solid;
207
+ border-color: $govuk-service-navigation-border-colour;
208
+ }
229
209
 
230
- // Subtract 1px of space to account for the extra border-top
231
- .govuk-service-navigation__container {
232
- margin-top: -1px;
233
- }
210
+ // Subtract 1px of space to account for the extra border-top
211
+ .govuk-service-navigation__container {
212
+ margin-top: -1px;
213
+ }
234
214
 
235
- // Override the 'active' border colour
236
- .govuk-service-navigation__item,
237
- .govuk-service-navigation__service-name {
238
- border-color: govuk-colour("white");
239
- }
215
+ // Override the 'active' border colour
216
+ .govuk-service-navigation__item,
217
+ .govuk-service-navigation__service-name {
218
+ border-color: govuk-colour("white");
219
+ }
240
220
 
241
- // Override link styles
242
- .govuk-service-navigation__link {
243
- @include govuk-link-style-inverse;
244
- }
221
+ // Override link styles
222
+ .govuk-service-navigation__link {
223
+ @include govuk-link-style-inverse;
224
+ }
245
225
 
246
- // Override mobile menu toggle colour when not focused
247
- .govuk-service-navigation__toggle:not(:focus) {
248
- color: currentcolor;
249
- }
226
+ // Override mobile menu toggle colour when not focused
227
+ .govuk-service-navigation__toggle:not(:focus) {
228
+ color: currentcolor;
250
229
  }
251
230
  }
252
231
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/service-navigation/_index.scss"],"names":[],"mappings":"AAAA;EACE,oEAAoE;EACpE,gEAAgE;EAChE,6DAA6D;;EAE7D,yEAAyE;EACzE,4DAA4D;EAC5D,2EAA2E;;EAE3E;IACE,wBAAwB;IACxB,0BAA0B;IAC1B;;;;KAIC;IACD;;;;KAIC;EACH;;EAEA;IACE,aAAa;IACb,sBAAsB;IACtB,kBAAkB;;IAElB;MACE,mBAAmB;MACnB,eAAe;IACjB;EACF;;EAEA,sEAAsE;EACtE,qEAAqE;EACrE;;IAEE,kBAAkB;IAClB,0BAA0B;IAC1B,qDAAqD;;IAErD;MACE,4EAA4E;MAC5E,qBAAqB;;MAErB,aAAa;MACb,gBAAgB;MAChB,2BAA2B;;MAE3B;QACE,2BAA2B;;QAE3B,0BAA0B;QAC1B,oEAAoE;QACpE,sEAAsE;QACtE,qEAAqE;QACrE,6BAA6B;QAC7B,sBAAsB;MACxB;;MAEA;QACE,sDAAsD;MACxD;IACF;EACF;;EAEA,4EAA4E;EAC5E,yEAAyE;EACzE;IACE;;MAEE;QACE,aAAa;MACf;IACF;EACF;;EAEA;IACE;MACE,0EAA0E;MAC1E,qDAAqD;MACrD,2FAA2F;MAC3F,8BAA8B;MAC9B,qEAAqE;IACvE;;IAEA;MACE;;;;OAIC;MACD,uEAAuE;IACzE;EACF;;EAEA;IACE,0BAA0B;IAC1B,sCAAsC;IACtC,0CAA0C;;IAE1C;MACE,kEAAkE;MAClE,eAAe;MACf,4CAA4C;IAC9C;EACF;;EAEA,CAAC;EACD,4BAA4B;EAC5B,CAAC;;EAED;IACE,6CAA6C;EAC/C;;EAEA,uEAAuE;EACvE,2DAA2D;EAC3D;IACE,8BAA8B;EAChC;;EAEA,qEAAqE;EACrE,4EAA4E;EAC5E,0BAA0B;EAC1B;IACE,YAAY;EACd;;EAEA,CAAC;EACD,+BAA+B;EAC/B,CAAC;;EAED;IACE,6CAA6C;IAC7C,oBAAoB;IACpB,0BAA0B;IAC1B,UAAU;IACV,SAAS;IACT,4CAA4C;IAC5C,gBAAgB;IAChB,qBAAqB;IACrB,eAAe;IACf,mBAAmB;;IAEnB;MACE,2BAA2B;IAC7B;;IAEA;MACE,iFAAiF;MACjF,WAAW;MACX,6BAA6B;IAC/B;;IAEA;MACE,+EAA+E;IACjF;;IAEA,mEAAmE;IACnE;MACE,aAAa;IACf;;IAEA,kEAAkE;IAClE,8DAA8D;IAC9D;MACE,aAAa;IACf;EACF;;EAEA;IACE,8BAA8B;IAC9B,SAAS;IACT,+BAA+B;IAC/B,UAAU;IACV,gBAAgB;;IAEhB,mEAAmE;IACnE,sEAAsE;IACtE,wEAAwE;IACxE,uCAAuC;IACvC,wEAAwE;IACxE,0CAA0C;IAC1C;MACE,aAAa;MACb,eAAe;MACf,gBAAgB;;MAEhB,uEAAuE;MACvE,oEAAoE;MACpE,oEAAoE;MACpE,mEAAmE;MACnE,CAAC;MACD,8EAA8E;MAC9E;QACE,cAAc;MAChB;IACF;EACF;;EAEA,qEAAqE;EACrE,mEAAmE;EACnE,wEAAwE;EACxE,iCAAiC;EACjC;IACE,oBAAoB;EACtB;;EAEA,yDAAyD;EACzD;IACE;MACE,kDAAkD;MAClD,mBAAmB;;MAEnB,mEAAmE;MACnE,aAAa;MACb,4BAA4B;;MAE5B,qCAAqC;;MAErC;QACE,mBAAmB;QACnB,mBAAmB;QACnB,2DAA2D;MAC7D;;MAEA,2DAA2D;MAC3D;QACE,gBAAgB;MAClB;;MAEA,qCAAqC;MACrC;;QAEE,mCAAmC;MACrC;;MAEA,sBAAsB;MACtB;QACE,iCAAiC;MACnC;;MAEA,qDAAqD;MACrD;QACE,mBAAmB;MACrB;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/service-navigation\") {\n $govuk-service-navigation-active-link-border-width: govuk-spacing(1);\n $govuk-service-navigation-background: govuk-colour(\"light-grey\");\n $govuk-service-navigation-border-colour: $govuk-border-colour;\n\n // We make the link colour a little darker than normal here so that it has\n // better perceptual contrast with the navigation background.\n $govuk-service-navigation-link-colour: govuk-shade($govuk-link-colour, 10%);\n\n .govuk-service-navigation {\n border-bottom-width: 1px;\n border-bottom-style: solid;\n @include _govuk-rebrand(\n \"border-bottom-color\",\n $from: $govuk-service-navigation-border-colour,\n $to: $_govuk-rebrand-border-colour-on-blue-tint-95\n );\n @include _govuk-rebrand(\n \"background-color\",\n $from: $govuk-service-navigation-background,\n $to: $_govuk-rebrand-template-background-colour\n );\n }\n\n .govuk-service-navigation__container {\n display: flex;\n flex-direction: column;\n align-items: start;\n\n @media #{govuk-from-breakpoint(tablet)} {\n flex-direction: row;\n flex-wrap: wrap;\n }\n }\n\n // These styles are shared between nav items and the service name, they\n // ensure that both of them remain vertically aligned with one another\n .govuk-service-navigation__item,\n .govuk-service-navigation__service-name {\n position: relative;\n margin: govuk-spacing(2) 0;\n border: 0 solid $govuk-service-navigation-link-colour;\n\n @media #{govuk-from-breakpoint(tablet)} {\n // inline-block is used as a fallback for browsers that don't support flexbox\n display: inline-block;\n\n margin-top: 0;\n margin-bottom: 0;\n padding: govuk-spacing(4) 0;\n\n @include _govuk-rebrand {\n padding: govuk-spacing(3) 0;\n\n // More magic numbers ahoy:\n // 29 is the desired height of the element (60), minus top and bottom\n // padding (2×15), minus bottom border (1); 19 is the font-size at this\n // point. This gives us the perfect fractional line height to make the\n // overall component 60px high\n line-height: (29 / 19);\n }\n\n &:not(:last-child) {\n @include govuk-responsive-margin(6, $direction: right);\n }\n }\n }\n\n // Remove the top margin of the first nav item if there is a service name but\n // there's no menu button (either because it doesn't exist or it's hidden)\n .govuk-service-navigation__service-name + .govuk-service-navigation__wrapper {\n .govuk-service-navigation__list:first-child,\n .govuk-service-navigation__toggle[hidden] + .govuk-service-navigation__list {\n .govuk-service-navigation__item:first-child {\n margin-top: 0;\n }\n }\n }\n\n .govuk-service-navigation__item--active {\n @media #{govuk-until-breakpoint(tablet)} {\n // Negative offset the left margin so we can place a current page indicator\n // to the left without misaligning the list item text.\n margin-left: ((govuk-spacing(2) + $govuk-service-navigation-active-link-border-width) * -1);\n padding-left: govuk-spacing(2);\n border-left-width: $govuk-service-navigation-active-link-border-width;\n }\n\n @media #{govuk-from-breakpoint(tablet)} {\n @include _govuk-rebrand(\n \"padding-bottom\",\n $from: govuk-spacing(4) - $govuk-service-navigation-active-link-border-width,\n $to: govuk-spacing(3) - $govuk-service-navigation-active-link-border-width\n );\n border-bottom-width: $govuk-service-navigation-active-link-border-width;\n }\n }\n\n .govuk-service-navigation__link {\n @include govuk-link-common;\n @include govuk-link-style-no-underline;\n @include govuk-link-style-no-visited-state;\n\n &:not(:hover):not(:focus) {\n // We set the colour here as we don't want to override the hover or\n // focus colours\n color: $govuk-service-navigation-link-colour;\n }\n }\n\n //\n // Service name specific code\n //\n\n .govuk-service-navigation__service-name {\n @include govuk-font($size: 19, $weight: bold);\n }\n\n // Annoyingly this requires a compound selector in order to overcome the\n // specificity of the other link colour override we're doing\n .govuk-service-navigation__service-name .govuk-service-navigation__link {\n @include govuk-link-style-text;\n }\n\n // Allow navigation section to always take up maximum available space,\n // rather than sizing to fit the content. This makes it easier to right align\n // nav items and use slots.\n .govuk-service-navigation__wrapper {\n flex-grow: 1;\n }\n\n //\n // Navigation list specific code\n //\n\n .govuk-service-navigation__toggle {\n @include govuk-font($size: 19, $weight: bold);\n display: inline-flex;\n margin: govuk-spacing(2) 0;\n padding: 0;\n border: 0;\n color: $govuk-service-navigation-link-colour;\n background: none;\n word-break: break-all;\n cursor: pointer;\n align-items: center;\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 // Ensure the button stays hidden if the hidden attribute is present\n &[hidden] {\n display: none;\n }\n\n // If we have both a service name and navigation toggle, remove the\n // margin-top so that there isn't a bunch of space between them\n .govuk-service-navigation__service-name + .govuk-service-navigation__wrapper & {\n margin-top: 0;\n }\n }\n\n .govuk-service-navigation__list {\n @include govuk-font($size: 19);\n margin: 0;\n margin-bottom: govuk-spacing(3);\n padding: 0;\n list-style: none;\n\n // Make the navigation list a flexbox. Doing so resolves a couple of\n // accessibility problems caused by the list items being inline-blocks:\n // - Removes the extra whitespace from between each list item that screen\n // readers would pointlessly announce.\n // - Fixes an NVDA issue in Firefox and Chrome <= 124 where it would read\n // all of the links as a run-on sentence.\n @media #{govuk-from-breakpoint(tablet)} {\n display: flex;\n flex-wrap: wrap;\n margin-bottom: 0;\n\n // However... IE11 totally trips over flexbox and doesn't wrap anything,\n // making all of the items into a single, horizontally scrolling row,\n // which is no good. This CSS hack removes the flexbox definition for\n // IE 9–11, reverting it to the flawed, but OK, non-flexbox version.\n //\n // CSS hack from http://browserhacks.com/#hack-a60b03e301a67f76a5a22221c739dc64\n @media screen and (min-width: 0\\0) {\n display: block;\n }\n }\n }\n\n // This is a <strong> element that is used as a fallback mechanism for\n // visually indicating the current page in scenarios where CSS isn't\n // available. We don't actually want it to be bold normally, so set it to\n // inherit the parent font-weight.\n .govuk-service-navigation__active-fallback {\n font-weight: inherit;\n }\n\n // Inverted colour scheme style intended for product pages\n .govuk-service-navigation--inverse {\n @include _govuk-rebrand {\n // Remove bottom border to add width-container ones\n border-bottom: none;\n\n // Set colour here so non-link text (service name, slot content) can\n // use it too.\n color: govuk-colour(\"white\");\n\n background-color: $govuk-brand-colour;\n\n .govuk-width-container {\n border-width: 1px 0;\n border-style: solid;\n border-color: $_govuk-rebrand-border-colour-on-blue-tint-95;\n }\n\n // Subtract 1px of space to account for the extra border-top\n .govuk-service-navigation__container {\n margin-top: -1px;\n }\n\n // Override the 'active' border colour\n .govuk-service-navigation__item,\n .govuk-service-navigation__service-name {\n border-color: govuk-colour(\"white\");\n }\n\n // Override link styles\n .govuk-service-navigation__link {\n @include govuk-link-style-inverse;\n }\n\n // Override mobile menu toggle colour when not focused\n .govuk-service-navigation__toggle:not(:focus) {\n color: currentcolor;\n }\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/service-navigation/_index.scss"],"names":[],"mappings":"AAAA;EACE,oEAAoE;EACpE,4EAA4E;EAC5E,iFAAiF;EACjF,gFAAgF;;EAEhF;IACE,8BAA8B;IAC9B,wBAAwB;IACxB,0BAA0B;IAC1B,4DAA4D;IAC5D,4CAA4C;IAC5C,sDAAsD;EACxD;;EAEA;IACE,aAAa;IACb,sBAAsB;IACtB,kBAAkB;;IAElB;MACE,mBAAmB;MACnB,eAAe;IACjB;EACF;;EAEA,sEAAsE;EACtE,qEAAqE;EACrE;;IAEE,kBAAkB;IAClB,0BAA0B;;IAE1B,wEAAwE;IACxE,wDAAwD;IACxD,eAAe;IACf,mBAAmB;IACnB,2CAA2C;;IAE3C;MACE,4EAA4E;MAC5E,qBAAqB;;MAErB,aAAa;MACb,gBAAgB;MAChB,2BAA2B;;MAE3B,0BAA0B;MAC1B,oEAAoE;MACpE,sEAAsE;MACtE,qEAAqE;MACrE,6BAA6B;MAC7B,sBAAsB;;MAEtB;QACE,sDAAsD;MACxD;IACF;EACF;;EAEA,4EAA4E;EAC5E,yEAAyE;EACzE;IACE;;MAEE;QACE,aAAa;MACf;IACF;EACF;;EAEA;IACE;MACE,0EAA0E;MAC1E,qDAAqD;MACrD,2FAA2F;MAC3F,8BAA8B;MAC9B,qEAAqE;IACvE;;IAEA;MACE,qFAAqF;MACrF,uEAAuE;IACzE;EACF;;EAEA;IACE,0BAA0B;IAC1B,sCAAsC;IACtC,0CAA0C;EAC5C;;EAEA,CAAC;EACD,4BAA4B;EAC5B,CAAC;;EAED;IACE,qCAAqC;EACvC;;EAEA,uEAAuE;EACvE,2DAA2D;EAC3D;IACE,8BAA8B;EAChC;;EAEA,qEAAqE;EACrE,4EAA4E;EAC5E,0BAA0B;EAC1B;IACE,YAAY;EACd;;EAEA,CAAC;EACD,+BAA+B;EAC/B,CAAC;;EAED;IACE,6CAA6C;IAC7C,oBAAoB;IACpB,0BAA0B;IAC1B,UAAU;IACV,SAAS;IACT,oCAAoC;IACpC,gBAAgB;IAChB,qBAAqB;IACrB,eAAe;IACf,mBAAmB;;IAEnB;MACE,2BAA2B;IAC7B;;IAEA;MACE,iFAAiF;MACjF,WAAW;MACX,6BAA6B;IAC/B;;IAEA;MACE,+EAA+E;IACjF;;IAEA,mEAAmE;IACnE;MACE,aAAa;IACf;;IAEA,kEAAkE;IAClE,8DAA8D;IAC9D;MACE,aAAa;IACf;EACF;;EAEA;IACE,SAAS;IACT,+BAA+B;IAC/B,UAAU;IACV,gBAAgB;;IAEhB,mEAAmE;IACnE,sEAAsE;IACtE,wEAAwE;IACxE,uCAAuC;IACvC,wEAAwE;IACxE,0CAA0C;IAC1C;MACE,aAAa;MACb,eAAe;MACf,gBAAgB;;MAEhB,uEAAuE;MACvE,oEAAoE;MACpE,oEAAoE;MACpE,mEAAmE;MACnE,CAAC;MACD,8EAA8E;MAC9E;QACE,cAAc;MAChB;IACF;EACF;;EAEA,qEAAqE;EACrE,mEAAmE;EACnE,wEAAwE;EACxE,iCAAiC;EACjC;IACE,oBAAoB;EACtB;;EAEA,yDAAyD;EACzD;IACE,kDAAkD;IAClD,mBAAmB;;IAEnB,mEAAmE;IACnE,aAAa;IACb,4BAA4B;;IAE5B,gDAAgD;;IAEhD;MACE,mBAAmB;MACnB,mBAAmB;MACnB,qDAAqD;IACvD;;IAEA,2DAA2D;IAC3D;MACE,gBAAgB;IAClB;;IAEA,qCAAqC;IACrC;;MAEE,mCAAmC;IACrC;;IAEA,sBAAsB;IACtB;MACE,iCAAiC;IACnC;;IAEA,qDAAqD;IACrD;MACE,mBAAmB;IACrB;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/service-navigation\") {\n $govuk-service-navigation-active-link-border-width: govuk-spacing(1);\n $govuk-service-navigation-text-colour: govuk-functional-colour(surface-text);\n $govuk-service-navigation-background: govuk-functional-colour(surface-background);\n $govuk-service-navigation-border-colour: govuk-functional-colour(surface-border);\n\n .govuk-service-navigation {\n @include govuk-font($size: 19);\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: $govuk-service-navigation-border-colour;\n color: $govuk-service-navigation-text-colour;\n background-color: $govuk-service-navigation-background;\n }\n\n .govuk-service-navigation__container {\n display: flex;\n flex-direction: column;\n align-items: start;\n\n @media #{govuk-from-breakpoint(tablet)} {\n flex-direction: row;\n flex-wrap: wrap;\n }\n }\n\n // These styles are shared between nav items and the service name, they\n // ensure that both of them remain vertically aligned with one another\n .govuk-service-navigation__item,\n .govuk-service-navigation__service-name {\n position: relative;\n margin: govuk-spacing(2) 0;\n\n // A border matching the link colour is used to mark the active section –\n // see the `govuk-service-navigation__item--active` class\n border-width: 0;\n border-style: solid;\n border-color: govuk-functional-colour(link);\n\n @media #{govuk-from-breakpoint(tablet)} {\n // inline-block is used as a fallback for browsers that don't support flexbox\n display: inline-block;\n\n margin-top: 0;\n margin-bottom: 0;\n padding: govuk-spacing(3) 0;\n\n // More magic numbers ahoy:\n // 29 is the desired height of the element (60), minus top and bottom\n // padding (2×15), minus bottom border (1); 19 is the font-size at this\n // point. This gives us the perfect fractional line height to make the\n // overall component 60px high\n line-height: (29 / 19);\n\n &:not(:last-child) {\n @include govuk-responsive-margin(6, $direction: right);\n }\n }\n }\n\n // Remove the top margin of the first nav item if there is a service name but\n // there's no menu button (either because it doesn't exist or it's hidden)\n .govuk-service-navigation__service-name + .govuk-service-navigation__wrapper {\n .govuk-service-navigation__list:first-child,\n .govuk-service-navigation__toggle[hidden] + .govuk-service-navigation__list {\n .govuk-service-navigation__item:first-child {\n margin-top: 0;\n }\n }\n }\n\n .govuk-service-navigation__item--active {\n @media #{govuk-until-breakpoint(tablet)} {\n // Negative offset the left margin so we can place a current page indicator\n // to the left without misaligning the list item text.\n margin-left: ((govuk-spacing(2) + $govuk-service-navigation-active-link-border-width) * -1);\n padding-left: govuk-spacing(2);\n border-left-width: $govuk-service-navigation-active-link-border-width;\n }\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding-bottom: govuk-spacing(3) - $govuk-service-navigation-active-link-border-width;\n border-bottom-width: $govuk-service-navigation-active-link-border-width;\n }\n }\n\n .govuk-service-navigation__link {\n @include govuk-link-common;\n @include govuk-link-style-no-underline;\n @include govuk-link-style-no-visited-state;\n }\n\n //\n // Service name specific code\n //\n\n .govuk-service-navigation__service-name {\n @include govuk-typography-weight-bold;\n }\n\n // Annoyingly this requires a compound selector in order to overcome the\n // specificity of the other link colour override we're doing\n .govuk-service-navigation__service-name .govuk-service-navigation__link {\n @include govuk-link-style-text;\n }\n\n // Allow navigation section to always take up maximum available space,\n // rather than sizing to fit the content. This makes it easier to right align\n // nav items and use slots.\n .govuk-service-navigation__wrapper {\n flex-grow: 1;\n }\n\n //\n // Navigation list specific code\n //\n\n .govuk-service-navigation__toggle {\n @include govuk-font($size: 19, $weight: bold);\n display: inline-flex;\n margin: govuk-spacing(2) 0;\n padding: 0;\n border: 0;\n color: govuk-functional-colour(link);\n background: none;\n word-break: break-all;\n cursor: pointer;\n align-items: center;\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 // Ensure the button stays hidden if the hidden attribute is present\n &[hidden] {\n display: none;\n }\n\n // If we have both a service name and navigation toggle, remove the\n // margin-top so that there isn't a bunch of space between them\n .govuk-service-navigation__service-name + .govuk-service-navigation__wrapper & {\n margin-top: 0;\n }\n }\n\n .govuk-service-navigation__list {\n margin: 0;\n margin-bottom: govuk-spacing(3);\n padding: 0;\n list-style: none;\n\n // Make the navigation list a flexbox. Doing so resolves a couple of\n // accessibility problems caused by the list items being inline-blocks:\n // - Removes the extra whitespace from between each list item that screen\n // readers would pointlessly announce.\n // - Fixes an NVDA issue in Firefox and Chrome <= 124 where it would read\n // all of the links as a run-on sentence.\n @media #{govuk-from-breakpoint(tablet)} {\n display: flex;\n flex-wrap: wrap;\n margin-bottom: 0;\n\n // However... IE11 totally trips over flexbox and doesn't wrap anything,\n // making all of the items into a single, horizontally scrolling row,\n // which is no good. This CSS hack removes the flexbox definition for\n // IE 9–11, reverting it to the flawed, but OK, non-flexbox version.\n //\n // CSS hack from http://browserhacks.com/#hack-a60b03e301a67f76a5a22221c739dc64\n @media screen and (min-width: 0\\0) {\n display: block;\n }\n }\n }\n\n // This is a <strong> element that is used as a fallback mechanism for\n // visually indicating the current page in scenarios where CSS isn't\n // available. We don't actually want it to be bold normally, so set it to\n // inherit the parent font-weight.\n .govuk-service-navigation__active-fallback {\n font-weight: inherit;\n }\n\n // Inverted colour scheme style intended for product pages\n .govuk-service-navigation--inverse {\n // Remove bottom border to add width-container ones\n border-bottom: none;\n\n // Set colour here so non-link text (service name, slot content) can\n // use it too.\n color: govuk-colour(\"white\");\n\n background-color: govuk-functional-colour(brand);\n\n .govuk-width-container {\n border-width: 1px 0;\n border-style: solid;\n border-color: $govuk-service-navigation-border-colour;\n }\n\n // Subtract 1px of space to account for the extra border-top\n .govuk-service-navigation__container {\n margin-top: -1px;\n }\n\n // Override the 'active' border colour\n .govuk-service-navigation__item,\n .govuk-service-navigation__service-name {\n border-color: govuk-colour(\"white\");\n }\n\n // Override link styles\n .govuk-service-navigation__link {\n @include govuk-link-style-inverse;\n }\n\n // Override mobile menu toggle colour when not focused\n .govuk-service-navigation__toggle:not(:focus) {\n color: currentcolor;\n }\n }\n}\n"]}
@@ -247,7 +247,12 @@
247
247
  "hidden": false,
248
248
  "description": "",
249
249
  "pageTemplateOptions": {},
250
- "screenshot": false,
250
+ "screenshot": {
251
+ "variants": [
252
+ "default",
253
+ "no-js"
254
+ ]
255
+ },
251
256
  "html": "<section aria-label=\"Service information\" class=\"govuk-service-navigation\"\ndata-module=\"govuk-service-navigation\"\n>\n <div class=\"govuk-width-container\">\n\n <div class=\"govuk-service-navigation__container\">\n \n <span class=\"govuk-service-navigation__service-name\">\n <a href=\"#/\" class=\"govuk-service-navigation__link\">\n Apply for a juggling license\n </a>\n </span>\n\n \n <nav aria-label=\"Menu\" class=\"govuk-service-navigation__wrapper\">\n <button type=\"button\" class=\"govuk-service-navigation__toggle govuk-js-service-navigation-toggle\" aria-controls=\"navigation\" hidden aria-hidden=\"true\">\n Menu\n </button>\n\n <ul class=\"govuk-service-navigation__list\" id=\"navigation\" >\n\n \n \n <li class=\"govuk-service-navigation__item\">\n <a class=\"govuk-service-navigation__link\" href=\"#/1\">\n \nNavigation item 1\n </a>\n </li>\n\n \n <li class=\"govuk-service-navigation__item govuk-service-navigation__item--active\">\n <a class=\"govuk-service-navigation__link\" href=\"#/2\" aria-current=\"true\">\n \n <strong class=\"govuk-service-navigation__active-fallback\">Navigation item 2</strong>\n\n </a>\n </li>\n\n \n <li class=\"govuk-service-navigation__item\">\n <a class=\"govuk-service-navigation__link\" href=\"#/3\">\n \nNavigation item 3\n </a>\n </li>\n\n \n <li class=\"govuk-service-navigation__item\">\n <a class=\"govuk-service-navigation__link\" href=\"#/4\">\n \nNavigation item 4\n </a>\n </li>\n\n </ul>\n </nav>\n </div>\n\n </div>\n\n </section>"
252
257
  },
253
258
  {
@@ -277,7 +282,7 @@
277
282
  ]
278
283
  },
279
284
  "hidden": false,
280
- "description": "Service navigation that appears between other areas of brand blue. Rebrand only.",
285
+ "description": "Service navigation that appears sandwiched between other areas of brand blue, such as the GOV.UK header and a custom page masthead.",
281
286
  "pageTemplateOptions": {
282
287
  "bodyClasses": "app-template__body--inverse"
283
288
  },
@@ -645,36 +650,6 @@
645
650
  "pageTemplateOptions": {},
646
651
  "screenshot": false,
647
652
  "html": "<section aria-label=\"Service information\" class=\"govuk-service-navigation\"\ndata-module=\"govuk-service-navigation\"\n>\n <div class=\"govuk-width-container\">\n\n <div>[start]</div><div class=\"govuk-service-navigation__container\">\n \n\n \n <nav aria-label=\"Menu\" class=\"govuk-service-navigation__wrapper\">\n\n <ul class=\"govuk-service-navigation__list\" id=\"navigation\" >\n\n <li>[navigation start]</li>\n <li>[navigation end]</li></ul>\n </nav>\n </div>\n\n <div>[end]</div></div>\n\n </section>"
648
- },
649
- {
650
- "name": "rebrand",
651
- "options": {
652
- "navigation": [
653
- {
654
- "href": "#/1",
655
- "text": "Navigation item 1"
656
- },
657
- {
658
- "href": "#/2",
659
- "text": "Navigation item 2"
660
- },
661
- {
662
- "href": "#/3",
663
- "text": "Navigation item 3"
664
- },
665
- {
666
- "href": "#/4",
667
- "text": "Navigation item 4"
668
- }
669
- ]
670
- },
671
- "hidden": true,
672
- "description": "",
673
- "pageTemplateOptions": {
674
- "htmlClasses": "govuk-template--rebranded"
675
- },
676
- "screenshot": true,
677
- "html": "<div class=\"govuk-service-navigation\"\ndata-module=\"govuk-service-navigation\"\n>\n <div class=\"govuk-width-container\">\n\n <div class=\"govuk-service-navigation__container\">\n \n\n \n <nav aria-label=\"Menu\" class=\"govuk-service-navigation__wrapper\">\n <button type=\"button\" class=\"govuk-service-navigation__toggle govuk-js-service-navigation-toggle\" aria-controls=\"navigation\" hidden aria-hidden=\"true\">\n Menu\n </button>\n\n <ul class=\"govuk-service-navigation__list\" id=\"navigation\" >\n\n \n \n <li class=\"govuk-service-navigation__item\">\n <a class=\"govuk-service-navigation__link\" href=\"#/1\">\n \nNavigation item 1\n </a>\n </li>\n\n \n <li class=\"govuk-service-navigation__item\">\n <a class=\"govuk-service-navigation__link\" href=\"#/2\">\n \nNavigation item 2\n </a>\n </li>\n\n \n <li class=\"govuk-service-navigation__item\">\n <a class=\"govuk-service-navigation__link\" href=\"#/3\">\n \nNavigation item 3\n </a>\n </li>\n\n \n <li class=\"govuk-service-navigation__item\">\n <a class=\"govuk-service-navigation__link\" href=\"#/4\">\n \nNavigation item 4\n </a>\n </li>\n\n </ul>\n </nav>\n </div>\n\n </div>\n\n </div>"
678
653
  }
679
654
  ],
680
655
  "previewLayout": "full-width"
@@ -20,9 +20,10 @@
20
20
  }
21
21
 
22
22
  &:focus {
23
- outline: $govuk-focus-width solid $govuk-focus-colour;
23
+ outline: $govuk-focus-width solid;
24
+ outline-color: govuk-functional-colour(focus);
24
25
  outline-offset: 0;
25
- background-color: $govuk-focus-colour;
26
+ background-color: govuk-functional-colour(focus);
26
27
 
27
28
  @media (forced-colors: active) {
28
29
  outline-offset: (0 - $govuk-focus-width);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/skip-link/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,wCAAwC;IACxC,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;;IAE9B,cAAc;IACd,0CAA0C;;IAE1C,yEAAyE;IACzE;MACE,gFAAgF;MAChF,8EAA8E;;MAE9E,8DAA8D;MAC9D,gDAAgD;MAChD,+EAA+E;MAC/E,6EAA6E;IAC/E;;IAEA;MACE,qDAAqD;MACrD,iBAAiB;MACjB,qCAAqC;;MAErC;QACE,wCAAwC;MAC1C;;MAEA,sDAAsD;MACtD;QACE,8BAA8B;QAC9B,gBAAgB;MAClB;IACF;EACF;;EAEA;IACE;MACE,+DAA+D;MAC/D,2BAA2B;MAC3B,CAAC;MACD,oEAAoE;MACpE,mEAAmE;MACnE,wEAAwE;MACxE,0DAA0D;MAC1D,CAAC;MACD,+DAA+D;MAC/D,aAAa;IACf;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/skip-link\") {\n .govuk-skip-link {\n @include govuk-visually-hidden-focusable;\n @include govuk-link-decoration;\n @include govuk-link-style-text;\n @include govuk-font($size: 16);\n\n display: block;\n padding: govuk-spacing(2) govuk-spacing(3);\n\n // Respect 'display cutout' safe area (avoids notches and rounded corners)\n @supports (padding: unquote(\"max(calc(0px))\")) {\n $padding-safe-area-right: calc(#{govuk-spacing(3)} + env(safe-area-inset-right));\n $padding-safe-area-left: calc(#{govuk-spacing(3)} + env(safe-area-inset-left));\n\n // Use max() to pick largest padding, default or with safe area\n // Escaped due to Sass max() vs. CSS native max()\n padding-right: unquote(\"max(#{govuk-spacing(3)}, #{$padding-safe-area-right})\");\n padding-left: unquote(\"max(#{govuk-spacing(3)}, #{$padding-safe-area-left})\");\n }\n\n &:focus {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n outline-offset: 0;\n background-color: $govuk-focus-colour;\n\n @media (forced-colors: active) {\n outline-offset: (0 - $govuk-focus-width);\n }\n\n // Undo unwanted changes when global styles are enabled\n @if $govuk-global-styles {\n @include govuk-link-decoration;\n box-shadow: none;\n }\n }\n }\n\n .govuk-skip-link-focused-element {\n &:focus {\n // Remove the native visible focus indicator when the element is\n // programmatically focused.\n //\n // We set the focus on the linked element (this is usually the <main>\n // element) when the skip link is activated to improve screen reader\n // announcements. However, we remove the visible focus indicator from the\n // linked element because the user cannot interact with it.\n //\n // A related discussion: https://github.com/w3c/wcag/issues/1001\n outline: none;\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/skip-link/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,wCAAwC;IACxC,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;;IAE9B,cAAc;IACd,0CAA0C;;IAE1C,yEAAyE;IACzE;MACE,gFAAgF;MAChF,8EAA8E;;MAE9E,8DAA8D;MAC9D,gDAAgD;MAChD,+EAA+E;MAC/E,6EAA6E;IAC/E;;IAEA;MACE,iCAAiC;MACjC,6CAA6C;MAC7C,iBAAiB;MACjB,gDAAgD;;MAEhD;QACE,wCAAwC;MAC1C;;MAEA,sDAAsD;MACtD;QACE,8BAA8B;QAC9B,gBAAgB;MAClB;IACF;EACF;;EAEA;IACE;MACE,+DAA+D;MAC/D,2BAA2B;MAC3B,CAAC;MACD,oEAAoE;MACpE,mEAAmE;MACnE,wEAAwE;MACxE,0DAA0D;MAC1D,CAAC;MACD,+DAA+D;MAC/D,aAAa;IACf;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/skip-link\") {\n .govuk-skip-link {\n @include govuk-visually-hidden-focusable;\n @include govuk-link-decoration;\n @include govuk-link-style-text;\n @include govuk-font($size: 16);\n\n display: block;\n padding: govuk-spacing(2) govuk-spacing(3);\n\n // Respect 'display cutout' safe area (avoids notches and rounded corners)\n @supports (padding: unquote(\"max(calc(0px))\")) {\n $padding-safe-area-right: calc(#{govuk-spacing(3)} + env(safe-area-inset-right));\n $padding-safe-area-left: calc(#{govuk-spacing(3)} + env(safe-area-inset-left));\n\n // Use max() to pick largest padding, default or with safe area\n // Escaped due to Sass max() vs. CSS native max()\n padding-right: unquote(\"max(#{govuk-spacing(3)}, #{$padding-safe-area-right})\");\n padding-left: unquote(\"max(#{govuk-spacing(3)}, #{$padding-safe-area-left})\");\n }\n\n &:focus {\n outline: $govuk-focus-width solid;\n outline-color: govuk-functional-colour(focus);\n outline-offset: 0;\n background-color: govuk-functional-colour(focus);\n\n @media (forced-colors: active) {\n outline-offset: (0 - $govuk-focus-width);\n }\n\n // Undo unwanted changes when global styles are enabled\n @if $govuk-global-styles {\n @include govuk-link-decoration;\n box-shadow: none;\n }\n }\n }\n\n .govuk-skip-link-focused-element {\n &:focus {\n // Remove the native visible focus indicator when the element is\n // programmatically focused.\n //\n // We set the focus on the linked element (this is usually the <main>\n // element) when the skip link is activated to improve screen reader\n // announcements. However, we remove the visible focus indicator from the\n // linked element because the user cannot interact with it.\n //\n // A related discussion: https://github.com/w3c/wcag/issues/1001\n outline: none;\n }\n }\n}\n"]}
@@ -13,7 +13,8 @@
13
13
  }
14
14
 
15
15
  .govuk-summary-list__row {
16
- border-bottom: 1px solid $govuk-border-colour;
16
+ border-bottom: 1px solid;
17
+ border-bottom-color: govuk-functional-colour(border);
17
18
 
18
19
  @media #{govuk-until-breakpoint(tablet)} {
19
20
  margin-bottom: govuk-spacing(3);
@@ -106,7 +107,8 @@
106
107
  .govuk-summary-card__action {
107
108
  margin-right: govuk-spacing(2);
108
109
  padding-right: govuk-spacing(2);
109
- border-right: 1px solid $govuk-border-colour;
110
+ border-right: 1px solid;
111
+ border-right-color: govuk-functional-colour(border);
110
112
  }
111
113
 
112
114
  .govuk-summary-list__actions-list-item:last-child,
@@ -126,7 +128,8 @@
126
128
 
127
129
  .govuk-summary-list__actions-list-item:not(:first-child),
128
130
  .govuk-summary-card__action:not(:first-child) {
129
- border-left: 1px solid $govuk-border-colour;
131
+ border-left: 1px solid;
132
+ border-left-color: govuk-functional-colour(border);
130
133
  }
131
134
 
132
135
  .govuk-summary-list__actions-list-item:first-child,
@@ -179,7 +182,8 @@
179
182
  // Additional block for the summary card
180
183
  .govuk-summary-card {
181
184
  @include govuk-responsive-margin(6, "bottom");
182
- border: 1px solid $govuk-border-colour;
185
+ border: 1px solid;
186
+ border-color: govuk-functional-colour(border);
183
187
  }
184
188
 
185
189
  .govuk-summary-card__title-wrapper {
@@ -188,7 +192,7 @@
188
192
  // Ensures the card header appears separate to the summary list in forced
189
193
  // colours mode
190
194
  border-bottom: 1px solid transparent;
191
- background-color: govuk-colour("light-grey");
195
+ background-color: govuk-colour("black", $variant: "tint-95");
192
196
 
193
197
  @media #{govuk-from-breakpoint(tablet)} {
194
198
  display: flex;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/summary-list/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B;MACE,cAAc;MACd,WAAW;MACX,mBAAmB,EAAE,mDAAmD;MACxE,yBAAyB;IAC3B;IACA,SAAS,EAAE,iCAAiC;IAC5C,6CAA6C;EAC/C;;EAEA;IACE,6CAA6C;;IAE7C;MACE,+BAA+B;IACjC;IACA;MACE,kBAAkB;IACpB;EACF;;EAEA,sDAAsD;EACtD;IACE,gBAAgB;EAClB;;EAEA,0EAA0E;EAC1E,uEAAuE;EACvE;IACE;MACE;QACE,WAAW;QACX,mBAAmB;QACnB,UAAU;MACZ;IACF;EACF;;EAEA;;;IAGE,SAAS,EAAE,iCAAiC;;IAE5C;MACE,mBAAmB;MACnB,6BAA6B;MAC7B,+BAA+B;MAC/B,gCAAgC;IAClC;EACF;;EAEA;IACE,+BAA+B;IAC/B;MACE,UAAU;MACV,iBAAiB;IACnB;EACF;;EAEA;;IAEE,qDAAqD;IACrD,qBAAqB,EAAE,kCAAkC;IACzD,yBAAyB;EAC3B;;EAEA;IACE,+BAA+B;IAC/B,qCAAqC;IACrC;MACE,UAAU;IACZ;EACF;;EAEA;IACE;MACE,+BAA+B;IACjC;EACF;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,WAAW;IACX,SAAS,EAAE,iCAAiC;IAC5C,UAAU,EAAE,iCAAiC;EAC/C;;EAEA;;IAEE,qBAAqB;EACvB;;EAEA;IACE;;MAEE,8BAA8B;MAC9B,+BAA+B;MAC/B,4CAA4C;IAC9C;;IAEA;;MAEE,eAAe;MACf,gBAAgB;MAChB,SAAS;IACX;EACF;;EAEA;IACE;;MAEE,6BAA6B;MAC7B,8BAA8B;IAChC;;IAEA;;MAEE,2CAA2C;IAC7C;;IAEA;;MAEE,cAAc;MACd,eAAe;MACf,SAAS;IACX;EACF;;EAEA,6EAA6E;EAC7E,wEAAwE;EACxE,4EAA4E;EAC5E,4EAA4E;EAC5E,4CAA4C;EAC5C;IACE,kBAAkB;EACpB;;EAEA,kCAAkC;EAClC;IACE;MACE,SAAS;IACX;;IAEA,4DAA4D;IAC5D;MACE;;;QAGE,sCAAsC;MACxC;IACF;EACF;;EAEA,4BAA4B;EAC5B;IACE,SAAS;;IAET,4DAA4D;IAC5D;MACE;;;QAGE,sCAAsC;MACxC;IACF;EACF;;EAEA,uCAAuC;EACvC;IACE,6CAA6C;IAC7C,sCAAsC;EACxC;;EAEA;IACE,yBAAyB;;IAEzB,wEAAwE;IACxE,cAAc;IACd,oCAAoC;IACpC,4CAA4C;;IAE5C;MACE,aAAa;MACb,8BAA8B;MAC9B,iBAAiB;MACjB,0CAA0C;IAC5C;EACF;;EAEA;IACE,6CAA6C;IAC7C,0BAA0B;IAC1B,4DAA4D;;IAE5D;MACE,+BAA+B;IACjC;EACF;;EAEA;IACE,mCAAmC;IACnC,qCAAqC;IACrC,aAAa;IACb,eAAe;IACf,aAAa;IACb,0BAA0B;IAC1B,UAAU;IACV,gBAAgB;;IAEhB;MACE,sBAAsB;MACtB,iBAAiB;IACnB;EACF;;EAEA;IACE,eAAe;;IAEf,2EAA2E;IAC3E,kBAAkB;IAClB,CAAC;IACD,2EAA2E;IAC3E,6EAA6E;IAC7E,yEAAyE;IACzE,CAAC;IACD,yGAAyG;IACzG,sDAAsD;IACtD;MACE,+BAA+B;IACjC;EACF;;EAEA;IACE,wCAAwC;IACxC;MACE,gBAAgB;IAClB;EACF;;EAEA;IACE,4CAA4C;;IAE5C;MACE,0CAA0C;IAC5C;;IAEA;MACE,gBAAgB;IAClB;;IAEA;MACE,gBAAgB;MAChB,mBAAmB;IACrB;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/summary-list\") {\n .govuk-summary-list {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n @media #{govuk-from-breakpoint(tablet)} {\n display: table;\n width: 100%;\n table-layout: fixed; // Required to allow us to wrap words that overflow.\n border-collapse: collapse;\n }\n margin: 0; // Reset default user agent styles\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-summary-list__row {\n border-bottom: 1px solid $govuk-border-colour;\n\n @media #{govuk-until-breakpoint(tablet)} {\n margin-bottom: govuk-spacing(3);\n }\n @media #{govuk-from-breakpoint(tablet)} {\n display: table-row;\n }\n }\n\n // Remove right padding from the last column in the row\n .govuk-summary-list__row:not(.govuk-summary-list__row--no-actions) > :last-child {\n padding-right: 0;\n }\n\n // Provide an empty 'cell' for rows that don't have actions – otherwise the\n // bottom border is not drawn for that part of the row in some browsers.\n .govuk-summary-list__row--no-actions {\n @media #{govuk-from-breakpoint(tablet)} {\n &::after {\n content: \"\";\n display: table-cell;\n width: 20%;\n }\n }\n }\n\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n margin: 0; // Reset default user agent styles\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: table-cell;\n padding-top: govuk-spacing(2);\n padding-right: govuk-spacing(4);\n padding-bottom: govuk-spacing(2);\n }\n }\n\n .govuk-summary-list__actions {\n margin-bottom: govuk-spacing(3);\n @media #{govuk-from-breakpoint(tablet)} {\n width: 20%;\n text-align: right;\n }\n }\n\n .govuk-summary-list__key,\n .govuk-summary-list__value {\n // Automatic wrapping for unbreakable text (e.g. URLs)\n word-wrap: break-word; // Fallback for older browsers only\n overflow-wrap: break-word;\n }\n\n .govuk-summary-list__key {\n margin-bottom: govuk-spacing(1);\n @include govuk-typography-weight-bold;\n @media #{govuk-from-breakpoint(tablet)} {\n width: 30%;\n }\n }\n\n .govuk-summary-list__value {\n @media #{govuk-until-breakpoint(tablet)} {\n margin-bottom: govuk-spacing(3);\n }\n }\n\n .govuk-summary-list__value > p {\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-summary-list__value > :last-child {\n margin-bottom: 0;\n }\n\n .govuk-summary-list__actions-list {\n width: 100%;\n margin: 0; // Reset default user agent styles\n padding: 0; // Reset default user agent styles\n }\n\n .govuk-summary-list__actions-list-item,\n .govuk-summary-card__action {\n display: inline-block;\n }\n\n @media #{govuk-until-breakpoint(tablet)} {\n .govuk-summary-list__actions-list-item,\n .govuk-summary-card__action {\n margin-right: govuk-spacing(2);\n padding-right: govuk-spacing(2);\n border-right: 1px solid $govuk-border-colour;\n }\n\n .govuk-summary-list__actions-list-item:last-child,\n .govuk-summary-card__action:last-child {\n margin-right: 0;\n padding-right: 0;\n border: 0;\n }\n }\n\n @media #{govuk-from-breakpoint(tablet)} {\n .govuk-summary-list__actions-list-item,\n .govuk-summary-card__action {\n margin-left: govuk-spacing(2);\n padding-left: govuk-spacing(2);\n }\n\n .govuk-summary-list__actions-list-item:not(:first-child),\n .govuk-summary-card__action:not(:first-child) {\n border-left: 1px solid $govuk-border-colour;\n }\n\n .govuk-summary-list__actions-list-item:first-child,\n .govuk-summary-card__action:first-child {\n margin-left: 0;\n padding-left: 0;\n border: 0;\n }\n }\n\n // Large groups of action links may wrap onto multiple lines. Because the link\n // focus styles are applied outside of the link's bounding box, there are\n // situations where the focus style on a link can be overlapped by subsequent\n // links. We don't want this, so let's create a new stacking context on focus\n // so the link always appears to be 'on top'.\n .govuk-summary-list__actions-list-item .govuk-link:focus {\n isolation: isolate;\n }\n\n // No border on entire summary list\n .govuk-summary-list--no-border {\n .govuk-summary-list__row {\n border: 0;\n }\n\n // Increase padding by 1px to compensate for 'missing' border\n @media #{govuk-from-breakpoint(tablet)} {\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n padding-bottom: govuk-spacing(2) + 1px;\n }\n }\n }\n\n // No border on specific rows\n .govuk-summary-list__row--no-border {\n border: 0;\n\n // Increase padding by 1px to compensate for 'missing' border\n @media #{govuk-from-breakpoint(tablet)} {\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n padding-bottom: govuk-spacing(2) + 1px;\n }\n }\n }\n\n // Additional block for the summary card\n .govuk-summary-card {\n @include govuk-responsive-margin(6, \"bottom\");\n border: 1px solid $govuk-border-colour;\n }\n\n .govuk-summary-card__title-wrapper {\n padding: govuk-spacing(3);\n\n // Ensures the card header appears separate to the summary list in forced\n // colours mode\n border-bottom: 1px solid transparent;\n background-color: govuk-colour(\"light-grey\");\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: flex;\n justify-content: space-between;\n flex-wrap: nowrap;\n padding: govuk-spacing(3) govuk-spacing(4);\n }\n }\n\n .govuk-summary-card__title {\n @include govuk-font($size: 19, $weight: bold);\n @include govuk-text-colour;\n margin: govuk-spacing(1) govuk-spacing(4) govuk-spacing(2) 0;\n\n @media #{govuk-from-breakpoint(tablet)} {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n .govuk-summary-card__actions {\n @include govuk-font-size($size: 19);\n @include govuk-typography-weight-bold;\n display: flex;\n flex-wrap: wrap;\n row-gap: 10px;\n margin: govuk-spacing(1) 0;\n padding: 0;\n list-style: none;\n\n @media #{govuk-from-breakpoint(tablet)} {\n justify-content: right;\n text-align: right;\n }\n }\n\n .govuk-summary-card__action {\n display: inline;\n\n // We use the following media query to target IE11 and 10 only to add margin\n // between actions.\n //\n // We do this because we're using row-gap to create space between actions on\n // more evergreen browsers which IE doesn't support. @supports currently isn't\n // a viable solution, see https://github.com/w3c/csswg-drafts/issues/3559.\n //\n // Solution taken from https://stackoverflow.com/questions/11173106/apply-style-only-on-ie#answer-36448860\n // which also includes an explanation of why this works\n @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n .govuk-summary-card__action:last-child {\n // See above comment for why this is here\n @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n margin-bottom: 0;\n }\n }\n\n .govuk-summary-card__content {\n padding: govuk-spacing(3) govuk-spacing(3) 0;\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding: govuk-spacing(3) govuk-spacing(4);\n }\n\n .govuk-summary-list {\n margin-bottom: 0;\n }\n\n .govuk-summary-list__row:last-of-type {\n margin-bottom: 0;\n border-bottom: none;\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/summary-list/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B;MACE,cAAc;MACd,WAAW;MACX,mBAAmB,EAAE,mDAAmD;MACxE,yBAAyB;IAC3B;IACA,SAAS,EAAE,iCAAiC;IAC5C,6CAA6C;EAC/C;;EAEA;IACE,wBAAwB;IACxB,oDAAoD;;IAEpD;MACE,+BAA+B;IACjC;IACA;MACE,kBAAkB;IACpB;EACF;;EAEA,sDAAsD;EACtD;IACE,gBAAgB;EAClB;;EAEA,0EAA0E;EAC1E,uEAAuE;EACvE;IACE;MACE;QACE,WAAW;QACX,mBAAmB;QACnB,UAAU;MACZ;IACF;EACF;;EAEA;;;IAGE,SAAS,EAAE,iCAAiC;;IAE5C;MACE,mBAAmB;MACnB,6BAA6B;MAC7B,+BAA+B;MAC/B,gCAAgC;IAClC;EACF;;EAEA;IACE,+BAA+B;IAC/B;MACE,UAAU;MACV,iBAAiB;IACnB;EACF;;EAEA;;IAEE,qDAAqD;IACrD,qBAAqB,EAAE,kCAAkC;IACzD,yBAAyB;EAC3B;;EAEA;IACE,+BAA+B;IAC/B,qCAAqC;IACrC;MACE,UAAU;IACZ;EACF;;EAEA;IACE;MACE,+BAA+B;IACjC;EACF;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,WAAW;IACX,SAAS,EAAE,iCAAiC;IAC5C,UAAU,EAAE,iCAAiC;EAC/C;;EAEA;;IAEE,qBAAqB;EACvB;;EAEA;IACE;;MAEE,8BAA8B;MAC9B,+BAA+B;MAC/B,uBAAuB;MACvB,mDAAmD;IACrD;;IAEA;;MAEE,eAAe;MACf,gBAAgB;MAChB,SAAS;IACX;EACF;;EAEA;IACE;;MAEE,6BAA6B;MAC7B,8BAA8B;IAChC;;IAEA;;MAEE,sBAAsB;MACtB,kDAAkD;IACpD;;IAEA;;MAEE,cAAc;MACd,eAAe;MACf,SAAS;IACX;EACF;;EAEA,6EAA6E;EAC7E,wEAAwE;EACxE,4EAA4E;EAC5E,4EAA4E;EAC5E,4CAA4C;EAC5C;IACE,kBAAkB;EACpB;;EAEA,kCAAkC;EAClC;IACE;MACE,SAAS;IACX;;IAEA,4DAA4D;IAC5D;MACE;;;QAGE,sCAAsC;MACxC;IACF;EACF;;EAEA,4BAA4B;EAC5B;IACE,SAAS;;IAET,4DAA4D;IAC5D;MACE;;;QAGE,sCAAsC;MACxC;IACF;EACF;;EAEA,uCAAuC;EACvC;IACE,6CAA6C;IAC7C,iBAAiB;IACjB,6CAA6C;EAC/C;;EAEA;IACE,yBAAyB;;IAEzB,wEAAwE;IACxE,cAAc;IACd,oCAAoC;IACpC,4DAA4D;;IAE5D;MACE,aAAa;MACb,8BAA8B;MAC9B,iBAAiB;MACjB,0CAA0C;IAC5C;EACF;;EAEA;IACE,6CAA6C;IAC7C,0BAA0B;IAC1B,4DAA4D;;IAE5D;MACE,+BAA+B;IACjC;EACF;;EAEA;IACE,mCAAmC;IACnC,qCAAqC;IACrC,aAAa;IACb,eAAe;IACf,aAAa;IACb,0BAA0B;IAC1B,UAAU;IACV,gBAAgB;;IAEhB;MACE,sBAAsB;MACtB,iBAAiB;IACnB;EACF;;EAEA;IACE,eAAe;;IAEf,2EAA2E;IAC3E,kBAAkB;IAClB,CAAC;IACD,2EAA2E;IAC3E,6EAA6E;IAC7E,yEAAyE;IACzE,CAAC;IACD,yGAAyG;IACzG,sDAAsD;IACtD;MACE,+BAA+B;IACjC;EACF;;EAEA;IACE,wCAAwC;IACxC;MACE,gBAAgB;IAClB;EACF;;EAEA;IACE,4CAA4C;;IAE5C;MACE,0CAA0C;IAC5C;;IAEA;MACE,gBAAgB;IAClB;;IAEA;MACE,gBAAgB;MAChB,mBAAmB;IACrB;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/summary-list\") {\n .govuk-summary-list {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n @media #{govuk-from-breakpoint(tablet)} {\n display: table;\n width: 100%;\n table-layout: fixed; // Required to allow us to wrap words that overflow.\n border-collapse: collapse;\n }\n margin: 0; // Reset default user agent styles\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-summary-list__row {\n border-bottom: 1px solid;\n border-bottom-color: govuk-functional-colour(border);\n\n @media #{govuk-until-breakpoint(tablet)} {\n margin-bottom: govuk-spacing(3);\n }\n @media #{govuk-from-breakpoint(tablet)} {\n display: table-row;\n }\n }\n\n // Remove right padding from the last column in the row\n .govuk-summary-list__row:not(.govuk-summary-list__row--no-actions) > :last-child {\n padding-right: 0;\n }\n\n // Provide an empty 'cell' for rows that don't have actions – otherwise the\n // bottom border is not drawn for that part of the row in some browsers.\n .govuk-summary-list__row--no-actions {\n @media #{govuk-from-breakpoint(tablet)} {\n &::after {\n content: \"\";\n display: table-cell;\n width: 20%;\n }\n }\n }\n\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n margin: 0; // Reset default user agent styles\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: table-cell;\n padding-top: govuk-spacing(2);\n padding-right: govuk-spacing(4);\n padding-bottom: govuk-spacing(2);\n }\n }\n\n .govuk-summary-list__actions {\n margin-bottom: govuk-spacing(3);\n @media #{govuk-from-breakpoint(tablet)} {\n width: 20%;\n text-align: right;\n }\n }\n\n .govuk-summary-list__key,\n .govuk-summary-list__value {\n // Automatic wrapping for unbreakable text (e.g. URLs)\n word-wrap: break-word; // Fallback for older browsers only\n overflow-wrap: break-word;\n }\n\n .govuk-summary-list__key {\n margin-bottom: govuk-spacing(1);\n @include govuk-typography-weight-bold;\n @media #{govuk-from-breakpoint(tablet)} {\n width: 30%;\n }\n }\n\n .govuk-summary-list__value {\n @media #{govuk-until-breakpoint(tablet)} {\n margin-bottom: govuk-spacing(3);\n }\n }\n\n .govuk-summary-list__value > p {\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-summary-list__value > :last-child {\n margin-bottom: 0;\n }\n\n .govuk-summary-list__actions-list {\n width: 100%;\n margin: 0; // Reset default user agent styles\n padding: 0; // Reset default user agent styles\n }\n\n .govuk-summary-list__actions-list-item,\n .govuk-summary-card__action {\n display: inline-block;\n }\n\n @media #{govuk-until-breakpoint(tablet)} {\n .govuk-summary-list__actions-list-item,\n .govuk-summary-card__action {\n margin-right: govuk-spacing(2);\n padding-right: govuk-spacing(2);\n border-right: 1px solid;\n border-right-color: govuk-functional-colour(border);\n }\n\n .govuk-summary-list__actions-list-item:last-child,\n .govuk-summary-card__action:last-child {\n margin-right: 0;\n padding-right: 0;\n border: 0;\n }\n }\n\n @media #{govuk-from-breakpoint(tablet)} {\n .govuk-summary-list__actions-list-item,\n .govuk-summary-card__action {\n margin-left: govuk-spacing(2);\n padding-left: govuk-spacing(2);\n }\n\n .govuk-summary-list__actions-list-item:not(:first-child),\n .govuk-summary-card__action:not(:first-child) {\n border-left: 1px solid;\n border-left-color: govuk-functional-colour(border);\n }\n\n .govuk-summary-list__actions-list-item:first-child,\n .govuk-summary-card__action:first-child {\n margin-left: 0;\n padding-left: 0;\n border: 0;\n }\n }\n\n // Large groups of action links may wrap onto multiple lines. Because the link\n // focus styles are applied outside of the link's bounding box, there are\n // situations where the focus style on a link can be overlapped by subsequent\n // links. We don't want this, so let's create a new stacking context on focus\n // so the link always appears to be 'on top'.\n .govuk-summary-list__actions-list-item .govuk-link:focus {\n isolation: isolate;\n }\n\n // No border on entire summary list\n .govuk-summary-list--no-border {\n .govuk-summary-list__row {\n border: 0;\n }\n\n // Increase padding by 1px to compensate for 'missing' border\n @media #{govuk-from-breakpoint(tablet)} {\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n padding-bottom: govuk-spacing(2) + 1px;\n }\n }\n }\n\n // No border on specific rows\n .govuk-summary-list__row--no-border {\n border: 0;\n\n // Increase padding by 1px to compensate for 'missing' border\n @media #{govuk-from-breakpoint(tablet)} {\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n padding-bottom: govuk-spacing(2) + 1px;\n }\n }\n }\n\n // Additional block for the summary card\n .govuk-summary-card {\n @include govuk-responsive-margin(6, \"bottom\");\n border: 1px solid;\n border-color: govuk-functional-colour(border);\n }\n\n .govuk-summary-card__title-wrapper {\n padding: govuk-spacing(3);\n\n // Ensures the card header appears separate to the summary list in forced\n // colours mode\n border-bottom: 1px solid transparent;\n background-color: govuk-colour(\"black\", $variant: \"tint-95\");\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: flex;\n justify-content: space-between;\n flex-wrap: nowrap;\n padding: govuk-spacing(3) govuk-spacing(4);\n }\n }\n\n .govuk-summary-card__title {\n @include govuk-font($size: 19, $weight: bold);\n @include govuk-text-colour;\n margin: govuk-spacing(1) govuk-spacing(4) govuk-spacing(2) 0;\n\n @media #{govuk-from-breakpoint(tablet)} {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n .govuk-summary-card__actions {\n @include govuk-font-size($size: 19);\n @include govuk-typography-weight-bold;\n display: flex;\n flex-wrap: wrap;\n row-gap: 10px;\n margin: govuk-spacing(1) 0;\n padding: 0;\n list-style: none;\n\n @media #{govuk-from-breakpoint(tablet)} {\n justify-content: right;\n text-align: right;\n }\n }\n\n .govuk-summary-card__action {\n display: inline;\n\n // We use the following media query to target IE11 and 10 only to add margin\n // between actions.\n //\n // We do this because we're using row-gap to create space between actions on\n // more evergreen browsers which IE doesn't support. @supports currently isn't\n // a viable solution, see https://github.com/w3c/csswg-drafts/issues/3559.\n //\n // Solution taken from https://stackoverflow.com/questions/11173106/apply-style-only-on-ie#answer-36448860\n // which also includes an explanation of why this works\n @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n .govuk-summary-card__action:last-child {\n // See above comment for why this is here\n @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n margin-bottom: 0;\n }\n }\n\n .govuk-summary-card__content {\n padding: govuk-spacing(3) govuk-spacing(3) 0;\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding: govuk-spacing(3) govuk-spacing(4);\n }\n\n .govuk-summary-list {\n margin-bottom: 0;\n }\n\n .govuk-summary-list__row:last-of-type {\n margin-bottom: 0;\n border-bottom: none;\n }\n }\n}\n"]}
@@ -9,13 +9,11 @@
9
9
  border-collapse: collapse;
10
10
  }
11
11
 
12
- @if $govuk-new-typography-scale {
13
- // Modifier for tables with a lot of data. Tables with lots of data benefit
14
- // from a smaller font size on small screens.
15
- .govuk-table--small-text-until-tablet {
16
- @media #{govuk-until-breakpoint(tablet)} {
17
- @include govuk-font-size($size: 16);
18
- }
12
+ // Modifier for tables with a lot of data. Tables with lots of data benefit
13
+ // from a smaller font size on small screens.
14
+ .govuk-table--small-text-until-tablet {
15
+ @media #{govuk-until-breakpoint(tablet)} {
16
+ @include govuk-font-size($size: 16);
19
17
  }
20
18
  }
21
19
 
@@ -26,7 +24,8 @@
26
24
  .govuk-table__header,
27
25
  .govuk-table__cell {
28
26
  padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 0;
29
- border-bottom: 1px solid $govuk-border-colour;
27
+ border-bottom: 1px solid;
28
+ border-bottom-color: govuk-functional-colour(border);
30
29
  text-align: left;
31
30
  vertical-align: top;
32
31
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/table/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,WAAW;IACX,6CAA6C;;IAE7C,iBAAiB;IACjB,yBAAyB;EAC3B;;EAEA;IACE,0EAA0E;IAC1E,4CAA4C;IAC5C;MACE;QACE,mCAAmC;MACrC;IACF;EACF;;EAEA;IACE,qCAAqC;EACvC;;EAEA;;IAEE,6DAA6D;IAC7D,6CAA6C;IAC7C,gBAAgB;IAChB,mBAAmB;EACrB;;EAEA;IACE,mCAAmC;EACrC;;EAEA;;IAEE,iBAAiB;EACnB;;EAEA;;IAEE,gBAAgB;EAClB;;EAEA;IACE,qCAAqC;;IAErC,sBAAsB;IACtB,gBAAgB;EAClB;;EAEA,uEAAuE;EACvE;;;IAGE,+BAA+B;EACjC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/table\") {\n .govuk-table {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n width: 100%;\n @include govuk-responsive-margin(6, \"bottom\");\n\n border-spacing: 0;\n border-collapse: collapse;\n }\n\n @if $govuk-new-typography-scale {\n // Modifier for tables with a lot of data. Tables with lots of data benefit\n // from a smaller font size on small screens.\n .govuk-table--small-text-until-tablet {\n @media #{govuk-until-breakpoint(tablet)} {\n @include govuk-font-size($size: 16);\n }\n }\n }\n\n .govuk-table__header {\n @include govuk-typography-weight-bold;\n }\n\n .govuk-table__header,\n .govuk-table__cell {\n padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 0;\n border-bottom: 1px solid $govuk-border-colour;\n text-align: left;\n vertical-align: top;\n }\n\n .govuk-table__cell--numeric {\n @include govuk-font-tabular-numbers;\n }\n\n .govuk-table__header--numeric,\n .govuk-table__cell--numeric {\n text-align: right;\n }\n\n .govuk-table__header:last-child,\n .govuk-table__cell:last-child {\n padding-right: 0;\n }\n\n .govuk-table__caption {\n @include govuk-typography-weight-bold;\n\n display: table-caption;\n text-align: left;\n }\n\n // Modifiers that make captions look more like their equivalent headings\n .govuk-table__caption--xl,\n .govuk-table__caption--l,\n .govuk-table__caption--m {\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-table__caption--xl {\n @include govuk-font-size($size: 48);\n }\n\n .govuk-table__caption--l {\n @include govuk-font-size($size: 36);\n }\n\n .govuk-table__caption--m {\n @include govuk-font-size($size: 24);\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/table/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,WAAW;IACX,6CAA6C;;IAE7C,iBAAiB;IACjB,yBAAyB;EAC3B;;EAEA,0EAA0E;EAC1E,4CAA4C;EAC5C;IACE;MACE,mCAAmC;IACrC;EACF;;EAEA;IACE,qCAAqC;EACvC;;EAEA;;IAEE,6DAA6D;IAC7D,wBAAwB;IACxB,oDAAoD;IACpD,gBAAgB;IAChB,mBAAmB;EACrB;;EAEA;IACE,mCAAmC;EACrC;;EAEA;;IAEE,iBAAiB;EACnB;;EAEA;;IAEE,gBAAgB;EAClB;;EAEA;IACE,qCAAqC;;IAErC,sBAAsB;IACtB,gBAAgB;EAClB;;EAEA,uEAAuE;EACvE;;;IAGE,+BAA+B;EACjC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/table\") {\n .govuk-table {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n width: 100%;\n @include govuk-responsive-margin(6, \"bottom\");\n\n border-spacing: 0;\n border-collapse: collapse;\n }\n\n // Modifier for tables with a lot of data. Tables with lots of data benefit\n // from a smaller font size on small screens.\n .govuk-table--small-text-until-tablet {\n @media #{govuk-until-breakpoint(tablet)} {\n @include govuk-font-size($size: 16);\n }\n }\n\n .govuk-table__header {\n @include govuk-typography-weight-bold;\n }\n\n .govuk-table__header,\n .govuk-table__cell {\n padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 0;\n border-bottom: 1px solid;\n border-bottom-color: govuk-functional-colour(border);\n text-align: left;\n vertical-align: top;\n }\n\n .govuk-table__cell--numeric {\n @include govuk-font-tabular-numbers;\n }\n\n .govuk-table__header--numeric,\n .govuk-table__cell--numeric {\n text-align: right;\n }\n\n .govuk-table__header:last-child,\n .govuk-table__cell:last-child {\n padding-right: 0;\n }\n\n .govuk-table__caption {\n @include govuk-typography-weight-bold;\n\n display: table-caption;\n text-align: left;\n }\n\n // Modifiers that make captions look more like their equivalent headings\n .govuk-table__caption--xl,\n .govuk-table__caption--l,\n .govuk-table__caption--m {\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-table__caption--xl {\n @include govuk-font-size($size: 48);\n }\n\n .govuk-table__caption--l {\n @include govuk-font-size($size: 36);\n }\n\n .govuk-table__caption--m {\n @include govuk-font-size($size: 24);\n }\n}\n"]}
@@ -50,7 +50,8 @@
50
50
  .govuk-tabs__list {
51
51
  @include govuk-clearfix;
52
52
  margin-bottom: 0;
53
- border-bottom: 1px solid $govuk-border-colour;
53
+ border-bottom: 1px solid;
54
+ border-bottom-color: govuk-functional-colour(border);
54
55
  }
55
56
 
56
57
  .govuk-tabs__title {
@@ -66,7 +67,7 @@
66
67
  padding: govuk-spacing(2) govuk-spacing(4);
67
68
 
68
69
  float: left;
69
- background-color: govuk-colour("light-grey");
70
+ background-color: govuk-colour("black", $variant: "tint-95");
70
71
  text-align: center;
71
72
 
72
73
  &::before {
@@ -88,10 +89,11 @@
88
89
  padding-bottom: govuk-spacing(3) + $border-width;
89
90
  padding-left: govuk-spacing(4) - $border-width;
90
91
 
91
- border: $border-width solid $govuk-border-colour;
92
+ border: $border-width solid;
92
93
  border-bottom: 0;
94
+ border-color: govuk-functional-colour(border);
93
95
 
94
- background-color: $govuk-body-background-colour;
96
+ background-color: govuk-functional-colour(body-background);
95
97
 
96
98
  .govuk-tabs__tab {
97
99
  text-decoration: none;
@@ -116,8 +118,9 @@
116
118
  .govuk-tabs__panel {
117
119
  @include govuk-responsive-margin(0, "bottom");
118
120
  padding: govuk-spacing(6) govuk-spacing(4);
119
- border: 1px solid $govuk-border-colour;
121
+ border: 1px solid;
120
122
  border-top: 0;
123
+ border-color: govuk-functional-colour(border);
121
124
 
122
125
  & > :last-child {
123
126
  margin-bottom: 0;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/tabs/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,0CAA0C;IAC1C,6CAA6C;IAC7C,8BAA8B;EAChC;;EAEA;IACE,yEAAyE;IACzE,wDAAwD;IACxD,mCAAmC;IACnC,wCAAwC;IACxC,0BAA0B;IAC1B,+BAA+B;EACjC;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;IAChB,6CAA6C;EAC/C;;EAEA;IACE,6BAA6B;;IAE7B;MACE,0BAA0B;MAC1B,iBAAiB,EAAE,MAAM;MACzB,8BAA8B;MAC9B,+BAA+B;IACjC;EACF;;EAEA;IACE,0BAA0B;IAC1B,iCAAiC;;IAEjC,qBAAqB;IACrB,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;EAC/C;;EAEA,oCAAoC;EACpC;IACE;MACE;QACE,uBAAuB;QACvB,gBAAgB;QAChB,6CAA6C;MAC/C;;MAEA;QACE,aAAa;MACf;;MAEA;QACE,kBAAkB;;QAElB,8BAA8B;QAC9B,gBAAgB;QAChB,cAAc;QACd,0CAA0C;;QAE1C,WAAW;QACX,4CAA4C;QAC5C,kBAAkB;;QAElB;UACE,aAAa;QACf;MACF;;MAEA;QACE,kBAAkB;;QAElB,kBAAkB;;QAElB,6BAA6B;;QAE7B,oDAAoD;QACpD,6BAA6B;QAC7B,6CAA6C;QAC7C,+CAA+C;QAC/C,gDAAgD;QAChD,8CAA8C;;QAE9C,gDAAgD;QAChD,gBAAgB;;QAEhB,+CAA+C;;QAE/C;UACE,qBAAqB;QACvB;MACF;;MAEA;QACE,8BAA8B;;QAE9B,gBAAgB;;QAEhB;UACE,WAAW;UACX,kBAAkB;UAClB,MAAM;UACN,QAAQ;UACR,SAAS;UACT,OAAO;QACT;MACF;;MAEA;QACE,6CAA6C;QAC7C,0CAA0C;QAC1C,sCAAsC;QACtC,aAAa;;QAEb;UACE,gBAAgB;QAClB;MACF;;MAEA;QACE,aAAa;MACf;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/tabs\") {\n .govuk-tabs {\n @include govuk-responsive-margin(1, \"top\");\n @include govuk-responsive-margin(6, \"bottom\");\n @include govuk-font($size: 19);\n }\n\n .govuk-tabs__title {\n // Set the size and weight again because this element is a heading and the\n // user agent font size overrides the inherited font size\n @include govuk-font-size($size: 19);\n @include govuk-typography-weight-regular;\n @include govuk-text-colour;\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-tabs__list {\n margin: 0;\n padding: 0;\n list-style: none;\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-tabs__list-item {\n margin-left: govuk-spacing(5);\n\n &::before {\n @include govuk-text-colour;\n content: \"\\2014 \"; // \"— \"\n margin-left: govuk-spacing(-5);\n padding-right: govuk-spacing(1);\n }\n }\n\n .govuk-tabs__tab {\n @include govuk-link-common;\n @include govuk-link-style-default;\n\n display: inline-block;\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-tabs__panel {\n @include govuk-responsive-margin(8, \"bottom\");\n }\n\n // GOV.UK Frontend JavaScript enabled\n .govuk-frontend-supported {\n @media #{govuk-from-breakpoint(tablet)} {\n .govuk-tabs__list {\n @include govuk-clearfix;\n margin-bottom: 0;\n border-bottom: 1px solid $govuk-border-colour;\n }\n\n .govuk-tabs__title {\n display: none;\n }\n\n .govuk-tabs__list-item {\n position: relative;\n\n margin-right: govuk-spacing(1);\n margin-bottom: 0;\n margin-left: 0;\n padding: govuk-spacing(2) govuk-spacing(4);\n\n float: left;\n background-color: govuk-colour(\"light-grey\");\n text-align: center;\n\n &::before {\n content: none;\n }\n }\n\n .govuk-tabs__list-item--selected {\n $border-width: 1px;\n\n position: relative;\n\n margin-top: govuk-spacing(-1);\n\n // Compensation for border (otherwise we get a shift)\n margin-bottom: -$border-width;\n padding-top: govuk-spacing(3) - $border-width;\n padding-right: govuk-spacing(4) - $border-width;\n padding-bottom: govuk-spacing(3) + $border-width;\n padding-left: govuk-spacing(4) - $border-width;\n\n border: $border-width solid $govuk-border-colour;\n border-bottom: 0;\n\n background-color: $govuk-body-background-colour;\n\n .govuk-tabs__tab {\n text-decoration: none;\n }\n }\n\n .govuk-tabs__tab {\n @include govuk-link-style-text;\n\n margin-bottom: 0;\n\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n .govuk-tabs__panel {\n @include govuk-responsive-margin(0, \"bottom\");\n padding: govuk-spacing(6) govuk-spacing(4);\n border: 1px solid $govuk-border-colour;\n border-top: 0;\n\n & > :last-child {\n margin-bottom: 0;\n }\n }\n\n .govuk-tabs__panel--hidden {\n display: none;\n }\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/tabs/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,0CAA0C;IAC1C,6CAA6C;IAC7C,8BAA8B;EAChC;;EAEA;IACE,yEAAyE;IACzE,wDAAwD;IACxD,mCAAmC;IACnC,wCAAwC;IACxC,0BAA0B;IAC1B,+BAA+B;EACjC;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;IAChB,6CAA6C;EAC/C;;EAEA;IACE,6BAA6B;;IAE7B;MACE,0BAA0B;MAC1B,iBAAiB,EAAE,MAAM;MACzB,8BAA8B;MAC9B,+BAA+B;IACjC;EACF;;EAEA;IACE,0BAA0B;IAC1B,iCAAiC;;IAEjC,qBAAqB;IACrB,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;EAC/C;;EAEA,oCAAoC;EACpC;IACE;MACE;QACE,uBAAuB;QACvB,gBAAgB;QAChB,wBAAwB;QACxB,oDAAoD;MACtD;;MAEA;QACE,aAAa;MACf;;MAEA;QACE,kBAAkB;;QAElB,8BAA8B;QAC9B,gBAAgB;QAChB,cAAc;QACd,0CAA0C;;QAE1C,WAAW;QACX,4DAA4D;QAC5D,kBAAkB;;QAElB;UACE,aAAa;QACf;MACF;;MAEA;QACE,kBAAkB;;QAElB,kBAAkB;;QAElB,6BAA6B;;QAE7B,oDAAoD;QACpD,6BAA6B;QAC7B,6CAA6C;QAC7C,+CAA+C;QAC/C,gDAAgD;QAChD,8CAA8C;;QAE9C,2BAA2B;QAC3B,gBAAgB;QAChB,6CAA6C;;QAE7C,0DAA0D;;QAE1D;UACE,qBAAqB;QACvB;MACF;;MAEA;QACE,8BAA8B;;QAE9B,gBAAgB;;QAEhB;UACE,WAAW;UACX,kBAAkB;UAClB,MAAM;UACN,QAAQ;UACR,SAAS;UACT,OAAO;QACT;MACF;;MAEA;QACE,6CAA6C;QAC7C,0CAA0C;QAC1C,iBAAiB;QACjB,aAAa;QACb,6CAA6C;;QAE7C;UACE,gBAAgB;QAClB;MACF;;MAEA;QACE,aAAa;MACf;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/tabs\") {\n .govuk-tabs {\n @include govuk-responsive-margin(1, \"top\");\n @include govuk-responsive-margin(6, \"bottom\");\n @include govuk-font($size: 19);\n }\n\n .govuk-tabs__title {\n // Set the size and weight again because this element is a heading and the\n // user agent font size overrides the inherited font size\n @include govuk-font-size($size: 19);\n @include govuk-typography-weight-regular;\n @include govuk-text-colour;\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-tabs__list {\n margin: 0;\n padding: 0;\n list-style: none;\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-tabs__list-item {\n margin-left: govuk-spacing(5);\n\n &::before {\n @include govuk-text-colour;\n content: \"\\2014 \"; // \"— \"\n margin-left: govuk-spacing(-5);\n padding-right: govuk-spacing(1);\n }\n }\n\n .govuk-tabs__tab {\n @include govuk-link-common;\n @include govuk-link-style-default;\n\n display: inline-block;\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-tabs__panel {\n @include govuk-responsive-margin(8, \"bottom\");\n }\n\n // GOV.UK Frontend JavaScript enabled\n .govuk-frontend-supported {\n @media #{govuk-from-breakpoint(tablet)} {\n .govuk-tabs__list {\n @include govuk-clearfix;\n margin-bottom: 0;\n border-bottom: 1px solid;\n border-bottom-color: govuk-functional-colour(border);\n }\n\n .govuk-tabs__title {\n display: none;\n }\n\n .govuk-tabs__list-item {\n position: relative;\n\n margin-right: govuk-spacing(1);\n margin-bottom: 0;\n margin-left: 0;\n padding: govuk-spacing(2) govuk-spacing(4);\n\n float: left;\n background-color: govuk-colour(\"black\", $variant: \"tint-95\");\n text-align: center;\n\n &::before {\n content: none;\n }\n }\n\n .govuk-tabs__list-item--selected {\n $border-width: 1px;\n\n position: relative;\n\n margin-top: govuk-spacing(-1);\n\n // Compensation for border (otherwise we get a shift)\n margin-bottom: -$border-width;\n padding-top: govuk-spacing(3) - $border-width;\n padding-right: govuk-spacing(4) - $border-width;\n padding-bottom: govuk-spacing(3) + $border-width;\n padding-left: govuk-spacing(4) - $border-width;\n\n border: $border-width solid;\n border-bottom: 0;\n border-color: govuk-functional-colour(border);\n\n background-color: govuk-functional-colour(body-background);\n\n .govuk-tabs__tab {\n text-decoration: none;\n }\n }\n\n .govuk-tabs__tab {\n @include govuk-link-style-text;\n\n margin-bottom: 0;\n\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n .govuk-tabs__panel {\n @include govuk-responsive-margin(0, \"bottom\");\n padding: govuk-spacing(6) govuk-spacing(4);\n border: 1px solid;\n border-top: 0;\n border-color: govuk-functional-colour(border);\n\n & > :last-child {\n margin-bottom: 0;\n }\n }\n\n .govuk-tabs__panel--hidden {\n display: none;\n }\n }\n }\n}\n"]}