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
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_main-wrapper.scss
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
@use "../tools" as *;
|
|
2
|
-
|
|
3
|
-
////
|
|
4
|
-
/// Page wrapper for the grid system
|
|
5
|
-
///
|
|
6
|
-
/// 1. In IE11 the `main` element can be used, but is not recognized –
|
|
7
|
-
/// meaning it's not defined in IE's default style sheet,
|
|
8
|
-
/// so it uses CSS initial value, which is inline
|
|
9
|
-
///
|
|
10
|
-
/// @group objects
|
|
11
|
-
/// @link https://github.com/alphagov/govuk-frontend Original code taken from GDS (Government Digital Service)
|
|
12
|
-
///
|
|
13
|
-
/// @example html
|
|
14
|
-
/// <div class="nhsuk-width-container">
|
|
15
|
-
/// <div class="nhsuk-main-wrapper">
|
|
16
|
-
/// <!-- Wrapper for the main content of your page which applies padding
|
|
17
|
-
/// to the top / bottom -->
|
|
18
|
-
/// </div>
|
|
19
|
-
/// </div>
|
|
20
|
-
////
|
|
21
|
-
|
|
22
|
-
@mixin _nhsuk-main-wrapper {
|
|
23
|
-
display: block; // [1]
|
|
24
|
-
padding-top: nhsuk-spacing(4);
|
|
25
|
-
padding-bottom: nhsuk-spacing(4);
|
|
26
|
-
@include nhsuk-top-and-bottom;
|
|
27
|
-
|
|
28
|
-
@include nhsuk-media-query($from: tablet) {
|
|
29
|
-
padding-top: nhsuk-spacing(7);
|
|
30
|
-
padding-bottom: nhsuk-spacing(7);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/// @deprecated To be removed in v10.0
|
|
35
|
-
|
|
36
|
-
@mixin govuk-main-wrapper {
|
|
37
|
-
@include nhsuk-warning(
|
|
38
|
-
"govuk-main-wrapper",
|
|
39
|
-
"govuk-main-wrapper is deprecated. Use `.nhsuk-main-wrapper` class instead."
|
|
40
|
-
);
|
|
41
|
-
@include _nhsuk-main-wrapper;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@mixin _nhsuk-main-wrapper--l {
|
|
45
|
-
padding-bottom: nhsuk-spacing(6);
|
|
46
|
-
padding-top: nhsuk-spacing(6);
|
|
47
|
-
|
|
48
|
-
@include nhsuk-media-query($from: tablet) {
|
|
49
|
-
padding-bottom: nhsuk-spacing(8);
|
|
50
|
-
padding-top: nhsuk-spacing(8);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/// @deprecated To be removed in v10.0
|
|
55
|
-
|
|
56
|
-
@mixin govuk-main-wrapper--l {
|
|
57
|
-
@include nhsuk-warning(
|
|
58
|
-
"govuk-main-wrapper--l",
|
|
59
|
-
"govuk-main-wrapper--l is deprecated. Use `.nhsuk-main-wrapper--l` class instead."
|
|
60
|
-
);
|
|
61
|
-
@include _nhsuk-main-wrapper--l;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@mixin _nhsuk-main-wrapper--s {
|
|
65
|
-
padding-top: nhsuk-spacing(3);
|
|
66
|
-
padding-bottom: nhsuk-spacing(3);
|
|
67
|
-
|
|
68
|
-
@include nhsuk-media-query($from: tablet) {
|
|
69
|
-
padding-top: nhsuk-spacing(4);
|
|
70
|
-
padding-bottom: nhsuk-spacing(4);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/// @deprecated To be removed in v10.0
|
|
75
|
-
|
|
76
|
-
@mixin govuk-main-wrapper--s {
|
|
77
|
-
@include nhsuk-warning(
|
|
78
|
-
"govuk-main-wrapper--s",
|
|
79
|
-
"govuk-main-wrapper--s is deprecated. Use `.nhsuk-main-wrapper--s` class instead."
|
|
80
|
-
);
|
|
81
|
-
@include _nhsuk-main-wrapper--s;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@include nhsuk-exports("nhsuk/core/objects/main-wrapper") {
|
|
85
|
-
.nhsuk-main-wrapper {
|
|
86
|
-
@include _nhsuk-main-wrapper;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.nhsuk-main-wrapper--l {
|
|
90
|
-
@include _nhsuk-main-wrapper--l;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.nhsuk-main-wrapper--s {
|
|
94
|
-
@include _nhsuk-main-wrapper--s;
|
|
95
|
-
}
|
|
96
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_width-container.scss
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
@use "../settings" as *;
|
|
2
|
-
@use "../tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Page width for the grid system
|
|
6
|
-
///
|
|
7
|
-
/// 1. On mobile, add half width gutters
|
|
8
|
-
/// 2. Limit the width of the container to the page width
|
|
9
|
-
/// 3. From desktop, add full width gutters
|
|
10
|
-
/// 4. As soon as the viewport is greater than the width of the page plus the
|
|
11
|
-
/// gutters, just centre the content instead of adding gutters.
|
|
12
|
-
/// 5. Full width container, spanning the entire width of the viewport
|
|
13
|
-
///
|
|
14
|
-
/// @group objects
|
|
15
|
-
/// @link https://github.com/alphagov/govuk-frontend Original code taken from GDS (Government Digital Service)
|
|
16
|
-
////
|
|
17
|
-
|
|
18
|
-
@mixin nhsuk-width-container {
|
|
19
|
-
margin: 0 $nhsuk-gutter-half; // [1]
|
|
20
|
-
|
|
21
|
-
max-width: $nhsuk-page-width; // [2]
|
|
22
|
-
|
|
23
|
-
@include nhsuk-media-query($from: desktop) {
|
|
24
|
-
margin: 0 $nhsuk-gutter; // [3]
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// [4]
|
|
28
|
-
@include nhsuk-media-query($and: "(min-width: #{($nhsuk-page-width + $nhsuk-gutter * 2)})") {
|
|
29
|
-
margin: 0 auto;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/// Page width for the grid system (deprecated)
|
|
34
|
-
///
|
|
35
|
-
/// @alias nhsuk-width-container
|
|
36
|
-
/// @deprecated To be removed in v11.0, replaced by nhsuk-width-container
|
|
37
|
-
|
|
38
|
-
@mixin govuk-width-container {
|
|
39
|
-
@include nhsuk-warning(
|
|
40
|
-
"govuk-width-container",
|
|
41
|
-
"govuk-width-container is deprecated. Use nhsuk-width-container instead."
|
|
42
|
-
);
|
|
43
|
-
@include nhsuk-width-container;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@mixin nhsuk-width-container-fluid {
|
|
47
|
-
margin: 0 $nhsuk-gutter-half;
|
|
48
|
-
max-width: 100%; // [5]
|
|
49
|
-
|
|
50
|
-
@include nhsuk-media-query($from: desktop) {
|
|
51
|
-
margin: 0 $nhsuk-gutter; // [3]
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@include nhsuk-exports("nhsuk/core/objects/width-container") {
|
|
56
|
-
.nhsuk-width-container {
|
|
57
|
-
@include nhsuk-width-container;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.nhsuk-width-container-fluid {
|
|
61
|
-
@include nhsuk-width-container-fluid;
|
|
62
|
-
}
|
|
63
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_breakpoints.scss
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
////
|
|
2
|
-
/// Breakpoint definitions
|
|
3
|
-
///
|
|
4
|
-
/// @group settings
|
|
5
|
-
////
|
|
6
|
-
|
|
7
|
-
$nhsuk-breakpoints: (
|
|
8
|
-
mobile: 320px,
|
|
9
|
-
tablet: 641px,
|
|
10
|
-
desktop: 769px,
|
|
11
|
-
large-desktop: 990px
|
|
12
|
-
) !default;
|
|
13
|
-
|
|
14
|
-
/// Show active breakpoint in top-right corner.
|
|
15
|
-
///
|
|
16
|
-
/// Only use this during local development.
|
|
17
|
-
|
|
18
|
-
$nhsuk-show-breakpoints: false !default;
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
|
|
3
|
-
////
|
|
4
|
-
/// NHS colour palette
|
|
5
|
-
///
|
|
6
|
-
/// Colours are prefixed with color_ to make them easier to
|
|
7
|
-
/// search for within the code base.
|
|
8
|
-
///
|
|
9
|
-
/// We also prefix them with nhsuk- to prevent clashing with
|
|
10
|
-
/// other colours in existing code bases.
|
|
11
|
-
///
|
|
12
|
-
/// We use the word color, not colour, for variables.
|
|
13
|
-
///
|
|
14
|
-
/// @group settings
|
|
15
|
-
////
|
|
16
|
-
|
|
17
|
-
// stylelint-disable color-no-hex
|
|
18
|
-
|
|
19
|
-
$color_nhsuk-blue: #005eb8;
|
|
20
|
-
$color_nhsuk-white: #ffffff;
|
|
21
|
-
$color_nhsuk-black: #212b32;
|
|
22
|
-
$color_nhsuk-green: #007f3b;
|
|
23
|
-
$color_nhsuk-purple: #330072;
|
|
24
|
-
$color_nhsuk-dark-pink: #7c2855;
|
|
25
|
-
$color_nhsuk-red: #d5281b;
|
|
26
|
-
$color_nhsuk-yellow: #ffeb3b;
|
|
27
|
-
|
|
28
|
-
/// Secondary colours
|
|
29
|
-
|
|
30
|
-
$color_nhsuk-pale-yellow: #fff9c4;
|
|
31
|
-
$color_nhsuk-warm-yellow: #ffb81c;
|
|
32
|
-
$color_nhsuk-orange: #ed8b00;
|
|
33
|
-
$color_nhsuk-aqua-green: #00a499;
|
|
34
|
-
$color_nhsuk-pink: #ae2573;
|
|
35
|
-
|
|
36
|
-
/// Greyscale
|
|
37
|
-
|
|
38
|
-
$color_nhsuk-grey-1: #4c6272;
|
|
39
|
-
$color_nhsuk-grey-2: #768692;
|
|
40
|
-
$color_nhsuk-grey-3: #aeb7bd;
|
|
41
|
-
$color_nhsuk-grey-4: #d8dde0;
|
|
42
|
-
$color_nhsuk-grey-5: #f0f4f5;
|
|
43
|
-
|
|
44
|
-
// stylelint-enable color-no-hex
|
|
45
|
-
|
|
46
|
-
/// RGB and alpha values
|
|
47
|
-
///
|
|
48
|
-
/// Used to create drop/box shadows e.g. for search suggestions dropdown
|
|
49
|
-
///
|
|
50
|
-
|
|
51
|
-
$color_nhsuk-grey-1-rgb: rgb(66, 84, 98);
|
|
52
|
-
$alpha-transparency-50: 0.5;
|
|
53
|
-
|
|
54
|
-
/// Tint function
|
|
55
|
-
///
|
|
56
|
-
/// @example scss
|
|
57
|
-
/// nhsuk-tint(color, percentage);
|
|
58
|
-
/// nhsuk-tint($color_nhsuk-black, 10%);
|
|
59
|
-
///
|
|
60
|
-
|
|
61
|
-
@function nhsuk-tint($color, $percentage) {
|
|
62
|
-
@return color.mix(white, $color, $percentage);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/// Tint function (deprecated)
|
|
66
|
-
///
|
|
67
|
-
/// @alias nhsuk-tint
|
|
68
|
-
/// @deprecated To be removed in v10.0, replaced by nhsuk-tint
|
|
69
|
-
|
|
70
|
-
@function tint($color, $percentage) {
|
|
71
|
-
@warn "The `tint` function will be removed in a future release, use `nhsuk-tint` instead.";
|
|
72
|
-
@return nhsuk-tint($color, $percentage);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/// Shade function
|
|
76
|
-
///
|
|
77
|
-
/// @example scss
|
|
78
|
-
/// nhsuk-shade(color, percentage);
|
|
79
|
-
/// nhsuk-shade($color_nhsuk-blue, 50%);
|
|
80
|
-
///
|
|
81
|
-
|
|
82
|
-
@function nhsuk-shade($color, $percentage) {
|
|
83
|
-
@return color.mix(black, $color, $percentage);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/// Shade function (deprecated)
|
|
87
|
-
///
|
|
88
|
-
/// @alias nhsuk-shade
|
|
89
|
-
/// @deprecated To be removed in v10.0, replaced by nhsuk-shade
|
|
90
|
-
|
|
91
|
-
@function shade($color, $percentage) {
|
|
92
|
-
@warn "The `shade` function will be removed in a future release, use `nhsuk-shade` instead.";
|
|
93
|
-
@return nhsuk-shade($color, $percentage);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/// Primary colour variations
|
|
97
|
-
///
|
|
98
|
-
/// 1. used for link :active states
|
|
99
|
-
/// 2. used for .is-active state on main navigation
|
|
100
|
-
/// 3. used for :hover states on main navigation
|
|
101
|
-
/// 4. used for :active states on main navigation
|
|
102
|
-
/// 5. used for primary button and action link icon :hover states
|
|
103
|
-
/// 6. used for primary button and action link icon :active states
|
|
104
|
-
|
|
105
|
-
$color_tint_nhsuk-black-10: nhsuk-tint($color_nhsuk-black, 10%); // [1]
|
|
106
|
-
|
|
107
|
-
$color_shade_nhsuk-blue-20: nhsuk-shade($color_nhsuk-blue, 20%); // [2]
|
|
108
|
-
$color_shade_nhsuk-blue-35: nhsuk-shade($color_nhsuk-blue, 35%); // [3]
|
|
109
|
-
$color_shade_nhsuk-blue-50: nhsuk-shade($color_nhsuk-blue, 50%); // [4]
|
|
110
|
-
|
|
111
|
-
$color_shade_nhsuk-green-35: nhsuk-shade($color_nhsuk-green, 35%); // [5]
|
|
112
|
-
$color_shade_nhsuk-green-50: nhsuk-shade($color_nhsuk-green, 50%); // [6]
|
|
113
|
-
|
|
114
|
-
$color_transparent_nhsuk-white-20: rgba($color_nhsuk-white, 0.2);
|
|
115
|
-
$color_transparent_nhsuk-blue-50: rgba($color_shade_nhsuk-blue-50, 0.1);
|
|
116
|
-
|
|
117
|
-
/// Colour aliases
|
|
118
|
-
|
|
119
|
-
/// Text
|
|
120
|
-
|
|
121
|
-
$nhsuk-text-color: $color_nhsuk-black;
|
|
122
|
-
$nhsuk-reverse-text-color: $color_nhsuk-white;
|
|
123
|
-
$nhsuk-secondary-text-color: $color_nhsuk-grey-1;
|
|
124
|
-
$nhsuk-print-text-color: $color_nhsuk-black;
|
|
125
|
-
// stylelint-disable-next-line color-no-hex
|
|
126
|
-
$nhsuk-footer-link-text-color: #003087;
|
|
127
|
-
// stylelint-disable-next-line color-no-hex
|
|
128
|
-
$nhsuk-footer-copyright-text-color: #231f20;
|
|
129
|
-
|
|
130
|
-
/// Links
|
|
131
|
-
|
|
132
|
-
$nhsuk-link-color: $color_nhsuk-blue;
|
|
133
|
-
$nhsuk-link-hover-color: $color_nhsuk-dark-pink;
|
|
134
|
-
$nhsuk-link-active-color: nhsuk-shade($nhsuk-link-color, 50%);
|
|
135
|
-
$nhsuk-link-visited-color: $color_nhsuk-purple;
|
|
136
|
-
|
|
137
|
-
/// Focus
|
|
138
|
-
|
|
139
|
-
$nhsuk-focus-color: $color_nhsuk-yellow;
|
|
140
|
-
$nhsuk-focus-text-color: $color_nhsuk-black;
|
|
141
|
-
|
|
142
|
-
/// Border
|
|
143
|
-
|
|
144
|
-
$nhsuk-border-color: $color_nhsuk-grey-4;
|
|
145
|
-
$nhsuk-secondary-border-color: $color_transparent_nhsuk-white-20;
|
|
146
|
-
|
|
147
|
-
/// Box shadow
|
|
148
|
-
|
|
149
|
-
$nhsuk-box-shadow: rgba(33, 43, 50, 0.16);
|
|
150
|
-
$nhsuk-box-shadow-color: $color_nhsuk-grey-1-rgb;
|
|
151
|
-
|
|
152
|
-
/// Forms
|
|
153
|
-
|
|
154
|
-
$nhsuk-error-color: $color_nhsuk-red;
|
|
155
|
-
$nhsuk-form-border-color: $color_nhsuk-grey-1;
|
|
156
|
-
$nhsuk-form-element-background-color: $color_nhsuk-white;
|
|
157
|
-
|
|
158
|
-
/// Buttons
|
|
159
|
-
|
|
160
|
-
$nhsuk-button-color: $color_nhsuk-green;
|
|
161
|
-
$nhsuk-button-text-color: $color_nhsuk-white;
|
|
162
|
-
$nhsuk-button-hover-color: nhsuk-shade($nhsuk-button-color, 20%);
|
|
163
|
-
$nhsuk-button-active-color: nhsuk-shade($nhsuk-button-color, 50%);
|
|
164
|
-
$nhsuk-button-shadow-color: nhsuk-shade($nhsuk-button-color, 50%);
|
|
165
|
-
|
|
166
|
-
$nhsuk-secondary-button-color: transparent;
|
|
167
|
-
$nhsuk-secondary-button-solid-background-color: $color_nhsuk-white;
|
|
168
|
-
$nhsuk-secondary-button-border-color: $color_nhsuk-blue;
|
|
169
|
-
$nhsuk-secondary-button-text-color: $color_nhsuk-blue;
|
|
170
|
-
$nhsuk-secondary-button-hover-color: nhsuk-tint($nhsuk-secondary-button-border-color, 85%);
|
|
171
|
-
$nhsuk-secondary-button-active-color: nhsuk-tint($nhsuk-secondary-button-border-color, 78%);
|
|
172
|
-
$nhsuk-secondary-button-shadow-color: $nhsuk-secondary-button-border-color;
|
|
173
|
-
|
|
174
|
-
$nhsuk-reverse-button-color: $color_nhsuk-white;
|
|
175
|
-
$nhsuk-reverse-button-text-color: $color_nhsuk-black;
|
|
176
|
-
$nhsuk-reverse-button-hover-color: nhsuk-shade($nhsuk-reverse-button-color, 15%);
|
|
177
|
-
$nhsuk-reverse-button-active-color: nhsuk-shade($nhsuk-reverse-button-color, 30%);
|
|
178
|
-
$nhsuk-reverse-button-shadow-color: nhsuk-shade($nhsuk-reverse-button-color, 30%);
|
|
179
|
-
|
|
180
|
-
$nhsuk-warning-button-color: $color_nhsuk-red;
|
|
181
|
-
$nhsuk-warning-button-hover-color: nhsuk-shade($nhsuk-warning-button-color, 20%);
|
|
182
|
-
$nhsuk-warning-button-active-color: nhsuk-shade($nhsuk-warning-button-color, 50%);
|
|
183
|
-
$nhsuk-warning-button-shadow-color: nhsuk-shade($nhsuk-warning-button-color, 50%);
|
|
184
|
-
|
|
185
|
-
$nhsuk-login-button-color: $color_nhsuk-blue;
|
|
186
|
-
$nhsuk-login-button-hover-color: nhsuk-shade($nhsuk-login-button-color, 20%);
|
|
187
|
-
$nhsuk-login-button-active-color: nhsuk-shade($nhsuk-login-button-color, 50%);
|
|
188
|
-
$nhsuk-login-button-shadow-color: nhsuk-shade($nhsuk-login-button-color, 50%);
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
////
|
|
4
|
-
/// Globals
|
|
5
|
-
///
|
|
6
|
-
/// @group settings
|
|
7
|
-
////
|
|
8
|
-
|
|
9
|
-
/// Fonts
|
|
10
|
-
///
|
|
11
|
-
/// 1. Fallback fonts if Frutiger fails to load
|
|
12
|
-
|
|
13
|
-
$nhsuk-font: "Frutiger W01" !default;
|
|
14
|
-
$nhsuk-font-fallback: arial, sans-serif !default; // [1]
|
|
15
|
-
$nhsuk-font-family-print: sans-serif !default;
|
|
16
|
-
$nhsuk-font-bold: 600 !default;
|
|
17
|
-
$nhsuk-font-normal: 400 !default;
|
|
18
|
-
$nhsuk-font-light: $nhsuk-font-normal !default;
|
|
19
|
-
$nhsuk-fonts-path: "https://assets.nhs.uk/fonts/" !default;
|
|
20
|
-
$nhsuk-include-font-face: true !default;
|
|
21
|
-
|
|
22
|
-
/// Font sizing and spacing
|
|
23
|
-
|
|
24
|
-
$nhsuk-base-font-size: 16px !default;
|
|
25
|
-
$nhsuk-base-line-height: 24px !default;
|
|
26
|
-
|
|
27
|
-
/// Icon default sizing
|
|
28
|
-
|
|
29
|
-
$nhsuk-icon-size: 34px !default;
|
|
30
|
-
|
|
31
|
-
/// Grid spacing
|
|
32
|
-
|
|
33
|
-
$nhsuk-page-width: 960px !default;
|
|
34
|
-
$nhsuk-gutter: 32px;
|
|
35
|
-
$nhsuk-gutter-half: math.div($nhsuk-gutter, 2);
|
|
36
|
-
|
|
37
|
-
/// Map of grid column widths
|
|
38
|
-
|
|
39
|
-
$nhsuk-grid-widths: (
|
|
40
|
-
one-quarter: math.percentage(math.div(1, 4)),
|
|
41
|
-
one-third: math.percentage(math.div(1, 3)),
|
|
42
|
-
one-half: math.percentage(math.div(1, 2)),
|
|
43
|
-
two-thirds: math.percentage(math.div(2, 3)),
|
|
44
|
-
three-quarters: math.percentage(math.div(3, 4)),
|
|
45
|
-
full: 100%
|
|
46
|
-
) !default;
|
|
47
|
-
|
|
48
|
-
/// Border sizes
|
|
49
|
-
|
|
50
|
-
$nhsuk-border-width-inset-text: 8px !default;
|
|
51
|
-
$nhsuk-care-card-triangle-border: 16px !default;
|
|
52
|
-
$nhsuk-hero-content-triangle-border: 16px !default;
|
|
53
|
-
$nhsuk-hero-border: 1px !default;
|
|
54
|
-
$nhsuk-border-table-header-width: 2px !default;
|
|
55
|
-
$nhsuk-border-table-cell-width: 1px !default;
|
|
56
|
-
|
|
57
|
-
/// Border radius
|
|
58
|
-
|
|
59
|
-
$nhsuk-border-radius: 4px !default;
|
|
60
|
-
|
|
61
|
-
/// Box shadow
|
|
62
|
-
|
|
63
|
-
$nhsuk-box-shadow-spread: 4px !default;
|
|
64
|
-
$nhsuk-box-shadow-blur: 4px !default;
|
|
65
|
-
$nhsuk-box-shadow-link: 4px !default;
|
|
66
|
-
$nhsuk-box-details: 8px !default;
|
|
67
|
-
$nhsuk-box-expander: 4px !default;
|
|
68
|
-
$nhsuk-box-shadow-pagination: 16px !default;
|
|
69
|
-
$nhsuk-box-shadow-link: 4px !default;
|
|
70
|
-
|
|
71
|
-
/// Header spacing
|
|
72
|
-
|
|
73
|
-
$nhsuk-header-spacing: 20px;
|
|
74
|
-
|
|
75
|
-
/// Form elements
|
|
76
|
-
|
|
77
|
-
$nhsuk-border-width-form-element: 2px !default;
|
|
78
|
-
$nhsuk-border-width-form-element-error: 2px !default;
|
|
79
|
-
$nhsuk-focus-width: 4px !default;
|
|
80
|
-
$nhsuk-border-width: 4px !default;
|
|
81
|
-
$nhsuk-border-width-mobile: 4px !default;
|
|
82
|
-
$nhsuk-border-width-form-group-error: $nhsuk-border-width !default;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
@use "../settings" as *;
|
|
2
|
-
|
|
3
|
-
////
|
|
4
|
-
/// Icons
|
|
5
|
-
///
|
|
6
|
-
/// @group styles
|
|
7
|
-
////
|
|
8
|
-
|
|
9
|
-
/// Default icon size
|
|
10
|
-
|
|
11
|
-
.nhsuk-icon {
|
|
12
|
-
height: $nhsuk-icon-size;
|
|
13
|
-
width: $nhsuk-icon-size;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/// Default icon colours
|
|
17
|
-
|
|
18
|
-
.nhsuk-icon__search {
|
|
19
|
-
fill: $color_nhsuk-blue;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.nhsuk-icon__chevron-left {
|
|
23
|
-
fill: $color_nhsuk-blue;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.nhsuk-icon__chevron-right {
|
|
27
|
-
fill: $color_nhsuk-blue;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.nhsuk-icon__close {
|
|
31
|
-
fill: $color_nhsuk-blue;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.nhsuk-icon__cross {
|
|
35
|
-
fill: $color_nhsuk-red;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.nhsuk-icon__tick {
|
|
39
|
-
stroke: $color_nhsuk-green;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.nhsuk-icon__arrow-right {
|
|
43
|
-
fill: $color_nhsuk-blue;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.nhsuk-icon__arrow-left {
|
|
47
|
-
fill: $color_nhsuk-blue;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.nhsuk-icon__arrow-right-circle {
|
|
51
|
-
fill: $color_nhsuk-green;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.nhsuk-icon__chevron-down {
|
|
55
|
-
fill: currentcolor;
|
|
56
|
-
height: 24px;
|
|
57
|
-
position: absolute;
|
|
58
|
-
right: 4px;
|
|
59
|
-
transform: rotate(90deg);
|
|
60
|
-
width: 24px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.nhsuk-icon__chevron-up {
|
|
64
|
-
fill: $color_nhsuk-blue;
|
|
65
|
-
|
|
66
|
-
path {
|
|
67
|
-
fill: $color_nhsuk-white;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.nhsuk-icon__emdash {
|
|
72
|
-
path {
|
|
73
|
-
fill: $color_nhsuk-grey-3;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.nhsuk-icon__plus {
|
|
78
|
-
fill: $color_nhsuk-blue;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.nhsuk-icon__minus {
|
|
82
|
-
fill: $color_nhsuk-blue;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/// Icon size adjustments
|
|
86
|
-
|
|
87
|
-
.nhsuk-icon--size-25 {
|
|
88
|
-
height: $nhsuk-icon-size * 1.25;
|
|
89
|
-
width: $nhsuk-icon-size * 1.25;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.nhsuk-icon--size-50 {
|
|
93
|
-
height: $nhsuk-icon-size * 1.5;
|
|
94
|
-
width: $nhsuk-icon-size * 1.5;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.nhsuk-icon--size-75 {
|
|
98
|
-
height: $nhsuk-icon-size * 1.75;
|
|
99
|
-
width: $nhsuk-icon-size * 1.75;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.nhsuk-icon--size-100 {
|
|
103
|
-
height: $nhsuk-icon-size * 2;
|
|
104
|
-
width: $nhsuk-icon-size * 2;
|
|
105
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
@use "../settings" as *;
|
|
2
|
-
|
|
3
|
-
////
|
|
4
|
-
/// Focused
|
|
5
|
-
///
|
|
6
|
-
/// @group tools
|
|
7
|
-
////
|
|
8
|
-
|
|
9
|
-
/// Focused text
|
|
10
|
-
///
|
|
11
|
-
/// Provides an outline to clearly indicate when the target element is focused.
|
|
12
|
-
/// Used for interactive text-based elements.
|
|
13
|
-
|
|
14
|
-
@mixin nhsuk-focused-text {
|
|
15
|
-
background-color: $nhsuk-focus-color;
|
|
16
|
-
box-shadow:
|
|
17
|
-
0 -2px $nhsuk-focus-color,
|
|
18
|
-
0 $nhsuk-focus-width $nhsuk-focus-text-color;
|
|
19
|
-
|
|
20
|
-
// When colours are overridden, for example when users have a dark mode,
|
|
21
|
-
// backgrounds and box-shadows disappear, so we need to ensure there's a
|
|
22
|
-
// transparent outline which will be set to a visible colour.
|
|
23
|
-
outline: $nhsuk-focus-width solid transparent;
|
|
24
|
-
|
|
25
|
-
// When link is focussed, hide the default underline since the
|
|
26
|
-
// box shadow adds the "underline"
|
|
27
|
-
text-decoration: none;
|
|
28
|
-
|
|
29
|
-
&,
|
|
30
|
-
.nhsuk-icon {
|
|
31
|
-
color: $nhsuk-focus-text-color;
|
|
32
|
-
fill: $nhsuk-focus-text-color;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/// Focused input (form elements)
|
|
37
|
-
///
|
|
38
|
-
/// Provides an additional outline and border to clearly indicate when
|
|
39
|
-
/// the target element has focus. Used for interactive input-based elements such
|
|
40
|
-
/// as text inputs.
|
|
41
|
-
|
|
42
|
-
@mixin nhsuk-focused-input {
|
|
43
|
-
border: 2px solid $nhsuk-focus-text-color;
|
|
44
|
-
box-shadow: inset 0 0 0 2px;
|
|
45
|
-
outline: $nhsuk-focus-width solid $nhsuk-focus-color; // [1]
|
|
46
|
-
outline-offset: 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/// Focused radio input (form element)
|
|
50
|
-
///
|
|
51
|
-
/// Provides an additional outline and border to clearly indicate when
|
|
52
|
-
/// the target element has focus. Used by radios.
|
|
53
|
-
|
|
54
|
-
@mixin nhsuk-focused-radio {
|
|
55
|
-
border: $nhsuk-focus-width solid $nhsuk-focus-text-color;
|
|
56
|
-
box-shadow: 0 0 0 $nhsuk-focus-width $nhsuk-focus-color;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/// Focused checkbox input (form element)
|
|
60
|
-
///
|
|
61
|
-
/// Provides an additional outline and border to clearly indicate when
|
|
62
|
-
/// the target element has focus. Used by checkbox.
|
|
63
|
-
|
|
64
|
-
@mixin nhsuk-focused-checkbox {
|
|
65
|
-
border: $nhsuk-focus-width solid $nhsuk-focus-text-color;
|
|
66
|
-
box-shadow: 0 0 0 $nhsuk-focus-width $nhsuk-focus-color;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/// Focused button
|
|
70
|
-
///
|
|
71
|
-
/// Provides an additional outline and background to clearly indicate when
|
|
72
|
-
/// the target element has focus. Used for buttons.
|
|
73
|
-
|
|
74
|
-
@mixin nhsuk-focused-button {
|
|
75
|
-
background-color: $nhsuk-focus-color;
|
|
76
|
-
box-shadow: 0 $nhsuk-focus-width 0 0 $nhsuk-focus-text-color;
|
|
77
|
-
color: $nhsuk-focus-text-color;
|
|
78
|
-
outline: $nhsuk-focus-width solid transparent; // [1]
|
|
79
|
-
outline-offset: $nhsuk-focus-width;
|
|
80
|
-
|
|
81
|
-
&,
|
|
82
|
-
.nhsuk-icon {
|
|
83
|
-
color: $nhsuk-focus-text-color;
|
|
84
|
-
fill: $nhsuk-focus-text-color;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@use "../settings" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Functions
|
|
6
|
-
///
|
|
7
|
-
/// @group tools
|
|
8
|
-
////
|
|
9
|
-
|
|
10
|
-
/// Convert pixels to em
|
|
11
|
-
///
|
|
12
|
-
/// A quick way to convert px into em
|
|
13
|
-
///
|
|
14
|
-
/// @example scss
|
|
15
|
-
/// nhsuk-em(20px, $nhsuk-base-font-size);
|
|
16
|
-
///
|
|
17
|
-
/// @link https://github.com/alphagov/govuk-frontend Original code taken from GDS (Government Digital Service)
|
|
18
|
-
|
|
19
|
-
@function nhsuk-em($value, $context-font-size) {
|
|
20
|
-
@if math.is-unitless($value) {
|
|
21
|
-
$value: $value * 1px;
|
|
22
|
-
}
|
|
23
|
-
@if math.is-unitless($context-font-size) {
|
|
24
|
-
$context-font-size: $context-font-size * 1px;
|
|
25
|
-
}
|
|
26
|
-
@return math.div($value, $context-font-size) * 1em;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/// Convert pixels to rem
|
|
30
|
-
///
|
|
31
|
-
/// A quick way to convert px into rem
|
|
32
|
-
///
|
|
33
|
-
/// @example scss
|
|
34
|
-
/// nhsuk-px-to-rem(20px);
|
|
35
|
-
///
|
|
36
|
-
/// The $nhsuk-base-font-size (defined in settings/_globals.scss)
|
|
37
|
-
/// must be configured to match the font-size of your root (html) element
|
|
38
|
-
|
|
39
|
-
@function nhsuk-px-to-rem($value) {
|
|
40
|
-
@if math.is-unitless($value) {
|
|
41
|
-
$value: $value * 1px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@return math.div($value, $nhsuk-base-font-size) * 1rem;
|
|
45
|
-
}
|