govuk_publishing_components 67.1.0 → 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/_glance_metric.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_header.html.erb +14 -36
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_tag.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/layout_header.yml +0 -15
- data/app/views/govuk_publishing_components/components/docs/tag.yml +4 -8
- data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +4 -13
- data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -1
- data/config/initializers/assets.rb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf6fb7638042dd0bc9d2ac0bb19478a4f0cf10d724870e053ff1a024f937d864
|
|
4
|
+
data.tar.gz: 9b90cbac0482ebf1cb460e5d721b5525678ac16a47fea078d7ee0f6fa2167d5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0cc3516cafd8b43f78621db72c1204a457a47e567354fd54f6128e35a940741c1971150b85d8a725670044f9517601bb781ab7c3e0f08a86cb1002c0d9462bab
|
|
7
|
+
data.tar.gz: d9a409ec5a08234d1d81c9a39d13962e4241d804de42056685082f636deba3bbadf9a3fad8a4f9eb4f858a81074492a4c1eeaf826b01121e1fa4ad6dce0d0ae7
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Pre-compile image and font assets from here and govuk-frontend
|
|
2
2
|
//= link_tree ../images
|
|
3
|
-
//= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/
|
|
3
|
+
//= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/images
|
|
4
4
|
//= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/fonts
|
|
5
5
|
|
|
6
6
|
// Create asset files of each of the files in these directory
|
|
@@ -12,7 +12,7 @@ $gem-guide-border-width: 1px;
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.component-violation {
|
|
15
|
-
border: 3px solid
|
|
15
|
+
border: 3px solid govuk-functional-colour(error);
|
|
16
16
|
margin: 0 0 govuk-spacing(6);
|
|
17
17
|
padding: govuk-spacing(6);
|
|
18
18
|
@include govuk-text-colour;
|
|
@@ -24,7 +24,7 @@ $gem-guide-border-width: 1px;
|
|
|
24
24
|
|
|
25
25
|
.component-violation__link {
|
|
26
26
|
display: block;
|
|
27
|
-
color:
|
|
27
|
+
color: govuk-functional-colour(error);
|
|
28
28
|
margin: govuk-spacing(3) 0;
|
|
29
29
|
@include govuk-font($size: 19, $weight: bold);
|
|
30
30
|
}
|
|
@@ -37,14 +37,14 @@ $gem-guide-border-width: 1px;
|
|
|
37
37
|
font-family: Consolas, Monaco, "Andale Mono", monospace;
|
|
38
38
|
font-size: 16px;
|
|
39
39
|
line-height: 1.5;
|
|
40
|
-
border: $gem-guide-border-width solid
|
|
40
|
+
border: $gem-guide-border-width solid govuk-functional-colour(border);
|
|
41
41
|
|
|
42
42
|
&[contenteditable]:hover {
|
|
43
43
|
cursor: text;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&[contenteditable]:focus {
|
|
47
|
-
outline: 3px solid
|
|
47
|
+
outline: 3px solid govuk-functional-colour(focus);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
> pre {
|
|
@@ -69,7 +69,7 @@ $gem-guide-border-width: 1px;
|
|
|
69
69
|
|
|
70
70
|
.component-guide-preview {
|
|
71
71
|
padding: govuk-spacing(8) govuk-spacing(6) govuk-spacing(6) govuk-spacing(6);
|
|
72
|
-
border: $gem-guide-border-width solid
|
|
72
|
+
border: $gem-guide-border-width solid govuk-functional-colour(border);
|
|
73
73
|
position: relative;
|
|
74
74
|
margin-bottom: govuk-spacing(8);
|
|
75
75
|
|
|
@@ -222,12 +222,12 @@ html {
|
|
|
222
222
|
// Rouge syntax highlighting
|
|
223
223
|
// Based on https://github.com/alphagov/tech-docs-template/blob/master/template/source/stylesheets/palette/_syntax-highlighting.scss
|
|
224
224
|
|
|
225
|
-
$code-00: color.scale(govuk-colour("
|
|
225
|
+
$code-00: color.scale(govuk-colour("black", $variant: "tint-95"), $lightness: 50%); // Default Background
|
|
226
226
|
$code-01: #f5f5f5; // Lighter Background (Unused)
|
|
227
227
|
$code-02: #bfc1c3; // Selection Background
|
|
228
|
-
$code-03:
|
|
228
|
+
$code-03: govuk-functional-colour(secondary-text); // Comments, Invisibles, Line Highlighting
|
|
229
229
|
$code-04: #e8e8e8; // Dark Foreground (Unused)
|
|
230
|
-
$code-05:
|
|
230
|
+
$code-05: govuk-functional-colour(text); // Default Foreground, Caret, Delimiters, Operators
|
|
231
231
|
$code-06: #ffffff; // Light Foreground (Unused)
|
|
232
232
|
$code-07: #ffffff; // Light Background (Unused)
|
|
233
233
|
|
|
@@ -491,8 +491,8 @@ $code-delete-bg: #fadddd;
|
|
|
491
491
|
border: 0;
|
|
492
492
|
margin-left: -(govuk-spacing(3));
|
|
493
493
|
margin-right: -(govuk-spacing(3));
|
|
494
|
-
border-top: solid 1px
|
|
495
|
-
border-bottom: solid 1px
|
|
494
|
+
border-top: solid 1px govuk-functional-colour(border);
|
|
495
|
+
border-bottom: solid 1px govuk-functional-colour(border);
|
|
496
496
|
|
|
497
497
|
@include govuk-media-query($from: tablet) {
|
|
498
498
|
margin-left: -(govuk-spacing(6));
|
|
@@ -543,8 +543,8 @@ $code-delete-bg: #fadddd;
|
|
|
543
543
|
bottom: -1px;
|
|
544
544
|
width: calc((100cqw - 960px) / 2);
|
|
545
545
|
box-sizing: border-box;
|
|
546
|
-
border-top: solid 1px
|
|
547
|
-
border-bottom: solid 1px
|
|
546
|
+
border-top: solid 1px govuk-functional-colour(border);
|
|
547
|
+
border-bottom: solid 1px govuk-functional-colour(border);
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
&::before {
|
|
@@ -557,9 +557,3 @@ $code-delete-bg: #fadddd;
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
|
|
561
|
-
// Note: This is a temporary override to ensure the background color on component preview
|
|
562
|
-
// pages remains white, this can be removed once the --rebrand flag is removed from govuk-frontend
|
|
563
|
-
.govuk-template--rebranded {
|
|
564
|
-
background: #ffffff;
|
|
565
|
-
}
|
|
@@ -23,7 +23,11 @@
|
|
|
23
23
|
width: 28px;
|
|
24
24
|
|
|
25
25
|
.gem-c-action-link__icon__circle {
|
|
26
|
-
fill:
|
|
26
|
+
fill: $govuk-blue-tint-80;
|
|
27
|
+
|
|
28
|
+
.gem-c-action-link--inverse & {
|
|
29
|
+
fill: govuk-colour("white");
|
|
30
|
+
}
|
|
27
31
|
|
|
28
32
|
@media (forced-colors: active) {
|
|
29
33
|
fill: LinkText;
|
|
@@ -83,7 +87,7 @@
|
|
|
83
87
|
@include govuk-media-query($media-type: print) {
|
|
84
88
|
.gem-c-action-link {
|
|
85
89
|
* {
|
|
86
|
-
color:
|
|
90
|
+
color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
.gem-c-action-link__icon {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.gem-c-app-promo-banner {
|
|
2
2
|
display: none;
|
|
3
3
|
padding: govuk-spacing(5) 0;
|
|
4
|
-
border-top: 4px solid
|
|
5
|
-
background-color: $govuk-
|
|
4
|
+
border-top: 4px solid govuk-functional-colour(brand);
|
|
5
|
+
background-color: $govuk-blue-tint-95;
|
|
6
6
|
@include govuk-text-colour;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
.gem-c-app-promo-banner__close-button {
|
|
47
47
|
border: 0;
|
|
48
48
|
padding: 0;
|
|
49
|
-
color: govuk-
|
|
49
|
+
color: govuk-functional-colour("secondary-text");
|
|
50
50
|
background: none;
|
|
51
51
|
flex: 0 0 24px;
|
|
52
52
|
height: 24px;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// stylelint-disable declaration-no-important
|
|
7
7
|
@include govuk-media-query($media-type: print) {
|
|
8
8
|
.gem-c-attachment-link .govuk-link {
|
|
9
|
-
color:
|
|
9
|
+
color: govuk-functional-colour(print-text) !important;
|
|
10
10
|
|
|
11
11
|
&::after {
|
|
12
12
|
font-size: inherit;
|
|
@@ -23,9 +23,9 @@ $thumbnail-border-width: 5px;
|
|
|
23
23
|
max-width: calc($thumbnail-width / 1.5);
|
|
24
24
|
height: calc($thumbnail-height / 1.5);
|
|
25
25
|
background: govuk-colour("white");
|
|
26
|
-
box-shadow: 0 2px 2px
|
|
27
|
-
fill: govuk-colour("
|
|
28
|
-
stroke: govuk-colour("
|
|
26
|
+
box-shadow: 0 2px 2px govuk-colour("black", $variant: "tint-50"), 0 0 0 5px govuk-functional-colour("border");
|
|
27
|
+
fill: govuk-colour("black", $variant: "tint-50");
|
|
28
|
+
stroke: govuk-colour("black", $variant: "tint-50");
|
|
29
29
|
|
|
30
30
|
@include govuk-media-query($from: tablet) {
|
|
31
31
|
max-width: $thumbnail-width;
|
|
@@ -56,7 +56,7 @@ $thumbnail-border-width: 5px;
|
|
|
56
56
|
|
|
57
57
|
.gem-c-attachment__metadata {
|
|
58
58
|
margin: 0 0 govuk-spacing(3);
|
|
59
|
-
color:
|
|
59
|
+
color: govuk-functional-colour(secondary-text);
|
|
60
60
|
@include govuk-font($size: 19);
|
|
61
61
|
@include govuk-text-break-word;
|
|
62
62
|
|
|
@@ -92,7 +92,7 @@ $thumbnail-border-width: 5px;
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.gem-c-attachment__metadata {
|
|
95
|
-
color:
|
|
95
|
+
color: govuk-functional-colour(print-text);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.gem-c-attachment__metadata,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "govuk/components/breadcrumbs/breadcrumbs";
|
|
2
2
|
|
|
3
3
|
.gem-c-breadcrumbs--border-bottom {
|
|
4
|
-
border-bottom: 1px solid
|
|
4
|
+
border-bottom: 1px solid govuk-functional-colour(border);
|
|
5
5
|
padding-bottom: govuk-spacing(1);
|
|
6
6
|
|
|
7
7
|
&.govuk-breadcrumbs--collapse-on-mobile {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
&:hover {
|
|
93
93
|
border-color: $gem-quiet-button-hover-colour;
|
|
94
94
|
color: $gem-quiet-button-hover-colour;
|
|
95
|
-
background-color: $gem-
|
|
95
|
+
background-color: $gem-quiet-button-hover-background-colour;
|
|
96
96
|
text-decoration: none;
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
display: inline-block;
|
|
108
108
|
padding: govuk-spacing(1);
|
|
109
109
|
border: solid 1px govuk-colour("black");
|
|
110
|
-
color:
|
|
110
|
+
color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
|
|
111
111
|
text-decoration: none;
|
|
112
112
|
|
|
113
113
|
&::after {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.gem-c-cards__heading--underline + .gem-c-cards__list {
|
|
38
|
-
border-top: 1px solid
|
|
38
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
39
39
|
|
|
40
40
|
.gem-c-cards__list-item {
|
|
41
41
|
&:first-child {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.gem-c-cards__list-item {
|
|
147
|
-
border-top: 1px solid
|
|
147
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
148
148
|
padding: govuk-spacing(1) 0 govuk-spacing(4) 0;
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -180,8 +180,8 @@
|
|
|
180
180
|
$dimension: 7px;
|
|
181
181
|
$width: 3px;
|
|
182
182
|
|
|
183
|
-
border-right: $width solid
|
|
184
|
-
border-top: $width solid
|
|
183
|
+
border-right: $width solid govuk-functional-colour(brand);
|
|
184
|
+
border-top: $width solid govuk-functional-colour(brand);
|
|
185
185
|
content: "";
|
|
186
186
|
display: block;
|
|
187
187
|
height: $dimension;
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
|
|
196
196
|
&:hover {
|
|
197
197
|
&::before {
|
|
198
|
-
border-color:
|
|
198
|
+
border-color: govuk-functional-colour(link-hover);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
&:focus {
|
|
203
203
|
&::before {
|
|
204
|
-
border-color:
|
|
204
|
+
border-color: govuk-functional-colour(focus-text);
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
border-left-style: solid;
|
|
8
8
|
border-left-width: 4px;
|
|
9
|
-
border-color: govuk-colour("
|
|
9
|
+
border-color: govuk-functional-colour("border");
|
|
10
10
|
margin-top: govuk-spacing(2);
|
|
11
11
|
margin-bottom: govuk-spacing(2);
|
|
12
12
|
padding: govuk-spacing(2) govuk-spacing(4);
|
data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.gem-c-contents-list-with-body__link-wrapper.gem-c-contents-list-with-body__sticky-element--stuck-to-window {
|
|
56
|
-
background-color: govuk-colour("
|
|
56
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
57
57
|
bottom: -1px; // 'Fix' for anomalous 1px margin which sporadically appears below this element.
|
|
58
58
|
left: 0;
|
|
59
59
|
margin: 0;
|
data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
CHANGED
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
|
|
36
36
|
.gem-c-contextual-guidance__guidance {
|
|
37
37
|
padding-left: govuk-spacing(3);
|
|
38
|
-
border-left: 4px solid
|
|
38
|
+
border-left: 4px solid govuk-functional-colour(focus);
|
|
39
39
|
background: govuk-colour("white");
|
|
40
40
|
|
|
41
41
|
@include govuk-media-query($from: tablet) {
|
|
42
42
|
padding-top: govuk-spacing(5);
|
|
43
43
|
padding-left: 0;
|
|
44
|
-
border-top: 5px solid
|
|
44
|
+
border-top: 5px solid govuk-functional-colour(focus);
|
|
45
45
|
border-left: 0;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.gem-c-contextual-sidebar__related-links {
|
|
2
|
-
border-top: 2px solid
|
|
2
|
+
border-top: 2px solid govuk-functional-colour(brand);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.gem-c-contextual-sidebar__heading {
|
|
6
6
|
margin-top: govuk-spacing(3);
|
|
7
7
|
margin-bottom: govuk-spacing(2);
|
|
8
|
-
color:
|
|
8
|
+
color: govuk-functional-colour(text);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.gem-c-contextual-sidebar__list {
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.gem-c-contextual-sidebar__cta {
|
|
27
|
-
border-top: 2px solid
|
|
27
|
+
border-top: 2px solid govuk-functional-colour(brand);
|
|
28
28
|
margin-bottom: govuk-spacing(6);
|
|
29
|
-
background-color: govuk-colour("
|
|
29
|
+
background-color: govuk-colour("black", $variant: "tint-95");
|
|
30
30
|
display: block;
|
|
31
31
|
padding: 0 govuk-spacing(3) govuk-spacing(3);
|
|
32
32
|
text-decoration: none;
|
data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss
CHANGED
|
@@ -8,7 +8,7 @@ $toggle-border-height: 3px;
|
|
|
8
8
|
.gem-c-rebranded-one-login-header {
|
|
9
9
|
color: govuk-colour("white");
|
|
10
10
|
position: relative;
|
|
11
|
-
background:
|
|
11
|
+
background: govuk-functional-colour(brand);
|
|
12
12
|
@include govuk-font($size: 16);
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -66,7 +66,7 @@ $toggle-border-height: 3px;
|
|
|
66
66
|
&:focus {
|
|
67
67
|
// Replicate the focus box shadow but without the -2px y-offset of the first yellow shadow
|
|
68
68
|
// This is to stop the logo getting cut off by the box shadow when focused on above a product name
|
|
69
|
-
box-shadow: 0 0
|
|
69
|
+
box-shadow: 0 0 govuk-functional-colour(focus);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -122,7 +122,7 @@ $toggle-border-height: 3px;
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
&:not(:focus) {
|
|
125
|
-
background-color:
|
|
125
|
+
background-color: govuk-functional-colour(brand);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -177,7 +177,7 @@ $toggle-border-height: 3px;
|
|
|
177
177
|
|
|
178
178
|
&::after {
|
|
179
179
|
display: block;
|
|
180
|
-
background-color:
|
|
180
|
+
background-color: govuk-functional-colour(focus-text);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
@@ -188,10 +188,10 @@ $toggle-border-height: 3px;
|
|
|
188
188
|
&:link:visited,
|
|
189
189
|
&:visited:link,
|
|
190
190
|
&:visited:visited {
|
|
191
|
-
color:
|
|
191
|
+
color: govuk-functional-colour(brand);
|
|
192
192
|
|
|
193
193
|
&:focus {
|
|
194
|
-
color:
|
|
194
|
+
color: govuk-functional-colour(focus-text);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -222,7 +222,7 @@ $toggle-border-height: 3px;
|
|
|
222
222
|
|
|
223
223
|
@include govuk-media-query($until: tablet) {
|
|
224
224
|
background-color: govuk-colour("white");
|
|
225
|
-
color:
|
|
225
|
+
color: govuk-functional-colour(brand);
|
|
226
226
|
margin-right: -(govuk-spacing(3));
|
|
227
227
|
margin-left: -(govuk-spacing(3));
|
|
228
228
|
padding: 0 govuk-spacing(3);
|
|
@@ -259,7 +259,7 @@ $toggle-border-height: 3px;
|
|
|
259
259
|
padding: govuk-spacing(3) 0;
|
|
260
260
|
|
|
261
261
|
&:not(:last-child) {
|
|
262
|
-
border-bottom: 1px solid govuk-colour("
|
|
262
|
+
border-bottom: 1px solid govuk-functional-colour("border");
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
}
|
|
@@ -289,8 +289,8 @@ $toggle-border-height: 3px;
|
|
|
289
289
|
@include govuk-font($size: 16, $weight: bold);
|
|
290
290
|
|
|
291
291
|
@mixin toggle-button-focus {
|
|
292
|
-
color:
|
|
293
|
-
background-color:
|
|
292
|
+
color: govuk-functional-colour(focus-text);
|
|
293
|
+
background-color: govuk-functional-colour(focus);
|
|
294
294
|
outline: 3px solid transparent;
|
|
295
295
|
}
|
|
296
296
|
|
|
@@ -313,7 +313,7 @@ $toggle-border-height: 3px;
|
|
|
313
313
|
|
|
314
314
|
&.gem-c-rebranded-cross-service-header__toggle--open {
|
|
315
315
|
background-color: govuk-colour("white");
|
|
316
|
-
color:
|
|
316
|
+
color: govuk-functional-colour(brand);
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
|
|
@@ -364,15 +364,15 @@ $toggle-border-height: 3px;
|
|
|
364
364
|
|
|
365
365
|
.gem-c-rebranded-cross-service-header__toggle--open &,
|
|
366
366
|
.gem-c-rebranded-cross-service-header__toggle--open:hover & {
|
|
367
|
-
background-color:
|
|
367
|
+
background-color: govuk-functional-colour(brand);
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
.gem-c-rebranded-cross-service-header__toggle:focus &,
|
|
371
371
|
.gem-c-rebranded-cross-service-header__toggle:focus-visible & {
|
|
372
|
-
background-color:
|
|
372
|
+
background-color: govuk-functional-colour(focus-text);
|
|
373
373
|
|
|
374
374
|
&:hover {
|
|
375
|
-
background-color:
|
|
375
|
+
background-color: govuk-functional-colour(focus-text);
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.gem-c-devolved-nations {
|
|
2
|
-
background: govuk-colour("
|
|
2
|
+
background: govuk-colour("black", $variant: "tint-95");
|
|
3
3
|
margin-bottom: govuk-spacing(3);
|
|
4
4
|
padding: govuk-spacing(3);
|
|
5
5
|
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
|
|
12
12
|
@include govuk-media-query($media-type: print) {
|
|
13
13
|
.gem-c-devolved-nations {
|
|
14
|
-
border: 2pt solid
|
|
14
|
+
border: 2pt solid govuk-functional-colour(print-text);
|
|
15
15
|
margin: 0 0 5mm;
|
|
16
16
|
|
|
17
17
|
* {
|
|
18
|
-
color:
|
|
18
|
+
color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.govuk-list li {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.gem-c-document-list__item {
|
|
9
9
|
margin-top: govuk-spacing(5);
|
|
10
10
|
padding-top: govuk-spacing(2);
|
|
11
|
-
border-top: 1px solid
|
|
11
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
12
12
|
list-style: none;
|
|
13
13
|
|
|
14
14
|
&:first-child {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.gem-c-document-list__item-context {
|
|
53
|
-
color: govuk-colour("
|
|
53
|
+
color: govuk-functional-colour("secondary-text");
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.gem-c-document-list__item-description {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
|
|
85
85
|
& { // stylelint-disable-line no-duplicate-selectors
|
|
86
86
|
// overriding govuk-text-colour mixin
|
|
87
|
-
color:
|
|
87
|
+
color: govuk-functional-colour(secondary-text);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.direction-rtl & {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.gem-c-document-list__item--highlight {
|
|
97
|
-
border: 1px solid govuk-colour("
|
|
97
|
+
border: 1px solid govuk-functional-colour("border");
|
|
98
98
|
padding: govuk-spacing(6);
|
|
99
99
|
margin-bottom: govuk-spacing(6);
|
|
100
100
|
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
left: 0;
|
|
138
138
|
width: govuk-spacing(3);
|
|
139
139
|
overflow: hidden;
|
|
140
|
-
border-top: solid 1px
|
|
140
|
+
border-top: solid 1px govuk-functional-colour(text);
|
|
141
141
|
transform: translate(0, 0.5em);
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
break-inside: avoid;
|
|
173
173
|
|
|
174
174
|
* {
|
|
175
|
-
color:
|
|
175
|
+
color: govuk-functional-colour(print-text);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.gem-c-emergency-banner {
|
|
2
|
-
background-color: govuk-colour("
|
|
2
|
+
background-color: govuk-colour("black", $variant: "tint-80");
|
|
3
3
|
color: govuk-colour("white");
|
|
4
4
|
margin-top: 2px;
|
|
5
5
|
padding: govuk-spacing(3) 0;
|
|
@@ -52,14 +52,11 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.gem-c-emergency-banner--national-emergency {
|
|
55
|
-
|
|
56
|
-
background-color: #b10e1e;
|
|
55
|
+
background-color: govuk-colour("red", $variant: "shade-25");
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
.gem-c-emergency-banner--local-emergency {
|
|
60
|
-
|
|
61
|
-
// the contrast was too low with white text
|
|
62
|
-
background-color: #00847d;
|
|
59
|
+
background-color: govuk-colour("teal", $variant: "shade-25");
|
|
63
60
|
}
|
|
64
61
|
|
|
65
62
|
@include govuk-media-query($media-type: print) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.gem-c-error-alert {
|
|
2
|
-
color:
|
|
2
|
+
color: govuk-functional-colour(text);
|
|
3
3
|
padding: govuk-spacing(3);
|
|
4
|
-
border: $govuk-border-width-narrow solid
|
|
4
|
+
border: $govuk-border-width-narrow solid govuk-functional-colour(error);
|
|
5
5
|
@include govuk-responsive-margin(8, "bottom");
|
|
6
6
|
|
|
7
7
|
@include govuk-media-query($from: tablet) {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.gem-c-error-alert:focus {
|
|
35
|
-
outline: $govuk-focus-width solid
|
|
35
|
+
outline: $govuk-focus-width solid govuk-functional-colour(focus);
|
|
36
36
|
}
|
|
@@ -54,7 +54,7 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.gem-c-feedback__prompt-questions--something-is-wrong {
|
|
57
|
-
border-top: 1px solid
|
|
57
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
58
58
|
@include govuk-media-query($from: tablet) {
|
|
59
59
|
border: 0;
|
|
60
60
|
}
|
|
@@ -119,7 +119,7 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
&:hover {
|
|
122
|
-
background: govuk-colour("
|
|
122
|
+
background: govuk-colour("black", $variant: "tint-80");
|
|
123
123
|
color: govuk-colour("black");
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -130,7 +130,7 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
|
|
|
130
130
|
|
|
131
131
|
&:focus,
|
|
132
132
|
&:active {
|
|
133
|
-
color:
|
|
133
|
+
color: govuk-functional-colour(focus-text);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
@@ -162,11 +162,11 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
|
|
|
162
162
|
.gem-c-feedback__error-summary {
|
|
163
163
|
margin-bottom: govuk-spacing(3);
|
|
164
164
|
padding: govuk-spacing(3);
|
|
165
|
-
border: solid $govuk-border-width-narrow
|
|
165
|
+
border: solid $govuk-border-width-narrow govuk-functional-colour(error);
|
|
166
166
|
clear: both;
|
|
167
167
|
|
|
168
168
|
&:focus {
|
|
169
|
-
outline: solid 3px
|
|
169
|
+
outline: solid 3px govuk-functional-colour(focus);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
@include govuk-media-query($from: desktop) {
|
|
@@ -196,7 +196,7 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
|
|
|
196
196
|
.gem-c-feedback__error-message {
|
|
197
197
|
display: block;
|
|
198
198
|
padding: 4px 0 0;
|
|
199
|
-
color:
|
|
199
|
+
color: govuk-functional-colour(error);
|
|
200
200
|
@include govuk-font(19, $weight: bold);
|
|
201
201
|
}
|
|
202
202
|
|
|
@@ -253,6 +253,6 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
|
|
|
253
253
|
|
|
254
254
|
&:focus,
|
|
255
255
|
&:active {
|
|
256
|
-
color:
|
|
256
|
+
color: govuk-functional-colour(focus-text);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.gem-c-glance-metric {
|
|
2
|
-
border-top: 1px solid
|
|
2
|
+
border-top: 1px solid govuk-functional-colour(border);
|
|
3
3
|
border-bottom: 0;
|
|
4
4
|
@include govuk-responsive-margin(6, "bottom");
|
|
5
5
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
&__context {
|
|
38
38
|
min-height: 5em;
|
|
39
|
-
border-bottom: 1px solid
|
|
39
|
+
border-bottom: 1px solid govuk-functional-colour(border);
|
|
40
40
|
|
|
41
41
|
@include govuk-media-query($until: mobile) {
|
|
42
42
|
@include govuk-font(16);
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&-icon {
|
|
58
|
-
color: govuk-colour("
|
|
58
|
+
color: govuk-colour("black", $variant: "tint-25");
|
|
59
59
|
|
|
60
60
|
@include govuk-media-query($until: mobile) {
|
|
61
61
|
@include govuk-font(19);
|