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,321 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@use "../../core/settings" as *;
|
|
3
|
-
@use "../../core/tools" as *;
|
|
4
|
-
|
|
5
|
-
////
|
|
6
|
-
/// Card component
|
|
7
|
-
///
|
|
8
|
-
/// 1. Is needed for the :active top positioning, and invisible clickable overlay.
|
|
9
|
-
/// 2. Border is used to create a divider between the white content
|
|
10
|
-
/// box and an image.
|
|
11
|
-
/// 3. Creates the 'pressed down' effect when clicked.
|
|
12
|
-
/// 4. Removes padding-top from headings directly after the card group.
|
|
13
|
-
/// 5. Includes the border width to achieve the correct left alignment.
|
|
14
|
-
/// 6. Stops the heading from spanning the full width of the card.
|
|
15
|
-
/// 7. Removes padding top for the feature heading positioning.
|
|
16
|
-
/// 8. Default care card colour set to blue (non-urgent care card) -
|
|
17
|
-
/// using the @mixin care-card tools/_mixins.scss.
|
|
18
|
-
/// The same mixin is used for each care card, setting the background
|
|
19
|
-
/// colour,text colour and print border width with the variables.
|
|
20
|
-
/// 9. 'Random number' for the heading triangle.
|
|
21
|
-
/// 10. 'Random number' for the heading triangle positioning.
|
|
22
|
-
/// 11. 'Random number' used for spacing to compensate for the triangle.
|
|
23
|
-
/// 12. Needed to enable the triangle to show correctly in high contrast mode.
|
|
24
|
-
/// 13. Prevent additional padding on headings
|
|
25
|
-
/// 14. Give the action link icon sufficient contrast when used in the emergency variant
|
|
26
|
-
/// 15. Reset the positioning to the default [1] to display heading triangle on a coloured background.
|
|
27
|
-
/// 16. Emergency care card <a> needs to be white because the background colour is black.
|
|
28
|
-
/// 17. Trick IE10 into rendering the invisible clickable area. Without this it does not.
|
|
29
|
-
///
|
|
30
|
-
/// @group components
|
|
31
|
-
////
|
|
32
|
-
|
|
33
|
-
$card-border-width: 1px;
|
|
34
|
-
$card-border-bottom-width: nhsuk-spacing(1);
|
|
35
|
-
$card-border-color: $color_nhsuk-grey-4;
|
|
36
|
-
$card-border-hover-color: $color_nhsuk-grey-3;
|
|
37
|
-
|
|
38
|
-
.nhsuk-card {
|
|
39
|
-
background: $color_nhsuk-white;
|
|
40
|
-
border: $card-border-width solid $card-border-color;
|
|
41
|
-
position: relative; // [1]
|
|
42
|
-
width: 100%;
|
|
43
|
-
|
|
44
|
-
@include nhsuk-responsive-margin(7, "bottom");
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.nhsuk-card__img {
|
|
48
|
-
border-bottom: $card-border-width solid $color_nhsuk-grey-5; // [2]
|
|
49
|
-
display: block;
|
|
50
|
-
width: 100%;
|
|
51
|
-
|
|
52
|
-
@include nhsuk-print-hide;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.nhsuk-card__content {
|
|
56
|
-
@include nhsuk-top-and-bottom;
|
|
57
|
-
@include nhsuk-responsive-padding(5);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.nhsuk-card__heading {
|
|
61
|
-
margin-bottom: nhsuk-spacing(3);
|
|
62
|
-
|
|
63
|
-
&:has(+ .nhsuk-icon) {
|
|
64
|
-
margin-bottom: 0;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.nhsuk-card__description {
|
|
69
|
-
margin-bottom: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/// Clickable card
|
|
73
|
-
|
|
74
|
-
.nhsuk-card--clickable {
|
|
75
|
-
border-bottom-width: $card-border-bottom-width;
|
|
76
|
-
|
|
77
|
-
.nhsuk-card__heading a,
|
|
78
|
-
.nhsuk-card__link {
|
|
79
|
-
&::before {
|
|
80
|
-
background-color: rgba(255, 255, 255, 0); // [17]
|
|
81
|
-
bottom: 0;
|
|
82
|
-
content: "";
|
|
83
|
-
display: block;
|
|
84
|
-
left: 0;
|
|
85
|
-
position: absolute;
|
|
86
|
-
right: 0;
|
|
87
|
-
top: 0;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&:active {
|
|
92
|
-
border-color: $card-border-hover-color;
|
|
93
|
-
bottom: -$card-border-width; // [3]
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/// Card group
|
|
98
|
-
///
|
|
99
|
-
/// Allows you to have a row of cards.
|
|
100
|
-
/// Flexbox is used to make each card in a row the same height.
|
|
101
|
-
|
|
102
|
-
.nhsuk-card-group {
|
|
103
|
-
margin-bottom: nhsuk-spacing(3);
|
|
104
|
-
padding: 0;
|
|
105
|
-
|
|
106
|
-
@include nhsuk-flex;
|
|
107
|
-
|
|
108
|
-
@include nhsuk-media-query($until: desktop) {
|
|
109
|
-
margin-bottom: nhsuk-spacing(6);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
+ h2,
|
|
113
|
-
+ .nhsuk-heading-l,
|
|
114
|
-
+ h3,
|
|
115
|
-
+ .nhsuk-heading-m {
|
|
116
|
-
padding-top: 0; // [4]
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.nhsuk-card-group__item {
|
|
121
|
-
list-style-type: none;
|
|
122
|
-
margin-bottom: 0;
|
|
123
|
-
|
|
124
|
-
@include nhsuk-flex-item;
|
|
125
|
-
|
|
126
|
-
.nhsuk-card {
|
|
127
|
-
margin-bottom: nhsuk-spacing(5);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@include nhsuk-media-query($until: desktop) {
|
|
131
|
-
.nhsuk-card {
|
|
132
|
-
margin-bottom: nhsuk-spacing(3);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&:last-child .nhsuk-card {
|
|
136
|
-
margin-bottom: 0;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/// Card feature
|
|
142
|
-
|
|
143
|
-
.nhsuk-card--feature {
|
|
144
|
-
@include nhsuk-responsive-margin(7, "top");
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.nhsuk-card__heading--feature {
|
|
148
|
-
background: $color_nhsuk-blue;
|
|
149
|
-
color: $color_nhsuk-white;
|
|
150
|
-
display: inline-block;
|
|
151
|
-
left: -(nhsuk-spacing(4) + $card-border-width); // [5]
|
|
152
|
-
margin-bottom: nhsuk-spacing(2);
|
|
153
|
-
margin-right: -(nhsuk-spacing(4)); // [6]
|
|
154
|
-
padding: nhsuk-spacing(2) nhsuk-spacing(4);
|
|
155
|
-
position: relative;
|
|
156
|
-
top: -(nhsuk-spacing(2));
|
|
157
|
-
|
|
158
|
-
@include nhsuk-media-query($from: tablet) {
|
|
159
|
-
left: -(nhsuk-spacing(5) + $card-border-width); // [5]
|
|
160
|
-
margin-right: -(nhsuk-spacing(5)); // [6]
|
|
161
|
-
padding: nhsuk-spacing(2) nhsuk-spacing(5);
|
|
162
|
-
top: -(nhsuk-spacing(3));
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.nhsuk-card__content--feature {
|
|
167
|
-
// stylelint-disable-next-line declaration-no-important
|
|
168
|
-
padding-top: 0 !important; // [7]
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/// Care card
|
|
172
|
-
|
|
173
|
-
.nhsuk-card--care {
|
|
174
|
-
@include nhsuk-care-card($color_nhsuk-blue, $color_nhsuk-white, 4px); // [8]
|
|
175
|
-
@include nhsuk-responsive-margin(7, "top");
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.nhsuk-card--care__heading-container {
|
|
179
|
-
padding-bottom: nhsuk-spacing(3);
|
|
180
|
-
padding-top: nhsuk-spacing(3);
|
|
181
|
-
position: relative;
|
|
182
|
-
|
|
183
|
-
@include nhsuk-responsive-padding(5, "left");
|
|
184
|
-
@include nhsuk-responsive-padding(5, "right");
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.nhsuk-card--care__heading {
|
|
188
|
-
margin: 0;
|
|
189
|
-
padding-top: 0; // [13]
|
|
190
|
-
|
|
191
|
-
@include nhsuk-font(26, $weight: bold);
|
|
192
|
-
@include nhsuk-print-color($nhsuk-print-text-color);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.nhsuk-card--care__arrow {
|
|
196
|
-
bottom: -10px; // [9]
|
|
197
|
-
display: block;
|
|
198
|
-
height: 20px; // [9]
|
|
199
|
-
left: 30px; // [10]
|
|
200
|
-
overflow: hidden;
|
|
201
|
-
position: absolute;
|
|
202
|
-
transform: rotate(45deg);
|
|
203
|
-
width: 20px; // [9]
|
|
204
|
-
@include nhsuk-print-hide;
|
|
205
|
-
|
|
206
|
-
@include nhsuk-media-query($from: tablet) {
|
|
207
|
-
left: 38px; // [10]
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
&::before,
|
|
211
|
-
&::after {
|
|
212
|
-
border: solid 32px $color_nhsuk-blue; // [9]
|
|
213
|
-
content: "";
|
|
214
|
-
display: block;
|
|
215
|
-
height: 0;
|
|
216
|
-
position: absolute;
|
|
217
|
-
top: 0;
|
|
218
|
-
transform: rotate(45deg); // [12]
|
|
219
|
-
width: 0;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.nhsuk-card--care--urgent {
|
|
224
|
-
@include nhsuk-care-card($color_nhsuk-red, $color_nhsuk-white, 6px);
|
|
225
|
-
|
|
226
|
-
.nhsuk-card--care__arrow {
|
|
227
|
-
&::before,
|
|
228
|
-
&::after {
|
|
229
|
-
border-color: $color_nhsuk-red;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.nhsuk-card--care--emergency {
|
|
235
|
-
@include nhsuk-care-card($color_nhsuk-red, $color_nhsuk-white, 8px);
|
|
236
|
-
|
|
237
|
-
.nhsuk-card--care__arrow {
|
|
238
|
-
&::before,
|
|
239
|
-
&::after {
|
|
240
|
-
border-color: $color_nhsuk-red;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.nhsuk-card__content {
|
|
245
|
-
background-color: $color_nhsuk-black;
|
|
246
|
-
border: 0;
|
|
247
|
-
color: $color_nhsuk-white;
|
|
248
|
-
position: static; // [15]
|
|
249
|
-
|
|
250
|
-
a {
|
|
251
|
-
@include nhsuk-link-style-white;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
@include nhsuk-media-query($media-type: print) {
|
|
255
|
-
background-color: $color_nhsuk-white;
|
|
256
|
-
color: $nhsuk-print-text-color;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.nhsuk-details,
|
|
261
|
-
.nhsuk-details__summary {
|
|
262
|
-
color: $color_nhsuk-white;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.nhsuk-details__summary {
|
|
266
|
-
&:hover {
|
|
267
|
-
color: $color_nhsuk-white;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
&:focus {
|
|
271
|
-
color: $color_nhsuk-black;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.nhsuk-action-link__link {
|
|
276
|
-
.nhsuk-icon__arrow-right-circle {
|
|
277
|
-
fill: $color_nhsuk-white; // [14]
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/// Card primary
|
|
283
|
-
|
|
284
|
-
.nhsuk-card__content--primary {
|
|
285
|
-
$icon-width: 27px;
|
|
286
|
-
$icon-height: 27px;
|
|
287
|
-
|
|
288
|
-
@include nhsuk-responsive-spacing(5, "padding", $direction: "right", $adjustment: $icon-width + nhsuk-spacing(4));
|
|
289
|
-
|
|
290
|
-
@include nhsuk-media-query($from: desktop) {
|
|
291
|
-
height: 100%;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.nhsuk-icon {
|
|
295
|
-
display: block;
|
|
296
|
-
width: $icon-width;
|
|
297
|
-
height: $icon-height;
|
|
298
|
-
fill: $color_nhsuk-blue;
|
|
299
|
-
margin-top: -(math.floor(math.div($icon-height, 2)));
|
|
300
|
-
pointer-events: none;
|
|
301
|
-
position: absolute;
|
|
302
|
-
top: 50%;
|
|
303
|
-
@include nhsuk-responsive-spacing(5, "right");
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/// Card secondary
|
|
308
|
-
|
|
309
|
-
.nhsuk-card--secondary {
|
|
310
|
-
background: transparent;
|
|
311
|
-
border-bottom: $card-border-bottom-width solid $card-border-color;
|
|
312
|
-
border-left: 0;
|
|
313
|
-
border-right: 0;
|
|
314
|
-
border-top: 0;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.nhsuk-card__content--secondary {
|
|
318
|
-
padding-left: 0;
|
|
319
|
-
padding-right: 0;
|
|
320
|
-
padding-top: 0;
|
|
321
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@use "../../core/tools" as *;
|
|
2
|
-
|
|
3
|
-
.nhsuk-character-count {
|
|
4
|
-
@include nhsuk-responsive-margin(6, "bottom");
|
|
5
|
-
|
|
6
|
-
.nhsuk-form-group,
|
|
7
|
-
.nhsuk-textarea {
|
|
8
|
-
margin-bottom: nhsuk-spacing(1);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.nhsuk-character-count__message {
|
|
13
|
-
margin-bottom: 0;
|
|
14
|
-
margin-top: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nhsuk-character-count__message--disabled {
|
|
18
|
-
visibility: hidden;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/checkboxes/_index.scss
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@use "../../core/settings" as *;
|
|
3
|
-
@use "../../core/tools" as *;
|
|
4
|
-
|
|
5
|
-
////
|
|
6
|
-
/// Checkboxes 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-checkboxes-size: nhsuk-spacing(6);
|
|
15
|
-
$nhsuk-checkboxes-label-padding-left-right: 12px;
|
|
16
|
-
|
|
17
|
-
.nhsuk-checkboxes__item {
|
|
18
|
-
clear: left;
|
|
19
|
-
display: block;
|
|
20
|
-
margin-bottom: nhsuk-spacing(2);
|
|
21
|
-
min-height: $nhsuk-checkboxes-size;
|
|
22
|
-
padding: 0 0 0 $nhsuk-checkboxes-size;
|
|
23
|
-
position: relative;
|
|
24
|
-
|
|
25
|
-
@include nhsuk-font(19);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.nhsuk-checkboxes__item:last-child,
|
|
29
|
-
.nhsuk-checkboxes__item:last-of-type {
|
|
30
|
-
margin-bottom: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.nhsuk-checkboxes__input {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
height: $nhsuk-checkboxes-size;
|
|
36
|
-
left: 0;
|
|
37
|
-
margin: 0;
|
|
38
|
-
opacity: 0;
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: 0;
|
|
41
|
-
width: $nhsuk-checkboxes-size;
|
|
42
|
-
z-index: 1;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.nhsuk-checkboxes__label {
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
display: inline-block;
|
|
48
|
-
margin-bottom: 0;
|
|
49
|
-
padding: 8px $nhsuk-checkboxes-label-padding-left-right nhsuk-spacing(1);
|
|
50
|
-
-ms-touch-action: manipulation; // [1]
|
|
51
|
-
touch-action: manipulation;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.nhsuk-checkboxes__hint {
|
|
55
|
-
display: block;
|
|
56
|
-
padding-left: $nhsuk-checkboxes-label-padding-left-right;
|
|
57
|
-
padding-right: $nhsuk-checkboxes-label-padding-left-right;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.nhsuk-checkboxes__input + .nhsuk-checkboxes__label::before {
|
|
61
|
-
background: $nhsuk-form-element-background-color;
|
|
62
|
-
border: $nhsuk-border-width-form-element solid $nhsuk-form-border-color;
|
|
63
|
-
box-sizing: border-box;
|
|
64
|
-
content: "";
|
|
65
|
-
height: $nhsuk-checkboxes-size;
|
|
66
|
-
left: 0;
|
|
67
|
-
position: absolute;
|
|
68
|
-
top: 0;
|
|
69
|
-
width: $nhsuk-checkboxes-size;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.nhsuk-checkboxes__input + .nhsuk-checkboxes__label::after {
|
|
73
|
-
background: transparent;
|
|
74
|
-
border: solid;
|
|
75
|
-
border-top-color: transparent;
|
|
76
|
-
border-width: 0 0 $nhsuk-border-width $nhsuk-border-width;
|
|
77
|
-
content: "";
|
|
78
|
-
height: 10px;
|
|
79
|
-
left: 10px;
|
|
80
|
-
opacity: 0; // [2]
|
|
81
|
-
position: absolute;
|
|
82
|
-
top: 13px;
|
|
83
|
-
-ms-transform: rotate(-45deg);
|
|
84
|
-
-webkit-transform: rotate(-45deg);
|
|
85
|
-
transform: rotate(-45deg);
|
|
86
|
-
width: 22px;
|
|
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-checkboxes__input:focus + .nhsuk-checkboxes__label::before {
|
|
97
|
-
@include nhsuk-focused-checkbox;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/// Selected state
|
|
101
|
-
|
|
102
|
-
.nhsuk-checkboxes__input:checked + .nhsuk-checkboxes__label::after {
|
|
103
|
-
opacity: 1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/// Disabled state
|
|
107
|
-
|
|
108
|
-
.nhsuk-checkboxes__input:disabled,
|
|
109
|
-
.nhsuk-checkboxes__input:disabled + .nhsuk-checkboxes__label {
|
|
110
|
-
cursor: default;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.nhsuk-checkboxes__input:disabled + .nhsuk-checkboxes__label {
|
|
114
|
-
opacity: 0.5;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/// Divider variant
|
|
118
|
-
|
|
119
|
-
.nhsuk-checkboxes__divider {
|
|
120
|
-
$nhsuk-divider-size: $nhsuk-checkboxes-size !default;
|
|
121
|
-
|
|
122
|
-
color: $nhsuk-text-color;
|
|
123
|
-
margin-bottom: nhsuk-spacing(2);
|
|
124
|
-
text-align: center;
|
|
125
|
-
width: $nhsuk-divider-size;
|
|
126
|
-
|
|
127
|
-
@include nhsuk-font(19);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/// Conditional
|
|
131
|
-
///
|
|
132
|
-
/// 1. Calculate the amount of padding needed to keep the border
|
|
133
|
-
/// centered against the checkbox.
|
|
134
|
-
/// 2. Move the border centered with the checkbox.
|
|
135
|
-
/// 3. Move the contents of the conditional inline with the label.
|
|
136
|
-
|
|
137
|
-
.nhsuk-checkboxes__conditional {
|
|
138
|
-
$conditional-border-width: $nhsuk-border-width-mobile;
|
|
139
|
-
$conditional-border-padding: math.div($nhsuk-checkboxes-size, 2) - math.div($conditional-border-width, 2); // [1]
|
|
140
|
-
$conditional-margin-left: $conditional-border-padding; // [2]
|
|
141
|
-
$conditional-padding-left: $conditional-border-padding + $nhsuk-checkboxes-label-padding-left-right; // [3]
|
|
142
|
-
|
|
143
|
-
border-left: $conditional-border-width solid $nhsuk-form-border-color;
|
|
144
|
-
margin-left: $conditional-margin-left;
|
|
145
|
-
padding-left: $conditional-padding-left;
|
|
146
|
-
@include nhsuk-responsive-margin(4, "bottom");
|
|
147
|
-
|
|
148
|
-
& > :last-child {
|
|
149
|
-
margin-bottom: 0;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.js-enabled .nhsuk-checkboxes__conditional--hidden {
|
|
154
|
-
display: none;
|
|
155
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/contents-list/_index.scss
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Contents list component
|
|
6
|
-
///
|
|
7
|
-
/// 1. Creates a grey line before each list
|
|
8
|
-
/// item using a ASCII number for the symbol.
|
|
9
|
-
///
|
|
10
|
-
/// @group components
|
|
11
|
-
////
|
|
12
|
-
|
|
13
|
-
.nhsuk-contents-list {
|
|
14
|
-
@include nhsuk-responsive-margin(7, "bottom");
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nhsuk-contents-list__list {
|
|
18
|
-
list-style: none;
|
|
19
|
-
padding: 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.nhsuk-contents-list__item {
|
|
23
|
-
background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__emdash' xmlns='http://www.w3.org/2000/svg' fill='%23aeb7bd' width='19' height='1' aria-hidden='true'%3E%3Cpath d='M0 0h19v1H0z'%3E%3C/path%3E%3C/svg%3E")
|
|
24
|
-
left nhsuk-px-to-rem(12px) no-repeat;
|
|
25
|
-
padding: 0 0 0 nhsuk-spacing(5);
|
|
26
|
-
position: relative;
|
|
27
|
-
|
|
28
|
-
@include nhsuk-media-query($from: tablet) {
|
|
29
|
-
background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__emdash' xmlns='http://www.w3.org/2000/svg' fill='%23aeb7bd' width='16' height='1' aria-hidden='true'%3E%3Cpath d='M0 0h19v1H0z'%3E%3C/path%3E%3C/svg%3E")
|
|
30
|
-
left nhsuk-px-to-rem(14px) no-repeat;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.nhsuk-contents-list__link {
|
|
35
|
-
display: inline-block;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.nhsuk-contents-list__current {
|
|
39
|
-
font-weight: $nhsuk-font-bold;
|
|
40
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/date-input/_index.scss
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@use "../../core/tools" as *;
|
|
2
|
-
|
|
3
|
-
////
|
|
4
|
-
/// Date input component
|
|
5
|
-
///
|
|
6
|
-
/// 1. font-size: 0 removes whitespace caused by inline-block
|
|
7
|
-
///
|
|
8
|
-
/// @group components
|
|
9
|
-
////
|
|
10
|
-
|
|
11
|
-
.nhsuk-date-input {
|
|
12
|
-
font-size: 0; // [1]
|
|
13
|
-
|
|
14
|
-
@include nhsuk-clearfix;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nhsuk-date-input__item {
|
|
18
|
-
display: inline-block;
|
|
19
|
-
margin-bottom: 0;
|
|
20
|
-
margin-right: nhsuk-spacing(4);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.nhsuk-date-input__label {
|
|
24
|
-
display: block;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.nhsuk-date-input__input {
|
|
28
|
-
margin-bottom: 0;
|
|
29
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/details/_details.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|