govuk_publishing_components 67.0.1 → 68.0.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/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/_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/_cross_service_header.html.erb +2 -2
- 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 +20 -18
- 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 +2 -2
- data/app/views/govuk_publishing_components/components/_tag.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/attachment/_thumbnail_external.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/attachment/_thumbnail_pdf.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/cross_service_header.yml +0 -1
- data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +24 -3
- data/app/views/govuk_publishing_components/components/docs/layout_header.yml +0 -15
- data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +1 -3
- 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/config/locales/cy.yml +4 -4
- data/config/locales/en.yml +4 -4
- data/lib/govuk_publishing_components/presenters/devolved_nations_helper.rb +5 -4
- data/lib/govuk_publishing_components/version.rb +1 -1
- 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 +14 -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
data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
// and make all of thead and tfoot stand out
|
|
68
68
|
thead,
|
|
69
69
|
tfoot {
|
|
70
|
-
background-color: govuk-colour("
|
|
70
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
thead th,
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
// total and subtotal rows
|
|
114
114
|
tr.subtotal > *,
|
|
115
115
|
tr.total > * {
|
|
116
|
-
border-top: 3px solid govuk-colour("
|
|
116
|
+
border-top: 3px solid govuk-functional-colour("border");
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
tr.total > *,
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
// the total is usually in the tfoot, so already has that background colour
|
|
125
125
|
// but when it's used inside the tbody, it should also be highlighted
|
|
126
126
|
tr.total {
|
|
127
|
-
background-color: govuk-colour("
|
|
127
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
// stylelint-enable selector-no-qualifying-type
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
// Override margins and colors
|
|
44
44
|
.gem-c-heading {
|
|
45
45
|
margin: 0 !important;
|
|
46
|
-
color:
|
|
47
|
-
border-color:
|
|
46
|
+
color: govuk-functional-colour(print-text) !important;
|
|
47
|
+
border-color: govuk-functional-colour(print-text) !important;
|
|
48
48
|
padding: 0;
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
.gem-c-heading--inverse {
|
|
56
56
|
.gem-c-heading__context,
|
|
57
57
|
.gem-c-heading__text {
|
|
58
|
-
color:
|
|
58
|
+
color: govuk-functional-colour(print-text);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
height: auto;
|
|
37
37
|
width: 100%;
|
|
38
38
|
border: 0;
|
|
39
|
-
border-top: 1px solid
|
|
39
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.gem-c-image-card__title {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
.gem-c-image-card__metadata {
|
|
75
75
|
font-size: govuk-px-to-rem(16px);
|
|
76
76
|
margin: 0 0 calc(govuk-spacing(3) / 2);
|
|
77
|
-
color: govuk-colour("
|
|
77
|
+
color: govuk-functional-colour("secondary-text");
|
|
78
78
|
@include govuk-font($size: false);
|
|
79
79
|
|
|
80
80
|
@include govuk-media-query($from: tablet) {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.gem-c-image-card__list-item--text {
|
|
104
|
-
color: govuk-colour("
|
|
104
|
+
color: govuk-functional-colour("secondary-text");
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.gem-c-image-card__list-item-link {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.gem-c-intervention {
|
|
2
|
-
background-color: govuk-colour("
|
|
3
|
-
border-left: 10px solid
|
|
2
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
3
|
+
border-left: 10px solid govuk-functional-colour(success);
|
|
4
4
|
@include govuk-text-colour;
|
|
5
5
|
@include govuk-responsive-padding(3);
|
|
6
6
|
@include govuk-responsive-margin(6, "bottom");
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
.gem-c-intervention {
|
|
42
42
|
break-inside: avoid;
|
|
43
43
|
background: none;
|
|
44
|
-
border-color:
|
|
44
|
+
border-color: govuk-functional-colour(print-text);
|
|
45
45
|
|
|
46
46
|
.govuk-body {
|
|
47
47
|
margin: 0;
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
background: none;
|
|
46
46
|
padding-left: 0;
|
|
47
47
|
padding-right: 0;
|
|
48
|
-
border-bottom: 2pt solid
|
|
48
|
+
border-bottom: 2pt solid govuk-functional-colour(print-text);
|
|
49
49
|
|
|
50
50
|
&,
|
|
51
51
|
& * {
|
|
52
|
-
color:
|
|
52
|
+
color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -6,21 +6,6 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.gem-c-layout-header--search-left {
|
|
9
|
-
.gem-c-header__menu-button.govuk-header__menu-button {
|
|
10
|
-
margin-top: - govuk-spacing(7);
|
|
11
|
-
left: govuk-spacing(3);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.gem-c-header__nav-wrapper {
|
|
15
|
-
position: relative;
|
|
16
|
-
padding-left: 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.govuk-header__navigation--end {
|
|
20
|
-
padding-top: 0;
|
|
21
|
-
text-align: left;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
9
|
.gem-c-header__content {
|
|
25
10
|
position: relative;
|
|
26
11
|
width: 100%;
|
|
@@ -28,19 +13,9 @@
|
|
|
28
13
|
}
|
|
29
14
|
|
|
30
15
|
@include govuk-media-query($from: desktop) {
|
|
31
|
-
.govuk-header__navigation-item {
|
|
32
|
-
padding: 0 0 govuk-spacing(1) 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
16
|
.gem-c-header__logo {
|
|
36
17
|
margin-top: 0;
|
|
37
18
|
}
|
|
38
|
-
|
|
39
|
-
.gem-c-header__content.govuk-header__content {
|
|
40
|
-
@include govuk-grid-column(two-thirds);
|
|
41
|
-
padding-left: govuk-spacing(6);
|
|
42
|
-
padding-right: govuk-spacing(1);
|
|
43
|
-
}
|
|
44
19
|
}
|
|
45
20
|
}
|
|
46
21
|
|
|
@@ -48,6 +23,17 @@
|
|
|
48
23
|
@include govuk-media-query($until: "tablet") {
|
|
49
24
|
margin-bottom: govuk-spacing(3);
|
|
50
25
|
}
|
|
26
|
+
|
|
27
|
+
&:has(.gem-c-layout-header__signout) {
|
|
28
|
+
@include govuk-media-query($from: desktop) {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.gem-c-header__logo {
|
|
34
|
+
width: 75%;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
51
37
|
}
|
|
52
38
|
|
|
53
39
|
.gem-c-header__environment {
|
|
@@ -59,22 +45,30 @@
|
|
|
59
45
|
display: flex;
|
|
60
46
|
flex-wrap: wrap;
|
|
61
47
|
row-gap: govuk-spacing(2);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.gem-c-layout-header__signout {
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
padding-bottom: 15px;
|
|
62
53
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
padding: govuk-spacing(3) 0 govuk-spacing(2);
|
|
54
|
+
@include govuk-media-query($from: desktop) {
|
|
55
|
+
padding: 22px 0 0;
|
|
66
56
|
}
|
|
67
57
|
}
|
|
68
58
|
|
|
69
|
-
.gem-c-
|
|
70
|
-
|
|
59
|
+
.gem-c-layout-header__signout-link {
|
|
60
|
+
@include govuk-link-style-inverse;
|
|
61
|
+
|
|
62
|
+
text-decoration: none;
|
|
71
63
|
|
|
72
|
-
|
|
73
|
-
|
|
64
|
+
&:hover {
|
|
65
|
+
text-decoration: underline;
|
|
66
|
+
text-decoration-thickness: 3px;
|
|
67
|
+
text-underline-offset: $govuk-link-underline-offset;
|
|
74
68
|
}
|
|
75
69
|
|
|
76
|
-
|
|
77
|
-
|
|
70
|
+
&:focus {
|
|
71
|
+
@include govuk-focused-text;
|
|
78
72
|
}
|
|
79
73
|
}
|
|
80
74
|
|
|
@@ -86,24 +80,9 @@
|
|
|
86
80
|
}
|
|
87
81
|
}
|
|
88
82
|
|
|
89
|
-
.govuk-header__navigation-item--collapsed-menu-only {
|
|
90
|
-
@include govuk-media-query($from: desktop) {
|
|
91
|
-
display: none;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.govuk-header__menu-button.gem-c-header__menu-button {
|
|
96
|
-
top: govuk-spacing(4);
|
|
97
|
-
right: 0;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.gem-c-header__nav {
|
|
101
|
-
clear: both;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
83
|
@include govuk-media-query($media-type: print) {
|
|
105
84
|
.gem-c-layout-header .govuk-header__container {
|
|
106
|
-
border-color:
|
|
85
|
+
border-color: govuk-functional-colour(print-text);
|
|
107
86
|
|
|
108
87
|
.govuk-grid-column-two-thirds {
|
|
109
88
|
width: auto;
|
|
@@ -116,7 +95,7 @@
|
|
|
116
95
|
}
|
|
117
96
|
|
|
118
97
|
.gem-c-header__product-name {
|
|
119
|
-
color:
|
|
98
|
+
color: govuk-functional-colour(print-text);
|
|
120
99
|
background: none;
|
|
121
100
|
}
|
|
122
101
|
}
|
|
@@ -92,8 +92,8 @@ $search-icon-height: 20px;
|
|
|
92
92
|
|
|
93
93
|
// stylelint-disable max-nesting-depth
|
|
94
94
|
.gem-c-layout-super-navigation-header {
|
|
95
|
-
background:
|
|
96
|
-
border-top: 1px solid
|
|
95
|
+
background: govuk-functional-colour(brand);
|
|
96
|
+
border-top: 1px solid govuk-functional-colour(brand);
|
|
97
97
|
margin-top: -1px;
|
|
98
98
|
position: relative;
|
|
99
99
|
|
|
@@ -107,7 +107,7 @@ $search-icon-height: 20px;
|
|
|
107
107
|
// the background color is set again on the nav container to ensure the menu buttons are still
|
|
108
108
|
// visible when the text scale is increased
|
|
109
109
|
// related issue: https://github.com/alphagov/govuk_publishing_components/issues/4208
|
|
110
|
-
background:
|
|
110
|
+
background: govuk-functional-colour(brand);
|
|
111
111
|
|
|
112
112
|
// add a transparent bottom border for forced-color modes
|
|
113
113
|
@media (forced-colors: active) {
|
|
@@ -127,7 +127,7 @@ $search-icon-height: 20px;
|
|
|
127
127
|
// do not wrap onto a new line when the screen width is 360px ($chevron-breakpoint)
|
|
128
128
|
// govuk-frontend includes spacing to the right of the logo to offset it from the product name
|
|
129
129
|
// as we do not include a product name in the super navigation menu, we can set the right margin to 0
|
|
130
|
-
.govuk-
|
|
130
|
+
.govuk-header__homepage-link {
|
|
131
131
|
margin-right: 0;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -187,10 +187,10 @@ $search-icon-height: 20px;
|
|
|
187
187
|
|
|
188
188
|
&:focus {
|
|
189
189
|
box-shadow: none;
|
|
190
|
-
color:
|
|
190
|
+
color: govuk-functional-colour(focus-text);
|
|
191
191
|
|
|
192
192
|
&::after {
|
|
193
|
-
background:
|
|
193
|
+
background: govuk-functional-colour(focus-text);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -209,7 +209,7 @@ $search-icon-height: 20px;
|
|
|
209
209
|
|
|
210
210
|
&:focus {
|
|
211
211
|
.gem-c-layout-super-navigation-header__navigation-item-link-inner {
|
|
212
|
-
border-right-color:
|
|
212
|
+
border-right-color: govuk-functional-colour(focus);
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
}
|
|
@@ -293,7 +293,7 @@ $search-icon-height: 20px;
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
.gem-c-layout-super-navigation-header__navigation-top-toggle-button-inner {
|
|
296
|
-
border-right-color:
|
|
296
|
+
border-right-color: govuk-functional-colour(focus);
|
|
297
297
|
|
|
298
298
|
&::before {
|
|
299
299
|
@include chevron(govuk-colour("black"), true);
|
|
@@ -368,7 +368,7 @@ $search-icon-height: 20px;
|
|
|
368
368
|
|
|
369
369
|
.gem-c-layout-super-navigation-header__navigation-top-toggle-button-inner {
|
|
370
370
|
color: govuk-colour("black");
|
|
371
|
-
border-right-color:
|
|
371
|
+
border-right-color: govuk-functional-colour(focus);
|
|
372
372
|
|
|
373
373
|
&::before {
|
|
374
374
|
@include chevron(govuk-colour("black"), true);
|
|
@@ -378,19 +378,19 @@ $search-icon-height: 20px;
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
@include focus-not-focus-visible {
|
|
381
|
-
background: $govuk-
|
|
381
|
+
background: $govuk-blue-tint-95;
|
|
382
382
|
|
|
383
383
|
&::after {
|
|
384
|
-
background-color:
|
|
384
|
+
background-color: govuk-functional-colour(link);
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
.gem-c-layout-super-navigation-header__navigation-top-toggle-button-inner {
|
|
388
|
-
color:
|
|
388
|
+
color: govuk-functional-colour(link);
|
|
389
389
|
border-right-color: $button-pipe-colour;
|
|
390
390
|
|
|
391
391
|
@include govuk-media-query($from: $chevron-breakpoint) {
|
|
392
392
|
&::before {
|
|
393
|
-
@include chevron(
|
|
393
|
+
@include chevron(govuk-functional-colour(link), true);
|
|
394
394
|
@include prefixed-transform($rotate: 225deg, $translateY: 1px);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
@@ -430,7 +430,7 @@ $search-icon-height: 20px;
|
|
|
430
430
|
@include focus-and-focus-visible {
|
|
431
431
|
z-index: 11;
|
|
432
432
|
// these declarations override govuk-focused-text because the compiler prefers @include to be last
|
|
433
|
-
border-color:
|
|
433
|
+
border-color: govuk-functional-colour(focus) !important; // stylelint-disable-line declaration-no-important
|
|
434
434
|
box-shadow: none !important; // stylelint-disable-line declaration-no-important
|
|
435
435
|
@include govuk-focused-text;
|
|
436
436
|
|
|
@@ -475,7 +475,7 @@ $search-icon-height: 20px;
|
|
|
475
475
|
|
|
476
476
|
@include focus-and-focus-visible {
|
|
477
477
|
// these declarations override govuk-focused-text because the compiler prefers @include to be last
|
|
478
|
-
border-color:
|
|
478
|
+
border-color: govuk-functional-colour(focus) !important; // stylelint-disable-line declaration-no-important
|
|
479
479
|
box-shadow: none !important; // stylelint-disable-line declaration-no-important
|
|
480
480
|
@include govuk-focused-text;
|
|
481
481
|
|
|
@@ -493,8 +493,8 @@ $search-icon-height: 20px;
|
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
@include focus-not-focus-visible {
|
|
496
|
-
background: $govuk-
|
|
497
|
-
outline: 1px solid $govuk-
|
|
496
|
+
background: $govuk-blue-tint-95;
|
|
497
|
+
outline: 1px solid $govuk-blue-tint-95; // overlap the border of the nav menu so it won't appear when menu open
|
|
498
498
|
|
|
499
499
|
color: govuk-colour("blue");
|
|
500
500
|
|
|
@@ -540,7 +540,7 @@ $search-icon-height: 20px;
|
|
|
540
540
|
.gem-c-layout-super-navigation-header__navigation-dropdown-menu {
|
|
541
541
|
width: 100%;
|
|
542
542
|
order: 1; // Ensure the dropdown menu appears after the super navigation buttons which have a default order of 0
|
|
543
|
-
background: $govuk-
|
|
543
|
+
background: $govuk-blue-tint-95;
|
|
544
544
|
padding-top: govuk-spacing(6);
|
|
545
545
|
|
|
546
546
|
@include govuk-media-query($from: "desktop") {
|
|
@@ -559,8 +559,8 @@ $search-icon-height: 20px;
|
|
|
559
559
|
top: $navbar-height;
|
|
560
560
|
bottom: 0;
|
|
561
561
|
width: 100%;
|
|
562
|
-
background: $govuk-
|
|
563
|
-
box-shadow: 0 1px govuk-colour("
|
|
562
|
+
background: $govuk-blue-tint-95;
|
|
563
|
+
box-shadow: 0 1px govuk-colour("black", $variant: "tint-80");
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
|
|
@@ -604,7 +604,7 @@ $search-icon-height: 20px;
|
|
|
604
604
|
// JS available - styling for the "services-and-information" group of links
|
|
605
605
|
.gem-c-layout-super-navigation-header__navigation-second-items--services-and-information {
|
|
606
606
|
@include govuk-media-query($until: "desktop") {
|
|
607
|
-
border-bottom: 1px solid govuk-colour("
|
|
607
|
+
border-bottom: 1px solid govuk-functional-colour("border");
|
|
608
608
|
}
|
|
609
609
|
|
|
610
610
|
@include govuk-media-query($from: "desktop") {
|
|
@@ -678,7 +678,7 @@ $search-icon-height: 20px;
|
|
|
678
678
|
@include govuk-media-query($media-type: print) {
|
|
679
679
|
.gem-c-layout-super-navigation-header {
|
|
680
680
|
border-top: 0;
|
|
681
|
-
border-bottom: 2pt solid
|
|
681
|
+
border-bottom: 2pt solid govuk-functional-colour(print-text);
|
|
682
682
|
margin: 0 0 5mm;
|
|
683
683
|
background: transparent;
|
|
684
684
|
|
|
@@ -688,7 +688,7 @@ $search-icon-height: 20px;
|
|
|
688
688
|
}
|
|
689
689
|
|
|
690
690
|
* {
|
|
691
|
-
color:
|
|
691
|
+
color: govuk-functional-colour(print-text);
|
|
692
692
|
}
|
|
693
693
|
|
|
694
694
|
.govuk-width-container {
|
|
@@ -130,13 +130,13 @@
|
|
|
130
130
|
@include govuk-media-query($media-type: print) {
|
|
131
131
|
.gem-c-metadata {
|
|
132
132
|
break-inside: avoid;
|
|
133
|
-
color:
|
|
133
|
+
color: govuk-functional-colour(print-text) !important;
|
|
134
134
|
background: none;
|
|
135
135
|
margin-bottom: 5mm;
|
|
136
136
|
|
|
137
137
|
a,
|
|
138
138
|
a:visited {
|
|
139
|
-
color:
|
|
139
|
+
color: govuk-functional-colour(print-text) !important;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
@@ -32,7 +32,7 @@ $govuk-modal-wide-breakpoint: $govuk-page-width + $govuk-modal-margin * 2 + $gov
|
|
|
32
32
|
border: 0;
|
|
33
33
|
|
|
34
34
|
&:focus {
|
|
35
|
-
outline: $govuk-focus-width solid
|
|
35
|
+
outline: $govuk-focus-width solid govuk-functional-colour(focus);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
@include govuk-font($size: 19);
|
|
@@ -47,7 +47,7 @@ $govuk-modal-wide-breakpoint: $govuk-page-width + $govuk-modal-margin * 2 + $gov
|
|
|
47
47
|
max-width: calc($govuk-page-width * (2 / 3));
|
|
48
48
|
height: auto;
|
|
49
49
|
margin: $govuk-modal-margin auto;
|
|
50
|
-
border: $govuk-border-width-form-element solid
|
|
50
|
+
border: $govuk-border-width-form-element solid govuk-functional-colour(input-border);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -126,7 +126,7 @@ $govuk-modal-wide-breakpoint: $govuk-page-width + $govuk-modal-margin * 2 + $gov
|
|
|
126
126
|
outline: none;
|
|
127
127
|
box-shadow: none;
|
|
128
128
|
color: govuk-colour("black");
|
|
129
|
-
background:
|
|
129
|
+
background: govuk-functional-colour(focus);
|
|
130
130
|
@include govuk-focused-text;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
padding: 0 0 govuk-spacing(2);
|
|
4
4
|
margin-bottom: govuk-spacing(2);
|
|
5
|
-
border-bottom: 1px solid
|
|
5
|
+
border-bottom: 1px solid govuk-functional-colour(border);
|
|
6
6
|
|
|
7
7
|
@include govuk-media-query($from: desktop) {
|
|
8
8
|
// Redefine scrollbars on desktop where these lists are scrollable
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
text-align: left;
|
|
38
38
|
padding: 0;
|
|
39
39
|
cursor: pointer;
|
|
40
|
-
color:
|
|
40
|
+
color: govuk-functional-colour(link);
|
|
41
41
|
|
|
42
42
|
&:hover {
|
|
43
43
|
text-decoration: underline;
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
|
|
157
157
|
.gem-c-option-select__selected-counter {
|
|
158
158
|
margin-left: 44px;
|
|
159
|
-
color:
|
|
159
|
+
color: govuk-functional-colour(text);
|
|
160
160
|
@include govuk-font($size: 16, $line-height: 1);
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&:hover {
|
|
68
|
-
color:
|
|
68
|
+
color: govuk-functional-colour(link-hover);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&:active {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
// Using `@include govuk-focused-text;` would obscure the text. Tweaked
|
|
78
78
|
// spacing needed to prevent overlap of the text and the focus state's thick
|
|
79
79
|
// black line.
|
|
80
|
-
box-shadow: 0 -2px
|
|
80
|
+
box-shadow: 0 -2px govuk-functional-colour(focus), 0 4px govuk-functional-colour(focus), 0 8px govuk-functional-colour(focus-text);
|
|
81
81
|
text-decoration: none;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// stylelint-disable declaration-no-important
|
|
4
4
|
@include govuk-media-query($media-type: print) {
|
|
5
5
|
.gem-c-pagination * {
|
|
6
|
-
color:
|
|
6
|
+
color: govuk-functional-colour(print-text) !important;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
// stylelint-enable declaration-no-important
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.gem-c-phase-banner--inverse {
|
|
4
4
|
.govuk-phase-banner__content__tag {
|
|
5
5
|
background: govuk-colour("white");
|
|
6
|
-
color:
|
|
6
|
+
color: govuk-functional-colour(brand);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.govuk-phase-banner__text,
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
&,
|
|
23
23
|
& * {
|
|
24
24
|
background: none !important;
|
|
25
|
-
color:
|
|
25
|
+
color: govuk-functional-colour(print-text) !important;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.govuk-tag {
|
|
29
|
-
border: 1pt solid
|
|
29
|
+
border: 1pt solid govuk-functional-colour(print-text);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -27,28 +27,28 @@ $gem-c-print-link-background-height: 18px;
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&:hover {
|
|
30
|
-
background-color: govuk-colour("
|
|
30
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.gem-c-print-link__link {
|
|
35
|
-
box-shadow: inset 0 0 0 1px govuk-colour("
|
|
35
|
+
box-shadow: inset 0 0 0 1px govuk-colour("black", $variant: "tint-25");
|
|
36
36
|
|
|
37
37
|
&:focus {
|
|
38
38
|
border: 0;
|
|
39
|
-
box-shadow: 0 $govuk-focus-width
|
|
39
|
+
box-shadow: 0 $govuk-focus-width govuk-functional-colour(text);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.gem-c-print-link__button {
|
|
44
|
-
border: 1px solid govuk-colour("
|
|
45
|
-
color:
|
|
44
|
+
border: 1px solid govuk-colour("black", $variant: "tint-25");
|
|
45
|
+
color: govuk-functional-colour(link);
|
|
46
46
|
cursor: pointer;
|
|
47
47
|
margin: govuk-spacing(0);
|
|
48
48
|
@include govuk-font(16);
|
|
49
49
|
|
|
50
50
|
&:focus {
|
|
51
|
-
background-color:
|
|
51
|
+
background-color: govuk-functional-colour(focus);
|
|
52
52
|
border-color: transparent;
|
|
53
53
|
@include govuk-focused-text;
|
|
54
54
|
}
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
.gem-c-reorderable-list__item {
|
|
15
15
|
margin-bottom: govuk-spacing(3);
|
|
16
|
-
border: 1px solid
|
|
16
|
+
border: 1px solid govuk-functional-colour(border);
|
|
17
17
|
padding: govuk-spacing(3);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.gem-c-reorderable-list__item--chosen {
|
|
21
|
-
background-color: govuk-colour("
|
|
22
|
-
outline: 2px dotted
|
|
21
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
22
|
+
outline: 2px dotted govuk-functional-colour(border);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.gem-c-reorderable-list__item--drag {
|