govuk_publishing_components 67.1.0 → 68.1.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/config/govuk_publishing_components_manifest.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/lib/filter-list.js +29 -4
- data/app/assets/stylesheets/component_guide/application.scss +12 -18
- data/app/assets/stylesheets/govuk_publishing_components/all-components.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +6 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_app-promo-banner.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +14 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_devolved-nations.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +3 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +7 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_glance-metric.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +30 -51
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +23 -23
- data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_pagination.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_published-dates.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss +7 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_secondary-navigation.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +15 -15
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +11 -11
- data/app/assets/stylesheets/govuk_publishing_components/components/_sub-navigation-menu.scss +9 -9
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +15 -10
- data/app/assets/stylesheets/govuk_publishing_components/components/_tag.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +8 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_colours.scss +9 -11
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/lib/_link.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/lib/_print_support.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/settings/_custom-properties.scss +9 -0
- data/app/assets/stylesheets/govuk_publishing_components/settings/_index.scss +1 -2
- data/app/assets/stylesheets/govuk_publishing_components/specific-components.scss +2 -0
- data/app/views/govuk_publishing_components/components/_glance_metric.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_header.html.erb +14 -36
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_tag.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/layout_header.yml +0 -15
- data/app/views/govuk_publishing_components/components/docs/tag.yml +4 -8
- data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +4 -13
- data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -1
- data/config/initializers/assets.rb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/README.md +10 -7
- data/node_modules/axe-core/axe.d.ts +4 -15
- data/node_modules/axe-core/axe.js +4011 -3559
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/gather-internals.js +1 -1
- data/node_modules/axe-core/locales/README.md +2 -2
- data/node_modules/axe-core/locales/_template.json +15 -5
- data/node_modules/axe-core/locales/sv.json +1147 -0
- data/node_modules/axe-core/package.json +65 -73
- data/node_modules/axe-core/sri-history.json +4 -0
- data/node_modules/govuk-frontend/README.md +1 -1
- data/node_modules/govuk-frontend/dist/govuk/_base.scss +1 -0
- data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +21 -95
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +22 -95
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.mjs +0 -1
- data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.ico +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.svg +1 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-180.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-192.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-512.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +14 -11
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +16 -19
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +7 -95
- data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +12 -19
- data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +8 -20
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +19 -9
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +19 -9
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +19 -9
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +7 -6
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +2 -5
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +4 -40
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +6 -4
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +4 -2
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +28 -37
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +0 -7
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +18 -23
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +25 -38
- data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +23 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +6 -11
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +85 -457
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +7 -536
- data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +2 -101
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +7 -6
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +7 -6
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +7 -6
- data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +4 -50
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -5
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +2 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +8 -6
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +9 -10
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +12 -6
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +7 -7
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +7 -6
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +5 -4
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +50 -71
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +7 -32
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +3 -2
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +9 -5
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +7 -8
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +8 -5
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +66 -31
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +6 -18
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +7 -5
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +13 -25
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +12 -24
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +4 -3
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +4 -3
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +2 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -17
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss +17 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss +15 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss +17 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss +5 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +168 -82
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +8 -7
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +23 -39
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +2 -26
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/init.mjs +1 -2
- data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +4 -26
- data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss +2 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +2 -6
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +0 -2
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +3 -188
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +366 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +8 -254
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +117 -25
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss +18 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +3 -14
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +0 -16
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +12 -189
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/template.njk +61 -23
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -1
- data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -4
- data/node_modules/govuk-frontend/package.json +13 -12
- metadata +15 -56
- data/app/assets/javascripts/govuk_publishing_components/components/layout-header.js +0 -3
- data/app/assets/stylesheets/govuk_publishing_components/settings/_colours.scss +0 -5
- data/app/assets/stylesheets/govuk_publishing_components/settings/_typography.scss +0 -1
- data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +0 -34
- data/node_modules/govuk-frontend/dist/govuk/all.scss +0 -9
- data/node_modules/govuk-frontend/dist/govuk/all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.ico +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.svg +0 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-crest.svg +0 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-180.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-192.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-512.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-mask.svg +0 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-opengraph-image.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/manifest.json +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-input.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +0 -238
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +0 -230
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +0 -89
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +0 -54
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +0 -54
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +0 -48
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +0 -59
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +0 -29
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +0 -119
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +0 -59
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +0 -62
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +0 -34
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +0 -34
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +0 -19
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-light-blue.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +0 -15
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +0 -9
- data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss +0 -65
- data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/functions.js +0 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4043c16d81a4d408586ba023e10b20c95351be88e3149f3068f768265eee4431
|
|
4
|
+
data.tar.gz: df3b994d054d385990f6cdb7fe23676d35f15ac398cb5c7c9ef7d840f15930ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 908961ea90462179429522aefc6224a35786c5dd630de3a289e9ca952a216d5bd9556b65871ab4f81af074a037af660dc2760eb93558ca2a6a538ac8a1a633a6
|
|
7
|
+
data.tar.gz: 3c22900fb4473fcbc267f3ad9a8fe8aab5fe645c9ddb61b835eab2652f6d2492341a992371461f3066599c6a748f0f9c1a3914b19c3c8b281b7218823ddd46c6
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Pre-compile image and font assets from here and govuk-frontend
|
|
2
2
|
//= link_tree ../images
|
|
3
|
-
//= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/
|
|
3
|
+
//= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/images
|
|
4
4
|
//= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/fonts
|
|
5
5
|
|
|
6
6
|
// Create asset files of each of the files in these directory
|
|
@@ -3,13 +3,24 @@
|
|
|
3
3
|
|
|
4
4
|
function FilterList (module) {
|
|
5
5
|
this.module = module
|
|
6
|
-
this.items =
|
|
6
|
+
this.items = document.querySelectorAll('[data-filter-item]')
|
|
7
7
|
this.labelText = this.module.getAttribute('data-filter-label') || 'Filter list'
|
|
8
|
+
this.resultsFound = this.items.length
|
|
9
|
+
this.resultsId = 'filter-results-count'
|
|
10
|
+
|
|
11
|
+
window.GOVUK.vars = window.GOVUK.vars || {}
|
|
8
12
|
}
|
|
9
13
|
|
|
10
14
|
FilterList.prototype.init = function () {
|
|
11
|
-
if (
|
|
15
|
+
if (window.GOVUK.vars.filterStarted) {
|
|
16
|
+
return
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
if (this.resultsFound) {
|
|
12
20
|
this.appendFilterInput()
|
|
21
|
+
this.resultsElement = document.getElementById(this.resultsId)
|
|
22
|
+
this.updateResultsCount()
|
|
23
|
+
window.GOVUK.vars.filterStarted = true
|
|
13
24
|
}
|
|
14
25
|
}
|
|
15
26
|
|
|
@@ -23,13 +34,19 @@
|
|
|
23
34
|
formLabel.textContent = this.labelText
|
|
24
35
|
|
|
25
36
|
const formInput = document.createElement('input')
|
|
26
|
-
formInput.classList.add('gem-c-input', 'govuk-input')
|
|
37
|
+
formInput.classList.add('gem-c-input', 'govuk-input', 'govuk-!-margin-bottom-1')
|
|
27
38
|
formInput.id = 'filterInput'
|
|
28
39
|
formInput.name = 'name'
|
|
29
40
|
formInput.spellcheck = false
|
|
30
41
|
formInput.type = 'text'
|
|
42
|
+
formInput.setAttribute('aria-describedby', this.resultsId)
|
|
43
|
+
|
|
44
|
+
const results = document.createElement('div')
|
|
45
|
+
results.classList.add('govuk-hint')
|
|
46
|
+
results.id = this.resultsId
|
|
47
|
+
results.setAttribute('aria-live', 'polite')
|
|
31
48
|
|
|
32
|
-
form.append(formLabel, formInput)
|
|
49
|
+
form.append(formLabel, formInput, results)
|
|
33
50
|
|
|
34
51
|
this.module.prepend(form)
|
|
35
52
|
const input = form.querySelector('.govuk-input')
|
|
@@ -50,6 +67,14 @@
|
|
|
50
67
|
item.classList.add('govuk-!-display-none')
|
|
51
68
|
}
|
|
52
69
|
}
|
|
70
|
+
this.updateResultsCount()
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
FilterList.prototype.updateResultsCount = function () {
|
|
74
|
+
const count = Array.from(this.items).filter((item) => !item.classList.contains('govuk-!-display-none')).length
|
|
75
|
+
const text = count === 1 ? `${count} result found` : `${count === 0 ? 'No' : count} results found`
|
|
76
|
+
|
|
77
|
+
this.resultsElement.innerHTML = count !== this.resultsFound ? text : ''
|
|
53
78
|
}
|
|
54
79
|
|
|
55
80
|
Modules.FilterList = FilterList
|
|
@@ -12,7 +12,7 @@ $gem-guide-border-width: 1px;
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.component-violation {
|
|
15
|
-
border: 3px solid
|
|
15
|
+
border: 3px solid govuk-functional-colour(error);
|
|
16
16
|
margin: 0 0 govuk-spacing(6);
|
|
17
17
|
padding: govuk-spacing(6);
|
|
18
18
|
@include govuk-text-colour;
|
|
@@ -24,7 +24,7 @@ $gem-guide-border-width: 1px;
|
|
|
24
24
|
|
|
25
25
|
.component-violation__link {
|
|
26
26
|
display: block;
|
|
27
|
-
color:
|
|
27
|
+
color: govuk-functional-colour(error);
|
|
28
28
|
margin: govuk-spacing(3) 0;
|
|
29
29
|
@include govuk-font($size: 19, $weight: bold);
|
|
30
30
|
}
|
|
@@ -37,14 +37,14 @@ $gem-guide-border-width: 1px;
|
|
|
37
37
|
font-family: Consolas, Monaco, "Andale Mono", monospace;
|
|
38
38
|
font-size: 16px;
|
|
39
39
|
line-height: 1.5;
|
|
40
|
-
border: $gem-guide-border-width solid
|
|
40
|
+
border: $gem-guide-border-width solid govuk-functional-colour(border);
|
|
41
41
|
|
|
42
42
|
&[contenteditable]:hover {
|
|
43
43
|
cursor: text;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&[contenteditable]:focus {
|
|
47
|
-
outline: 3px solid
|
|
47
|
+
outline: 3px solid govuk-functional-colour(focus);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
> pre {
|
|
@@ -69,7 +69,7 @@ $gem-guide-border-width: 1px;
|
|
|
69
69
|
|
|
70
70
|
.component-guide-preview {
|
|
71
71
|
padding: govuk-spacing(8) govuk-spacing(6) govuk-spacing(6) govuk-spacing(6);
|
|
72
|
-
border: $gem-guide-border-width solid
|
|
72
|
+
border: $gem-guide-border-width solid govuk-functional-colour(border);
|
|
73
73
|
position: relative;
|
|
74
74
|
margin-bottom: govuk-spacing(8);
|
|
75
75
|
|
|
@@ -222,12 +222,12 @@ html {
|
|
|
222
222
|
// Rouge syntax highlighting
|
|
223
223
|
// Based on https://github.com/alphagov/tech-docs-template/blob/master/template/source/stylesheets/palette/_syntax-highlighting.scss
|
|
224
224
|
|
|
225
|
-
$code-00: color.scale(govuk-colour("
|
|
225
|
+
$code-00: color.scale(govuk-colour("black", $variant: "tint-95"), $lightness: 50%); // Default Background
|
|
226
226
|
$code-01: #f5f5f5; // Lighter Background (Unused)
|
|
227
227
|
$code-02: #bfc1c3; // Selection Background
|
|
228
|
-
$code-03:
|
|
228
|
+
$code-03: govuk-functional-colour(secondary-text); // Comments, Invisibles, Line Highlighting
|
|
229
229
|
$code-04: #e8e8e8; // Dark Foreground (Unused)
|
|
230
|
-
$code-05:
|
|
230
|
+
$code-05: govuk-functional-colour(text); // Default Foreground, Caret, Delimiters, Operators
|
|
231
231
|
$code-06: #ffffff; // Light Foreground (Unused)
|
|
232
232
|
$code-07: #ffffff; // Light Background (Unused)
|
|
233
233
|
|
|
@@ -491,8 +491,8 @@ $code-delete-bg: #fadddd;
|
|
|
491
491
|
border: 0;
|
|
492
492
|
margin-left: -(govuk-spacing(3));
|
|
493
493
|
margin-right: -(govuk-spacing(3));
|
|
494
|
-
border-top: solid 1px
|
|
495
|
-
border-bottom: solid 1px
|
|
494
|
+
border-top: solid 1px govuk-functional-colour(border);
|
|
495
|
+
border-bottom: solid 1px govuk-functional-colour(border);
|
|
496
496
|
|
|
497
497
|
@include govuk-media-query($from: tablet) {
|
|
498
498
|
margin-left: -(govuk-spacing(6));
|
|
@@ -543,8 +543,8 @@ $code-delete-bg: #fadddd;
|
|
|
543
543
|
bottom: -1px;
|
|
544
544
|
width: calc((100cqw - 960px) / 2);
|
|
545
545
|
box-sizing: border-box;
|
|
546
|
-
border-top: solid 1px
|
|
547
|
-
border-bottom: solid 1px
|
|
546
|
+
border-top: solid 1px govuk-functional-colour(border);
|
|
547
|
+
border-bottom: solid 1px govuk-functional-colour(border);
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
&::before {
|
|
@@ -557,9 +557,3 @@ $code-delete-bg: #fadddd;
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
|
|
561
|
-
// Note: This is a temporary override to ensure the background color on component preview
|
|
562
|
-
// pages remains white, this can be removed once the --rebrand flag is removed from govuk-frontend
|
|
563
|
-
.govuk-template--rebranded {
|
|
564
|
-
background: #ffffff;
|
|
565
|
-
}
|
|
@@ -23,7 +23,11 @@
|
|
|
23
23
|
width: 28px;
|
|
24
24
|
|
|
25
25
|
.gem-c-action-link__icon__circle {
|
|
26
|
-
fill:
|
|
26
|
+
fill: $govuk-blue-tint-80;
|
|
27
|
+
|
|
28
|
+
.gem-c-action-link--inverse & {
|
|
29
|
+
fill: govuk-colour("white");
|
|
30
|
+
}
|
|
27
31
|
|
|
28
32
|
@media (forced-colors: active) {
|
|
29
33
|
fill: LinkText;
|
|
@@ -83,7 +87,7 @@
|
|
|
83
87
|
@include govuk-media-query($media-type: print) {
|
|
84
88
|
.gem-c-action-link {
|
|
85
89
|
* {
|
|
86
|
-
color:
|
|
90
|
+
color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
.gem-c-action-link__icon {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.gem-c-app-promo-banner {
|
|
2
2
|
display: none;
|
|
3
3
|
padding: govuk-spacing(5) 0;
|
|
4
|
-
border-top: 4px solid
|
|
5
|
-
background-color: $govuk-
|
|
4
|
+
border-top: 4px solid govuk-functional-colour(brand);
|
|
5
|
+
background-color: $govuk-blue-tint-95;
|
|
6
6
|
@include govuk-text-colour;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
.gem-c-app-promo-banner__close-button {
|
|
47
47
|
border: 0;
|
|
48
48
|
padding: 0;
|
|
49
|
-
color: govuk-
|
|
49
|
+
color: govuk-functional-colour("secondary-text");
|
|
50
50
|
background: none;
|
|
51
51
|
flex: 0 0 24px;
|
|
52
52
|
height: 24px;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// stylelint-disable declaration-no-important
|
|
7
7
|
@include govuk-media-query($media-type: print) {
|
|
8
8
|
.gem-c-attachment-link .govuk-link {
|
|
9
|
-
color:
|
|
9
|
+
color: govuk-functional-colour(print-text) !important;
|
|
10
10
|
|
|
11
11
|
&::after {
|
|
12
12
|
font-size: inherit;
|
|
@@ -23,9 +23,9 @@ $thumbnail-border-width: 5px;
|
|
|
23
23
|
max-width: calc($thumbnail-width / 1.5);
|
|
24
24
|
height: calc($thumbnail-height / 1.5);
|
|
25
25
|
background: govuk-colour("white");
|
|
26
|
-
box-shadow: 0 2px 2px
|
|
27
|
-
fill: govuk-colour("
|
|
28
|
-
stroke: govuk-colour("
|
|
26
|
+
box-shadow: 0 2px 2px govuk-colour("black", $variant: "tint-50"), 0 0 0 5px govuk-functional-colour("border");
|
|
27
|
+
fill: govuk-colour("black", $variant: "tint-50");
|
|
28
|
+
stroke: govuk-colour("black", $variant: "tint-50");
|
|
29
29
|
|
|
30
30
|
@include govuk-media-query($from: tablet) {
|
|
31
31
|
max-width: $thumbnail-width;
|
|
@@ -56,7 +56,7 @@ $thumbnail-border-width: 5px;
|
|
|
56
56
|
|
|
57
57
|
.gem-c-attachment__metadata {
|
|
58
58
|
margin: 0 0 govuk-spacing(3);
|
|
59
|
-
color:
|
|
59
|
+
color: govuk-functional-colour(secondary-text);
|
|
60
60
|
@include govuk-font($size: 19);
|
|
61
61
|
@include govuk-text-break-word;
|
|
62
62
|
|
|
@@ -92,7 +92,7 @@ $thumbnail-border-width: 5px;
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.gem-c-attachment__metadata {
|
|
95
|
-
color:
|
|
95
|
+
color: govuk-functional-colour(print-text);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.gem-c-attachment__metadata,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "govuk/components/breadcrumbs/breadcrumbs";
|
|
2
2
|
|
|
3
3
|
.gem-c-breadcrumbs--border-bottom {
|
|
4
|
-
border-bottom: 1px solid
|
|
4
|
+
border-bottom: 1px solid govuk-functional-colour(border);
|
|
5
5
|
padding-bottom: govuk-spacing(1);
|
|
6
6
|
|
|
7
7
|
&.govuk-breadcrumbs--collapse-on-mobile {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
&:hover {
|
|
93
93
|
border-color: $gem-quiet-button-hover-colour;
|
|
94
94
|
color: $gem-quiet-button-hover-colour;
|
|
95
|
-
background-color: $gem-
|
|
95
|
+
background-color: $gem-quiet-button-hover-background-colour;
|
|
96
96
|
text-decoration: none;
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
display: inline-block;
|
|
108
108
|
padding: govuk-spacing(1);
|
|
109
109
|
border: solid 1px govuk-colour("black");
|
|
110
|
-
color:
|
|
110
|
+
color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
|
|
111
111
|
text-decoration: none;
|
|
112
112
|
|
|
113
113
|
&::after {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.gem-c-cards__heading--underline + .gem-c-cards__list {
|
|
38
|
-
border-top: 1px solid
|
|
38
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
39
39
|
|
|
40
40
|
.gem-c-cards__list-item {
|
|
41
41
|
&:first-child {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.gem-c-cards__list-item {
|
|
147
|
-
border-top: 1px solid
|
|
147
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
148
148
|
padding: govuk-spacing(1) 0 govuk-spacing(4) 0;
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -180,8 +180,8 @@
|
|
|
180
180
|
$dimension: 7px;
|
|
181
181
|
$width: 3px;
|
|
182
182
|
|
|
183
|
-
border-right: $width solid
|
|
184
|
-
border-top: $width solid
|
|
183
|
+
border-right: $width solid govuk-functional-colour(brand);
|
|
184
|
+
border-top: $width solid govuk-functional-colour(brand);
|
|
185
185
|
content: "";
|
|
186
186
|
display: block;
|
|
187
187
|
height: $dimension;
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
|
|
196
196
|
&:hover {
|
|
197
197
|
&::before {
|
|
198
|
-
border-color:
|
|
198
|
+
border-color: govuk-functional-colour(link-hover);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
&:focus {
|
|
203
203
|
&::before {
|
|
204
|
-
border-color:
|
|
204
|
+
border-color: govuk-functional-colour(focus-text);
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
border-left-style: solid;
|
|
8
8
|
border-left-width: 4px;
|
|
9
|
-
border-color: govuk-colour("
|
|
9
|
+
border-color: govuk-functional-colour("border");
|
|
10
10
|
margin-top: govuk-spacing(2);
|
|
11
11
|
margin-bottom: govuk-spacing(2);
|
|
12
12
|
padding: govuk-spacing(2) govuk-spacing(4);
|
data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.gem-c-contents-list-with-body__link-wrapper.gem-c-contents-list-with-body__sticky-element--stuck-to-window {
|
|
56
|
-
background-color: govuk-colour("
|
|
56
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
57
57
|
bottom: -1px; // 'Fix' for anomalous 1px margin which sporadically appears below this element.
|
|
58
58
|
left: 0;
|
|
59
59
|
margin: 0;
|
data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
CHANGED
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
|
|
36
36
|
.gem-c-contextual-guidance__guidance {
|
|
37
37
|
padding-left: govuk-spacing(3);
|
|
38
|
-
border-left: 4px solid
|
|
38
|
+
border-left: 4px solid govuk-functional-colour(focus);
|
|
39
39
|
background: govuk-colour("white");
|
|
40
40
|
|
|
41
41
|
@include govuk-media-query($from: tablet) {
|
|
42
42
|
padding-top: govuk-spacing(5);
|
|
43
43
|
padding-left: 0;
|
|
44
|
-
border-top: 5px solid
|
|
44
|
+
border-top: 5px solid govuk-functional-colour(focus);
|
|
45
45
|
border-left: 0;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.gem-c-contextual-sidebar__related-links {
|
|
2
|
-
border-top: 2px solid
|
|
2
|
+
border-top: 2px solid govuk-functional-colour(brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.gem-c-contextual-sidebar__heading {
|
|
6
6
|
margin-top: govuk-spacing(3);
|
|
7
7
|
margin-bottom: govuk-spacing(2);
|
|
8
|
-
color:
|
|
8
|
+
color: govuk-functional-colour(text);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.gem-c-contextual-sidebar__list {
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.gem-c-contextual-sidebar__cta {
|
|
27
|
-
border-top: 2px solid
|
|
27
|
+
border-top: 2px solid govuk-functional-colour(brand);
|
|
28
28
|
margin-bottom: govuk-spacing(6);
|
|
29
|
-
background-color: govuk-colour("
|
|
29
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
30
30
|
display: block;
|
|
31
31
|
padding: 0 govuk-spacing(3) govuk-spacing(3);
|
|
32
32
|
text-decoration: none;
|
data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss
CHANGED
|
@@ -8,7 +8,7 @@ $toggle-border-height: 3px;
|
|
|
8
8
|
.gem-c-rebranded-one-login-header {
|
|
9
9
|
color: govuk-colour("white");
|
|
10
10
|
position: relative;
|
|
11
|
-
background:
|
|
11
|
+
background: govuk-functional-colour(brand);
|
|
12
12
|
@include govuk-font($size: 16);
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -66,7 +66,7 @@ $toggle-border-height: 3px;
|
|
|
66
66
|
&:focus {
|
|
67
67
|
// Replicate the focus box shadow but without the -2px y-offset of the first yellow shadow
|
|
68
68
|
// This is to stop the logo getting cut off by the box shadow when focused on above a product name
|
|
69
|
-
box-shadow: 0 0
|
|
69
|
+
box-shadow: 0 0 govuk-functional-colour(focus);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -122,7 +122,7 @@ $toggle-border-height: 3px;
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
&:not(:focus) {
|
|
125
|
-
background-color:
|
|
125
|
+
background-color: govuk-functional-colour(brand);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -177,7 +177,7 @@ $toggle-border-height: 3px;
|
|
|
177
177
|
|
|
178
178
|
&::after {
|
|
179
179
|
display: block;
|
|
180
|
-
background-color:
|
|
180
|
+
background-color: govuk-functional-colour(focus-text);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
@@ -188,10 +188,10 @@ $toggle-border-height: 3px;
|
|
|
188
188
|
&:link:visited,
|
|
189
189
|
&:visited:link,
|
|
190
190
|
&:visited:visited {
|
|
191
|
-
color:
|
|
191
|
+
color: govuk-functional-colour(brand);
|
|
192
192
|
|
|
193
193
|
&:focus {
|
|
194
|
-
color:
|
|
194
|
+
color: govuk-functional-colour(focus-text);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -222,7 +222,7 @@ $toggle-border-height: 3px;
|
|
|
222
222
|
|
|
223
223
|
@include govuk-media-query($until: tablet) {
|
|
224
224
|
background-color: govuk-colour("white");
|
|
225
|
-
color:
|
|
225
|
+
color: govuk-functional-colour(brand);
|
|
226
226
|
margin-right: -(govuk-spacing(3));
|
|
227
227
|
margin-left: -(govuk-spacing(3));
|
|
228
228
|
padding: 0 govuk-spacing(3);
|
|
@@ -259,7 +259,7 @@ $toggle-border-height: 3px;
|
|
|
259
259
|
padding: govuk-spacing(3) 0;
|
|
260
260
|
|
|
261
261
|
&:not(:last-child) {
|
|
262
|
-
border-bottom: 1px solid govuk-colour("
|
|
262
|
+
border-bottom: 1px solid govuk-functional-colour("border");
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
}
|
|
@@ -289,8 +289,8 @@ $toggle-border-height: 3px;
|
|
|
289
289
|
@include govuk-font($size: 16, $weight: bold);
|
|
290
290
|
|
|
291
291
|
@mixin toggle-button-focus {
|
|
292
|
-
color:
|
|
293
|
-
background-color:
|
|
292
|
+
color: govuk-functional-colour(focus-text);
|
|
293
|
+
background-color: govuk-functional-colour(focus);
|
|
294
294
|
outline: 3px solid transparent;
|
|
295
295
|
}
|
|
296
296
|
|
|
@@ -313,7 +313,7 @@ $toggle-border-height: 3px;
|
|
|
313
313
|
|
|
314
314
|
&.gem-c-rebranded-cross-service-header__toggle--open {
|
|
315
315
|
background-color: govuk-colour("white");
|
|
316
|
-
color:
|
|
316
|
+
color: govuk-functional-colour(brand);
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
|
|
@@ -364,15 +364,15 @@ $toggle-border-height: 3px;
|
|
|
364
364
|
|
|
365
365
|
.gem-c-rebranded-cross-service-header__toggle--open &,
|
|
366
366
|
.gem-c-rebranded-cross-service-header__toggle--open:hover & {
|
|
367
|
-
background-color:
|
|
367
|
+
background-color: govuk-functional-colour(brand);
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
.gem-c-rebranded-cross-service-header__toggle:focus &,
|
|
371
371
|
.gem-c-rebranded-cross-service-header__toggle:focus-visible & {
|
|
372
|
-
background-color:
|
|
372
|
+
background-color: govuk-functional-colour(focus-text);
|
|
373
373
|
|
|
374
374
|
&:hover {
|
|
375
|
-
background-color:
|
|
375
|
+
background-color: govuk-functional-colour(focus-text);
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.gem-c-devolved-nations {
|
|
2
|
-
background: govuk-colour("
|
|
2
|
+
background: govuk-colour("black", $variant: "tint-95");
|
|
3
3
|
margin-bottom: govuk-spacing(3);
|
|
4
4
|
padding: govuk-spacing(3);
|
|
5
5
|
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
|
|
12
12
|
@include govuk-media-query($media-type: print) {
|
|
13
13
|
.gem-c-devolved-nations {
|
|
14
|
-
border: 2pt solid
|
|
14
|
+
border: 2pt solid govuk-functional-colour(print-text);
|
|
15
15
|
margin: 0 0 5mm;
|
|
16
16
|
|
|
17
17
|
* {
|
|
18
|
-
color:
|
|
18
|
+
color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.govuk-list li {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.gem-c-document-list__item {
|
|
9
9
|
margin-top: govuk-spacing(5);
|
|
10
10
|
padding-top: govuk-spacing(2);
|
|
11
|
-
border-top: 1px solid
|
|
11
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
12
12
|
list-style: none;
|
|
13
13
|
|
|
14
14
|
&:first-child {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.gem-c-document-list__item-context {
|
|
53
|
-
color: govuk-colour("
|
|
53
|
+
color: govuk-functional-colour("secondary-text");
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.gem-c-document-list__item-description {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
|
|
85
85
|
& { // stylelint-disable-line no-duplicate-selectors
|
|
86
86
|
// overriding govuk-text-colour mixin
|
|
87
|
-
color:
|
|
87
|
+
color: govuk-functional-colour(secondary-text);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.direction-rtl & {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.gem-c-document-list__item--highlight {
|
|
97
|
-
border: 1px solid govuk-colour("
|
|
97
|
+
border: 1px solid govuk-functional-colour("border");
|
|
98
98
|
padding: govuk-spacing(6);
|
|
99
99
|
margin-bottom: govuk-spacing(6);
|
|
100
100
|
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
left: 0;
|
|
138
138
|
width: govuk-spacing(3);
|
|
139
139
|
overflow: hidden;
|
|
140
|
-
border-top: solid 1px
|
|
140
|
+
border-top: solid 1px govuk-functional-colour(text);
|
|
141
141
|
transform: translate(0, 0.5em);
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
break-inside: avoid;
|
|
173
173
|
|
|
174
174
|
* {
|
|
175
|
-
color:
|
|
175
|
+
color: govuk-functional-colour(print-text);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.gem-c-emergency-banner {
|
|
2
|
-
background-color: govuk-colour("
|
|
2
|
+
background-color: govuk-colour("black", $variant: "tint-80");
|
|
3
3
|
color: govuk-colour("white");
|
|
4
4
|
margin-top: 2px;
|
|
5
5
|
padding: govuk-spacing(3) 0;
|
|
@@ -52,14 +52,11 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.gem-c-emergency-banner--national-emergency {
|
|
55
|
-
|
|
56
|
-
background-color: #b10e1e;
|
|
55
|
+
background-color: govuk-colour("red", $variant: "shade-25");
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
.gem-c-emergency-banner--local-emergency {
|
|
60
|
-
|
|
61
|
-
// the contrast was too low with white text
|
|
62
|
-
background-color: #00847d;
|
|
59
|
+
background-color: govuk-colour("teal", $variant: "shade-25");
|
|
63
60
|
}
|
|
64
61
|
|
|
65
62
|
@include govuk-media-query($media-type: print) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.gem-c-error-alert {
|
|
2
|
-
color:
|
|
2
|
+
color: govuk-functional-colour(text);
|
|
3
3
|
padding: govuk-spacing(3);
|
|
4
|
-
border: $govuk-border-width-narrow solid
|
|
4
|
+
border: $govuk-border-width-narrow solid govuk-functional-colour(error);
|
|
5
5
|
@include govuk-responsive-margin(8, "bottom");
|
|
6
6
|
|
|
7
7
|
@include govuk-media-query($from: tablet) {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.gem-c-error-alert:focus {
|
|
35
|
-
outline: $govuk-focus-width solid
|
|
35
|
+
outline: $govuk-focus-width solid govuk-functional-colour(focus);
|
|
36
36
|
}
|