design_system 0.10.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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/components/_index.scss +36 -20
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/action-link/_action-link.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/action-link/_index.scss +84 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/back-link/_back-link.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/back-link/_index.scss +56 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/breadcrumb/_breadcrumb.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/breadcrumb/_index.scss +103 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/button/_button.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/button/_index.scss +207 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/card/_card.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/card/_index.scss +526 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/character-count/_character-count.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/character-count/_index.scss +54 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/checkboxes/_checkboxes.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/checkboxes/_index.scss +337 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/contents-list/_contents-list.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/contents-list/_index.scss +32 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/date-input/_date-input.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/date-input/_index.scss +40 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/details/_details.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/details/_index.scss +374 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/do-dont-list/_do-dont-list.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/do-dont-list/_index.scss +37 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-message/_error-message.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-message/_index.scss +22 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-summary/_error-summary.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-summary/_index.scss +75 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/fieldset/_fieldset.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/fieldset/_index.scss +81 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/file-upload/_file-upload.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/file-upload/_index.scss +251 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/footer/_footer.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/footer/_index.scss +64 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/header/_header.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/header/_index.scss +783 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hero/_hero.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hero/_index.scss +205 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hint/_hint.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hint/_index.scss +53 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/images/_images.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/images/_index.scss +53 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/input/_index.scss +184 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/input/_input.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/inset-text/_index.scss +34 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/inset-text/_inset-text.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/label/_index.scss +53 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/label/_label.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/notification-banner/_index.scss +100 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/notification-banner/_notification-banner.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/pagination/_index.scss +261 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/pagination/_pagination.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/panel/_index.scss +99 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/panel/_panel.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/password-input/_index.scss +37 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/password-input/_password-input.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/radios/_index.scss +354 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/radios/_radios.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/select/_index.scss +63 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/select/_select.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/skip-link/_index.scss +48 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/skip-link/_skip-link.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/summary-list/_index.scss +215 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/summary-list/_summary-list.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tables/_index.scss +205 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tables/_tables.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tabs/_index.scss +138 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tabs/_tabs.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tag/_index.scss +101 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tag/_tag.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/task-list/_index.scss +111 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/task-list/_task-list.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/textarea/_index.scss +52 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/textarea/_textarea.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/warning-callout/_index.scss +22 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/warning-callout/_warning-callout.scss +3 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/_index.scss +4 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/_nhsuk-frontend-properties.scss +28 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/all.scss +3 -1
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_forms.scss +4 -2
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_index.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_links.scss +3 -2
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/elements/_page.scss +66 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_table.scss +6 -5
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_box-sizing.scss +2 -4
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_font-face.scss +29 -15
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_index.scss +2 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/helpers/_colour.scss +106 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/helpers/_index.scss +7 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_button-group.scss +124 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_form-group.scss +47 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/objects/_grid.scss +5 -3
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/objects/_index.scss +4 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_input-wrapper.scss +81 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_main-wrapper.scss +66 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_width-container.scss +98 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_all.scss +3 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_breakpoints.scss +35 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-applied.scss +326 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-deprecated.scss +116 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-palette.scss +41 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours.scss +12 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_globals.scss +214 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_index.scss +5 -1
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_spacing.scss +3 -3
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_typography.scss +15 -34
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_warnings.scss +11 -5
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/styles/_icons.scss +45 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_index.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_lists.scss +15 -10
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_section-break.scss +4 -2
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_typography.scss +34 -39
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_all.scss +3 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_buttons.scss +85 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_exports.scss +1 -11
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_focused.scss +134 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_functions.scss +81 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_grid.scss +74 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_index.scss +5 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_links.scss +234 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_mixins.scss +168 -118
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_sass-mq.scss +9 -11
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_shape-arrow.scss +14 -20
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_shape-chevron.scss +65 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_shape-dash.scss +31 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_spacing.scss +25 -14
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_typography.scss +71 -25
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_clearfix.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_display.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_float.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_grid-widths.scss +19 -20
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_index.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_link-nowrap.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_list-border.scss +6 -2
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_reading-width.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_spacing.scss +6 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_text-align.scss +2 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/utilities/_typography.scss +52 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_visually-hidden.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_widths.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/vendor/sass-mq.scss +4 -2
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/index.scss +4 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/nhsuk.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk.scss +2 -2
- data/app/helpers/design_system_helper.rb +8 -4
- data/app/views/layouts/govuk/application.html.erb +1 -0
- data/app/views/layouts/nhsuk/application.html.erb +52 -59
- data/app/views/nhsuk/_navigation.html.erb +9 -13
- data/lib/design_system/engine.rb +1 -1
- data/lib/design_system/generic/builders/action_link.rb +17 -0
- data/lib/design_system/generic/builders/elements/backlink.rb +30 -0
- data/lib/design_system/generic/builders/fixed_elements.rb +4 -0
- data/lib/design_system/generic/builders/link.rb +9 -0
- data/lib/design_system/generic/builders/notification.rb +10 -6
- data/lib/design_system/generic/builders/pagination_renderer.rb +4 -9
- data/lib/design_system/govuk/builders/action_link.rb +17 -0
- data/lib/design_system/govuk/form_builder.rb +6 -2
- data/lib/design_system/govuk/test_helpers/form_builder_testable.rb +14 -0
- data/lib/design_system/nhsuk/builders/action_link.rb +30 -0
- data/lib/design_system/nhsuk/builders/elements/breadcrumbs.rb +12 -16
- data/lib/design_system/nhsuk/builders/notification.rb +0 -6
- data/lib/design_system/version.rb +1 -1
- data/lib/tasks/nhsuk.rake +10 -5
- data/public/design_system/static/{nhsuk-frontend-9.6.4/favicons → nhsuk-frontend-10.3.1/images}/favicon.ico +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/favicon.svg +4 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-180.png +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-192.png +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-512.png +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-mask.svg +3 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-opengraph-image.png +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/manifest.json +39 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk-frontend.min.js +1 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk-frontend.min.js.map +1 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk.js +7 -0
- metadata +159 -161
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/action-link/_action-link.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/action-link/_index.scss +0 -73
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/back-link/_back-link.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/back-link/_index.scss +0 -66
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/breadcrumb/_breadcrumb.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/breadcrumb/_index.scss +0 -138
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/button/_button.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/button/_index.scss +0 -257
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/card/_card.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/card/_index.scss +0 -321
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/character-count/_character-count.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/character-count/_index.scss +0 -19
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/checkboxes/_checkboxes.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/checkboxes/_index.scss +0 -155
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/contents-list/_contents-list.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/contents-list/_index.scss +0 -40
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/date-input/_date-input.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/date-input/_index.scss +0 -29
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/details/_details.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/details/_index.scss +0 -211
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/do-dont-list/_do-dont-list.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/do-dont-list/_index.scss +0 -23
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-message/_error-message.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-message/_index.scss +0 -17
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-summary/_error-summary.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-summary/_index.scss +0 -72
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/fieldset/_fieldset.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/fieldset/_index.scss +0 -65
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/footer/_footer.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/footer/_index.scss +0 -87
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-base.scss +0 -495
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-organisation.scss +0 -126
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-service.scss +0 -60
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-transactional.scss +0 -61
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-white.scss +0 -117
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_index.scss +0 -5
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hero/_hero.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hero/_index.scss +0 -187
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hint/_hint.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hint/_index.scss +0 -51
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/images/_images.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/images/_index.scss +0 -48
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/input/_index.scss +0 -149
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/input/_input.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/inset-text/_index.scss +0 -28
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/inset-text/_inset-text.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/label/_index.scss +0 -53
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/label/_label.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/pagination/_index.scss +0 -95
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/pagination/_pagination.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/panel/_index.scss +0 -57
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/panel/_panel.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/radios/_index.scss +0 -180
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/radios/_radios.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/select/_index.scss +0 -44
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/select/_select.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/skip-link/_index.scss +0 -34
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/skip-link/_skip-link.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/summary-list/_index.scss +0 -183
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/summary-list/_summary-list.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tables/_index.scss +0 -181
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tables/_tables.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tabs/_index.scss +0 -120
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tabs/_tabs.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tag/_index.scss +0 -92
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tag/_tag.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/task-list/_index.scss +0 -101
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/task-list/_task-list.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/textarea/_index.scss +0 -30
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/textarea/_textarea.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/warning-callout/_index.scss +0 -19
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/warning-callout/_warning-callout.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/elements/_page.scss +0 -43
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_form-group.scss +0 -25
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_main-wrapper.scss +0 -96
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_width-container.scss +0 -63
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_breakpoints.scss +0 -18
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_colours.scss +0 -188
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_globals.scss +0 -82
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/styles/_icons.scss +0 -105
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_focused.scss +0 -86
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_functions.scss +0 -45
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_grid.scss +0 -138
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_ifff.scss +0 -19
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_links.scss +0 -184
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/utilities/_typography.scss +0 -72
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/nhsuk.scss +0 -1
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/apple-touch-icon-180x180.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/apple-touch-icon.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon-192x192.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/largetile-310x310.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/mediumtile-144x144.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/mediumtile-150x150.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/smalltile-70x70.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/widetile-310x150.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-left.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-right-circle.svg +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-right.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-chevron-left.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-chevron-right.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-close.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-cross.svg +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-emdash-small.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-emdash.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-minus.svg +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-plus.svg +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-search.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-tick.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/logos/logo-nhs.svg +0 -5
- data/public/design_system/static/nhsuk-frontend-9.6.4/logos/nhs-logo.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/logos/open-graph.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/nhsuk.js +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/nhsuk.min.js +0 -1
- /data/public/design_system/static/{design_system-0.10.0 → design_system-0.12.0}/design_system.js +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@use "../settings" as *;
|
|
2
|
+
@forward "colours-palette";
|
|
3
|
+
@forward "colours-applied";
|
|
4
|
+
@forward "colours-deprecated";
|
|
5
|
+
|
|
6
|
+
@include nhsuk-warning(
|
|
7
|
+
"import-using-settings-colours",
|
|
8
|
+
"Importing using 'core/settings/colours' is deprecated. Update your import statement to import 'core/settings/colours-palette', 'core/settings/colours-applied' and 'core/settings/colours-deprecated'.",
|
|
9
|
+
$silence-further-warnings: false
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
/*# sourceMappingURL=_colours.scss.map */
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// Globals
|
|
6
|
+
///
|
|
7
|
+
/// @group settings/globals
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
// =========================================================
|
|
11
|
+
// Font families
|
|
12
|
+
// =========================================================
|
|
13
|
+
|
|
14
|
+
// @deprecated To be removed in v11.0
|
|
15
|
+
$nhsuk-font: "Frutiger W01" !default;
|
|
16
|
+
|
|
17
|
+
// @deprecated To be removed in v11.0
|
|
18
|
+
$nhsuk-font-fallback: arial, sans-serif !default;
|
|
19
|
+
|
|
20
|
+
// @deprecated To be removed in v11.0
|
|
21
|
+
$nhsuk-include-font-face: true !default;
|
|
22
|
+
|
|
23
|
+
/// Font families to use for all typography on screen media
|
|
24
|
+
///
|
|
25
|
+
/// @type List
|
|
26
|
+
|
|
27
|
+
$nhsuk-font-family: $nhsuk-font, $nhsuk-font-fallback !default;
|
|
28
|
+
|
|
29
|
+
/// Font families to use for print media
|
|
30
|
+
///
|
|
31
|
+
/// We recommend that you use system fonts when printing. This will avoid issues
|
|
32
|
+
/// with some printer drivers and operating systems.
|
|
33
|
+
///
|
|
34
|
+
/// @type List
|
|
35
|
+
|
|
36
|
+
$nhsuk-font-family-print: sans-serif !default;
|
|
37
|
+
|
|
38
|
+
/// Path or URL to the fonts folder, with trailing slash.
|
|
39
|
+
///
|
|
40
|
+
/// @type String
|
|
41
|
+
|
|
42
|
+
$nhsuk-fonts-path: "https://assets.nhs.uk/fonts/" !default;
|
|
43
|
+
|
|
44
|
+
/// Include the default @font-face declarations
|
|
45
|
+
///
|
|
46
|
+
/// Defaults to true if "Frutiger W01" appears in the $nhsuk-font-family
|
|
47
|
+
/// setting.
|
|
48
|
+
///
|
|
49
|
+
/// @type Boolean
|
|
50
|
+
|
|
51
|
+
$nhsuk-include-default-font-face: $nhsuk-include-font-face !default;
|
|
52
|
+
|
|
53
|
+
@if not list.index($nhsuk-font-family, "Frutiger W01") {
|
|
54
|
+
$nhsuk-include-default-font-face: false;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// =========================================================
|
|
58
|
+
// Font weights
|
|
59
|
+
// =========================================================
|
|
60
|
+
|
|
61
|
+
// @deprecated To be removed in v11.0
|
|
62
|
+
$nhsuk-font-normal: 400 !default;
|
|
63
|
+
|
|
64
|
+
// @deprecated To be removed in v11.0
|
|
65
|
+
$nhsuk-font-bold: 600 !default;
|
|
66
|
+
|
|
67
|
+
/// Font weight for normal typography
|
|
68
|
+
///
|
|
69
|
+
/// @type Number
|
|
70
|
+
|
|
71
|
+
$nhsuk-font-weight-normal: $nhsuk-font-normal !default;
|
|
72
|
+
|
|
73
|
+
/// Font weight for bold typography
|
|
74
|
+
///
|
|
75
|
+
/// @type Number
|
|
76
|
+
|
|
77
|
+
$nhsuk-font-weight-bold: $nhsuk-font-bold !default;
|
|
78
|
+
|
|
79
|
+
/// Feature flag for Apple Dynamic Type
|
|
80
|
+
///
|
|
81
|
+
/// When set to true, $nhsuk-include-dynamic-type will automatically apply the
|
|
82
|
+
/// user's preferred text size on iOS and iPadOS devices.
|
|
83
|
+
///
|
|
84
|
+
/// Note: This flag adjusts `$nhsuk-root-font-size` from 16px to 17px when set.
|
|
85
|
+
/// Please review all custom sizes not calculated relative to the root font
|
|
86
|
+
/// size as they will not scale dynamically.
|
|
87
|
+
///
|
|
88
|
+
/// @type Boolean
|
|
89
|
+
///
|
|
90
|
+
/// @link https://developer.apple.com/design/human-interface-guidelines/typography#Supporting-Dynamic-Type
|
|
91
|
+
|
|
92
|
+
$nhsuk-include-dynamic-type: false !default;
|
|
93
|
+
|
|
94
|
+
/// Root font size
|
|
95
|
+
///
|
|
96
|
+
/// This is used to calculate rem sizes for the typography, and should match the
|
|
97
|
+
/// _effective_ font-size of your root (or html) element.
|
|
98
|
+
///
|
|
99
|
+
/// Ideally you should not be setting the font-size on the html or root element
|
|
100
|
+
/// in order to allow it to scale with user-preference, in which case this
|
|
101
|
+
/// should be set to 16px.
|
|
102
|
+
///
|
|
103
|
+
/// @type Number
|
|
104
|
+
|
|
105
|
+
$nhsuk-root-font-size: 16px !default;
|
|
106
|
+
|
|
107
|
+
@if $nhsuk-include-dynamic-type {
|
|
108
|
+
$nhsuk-root-font-size: 17px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// =========================================================
|
|
112
|
+
// Icon sizes
|
|
113
|
+
// =========================================================
|
|
114
|
+
|
|
115
|
+
$nhsuk-icon-size: 24px !default;
|
|
116
|
+
$nhsuk-icon-size-large: 32px !default;
|
|
117
|
+
|
|
118
|
+
// =========================================================
|
|
119
|
+
// Page layout
|
|
120
|
+
// =========================================================
|
|
121
|
+
|
|
122
|
+
/// Width of main container
|
|
123
|
+
///
|
|
124
|
+
/// @type Number
|
|
125
|
+
|
|
126
|
+
$nhsuk-page-width: 960px !default;
|
|
127
|
+
|
|
128
|
+
/// Map of grid column widths
|
|
129
|
+
///
|
|
130
|
+
/// @type Map
|
|
131
|
+
|
|
132
|
+
$nhsuk-grid-widths: (
|
|
133
|
+
one-quarter: math.percentage(math.div(1, 4)),
|
|
134
|
+
one-third: math.percentage(math.div(1, 3)),
|
|
135
|
+
one-half: math.percentage(math.div(1, 2)),
|
|
136
|
+
two-thirds: math.percentage(math.div(2, 3)),
|
|
137
|
+
three-quarters: math.percentage(math.div(3, 4)),
|
|
138
|
+
full: 100%
|
|
139
|
+
) !default;
|
|
140
|
+
|
|
141
|
+
/// Width of gutter between grid columns
|
|
142
|
+
///
|
|
143
|
+
/// @type Number
|
|
144
|
+
|
|
145
|
+
$nhsuk-gutter: 32px !default;
|
|
146
|
+
|
|
147
|
+
/// Width of half the gutter between grid columns
|
|
148
|
+
///
|
|
149
|
+
/// @type Number
|
|
150
|
+
|
|
151
|
+
$nhsuk-gutter-half: math.div($nhsuk-gutter, 2);
|
|
152
|
+
|
|
153
|
+
// =========================================================
|
|
154
|
+
// Borders
|
|
155
|
+
// =========================================================
|
|
156
|
+
|
|
157
|
+
$nhsuk-border-width-inset-text: 8px !default;
|
|
158
|
+
$nhsuk-chevron-border: 2px !default;
|
|
159
|
+
$nhsuk-hero-border: 1px !default;
|
|
160
|
+
$nhsuk-border-table-header-width: 2px !default;
|
|
161
|
+
$nhsuk-border-table-cell-width: 1px !default;
|
|
162
|
+
$nhsuk-border-radius: 4px !default;
|
|
163
|
+
|
|
164
|
+
/// Standard border width
|
|
165
|
+
///
|
|
166
|
+
/// @type Number
|
|
167
|
+
|
|
168
|
+
$nhsuk-border-width: 4px !default;
|
|
169
|
+
|
|
170
|
+
/// Form control border width
|
|
171
|
+
///
|
|
172
|
+
/// @type Number
|
|
173
|
+
|
|
174
|
+
$nhsuk-border-width-form-element: 2px !default;
|
|
175
|
+
|
|
176
|
+
/// Form group border width when in error state
|
|
177
|
+
///
|
|
178
|
+
/// @type Number
|
|
179
|
+
|
|
180
|
+
$nhsuk-border-width-form-group-error: $nhsuk-border-width !default;
|
|
181
|
+
|
|
182
|
+
/// Border width of focus outline
|
|
183
|
+
///
|
|
184
|
+
/// @type Number
|
|
185
|
+
|
|
186
|
+
$nhsuk-focus-width: 4px !default;
|
|
187
|
+
|
|
188
|
+
/// Hover width for form controls with a hover state
|
|
189
|
+
///
|
|
190
|
+
/// @type Number
|
|
191
|
+
|
|
192
|
+
$nhsuk-hover-width: 10px !default;
|
|
193
|
+
|
|
194
|
+
/// Button border radius
|
|
195
|
+
///
|
|
196
|
+
/// @type Number
|
|
197
|
+
|
|
198
|
+
$nhsuk-button-border-radius: 4px !default;
|
|
199
|
+
|
|
200
|
+
/// Button shadow size
|
|
201
|
+
///
|
|
202
|
+
/// @type Number
|
|
203
|
+
|
|
204
|
+
$nhsuk-button-shadow-size: 4px !default;
|
|
205
|
+
|
|
206
|
+
/// Globals (deprecated)
|
|
207
|
+
///
|
|
208
|
+
|
|
209
|
+
// @deprecated To be removed in v11.0
|
|
210
|
+
$nhsuk-base-font-size: $nhsuk-root-font-size;
|
|
211
|
+
$nhsuk-border-width-form-element-error: $nhsuk-border-width-form-element;
|
|
212
|
+
$nhsuk-border-width-mobile: $nhsuk-border-width;
|
|
213
|
+
|
|
214
|
+
/*# sourceMappingURL=_globals.scss.map */
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
////
|
|
4
4
|
|
|
5
5
|
@forward "breakpoints";
|
|
6
|
-
@forward "colours";
|
|
6
|
+
@forward "colours-palette";
|
|
7
|
+
@forward "colours-applied";
|
|
8
|
+
@forward "colours-deprecated";
|
|
7
9
|
@forward "globals";
|
|
8
10
|
@forward "spacing";
|
|
9
11
|
@forward "typography";
|
|
10
12
|
@forward "warnings";
|
|
13
|
+
|
|
14
|
+
/*# sourceMappingURL=_index.scss.map */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
////
|
|
2
|
-
///
|
|
3
|
-
///
|
|
4
|
-
/// @group settings
|
|
2
|
+
/// @group settings/spacing
|
|
5
3
|
////
|
|
6
4
|
|
|
7
5
|
/// Single point spacing variables
|
|
@@ -77,3 +75,5 @@ $nhsuk-spacing-responsive-scale: (
|
|
|
77
75
|
tablet: 64px
|
|
78
76
|
)
|
|
79
77
|
) !default;
|
|
78
|
+
|
|
79
|
+
/*# sourceMappingURL=_spacing.scss.map */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@forward "globals" show $nhsuk-font-normal, $nhsuk-font-bold;
|
|
1
|
+
@forward "globals" show $nhsuk-font-normal, $nhsuk-font-bold, $nhsuk-font-weight-normal, $nhsuk-font-weight-bold;
|
|
2
2
|
|
|
3
3
|
////
|
|
4
4
|
/// Typography
|
|
5
5
|
///
|
|
6
|
-
/// @group settings
|
|
6
|
+
/// @group settings/typography
|
|
7
7
|
////
|
|
8
8
|
|
|
9
9
|
/// Responsive typography font map
|
|
@@ -85,38 +85,6 @@ $nhsuk-typography-scale: (
|
|
|
85
85
|
line-height: 1.25
|
|
86
86
|
)
|
|
87
87
|
),
|
|
88
|
-
24: (
|
|
89
|
-
null: (
|
|
90
|
-
font-size: 20px,
|
|
91
|
-
line-height: 28px
|
|
92
|
-
),
|
|
93
|
-
tablet: (
|
|
94
|
-
font-size: 24px,
|
|
95
|
-
line-height: 31px
|
|
96
|
-
),
|
|
97
|
-
print: (
|
|
98
|
-
font-size: 16pt,
|
|
99
|
-
line-height: 1.25
|
|
100
|
-
),
|
|
101
|
-
deprecation: (
|
|
102
|
-
key: "nhsuk-typography-scale-24",
|
|
103
|
-
message: "24 on the typography scale is deprecated and will be removed in the next major version."
|
|
104
|
-
)
|
|
105
|
-
),
|
|
106
|
-
_24: (
|
|
107
|
-
null: (
|
|
108
|
-
font-size: 20px,
|
|
109
|
-
line-height: 28px
|
|
110
|
-
),
|
|
111
|
-
tablet: (
|
|
112
|
-
font-size: 24px,
|
|
113
|
-
line-height: 31px
|
|
114
|
-
),
|
|
115
|
-
print: (
|
|
116
|
-
font-size: 16pt,
|
|
117
|
-
line-height: 1.25
|
|
118
|
-
)
|
|
119
|
-
),
|
|
120
88
|
22: (
|
|
121
89
|
null: (
|
|
122
90
|
font-size: 19px,
|
|
@@ -174,3 +142,16 @@ $nhsuk-typography-scale: (
|
|
|
174
142
|
)
|
|
175
143
|
)
|
|
176
144
|
) !default;
|
|
145
|
+
|
|
146
|
+
/// System monospace font stack
|
|
147
|
+
///
|
|
148
|
+
/// Android typically avoids the "Courier" based monospace
|
|
149
|
+
/// default but we need to specify fallbacks for others:
|
|
150
|
+
///
|
|
151
|
+
/// * Menlo - Font for older macOS, OS X versions
|
|
152
|
+
/// * Cascadia Mono, Segoe UI Mono, Consolas - Fonts for Windows 11, 10, 8
|
|
153
|
+
/// * Consolas - Font for older Windows versions
|
|
154
|
+
/// * Liberation Mono - Font for Linux used by GitHub
|
|
155
|
+
$nhsuk-code-font: menlo, "Cascadia Mono", "Segoe UI Mono", consolas, "Liberation Mono", monospace;
|
|
156
|
+
|
|
157
|
+
/*# sourceMappingURL=_typography.scss.map */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
////
|
|
4
4
|
/// Warnings
|
|
5
5
|
///
|
|
6
|
-
/// @group settings
|
|
6
|
+
/// @group settings/warnings
|
|
7
7
|
////
|
|
8
8
|
|
|
9
9
|
/// Suppressed warnings map
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
/// You can add to this map and define which warnings to suppress by appending to
|
|
18
18
|
/// it using the warning key, found in the warning message. For example:
|
|
19
19
|
///
|
|
20
|
-
/// @example scss
|
|
20
|
+
/// @example scss
|
|
21
21
|
/// // warning message:
|
|
22
22
|
/// // $foobar is no longer supported. To silence this warning, update
|
|
23
|
-
/// // $
|
|
24
|
-
/// $
|
|
23
|
+
/// // $nhsuk-suppressed-warnings with key: "foobar"
|
|
24
|
+
/// $nhsuk-suppressed-warnings: (
|
|
25
25
|
/// foobar
|
|
26
26
|
/// );
|
|
27
27
|
///
|
|
@@ -42,7 +42,7 @@ $nhsuk-suppressed-warnings: () !default;
|
|
|
42
42
|
/// `$nhsuk-suppressed-warnings` after `@warn` is called to ensure it only runs
|
|
43
43
|
/// once per sass compilation
|
|
44
44
|
///
|
|
45
|
-
/// @param {String} $key - The key to be checked against `$
|
|
45
|
+
/// @param {String} $key - The key to be checked against `$nhsuk-suppressed-warnings`
|
|
46
46
|
/// and then passed to it to prevent multiple of the same warning.
|
|
47
47
|
/// @param {String} $message - The message to use when calling `@warn`
|
|
48
48
|
/// @param {Boolean} $silence-further-warnings - Whether to silence future
|
|
@@ -65,6 +65,8 @@ $nhsuk-suppressed-warnings: () !default;
|
|
|
65
65
|
/// @param {String} $key - The key to be checked against `$nhsuk-suppressed-warnings`.
|
|
66
66
|
///
|
|
67
67
|
/// @link https://github.com/alphagov/govuk-frontend Original code taken from GDS (Government Digital Service)
|
|
68
|
+
///
|
|
69
|
+
/// @access private
|
|
68
70
|
|
|
69
71
|
@function _should-warn($key) {
|
|
70
72
|
@return list.index($nhsuk-suppressed-warnings, $key) == null;
|
|
@@ -76,7 +78,11 @@ $nhsuk-suppressed-warnings: () !default;
|
|
|
76
78
|
/// @param {String} $message - The warning text.
|
|
77
79
|
///
|
|
78
80
|
/// @link https://github.com/alphagov/govuk-frontend Original code taken from GDS (Government Digital Service)
|
|
81
|
+
///
|
|
82
|
+
/// @access private
|
|
79
83
|
|
|
80
84
|
@function _warning-text($key, $message) {
|
|
81
85
|
@return $message + " To silence this warning, update $nhsuk-suppressed-warnings " + 'with key: "#{$key}"';
|
|
82
86
|
}
|
|
87
|
+
|
|
88
|
+
/*# sourceMappingURL=_warnings.scss.map */
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
@use "../settings" as *;
|
|
3
|
+
@use "../tools" as *;
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// Icons
|
|
7
|
+
///
|
|
8
|
+
/// @group styles
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
// Default icon styles
|
|
12
|
+
|
|
13
|
+
.nhsuk-icon {
|
|
14
|
+
width: nhsuk-px-to-rem($nhsuk-icon-size);
|
|
15
|
+
height: nhsuk-px-to-rem($nhsuk-icon-size);
|
|
16
|
+
fill: currentcolor;
|
|
17
|
+
|
|
18
|
+
@include nhsuk-media-query($from: tablet) {
|
|
19
|
+
width: nhsuk-px-to-rem($nhsuk-icon-size-large);
|
|
20
|
+
height: nhsuk-px-to-rem($nhsuk-icon-size-large);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/// Icon size adjustments
|
|
25
|
+
///
|
|
26
|
+
/// @access private
|
|
27
|
+
|
|
28
|
+
$_icon-sizes: (25%, 50%, 75%, 100%);
|
|
29
|
+
|
|
30
|
+
@each $size in $_icon-sizes {
|
|
31
|
+
$ratio: math.div(100% + $size, 100%); // 25% adjustment = 1.25
|
|
32
|
+
$name: "size-#{math.div($size, 1%)}"; // 25% adjustment = "size-25"
|
|
33
|
+
|
|
34
|
+
.nhsuk-icon--#{$name} {
|
|
35
|
+
width: nhsuk-px-to-rem($nhsuk-icon-size * $ratio);
|
|
36
|
+
height: nhsuk-px-to-rem($nhsuk-icon-size * $ratio);
|
|
37
|
+
|
|
38
|
+
@include nhsuk-media-query($from: tablet) {
|
|
39
|
+
width: nhsuk-px-to-rem($nhsuk-icon-size-large * $ratio);
|
|
40
|
+
height: nhsuk-px-to-rem($nhsuk-icon-size-large * $ratio);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/*# sourceMappingURL=_icons.scss.map */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "../settings" as *;
|
|
1
2
|
@use "../tools" as *;
|
|
2
3
|
|
|
3
4
|
////
|
|
@@ -8,7 +9,7 @@
|
|
|
8
9
|
///
|
|
9
10
|
/// 1. 'Random number' used to align ul and ol left with content.
|
|
10
11
|
/// 2. 'Random number' used to give sufficient spacing between text and icon.
|
|
11
|
-
/// 3.
|
|
12
|
+
/// 3. Align icon and text.
|
|
12
13
|
///
|
|
13
14
|
/// @group styles
|
|
14
15
|
///
|
|
@@ -19,9 +20,9 @@
|
|
|
19
20
|
////
|
|
20
21
|
|
|
21
22
|
%nhsuk-list {
|
|
22
|
-
list-style-type: none;
|
|
23
23
|
margin-top: 0;
|
|
24
24
|
padding-left: 0;
|
|
25
|
+
list-style-type: none;
|
|
25
26
|
|
|
26
27
|
@include nhsuk-font-size(19);
|
|
27
28
|
@include nhsuk-responsive-margin(4, "bottom");
|
|
@@ -42,8 +43,8 @@
|
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
%nhsuk-list--bullet {
|
|
46
|
+
padding-left: nhsuk-px-to-rem(20px); // [1]
|
|
45
47
|
list-style-type: disc;
|
|
46
|
-
padding-left: 20px; // [1]
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
.nhsuk-list--bullet {
|
|
@@ -51,8 +52,8 @@
|
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
%nhsuk-list--number {
|
|
55
|
+
padding-left: nhsuk-px-to-rem(20px); // [1]
|
|
54
56
|
list-style-type: decimal;
|
|
55
|
-
padding-left: 20px; // [1]
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
%nhsuk-list + h2,
|
|
@@ -102,14 +103,18 @@ ol {
|
|
|
102
103
|
|
|
103
104
|
.nhsuk-list--tick,
|
|
104
105
|
.nhsuk-list--cross {
|
|
105
|
-
list-style: none;
|
|
106
|
-
margin-top: 0;
|
|
107
|
-
padding-left: 40px; // [2]
|
|
108
106
|
position: relative;
|
|
107
|
+
margin-top: 0;
|
|
108
|
+
padding-left: nhsuk-px-to-rem($nhsuk-icon-size-large + nhsuk-spacing(1)); // [3]
|
|
109
|
+
list-style: none;
|
|
109
110
|
|
|
110
|
-
|
|
111
|
-
left: -4px; // [3]
|
|
112
|
-
margin-top: -5px; // [3]
|
|
111
|
+
.nhsuk-icon {
|
|
113
112
|
position: absolute;
|
|
113
|
+
left: nhsuk-px-to-rem(-4px); // [3]
|
|
114
|
+
width: nhsuk-px-to-rem($nhsuk-icon-size-large);
|
|
115
|
+
height: nhsuk-px-to-rem($nhsuk-icon-size-large);
|
|
116
|
+
margin-top: nhsuk-px-to-rem(-4px); // [3]
|
|
114
117
|
}
|
|
115
118
|
}
|
|
119
|
+
|
|
120
|
+
/*# sourceMappingURL=_lists.scss.map */
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
////
|
|
21
21
|
|
|
22
22
|
%nhsuk-section-break {
|
|
23
|
-
border: 0;
|
|
24
23
|
margin: 0;
|
|
24
|
+
border: 0;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.nhsuk-section-break {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
%nhsuk-section-break--visible {
|
|
59
|
-
border-bottom: 1px solid $nhsuk-border-
|
|
59
|
+
border-bottom: 1px solid $nhsuk-border-colour;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.nhsuk-section-break--visible {
|
|
@@ -69,3 +69,5 @@ hr {
|
|
|
69
69
|
@extend %nhsuk-section-break--l;
|
|
70
70
|
@extend %nhsuk-section-break--visible;
|
|
71
71
|
}
|
|
72
|
+
|
|
73
|
+
/*# sourceMappingURL=_section-break.scss.map */
|