design_system 0.11.0 → 0.12.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 (292) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/components/_index.scss +36 -20
  3. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/action-link/_action-link.scss +3 -0
  4. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/action-link/_index.scss +84 -0
  5. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/back-link/_back-link.scss +3 -0
  6. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/back-link/_index.scss +56 -0
  7. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/breadcrumb/_breadcrumb.scss +3 -0
  8. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/breadcrumb/_index.scss +103 -0
  9. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/button/_button.scss +3 -0
  10. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/button/_index.scss +207 -0
  11. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/card/_card.scss +3 -0
  12. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/card/_index.scss +526 -0
  13. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/character-count/_character-count.scss +3 -0
  14. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/character-count/_index.scss +54 -0
  15. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/checkboxes/_checkboxes.scss +3 -0
  16. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/checkboxes/_index.scss +337 -0
  17. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/contents-list/_contents-list.scss +3 -0
  18. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/contents-list/_index.scss +32 -0
  19. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/date-input/_date-input.scss +3 -0
  20. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/date-input/_index.scss +40 -0
  21. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/details/_details.scss +3 -0
  22. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/details/_index.scss +374 -0
  23. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/do-dont-list/_do-dont-list.scss +3 -0
  24. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/do-dont-list/_index.scss +37 -0
  25. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-message/_error-message.scss +3 -0
  26. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-message/_index.scss +22 -0
  27. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-summary/_error-summary.scss +3 -0
  28. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-summary/_index.scss +75 -0
  29. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/fieldset/_fieldset.scss +3 -0
  30. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/fieldset/_index.scss +81 -0
  31. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/file-upload/_file-upload.scss +3 -0
  32. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/file-upload/_index.scss +251 -0
  33. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/footer/_footer.scss +3 -0
  34. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/footer/_index.scss +64 -0
  35. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/header/_header.scss +3 -0
  36. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/header/_index.scss +783 -0
  37. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hero/_hero.scss +3 -0
  38. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hero/_index.scss +205 -0
  39. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hint/_hint.scss +3 -0
  40. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hint/_index.scss +53 -0
  41. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/images/_images.scss +3 -0
  42. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/images/_index.scss +53 -0
  43. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/input/_index.scss +184 -0
  44. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/input/_input.scss +3 -0
  45. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/inset-text/_index.scss +34 -0
  46. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/inset-text/_inset-text.scss +3 -0
  47. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/label/_index.scss +53 -0
  48. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/label/_label.scss +3 -0
  49. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/notification-banner/_index.scss +100 -0
  50. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/notification-banner/_notification-banner.scss +3 -0
  51. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/pagination/_index.scss +261 -0
  52. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/pagination/_pagination.scss +3 -0
  53. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/panel/_index.scss +99 -0
  54. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/panel/_panel.scss +3 -0
  55. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/password-input/_index.scss +37 -0
  56. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/password-input/_password-input.scss +3 -0
  57. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/radios/_index.scss +354 -0
  58. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/radios/_radios.scss +3 -0
  59. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/select/_index.scss +63 -0
  60. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/select/_select.scss +3 -0
  61. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/skip-link/_index.scss +48 -0
  62. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/skip-link/_skip-link.scss +3 -0
  63. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/summary-list/_index.scss +215 -0
  64. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/summary-list/_summary-list.scss +3 -0
  65. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tables/_index.scss +205 -0
  66. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tables/_tables.scss +3 -0
  67. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tabs/_index.scss +138 -0
  68. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tabs/_tabs.scss +3 -0
  69. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tag/_index.scss +101 -0
  70. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tag/_tag.scss +3 -0
  71. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/task-list/_index.scss +111 -0
  72. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/task-list/_task-list.scss +3 -0
  73. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/textarea/_index.scss +52 -0
  74. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/textarea/_textarea.scss +3 -0
  75. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/warning-callout/_index.scss +22 -0
  76. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/warning-callout/_warning-callout.scss +3 -0
  77. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/_index.scss +4 -0
  78. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/_nhsuk-frontend-properties.scss +28 -0
  79. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/all.scss +3 -1
  80. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_forms.scss +4 -2
  81. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_index.scss +2 -0
  82. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_links.scss +3 -2
  83. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/elements/_page.scss +66 -0
  84. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_table.scss +6 -5
  85. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_box-sizing.scss +2 -4
  86. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_font-face.scss +29 -15
  87. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_index.scss +2 -0
  88. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/helpers/_colour.scss +106 -0
  89. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/helpers/_index.scss +7 -0
  90. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_button-group.scss +124 -0
  91. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_form-group.scss +47 -0
  92. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/objects/_grid.scss +5 -3
  93. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/objects/_index.scss +4 -0
  94. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_input-wrapper.scss +81 -0
  95. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_main-wrapper.scss +66 -0
  96. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_width-container.scss +98 -0
  97. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_all.scss +3 -1
  98. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_breakpoints.scss +35 -0
  99. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-applied.scss +326 -0
  100. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-deprecated.scss +116 -0
  101. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-palette.scss +41 -0
  102. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours.scss +12 -0
  103. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_globals.scss +214 -0
  104. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_index.scss +5 -1
  105. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_spacing.scss +3 -3
  106. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_typography.scss +15 -34
  107. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_warnings.scss +11 -5
  108. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/styles/_icons.scss +45 -0
  109. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_index.scss +2 -0
  110. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_lists.scss +15 -10
  111. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_section-break.scss +4 -2
  112. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_typography.scss +34 -39
  113. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_all.scss +3 -1
  114. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_buttons.scss +85 -0
  115. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_exports.scss +1 -11
  116. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_focused.scss +134 -0
  117. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_functions.scss +81 -0
  118. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_grid.scss +74 -0
  119. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_index.scss +5 -1
  120. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_links.scss +234 -0
  121. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_mixins.scss +168 -118
  122. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_sass-mq.scss +9 -11
  123. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_shape-arrow.scss +14 -20
  124. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_shape-chevron.scss +65 -0
  125. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_shape-dash.scss +31 -0
  126. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_spacing.scss +25 -14
  127. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_typography.scss +71 -25
  128. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_clearfix.scss +2 -0
  129. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_display.scss +2 -0
  130. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_float.scss +2 -0
  131. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_grid-widths.scss +19 -20
  132. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_index.scss +2 -0
  133. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_link-nowrap.scss +2 -0
  134. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_list-border.scss +6 -2
  135. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_reading-width.scss +2 -0
  136. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_spacing.scss +6 -0
  137. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_text-align.scss +2 -0
  138. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/utilities/_typography.scss +52 -0
  139. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_visually-hidden.scss +2 -0
  140. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_widths.scss +2 -0
  141. data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/vendor/sass-mq.scss +4 -2
  142. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/index.scss +4 -0
  143. data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/nhsuk.scss +3 -0
  144. data/app/assets/stylesheets/design_system/nhsuk.scss +2 -2
  145. data/app/helpers/design_system_helper.rb +4 -0
  146. data/app/views/layouts/govuk/application.html.erb +1 -0
  147. data/app/views/layouts/nhsuk/application.html.erb +52 -59
  148. data/app/views/nhsuk/_navigation.html.erb +9 -13
  149. data/lib/design_system/engine.rb +1 -1
  150. data/lib/design_system/generic/builders/action_link.rb +17 -0
  151. data/lib/design_system/generic/builders/elements/backlink.rb +30 -0
  152. data/lib/design_system/generic/builders/fixed_elements.rb +4 -0
  153. data/lib/design_system/generic/builders/link.rb +9 -0
  154. data/lib/design_system/generic/builders/notification.rb +2 -0
  155. data/lib/design_system/generic/builders/pagination_renderer.rb +4 -9
  156. data/lib/design_system/govuk/builders/action_link.rb +17 -0
  157. data/lib/design_system/govuk/form_builder.rb +6 -2
  158. data/lib/design_system/govuk/test_helpers/form_builder_testable.rb +14 -0
  159. data/lib/design_system/nhsuk/builders/action_link.rb +30 -0
  160. data/lib/design_system/nhsuk/builders/elements/breadcrumbs.rb +12 -16
  161. data/lib/design_system/nhsuk/builders/notification.rb +0 -7
  162. data/lib/design_system/version.rb +1 -1
  163. data/lib/tasks/nhsuk.rake +10 -5
  164. data/public/design_system/static/{nhsuk-frontend-9.6.4/favicons → nhsuk-frontend-10.3.1/images}/favicon.ico +0 -0
  165. data/public/design_system/static/nhsuk-frontend-10.3.1/images/favicon.svg +4 -0
  166. data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-180.png +0 -0
  167. data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-192.png +0 -0
  168. data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-512.png +0 -0
  169. data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-mask.svg +3 -0
  170. data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-opengraph-image.png +0 -0
  171. data/public/design_system/static/nhsuk-frontend-10.3.1/manifest.json +39 -0
  172. data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk-frontend.min.js +1 -0
  173. data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk-frontend.min.js.map +1 -0
  174. data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk.js +7 -0
  175. metadata +159 -161
  176. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/action-link/_action-link.scss +0 -1
  177. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/action-link/_index.scss +0 -73
  178. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/back-link/_back-link.scss +0 -1
  179. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/back-link/_index.scss +0 -66
  180. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/breadcrumb/_breadcrumb.scss +0 -1
  181. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/breadcrumb/_index.scss +0 -138
  182. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/button/_button.scss +0 -1
  183. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/button/_index.scss +0 -257
  184. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/card/_card.scss +0 -1
  185. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/card/_index.scss +0 -321
  186. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/character-count/_character-count.scss +0 -1
  187. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/character-count/_index.scss +0 -19
  188. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/checkboxes/_checkboxes.scss +0 -1
  189. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/checkboxes/_index.scss +0 -155
  190. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/contents-list/_contents-list.scss +0 -1
  191. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/contents-list/_index.scss +0 -40
  192. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/date-input/_date-input.scss +0 -1
  193. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/date-input/_index.scss +0 -29
  194. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/details/_details.scss +0 -1
  195. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/details/_index.scss +0 -211
  196. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/do-dont-list/_do-dont-list.scss +0 -1
  197. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/do-dont-list/_index.scss +0 -23
  198. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-message/_error-message.scss +0 -1
  199. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-message/_index.scss +0 -17
  200. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-summary/_error-summary.scss +0 -1
  201. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-summary/_index.scss +0 -72
  202. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/fieldset/_fieldset.scss +0 -1
  203. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/fieldset/_index.scss +0 -65
  204. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/footer/_footer.scss +0 -1
  205. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/footer/_index.scss +0 -87
  206. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-base.scss +0 -495
  207. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-organisation.scss +0 -126
  208. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-service.scss +0 -60
  209. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-transactional.scss +0 -61
  210. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-white.scss +0 -117
  211. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header.scss +0 -1
  212. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_index.scss +0 -5
  213. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hero/_hero.scss +0 -1
  214. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hero/_index.scss +0 -187
  215. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hint/_hint.scss +0 -1
  216. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hint/_index.scss +0 -51
  217. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/images/_images.scss +0 -1
  218. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/images/_index.scss +0 -48
  219. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/input/_index.scss +0 -149
  220. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/input/_input.scss +0 -1
  221. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/inset-text/_index.scss +0 -28
  222. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/inset-text/_inset-text.scss +0 -1
  223. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/label/_index.scss +0 -53
  224. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/label/_label.scss +0 -1
  225. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/pagination/_index.scss +0 -95
  226. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/pagination/_pagination.scss +0 -1
  227. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/panel/_index.scss +0 -57
  228. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/panel/_panel.scss +0 -1
  229. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/radios/_index.scss +0 -180
  230. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/radios/_radios.scss +0 -1
  231. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/select/_index.scss +0 -44
  232. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/select/_select.scss +0 -1
  233. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/skip-link/_index.scss +0 -34
  234. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/skip-link/_skip-link.scss +0 -1
  235. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/summary-list/_index.scss +0 -183
  236. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/summary-list/_summary-list.scss +0 -1
  237. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tables/_index.scss +0 -181
  238. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tables/_tables.scss +0 -1
  239. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tabs/_index.scss +0 -120
  240. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tabs/_tabs.scss +0 -1
  241. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tag/_index.scss +0 -92
  242. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tag/_tag.scss +0 -1
  243. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/task-list/_index.scss +0 -101
  244. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/task-list/_task-list.scss +0 -1
  245. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/textarea/_index.scss +0 -30
  246. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/textarea/_textarea.scss +0 -1
  247. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/warning-callout/_index.scss +0 -19
  248. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/warning-callout/_warning-callout.scss +0 -1
  249. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/elements/_page.scss +0 -43
  250. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_form-group.scss +0 -25
  251. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_main-wrapper.scss +0 -96
  252. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_width-container.scss +0 -63
  253. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_breakpoints.scss +0 -18
  254. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_colours.scss +0 -188
  255. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_globals.scss +0 -82
  256. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/styles/_icons.scss +0 -105
  257. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_focused.scss +0 -86
  258. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_functions.scss +0 -45
  259. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_grid.scss +0 -138
  260. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_ifff.scss +0 -19
  261. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_links.scss +0 -184
  262. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/utilities/_typography.scss +0 -72
  263. data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/nhsuk.scss +0 -1
  264. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/apple-touch-icon-180x180.png +0 -0
  265. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/apple-touch-icon.png +0 -0
  266. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon-192x192.png +0 -0
  267. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon.png +0 -0
  268. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon.svg +0 -3
  269. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/largetile-310x310.png +0 -0
  270. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/mediumtile-144x144.png +0 -0
  271. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/mediumtile-150x150.png +0 -0
  272. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/smalltile-70x70.png +0 -0
  273. data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/widetile-310x150.png +0 -0
  274. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-left.svg +0 -3
  275. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-right-circle.svg +0 -4
  276. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-right.svg +0 -3
  277. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-chevron-left.svg +0 -3
  278. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-chevron-right.svg +0 -3
  279. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-close.svg +0 -3
  280. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-cross.svg +0 -4
  281. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-emdash-small.svg +0 -3
  282. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-emdash.svg +0 -3
  283. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-minus.svg +0 -4
  284. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-plus.svg +0 -4
  285. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-search.svg +0 -3
  286. data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-tick.svg +0 -3
  287. data/public/design_system/static/nhsuk-frontend-9.6.4/logos/logo-nhs.svg +0 -5
  288. data/public/design_system/static/nhsuk-frontend-9.6.4/logos/nhs-logo.png +0 -0
  289. data/public/design_system/static/nhsuk-frontend-9.6.4/logos/open-graph.png +0 -0
  290. data/public/design_system/static/nhsuk-frontend-9.6.4/nhsuk.js +0 -4
  291. data/public/design_system/static/nhsuk-frontend-9.6.4/nhsuk.min.js +0 -1
  292. /data/public/design_system/static/{design_system-0.11.0 → design_system-0.12.0}/design_system.js +0 -0
