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/_search-with-autocomplete.scss
CHANGED
|
@@ -26,7 +26,7 @@ $large-input-size: 50px;
|
|
|
26
26
|
padding: 0;
|
|
27
27
|
overflow-x: hidden;
|
|
28
28
|
background-color: govuk-colour("white");
|
|
29
|
-
border: 1px solid
|
|
29
|
+
border: 1px solid govuk-functional-colour(border);
|
|
30
30
|
border-top: 0;
|
|
31
31
|
|
|
32
32
|
@include enhance-autocomplete-menu-width($input-size);
|
|
@@ -75,21 +75,21 @@ $large-input-size: 50px;
|
|
|
75
75
|
.gem-c-search-with-autocomplete__option--focused,
|
|
76
76
|
.gem-c-search-with-autocomplete__option:hover,
|
|
77
77
|
.gem-c-search-with-autocomplete__option:focus-visible {
|
|
78
|
-
background-color: govuk-colour("
|
|
78
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
79
79
|
outline: none;
|
|
80
80
|
|
|
81
81
|
@include govuk-link-decoration;
|
|
82
82
|
@include govuk-link-hover-decoration;
|
|
83
83
|
|
|
84
84
|
.gem-c-search-with-autocomplete__suggestion-icon {
|
|
85
|
-
background-color:
|
|
85
|
+
background-color: govuk-functional-colour(text);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// Styling specifically _only_ for keyboard focus
|
|
90
90
|
.gem-c-search-with-autocomplete__option:focus-visible {
|
|
91
91
|
.gem-c-search-with-autocomplete__suggestion-text {
|
|
92
|
-
background-color:
|
|
92
|
+
background-color: govuk-functional-colour(focus);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -98,7 +98,7 @@ $large-input-size: 50px;
|
|
|
98
98
|
align-items: center;
|
|
99
99
|
margin: 0 govuk-spacing(3);
|
|
100
100
|
padding: govuk-spacing(1) 0;
|
|
101
|
-
border-bottom: 1px solid govuk-colour("
|
|
101
|
+
border-bottom: 1px solid govuk-functional-colour("border");
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.gem-c-search-with-autocomplete__option:last-child .gem-c-search-with-autocomplete__option-wrapper {
|
|
@@ -112,7 +112,7 @@ $large-input-size: 50px;
|
|
|
112
112
|
flex: none;
|
|
113
113
|
mask-image: url("govuk_publishing_components/icon-autocomplete-search-suggestion.svg");
|
|
114
114
|
-webkit-mask-image: url("govuk_publishing_components/icon-autocomplete-search-suggestion.svg");
|
|
115
|
-
background-color:
|
|
115
|
+
background-color: govuk-functional-colour(secondary-text);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.gem-c-search-with-autocomplete__suggestion-text {
|
|
@@ -138,7 +138,7 @@ $large-input-size: 50px;
|
|
|
138
138
|
// Fix top border styling on "borderless" search input when rendered on a GOV.UK blue background
|
|
139
139
|
.gem-c-search-with-autocomplete.gem-c-search-with-autocomplete--on-govuk-blue {
|
|
140
140
|
.gem-c-search-with-autocomplete__menu {
|
|
141
|
-
border-top: 1px solid
|
|
141
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
@@ -31,7 +31,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
|
|
|
31
31
|
|
|
32
32
|
.gem-c-search__label {
|
|
33
33
|
display: block;
|
|
34
|
-
color:
|
|
34
|
+
color: govuk-functional-colour(text);
|
|
35
35
|
cursor: text;
|
|
36
36
|
text-overflow: ellipsis;
|
|
37
37
|
height: 90%;
|
|
@@ -52,19 +52,19 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
|
|
|
52
52
|
max-width: 68%;
|
|
53
53
|
padding-left: govuk-spacing(3);
|
|
54
54
|
z-index: 1;
|
|
55
|
-
color:
|
|
55
|
+
color: govuk-functional-colour(secondary-text);
|
|
56
56
|
background: govuk-colour("white");
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
// match label colour with the label component colour
|
|
60
60
|
// when javascript is enabled and inline_label option is set to false
|
|
61
61
|
.govuk-frontend-supported .gem-c-search--separate-label & {
|
|
62
|
-
color:
|
|
62
|
+
color: govuk-functional-colour(text);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
@mixin gem-c-search-input-focus {
|
|
67
|
-
outline: $govuk-focus-width solid
|
|
67
|
+
outline: $govuk-focus-width solid govuk-functional-colour(focus);
|
|
68
68
|
// Ensure outline appears outside of the element
|
|
69
69
|
outline-offset: 0;
|
|
70
70
|
// Double the border by adding its width again. Use `box-shadow` for this // instead of changing `border-width`
|
|
@@ -77,7 +77,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
|
|
|
77
77
|
width: 100%;
|
|
78
78
|
height: govuk-em(40, 19);
|
|
79
79
|
padding: govuk-em(6, 19);
|
|
80
|
-
border: $govuk-border-width-form-element solid
|
|
80
|
+
border: $govuk-border-width-form-element solid govuk-functional-colour(input-border);
|
|
81
81
|
background: govuk-colour("white");
|
|
82
82
|
border-radius: 0; // otherwise iphones apply an automatic border radius
|
|
83
83
|
box-sizing: border-box;
|
|
@@ -137,7 +137,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
|
|
|
137
137
|
|
|
138
138
|
&:focus {
|
|
139
139
|
z-index: 2;
|
|
140
|
-
outline: $govuk-focus-width solid
|
|
140
|
+
outline: $govuk-focus-width solid govuk-functional-colour(focus);
|
|
141
141
|
// Double the border by adding its width again. Use `box-shadow` for this // instead of changing `border-width` - this is for consistency with
|
|
142
142
|
// Also, `outline` cannot be utilised
|
|
143
143
|
// here as it is already used for the yellow focus state.
|
|
@@ -195,7 +195,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
|
|
|
195
195
|
|
|
196
196
|
.govuk-frontend-supported & {
|
|
197
197
|
.gem-c-search__label {
|
|
198
|
-
color:
|
|
198
|
+
color: govuk-functional-colour(secondary-text);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
}
|
|
@@ -206,7 +206,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
|
|
|
206
206
|
color: govuk-colour("white");
|
|
207
207
|
|
|
208
208
|
&:hover {
|
|
209
|
-
background-color:
|
|
209
|
+
background-color: govuk-colour("blue", $variant: "shade-25");
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
data/app/assets/stylesheets/govuk_publishing_components/components/_secondary-navigation.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@include govuk-responsive-margin(6, "bottom");
|
|
4
4
|
|
|
5
5
|
@include govuk-media-query($from: tablet) {
|
|
6
|
-
box-shadow: inset 0 -1px 0
|
|
6
|
+
box-shadow: inset 0 -1px 0 govuk-functional-colour(border);
|
|
7
7
|
display: flex;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.gem-c-secondary-navigation__list-item {
|
|
25
|
-
box-shadow: inset 0 -1px 0
|
|
25
|
+
box-shadow: inset 0 -1px 0 govuk-functional-colour(border);
|
|
26
26
|
|
|
27
27
|
@include govuk-media-query($from: tablet) {
|
|
28
28
|
display: flex;
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.gem-c-secondary-navigation__list-item-link:hover {
|
|
59
|
-
color:
|
|
59
|
+
color: govuk-functional-colour(link-hover);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.gem-c-secondary-navigation__list-item-link:focus {
|
|
63
|
-
border-color:
|
|
63
|
+
border-color: govuk-functional-colour(focus-text);
|
|
64
64
|
border-left-color: transparent;
|
|
65
65
|
position: relative;
|
|
66
66
|
@include govuk-focused-text;
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
.gem-c-secondary-navigation__list-item-link:link,
|
|
76
76
|
.gem-c-secondary-navigation__list-item-link:visited {
|
|
77
77
|
border-color: govuk-colour("blue");
|
|
78
|
-
color:
|
|
78
|
+
color: govuk-functional-colour(text);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.gem-c-secondary-navigation__list-item-link:focus {
|
|
82
|
-
border-color:
|
|
82
|
+
border-color: govuk-functional-colour(focus-text);
|
|
83
83
|
border-left-color: transparent;
|
|
84
84
|
@include govuk-focused-text;
|
|
85
85
|
|
|
@@ -46,20 +46,20 @@ $choices-button-dimension: 12px !default;
|
|
|
46
46
|
|
|
47
47
|
.choices[data-type*="select-multiple"] .choices__button,
|
|
48
48
|
.choices[data-type*="text"] .choices__button {
|
|
49
|
-
border-color: govuk-colour("
|
|
50
|
-
border-right: 1px solid govuk-colour("
|
|
49
|
+
border-color: govuk-functional-colour("border");
|
|
50
|
+
border-right: 1px solid govuk-functional-colour("border");
|
|
51
51
|
padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) govuk-spacing(2);
|
|
52
52
|
margin-right: 0;
|
|
53
53
|
|
|
54
54
|
&:hover {
|
|
55
|
-
background-color: govuk-colour("
|
|
56
|
-
border-color: govuk-colour("
|
|
57
|
-
box-shadow: 0 $govuk-border-width-form-element 0 govuk-colour("
|
|
55
|
+
background-color: govuk-colour("black", $variant: "tint-80");
|
|
56
|
+
border-color: govuk-colour("black", $variant: "tint-25");
|
|
57
|
+
box-shadow: 0 $govuk-border-width-form-element 0 govuk-colour("black", $variant: "tint-25");
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&:focus {
|
|
61
|
-
background-color:
|
|
62
|
-
box-shadow: 0 $govuk-border-width-form-element 0
|
|
61
|
+
background-color: govuk-functional-colour(focus);
|
|
62
|
+
box-shadow: 0 $govuk-border-width-form-element 0 govuk-functional-colour(focus-text);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -84,7 +84,7 @@ $choices-button-dimension: 12px !default;
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
&.govuk-form-group--error .choices:not(.is-active):not(.is-focused):not(.is-open) .choices__inner {
|
|
87
|
-
border-color:
|
|
87
|
+
border-color: govuk-functional-colour(error);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.choices.is-focused,
|
|
@@ -99,7 +99,7 @@ $choices-button-dimension: 12px !default;
|
|
|
99
99
|
|
|
100
100
|
.choices.is-focused .choices__inner,
|
|
101
101
|
.choices.is-open .choices__inner {
|
|
102
|
-
outline: $govuk-focus-width solid
|
|
102
|
+
outline: $govuk-focus-width solid govuk-functional-colour(focus);
|
|
103
103
|
// Ensure outline appears outside of the element
|
|
104
104
|
outline-offset: 0;
|
|
105
105
|
// Double the border by adding its width again. Use `box-shadow` to do
|
|
@@ -113,7 +113,7 @@ $choices-button-dimension: 12px !default;
|
|
|
113
113
|
|
|
114
114
|
&:not(:empty) {
|
|
115
115
|
margin-block-start: 6px;
|
|
116
|
-
border-block-start: 1px solid
|
|
116
|
+
border-block-start: 1px solid govuk-functional-colour(border);
|
|
117
117
|
padding-block-end: 5px;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -124,10 +124,10 @@ $choices-button-dimension: 12px !default;
|
|
|
124
124
|
border: 0;
|
|
125
125
|
padding: 0 0 0 govuk-spacing(2);
|
|
126
126
|
margin: govuk-spacing(2) govuk-spacing(2) 0 0;
|
|
127
|
-
background-color: govuk-colour("
|
|
128
|
-
box-shadow: 0 $govuk-border-width-form-element 0 govuk-colour("
|
|
127
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
128
|
+
box-shadow: 0 $govuk-border-width-form-element 0 govuk-functional-colour("border");
|
|
129
129
|
line-height: 1;
|
|
130
|
-
color:
|
|
130
|
+
color: govuk-functional-colour(text);
|
|
131
131
|
|
|
132
132
|
.is-disabled & {
|
|
133
133
|
opacity: 0.5;
|
|
@@ -149,7 +149,7 @@ $choices-button-dimension: 12px !default;
|
|
|
149
149
|
.choices__list--dropdown .choices__item,
|
|
150
150
|
.choices__list[aria-expanded] .choices__item {
|
|
151
151
|
position: relative;
|
|
152
|
-
border-bottom: 1px solid govuk-colour("
|
|
152
|
+
border-bottom: 1px solid govuk-functional-colour("border");
|
|
153
153
|
|
|
154
154
|
&:last-child {
|
|
155
155
|
border-bottom: 0;
|
|
@@ -168,7 +168,7 @@ $choices-button-dimension: 12px !default;
|
|
|
168
168
|
@include govuk-typography-weight-bold;
|
|
169
169
|
color: govuk-colour("black"); // Choices.js doesn't use a variable for this color for some reason :(
|
|
170
170
|
padding: govuk-spacing(6) govuk-spacing(2) govuk-spacing(2);
|
|
171
|
-
border-bottom: 1px solid govuk-colour("
|
|
171
|
+
border-bottom: 1px solid govuk-functional-colour("border");
|
|
172
172
|
cursor: default;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -128,7 +128,7 @@ $column-width: 9.5em;
|
|
|
128
128
|
|
|
129
129
|
.gem-c-share-links--square-icons {
|
|
130
130
|
.gem-c-share-links__link-icon {
|
|
131
|
-
background-color: govuk-colour("
|
|
131
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
132
132
|
color: govuk-colour("black");
|
|
133
133
|
padding: govuk-spacing(2);
|
|
134
134
|
}
|
|
@@ -138,7 +138,7 @@ $column-width: 9.5em;
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.gem-c-share-links__link:focus {
|
|
141
|
-
box-shadow: 0 0
|
|
141
|
+
box-shadow: 0 0 govuk-functional-colour(focus), 0 4px govuk-colour("black");
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
|
|
22
22
|
.gem-c-signup-link--with-background-and-border {
|
|
23
23
|
padding: govuk-spacing(6);
|
|
24
|
-
background-color: govuk-colour("
|
|
25
|
-
border: 1px solid
|
|
24
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
25
|
+
border: 1px solid govuk-functional-colour(border);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.gem-c-signup-link--link-only .gem-c-signup-link__link {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.gem-c-single-page-notification-button__submit {
|
|
2
2
|
padding: govuk-spacing(2);
|
|
3
3
|
margin: govuk-spacing(0);
|
|
4
|
-
border: 1px solid govuk-colour("
|
|
5
|
-
color:
|
|
4
|
+
border: 1px solid govuk-colour("black", $variant: "tint-25");
|
|
5
|
+
color: govuk-functional-colour(link);
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
background: none;
|
|
8
8
|
@include govuk-font(16);
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&:hover {
|
|
16
|
-
background-color: govuk-colour("
|
|
17
|
-
color:
|
|
16
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
17
|
+
color: govuk-functional-colour(link-hover);
|
|
18
18
|
|
|
19
19
|
&:focus {
|
|
20
|
-
color:
|
|
21
|
-
box-shadow: 0 $govuk-focus-width
|
|
20
|
+
color: govuk-functional-colour(text);
|
|
21
|
+
box-shadow: 0 $govuk-focus-width govuk-functional-colour(text);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.gem-c-step-nav-header {
|
|
2
2
|
position: relative;
|
|
3
3
|
padding: 10px;
|
|
4
|
-
background: govuk-colour("
|
|
4
|
+
background: govuk-colour("black", $variant: "tint-95");
|
|
5
5
|
border-bottom: solid 1px govuk-colour("blue");
|
|
6
6
|
margin-top: govuk-spacing(3);
|
|
7
7
|
@include govuk-font(24, $weight: bold);
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
.gem-c-step-nav-header {
|
|
22
22
|
padding: 0 0 govuk-spacing(4) 0;
|
|
23
23
|
background: none;
|
|
24
|
-
border-color:
|
|
24
|
+
border-color: govuk-functional-colour(print-text);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.gem-c-step-nav-header__part-of {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$stroke-width: 1px;
|
|
2
2
|
$number-circle-size: 30px;
|
|
3
3
|
$number-circle-size-large: 35px;
|
|
4
|
-
$top-border: solid 1px govuk-colour("
|
|
4
|
+
$top-border: solid 1px govuk-functional-colour("border");
|
|
5
5
|
|
|
6
6
|
@mixin step-nav-vertical-line($line-style: solid) {
|
|
7
7
|
content: "";
|
|
@@ -9,7 +9,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
|
|
|
9
9
|
z-index: 2;
|
|
10
10
|
width: 0;
|
|
11
11
|
height: 100%;
|
|
12
|
-
border-left: $line-style $stroke-width govuk-colour("
|
|
12
|
+
border-left: $line-style $stroke-width govuk-functional-colour("border");
|
|
13
13
|
background: govuk-colour("white");
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -112,14 +112,14 @@ $top-border: solid 1px govuk-colour("mid-grey");
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.gem-c-step-nav__button {
|
|
115
|
-
color:
|
|
115
|
+
color: govuk-functional-colour(link);
|
|
116
116
|
cursor: pointer;
|
|
117
117
|
background: none;
|
|
118
118
|
border: 0;
|
|
119
119
|
margin: 0;
|
|
120
120
|
|
|
121
121
|
&:hover {
|
|
122
|
-
background: govuk-colour("
|
|
122
|
+
background: govuk-colour("black", $variant: "tint-95");
|
|
123
123
|
// Chevron icon interaction states
|
|
124
124
|
.gem-c-step-nav__chevron {
|
|
125
125
|
color: govuk-colour("black");
|
|
@@ -127,11 +127,11 @@ $top-border: solid 1px govuk-colour("mid-grey");
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.gem-c-step-nav__chevron::after {
|
|
130
|
-
color: govuk-colour("
|
|
130
|
+
color: govuk-colour("black", $variant: "tint-95");
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.gem-c-step-nav__button-text {
|
|
134
|
-
color:
|
|
134
|
+
color: govuk-functional-colour(text);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
@@ -144,7 +144,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.gem-c-step-nav__chevron::after {
|
|
147
|
-
color:
|
|
147
|
+
color: govuk-functional-colour(focus);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.gem-c-step-nav____title-text-focus,
|
|
@@ -261,7 +261,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
|
|
|
261
261
|
margin-left: calc($number-circle-size / 4);
|
|
262
262
|
width: calc($number-circle-size / 2);
|
|
263
263
|
height: 0;
|
|
264
|
-
border-bottom: solid $stroke-width govuk-colour("
|
|
264
|
+
border-bottom: solid $stroke-width govuk-functional-colour("border");
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
&::after {
|
|
@@ -319,7 +319,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.gem-c-step-nav__circle--number {
|
|
322
|
-
border: solid $stroke-width govuk-colour("
|
|
322
|
+
border: solid $stroke-width govuk-functional-colour("border");
|
|
323
323
|
@include step-nav-font(16, $weight: bold, $line-height: 29px);
|
|
324
324
|
|
|
325
325
|
.gem-c-step-nav--large & {
|
|
@@ -404,7 +404,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
|
|
|
404
404
|
|
|
405
405
|
.gem-c-step-nav__toggle-link {
|
|
406
406
|
display: block;
|
|
407
|
-
color:
|
|
407
|
+
color: govuk-functional-colour(link);
|
|
408
408
|
text-transform: capitalize;
|
|
409
409
|
padding-bottom: govuk-spacing(6);
|
|
410
410
|
@include step-nav-font(15, $line-height: 1.2);
|
|
@@ -530,7 +530,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
|
|
|
530
530
|
.gem-c-step-nav__context {
|
|
531
531
|
display: inline-block;
|
|
532
532
|
font-weight: normal;
|
|
533
|
-
color: govuk-colour("
|
|
533
|
+
color: govuk-functional-colour("secondary-text");
|
|
534
534
|
|
|
535
535
|
&::before {
|
|
536
536
|
content: " \2013\00a0"; // dash followed by
|
data/app/assets/stylesheets/govuk_publishing_components/components/_sub-navigation-menu.scss
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.gem-c-sub-navigation-menu {
|
|
2
|
-
border-bottom: 1px solid
|
|
2
|
+
border-bottom: 1px solid govuk-functional-colour(border);
|
|
3
3
|
@include govuk-font(19);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.gem-c-sub-navigation-menu__button-container {
|
|
7
|
-
background-color: govuk-colour("
|
|
8
|
-
border-bottom: 1px solid govuk-colour("
|
|
7
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
8
|
+
border-bottom: 1px solid govuk-functional-colour("border");
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.gem-c-sub-navigation-menu__button-container--collapsed {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
padding-right: govuk-spacing(3);
|
|
22
22
|
// Invisible border so the width of the collapsed button is the same as the expanded one.
|
|
23
23
|
border-left: 1px solid rgba(0, 0, 0, 0);
|
|
24
|
-
border-right: 1px solid govuk-colour("
|
|
24
|
+
border-right: 1px solid govuk-colour("black", $variant: "tint-95");
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
position: relative;
|
|
27
27
|
@include govuk-font(19);
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.gem-c-sub-navigation-menu__button[aria-expanded="true"] {
|
|
62
|
-
border-color: govuk-colour("
|
|
62
|
+
border-color: govuk-functional-colour("border");
|
|
63
63
|
background-color: govuk-colour("white");
|
|
64
64
|
|
|
65
65
|
@include govuk-media-query($until: tablet) {
|
|
66
|
-
border-left: 1px solid govuk-colour("
|
|
66
|
+
border-left: 1px solid govuk-colour("black", $variant: "tint-95"); // Hide left border on mobile while preserving button width.
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
// Expanded arrow icon
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.gem-c-sub-navigation-menu__button[aria-expanded="true"]:focus {
|
|
76
|
-
background-color:
|
|
77
|
-
border-color:
|
|
76
|
+
background-color: govuk-functional-colour(focus);
|
|
77
|
+
border-color: govuk-functional-colour(focus);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
// Adds a white border at the bottom of the button when the button is expanded.
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.gem-c-sub-navigation-menu__button:hover::before {
|
|
101
|
-
border-color: govuk-colour("
|
|
101
|
+
border-color: govuk-colour("blue", $variant: "shade-50");
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.gem-c-sub-navigation-menu__nav-container {
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&:not(.brand__color) {
|
|
69
|
-
color:
|
|
69
|
+
color: govuk-functional-colour(link);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&:hover {
|
|
73
|
-
color:
|
|
73
|
+
color: govuk-functional-colour(link-hover);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&:visited,
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&:focus {
|
|
83
|
-
color:
|
|
84
|
-
border: 1px solid
|
|
83
|
+
color: govuk-functional-colour(focus-text);
|
|
84
|
+
border: 1px solid govuk-functional-colour(focus);
|
|
85
85
|
outline: 3px solid transparent;
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
.gem-c-subscription-links__feed-box {
|
|
95
95
|
padding: govuk-spacing(3);
|
|
96
96
|
margin-bottom: govuk-spacing(3);
|
|
97
|
-
background: govuk-colour("
|
|
97
|
+
background: govuk-colour("black", $variant: "tint-95");
|
|
98
98
|
|
|
99
99
|
.govuk-frontend-supported &.js-hidden {
|
|
100
100
|
display: none;
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
.gem-c-success-alert {
|
|
6
6
|
break-inside: avoid;
|
|
7
7
|
background: none;
|
|
8
|
-
border-color:
|
|
8
|
+
border-color: govuk-functional-colour(print-text);
|
|
9
9
|
|
|
10
10
|
* {
|
|
11
|
-
color:
|
|
11
|
+
color: govuk-functional-colour(print-text) !important;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.govuk-notification-banner__header {
|
|
15
|
-
border-bottom: 1pt solid
|
|
15
|
+
border-bottom: 1pt solid govuk-functional-colour(print-text);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.govuk-notification-banner__title {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
@import "govuk/components/table/table";
|
|
2
2
|
|
|
3
3
|
$table-border-width: 1px;
|
|
4
|
-
$table-border-colour: govuk-colour("
|
|
4
|
+
$table-border-colour: govuk-functional-colour("border");
|
|
5
5
|
$table-header-border-width: 2px;
|
|
6
|
-
$table-header-background-colour: govuk-colour("
|
|
6
|
+
$table-header-background-colour: govuk-colour("black", $variant: "tint-95");
|
|
7
7
|
$sort-link-active-colour: govuk-colour("white");
|
|
8
8
|
$sort-link-arrow-size: 14px;
|
|
9
9
|
$sort-link-arrow-size-small: 8px;
|
|
10
10
|
$sort-link-arrow-spacing: calc($sort-link-arrow-size / 2);
|
|
11
|
-
$table-row-hover-background-colour:
|
|
12
|
-
$table-row-even-background-colour: govuk-colour("
|
|
11
|
+
$table-row-hover-background-colour: govuk-colour("blue", $variant: "tint-80");
|
|
12
|
+
$table-row-even-background-colour: govuk-colour("black", $variant: "tint-95");
|
|
13
13
|
|
|
14
14
|
.govuk-table__cell:empty,
|
|
15
15
|
.govuk-table__cell--empty {
|
|
16
|
-
color:
|
|
16
|
+
color: govuk-functional-colour(secondary-text);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.govuk-table--sortable {
|
|
@@ -35,7 +35,7 @@ $table-row-even-background-colour: govuk-colour("light-grey");
|
|
|
35
35
|
display: inline-block;
|
|
36
36
|
position: relative;
|
|
37
37
|
padding-right: $sort-link-arrow-size;
|
|
38
|
-
color:
|
|
38
|
+
color: govuk-functional-colour(link);
|
|
39
39
|
text-decoration: none;
|
|
40
40
|
@include govuk-link-style-no-visited-state;
|
|
41
41
|
}
|
|
@@ -63,7 +63,7 @@ $table-row-even-background-colour: govuk-colour("light-grey");
|
|
|
63
63
|
|
|
64
64
|
.govuk-table__header--active {
|
|
65
65
|
color: $sort-link-active-colour;
|
|
66
|
-
background:
|
|
66
|
+
background: govuk-functional-colour(link);
|
|
67
67
|
|
|
68
68
|
.app-table__sort-link {
|
|
69
69
|
padding-right: govuk-spacing(4);
|
|
@@ -76,7 +76,7 @@ $table-row-even-background-colour: govuk-colour("light-grey");
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&:focus {
|
|
79
|
-
color:
|
|
79
|
+
color: govuk-functional-colour(focus-text);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -109,6 +109,11 @@ $table-row-even-background-colour: govuk-colour("light-grey");
|
|
|
109
109
|
.govuk-table__row {
|
|
110
110
|
&:hover {
|
|
111
111
|
background-color: $table-row-hover-background-colour;
|
|
112
|
+
|
|
113
|
+
.govuk-table__cell:empty,
|
|
114
|
+
.govuk-table__cell--empty {
|
|
115
|
+
color: govuk-functional-colour(text);
|
|
116
|
+
}
|
|
112
117
|
}
|
|
113
118
|
|
|
114
119
|
&:nth-child(even) {
|
|
@@ -139,13 +144,13 @@ $table-row-even-background-colour: govuk-colour("light-grey");
|
|
|
139
144
|
outline: none;
|
|
140
145
|
|
|
141
146
|
* {
|
|
142
|
-
color:
|
|
147
|
+
color: govuk-functional-colour(print-text) !important;
|
|
143
148
|
background: none !important;
|
|
144
149
|
}
|
|
145
150
|
|
|
146
151
|
.govuk-table__header,
|
|
147
152
|
.govuk-table__cell {
|
|
148
|
-
border-bottom: 1px solid
|
|
153
|
+
border-bottom: 1px solid govuk-functional-colour(print-text) !important;
|
|
149
154
|
}
|
|
150
155
|
|
|
151
156
|
.govuk-table__header {
|