design_system 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/components/_index.scss +36 -20
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/action-link/_action-link.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/action-link/_index.scss +84 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/back-link/_back-link.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/back-link/_index.scss +56 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/breadcrumb/_breadcrumb.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/breadcrumb/_index.scss +103 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/button/_button.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/button/_index.scss +207 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/card/_card.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/card/_index.scss +526 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/character-count/_character-count.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/character-count/_index.scss +54 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/checkboxes/_checkboxes.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/checkboxes/_index.scss +337 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/contents-list/_contents-list.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/contents-list/_index.scss +32 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/date-input/_date-input.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/date-input/_index.scss +40 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/details/_details.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/details/_index.scss +374 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/do-dont-list/_do-dont-list.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/do-dont-list/_index.scss +37 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-message/_error-message.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-message/_index.scss +22 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-summary/_error-summary.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/error-summary/_index.scss +75 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/fieldset/_fieldset.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/fieldset/_index.scss +81 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/file-upload/_file-upload.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/file-upload/_index.scss +251 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/footer/_footer.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/footer/_index.scss +64 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/header/_header.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/header/_index.scss +783 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hero/_hero.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hero/_index.scss +205 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hint/_hint.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/hint/_index.scss +53 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/images/_images.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/images/_index.scss +53 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/input/_index.scss +184 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/input/_input.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/inset-text/_index.scss +34 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/inset-text/_inset-text.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/label/_index.scss +53 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/label/_label.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/notification-banner/_index.scss +100 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/notification-banner/_notification-banner.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/pagination/_index.scss +261 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/pagination/_pagination.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/panel/_index.scss +99 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/panel/_panel.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/password-input/_index.scss +37 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/password-input/_password-input.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/radios/_index.scss +354 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/radios/_radios.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/select/_index.scss +63 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/select/_select.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/skip-link/_index.scss +48 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/skip-link/_skip-link.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/summary-list/_index.scss +215 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/summary-list/_summary-list.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tables/_index.scss +205 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tables/_tables.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tabs/_index.scss +138 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tabs/_tabs.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tag/_index.scss +101 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/tag/_tag.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/task-list/_index.scss +111 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/task-list/_task-list.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/textarea/_index.scss +52 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/textarea/_textarea.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/warning-callout/_index.scss +22 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/components/warning-callout/_warning-callout.scss +3 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/_index.scss +4 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/_nhsuk-frontend-properties.scss +28 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/all.scss +3 -1
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_forms.scss +4 -2
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_index.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_links.scss +3 -2
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/elements/_page.scss +66 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/elements/_table.scss +6 -5
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_box-sizing.scss +2 -4
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_font-face.scss +29 -15
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/generic/_index.scss +2 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/helpers/_colour.scss +106 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/helpers/_index.scss +7 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_button-group.scss +124 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_form-group.scss +47 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/objects/_grid.scss +5 -3
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/objects/_index.scss +4 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_input-wrapper.scss +81 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_main-wrapper.scss +66 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/objects/_width-container.scss +98 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_all.scss +3 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_breakpoints.scss +35 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-applied.scss +326 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-deprecated.scss +116 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours-palette.scss +41 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_colours.scss +12 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/settings/_globals.scss +214 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_index.scss +5 -1
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_spacing.scss +3 -3
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_typography.scss +15 -34
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/settings/_warnings.scss +11 -5
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/styles/_icons.scss +45 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_index.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_lists.scss +15 -10
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_section-break.scss +4 -2
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/styles/_typography.scss +34 -39
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_all.scss +3 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_buttons.scss +85 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_exports.scss +1 -11
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_focused.scss +134 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_functions.scss +81 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_grid.scss +74 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_index.scss +5 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_links.scss +234 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_mixins.scss +168 -118
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_sass-mq.scss +9 -11
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_shape-arrow.scss +14 -20
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_shape-chevron.scss +65 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/tools/_shape-dash.scss +31 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_spacing.scss +25 -14
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/tools/_typography.scss +71 -25
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_clearfix.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_display.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_float.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_grid-widths.scss +19 -20
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_index.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_link-nowrap.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_list-border.scss +6 -2
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_reading-width.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_spacing.scss +6 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_text-align.scss +2 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/core/utilities/_typography.scss +52 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_visually-hidden.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/utilities/_widths.scss +2 -0
- data/app/assets/stylesheets/design_system/{nhsuk-frontend-9.6.4 → nhsuk-frontend-10.3.1}/core/vendor/sass-mq.scss +4 -2
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/index.scss +4 -0
- data/app/assets/stylesheets/design_system/nhsuk-frontend-10.3.1/nhsuk.scss +3 -0
- data/app/assets/stylesheets/design_system/nhsuk.scss +2 -2
- data/app/helpers/design_system_helper.rb +8 -4
- data/app/views/layouts/govuk/application.html.erb +1 -0
- data/app/views/layouts/nhsuk/application.html.erb +52 -59
- data/app/views/nhsuk/_navigation.html.erb +9 -13
- data/lib/design_system/engine.rb +1 -1
- data/lib/design_system/generic/builders/action_link.rb +17 -0
- data/lib/design_system/generic/builders/elements/backlink.rb +30 -0
- data/lib/design_system/generic/builders/fixed_elements.rb +4 -0
- data/lib/design_system/generic/builders/link.rb +9 -0
- data/lib/design_system/generic/builders/notification.rb +10 -6
- data/lib/design_system/generic/builders/pagination_renderer.rb +4 -9
- data/lib/design_system/govuk/builders/action_link.rb +17 -0
- data/lib/design_system/govuk/form_builder.rb +6 -2
- data/lib/design_system/govuk/test_helpers/form_builder_testable.rb +14 -0
- data/lib/design_system/nhsuk/builders/action_link.rb +30 -0
- data/lib/design_system/nhsuk/builders/elements/breadcrumbs.rb +12 -16
- data/lib/design_system/nhsuk/builders/notification.rb +0 -6
- data/lib/design_system/version.rb +1 -1
- data/lib/tasks/nhsuk.rake +10 -5
- data/public/design_system/static/{nhsuk-frontend-9.6.4/favicons → nhsuk-frontend-10.3.1/images}/favicon.ico +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/favicon.svg +4 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-180.png +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-192.png +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-512.png +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-icon-mask.svg +3 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/images/nhsuk-opengraph-image.png +0 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/manifest.json +39 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk-frontend.min.js +1 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk-frontend.min.js.map +1 -0
- data/public/design_system/static/nhsuk-frontend-10.3.1/nhsuk.js +7 -0
- metadata +159 -161
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/action-link/_action-link.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/action-link/_index.scss +0 -73
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/back-link/_back-link.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/back-link/_index.scss +0 -66
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/breadcrumb/_breadcrumb.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/breadcrumb/_index.scss +0 -138
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/button/_button.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/button/_index.scss +0 -257
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/card/_card.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/card/_index.scss +0 -321
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/character-count/_character-count.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/character-count/_index.scss +0 -19
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/checkboxes/_checkboxes.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/checkboxes/_index.scss +0 -155
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/contents-list/_contents-list.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/contents-list/_index.scss +0 -40
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/date-input/_date-input.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/date-input/_index.scss +0 -29
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/details/_details.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/details/_index.scss +0 -211
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/do-dont-list/_do-dont-list.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/do-dont-list/_index.scss +0 -23
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-message/_error-message.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-message/_index.scss +0 -17
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-summary/_error-summary.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/error-summary/_index.scss +0 -72
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/fieldset/_fieldset.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/fieldset/_index.scss +0 -65
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/footer/_footer.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/footer/_index.scss +0 -87
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-base.scss +0 -495
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-organisation.scss +0 -126
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-service.scss +0 -60
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-transactional.scss +0 -61
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header-white.scss +0 -117
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_header.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/header/_index.scss +0 -5
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hero/_hero.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hero/_index.scss +0 -187
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hint/_hint.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/hint/_index.scss +0 -51
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/images/_images.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/images/_index.scss +0 -48
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/input/_index.scss +0 -149
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/input/_input.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/inset-text/_index.scss +0 -28
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/inset-text/_inset-text.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/label/_index.scss +0 -53
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/label/_label.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/pagination/_index.scss +0 -95
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/pagination/_pagination.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/panel/_index.scss +0 -57
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/panel/_panel.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/radios/_index.scss +0 -180
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/radios/_radios.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/select/_index.scss +0 -44
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/select/_select.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/skip-link/_index.scss +0 -34
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/skip-link/_skip-link.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/summary-list/_index.scss +0 -183
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/summary-list/_summary-list.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tables/_index.scss +0 -181
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tables/_tables.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tabs/_index.scss +0 -120
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tabs/_tabs.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tag/_index.scss +0 -92
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tag/_tag.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/task-list/_index.scss +0 -101
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/task-list/_task-list.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/textarea/_index.scss +0 -30
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/textarea/_textarea.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/warning-callout/_index.scss +0 -19
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/warning-callout/_warning-callout.scss +0 -1
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/elements/_page.scss +0 -43
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_form-group.scss +0 -25
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_main-wrapper.scss +0 -96
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_width-container.scss +0 -63
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_breakpoints.scss +0 -18
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_colours.scss +0 -188
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/settings/_globals.scss +0 -82
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/styles/_icons.scss +0 -105
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_focused.scss +0 -86
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_functions.scss +0 -45
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_grid.scss +0 -138
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_ifff.scss +0 -19
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/tools/_links.scss +0 -184
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/utilities/_typography.scss +0 -72
- data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/nhsuk.scss +0 -1
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/apple-touch-icon-180x180.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/apple-touch-icon.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon-192x192.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/favicon.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/largetile-310x310.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/mediumtile-144x144.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/mediumtile-150x150.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/smalltile-70x70.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/favicons/widetile-310x150.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-left.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-right-circle.svg +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-arrow-right.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-chevron-left.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-chevron-right.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-close.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-cross.svg +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-emdash-small.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-emdash.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-minus.svg +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-plus.svg +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-search.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/icons/icon-tick.svg +0 -3
- data/public/design_system/static/nhsuk-frontend-9.6.4/logos/logo-nhs.svg +0 -5
- data/public/design_system/static/nhsuk-frontend-9.6.4/logos/nhs-logo.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/logos/open-graph.png +0 -0
- data/public/design_system/static/nhsuk-frontend-9.6.4/nhsuk.js +0 -4
- data/public/design_system/static/nhsuk-frontend-9.6.4/nhsuk.min.js +0 -1
- /data/public/design_system/static/{design_system-0.10.0 → design_system-0.12.0}/design_system.js +0 -0
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tables/_index.scss
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Table component
|
|
6
|
-
///
|
|
7
|
-
/// @group components
|
|
8
|
-
////
|
|
9
|
-
|
|
10
|
-
/// Table container is used to ensure the table does not break the container.
|
|
11
|
-
///
|
|
12
|
-
/// 1. Margin is removed so there isn't double spacing.
|
|
13
|
-
/// 2. XS size not added because it matches the table header, so it'd be bad for hierarchy
|
|
14
|
-
|
|
15
|
-
.nhsuk-table-container {
|
|
16
|
-
display: block;
|
|
17
|
-
-webkit-overflow-scrolling: touch;
|
|
18
|
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
19
|
-
overflow-x: auto;
|
|
20
|
-
width: 100%;
|
|
21
|
-
|
|
22
|
-
@include nhsuk-responsive-margin(7, "bottom");
|
|
23
|
-
|
|
24
|
-
.nhsuk-table,
|
|
25
|
-
.nhsuk-table-responsive {
|
|
26
|
-
margin: 0; // [1]
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.nhsuk-table,
|
|
31
|
-
.nhsuk-table-responsive {
|
|
32
|
-
width: 100%;
|
|
33
|
-
|
|
34
|
-
border-spacing: 0;
|
|
35
|
-
border-collapse: collapse;
|
|
36
|
-
|
|
37
|
-
@include nhsuk-font($size: 19);
|
|
38
|
-
@include nhsuk-responsive-margin(7, "bottom");
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.nhsuk-table__caption--xl {
|
|
42
|
-
@include nhsuk-font-size(48);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.nhsuk-table__caption--l {
|
|
46
|
-
@include nhsuk-font-size(36);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.nhsuk-table__caption--m {
|
|
50
|
-
@include nhsuk-font-size(26);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.nhsuk-table__caption--s {
|
|
54
|
-
@include nhsuk-font-size(22);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// [2]
|
|
58
|
-
|
|
59
|
-
/// Table row hover
|
|
60
|
-
///
|
|
61
|
-
/// Table row hover is used to aid readability for users.
|
|
62
|
-
|
|
63
|
-
.nhsuk-table__row {
|
|
64
|
-
&:hover {
|
|
65
|
-
background-color: $color_nhsuk-grey-5;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/// Table panel with tab heading
|
|
70
|
-
///
|
|
71
|
-
/// 1. Margin is removed so there isn't double spacing.
|
|
72
|
-
|
|
73
|
-
.nhsuk-table__panel-with-heading-tab {
|
|
74
|
-
@include nhsuk-panel-with-label($color_nhsuk-white, $nhsuk-text-color, $color_nhsuk-grey-4);
|
|
75
|
-
|
|
76
|
-
.nhsuk-table,
|
|
77
|
-
.nhsuk-table-container,
|
|
78
|
-
.nhsuk-table-responsive {
|
|
79
|
-
margin: 0; // [1]
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.nhsuk-table__heading-tab {
|
|
84
|
-
@include nhsuk-heading-label($color_nhsuk-blue, $color_nhsuk-white);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/// Responsive table
|
|
88
|
-
///
|
|
89
|
-
/// 1. Hide the thead until desktop
|
|
90
|
-
/// 2. Removing default screen reader behaviour
|
|
91
|
-
/// 3. Assigning role of table-row on desktop to give default screen reader behaviour
|
|
92
|
-
/// 4. Using justify content to space out elements in the row on mobile
|
|
93
|
-
/// 5. Assigning a minimum width in case of black cell
|
|
94
|
-
/// 6. Aligning content to the right on mobile
|
|
95
|
-
/// 7. Aligning mobile header to left to split it from the data
|
|
96
|
-
/// 8. Hiding mobile specific header from desktop view
|
|
97
|
-
/// 9. Adding a display block value due to IE 11 not having full flex support
|
|
98
|
-
|
|
99
|
-
.nhsuk-table-responsive {
|
|
100
|
-
thead {
|
|
101
|
-
@include nhsuk-media-query($until: desktop) {
|
|
102
|
-
@include nhsuk-visually-hidden; // [1]
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.nhsuk-table__body {
|
|
107
|
-
.nhsuk-table-responsive__heading {
|
|
108
|
-
@include nhsuk-typography-weight-bold;
|
|
109
|
-
padding-right: nhsuk-spacing(3);
|
|
110
|
-
text-align: left; // [8]
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.nhsuk-table__row {
|
|
114
|
-
display: block; // [3]
|
|
115
|
-
margin-bottom: nhsuk-spacing(4);
|
|
116
|
-
|
|
117
|
-
&:last-child {
|
|
118
|
-
margin-bottom: 0;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.nhsuk-table__row th,
|
|
123
|
-
.nhsuk-table__row td {
|
|
124
|
-
display: block; // For browsers that don't support flexbox
|
|
125
|
-
display: flex;
|
|
126
|
-
justify-content: space-between; // [5]
|
|
127
|
-
min-width: 1px; // [6]
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@media all and (-ms-high-contrast: none) {
|
|
131
|
-
.nhsuk-table__row th,
|
|
132
|
-
.nhsuk-table__row td {
|
|
133
|
-
display: block; // [10]
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
@include nhsuk-media-query($until: desktop) {
|
|
138
|
-
.nhsuk-table__row th {
|
|
139
|
-
font-weight: $nhsuk-font-normal;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.nhsuk-table__row th,
|
|
143
|
-
.nhsuk-table__row td {
|
|
144
|
-
padding-right: 0;
|
|
145
|
-
text-align: right; // [7]
|
|
146
|
-
|
|
147
|
-
&:last-child {
|
|
148
|
-
border-bottom: 3px solid $color_nhsuk-grey-4;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
@include nhsuk-media-query($from: desktop) {
|
|
154
|
-
.nhsuk-table-responsive__heading {
|
|
155
|
-
display: none; // [9]
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.nhsuk-table__row {
|
|
159
|
-
display: table-row; // [4]
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.nhsuk-table__row th {
|
|
163
|
-
text-align: left;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.nhsuk-table__row th,
|
|
167
|
-
.nhsuk-table__row td {
|
|
168
|
-
display: table-cell;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/// Numeric tables
|
|
175
|
-
///
|
|
176
|
-
/// Right aligns table cells for numeric tables.
|
|
177
|
-
|
|
178
|
-
.nhsuk-table__header--numeric,
|
|
179
|
-
.nhsuk-table__cell--numeric {
|
|
180
|
-
text-align: right;
|
|
181
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/tables/_tables.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
.nhsuk-tabs {
|
|
5
|
-
@include nhsuk-responsive-margin(1, "top");
|
|
6
|
-
@include nhsuk-responsive-margin(6, "bottom");
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.nhsuk-tabs__title {
|
|
10
|
-
color: $nhsuk-text-color;
|
|
11
|
-
margin-bottom: nhsuk-spacing(2);
|
|
12
|
-
@include nhsuk-font($size: 19);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.nhsuk-tabs__list {
|
|
16
|
-
list-style: none;
|
|
17
|
-
margin: 0;
|
|
18
|
-
padding: 0;
|
|
19
|
-
@include nhsuk-responsive-margin(6, "bottom");
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.nhsuk-tabs__list-item {
|
|
23
|
-
margin-left: nhsuk-spacing(5);
|
|
24
|
-
@include nhsuk-font($size: 19);
|
|
25
|
-
|
|
26
|
-
&::before {
|
|
27
|
-
color: $nhsuk-text-color;
|
|
28
|
-
content: "\2014 "; // "— "
|
|
29
|
-
margin-left: -(nhsuk-spacing(5));
|
|
30
|
-
padding-right: nhsuk-spacing(1);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.nhsuk-tabs__tab {
|
|
35
|
-
display: inline-block;
|
|
36
|
-
margin-bottom: nhsuk-spacing(2);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.nhsuk-tabs__panel {
|
|
40
|
-
@include nhsuk-responsive-margin(8, "bottom");
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// JavaScript enabled
|
|
44
|
-
.js-enabled {
|
|
45
|
-
@include nhsuk-media-query($from: tablet) {
|
|
46
|
-
.nhsuk-tabs__list {
|
|
47
|
-
border-bottom: 1px solid $nhsuk-border-color;
|
|
48
|
-
margin-bottom: 0;
|
|
49
|
-
@include nhsuk-clearfix;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.nhsuk-tabs__title {
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.nhsuk-tabs__list-item {
|
|
57
|
-
background-color: $color_nhsuk-grey-4;
|
|
58
|
-
float: left;
|
|
59
|
-
margin-bottom: 0;
|
|
60
|
-
margin-left: 0;
|
|
61
|
-
margin-right: nhsuk-spacing(1);
|
|
62
|
-
padding: nhsuk-spacing(2) nhsuk-spacing(4);
|
|
63
|
-
position: relative;
|
|
64
|
-
text-align: center;
|
|
65
|
-
|
|
66
|
-
&::before {
|
|
67
|
-
content: none;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.nhsuk-tabs__list-item--selected {
|
|
72
|
-
$border-width: 1px;
|
|
73
|
-
background-color: $color_nhsuk-white;
|
|
74
|
-
border: $border-width solid $nhsuk-border-color;
|
|
75
|
-
border-bottom: 0;
|
|
76
|
-
margin-bottom: -$border-width; // Compensation for border (otherwise we get a shift)
|
|
77
|
-
margin-top: -(nhsuk-spacing(1));
|
|
78
|
-
padding-bottom: (nhsuk-spacing(2) * 1.5) + $border-width;
|
|
79
|
-
padding-left: nhsuk-spacing(4) - $border-width;
|
|
80
|
-
padding-right: nhsuk-spacing(4) - $border-width;
|
|
81
|
-
padding-top: (nhsuk-spacing(2) * 1.5) - $border-width;
|
|
82
|
-
position: relative;
|
|
83
|
-
|
|
84
|
-
.nhsuk-tabs__tab {
|
|
85
|
-
text-decoration: none;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.nhsuk-tabs__tab {
|
|
90
|
-
margin-bottom: 0;
|
|
91
|
-
|
|
92
|
-
@include nhsuk-link-style-text;
|
|
93
|
-
|
|
94
|
-
&::after {
|
|
95
|
-
bottom: 0;
|
|
96
|
-
content: "";
|
|
97
|
-
left: 0;
|
|
98
|
-
position: absolute;
|
|
99
|
-
right: 0;
|
|
100
|
-
top: 0;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.nhsuk-tabs__panel {
|
|
105
|
-
background-color: $color_nhsuk-white;
|
|
106
|
-
border: 1px solid $nhsuk-border-color;
|
|
107
|
-
border-top: 0;
|
|
108
|
-
padding: nhsuk-spacing(6) nhsuk-spacing(4);
|
|
109
|
-
@include nhsuk-responsive-margin(0, "bottom");
|
|
110
|
-
|
|
111
|
-
& > :last-child {
|
|
112
|
-
margin-bottom: 0;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.nhsuk-tabs__panel--hidden {
|
|
117
|
-
display: none;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Footer component
|
|
6
|
-
///
|
|
7
|
-
/// @group components
|
|
8
|
-
////
|
|
9
|
-
|
|
10
|
-
.nhsuk-tag {
|
|
11
|
-
background-color: nhsuk-shade($color_nhsuk-blue, 10%);
|
|
12
|
-
border: 1px solid nhsuk-shade($color_nhsuk-blue, 10%);
|
|
13
|
-
color: $color_nhsuk-white;
|
|
14
|
-
display: inline-block;
|
|
15
|
-
outline: 2px solid transparent;
|
|
16
|
-
outline-offset: -2px;
|
|
17
|
-
padding-bottom: nhsuk-spacing(1);
|
|
18
|
-
padding-left: nhsuk-spacing(2);
|
|
19
|
-
padding-right: nhsuk-spacing(2);
|
|
20
|
-
padding-top: nhsuk-spacing(1);
|
|
21
|
-
text-decoration: none;
|
|
22
|
-
|
|
23
|
-
@include nhsuk-font($size: 16, $weight: bold, $line-height: 1);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/// Colour variants
|
|
27
|
-
|
|
28
|
-
.nhsuk-tag--white {
|
|
29
|
-
background-color: $color_nhsuk-white;
|
|
30
|
-
border-color: $color_nhsuk-black;
|
|
31
|
-
color: $color_nhsuk-black;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.nhsuk-tag--grey {
|
|
35
|
-
background-color: nhsuk-tint($color_nhsuk-grey-1, 80%);
|
|
36
|
-
border-color: nhsuk-shade($color_nhsuk-grey-1, 30%);
|
|
37
|
-
color: nhsuk-shade($color_nhsuk-grey-1, 30%);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.nhsuk-tag--green {
|
|
41
|
-
background-color: nhsuk-tint($color_nhsuk-green, 80%);
|
|
42
|
-
border-color: nhsuk-shade($color_nhsuk-green, 40%);
|
|
43
|
-
color: nhsuk-shade($color_nhsuk-green, 40%);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.nhsuk-tag--aqua-green {
|
|
47
|
-
background-color: nhsuk-tint($color_nhsuk-aqua-green, 80%);
|
|
48
|
-
border-color: nhsuk-shade($color_nhsuk-aqua-green, 50%);
|
|
49
|
-
color: nhsuk-shade($color_nhsuk-aqua-green, 50%);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.nhsuk-tag--blue {
|
|
53
|
-
background-color: nhsuk-tint($color_nhsuk-blue, 80%);
|
|
54
|
-
border-color: nhsuk-shade($color_nhsuk-blue, 30%);
|
|
55
|
-
color: nhsuk-shade($color_nhsuk-blue, 30%);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.nhsuk-tag--purple {
|
|
59
|
-
background-color: nhsuk-tint($color_nhsuk-purple, 80%);
|
|
60
|
-
border-color: nhsuk-shade($color_nhsuk-purple, 30%);
|
|
61
|
-
color: nhsuk-shade($color_nhsuk-purple, 30%);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.nhsuk-tag--pink {
|
|
65
|
-
background-color: nhsuk-tint($color_nhsuk-pink, 80%);
|
|
66
|
-
border-color: nhsuk-shade($color_nhsuk-pink, 50%);
|
|
67
|
-
color: nhsuk-shade($color_nhsuk-pink, 50%);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.nhsuk-tag--red {
|
|
71
|
-
background-color: nhsuk-tint($color_nhsuk-red, 80%);
|
|
72
|
-
border-color: nhsuk-shade($color_nhsuk-red, 50%);
|
|
73
|
-
color: nhsuk-shade($color_nhsuk-red, 50%);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.nhsuk-tag--orange {
|
|
77
|
-
background-color: nhsuk-tint($color_nhsuk-warm-yellow, 50%);
|
|
78
|
-
border-color: nhsuk-shade($color_nhsuk-warm-yellow, 70%);
|
|
79
|
-
color: nhsuk-shade($color_nhsuk-warm-yellow, 70%);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.nhsuk-tag--yellow {
|
|
83
|
-
background-color: nhsuk-tint($color_nhsuk-yellow, 50%);
|
|
84
|
-
border-color: nhsuk-shade($color_nhsuk-yellow, 70%);
|
|
85
|
-
color: nhsuk-shade($color_nhsuk-yellow, 70%);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/// Remove tag border
|
|
89
|
-
|
|
90
|
-
.nhsuk-tag--no-border {
|
|
91
|
-
border: 0;
|
|
92
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/task-list/_index.scss
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
@use "../../core/settings" as *;
|
|
3
|
-
@use "../../core/tools" as *;
|
|
4
|
-
|
|
5
|
-
////
|
|
6
|
-
/// Task list component
|
|
7
|
-
///
|
|
8
|
-
/// @group components
|
|
9
|
-
/// @link https://github.com/alphagov/govuk-frontend Original code taken from GDS (Government Digital Service)
|
|
10
|
-
////
|
|
11
|
-
|
|
12
|
-
// NHS pages have a grey background, so we need a slightly darker colour for the hover
|
|
13
|
-
// This produces 1.1:1 contrast, the same as GOV.UK’s
|
|
14
|
-
$nhsuk-task-list-hover-color: color.adjust($color_nhsuk-grey-5, $lightness: -6%);
|
|
15
|
-
|
|
16
|
-
.nhsuk-task-list {
|
|
17
|
-
margin-top: 0;
|
|
18
|
-
padding: 0;
|
|
19
|
-
list-style-type: none;
|
|
20
|
-
|
|
21
|
-
@include nhsuk-font($size: 19);
|
|
22
|
-
@include nhsuk-responsive-margin(5, "bottom");
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// This uses table layout so that the task name and status always appear side-by-side, with the width of
|
|
26
|
-
// each 'column' being flexible depending upon the length of the task names and statuses.
|
|
27
|
-
//
|
|
28
|
-
// The position is set to 'relative' so than an absolutely-positioned transparent element box
|
|
29
|
-
// can be added within the link so that the whole row can be clickable.
|
|
30
|
-
.nhsuk-task-list__item {
|
|
31
|
-
display: table;
|
|
32
|
-
position: relative;
|
|
33
|
-
width: 100%;
|
|
34
|
-
margin-bottom: 0;
|
|
35
|
-
// stylelint-disable-next-line function-calc-no-unspaced-operator
|
|
36
|
-
padding-top: calc(nhsuk-spacing(2) + 4px);
|
|
37
|
-
// stylelint-disable-next-line function-calc-no-unspaced-operator
|
|
38
|
-
padding-bottom: calc(nhsuk-spacing(2) + 4px);
|
|
39
|
-
border-bottom: 1px solid $nhsuk-border-color;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.nhsuk-task-list__item:first-child {
|
|
43
|
-
border-top: 1px solid $nhsuk-border-color;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// This class is added to the <li> elements where the task name is a link.
|
|
47
|
-
// The background hover colour is added to help indicate that the whole row is clickable, rather
|
|
48
|
-
// than just the visible link text.
|
|
49
|
-
.nhsuk-task-list__item--with-link:hover {
|
|
50
|
-
background: $nhsuk-task-list-hover-color;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.nhsuk-task-list__name-and-hint {
|
|
54
|
-
display: table-cell;
|
|
55
|
-
vertical-align: top;
|
|
56
|
-
color: $nhsuk-text-color;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.nhsuk-task-list__status {
|
|
60
|
-
display: table-cell;
|
|
61
|
-
padding-left: nhsuk-spacing(2);
|
|
62
|
-
text-align: right;
|
|
63
|
-
vertical-align: top;
|
|
64
|
-
color: $nhsuk-text-color;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// This replicates some of the styling and spacing of tags so that these non-tag
|
|
68
|
-
// statuses don’t look out of place with them. Longer term we may want to look to
|
|
69
|
-
// adjusting the tag styles to be closer to body text.
|
|
70
|
-
.nhsuk-task-list__status--completed,
|
|
71
|
-
.nhsuk-task-list__status--cannot-start-yet {
|
|
72
|
-
padding-bottom: nhsuk-spacing(1);
|
|
73
|
-
padding-left: nhsuk-spacing(2);
|
|
74
|
-
// stylelint-disable-next-line function-calc-no-unspaced-operator
|
|
75
|
-
padding-top: calc(nhsuk-spacing(1) + 2px); // to match the spacing on tags
|
|
76
|
-
text-decoration: none;
|
|
77
|
-
|
|
78
|
-
@include nhsuk-font($size: 16, $weight: regular, $line-height: 1);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.nhsuk-task-list__status--cannot-start-yet {
|
|
82
|
-
color: $nhsuk-secondary-text-color;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// This adds an empty transparent box covering the whole row, including the task status and
|
|
86
|
-
// any hint text. Because this is generated within the link element, this allows the whole area
|
|
87
|
-
// to be clickable.
|
|
88
|
-
.nhsuk-task-list__link::after {
|
|
89
|
-
content: "";
|
|
90
|
-
display: block;
|
|
91
|
-
position: absolute;
|
|
92
|
-
top: 0;
|
|
93
|
-
right: 0;
|
|
94
|
-
bottom: 0;
|
|
95
|
-
left: 0;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.nhsuk-task-list__hint {
|
|
99
|
-
margin-top: nhsuk-spacing(1);
|
|
100
|
-
color: $nhsuk-secondary-text-color;
|
|
101
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/task-list/_task-list.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/textarea/_index.scss
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Textarea component
|
|
6
|
-
///
|
|
7
|
-
/// @group components
|
|
8
|
-
////
|
|
9
|
-
|
|
10
|
-
.nhsuk-textarea {
|
|
11
|
-
-webkit-appearance: none;
|
|
12
|
-
border: $nhsuk-border-width-form-element solid $nhsuk-form-border-color;
|
|
13
|
-
border-radius: 0;
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
display: block;
|
|
16
|
-
min-height: 40px;
|
|
17
|
-
padding: nhsuk-spacing(1);
|
|
18
|
-
resize: vertical;
|
|
19
|
-
width: 100%;
|
|
20
|
-
|
|
21
|
-
@include nhsuk-font(19);
|
|
22
|
-
|
|
23
|
-
&:focus {
|
|
24
|
-
@include nhsuk-focused-input;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.nhsuk-textarea--error {
|
|
29
|
-
border: $nhsuk-border-width-form-element-error solid $nhsuk-error-color;
|
|
30
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/components/textarea/_textarea.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@use "../../core/settings" as *;
|
|
2
|
-
@use "../../core/tools" as *;
|
|
3
|
-
|
|
4
|
-
////
|
|
5
|
-
/// Warning callout component
|
|
6
|
-
///
|
|
7
|
-
/// 1. Uses @mixin panel-with-label from tools/_mixins.
|
|
8
|
-
/// 2. Uses @mixin heading-label from tools/_mixins.
|
|
9
|
-
///
|
|
10
|
-
/// @group components
|
|
11
|
-
////
|
|
12
|
-
|
|
13
|
-
.nhsuk-warning-callout {
|
|
14
|
-
@include nhsuk-panel-with-label($color_nhsuk-pale-yellow, $nhsuk-text-color, $color_nhsuk-yellow); // [1]
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nhsuk-warning-callout__label {
|
|
18
|
-
@include nhsuk-heading-label($color_nhsuk-yellow, $nhsuk-text-color); // [2]
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward ".";
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
@use "../generic" as *;
|
|
2
|
-
@use "../settings" as *;
|
|
3
|
-
@use "../tools" as *;
|
|
4
|
-
|
|
5
|
-
////
|
|
6
|
-
/// Page
|
|
7
|
-
///
|
|
8
|
-
/// High-level, page-level styling.
|
|
9
|
-
///
|
|
10
|
-
/// 1. The reason for this is to prevent "centering jumps" when navigating back
|
|
11
|
-
/// and forth between pages with enough content to have a vertical scroll bar
|
|
12
|
-
/// and pages that do not.
|
|
13
|
-
/// 2. Fonts on OSX will look more consistent with other systems that do not
|
|
14
|
-
/// render text using sub-pixel anti-aliasing.
|
|
15
|
-
/// 3. Override the user agent style margin of 8px.
|
|
16
|
-
/// 4. Ensure the page always fills at least the entire height of the viewport.
|
|
17
|
-
///
|
|
18
|
-
/// @group elements
|
|
19
|
-
////
|
|
20
|
-
|
|
21
|
-
html {
|
|
22
|
-
background-color: $color_nhsuk-grey-4;
|
|
23
|
-
overflow-y: scroll; // [1]
|
|
24
|
-
|
|
25
|
-
@if $nhsuk-include-font-face {
|
|
26
|
-
@include nhsuk-font-face-frutiger;
|
|
27
|
-
|
|
28
|
-
& {
|
|
29
|
-
font-family: $nhsuk-font, $nhsuk-font-fallback;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
body {
|
|
35
|
-
background-color: $color_nhsuk-grey-5;
|
|
36
|
-
color: $nhsuk-text-color;
|
|
37
|
-
font-size: $nhsuk-base-font-size;
|
|
38
|
-
-moz-osx-font-smoothing: grayscale; // [2]
|
|
39
|
-
-webkit-font-smoothing: antialiased; // [2]
|
|
40
|
-
line-height: nhsuk-line-height($nhsuk-base-line-height, $nhsuk-base-font-size);
|
|
41
|
-
margin: 0; // [3]
|
|
42
|
-
min-height: 100%; // [4]
|
|
43
|
-
}
|
data/app/assets/stylesheets/design_system/nhsuk-frontend-9.6.4/core/objects/_form-group.scss
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
@use "../settings" as *;
|
|
2
|
-
@use "../tools" as *;
|
|
3
|
-
|
|
4
|
-
.nhsuk-form-group {
|
|
5
|
-
@include nhsuk-responsive-margin(4, "bottom");
|
|
6
|
-
|
|
7
|
-
.nhsuk-form-group:last-of-type {
|
|
8
|
-
margin-bottom: 0; // Remove margin from last item in nested groups
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.nhsuk-form-group--wrapper {
|
|
13
|
-
@include nhsuk-responsive-margin(5, "bottom");
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.nhsuk-form-group--error {
|
|
17
|
-
border-left: $nhsuk-border-width-form-group-error solid $nhsuk-error-color;
|
|
18
|
-
padding-left: nhsuk-spacing(3);
|
|
19
|
-
|
|
20
|
-
.nhsuk-form-group {
|
|
21
|
-
// Reset error styles in nested form groups that might have error class
|
|
22
|
-
border: 0;
|
|
23
|
-
padding: 0;
|
|
24
|
-
}
|
|
25
|
-
}
|