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,61 +0,0 @@
|
|
|
1
|
-
@use "../../core/tools" as *;
|
|
2
|
-
|
|
3
|
-
/// These are the styles for the transactional header variants.
|
|
4
|
-
|
|
5
|
-
.nhsuk-header__transactional-service-name {
|
|
6
|
-
margin-bottom: -(nhsuk-spacing(1));
|
|
7
|
-
padding-left: nhsuk-spacing(3);
|
|
8
|
-
padding-top: 2px;
|
|
9
|
-
|
|
10
|
-
@include nhsuk-media-query($until: tablet) {
|
|
11
|
-
padding-left: 0;
|
|
12
|
-
padding-top: nhsuk-spacing(2);
|
|
13
|
-
width: 100%;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nhsuk-header__transactional-service-name--link {
|
|
18
|
-
@include nhsuk-link-style-white;
|
|
19
|
-
@include nhsuk-font(19);
|
|
20
|
-
|
|
21
|
-
&:link {
|
|
22
|
-
text-decoration: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:hover {
|
|
26
|
-
text-decoration: underline;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.nhsuk-header__transactional {
|
|
31
|
-
.nhsuk-header__container {
|
|
32
|
-
justify-content: normal;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.nhsuk-header__link {
|
|
36
|
-
display: block;
|
|
37
|
-
@include nhsuk-logo-size-small;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.nhsuk-logo {
|
|
41
|
-
@include nhsuk-logo-size-small;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.nhsuk-header__transactional--logo {
|
|
46
|
-
max-width: 100%;
|
|
47
|
-
|
|
48
|
-
@include nhsuk-media-query($from: tablet) {
|
|
49
|
-
.nhsuk-header__link--service {
|
|
50
|
-
align-items: center;
|
|
51
|
-
display: flex;
|
|
52
|
-
-ms-flex-align: center;
|
|
53
|
-
margin-bottom: 0;
|
|
54
|
-
width: auto;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.nhsuk-header__service-name {
|
|
58
|
-
padding-left: nhsuk-spacing(3);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-white.scss
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
/// These are the styles for the white header variants.
|
|
5
|
-
|
|
6
|
-
.nhsuk-header--white {
|
|
7
|
-
background-color: $color_nhsuk-white;
|
|
8
|
-
|
|
9
|
-
.nhsuk-header__search-wrap {
|
|
10
|
-
margin-bottom: nhsuk-spacing(3);
|
|
11
|
-
|
|
12
|
-
@include nhsuk-media-query($until: tablet) {
|
|
13
|
-
&::after {
|
|
14
|
-
background: $color_nhsuk-white;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.nhsuk-navigation-container {
|
|
20
|
-
background-color: $color_nhsuk-blue;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.nhsuk-navigation {
|
|
24
|
-
border-top-width: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.nhsuk-logo {
|
|
28
|
-
.nhsuk-logo__background {
|
|
29
|
-
fill: $color_nhsuk-blue;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.nhsuk-logo__text {
|
|
33
|
-
fill: $color_nhsuk-white;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.nhsuk-header__link {
|
|
38
|
-
&:hover {
|
|
39
|
-
color: $nhsuk-text-color;
|
|
40
|
-
text-decoration: underline;
|
|
41
|
-
|
|
42
|
-
.nhsuk-organisation-descriptor {
|
|
43
|
-
color: $nhsuk-text-color;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.nhsuk-search__submit {
|
|
49
|
-
background-color: $color_nhsuk-blue;
|
|
50
|
-
|
|
51
|
-
.nhsuk-icon__search {
|
|
52
|
-
fill: $color_nhsuk-white;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&:hover,
|
|
56
|
-
&:active {
|
|
57
|
-
background-color: $color_shade_nhsuk-blue-20;
|
|
58
|
-
border-color: $color_shade_nhsuk-blue-20;
|
|
59
|
-
box-shadow: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&:active {
|
|
63
|
-
background-color: $color_shade_nhsuk-blue-50;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&:focus:not(:active) {
|
|
67
|
-
@include nhsuk-focused-button;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.nhsuk-search__input:not(:focus) {
|
|
72
|
-
border: 1px solid $color_nhsuk-grey-3;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.nhsuk-header__search-form {
|
|
76
|
-
@include nhsuk-media-query($until: tablet) {
|
|
77
|
-
padding-top: 0;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.nhsuk-organisation-name {
|
|
82
|
-
color: nhsuk-shade($color_nhsuk-black, 100%);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.nhsuk-organisation-descriptor {
|
|
86
|
-
color: $color_nhsuk-blue;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.nhsuk-header__transactional-service-name--link {
|
|
90
|
-
color: $color_nhsuk-black;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.nhsuk-header__service-name {
|
|
94
|
-
color: $nhsuk-text-color;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.nhsuk-header--white-nav {
|
|
99
|
-
.nhsuk-navigation-container {
|
|
100
|
-
background-color: $color_nhsuk-white;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.nhsuk-navigation {
|
|
104
|
-
background-color: $color_nhsuk-white;
|
|
105
|
-
border-top: 1px solid $color_nhsuk-grey-5;
|
|
106
|
-
|
|
107
|
-
.nhsuk-header__navigation-link {
|
|
108
|
-
@include nhsuk-link-style-default;
|
|
109
|
-
@include nhsuk-link-style-no-visited-state;
|
|
110
|
-
|
|
111
|
-
&:active,
|
|
112
|
-
&:focus {
|
|
113
|
-
color: $nhsuk-focus-text-color;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Hero component shared styles
|
|
6
|
-
///
|
|
7
|
-
/// 1. Position relative to support the description
|
|
8
|
-
/// appearing over the image.
|
|
9
|
-
/// 2. Adds a border between the header and hero, if required
|
|
10
|
-
///
|
|
11
|
-
/// @group components
|
|
12
|
-
///
|
|
13
|
-
|
|
14
|
-
.nhsuk-hero {
|
|
15
|
-
background-color: $color_nhsuk-blue;
|
|
16
|
-
color: $color_nhsuk-white;
|
|
17
|
-
position: relative; // [1]
|
|
18
|
-
|
|
19
|
-
@include nhsuk-print-color($nhsuk-print-text-color);
|
|
20
|
-
|
|
21
|
-
.nhsuk-link,
|
|
22
|
-
a:not(.nhsuk-button) {
|
|
23
|
-
@include nhsuk-link-style-white;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.nhsuk-hero--border {
|
|
27
|
-
// [2]
|
|
28
|
-
border-top: $nhsuk-hero-border solid $nhsuk-secondary-border-color;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.nhsuk-hero__wrapper {
|
|
33
|
-
@include nhsuk-responsive-padding(8, top);
|
|
34
|
-
@include nhsuk-responsive-padding(8, bottom);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.nhsuk-hero__heading {
|
|
38
|
-
@include nhsuk-responsive-margin(3, bottom);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/// Hero component image styles
|
|
42
|
-
///
|
|
43
|
-
/// 3. Center the background image.
|
|
44
|
-
/// 4. Stop the height affecting print stylesheets.
|
|
45
|
-
/// 5. Show more of the image for larger screen sizes
|
|
46
|
-
/// 6. Overlay must be min same height as .nhsuk-hero--image to cover the image.
|
|
47
|
-
/// 7. Darken the background image with an overlay.
|
|
48
|
-
/// 12. Remove any heights/min heights in Windows high contrast mode.
|
|
49
|
-
|
|
50
|
-
.nhsuk-hero--image {
|
|
51
|
-
background-position: center right; // [3]
|
|
52
|
-
background-repeat: no-repeat;
|
|
53
|
-
background-size: cover;
|
|
54
|
-
|
|
55
|
-
@media only screen {
|
|
56
|
-
// [4]
|
|
57
|
-
min-height: 200px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@include nhsuk-media-query($from: tablet) {
|
|
61
|
-
@media only screen {
|
|
62
|
-
// [4]
|
|
63
|
-
min-height: 320px; // [5]
|
|
64
|
-
|
|
65
|
-
.nhsuk-hero__overlay {
|
|
66
|
-
height: 320px; // [6]
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@media screen and (-ms-high-contrast: active) {
|
|
72
|
-
min-height: 0; // [12]
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.nhsuk-hero__overlay {
|
|
76
|
-
background-color: $color_transparent_nhsuk-blue-50; // [7]
|
|
77
|
-
|
|
78
|
-
@media only screen {
|
|
79
|
-
// [4]
|
|
80
|
-
min-height: 200px; // [6]
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@media screen and (-ms-high-contrast: active) {
|
|
84
|
-
height: auto; // [12]
|
|
85
|
-
min-height: 0; // [12]
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/// Hero component description styles.
|
|
91
|
-
///
|
|
92
|
-
/// 8. 'Random number' for the triangle.
|
|
93
|
-
/// 9. 'Random number' for the triangle positioning.
|
|
94
|
-
/// 10. Needed to enable the triangle to show correctly in high contrast mode.
|
|
95
|
-
/// 11. Give the description box a max width.
|
|
96
|
-
/// 13. Remove the arrow in Windows high contrast mode.
|
|
97
|
-
/// 14. Reduce spacing and change positioning for Windows high contrast mode.
|
|
98
|
-
/// 15. Prevent text breaking out of box on smaller sizes
|
|
99
|
-
/// 16. Prevent overlap using safe area: box offset + arrow height + spacing
|
|
100
|
-
|
|
101
|
-
.nhsuk-hero--image-description {
|
|
102
|
-
margin-bottom: calc(70px + 20px + nhsuk-spacing(3)); // [16]
|
|
103
|
-
|
|
104
|
-
@include nhsuk-media-query($from: tablet) {
|
|
105
|
-
margin-bottom: calc(48px + 20px + nhsuk-spacing(4)); // [16]
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.nhsuk-hero-content {
|
|
109
|
-
background-color: $color_nhsuk-blue;
|
|
110
|
-
color: $color_nhsuk-white;
|
|
111
|
-
margin-bottom: 24px;
|
|
112
|
-
padding: nhsuk-spacing(4);
|
|
113
|
-
position: relative;
|
|
114
|
-
top: 70px;
|
|
115
|
-
|
|
116
|
-
.nhsuk-hero__arrow {
|
|
117
|
-
bottom: -10px; // [8]
|
|
118
|
-
display: block;
|
|
119
|
-
height: 20px; // [8]
|
|
120
|
-
left: 32px; // [9]
|
|
121
|
-
overflow: hidden;
|
|
122
|
-
position: absolute;
|
|
123
|
-
transform: rotate(45deg);
|
|
124
|
-
width: 20px; // [8]
|
|
125
|
-
@include nhsuk-print-hide;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.nhsuk-hero__arrow::before,
|
|
129
|
-
.nhsuk-hero__arrow::after {
|
|
130
|
-
border: solid 32px $color_nhsuk-blue; // [8]
|
|
131
|
-
content: "";
|
|
132
|
-
display: block;
|
|
133
|
-
height: 0;
|
|
134
|
-
position: absolute;
|
|
135
|
-
top: 0;
|
|
136
|
-
transform: rotate(45deg); // [10]
|
|
137
|
-
width: 0;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
@include nhsuk-media-query(375px) {
|
|
142
|
-
.nhsuk-hero-content {
|
|
143
|
-
width: 85%; // [15]
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@include nhsuk-media-query($from: tablet) {
|
|
148
|
-
.nhsuk-hero-content {
|
|
149
|
-
bottom: -48px; // [8]
|
|
150
|
-
margin-bottom: 0;
|
|
151
|
-
max-width: 35em; // [11]
|
|
152
|
-
padding: nhsuk-spacing(5) nhsuk-spacing(6);
|
|
153
|
-
position: absolute;
|
|
154
|
-
top: auto;
|
|
155
|
-
|
|
156
|
-
@include nhsuk-top-and-bottom;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.nhsuk-hero__arrow {
|
|
160
|
-
left: 46px; // [9]
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
@include nhsuk-media-query($media-type: print) {
|
|
165
|
-
.nhsuk-hero-content {
|
|
166
|
-
color: $color_nhsuk-black;
|
|
167
|
-
max-width: 100%;
|
|
168
|
-
padding: 0;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
@media screen and (-ms-high-contrast: active) {
|
|
173
|
-
.nhsuk-hero-content {
|
|
174
|
-
// [14]
|
|
175
|
-
bottom: 0;
|
|
176
|
-
margin-bottom: 0;
|
|
177
|
-
min-height: 0;
|
|
178
|
-
padding: nhsuk-spacing(5) 0 0;
|
|
179
|
-
position: relative;
|
|
180
|
-
top: 0;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.nhsuk-hero__arrow {
|
|
184
|
-
display: none; // [13]
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Hint component
|
|
6
|
-
///
|
|
7
|
-
/// @group components
|
|
8
|
-
////
|
|
9
|
-
|
|
10
|
-
.nhsuk-hint {
|
|
11
|
-
color: $nhsuk-secondary-text-color;
|
|
12
|
-
display: block;
|
|
13
|
-
margin-bottom: nhsuk-spacing(3);
|
|
14
|
-
|
|
15
|
-
@include nhsuk-font(19);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Reduces margin-bottom of hint when used after the default label (no class)
|
|
19
|
-
// or nhsuk-label--s for better vertical alignment.
|
|
20
|
-
|
|
21
|
-
// This adjustment will not work when the label is inside the <h1>, however it
|
|
22
|
-
// is unlikely that the default or nhsuk-label--s class would be used in this
|
|
23
|
-
// case.
|
|
24
|
-
|
|
25
|
-
// This adjustment will not work in browsers that do not support :not().
|
|
26
|
-
// Users with these browsers will see the default size margin (5px larger).
|
|
27
|
-
|
|
28
|
-
.nhsuk-label:not(.nhsuk-label--m):not(.nhsuk-label--l):not(.nhsuk-label--xl) + .nhsuk-hint {
|
|
29
|
-
margin-bottom: nhsuk-spacing(2);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Reduces margin-bottom of hint when used after the default legend (no class)
|
|
33
|
-
// or nhsuk-fieldset__legend--s for better vertical alignment.
|
|
34
|
-
|
|
35
|
-
// This adjustment will not work when the legend is outside the <h1>, however
|
|
36
|
-
// it is unlikely that the default or nhsuk-fieldset__legend--s class would be
|
|
37
|
-
// used in this case.
|
|
38
|
-
|
|
39
|
-
// This adjustment will not work in browsers that do not support :not().
|
|
40
|
-
// Users with these browsers will see the default size margin (5px larger).
|
|
41
|
-
|
|
42
|
-
.nhsuk-fieldset__legend:not(.nhsuk-fieldset__legend--m):not(.nhsuk-fieldset__legend--l):not(.nhsuk-fieldset__legend--xl)
|
|
43
|
-
+ .nhsuk-hint {
|
|
44
|
-
margin-bottom: nhsuk-spacing(2);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Reduces visual spacing of legend when there is a hint
|
|
48
|
-
|
|
49
|
-
.nhsuk-fieldset__legend + .nhsuk-hint {
|
|
50
|
-
margin-top: -(nhsuk-spacing(1));
|
|
51
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/images/_images.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/images/_index.scss
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@use "../../core/settings" as *;
|
|
3
|
-
@use "../../core/tools" as *;
|
|
4
|
-
|
|
5
|
-
////
|
|
6
|
-
/// Image component
|
|
7
|
-
///
|
|
8
|
-
/// 1. Overrides default browser margin values.
|
|
9
|
-
/// 2. Makes the image width two thirds of its container for desktop.
|
|
10
|
-
/// 3. Avoid image printing full width of a page.
|
|
11
|
-
/// 4. Removes top margin from subsequent nhsuk-image.
|
|
12
|
-
///
|
|
13
|
-
/// @group components
|
|
14
|
-
////
|
|
15
|
-
|
|
16
|
-
.nhsuk-image {
|
|
17
|
-
background-color: $color_nhsuk-white;
|
|
18
|
-
border-bottom: 1px solid $color_nhsuk-grey-4;
|
|
19
|
-
|
|
20
|
-
margin-left: 0; // [1]
|
|
21
|
-
margin-right: 0; // [1]
|
|
22
|
-
|
|
23
|
-
@include nhsuk-responsive-margin(6, "bottom");
|
|
24
|
-
@include nhsuk-responsive-margin(6, "top");
|
|
25
|
-
|
|
26
|
-
@include nhsuk-media-query($from: desktop) {
|
|
27
|
-
width: math.percentage(math.div(2, 3)); // [2]
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@include nhsuk-media-query($media-type: print) {
|
|
31
|
-
width: math.percentage(math.div(1, 2)); // [3]
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
& + .nhsuk-image {
|
|
35
|
-
@include nhsuk-responsive-margin(0, "top"); // [4]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.nhsuk-image__img {
|
|
40
|
-
display: block;
|
|
41
|
-
width: 100%;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.nhsuk-image__caption {
|
|
45
|
-
padding: nhsuk-spacing(3);
|
|
46
|
-
|
|
47
|
-
@include nhsuk-font-size(16);
|
|
48
|
-
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Input component
|
|
6
|
-
///
|
|
7
|
-
/// 1. Disable inner shadow and remove rounded corners
|
|
8
|
-
/// 2. setting any background-color makes text invisible when changing colours to dark
|
|
9
|
-
/// backgrounds in Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1335476)
|
|
10
|
-
/// as background-color and color need to always be set together, color should
|
|
11
|
-
/// not be set either.
|
|
12
|
-
///
|
|
13
|
-
/// @group components
|
|
14
|
-
////
|
|
15
|
-
|
|
16
|
-
.nhsuk-input {
|
|
17
|
-
-moz-appearance: none; // [1]
|
|
18
|
-
-webkit-appearance: none; // [1]
|
|
19
|
-
appearance: none; // [1]
|
|
20
|
-
border: $nhsuk-border-width-form-element solid $nhsuk-form-border-color; // [2]
|
|
21
|
-
border-radius: 0;
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
min-height: 40px;
|
|
24
|
-
margin-top: 0;
|
|
25
|
-
padding: nhsuk-spacing(1);
|
|
26
|
-
width: 100%;
|
|
27
|
-
|
|
28
|
-
@include nhsuk-font(19);
|
|
29
|
-
|
|
30
|
-
&:focus {
|
|
31
|
-
@include nhsuk-focused-input;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.nhsuk-input::-webkit-outer-spin-button,
|
|
36
|
-
.nhsuk-input::-webkit-inner-spin-button {
|
|
37
|
-
-webkit-appearance: none;
|
|
38
|
-
margin: 0;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.nhsuk-input[type="number"] {
|
|
42
|
-
-moz-appearance: textfield;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.nhsuk-input--error {
|
|
46
|
-
border: $nhsuk-border-width-form-element-error solid $nhsuk-error-color;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// The ex measurements are based on the number of W's that can fit inside the input
|
|
50
|
-
// Extra space is left on the right hand side to allow for the Safari prefill icon
|
|
51
|
-
// Linear regression estimation based on visual tests: y = 1.76 + 1.81x
|
|
52
|
-
|
|
53
|
-
.nhsuk-input--width-30 {
|
|
54
|
-
max-width: 56ex + 3ex;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.nhsuk-input--width-20 {
|
|
58
|
-
max-width: 38ex + 3ex;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.nhsuk-input--width-10 {
|
|
62
|
-
max-width: 20ex + 3ex;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.nhsuk-input--width-5 {
|
|
66
|
-
max-width: 10.8ex;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.nhsuk-input--width-4 {
|
|
70
|
-
max-width: 9ex;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.nhsuk-input--width-3 {
|
|
74
|
-
max-width: 7.2ex;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.nhsuk-input--width-2 {
|
|
78
|
-
max-width: 5.4ex;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/// Suffix and prefix
|
|
82
|
-
|
|
83
|
-
.nhsuk-input__wrapper {
|
|
84
|
-
display: flex;
|
|
85
|
-
|
|
86
|
-
.nhsuk-input {
|
|
87
|
-
flex: 0 1 auto;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.nhsuk-input:focus {
|
|
91
|
-
// Hack to stop focus style being overlapped by the suffix
|
|
92
|
-
z-index: 1;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@include nhsuk-media-query($until: mobile) {
|
|
96
|
-
display: block;
|
|
97
|
-
|
|
98
|
-
.nhsuk-input {
|
|
99
|
-
// Set max-width to override potential width override class on the input
|
|
100
|
-
max-width: 100%;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.nhsuk-input__prefix,
|
|
106
|
-
.nhsuk-input__suffix {
|
|
107
|
-
background-color: $color_nhsuk-grey-4;
|
|
108
|
-
border: $nhsuk-border-width-form-element solid $nhsuk-form-border-color;
|
|
109
|
-
box-sizing: border-box;
|
|
110
|
-
cursor: default; // emphasises non-editable status of prefixes and suffixes
|
|
111
|
-
display: inline-block;
|
|
112
|
-
flex: 0 0 auto;
|
|
113
|
-
min-height: 40px;
|
|
114
|
-
min-width: nhsuk-px-to-rem(40px);
|
|
115
|
-
padding: nhsuk-spacing(1);
|
|
116
|
-
text-align: center;
|
|
117
|
-
white-space: nowrap;
|
|
118
|
-
|
|
119
|
-
@include nhsuk-font($size: 19);
|
|
120
|
-
|
|
121
|
-
@include nhsuk-media-query($until: mobile) {
|
|
122
|
-
display: block;
|
|
123
|
-
height: 100%;
|
|
124
|
-
white-space: normal;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@include nhsuk-media-query($until: tablet) {
|
|
128
|
-
line-height: 1.6;
|
|
129
|
-
font-size: 1.1875rem;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.nhsuk-input__prefix {
|
|
134
|
-
@include nhsuk-media-query($until: mobile) {
|
|
135
|
-
border-bottom: 0;
|
|
136
|
-
}
|
|
137
|
-
@include nhsuk-media-query($from: mobile) {
|
|
138
|
-
border-right: 0;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.nhsuk-input__suffix {
|
|
143
|
-
@include nhsuk-media-query($until: mobile) {
|
|
144
|
-
border-top: 0;
|
|
145
|
-
}
|
|
146
|
-
@include nhsuk-media-query($from: mobile) {
|
|
147
|
-
border-left: 0;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/inset-text/_index.scss
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Inset text component
|
|
6
|
-
///
|
|
7
|
-
/// 1. Removes top margin from first element and bottom margin from last,
|
|
8
|
-
/// to ensure correct spacing within the component.
|
|
9
|
-
/// 2. Restricts the width of the text to optimise the line length for
|
|
10
|
-
/// readability.
|
|
11
|
-
///
|
|
12
|
-
/// @group components
|
|
13
|
-
////
|
|
14
|
-
|
|
15
|
-
.nhsuk-inset-text {
|
|
16
|
-
border-left: $nhsuk-border-width-inset-text solid $color_nhsuk-blue;
|
|
17
|
-
|
|
18
|
-
@include nhsuk-reading-width; // [2]
|
|
19
|
-
@include nhsuk-top-and-bottom; // [1]
|
|
20
|
-
|
|
21
|
-
@include nhsuk-responsive-margin(7, "bottom");
|
|
22
|
-
@include nhsuk-responsive-margin(7, "top");
|
|
23
|
-
@include nhsuk-responsive-padding(4);
|
|
24
|
-
|
|
25
|
-
@include nhsuk-media-query($media-type: print) {
|
|
26
|
-
border-color: $nhsuk-print-text-color;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|