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
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Label component
|
|
6
|
-
///
|
|
7
|
-
/// @group components
|
|
8
|
-
////
|
|
9
|
-
|
|
10
|
-
.nhsuk-label {
|
|
11
|
-
display: block;
|
|
12
|
-
margin-bottom: nhsuk-spacing(1);
|
|
13
|
-
|
|
14
|
-
@include nhsuk-font(19);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Modifiers that make labels look more like their equivalent headings
|
|
18
|
-
.nhsuk-label--xl,
|
|
19
|
-
.nhsuk-label--l,
|
|
20
|
-
.nhsuk-label--m {
|
|
21
|
-
font-weight: $nhsuk-font-bold;
|
|
22
|
-
margin-top: 0;
|
|
23
|
-
margin-bottom: nhsuk-spacing(3);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.nhsuk-label--xl {
|
|
27
|
-
@include nhsuk-font-size(48);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.nhsuk-label--l {
|
|
31
|
-
@include nhsuk-font-size(36);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.nhsuk-label--m {
|
|
35
|
-
@include nhsuk-font-size(26);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.nhsuk-label--s {
|
|
39
|
-
font-weight: $nhsuk-font-bold;
|
|
40
|
-
margin-top: 0;
|
|
41
|
-
|
|
42
|
-
@include nhsuk-font-size(19);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// When the label is nested inside a heading, override the heading so that it
|
|
46
|
-
// does not have a margin. Effectively we want to be able to treat the heading
|
|
47
|
-
// as if it is not there.
|
|
48
|
-
//
|
|
49
|
-
// This breaks BEM conventions because it exists as a parent of the 'block',
|
|
50
|
-
// so we can't really consider an element.
|
|
51
|
-
.nhsuk-label-wrapper {
|
|
52
|
-
margin: 0;
|
|
53
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/pagination/_index.scss
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Pagination component
|
|
6
|
-
///
|
|
7
|
-
/// 1. Padding to give the icon spacing.
|
|
8
|
-
/// 2. Append the word 'page' after next and
|
|
9
|
-
/// previous on print stylesheets to make it easier
|
|
10
|
-
/// to understand in print context.
|
|
11
|
-
///
|
|
12
|
-
/// @group components
|
|
13
|
-
////
|
|
14
|
-
|
|
15
|
-
.nhsuk-pagination {
|
|
16
|
-
@include nhsuk-responsive-margin(7, "top");
|
|
17
|
-
@include nhsuk-responsive-margin(7, "bottom");
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.nhsuk-pagination__list {
|
|
21
|
-
@include nhsuk-clearfix;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.nhsuk-pagination-item--previous {
|
|
25
|
-
float: left;
|
|
26
|
-
text-align: left;
|
|
27
|
-
width: 50%;
|
|
28
|
-
|
|
29
|
-
.nhsuk-icon {
|
|
30
|
-
left: -6px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.nhsuk-pagination__title {
|
|
34
|
-
padding-left: nhsuk-spacing(5); // [1]
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.nhsuk-pagination-item--next {
|
|
39
|
-
float: right;
|
|
40
|
-
text-align: right;
|
|
41
|
-
width: 50%;
|
|
42
|
-
|
|
43
|
-
.nhsuk-icon {
|
|
44
|
-
right: -6px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.nhsuk-pagination__title {
|
|
48
|
-
padding-right: nhsuk-spacing(5); // [1]
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.nhsuk-pagination__link {
|
|
53
|
-
display: block;
|
|
54
|
-
position: relative;
|
|
55
|
-
text-decoration: none;
|
|
56
|
-
width: 100%;
|
|
57
|
-
|
|
58
|
-
@include nhsuk-media-query($media-type: print) {
|
|
59
|
-
color: $color_nhsuk-black;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.nhsuk-icon {
|
|
63
|
-
position: absolute;
|
|
64
|
-
top: -2px;
|
|
65
|
-
|
|
66
|
-
@include nhsuk-media-query($media-type: print) {
|
|
67
|
-
color: $color_nhsuk-black;
|
|
68
|
-
margin-top: 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.nhsuk-pagination__title {
|
|
74
|
-
display: block;
|
|
75
|
-
|
|
76
|
-
@include nhsuk-font-size(26);
|
|
77
|
-
|
|
78
|
-
@include nhsuk-media-query($media-type: print) {
|
|
79
|
-
&::after {
|
|
80
|
-
content: " page"; // [2]
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.nhsuk-pagination__page {
|
|
86
|
-
display: block;
|
|
87
|
-
text-decoration: underline;
|
|
88
|
-
|
|
89
|
-
@include nhsuk-font-size(16);
|
|
90
|
-
|
|
91
|
-
.nhsuk-pagination__link:hover &,
|
|
92
|
-
.nhsuk-pagination__link:focus & {
|
|
93
|
-
text-decoration: none;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Panel component
|
|
6
|
-
///
|
|
7
|
-
/// 1. Adds a transparent border for high contrast modes
|
|
8
|
-
/// 2. This subtracts the transparent border width from the padding (because the border
|
|
9
|
-
/// visually adds to the total padding)
|
|
10
|
-
/// 3. This is an if-all-else-fails attempt to stop long words from overflowing the container
|
|
11
|
-
/// on very narrow viewports by forcing them to break and wrap instead. This
|
|
12
|
-
/// overflowing is more likely to happen when user increases text size on a mobile eg. using
|
|
13
|
-
/// iOS Safari text resize controls.
|
|
14
|
-
|
|
15
|
-
/// The overflowing is a particular problem with the panel component since it uses white
|
|
16
|
-
/// text: when the text overflows the container, it is invisible on the white (page)
|
|
17
|
-
/// background. When the text in our other components overflow, the user might have to scroll
|
|
18
|
-
/// horizontally to view it but the text remains legible.
|
|
19
|
-
///
|
|
20
|
-
/// @group components
|
|
21
|
-
/// @link https://github.com/alphagov/govuk-frontend Original code taken from GDS (Government Digital Service)
|
|
22
|
-
////
|
|
23
|
-
|
|
24
|
-
$nhsuk-border-width-panel: nhsuk-spacing(1);
|
|
25
|
-
|
|
26
|
-
.nhsuk-panel {
|
|
27
|
-
background: $color_nhsuk-green;
|
|
28
|
-
border: $nhsuk-border-width-panel solid transparent; /* [1] */
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
color: $color_nhsuk-white;
|
|
31
|
-
padding: nhsuk-spacing(5) - $nhsuk-border-width-panel; /* [2] */
|
|
32
|
-
|
|
33
|
-
@include nhsuk-font-size(26);
|
|
34
|
-
@include nhsuk-responsive-margin(4, "bottom");
|
|
35
|
-
|
|
36
|
-
@include nhsuk-media-query($until: tablet) {
|
|
37
|
-
padding: nhsuk-spacing(4) - $nhsuk-border-width-panel; /* [2] */
|
|
38
|
-
@include nhsuk-text-break-word; /* [3] */
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@include nhsuk-media-query($media-type: print) {
|
|
42
|
-
border-color: currentcolor;
|
|
43
|
-
color: $nhsuk-print-text-color;
|
|
44
|
-
background: none;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.nhsuk-panel__title {
|
|
49
|
-
margin-top: 0;
|
|
50
|
-
|
|
51
|
-
@include nhsuk-font-size(48);
|
|
52
|
-
@include nhsuk-responsive-margin(5, "bottom");
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.nhsuk-panel__title:last-child {
|
|
56
|
-
margin-bottom: 0;
|
|
57
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/radios/_index.scss
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@use "../../core/settings" as *;
|
|
3
|
-
@use "../../core/tools" as *;
|
|
4
|
-
|
|
5
|
-
////
|
|
6
|
-
/// Radios component
|
|
7
|
-
///
|
|
8
|
-
/// 1. remove 300ms pause on mobile.
|
|
9
|
-
/// 2. Fix bug in IE11 caused by transform rotate (-45deg).
|
|
10
|
-
///
|
|
11
|
-
/// @group components
|
|
12
|
-
////
|
|
13
|
-
|
|
14
|
-
$nhsuk-radios-size: nhsuk-spacing(6);
|
|
15
|
-
$nhsuk-radios-label-padding-left-right: 12px;
|
|
16
|
-
// When the default focus width is used on a curved edge it looks visually smaller.
|
|
17
|
-
// So for the circular radios we bump the default to make it look visually consistent.
|
|
18
|
-
$nhsuk-radios-focus-width: $nhsuk-focus-width + 1px;
|
|
19
|
-
|
|
20
|
-
.nhsuk-radios__item {
|
|
21
|
-
clear: left;
|
|
22
|
-
display: block;
|
|
23
|
-
margin-bottom: nhsuk-spacing(2);
|
|
24
|
-
min-height: $nhsuk-radios-size;
|
|
25
|
-
padding: 0 0 0 $nhsuk-radios-size;
|
|
26
|
-
position: relative;
|
|
27
|
-
|
|
28
|
-
@include nhsuk-font(19);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.nhsuk-radios__item:last-child,
|
|
32
|
-
.nhsuk-radios__item:last-of-type {
|
|
33
|
-
margin-bottom: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.nhsuk-radios__input {
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
height: $nhsuk-radios-size;
|
|
39
|
-
left: 0;
|
|
40
|
-
margin: 0;
|
|
41
|
-
opacity: 0;
|
|
42
|
-
position: absolute;
|
|
43
|
-
top: 0;
|
|
44
|
-
width: $nhsuk-radios-size;
|
|
45
|
-
z-index: 1;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.nhsuk-radios__label {
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
display: inline-block;
|
|
51
|
-
margin-bottom: 0;
|
|
52
|
-
padding: 8px $nhsuk-radios-label-padding-left-right nhsuk-spacing(1);
|
|
53
|
-
-ms-touch-action: manipulation; // [1]
|
|
54
|
-
touch-action: manipulation; // [1]
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.nhsuk-radios__hint {
|
|
58
|
-
display: block;
|
|
59
|
-
padding-left: $nhsuk-radios-label-padding-left-right;
|
|
60
|
-
padding-right: $nhsuk-radios-label-padding-left-right;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.nhsuk-radios__input + .nhsuk-radios__label::before {
|
|
64
|
-
background: $nhsuk-form-element-background-color;
|
|
65
|
-
border: $nhsuk-border-width-form-element solid $nhsuk-form-border-color;
|
|
66
|
-
border-radius: 50%;
|
|
67
|
-
box-sizing: border-box;
|
|
68
|
-
content: "";
|
|
69
|
-
height: $nhsuk-radios-size;
|
|
70
|
-
left: 0;
|
|
71
|
-
position: absolute;
|
|
72
|
-
top: 0;
|
|
73
|
-
width: $nhsuk-radios-size;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.nhsuk-radios__input + .nhsuk-radios__label::after {
|
|
77
|
-
background: $nhsuk-form-border-color;
|
|
78
|
-
border: 10px solid $nhsuk-text-color;
|
|
79
|
-
border-radius: 50%;
|
|
80
|
-
content: "";
|
|
81
|
-
height: 0;
|
|
82
|
-
left: 10px;
|
|
83
|
-
opacity: 0;
|
|
84
|
-
position: absolute;
|
|
85
|
-
top: 10px;
|
|
86
|
-
width: 0;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/// Focus state
|
|
90
|
-
///
|
|
91
|
-
/// 1. Since box-shadows are removed when users customise their colours
|
|
92
|
-
/// We set a transparent outline that is shown instead.
|
|
93
|
-
///
|
|
94
|
-
/// @link https://accessibility.blog.gov.uk/2017/03/27/how-users-change-colours-on-websites/
|
|
95
|
-
|
|
96
|
-
.nhsuk-radios__input:focus + .nhsuk-radios__label::before {
|
|
97
|
-
@include nhsuk-focused-radio;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/// Selected state
|
|
101
|
-
|
|
102
|
-
.nhsuk-radios__input:checked + .nhsuk-radios__label::after {
|
|
103
|
-
opacity: 1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/// Disabled state
|
|
107
|
-
|
|
108
|
-
.nhsuk-radios__input:disabled,
|
|
109
|
-
.nhsuk-radios__input:disabled + .nhsuk-radios__label {
|
|
110
|
-
cursor: default;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.nhsuk-radios__input:disabled + .nhsuk-radios__label {
|
|
114
|
-
opacity: 0.5;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/// Inline variant
|
|
118
|
-
///
|
|
119
|
-
/// 1. Prevent inline modifier being used with conditional reveals
|
|
120
|
-
|
|
121
|
-
.nhsuk-radios--inline {
|
|
122
|
-
@include nhsuk-media-query($from: tablet) {
|
|
123
|
-
@include nhsuk-clearfix;
|
|
124
|
-
|
|
125
|
-
.nhsuk-radios__item {
|
|
126
|
-
clear: none;
|
|
127
|
-
float: left;
|
|
128
|
-
margin-right: nhsuk-spacing(4);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&.nhsuk-radios--conditional {
|
|
133
|
-
// [1]
|
|
134
|
-
.nhsuk-radios__item {
|
|
135
|
-
float: none;
|
|
136
|
-
margin-right: 0;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/// Divider variant
|
|
142
|
-
|
|
143
|
-
.nhsuk-radios__divider {
|
|
144
|
-
$nhsuk-divider-size: $nhsuk-radios-size !default;
|
|
145
|
-
|
|
146
|
-
color: $nhsuk-text-color;
|
|
147
|
-
margin-bottom: nhsuk-spacing(2);
|
|
148
|
-
text-align: center;
|
|
149
|
-
width: $nhsuk-divider-size;
|
|
150
|
-
|
|
151
|
-
@include nhsuk-font(19);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/// Conditional
|
|
155
|
-
///
|
|
156
|
-
/// 1. Calculate the amount of padding needed to keep the border
|
|
157
|
-
/// centered against the radio.
|
|
158
|
-
/// 2. Move the border centered with the radio.
|
|
159
|
-
/// 3. Move the contents of the conditional inline with the label.
|
|
160
|
-
|
|
161
|
-
.nhsuk-radios__conditional {
|
|
162
|
-
$conditional-border-width: $nhsuk-border-width-mobile;
|
|
163
|
-
$conditional-border-padding: math.div($nhsuk-radios-size, 2) - math.div($conditional-border-width, 2); // [2]
|
|
164
|
-
$conditional-margin-left: $conditional-border-padding; // [2]
|
|
165
|
-
$conditional-padding-left: $conditional-border-padding + $nhsuk-radios-label-padding-left-right; // [3]
|
|
166
|
-
|
|
167
|
-
border-left: $conditional-border-width solid $nhsuk-form-border-color;
|
|
168
|
-
margin-left: $conditional-margin-left;
|
|
169
|
-
padding-left: $conditional-padding-left;
|
|
170
|
-
|
|
171
|
-
@include nhsuk-responsive-margin(4, "bottom");
|
|
172
|
-
|
|
173
|
-
& > :last-child {
|
|
174
|
-
margin-bottom: 0;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.js-enabled .nhsuk-radios__conditional--hidden {
|
|
179
|
-
display: none;
|
|
180
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/radios/_radios.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/select/_index.scss
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Select component
|
|
6
|
-
///
|
|
7
|
-
/// Input sizing:
|
|
8
|
-
///
|
|
9
|
-
/// 1. Uses rems so that safari input scales with font size
|
|
10
|
-
/// 2. This min-width was chosen because:
|
|
11
|
-
/// - it makes the Select wider than it is tall (which is what users expect)
|
|
12
|
-
/// - 20ex + 3ex matches the 'width-10' variant of the input component
|
|
13
|
-
/// - it fits comfortably on screens as narrow as 240px wide
|
|
14
|
-
///
|
|
15
|
-
/// @group components
|
|
16
|
-
////
|
|
17
|
-
|
|
18
|
-
.nhsuk-select {
|
|
19
|
-
background-color: $color_nhsuk-white;
|
|
20
|
-
border: $nhsuk-border-width-form-element solid $nhsuk-form-border-color;
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
color: $color_nhsuk-black;
|
|
23
|
-
height: 2.5rem; // [1]
|
|
24
|
-
min-width: 20ex + 3ex; // [2]
|
|
25
|
-
max-width: 100%;
|
|
26
|
-
padding: nhsuk-spacing(1);
|
|
27
|
-
|
|
28
|
-
@include nhsuk-font(19);
|
|
29
|
-
|
|
30
|
-
&:focus {
|
|
31
|
-
@include nhsuk-focused-input;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.nhsuk-select option:active,
|
|
36
|
-
.nhsuk-select option:checked,
|
|
37
|
-
.nhsuk-select:focus::-ms-value {
|
|
38
|
-
background-color: $color_nhsuk-blue;
|
|
39
|
-
color: $color_nhsuk-white;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.nhsuk-select--error {
|
|
43
|
-
border: $nhsuk-border-width-form-element-error solid $nhsuk-error-color;
|
|
44
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/select/_select.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/skip-link/_index.scss
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Skip link component
|
|
6
|
-
///
|
|
7
|
-
/// 1. Hide until the skip link gains focus from keyboard tabbing.
|
|
8
|
-
///
|
|
9
|
-
/// @group components
|
|
10
|
-
////
|
|
11
|
-
|
|
12
|
-
.nhsuk-skip-link {
|
|
13
|
-
position: absolute;
|
|
14
|
-
z-index: 2;
|
|
15
|
-
left: nhsuk-spacing(3);
|
|
16
|
-
top: nhsuk-spacing(3);
|
|
17
|
-
padding: nhsuk-spacing(2);
|
|
18
|
-
@include nhsuk-visually-hidden-focusable; // [1]
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.nhsuk-skip-link-focused-element {
|
|
22
|
-
&:focus {
|
|
23
|
-
// Remove the native visible focus indicator when the element is
|
|
24
|
-
// programmatically focused.
|
|
25
|
-
//
|
|
26
|
-
// We set the focus on the linked element (this is usually the <main>
|
|
27
|
-
// element) when the skip link is activated to improve screen reader
|
|
28
|
-
// announcements. However, we remove the visible focus indicator from the
|
|
29
|
-
// linked element because the user cannot interact with it.
|
|
30
|
-
//
|
|
31
|
-
// A related discussion: https://github.com/w3c/wcag/issues/1001
|
|
32
|
-
outline: none;
|
|
33
|
-
}
|
|
34
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/skip-link/_skip-link.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/summary-list/_index.scss
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Summary list component
|
|
6
|
-
///
|
|
7
|
-
/// 1. Required to allow us to wrap words that overflow.
|
|
8
|
-
/// 2. Reset default user agent styles
|
|
9
|
-
/// 3. Automatic wrapping for unbreakable text (e.g. URLs)
|
|
10
|
-
///
|
|
11
|
-
/// @group components
|
|
12
|
-
/// @link https://github.com/alphagov/govuk-frontend Original code taken from GDS (Government Digital Service)
|
|
13
|
-
////
|
|
14
|
-
|
|
15
|
-
.nhsuk-summary-list {
|
|
16
|
-
margin: 0; // [2]
|
|
17
|
-
|
|
18
|
-
@include nhsuk-font($size: 19);
|
|
19
|
-
@include nhsuk-responsive-margin(6, "bottom");
|
|
20
|
-
|
|
21
|
-
@include nhsuk-media-query($from: tablet) {
|
|
22
|
-
border-collapse: collapse;
|
|
23
|
-
display: table;
|
|
24
|
-
table-layout: fixed; // [1]
|
|
25
|
-
width: 100%;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.nhsuk-summary-list__row {
|
|
30
|
-
border-bottom: 1px solid $nhsuk-border-color;
|
|
31
|
-
|
|
32
|
-
@include nhsuk-media-query($until: tablet) {
|
|
33
|
-
margin-bottom: nhsuk-spacing(3);
|
|
34
|
-
}
|
|
35
|
-
@include nhsuk-media-query($from: tablet) {
|
|
36
|
-
display: table-row;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// Remove right padding from the last column in the row
|
|
41
|
-
.nhsuk-summary-list__row:not(.nhsuk-summary-list__row--no-actions) > :last-child {
|
|
42
|
-
padding-right: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Provide an empty 'cell' for rows that don't have actions – otherwise the
|
|
46
|
-
// bottom border is not drawn for that part of the row in some browsers.
|
|
47
|
-
.nhsuk-summary-list__row--no-actions {
|
|
48
|
-
@include nhsuk-media-query($from: tablet) {
|
|
49
|
-
&::after {
|
|
50
|
-
content: "";
|
|
51
|
-
display: table-cell;
|
|
52
|
-
width: 20%;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.nhsuk-summary-list__key,
|
|
58
|
-
.nhsuk-summary-list__value,
|
|
59
|
-
.nhsuk-summary-list__actions {
|
|
60
|
-
margin: 0; // [2]
|
|
61
|
-
vertical-align: top;
|
|
62
|
-
|
|
63
|
-
@include nhsuk-media-query($from: tablet) {
|
|
64
|
-
display: table-cell;
|
|
65
|
-
padding-bottom: nhsuk-spacing(2);
|
|
66
|
-
padding-right: nhsuk-spacing(4);
|
|
67
|
-
padding-top: nhsuk-spacing(2);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.nhsuk-summary-list__actions {
|
|
72
|
-
margin-bottom: nhsuk-spacing(3);
|
|
73
|
-
|
|
74
|
-
@include nhsuk-media-query($from: tablet) {
|
|
75
|
-
text-align: right;
|
|
76
|
-
width: 20%;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.nhsuk-summary-list__key,
|
|
81
|
-
.nhsuk-summary-list__value {
|
|
82
|
-
@include nhsuk-text-break-word; // [3]
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.nhsuk-summary-list__key {
|
|
86
|
-
margin-bottom: nhsuk-spacing(1);
|
|
87
|
-
|
|
88
|
-
@include nhsuk-typography-weight-bold;
|
|
89
|
-
|
|
90
|
-
@include nhsuk-media-query($from: tablet) {
|
|
91
|
-
width: 30%;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.nhsuk-summary-list__value {
|
|
96
|
-
@include nhsuk-media-query($until: tablet) {
|
|
97
|
-
margin-bottom: nhsuk-spacing(3);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.nhsuk-summary-list__value > p {
|
|
102
|
-
margin-bottom: 12px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.nhsuk-summary-list__value > :last-child {
|
|
106
|
-
margin-bottom: 0;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.nhsuk-summary-list__actions-list {
|
|
110
|
-
margin: 0; // [2]
|
|
111
|
-
padding: 0; // [2]
|
|
112
|
-
width: 100%;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.nhsuk-summary-list__actions-list-item {
|
|
116
|
-
display: inline-block;
|
|
117
|
-
|
|
118
|
-
@include nhsuk-media-query($until: tablet) {
|
|
119
|
-
border-right: 1px solid $nhsuk-border-color;
|
|
120
|
-
margin-right: nhsuk-spacing(2);
|
|
121
|
-
padding-right: nhsuk-spacing(2);
|
|
122
|
-
|
|
123
|
-
&:last-child {
|
|
124
|
-
border: 0;
|
|
125
|
-
margin-right: 0;
|
|
126
|
-
padding-right: 0;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@include nhsuk-media-query($from: tablet) {
|
|
131
|
-
margin-left: nhsuk-spacing(2);
|
|
132
|
-
padding-left: nhsuk-spacing(2);
|
|
133
|
-
|
|
134
|
-
&:first-child {
|
|
135
|
-
border: 0;
|
|
136
|
-
margin-left: 0;
|
|
137
|
-
padding-left: 0;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&:not(:first-child) {
|
|
141
|
-
border-left: 1px solid $nhsuk-border-color;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
// Large groups of action links may wrap onto multiple lines. Because the link
|
|
147
|
-
// focus styles are applied outside of the link's bounding box, there are
|
|
148
|
-
// situations where the focus style on a link can be overlapped by subsequent
|
|
149
|
-
// links. We don't want this, so let's create a new stacking context on focus
|
|
150
|
-
// so the link always appears to be 'on top'.
|
|
151
|
-
.nhsuk-summary-list__actions-list-item .nhsuk-link:focus {
|
|
152
|
-
isolation: isolate;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
// No border on entire summary list
|
|
156
|
-
.nhsuk-summary-list--no-border {
|
|
157
|
-
.nhsuk-summary-list__row {
|
|
158
|
-
border: 0;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// Increase padding by 1px to compensate for 'missing' border
|
|
162
|
-
@include nhsuk-media-query($from: tablet) {
|
|
163
|
-
.nhsuk-summary-list__key,
|
|
164
|
-
.nhsuk-summary-list__value,
|
|
165
|
-
.nhsuk-summary-list__actions {
|
|
166
|
-
padding-bottom: nhsuk-spacing(2) + 1px;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
// No border on specific rows
|
|
172
|
-
.nhsuk-summary-list__row--no-border {
|
|
173
|
-
border: 0;
|
|
174
|
-
|
|
175
|
-
// Increase padding by 1px to compensate for 'missing' border
|
|
176
|
-
@include nhsuk-media-query($from: tablet) {
|
|
177
|
-
.nhsuk-summary-list__key,
|
|
178
|
-
.nhsuk-summary-list__value,
|
|
179
|
-
.nhsuk-summary-list__actions {
|
|
180
|
-
padding-bottom: nhsuk-spacing(2) + 1px;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|