@@ -1,495 +0,0 @@
1
- @use "sass:math";
2
- @use "../../core/objects" as *;
3
- @use "../../core/settings" as *;
4
- @use "../../core/tools" as *;
5
-
6
- ////
7
- /// Header component
8
- ///
9
- /// The behaviour with regards to responsiveness is as follow:
10
- ///
11
- /// - Mobile to tablet view
12
- /// Menu toggle button visible and navigation links hidden, search toggle
13
- /// button visible and search form hidden
14
- ///
15
- /// - Tablet to desktop view
16
- /// Menu toggle button visible and navigation links hidden, search toggle
17
- /// button hidden and search form visible
18
- ///
19
- /// - Desktop+ view
20
- /// Menu toggle button hidden and navigation links visible, search toggle
21
- /// button hidden and search form visible
22
- ///
23
- /// @group components
24
- ////
25
-
26
- .nhsuk-header {
27
- background-color: $color_nhsuk-blue;
28
- }
29
-
30
- .nhsuk-header__container {
31
- padding: 20px 0;
32
- @include nhsuk-width-container;
33
-
34
- @include nhsuk-media-query($from: tablet) {
35
- display: flex;
36
- justify-content: space-between;
37
- }
38
- }
39
-
40
- .nhsuk-header__logo {
41
- @include nhsuk-media-query($until: tablet) {
42
- position: relative;
43
- z-index: 1;
44
- }
45
-
46
- .nhsuk-logo__background {
47
- fill: $color_nhsuk-white;
48
-
49
- @include nhsuk-media-query($media-type: print) {
50
- fill: $color_nhsuk-blue;
51
- }
52
- }
53
-
54
- .nhsuk-logo__text {
55
- fill: $color_nhsuk-blue;
56
-
57
- @include nhsuk-media-query($media-type: print) {
58
- fill: $color_nhsuk-white;
59
- }
60
- }
61
-
62
- @include nhsuk-media-query($from: tablet) {
63
- padding-left: 0;
64
- }
65
-
66
- .nhsuk-logo {
67
- @include nhsuk-logo-size;
68
- border: 0;
69
- }
70
-
71
- @include nhsuk-media-query($until: desktop) {
72
- max-width: 60%;
73
- }
74
-
75
- @media (max-width: 450px) {
76
- max-width: 50%;
77
- }
78
- }
79
-
80
- .nhsuk-header__link {
81
- display: block;
82
- @include nhsuk-logo-size;
83
- @include nhsuk-link-style-white;
84
-
85
- &:hover {
86
- .nhsuk-logo {
87
- box-shadow: 0 0 0 $nhsuk-focus-width $color_shade_nhsuk-blue-35;
88
- }
89
- }
90
-
91
- &:focus {
92
- box-shadow: none;
93
-
94
- .nhsuk-logo {
95
- box-shadow:
96
- 0 0 0 $nhsuk-focus-width $nhsuk-focus-color,
97
- 0 $nhsuk-focus-width 0 $nhsuk-focus-width $nhsuk-focus-text-color;
98
- }
99
- }
100
-
101
- &:hover,
102
- &:active,
103
- &:focus {
104
- background-color: transparent;
105
- }
106
-
107
- @include nhsuk-media-query($media-type: print) {
108
- &::after {
109
- content: "";
110
- }
111
- }
112
- }
113
-
114
- .nhsuk-header__logo--only {
115
- max-width: 100%;
116
-
117
- @include nhsuk-media-query($from: tablet) {
118
- .nhsuk-header__link--service {
119
- align-items: center;
120
- display: flex;
121
- -ms-flex-align: center;
122
- margin-bottom: 0;
123
- width: auto;
124
- }
125
-
126
- .nhsuk-header__service-name {
127
- padding-left: nhsuk-spacing(3);
128
- }
129
- }
130
- }
131
-
132
- .nhsuk-header__content {
133
- position: relative;
134
- @include nhsuk-print-hide;
135
-
136
- &.js-show {
137
- border-bottom: nhsuk-spacing(1) solid $color_nhsuk-grey-5;
138
- }
139
-
140
- @include nhsuk-media-query($from: tablet) {
141
- &.js-show {
142
- border-bottom: 0;
143
- }
144
- }
145
- }
146
-
147
- .nhsuk-header__search {
148
- position: relative;
149
- text-align: right;
150
-
151
- @include nhsuk-media-query($from: tablet) {
152
- margin-left: nhsuk-spacing(2);
153
- }
154
- }
155
-
156
- .nhsuk-header__search-form {
157
- display: flex;
158
- height: 100%;
159
- overflow: visible;
160
-
161
- @include nhsuk-media-query($until: tablet) {
162
- margin: nhsuk-spacing(3) 0 0;
163
- position: relative;
164
- width: 100%;
165
- }
166
- }
167
-
168
- .nhsuk-header__search-wrap {
169
- @include nhsuk-media-query($from: tablet) {
170
- display: block;
171
- }
172
- }
173
-
174
- .nhsuk-search__input {
175
- -webkit-appearance: listbox;
176
- border-bottom-left-radius: $nhsuk-border-radius;
177
- border-bottom-right-radius: 0;
178
- border-top-left-radius: $nhsuk-border-radius;
179
- border-top-right-radius: 0;
180
- padding: 0 16px;
181
-
182
- &:focus {
183
- border: nhsuk-spacing(1) solid $nhsuk-focus-text-color;
184
- box-shadow: 0 0 0 $nhsuk-focus-width $nhsuk-focus-color;
185
- outline: $nhsuk-focus-width solid transparent;
186
- outline-offset: $nhsuk-focus-width;
187
- padding: 0 13px;
188
- }
189
-
190
- &::placeholder {
191
- color: $color_nhsuk-grey-1;
192
- font-size: $nhsuk-base-font-size;
193
- opacity: 1; // fixes low contrast of placeholder text in firefox
194
- }
195
-
196
- &:-ms-input-placeholder {
197
- color: $color_nhsuk-grey-1;
198
- font-size: $nhsuk-base-font-size;
199
- }
200
-
201
- &::-webkit-input-placeholder {
202
- color: $color_nhsuk-grey-1;
203
- font-size: $nhsuk-base-font-size;
204
- }
205
-
206
- // Hide search input clear button (IE)
207
- &::-ms-clear {
208
- display: none;
209
- }
210
-
211
- // Hide search input icon and cancel button (WebKit, Blink)
212
- &::-webkit-search-decoration,
213
- &::-webkit-search-cancel-button {
214
- appearance: none;
215
- }
216
-
217
- @include nhsuk-media-query($until: tablet) {
218
- border: 1px solid $color_nhsuk-white;
219
- border-bottom-right-radius: $nhsuk-border-radius;
220
- border-top-right-radius: $nhsuk-border-radius;
221
- flex-grow: 2;
222
- -ms-flex-positive: 2;
223
- font-size: inherit;
224
- height: 40px;
225
- margin: 0;
226
- outline: none;
227
- width: 100%;
228
- z-index: 1;
229
- }
230
-
231
- @include nhsuk-media-query($from: tablet) {
232
- border: 1px solid $color_nhsuk-white;
233
- font-size: $nhsuk-base-font-size;
234
- height: nhsuk-spacing(6);
235
- width: 200px;
236
-
237
- &:focus {
238
- z-index: 10;
239
- }
240
- }
241
-
242
- @include nhsuk-media-query($from: desktop) {
243
- width: 235px;
244
- }
245
- }
246
-
247
- .nhsuk-search__submit {
248
- border: 0;
249
- border-bottom-left-radius: 0;
250
- border-bottom-right-radius: $nhsuk-border-radius;
251
- border-top-left-radius: 0;
252
- border-top-right-radius: $nhsuk-border-radius;
253
- background-color: $color_nhsuk-grey-5;
254
- width: 44px;
255
- height: 40px;
256
- font-size: inherit;
257
- line-height: 1;
258
- outline: none;
259
- padding-top: 6px;
260
- cursor: pointer;
261
- z-index: 9;
262
-
263
- &::-moz-focus-inner {
264
- border: 0;
265
- }
266
-
267
- &:hover,
268
- &:active {
269
- background-color: $color_shade_nhsuk-blue-35;
270
- box-shadow: inset 0 0 0 1px $color_nhsuk-white;
271
- color: $color_nhsuk-white;
272
-
273
- .nhsuk-icon {
274
- fill: $color_nhsuk-white;
275
- }
276
- }
277
-
278
- &:active {
279
- background-color: $color_shade_nhsuk-blue-50;
280
- }
281
-
282
- &:focus:not(:active) {
283
- @include nhsuk-focused-button;
284
- }
285
-
286
- .nhsuk-icon__search {
287
- fill: $color_nhsuk-blue;
288
- height: 27px;
289
- width: 27px;
290
- }
291
-
292
- @include nhsuk-media-query($until: tablet) {
293
- position: absolute;
294
- right: 0;
295
- top: 0;
296
- }
297
- }
298
-
299
- .nhsuk-header__navigation-link {
300
- border-bottom: nhsuk-spacing(1) solid transparent;
301
- border-top: nhsuk-spacing(1) solid transparent;
302
- color: $color_nhsuk-white;
303
- display: block;
304
- padding: nhsuk-spacing(3) 2px;
305
- text-decoration: underline;
306
- white-space: nowrap;
307
- @include nhsuk-font(16);
308
- @include nhsuk-link-style-white;
309
-
310
- @include nhsuk-media-query($until: tablet) {
311
- font-size: inherit;
312
- }
313
-
314
- @include nhsuk-media-query($from: tablet) {
315
- padding: 12px 2px;
316
- }
317
-
318
- .nhsuk-icon__chevron-right {
319
- fill: $color_nhsuk-grey-3;
320
- position: absolute;
321
- right: nhsuk-spacing(1);
322
- top: 11px;
323
- }
324
-
325
- &:focus,
326
- &:focus:visited {
327
- border-bottom: $nhsuk-focus-width solid $nhsuk-focus-text-color;
328
- box-shadow: none;
329
- }
330
- }
331
-
332
- // menu toggle button, only shows when screen can't fit all nav items
333
- .nhsuk-header__menu-toggle {
334
- background: transparent;
335
- border: 0;
336
- border-bottom: nhsuk-spacing(1) solid transparent;
337
- border-radius: 0;
338
- border-top: nhsuk-spacing(1) solid transparent;
339
- box-sizing: border-box;
340
- cursor: pointer;
341
- margin: 0;
342
- overflow: visible;
343
- position: relative;
344
- right: 0;
345
- text-align: center;
346
- text-decoration: underline;
347
- vertical-align: top;
348
- visibility: hidden;
349
- width: auto;
350
- z-index: 1;
351
-
352
- &.nhsuk-header__navigation-link {
353
- padding-right: 23px;
354
- }
355
-
356
- .nhsuk-icon__chevron-down {
357
- right: -3px;
358
- }
359
- }
360
-
361
- .nhsuk-header__menu-toggle--visible {
362
- visibility: visible;
363
- display: block;
364
- }
365
-
366
- .nhsuk-icon__chevron-down {
367
- .nhsuk-header__menu-toggle[aria-expanded="true"] & {
368
- transform: rotate(270deg);
369
- }
370
- }
371
-
372
- .nhsuk-navigation {
373
- @include nhsuk-width-container;
374
-
375
- @include nhsuk-media-query($until: tablet) {
376
- position: relative;
377
- z-index: 10;
378
- }
379
-
380
- @include nhsuk-media-query($from: tablet) {
381
- border-top: 1px solid $color_transparent_nhsuk-white-20;
382
- }
383
- }
384
-
385
- %nhsuk-navigation-list {
386
- list-style: none;
387
- margin: 0;
388
- padding: 0;
389
- }
390
-
391
- // ul of visible nav
392
- .nhsuk-header__navigation-list {
393
- @extend %nhsuk-navigation-list;
394
- display: flex;
395
- flex-wrap: wrap;
396
- width: calc(100% + $nhsuk-gutter-half);
397
- margin: 0 math.div($nhsuk-gutter-half, 2) * -1;
398
-
399
- @include nhsuk-media-query($from: tablet) {
400
- width: calc(100% + $nhsuk-gutter);
401
- margin: 0 math.div($nhsuk-gutter, 2) * -1;
402
- }
403
-
404
- @include nhsuk-media-query($from: desktop) {
405
- justify-content: space-between;
406
- }
407
-
408
- .js-enabled & {
409
- flex-wrap: nowrap;
410
- overflow: hidden;
411
- }
412
- }
413
-
414
- .nhsuk-header__navigation-list--left-aligned {
415
- @include nhsuk-media-query($from: desktop) {
416
- justify-content: initial;
417
- }
418
- }
419
-
420
- .nhsuk-header__navigation-item {
421
- margin-bottom: 0;
422
- padding: 0 math.div($nhsuk-gutter-half, 2);
423
-
424
- @include nhsuk-media-query($from: tablet) {
425
- padding: 0 $nhsuk-gutter-half;
426
- }
427
- }
428
-
429
- .nhsuk-navigation-container {
430
- position: relative;
431
- @include nhsuk-print-hide;
432
-
433
- @include nhsuk-media-query($until: tablet) {
434
- margin-top: -20px;
435
- }
436
- }
437
-
438
- // ul of hidden nav
439
- .nhsuk-header__drop-down {
440
- @extend %nhsuk-navigation-list;
441
- background-color: $color_nhsuk-white;
442
- border-bottom: nhsuk-spacing(1) solid $color_nhsuk-grey-5;
443
- overflow: hidden;
444
- position: absolute;
445
- right: 0;
446
- top: 100%;
447
- left: 0;
448
- @include nhsuk-print-hide;
449
-
450
- @include nhsuk-media-query($until: tablet) {
451
- margin: 0 $nhsuk-gutter-half * -1;
452
- }
453
-
454
- .nhsuk-header__navigation-link {
455
- margin: 0;
456
- padding: 12px 0;
457
- @include nhsuk-width-container;
458
- @include nhsuk-link-style-default;
459
- @include nhsuk-link-style-no-visited-state;
460
-
461
- &:focus,
462
- &:focus:visited {
463
- box-shadow: none;
464
- }
465
- }
466
-
467
- .nhsuk-header__navigation-item {
468
- padding: 0;
469
- border-top: 1px solid $color_nhsuk-grey-5;
470
- }
471
- }
472
-
473
- .nhsuk-header__drop-down--hidden {
474
- display: none;
475
- }
476
-
477
- .nhsuk-mobile-menu-container {
478
- align-self: center;
479
- display: none;
480
- padding: 0 math.div($nhsuk-gutter-half, 2);
481
-
482
- @include nhsuk-media-query($from: desktop) {
483
- padding: 0 $nhsuk-gutter-half;
484
- }
485
- }
486
-
487
- .nhsuk-mobile-menu-container--visible {
488
- display: block;
489
- }
490
-
491
- .nhsuk-header__navigation-item--home {
492
- @include nhsuk-media-query($from: desktop) {
493
- display: none;
494
- }
495
- }
@@ -1,126 +0,0 @@
1
- @use "../../core/settings" as *;
2
- @use "../../core/tools" as *;
3
-
4
- /// These are the styles for the organisation header variants.
5
-
6
- .nhsuk-header--organisation {
7
- .nhsuk-header__link {
8
- height: auto;
9
- text-decoration: none;
10
- width: auto;
11
-
12
- &:hover {
13
- color: $color_nhsuk-white;
14
- text-decoration: underline;
15
-
16
- .nhsuk-logo {
17
- box-shadow: none;
18
- }
19
- }
20
-
21
- &:focus {
22
- background: $nhsuk-focus-color;
23
- box-shadow:
24
- 0 0 0 $nhsuk-focus-width $nhsuk-focus-color,
25
- 0 $nhsuk-focus-width 0 $nhsuk-focus-width $nhsuk-focus-text-color;
26
-
27
- .nhsuk-organisation-name,
28
- .nhsuk-organisation-descriptor {
29
- color: $nhsuk-focus-text-color;
30
- }
31
-
32
- .nhsuk-logo {
33
- box-shadow: none;
34
- }
35
-
36
- &:hover {
37
- text-decoration: none;
38
- }
39
- }
40
- }
41
-
42
- .nhsuk-header__logo .nhsuk-logo {
43
- @include nhsuk-logo-size-small;
44
-
45
- @media (max-width: 450px) {
46
- height: nhsuk-spacing(4);
47
- width: 60px;
48
- }
49
-
50
- @media (max-width: 375px) {
51
- height: 20px;
52
- width: 50px;
53
- }
54
- }
55
-
56
- .nhsuk-header__navigation {
57
- max-width: 100%;
58
- }
59
- }
60
-
61
- .nhsuk-organisation-name {
62
- color: $color_nhsuk-white;
63
- display: block;
64
- font-size: 22px;
65
- font-weight: $nhsuk-font-bold;
66
- letter-spacing: 0.2px;
67
- line-height: 23px;
68
- margin-top: -2px;
69
-
70
- @include nhsuk-media-query($media-type: print) {
71
- color: $nhsuk-print-text-color;
72
- }
73
-
74
- @media (max-width: 450px) {
75
- font-size: 17px;
76
- letter-spacing: 0.1px;
77
- line-height: 17px;
78
- }
79
-
80
- @media (max-width: 375px) {
81
- font-size: 13px;
82
- line-height: 13px;
83
- }
84
-
85
- .nhsuk-organisation-name-split {
86
- display: block;
87
- }
88
- }
89
-
90
- .nhsuk-organisation-descriptor {
91
- color: $color_nhsuk-white;
92
- display: block;
93
- font-size: 15px;
94
- font-weight: $nhsuk-font-bold;
95
- line-height: 21px;
96
-
97
- @include nhsuk-media-query($media-type: print) {
98
- color: $color_nhsuk-blue;
99
- }
100
-
101
- @media (max-width: 450px) {
102
- font-size: 12px;
103
- line-height: 18px;
104
- }
105
-
106
- @media (max-width: 375px) {
107
- font-size: 10px;
108
- line-height: 13px;
109
- }
110
- }
111
-
112
- .nhsuk-organisation-logo {
113
- border: 0;
114
- max-height: 100px;
115
- max-width: 280px;
116
-
117
- @media (max-width: 450px) {
118
- max-width: 150px;
119
- }
120
- }
121
-
122
- .nhsuk-organisation-logo[src$=".svg"] {
123
- height: auto;
124
- max-width: 220px;
125
- width: 100%;
126
- }
@@ -1,60 +0,0 @@
1
- @use "../../core/settings" as *;
2
- @use "../../core/tools" as *;
3
-
4
- /// These are the styles for the service header variants.
5
-
6
- .nhsuk-header__link--service {
7
- height: auto;
8
- margin-bottom: -(nhsuk-spacing(1));
9
- text-decoration: none;
10
- width: auto;
11
-
12
- @include nhsuk-media-query($from: large-desktop) {
13
- align-items: center;
14
- display: flex;
15
- -ms-flex-align: center;
16
- margin-bottom: 0;
17
- width: auto;
18
- }
19
-
20
- &:hover {
21
- background: none;
22
-
23
- .nhsuk-header__service-name {
24
- text-decoration: underline;
25
- }
26
- }
27
-
28
- &:focus {
29
- background: $nhsuk-focus-color;
30
- box-shadow:
31
- 0 0 0 $nhsuk-focus-width $nhsuk-focus-color,
32
- 0 $nhsuk-focus-width 0 $nhsuk-focus-width $nhsuk-focus-text-color;
33
-
34
- .nhsuk-header__service-name {
35
- color: $nhsuk-focus-text-color;
36
- text-decoration: none;
37
- }
38
-
39
- .nhsuk-logo {
40
- box-shadow: none;
41
- }
42
- }
43
- }
44
-
45
- .nhsuk-header__service-name {
46
- color: $color_nhsuk-white;
47
- display: block;
48
- padding-left: 0;
49
- padding-right: 0;
50
-
51
- @include nhsuk-font(19);
52
-
53
- @include nhsuk-media-query($from: large-desktop) {
54
- padding-left: nhsuk-spacing(3);
55
- }
56
-
57
- @include nhsuk-media-query($until: large-desktop) {
58
- max-width: 220px;
59
- }
60
- }