govuk_publishing_components 68.2.0 → 69.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/javascripts/govuk_publishing_components/analytics-ga4/ga4-form-tracker.js +44 -17
- data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +98 -139
- data/app/assets/javascripts/govuk_publishing_components/components/option-select.js +26 -16
- data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +12 -11
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +3 -1
- data/app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js +14 -11
- data/app/assets/stylesheets/component_guide/application.scss +7 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_add-another.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_app-promo-banner.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +1 -1
- 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 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_character-count.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_date-input.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_details.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_error-message.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_fieldset.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_file-upload.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_hint.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +6 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_inset-text.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_label.scss +1 -1
- 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 +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +15 -11
- data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +1 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_pagination.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_panel.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_password-input.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_select.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_service-navigation.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_skip-link.scss +1 -1
- 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 +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_sub-navigation-menu.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-card.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_tag.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +7 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +9 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_form-download.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_legislative-list.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.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 +3 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +5 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_index.scss +0 -1
- data/app/views/govuk_publishing_components/components/_date_input.html.erb +16 -10
- data/app/views/govuk_publishing_components/components/_metadata.html.erb +81 -74
- data/app/views/govuk_publishing_components/components/_option_select.html.erb +9 -20
- data/app/views/govuk_publishing_components/components/docs/date_input.yml +23 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/choices.js/README.md +1 -1
- data/node_modules/choices.js/package.json +5 -9
- data/node_modules/choices.js/public/assets/scripts/choices.js +32 -23
- data/node_modules/choices.js/public/assets/scripts/choices.min.js +2 -2
- data/node_modules/choices.js/public/assets/scripts/choices.mjs +32 -23
- data/node_modules/choices.js/public/assets/scripts/choices.search-basic.js +31 -22
- data/node_modules/choices.js/public/assets/scripts/choices.search-basic.min.js +2 -2
- data/node_modules/choices.js/public/assets/scripts/choices.search-basic.mjs +31 -22
- data/node_modules/choices.js/public/assets/scripts/choices.search-kmp.js +30 -21
- data/node_modules/choices.js/public/assets/scripts/choices.search-kmp.min.js +2 -2
- data/node_modules/choices.js/public/assets/scripts/choices.search-kmp.mjs +30 -21
- data/node_modules/choices.js/public/assets/scripts/choices.search-prefix.js +30 -21
- data/node_modules/choices.js/public/assets/scripts/choices.search-prefix.min.js +2 -2
- data/node_modules/choices.js/public/assets/scripts/choices.search-prefix.mjs +30 -21
- data/node_modules/choices.js/public/types/src/scripts/choices.d.ts +3 -3
- data/node_modules/choices.js/public/types/src/scripts/interfaces/templates.d.ts +1 -1
- data/node_modules/choices.js/src/scripts/choices.ts +30 -25
- data/node_modules/choices.js/src/scripts/components/dropdown.ts +7 -3
- data/node_modules/choices.js/src/scripts/interfaces/templates.ts +1 -1
- data/node_modules/choices.js/src/scripts/templates.ts +8 -3
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +7 -3
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +8 -4
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +10 -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/_cookie-banner.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +2 -0
- 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/_error-summary.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +3 -1
- 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.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +2 -0
- 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 +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +5 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +6 -2
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +3 -1
- 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/_phase-banner.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +14 -10
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +5 -1
- 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/_service-navigation.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +7 -3
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +15 -2
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +5 -2
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +6 -2
- 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/_task-list.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_links.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_links.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss +10 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +5 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +14 -13
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss +5 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss.map +1 -1
- 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/helpers/_colour.scss +38 -70
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +3 -2
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +4 -4
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss +17 -15
- data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss +19 -13
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +48 -26
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss +13 -11
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss +4 -2
- data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss +10 -9
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss +3 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss +5 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +7 -2
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss +3 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss +18 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +28 -4
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss +3 -2
- data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss +8 -16
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss +15 -2
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss +3 -2
- data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss +13 -5
- data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_if.scss +24 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_if.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss +13 -5
- data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss +5 -3
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +4 -2
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss +3 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss +1 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss +3 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss +3 -1
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss.map +1 -1
- data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -1
- data/node_modules/govuk-frontend/package.json +7 -7
- metadata +4 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss +0 -145
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/footer/_index.scss"],"names":[],"mappings":"AAAA;EACE,qEAAqE;EACrE,yDAAyD;EACzD,qEAAqE;;EAErE,6BAA6B;EAC7B,sCAAsC;EACtC,uCAAuC;;EAEvC;IACE,8BAA8B;IAC9B,2CAA2C;IAC3C,8CAA8C;;IAE9C,sBAAsB;IACtB,gDAAgD;IAChD,yBAAyB;IACzB,wDAAwD;EAC1D;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,0BAA0B;IAC1B,iCAAiC;EACnC;;EAEA;IACE,SAAS,EAAE,8BAA8B;IACzC,6CAA6C;IAC7C,SAAS,EAAE,8BAA8B;IACzC,wBAAwB;IACxB,0BAA0B;IAC1B,iDAAiD;EACnD;;EAEA;IACE,aAAa,EAAE,kBAAkB;IACjC,iCAAiC;IACjC,gCAAgC;IAChC,eAAe,EAAE,kBAAkB;IACnC,qBAAqB,EAAE,kBAAkB;IACzC,uBAAuB,EAAE,kBAAkB;EAC7C;;EAEA;IACE,gCAAgC;IAChC,+BAA+B;IAC/B,+BAA+B;EACjC;;EAEA;IACE,OAAO,EAAE,kBAAkB;IAC3B;MACE,iBAAiB,EAAE,kBAAkB;IACvC;EACF;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B;MACE,+BAA+B;IACjC;IACA,mBAAmB;IACnB,wEAAwE;IACxE,mDAAmD;IACnD,yBAAyB;EAC3B;;EAEA;IACE,qFAAqF;IACrF,qBAAqB;IACrB,+EAA+E;IAC/E,uCAAuC;IACvC,kBAAkB;EACpB;;EAEA;IACE,8BAA8B;EAChC;;EAEA;IACE,WAAW;IACX,cAAc;IACd,WAAW;IACX,kEAAkE;IAClE,oDAAoD;IACpD,4BAA4B;IAC5B,2BAA2B;IAC3B,iFAAiF;IACjF,kBAAkB;IAClB,mBAAmB;;IAEnB,kEAAkE;IAClE,qEAAqE;IACrE,+DAA+D;IAC/D,yEAAyE;IACzE,sBAAsB;IACtB;MACE,wBAAwB;MACxB,sDAA8C;cAA9C,8CAA8C;MAC9C,8BAAsB;cAAtB,sBAAsB;MACtB,6BAAqB;cAArB,qBAAqB;MACrB,mFAA2E;cAA3E,2EAA2E;;MAE3E,qEAAqE;MACrE,mEAAmE;MACnE,iCAAiC;MACjC;QACE,oBAAoB;MACtB;IACF;EACF;;EAEA;IACE,aAAa;IACb,+BAA+B;IAC/B,UAAU;EACZ;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,+BAA+B;EACjC;;EAEA;IACE,+BAA+B;IAC/B,gCAAgC;;IAEhC;MACE,gCAAgC;IAClC;;IAEA,wBAAwB;IACxB,0BAA0B;IAC1B,iDAAiD;EACnD;;EAEA;IACE,uBAAuB;IACvB,iCAAiC;IACjC,gCAAgC;EAClC;;EAEA;IACE,qBAAqB;IACrB,4BAA4B;IAC5B,mBAAmB;EACrB;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;IAChB,yBAAyB,EAAE,kBAAkB;EAC/C;;EAEA;IACE;MACE,eAAe,EAAE,kBAAkB;IACrC;;IAEA;MACE,eAAe,EAAE,kBAAkB;IACrC;EACF;;EAEA;IACE,6CAA6C;EAC/C;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/footer\") {\n $govuk-footer-background: govuk-functional-colour(surface-background);\n $govuk-footer-text: govuk-functional-colour(surface-text);\n $govuk-footer-content-border: govuk-functional-colour(surface-border);\n\n // Royal Arms image dimensions\n $govuk-footer-crest-image-width: 125px;\n $govuk-footer-crest-image-height: 102px;\n\n .govuk-footer {\n @include govuk-font($size: 19);\n @include govuk-responsive-padding(7, \"top\");\n @include govuk-responsive-padding(5, \"bottom\");\n\n border-top: 10px solid;\n border-top-color: govuk-functional-colour(brand);\n color: $govuk-footer-text;\n background: govuk-functional-colour(template-background);\n }\n\n .govuk-footer__crown {\n margin-bottom: govuk-spacing(5);\n }\n\n .govuk-footer__link {\n @include govuk-link-common;\n @include govuk-link-style-default;\n }\n\n .govuk-footer__section-break {\n margin: 0; // Reset `<hr>` default margins\n @include govuk-responsive-margin(8, \"bottom\");\n border: 0; // Reset `<hr>` default borders\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: $govuk-footer-content-border;\n }\n\n .govuk-footer__meta {\n display: flex; // Support: Flexbox\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n flex-wrap: wrap; // Support: Flexbox\n align-items: flex-end; // Support: Flexbox\n justify-content: center; // Support: Flexbox\n }\n\n .govuk-footer__meta-item {\n margin-right: $govuk-gutter-half;\n margin-bottom: govuk-spacing(5);\n margin-left: $govuk-gutter-half;\n }\n\n .govuk-footer__meta-item--grow {\n flex: 1; // Support: Flexbox\n @media #{govuk-until-breakpoint(tablet)} {\n flex-basis: 320px; // Support: Flexbox\n }\n }\n\n .govuk-footer__licence-logo {\n display: inline-block;\n margin-right: govuk-spacing(2);\n @media #{govuk-until-breakpoint(desktop)} {\n margin-bottom: govuk-spacing(3);\n }\n vertical-align: top;\n // Work around SVGs not inheriting color from parent in forced color mode\n // (https://github.com/w3c/csswg-drafts/issues/6310)\n forced-color-adjust: auto;\n }\n\n .govuk-footer__licence-description {\n // This makes the license description reflow under the logo when space gets too narrow\n display: inline-block;\n // This prevents the description from having orphans when space is narrow enough\n // and makes the text reflow more nicely\n text-wrap: balance;\n }\n\n .govuk-footer__copyright-logo {\n @include govuk-link-style-text;\n }\n\n .govuk-footer__copyright-logo::before {\n content: \"\";\n display: block;\n width: 100%;\n padding-top: ($govuk-footer-crest-image-height + govuk-spacing(2));\n background-image: govuk-image-url(\"govuk-crest.svg\");\n background-repeat: no-repeat;\n background-position: 50% 0%;\n background-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n text-align: center;\n white-space: nowrap;\n\n // Where possible use the crest as a mask instead. This lets us use\n // currentColor, increasing the contrast of the image and matching the\n // user's prefered foreground colour in e.g. forced colors mode.\n // We test for `mask-position` rather than `mask-image` because of a false\n // positive in Edge 17.\n @supports (mask-position: initial) {\n background: currentcolor;\n mask-image: govuk-image-url(\"govuk-crest.svg\");\n mask-repeat: no-repeat;\n mask-position: 50% 0%;\n mask-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n\n // currentcolor doesn't seem to be computed correctly in forced colors\n // mode so force the background color to match the system link color\n // (matching the text in the link)\n @media screen and (forced-colors: active) {\n background: linktext;\n }\n }\n }\n\n .govuk-footer__inline-list {\n margin-top: 0;\n margin-bottom: govuk-spacing(3);\n padding: 0;\n }\n\n .govuk-footer__inline-list:last-child {\n margin-bottom: 0;\n }\n\n .govuk-footer__meta-custom {\n margin-bottom: govuk-spacing(4);\n }\n\n .govuk-footer__meta-custom:last-child {\n margin-bottom: 0;\n }\n\n .govuk-footer__inline-list-item {\n display: inline-block;\n margin-right: govuk-spacing(3);\n margin-bottom: govuk-spacing(1);\n }\n\n .govuk-footer__heading {\n margin-bottom: govuk-spacing(6);\n padding-bottom: govuk-spacing(4);\n\n @media #{govuk-until-breakpoint(tablet)} {\n padding-bottom: govuk-spacing(2);\n }\n\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: $govuk-footer-content-border;\n }\n\n .govuk-footer__navigation {\n @include govuk-clearfix;\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n }\n\n .govuk-footer__section {\n display: inline-block;\n margin-bottom: $govuk-gutter;\n vertical-align: top;\n }\n\n .govuk-footer__list {\n margin: 0;\n padding: 0;\n list-style: none;\n column-gap: $govuk-gutter; // Support: Columns\n }\n\n @media #{govuk-from-breakpoint(desktop)} {\n .govuk-footer__list--columns-2 {\n column-count: 2; // Support: Columns\n }\n\n .govuk-footer__list--columns-3 {\n column-count: 3; // Support: Columns\n }\n }\n\n .govuk-footer__list-item {\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-footer__list-item:last-child {\n margin-bottom: 0;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/footer/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE,qEAAqE;EACrE,yDAAyD;EACzD,qEAAqE;;EAErE,6BAA6B;EAC7B,sCAAsC;EACtC,uCAAuC;;EAEvC;IACE,8BAA8B;IAC9B,2CAA2C;IAC3C,8CAA8C;;IAE9C,sBAAsB;IACtB,gDAAgD;IAChD,yBAAyB;IACzB,wDAAwD;EAC1D;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,0BAA0B;IAC1B,iCAAiC;EACnC;;EAEA;IACE,SAAS,EAAE,8BAA8B;IACzC,6CAA6C;IAC7C,SAAS,EAAE,8BAA8B;IACzC,wBAAwB;IACxB,0BAA0B;IAC1B,iDAAiD;EACnD;;EAEA;IACE,aAAa,EAAE,kBAAkB;IACjC,iCAAiC;IACjC,gCAAgC;IAChC,eAAe,EAAE,kBAAkB;IACnC,qBAAqB,EAAE,kBAAkB;IACzC,uBAAuB,EAAE,kBAAkB;EAC7C;;EAEA;IACE,gCAAgC;IAChC,+BAA+B;IAC/B,+BAA+B;EACjC;;EAEA;IACE,OAAO,EAAE,kBAAkB;IAC3B;MACE,iBAAiB,EAAE,kBAAkB;IACvC;EACF;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B;MACE,+BAA+B;IACjC;IACA,mBAAmB;IACnB,wEAAwE;IACxE,mDAAmD;IACnD,yBAAyB;EAC3B;;EAEA;IACE,qFAAqF;IACrF,qBAAqB;IACrB,+EAA+E;IAC/E,uCAAuC;IACvC,kBAAkB;EACpB;;EAEA;IACE,8BAA8B;EAChC;;EAEA;IACE,WAAW;IACX,cAAc;IACd,WAAW;IACX,kEAAkE;IAClE,oDAAoD;IACpD,4BAA4B;IAC5B,2BAA2B;IAC3B,iFAAiF;IACjF,kBAAkB;IAClB,mBAAmB;;IAEnB,kEAAkE;IAClE,qEAAqE;IACrE,+DAA+D;IAC/D,yEAAyE;IACzE,sBAAsB;IACtB;MACE,wBAAwB;MACxB,sDAA8C;cAA9C,8CAA8C;MAC9C,8BAAsB;cAAtB,sBAAsB;MACtB,6BAAqB;cAArB,qBAAqB;MACrB,mFAA2E;cAA3E,2EAA2E;;MAE3E,qEAAqE;MACrE,mEAAmE;MACnE,iCAAiC;MACjC;QACE,oBAAoB;MACtB;IACF;EACF;;EAEA;IACE,aAAa;IACb,+BAA+B;IAC/B,UAAU;EACZ;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,+BAA+B;EACjC;;EAEA;IACE,+BAA+B;IAC/B,gCAAgC;;IAEhC;MACE,gCAAgC;IAClC;;IAEA,wBAAwB;IACxB,0BAA0B;IAC1B,iDAAiD;EACnD;;EAEA;IACE,uBAAuB;IACvB,iCAAiC;IACjC,gCAAgC;EAClC;;EAEA;IACE,qBAAqB;IACrB,4BAA4B;IAC5B,mBAAmB;EACrB;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;IAChB,yBAAyB,EAAE,kBAAkB;EAC/C;;EAEA;IACE;MACE,eAAe,EAAE,kBAAkB;IACrC;;IAEA;MACE,eAAe,EAAE,kBAAkB;IACrC;EACF;;EAEA;IACE,6CAA6C;EAC/C;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/footer\") {\n $govuk-footer-background: govuk-functional-colour(surface-background);\n $govuk-footer-text: govuk-functional-colour(surface-text);\n $govuk-footer-content-border: govuk-functional-colour(surface-border);\n\n // Royal Arms image dimensions\n $govuk-footer-crest-image-width: 125px;\n $govuk-footer-crest-image-height: 102px;\n\n .govuk-footer {\n @include govuk-font($size: 19);\n @include govuk-responsive-padding(7, \"top\");\n @include govuk-responsive-padding(5, \"bottom\");\n\n border-top: 10px solid;\n border-top-color: govuk-functional-colour(brand);\n color: $govuk-footer-text;\n background: govuk-functional-colour(template-background);\n }\n\n .govuk-footer__crown {\n margin-bottom: govuk-spacing(5);\n }\n\n .govuk-footer__link {\n @include govuk-link-common;\n @include govuk-link-style-default;\n }\n\n .govuk-footer__section-break {\n margin: 0; // Reset `<hr>` default margins\n @include govuk-responsive-margin(8, \"bottom\");\n border: 0; // Reset `<hr>` default borders\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: $govuk-footer-content-border;\n }\n\n .govuk-footer__meta {\n display: flex; // Support: Flexbox\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n flex-wrap: wrap; // Support: Flexbox\n align-items: flex-end; // Support: Flexbox\n justify-content: center; // Support: Flexbox\n }\n\n .govuk-footer__meta-item {\n margin-right: $govuk-gutter-half;\n margin-bottom: govuk-spacing(5);\n margin-left: $govuk-gutter-half;\n }\n\n .govuk-footer__meta-item--grow {\n flex: 1; // Support: Flexbox\n @media #{govuk-until-breakpoint(tablet)} {\n flex-basis: 320px; // Support: Flexbox\n }\n }\n\n .govuk-footer__licence-logo {\n display: inline-block;\n margin-right: govuk-spacing(2);\n @media #{govuk-until-breakpoint(desktop)} {\n margin-bottom: govuk-spacing(3);\n }\n vertical-align: top;\n // Work around SVGs not inheriting color from parent in forced color mode\n // (https://github.com/w3c/csswg-drafts/issues/6310)\n forced-color-adjust: auto;\n }\n\n .govuk-footer__licence-description {\n // This makes the license description reflow under the logo when space gets too narrow\n display: inline-block;\n // This prevents the description from having orphans when space is narrow enough\n // and makes the text reflow more nicely\n text-wrap: balance;\n }\n\n .govuk-footer__copyright-logo {\n @include govuk-link-style-text;\n }\n\n .govuk-footer__copyright-logo::before {\n content: \"\";\n display: block;\n width: 100%;\n padding-top: ($govuk-footer-crest-image-height + govuk-spacing(2));\n background-image: govuk-image-url(\"govuk-crest.svg\");\n background-repeat: no-repeat;\n background-position: 50% 0%;\n background-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n text-align: center;\n white-space: nowrap;\n\n // Where possible use the crest as a mask instead. This lets us use\n // currentColor, increasing the contrast of the image and matching the\n // user's prefered foreground colour in e.g. forced colors mode.\n // We test for `mask-position` rather than `mask-image` because of a false\n // positive in Edge 17.\n @supports (mask-position: initial) {\n background: currentcolor;\n mask-image: govuk-image-url(\"govuk-crest.svg\");\n mask-repeat: no-repeat;\n mask-position: 50% 0%;\n mask-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n\n // currentcolor doesn't seem to be computed correctly in forced colors\n // mode so force the background color to match the system link color\n // (matching the text in the link)\n @media screen and (forced-colors: active) {\n background: linktext;\n }\n }\n }\n\n .govuk-footer__inline-list {\n margin-top: 0;\n margin-bottom: govuk-spacing(3);\n padding: 0;\n }\n\n .govuk-footer__inline-list:last-child {\n margin-bottom: 0;\n }\n\n .govuk-footer__meta-custom {\n margin-bottom: govuk-spacing(4);\n }\n\n .govuk-footer__meta-custom:last-child {\n margin-bottom: 0;\n }\n\n .govuk-footer__inline-list-item {\n display: inline-block;\n margin-right: govuk-spacing(3);\n margin-bottom: govuk-spacing(1);\n }\n\n .govuk-footer__heading {\n margin-bottom: govuk-spacing(6);\n padding-bottom: govuk-spacing(4);\n\n @media #{govuk-until-breakpoint(tablet)} {\n padding-bottom: govuk-spacing(2);\n }\n\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: $govuk-footer-content-border;\n }\n\n .govuk-footer__navigation {\n @include govuk-clearfix;\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n }\n\n .govuk-footer__section {\n display: inline-block;\n margin-bottom: $govuk-gutter;\n vertical-align: top;\n }\n\n .govuk-footer__list {\n margin: 0;\n padding: 0;\n list-style: none;\n column-gap: $govuk-gutter; // Support: Columns\n }\n\n @media #{govuk-from-breakpoint(desktop)} {\n .govuk-footer__list--columns-2 {\n column-count: 2; // Support: Columns\n }\n\n .govuk-footer__list--columns-3 {\n column-count: 3; // Support: Columns\n }\n }\n\n .govuk-footer__list-item {\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-footer__list-item:last-child {\n margin-bottom: 0;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/header/_header.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/header/_header.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,+CAA+C;;AAE/C,iBAAiB","file":"_header.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"header\");\n\n@import \"./index\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/header/_index.scss"],"names":[],"mappings":"AAAA;EACE,wDAAwD;EACxD,yCAAyC;EACzC,2CAA2C;EAC3C,qCAAqC;;EAErC;IACE,+CAA+C;;IAE/C,yDAAyD;IACzD,oCAAoC;IACpC,yBAAyB;IACzB,oCAAoC;EACtC;;EAEA;IACE,2BAA2B;EAC7B;;EAEA;IACE,sBAAsB;;IAEtB,gEAAgE;IAChE,iBAAiB;IACjB,uDAAuD;EACzD;;EAEA;IACE,oEAAoE;IACpE,0CAA0C;IAC1C,CAAC;IACD,wCAAwC;IACxC,uEAAuE;IACvE,sEAAsE;IACtE,+CAA+C;IAC/C,CAAC;IACD,yEAAyE;IACzE,YAAY;IACZ,eAAe;IACf,8BAA8B;IAC9B,eAAe,EAAE,oDAAoD;IACrE,qBAAqB;IACrB,2DAA2D;IAC3D,mCAAmC;IACnC,mCAAmC;IACnC,uCAAuC;IACvC;MACE,eAAe;IACjB;IACA,iCAAiC;;IAEjC;;MAEE,qBAAqB;IACvB;;IAEA;;MAEE,yBAAyB;MACzB,0DAA0D;MAC1D,2DAA2D;IAC7D;;IAEA;MACE,0BAA0B;MAC1B,iEAAiE;;MAEjE;QACE,mDAAmD;MACrD;IACF;;IAEA;MACE,wDAAwD;MACxD,gBAAgB;MAChB,gBAAgB;;MAEhB,2BAA2B;IAC7B;;IAEA;MACE,0CAA0C;IAC5C;EACF;;EAEA;IACE,qBAAqB;IACrB,kBAAkB;IAClB,SAAS;;IAET,wEAAwE;IACxE,sDAAsD;IACtD,kCAAkC,EAAE,SAAS;IAC7C,4DAA4D;IAC5D,+CAA+C;IAC/C,kBAAkB;IAClB,mBAAmB;;IAEnB,wEAAwE;IACxE,eAAe;IACf;MACE,yBAAyB;MACzB,eAAe;IACjB;;IAEA,wEAAwE;IACxE,uBAAuB;IACvB;MACE,eAAe;IACjB;EACF;;EAEA,mBAAmB;EACnB;IACE,oCAAoC;;IAEpC,mCAAmC;IACnC;MACE,kBAAkB;IACpB;;IAEA,4CAA4C;IAC5C;MACE,kBAAkB;IACpB;;IAEA,8BAA8B;IAC9B;MACE,kBAAkB;IACpB;EACF;;EAEA;IACE,qBAAqB;;IAErB,mEAAmE;IACnE,8BAA8B;IAC9B,oCAAoC;;IAEpC,+DAA+D;IAC/D,6DAA6D;IAC7D,gCAAgC;;IAEhC,uBAAuB;IACvB,wBAAwB;;IAExB,6CAA6C;IAC7C,mBAAmB;;IAEnB,sEAAsE;IACtE,uEAAuE;IACvE,yBAAyB;;IAEzB;MACE,eAAe;MACf,uBAAuB;IACzB;EACF;;EAEA;IACE;MACE,sBAAsB;MACtB,4BAA4B;MAC5B,uBAAuB;IACzB;;IAEA;MACE;;QAEE,4BAA4B;MAC9B;;MAEA,mEAAmE;MACnE;QACE,aAAa;MACf;IACF;;IAEA;MACE,qDAAqD;MACrD;QACE,eAAe;MACjB;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/header\") {\n $govuk-header-background: govuk-functional-colour(brand);\n $govuk-header-text: govuk-colour(\"white\");\n $govuk-header-link-underline-thickness: 3px;\n $govuk-header-logo-bottom-margin: 2px;\n\n .govuk-header {\n @include govuk-font($size: 16, $line-height: 1);\n\n // Add a transparent bottom border for forced-colour modes\n border-bottom: 1px solid transparent;\n color: $govuk-header-text;\n background: $govuk-header-background;\n }\n\n .govuk-header__container--full-width {\n padding: 0 govuk-spacing(3);\n }\n\n .govuk-header__logo {\n box-sizing: border-box;\n\n // Magic numbers, set padding to vertically centre align the logo\n padding-top: 16px;\n padding-bottom: 14px - $govuk-header-logo-bottom-margin;\n }\n\n .govuk-header__homepage-link {\n // Avoid using the `govuk-link-common` mixin because the links in the\n // header get a special treatment, because:\n //\n // - underlines are only visible on hover\n // - all links get a 3px underline regardless of text size, as there are\n // multiple grouped elements close to one another and having slightly\n // different underline widths looks unbalanced\n //\n // Font size needs to be set on the link so that the box sizing is correct\n // in Firefox\n display: inline;\n margin-right: govuk-spacing(2);\n font-size: 30px; // We don't have a mixin that produces 30px font size\n text-decoration: none;\n // Remove word-spacing from within the logo so we can ignore\n // whitespace characters in the HTML\n word-spacing: govuk-px-to-rem(-6px);\n // Reset word-spacing for child elements\n > * {\n word-spacing: 0;\n }\n @include govuk-link-style-inverse;\n\n &:link,\n &:visited {\n text-decoration: none;\n }\n\n &:hover,\n &:active {\n // Negate the added border\n margin-bottom: $govuk-header-link-underline-thickness * -1;\n border-bottom: $govuk-header-link-underline-thickness solid;\n }\n\n &:hover {\n text-decoration: underline;\n text-decoration-thickness: $govuk-header-link-underline-thickness;\n\n @if $govuk-link-underline-offset {\n text-underline-offset: $govuk-link-underline-offset;\n }\n }\n\n &:focus {\n // Remove any borders that show when focused and hovered.\n margin-bottom: 0;\n border-bottom: 0;\n\n @include govuk-focused-text;\n }\n\n &:not(:focus) {\n background-color: $govuk-header-background;\n }\n }\n\n .govuk-header__logotype {\n display: inline-block;\n position: relative;\n top: -3px;\n\n // Add a gap after the logo in case it's followed by a product name. This\n // gets removed later if the logotype is a :last-child.\n margin-right: govuk-px-to-rem(7px); // 1 'dot'\n // Add bottom margin to space Product name on small viewports\n margin-bottom: $govuk-header-logo-bottom-margin;\n fill: currentcolor;\n vertical-align: top;\n\n // Prevent readability backplate from obscuring underline in Windows High\n // Contrast Mode\n @media (forced-colors: active) {\n forced-color-adjust: none;\n color: linktext;\n }\n\n // Remove the gap after the logo if there's no product name to keep hover\n // and focus states neat\n &:last-child {\n margin-right: 0;\n }\n }\n\n // Colour in the Dot\n .govuk-logo-dot {\n fill: govuk-colour(\"teal\", \"accent\");\n\n // Override Dot colour when printing\n @media print {\n fill: currentcolor;\n }\n\n // Override Dot colour on forced colours mode\n @media (forced-colors: active) {\n fill: currentcolor;\n }\n\n // Override Dot colour on focus\n :focus & {\n fill: currentcolor;\n }\n }\n\n .govuk-header__product-name {\n display: inline-table;\n\n // Remove 1px from the bottom to account for the font-size being 1px\n // larger than the logo height.\n margin-bottom: govuk-px-to-rem(-1px);\n\n // Magic number font-size that visually aligns with GOV.UK logo.\n // Also stops reducing the product name size on narrow screens\n font-size: govuk-px-to-rem(31px);\n\n // Reduce letter spacing\n letter-spacing: -0.015em;\n\n // Align vertically with logo when not wrapped\n vertical-align: top;\n\n // Prevent forced colour modes from applying a background colour behind\n // the product name, which cuts off the underline that appears on hover.\n forced-color-adjust: none;\n\n @media screen and (forced-colors: active) {\n color: LinkText;\n background: transparent;\n }\n }\n\n @media print {\n .govuk-header {\n border-bottom-width: 0;\n color: govuk-colour(\"black\");\n background: transparent;\n }\n\n .govuk-header__homepage-link {\n &:link,\n &:visited {\n color: govuk-colour(\"black\");\n }\n\n // Do not append link href to GOV.UK link when printing (e.g. '(/)')\n &::after {\n display: none;\n }\n }\n\n .govuk-header__product-name {\n // Fix product name alignment in Firefox when printing\n @-moz-document url-prefix() {\n margin-top: 2px;\n }\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/header/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE,wDAAwD;EACxD,yCAAyC;EACzC,2CAA2C;EAC3C,qCAAqC;;EAErC;IACE,+CAA+C;;IAE/C,yDAAyD;IACzD,oCAAoC;IACpC,yBAAyB;IACzB,oCAAoC;EACtC;;EAEA;IACE,2BAA2B;EAC7B;;EAEA;IACE,sBAAsB;;IAEtB,gEAAgE;IAChE,iBAAiB;IACjB,uDAAuD;EACzD;;EAEA;IACE,oEAAoE;IACpE,0CAA0C;IAC1C,CAAC;IACD,wCAAwC;IACxC,uEAAuE;IACvE,sEAAsE;IACtE,+CAA+C;IAC/C,CAAC;IACD,yEAAyE;IACzE,YAAY;IACZ,eAAe;IACf,8BAA8B;IAC9B,eAAe,EAAE,oDAAoD;IACrE,qBAAqB;IACrB,2DAA2D;IAC3D,mCAAmC;IACnC,mCAAmC;IACnC,uCAAuC;IACvC;MACE,eAAe;IACjB;IACA,iCAAiC;;IAEjC;;MAEE,qBAAqB;IACvB;;IAEA;;MAEE,yBAAyB;MACzB,0DAA0D;MAC1D,2DAA2D;IAC7D;;IAEA;MACE,0BAA0B;MAC1B,iEAAiE;;MAEjE;QACE,mDAAmD;MACrD;IACF;;IAEA;MACE,wDAAwD;MACxD,gBAAgB;MAChB,gBAAgB;;MAEhB,2BAA2B;IAC7B;;IAEA;MACE,0CAA0C;IAC5C;EACF;;EAEA;IACE,qBAAqB;IACrB,kBAAkB;IAClB,SAAS;;IAET,wEAAwE;IACxE,sDAAsD;IACtD,kCAAkC,EAAE,SAAS;IAC7C,4DAA4D;IAC5D,+CAA+C;IAC/C,kBAAkB;IAClB,mBAAmB;;IAEnB,wEAAwE;IACxE,eAAe;IACf;MACE,yBAAyB;MACzB,eAAe;IACjB;;IAEA,wEAAwE;IACxE,uBAAuB;IACvB;MACE,eAAe;IACjB;EACF;;EAEA,mBAAmB;EACnB;IACE,oCAAoC;;IAEpC,mCAAmC;IACnC;MACE,kBAAkB;IACpB;;IAEA,4CAA4C;IAC5C;MACE,kBAAkB;IACpB;;IAEA,8BAA8B;IAC9B;MACE,kBAAkB;IACpB;EACF;;EAEA;IACE,qBAAqB;;IAErB,mEAAmE;IACnE,8BAA8B;IAC9B,oCAAoC;;IAEpC,+DAA+D;IAC/D,6DAA6D;IAC7D,gCAAgC;;IAEhC,uBAAuB;IACvB,wBAAwB;;IAExB,6CAA6C;IAC7C,mBAAmB;;IAEnB,sEAAsE;IACtE,uEAAuE;IACvE,yBAAyB;;IAEzB;MACE,eAAe;MACf,uBAAuB;IACzB;EACF;;EAEA;IACE;MACE,sBAAsB;MACtB,4BAA4B;MAC5B,uBAAuB;IACzB;;IAEA;MACE;;QAEE,4BAA4B;MAC9B;;MAEA,mEAAmE;MACnE;QACE,aAAa;MACf;IACF;;IAEA;MACE,qDAAqD;MACrD;QACE,eAAe;MACjB;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/header\") {\n $govuk-header-background: govuk-functional-colour(brand);\n $govuk-header-text: govuk-colour(\"white\");\n $govuk-header-link-underline-thickness: 3px;\n $govuk-header-logo-bottom-margin: 2px;\n\n .govuk-header {\n @include govuk-font($size: 16, $line-height: 1);\n\n // Add a transparent bottom border for forced-colour modes\n border-bottom: 1px solid transparent;\n color: $govuk-header-text;\n background: $govuk-header-background;\n }\n\n .govuk-header__container--full-width {\n padding: 0 govuk-spacing(3);\n }\n\n .govuk-header__logo {\n box-sizing: border-box;\n\n // Magic numbers, set padding to vertically centre align the logo\n padding-top: 16px;\n padding-bottom: 14px - $govuk-header-logo-bottom-margin;\n }\n\n .govuk-header__homepage-link {\n // Avoid using the `govuk-link-common` mixin because the links in the\n // header get a special treatment, because:\n //\n // - underlines are only visible on hover\n // - all links get a 3px underline regardless of text size, as there are\n // multiple grouped elements close to one another and having slightly\n // different underline widths looks unbalanced\n //\n // Font size needs to be set on the link so that the box sizing is correct\n // in Firefox\n display: inline;\n margin-right: govuk-spacing(2);\n font-size: 30px; // We don't have a mixin that produces 30px font size\n text-decoration: none;\n // Remove word-spacing from within the logo so we can ignore\n // whitespace characters in the HTML\n word-spacing: govuk-px-to-rem(-6px);\n // Reset word-spacing for child elements\n > * {\n word-spacing: 0;\n }\n @include govuk-link-style-inverse;\n\n &:link,\n &:visited {\n text-decoration: none;\n }\n\n &:hover,\n &:active {\n // Negate the added border\n margin-bottom: $govuk-header-link-underline-thickness * -1;\n border-bottom: $govuk-header-link-underline-thickness solid;\n }\n\n &:hover {\n text-decoration: underline;\n text-decoration-thickness: $govuk-header-link-underline-thickness;\n\n @if $govuk-link-underline-offset {\n text-underline-offset: $govuk-link-underline-offset;\n }\n }\n\n &:focus {\n // Remove any borders that show when focused and hovered.\n margin-bottom: 0;\n border-bottom: 0;\n\n @include govuk-focused-text;\n }\n\n &:not(:focus) {\n background-color: $govuk-header-background;\n }\n }\n\n .govuk-header__logotype {\n display: inline-block;\n position: relative;\n top: -3px;\n\n // Add a gap after the logo in case it's followed by a product name. This\n // gets removed later if the logotype is a :last-child.\n margin-right: govuk-px-to-rem(7px); // 1 'dot'\n // Add bottom margin to space Product name on small viewports\n margin-bottom: $govuk-header-logo-bottom-margin;\n fill: currentcolor;\n vertical-align: top;\n\n // Prevent readability backplate from obscuring underline in Windows High\n // Contrast Mode\n @media (forced-colors: active) {\n forced-color-adjust: none;\n color: linktext;\n }\n\n // Remove the gap after the logo if there's no product name to keep hover\n // and focus states neat\n &:last-child {\n margin-right: 0;\n }\n }\n\n // Colour in the Dot\n .govuk-logo-dot {\n fill: govuk-colour(\"teal\", \"accent\");\n\n // Override Dot colour when printing\n @media print {\n fill: currentcolor;\n }\n\n // Override Dot colour on forced colours mode\n @media (forced-colors: active) {\n fill: currentcolor;\n }\n\n // Override Dot colour on focus\n :focus & {\n fill: currentcolor;\n }\n }\n\n .govuk-header__product-name {\n display: inline-table;\n\n // Remove 1px from the bottom to account for the font-size being 1px\n // larger than the logo height.\n margin-bottom: govuk-px-to-rem(-1px);\n\n // Magic number font-size that visually aligns with GOV.UK logo.\n // Also stops reducing the product name size on narrow screens\n font-size: govuk-px-to-rem(31px);\n\n // Reduce letter spacing\n letter-spacing: -0.015em;\n\n // Align vertically with logo when not wrapped\n vertical-align: top;\n\n // Prevent forced colour modes from applying a background colour behind\n // the product name, which cuts off the underline that appears on hover.\n forced-color-adjust: none;\n\n @media screen and (forced-colors: active) {\n color: LinkText;\n background: transparent;\n }\n }\n\n @media print {\n .govuk-header {\n border-bottom-width: 0;\n color: govuk-colour(\"black\");\n background: transparent;\n }\n\n .govuk-header__homepage-link {\n &:link,\n &:visited {\n color: govuk-colour(\"black\");\n }\n\n // Do not append link href to GOV.UK link when printing (e.g. '(/)')\n &::after {\n display: none;\n }\n }\n\n .govuk-header__product-name {\n // Fix product name alignment in Firefox when printing\n @-moz-document url-prefix() {\n margin-top: 2px;\n }\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/hint/_hint.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/hint/_hint.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,6CAA6C;;AAE7C,iBAAiB","file":"_hint.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"hint\");\n\n@import \"./index\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/hint/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;;IAE9B,+BAA+B;;IAE/B,8CAA8C;EAChD;;EAEA,4EAA4E;EAC5E,kDAAkD;;EAElD,6EAA6E;EAC7E,4EAA4E;EAC5E,OAAO;;EAEP,uEAAuE;EACvE,0EAA0E;;EAE1E;IACE,+BAA+B;EACjC;;EAEA,6EAA6E;EAC7E,6DAA6D;;EAE7D,4EAA4E;EAC5E,6EAA6E;EAC7E,oBAAoB;;EAEpB,uEAAuE;EACvE,0EAA0E;;EAE1E,iBAAiB;EACjB;IACE,+BAA+B;EACjC;;EAEA,uDAAuD;EACvD;IACE,6BAA6B;EAC/B;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/hint\") {\n .govuk-hint {\n @include govuk-font($size: 19);\n\n margin-bottom: govuk-spacing(3);\n\n color: govuk-functional-colour(secondary-text);\n }\n\n // Reduces margin-bottom of hint when used after the default label (no class)\n // or govuk-label--s for better vertical alignment.\n\n // This adjustment will not work when the label is inside the <h1>, however it\n // is unlikely that the default or govuk-label--s class would be used in this\n // case.\n\n // This adjustment will not work in browsers that do not support :not().\n // Users with these browsers will see the default size margin (5px larger).\n\n .govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl) + .govuk-hint {\n margin-bottom: govuk-spacing(2);\n }\n\n // Reduces margin-bottom of hint when used after the default legend (no class)\n // or govuk-fieldset__legend--s for better vertical alignment.\n\n // This adjustment will not work when the legend is outside the <h1>, however\n // it is unlikely that the default or govuk-fieldset__legend--s class would be\n // used in this case.\n\n // This adjustment will not work in browsers that do not support :not().\n // Users with these browsers will see the default size margin (5px larger).\n\n // prettier-ignore\n .govuk-fieldset__legend:not(.govuk-fieldset__legend--m):not(.govuk-fieldset__legend--l):not(.govuk-fieldset__legend--xl) + .govuk-hint {\n margin-bottom: govuk-spacing(2);\n }\n\n // Reduces visual spacing of legend when there is a hint\n .govuk-fieldset__legend + .govuk-hint {\n margin-top: govuk-spacing(-1);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/hint/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE;IACE,8BAA8B;;IAE9B,+BAA+B;;IAE/B,8CAA8C;EAChD;;EAEA,4EAA4E;EAC5E,kDAAkD;;EAElD,6EAA6E;EAC7E,4EAA4E;EAC5E,OAAO;;EAEP,uEAAuE;EACvE,0EAA0E;;EAE1E;IACE,+BAA+B;EACjC;;EAEA,6EAA6E;EAC7E,6DAA6D;;EAE7D,4EAA4E;EAC5E,6EAA6E;EAC7E,oBAAoB;;EAEpB,uEAAuE;EACvE,0EAA0E;;EAE1E,iBAAiB;EACjB;IACE,+BAA+B;EACjC;;EAEA,uDAAuD;EACvD;IACE,6BAA6B;EAC/B;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/hint\") {\n .govuk-hint {\n @include govuk-font($size: 19);\n\n margin-bottom: govuk-spacing(3);\n\n color: govuk-functional-colour(secondary-text);\n }\n\n // Reduces margin-bottom of hint when used after the default label (no class)\n // or govuk-label--s for better vertical alignment.\n\n // This adjustment will not work when the label is inside the <h1>, however it\n // is unlikely that the default or govuk-label--s class would be used in this\n // case.\n\n // This adjustment will not work in browsers that do not support :not().\n // Users with these browsers will see the default size margin (5px larger).\n\n .govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl) + .govuk-hint {\n margin-bottom: govuk-spacing(2);\n }\n\n // Reduces margin-bottom of hint when used after the default legend (no class)\n // or govuk-fieldset__legend--s for better vertical alignment.\n\n // This adjustment will not work when the legend is outside the <h1>, however\n // it is unlikely that the default or govuk-fieldset__legend--s class would be\n // used in this case.\n\n // This adjustment will not work in browsers that do not support :not().\n // Users with these browsers will see the default size margin (5px larger).\n\n // prettier-ignore\n .govuk-fieldset__legend:not(.govuk-fieldset__legend--m):not(.govuk-fieldset__legend--l):not(.govuk-fieldset__legend--xl) + .govuk-hint {\n margin-bottom: govuk-spacing(2);\n }\n\n // Reduces visual spacing of legend when there is a hint\n .govuk-fieldset__legend + .govuk-hint {\n margin-top: govuk-spacing(-1);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/input/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uBAAuB;AACvB,wBAAwB;;AAExB;EACE;IACE,8BAA8B;;IAE9B,sBAAsB;IACtB,WAAW;IACX,6BAA6B;IAC7B,aAAa;IACb,yBAAyB;IACzB,yEAAyE;IACzE,gEAAgE;IAChE,yEAAyE;IACzE,mBAAmB;IACnB,8CAA8C;IAC9C,gBAAgB;IAChB,mDAAmD;;IAEnD,iDAAiD;IACjD,wBAAgB;YAAhB,gBAAgB;;IAEhB;MACE,iCAAiC;IACnC;;IAEA;MACE,YAAY;MACZ,cAAc;MACd,6BAA6B;MAC7B,mBAAmB;IACrB;EACF;;EAEA;;IAEE,SAAS;IACT,wBAAwB;EAC1B;;EAEA;IACE,0BAA0B;EAC5B;;EAEA;IACE,4CAA4C;;IAE5C;MACE,mDAAmD;IACrD;EACF;;EAEA;IACE,mCAAmC;IACnC,sBAAsB;EACxB;;EAEA,6DAA6D;EAC7D,wEAAwE;;EAExE;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,aAAa;;IAEb;MACE,cAAc;IAChB;;IAEA;MACE,yDAAyD;MACzD,UAAU;IACZ;;IAEA,2DAA2D;IAC3D;MACE,cAAc;;MAEd;QACE,uEAAuE;QACvE,eAAe;MACjB;IACF;EACF;;EAEA;;IAEE,8BAA8B;IAC9B,sBAAsB;IACtB,wDAAwD;IACxD,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,gCAAgC;IAChC,6BAA6B;IAC7B,yBAAyB;IACzB,8CAA8C;IAC9C,mDAAmD;IACnD,4DAA4D;IAC5D,kBAAkB;IAClB,mBAAmB;IACnB,wDAAwD;IACxD,eAAe;IACf,cAAc;IACd,2DAA2D;IAC3D;MACE,cAAc;MACd,YAAY;MACZ,mBAAmB;IACrB;EACF;;EAEA;IACE;MACE,gBAAgB;IAClB;IACA;MACE,eAAe;IACjB;EACF;;EAEA,2DAA2D;EAC3D;IACE;MACE,aAAa;IACf;IACA;MACE,cAAc;IAChB;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/input\") {\n .govuk-input {\n @include govuk-font($size: 19);\n\n box-sizing: border-box;\n width: 100%;\n height: govuk-px-to-rem(40px);\n margin-top: 0;\n padding: govuk-spacing(1);\n // Setting any background-color makes text invisible when changing colours\n // to dark backgrounds in Firefox (https://bugzil.la/1335476). As\n // background-color and color need to always be set together, color should\n // not be set either\n border: $govuk-border-width-form-element solid;\n border-radius: 0;\n border-color: govuk-functional-colour(input-border);\n\n // Disable inner shadow and remove rounded corners\n appearance: none;\n\n &:focus {\n @include govuk-focused-form-input;\n }\n\n &:disabled {\n opacity: 0.5;\n color: inherit;\n background-color: transparent;\n cursor: not-allowed;\n }\n }\n\n .govuk-input::-webkit-outer-spin-button,\n .govuk-input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n }\n\n .govuk-input[type=\"number\"] {\n -moz-appearance: textfield;\n }\n\n .govuk-input--error {\n border-color: govuk-functional-colour(error);\n\n &:focus {\n border-color: govuk-functional-colour(input-border);\n }\n }\n\n .govuk-input--extra-letter-spacing {\n @include govuk-font-tabular-numbers;\n letter-spacing: 0.05em;\n }\n\n // em measurements are based on the point size of the typeface\n // Extra space is added on the right to allow for the Safari prefill icon\n\n .govuk-input--width-30 {\n max-width: 29.5em;\n }\n\n .govuk-input--width-20 {\n max-width: 20.5em;\n }\n\n .govuk-input--width-10 {\n max-width: 11.5em;\n }\n\n .govuk-input--width-5 {\n max-width: 5.5em;\n }\n\n .govuk-input--width-4 {\n max-width: 4.5em;\n }\n\n .govuk-input--width-3 {\n max-width: 3.75em;\n }\n\n .govuk-input--width-2 {\n max-width: 2.75em;\n }\n\n .govuk-input__wrapper {\n display: flex;\n\n .govuk-input {\n flex: 0 1 auto;\n }\n\n .govuk-input:focus {\n // Hack to stop focus style being overlapped by the suffix\n z-index: 1;\n }\n\n // Split prefix/suffix onto separate lines on narrow screens\n @media #{govuk-until-breakpoint(mobile)} {\n display: block;\n\n .govuk-input {\n // Set max-width to override potential width override class on the input\n max-width: 100%;\n }\n }\n }\n\n .govuk-input__prefix,\n .govuk-input__suffix {\n @include govuk-font($size: 19);\n box-sizing: border-box;\n // Use flexbox to align text within the prefix and suffix\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: govuk-px-to-rem(40px);\n height: govuk-px-to-rem(40px);\n padding: govuk-spacing(1);\n border: $govuk-border-width-form-element solid;\n border-color: govuk-functional-colour(input-border);\n background-color: govuk-colour(\"black\", $variant: \"tint-95\");\n text-align: center;\n white-space: nowrap;\n // Emphasise non-editable status of prefixes and suffixes\n cursor: default;\n flex: 0 0 auto;\n // Split prefix/suffix onto separate lines on narrow screens\n @media #{govuk-until-breakpoint(mobile)} {\n display: block;\n height: 100%;\n white-space: normal;\n }\n }\n\n .govuk-input__prefix {\n @media #{govuk-until-breakpoint(mobile)} {\n border-bottom: 0;\n }\n @media #{govuk-from-breakpoint(mobile)} {\n border-right: 0;\n }\n }\n\n // Split prefix/suffix onto separate lines on narrow screens\n .govuk-input__suffix {\n @media #{govuk-until-breakpoint(mobile)} {\n border-top: 0;\n }\n @media #{govuk-from-breakpoint(mobile)} {\n border-left: 0;\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/input/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB,gCAAgC;AAChC,uBAAuB;AACvB,wBAAwB;;AAExB;EACE;IACE,8BAA8B;;IAE9B,sBAAsB;IACtB,WAAW;IACX,6BAA6B;IAC7B,aAAa;IACb,yBAAyB;IACzB,yEAAyE;IACzE,gEAAgE;IAChE,yEAAyE;IACzE,mBAAmB;IACnB,8CAA8C;IAC9C,gBAAgB;IAChB,mDAAmD;;IAEnD,iDAAiD;IACjD,wBAAgB;YAAhB,gBAAgB;;IAEhB;MACE,iCAAiC;IACnC;;IAEA;MACE,YAAY;MACZ,cAAc;MACd,6BAA6B;MAC7B,mBAAmB;IACrB;EACF;;EAEA;;IAEE,SAAS;IACT,wBAAwB;EAC1B;;EAEA;IACE,0BAA0B;EAC5B;;EAEA;IACE,4CAA4C;;IAE5C;MACE,mDAAmD;IACrD;EACF;;EAEA;IACE,mCAAmC;IACnC,sBAAsB;EACxB;;EAEA,6DAA6D;EAC7D,wEAAwE;;EAExE;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,aAAa;;IAEb;MACE,cAAc;IAChB;;IAEA;MACE,yDAAyD;MACzD,UAAU;IACZ;;IAEA,2DAA2D;IAC3D;MACE,cAAc;;MAEd;QACE,uEAAuE;QACvE,eAAe;MACjB;IACF;EACF;;EAEA;;IAEE,8BAA8B;IAC9B,sBAAsB;IACtB,wDAAwD;IACxD,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,gCAAgC;IAChC,6BAA6B;IAC7B,yBAAyB;IACzB,8CAA8C;IAC9C,mDAAmD;IACnD,4DAA4D;IAC5D,kBAAkB;IAClB,mBAAmB;IACnB,wDAAwD;IACxD,eAAe;IACf,cAAc;IACd,2DAA2D;IAC3D;MACE,cAAc;MACd,YAAY;MACZ,mBAAmB;IACrB;EACF;;EAEA;IACE;MACE,gBAAgB;IAClB;IACA;MACE,eAAe;IACjB;EACF;;EAEA,2DAA2D;EAC3D;IACE;MACE,aAAa;IACf;IACA;MACE,cAAc;IAChB;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@import \"../error-message/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/input\") {\n .govuk-input {\n @include govuk-font($size: 19);\n\n box-sizing: border-box;\n width: 100%;\n height: govuk-px-to-rem(40px);\n margin-top: 0;\n padding: govuk-spacing(1);\n // Setting any background-color makes text invisible when changing colours\n // to dark backgrounds in Firefox (https://bugzil.la/1335476). As\n // background-color and color need to always be set together, color should\n // not be set either\n border: $govuk-border-width-form-element solid;\n border-radius: 0;\n border-color: govuk-functional-colour(input-border);\n\n // Disable inner shadow and remove rounded corners\n appearance: none;\n\n &:focus {\n @include govuk-focused-form-input;\n }\n\n &:disabled {\n opacity: 0.5;\n color: inherit;\n background-color: transparent;\n cursor: not-allowed;\n }\n }\n\n .govuk-input::-webkit-outer-spin-button,\n .govuk-input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n }\n\n .govuk-input[type=\"number\"] {\n -moz-appearance: textfield;\n }\n\n .govuk-input--error {\n border-color: govuk-functional-colour(error);\n\n &:focus {\n border-color: govuk-functional-colour(input-border);\n }\n }\n\n .govuk-input--extra-letter-spacing {\n @include govuk-font-tabular-numbers;\n letter-spacing: 0.05em;\n }\n\n // em measurements are based on the point size of the typeface\n // Extra space is added on the right to allow for the Safari prefill icon\n\n .govuk-input--width-30 {\n max-width: 29.5em;\n }\n\n .govuk-input--width-20 {\n max-width: 20.5em;\n }\n\n .govuk-input--width-10 {\n max-width: 11.5em;\n }\n\n .govuk-input--width-5 {\n max-width: 5.5em;\n }\n\n .govuk-input--width-4 {\n max-width: 4.5em;\n }\n\n .govuk-input--width-3 {\n max-width: 3.75em;\n }\n\n .govuk-input--width-2 {\n max-width: 2.75em;\n }\n\n .govuk-input__wrapper {\n display: flex;\n\n .govuk-input {\n flex: 0 1 auto;\n }\n\n .govuk-input:focus {\n // Hack to stop focus style being overlapped by the suffix\n z-index: 1;\n }\n\n // Split prefix/suffix onto separate lines on narrow screens\n @media #{govuk-until-breakpoint(mobile)} {\n display: block;\n\n .govuk-input {\n // Set max-width to override potential width override class on the input\n max-width: 100%;\n }\n }\n }\n\n .govuk-input__prefix,\n .govuk-input__suffix {\n @include govuk-font($size: 19);\n box-sizing: border-box;\n // Use flexbox to align text within the prefix and suffix\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: govuk-px-to-rem(40px);\n height: govuk-px-to-rem(40px);\n padding: govuk-spacing(1);\n border: $govuk-border-width-form-element solid;\n border-color: govuk-functional-colour(input-border);\n background-color: govuk-colour(\"black\", $variant: \"tint-95\");\n text-align: center;\n white-space: nowrap;\n // Emphasise non-editable status of prefixes and suffixes\n cursor: default;\n flex: 0 0 auto;\n // Split prefix/suffix onto separate lines on narrow screens\n @media #{govuk-until-breakpoint(mobile)} {\n display: block;\n height: 100%;\n white-space: normal;\n }\n }\n\n .govuk-input__prefix {\n @media #{govuk-until-breakpoint(mobile)} {\n border-bottom: 0;\n }\n @media #{govuk-from-breakpoint(mobile)} {\n border-right: 0;\n }\n }\n\n // Split prefix/suffix onto separate lines on narrow screens\n .govuk-input__suffix {\n @media #{govuk-until-breakpoint(mobile)} {\n border-top: 0;\n }\n @media #{govuk-from-breakpoint(mobile)} {\n border-left: 0;\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/input/_input.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/input/_input.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,8CAA8C;;AAE9C,iBAAiB","file":"_input.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"input\");\n\n@import \"./index\";\n"]}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
@import "../../base";
|
|
2
|
+
|
|
1
3
|
@include govuk-exports("govuk/component/inset-text") {
|
|
2
4
|
.govuk-inset-text {
|
|
3
5
|
@include govuk-font($size: 19);
|
|
4
|
-
|
|
6
|
+
|
|
5
7
|
padding: govuk-spacing(3);
|
|
8
|
+
|
|
6
9
|
// Margin top intended to collapse
|
|
7
10
|
// This adds an additional 10px to the paragraph above
|
|
8
11
|
@include govuk-responsive-margin(6, "top");
|
|
@@ -12,6 +15,7 @@
|
|
|
12
15
|
|
|
13
16
|
border-left: $govuk-border-width-wide solid;
|
|
14
17
|
border-left-color: govuk-functional-colour(border);
|
|
18
|
+
color: govuk-functional-colour(text);
|
|
15
19
|
|
|
16
20
|
> :first-child {
|
|
17
21
|
margin-top: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/inset-text/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/inset-text/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE;IACE,8BAA8B;;IAE9B,yBAAyB;;IAEzB,iCAAiC;IACjC,qDAAqD;IACrD,0CAA0C;IAC1C,6CAA6C;;IAE7C,WAAW;;IAEX,2CAA2C;IAC3C,kDAAkD;IAClD,oCAAoC;;IAEpC;MACE,aAAa;IACf;;IAEA;;MAEE,gBAAgB;IAClB;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/inset-text\") {\n .govuk-inset-text {\n @include govuk-font($size: 19);\n\n padding: govuk-spacing(3);\n\n // Margin top intended to collapse\n // This adds an additional 10px to the paragraph above\n @include govuk-responsive-margin(6, \"top\");\n @include govuk-responsive-margin(6, \"bottom\");\n\n clear: both;\n\n border-left: $govuk-border-width-wide solid;\n border-left-color: govuk-functional-colour(border);\n color: govuk-functional-colour(text);\n\n > :first-child {\n margin-top: 0;\n }\n\n > :only-child,\n > :last-child {\n margin-bottom: 0;\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/inset-text/_inset-text.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/inset-text/_inset-text.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,mDAAmD;;AAEnD,iBAAiB","file":"_inset-text.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"inset-text\");\n\n@import \"./index\";\n"]}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
@import "../../base";
|
|
2
|
+
|
|
1
3
|
@include govuk-exports("govuk/component/label") {
|
|
2
4
|
.govuk-label {
|
|
3
5
|
@include govuk-font($size: 19);
|
|
4
|
-
@include govuk-text-colour;
|
|
5
6
|
|
|
6
7
|
display: block;
|
|
7
8
|
|
|
8
9
|
margin-bottom: govuk-spacing(1);
|
|
10
|
+
color: govuk-functional-colour(text);
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
// Modifiers that make labels look more like their equivalent headings
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/label/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/label/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE;IACE,8BAA8B;;IAE9B,cAAc;;IAEd,+BAA+B;IAC/B,oCAAoC;EACtC;;EAEA,qEAAqE;EACrE;;;IAGE,qCAAqC;IACrC,+BAA+B;EACjC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,qCAAqC;EACvC;;EAEA,4EAA4E;EAC5E,6EAA6E;EAC7E,wBAAwB;EACxB,CAAC;EACD,2EAA2E;EAC3E,yCAAyC;EACzC;IACE,SAAS;EACX;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/label\") {\n .govuk-label {\n @include govuk-font($size: 19);\n\n display: block;\n\n margin-bottom: govuk-spacing(1);\n color: govuk-functional-colour(text);\n }\n\n // Modifiers that make labels look more like their equivalent headings\n .govuk-label--xl,\n .govuk-label--l,\n .govuk-label--m {\n @include govuk-typography-weight-bold;\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-label--xl {\n @include govuk-font-size($size: 48);\n }\n\n .govuk-label--l {\n @include govuk-font-size($size: 36);\n }\n\n .govuk-label--m {\n @include govuk-font-size($size: 24);\n }\n\n .govuk-label--s {\n @include govuk-typography-weight-bold;\n }\n\n // When the label is nested inside a heading, override the heading so that it\n // does not have a margin. Effectively we want to be able to treat the heading\n // as if it is not there.\n //\n // This breaks BEM conventions because it exists as a parent of the 'block',\n // so we can't really consider an element.\n .govuk-label-wrapper {\n margin: 0;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/label/_label.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/label/_label.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,8CAA8C;;AAE9C,iBAAiB","file":"_label.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"label\");\n\n@import \"./index\";\n"]}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
@import "../../base";
|
|
4
|
+
|
|
1
5
|
@include govuk-exports("govuk/component/notification-banner") {
|
|
2
6
|
.govuk-notification-banner {
|
|
3
7
|
@include govuk-font($size: 19);
|
|
@@ -38,9 +42,9 @@
|
|
|
38
42
|
|
|
39
43
|
.govuk-notification-banner__content {
|
|
40
44
|
$padding-tablet: govuk-spacing(4);
|
|
41
|
-
@include govuk-text-colour;
|
|
42
45
|
padding: govuk-spacing(3);
|
|
43
46
|
|
|
47
|
+
color: govuk-functional-colour(text);
|
|
44
48
|
background-color: govuk-functional-colour(body-background);
|
|
45
49
|
|
|
46
50
|
@media #{govuk-from-breakpoint(tablet)} {
|
|
@@ -55,7 +59,7 @@
|
|
|
55
59
|
box-sizing: border-box;
|
|
56
60
|
|
|
57
61
|
// Calculate the internal width of a two-thirds column...
|
|
58
|
-
$two-col-width: ($govuk-page-width * 2
|
|
62
|
+
$two-col-width: math.div($govuk-page-width * 2, 3) - math.div($govuk-gutter * 1, 3);
|
|
59
63
|
|
|
60
64
|
// ...and then factor in the left border and padding
|
|
61
65
|
$banner-exterior: ($padding-tablet + $govuk-border-width);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/notification-banner/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,6CAA6C;;IAE7C,iCAAiC;IACjC,4CAA4C;;IAE5C,gDAAgD;;IAEhD;MACE,iCAAiC;MACjC,6CAA6C;IAC/C;EACF;;EAEA;IACE,8CAA8C;;IAE9C,2EAA2E;IAC3E,4BAA4B;IAC5B,oCAAoC;;IAEpC;MACE,8CAA8C;IAChD;EACF;;EAEA;IACE,yEAAyE;IACzE,6CAA6C;IAC7C,mCAAmC;IACnC,qCAAqC;IACrC,SAAS;IACT,UAAU;IACV,4BAA4B;EAC9B;;EAEA;IACE,iCAAiC;IACjC,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/notification-banner/_index.scss"],"names":[],"mappings":"AAAA,gBAAgB;;AAEhB,oBAAoB;;AAEpB;EACE;IACE,8BAA8B;IAC9B,6CAA6C;;IAE7C,iCAAiC;IACjC,4CAA4C;;IAE5C,gDAAgD;;IAEhD;MACE,iCAAiC;MACjC,6CAA6C;IAC/C;EACF;;EAEA;IACE,8CAA8C;;IAE9C,2EAA2E;IAC3E,4BAA4B;IAC5B,oCAAoC;;IAEpC;MACE,8CAA8C;IAChD;EACF;;EAEA;IACE,yEAAyE;IACzE,6CAA6C;IAC7C,mCAAmC;IACnC,qCAAqC;IACrC,SAAS;IACT,UAAU;IACV,4BAA4B;EAC9B;;EAEA;IACE,iCAAiC;IACjC,yBAAyB;;IAEzB,oCAAoC;IACpC,0DAA0D;;IAE1D;MACE,wBAAwB;IAC1B;;IAEA,yEAAyE;IACzE,iEAAiE;IACjE;MACE,wEAAwE;MACxE,8BAA8B;MAC9B,sBAAsB;;MAEtB,wDAAwD;MACxD,mFAAmF;;MAEnF,mDAAmD;MACnD,yDAAyD;MACzD,4CAA4C;IAC9C;;IAEA;MACE,gBAAgB;IAClB;EACF;;EAEA;IACE,mCAAmC;IACnC,qCAAqC;;IAErC,4BAA4B;;IAE5B,UAAU;EACZ;;EAEA;IACE,0BAA0B;IAC1B,0CAA0C;EAC5C;;EAEA;IACE,8CAA8C;;IAE9C,kDAAkD;;IAElD;MACE,iCAAiC;IACnC;EACF;AACF","file":"_index.scss","sourcesContent":["@use \"sass:math\";\n\n@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/notification-banner\") {\n .govuk-notification-banner {\n @include govuk-font($size: 19);\n @include govuk-responsive-margin(8, \"bottom\");\n\n border: $govuk-border-width solid;\n border-color: govuk-functional-colour(brand);\n\n background-color: govuk-functional-colour(brand);\n\n &:focus {\n outline: $govuk-focus-width solid;\n outline-color: govuk-functional-colour(focus);\n }\n }\n\n .govuk-notification-banner__header {\n padding: 2px govuk-spacing(3) govuk-spacing(1);\n\n // Ensures the notification header appears separate to the notification body\n // text in high contrast mode\n border-bottom: 1px solid transparent;\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding: 2px govuk-spacing(4) govuk-spacing(1);\n }\n }\n\n .govuk-notification-banner__title {\n // Set the size again because this element is a heading and the user agent\n // font size overrides the inherited font size\n @include govuk-font-size($size: 19);\n @include govuk-typography-weight-bold;\n margin: 0;\n padding: 0;\n color: govuk-colour(\"white\");\n }\n\n .govuk-notification-banner__content {\n $padding-tablet: govuk-spacing(4);\n padding: govuk-spacing(3);\n\n color: govuk-functional-colour(text);\n background-color: govuk-functional-colour(body-background);\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding: $padding-tablet;\n }\n\n // Wrap content at the same place that a 2/3 grid column ends, to maintain\n // shorter line-lengths when the notification banner is full width\n > * {\n // When elements have their own padding (like lists), include the padding\n // in the max-width calculation\n box-sizing: border-box;\n\n // Calculate the internal width of a two-thirds column...\n $two-col-width: math.div($govuk-page-width * 2, 3) - math.div($govuk-gutter * 1, 3);\n\n // ...and then factor in the left border and padding\n $banner-exterior: ($padding-tablet + $govuk-border-width);\n max-width: $two-col-width - $banner-exterior;\n }\n\n > :last-child {\n margin-bottom: 0;\n }\n }\n\n .govuk-notification-banner__heading {\n @include govuk-font-size($size: 24);\n @include govuk-typography-weight-bold;\n\n margin: 0 0 govuk-spacing(3);\n\n padding: 0;\n }\n\n .govuk-notification-banner__link {\n @include govuk-link-common;\n @include govuk-link-style-no-visited-state;\n }\n\n .govuk-notification-banner--success {\n border-color: govuk-functional-colour(success);\n\n background-color: govuk-functional-colour(success);\n\n .govuk-notification-banner__link {\n @include govuk-link-style-success;\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/notification-banner/_notification-banner.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/notification-banner/_notification-banner.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,4DAA4D;;AAE5D,iBAAiB","file":"_notification-banner.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"notification-banner\");\n\n@import \"./index\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/pagination/_index.scss"],"names":[],"mappings":"AAAA;EACE,oDAAoD;EACpD,yDAAyD;EACzD;IACE,6CAA6C;IAC7C,aAAa;IACb,sBAAsB;IACtB,mBAAmB;IACnB,eAAe;;IAEf;MACE,mBAAmB;MACnB,uBAAuB;IACzB;EACF;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;EAClB;;EAEA;;;IAGE,uBAAuB;IACvB,sBAAsB;IACtB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,0CAA0C;IAC1C,WAAW,EAAE,wDAAwD;;IAErE;MACE,4DAA4D;IAC9D;EACF;;EAEA;IACE,yDAAyD;IACzD,6CAA6C;IAC7C,aAAa;;IAEb,sEAAsE;IACtE,gDAAgD;IAChD,kBAAkB;;IAElB;MACE,cAAc;IAChB;EACF;;EAEA;;IAEE,qCAAqC;;IAErC,uEAAuE;IACvE,yCAAyC;IACzC;MACE,aAAa;MACb,mBAAmB;IACrB;EACF;;EAEA;IACE,eAAe;EACjB;;EAEA;IACE,gBAAgB;EAClB;;EAEA,oDAAoD;EACpD;;;;IAIE,cAAc;EAChB;;EAEA;IACE,qCAAqC;IACrC,8BAA8B;IAC9B,+CAA+C;;IAE/C;MACE,+CAA+C;IACjD;;IAEA;MACE,iCAAiC;IACnC;EACF;;EAEA;IACE,qCAAqC;IACrC,8CAA8C;;IAE9C,mEAAmE;IACnE;MACE,6BAA6B;IAC/B;EACF;;EAEA;IACE,cAAc;IACd,2BAA2B;;IAE3B,6DAA6D;IAC7D;MACE;QACE,WAAW;QACX,kBAAkB;QAClB,MAAM;QACN,QAAQ;QACR,SAAS;QACT,OAAO;MACT;IACF;;IAEA,oEAAoE;IACpE,kEAAkE;IAClE;;MAEE;QACE,8BAA8B;MAChC;;MAEA;;QAEE,oCAAoC;MACtC;IACF;;IAEA;MACE;QACE,0CAA0C;MAC5C;;MAEA;QACE,qBAAqB;MACvB;;MAEA;QACE,qBAAqB;MACvB;IACF;EACF;;EAEA;IACE,kCAAkC;EACpC;;EAEA;IACE,wCAAwC;IACxC,8BAA8B;IAC9B,qBAAqB;EACvB;;EAEA;IACE,sDAAsD;IACtD,4BAA4B;IAC5B,6BAA6B;IAC7B,8CAA8C;IAC9C,kBAAkB;IAClB,yBAAyB;EAC3B;;EAEA;IACE,8BAA8B;EAChC;;EAEA;IACE,6BAA6B;EAC/B;;EAEA,uEAAuE;EACvE;IACE,cAAc;;IAEd;;MAEE,eAAe;MACf,WAAW;;MAEX;QACE,qBAAqB;MACvB;IACF;;IAEA;MACE,+BAA+B;IACjC;;IAEA,+DAA+D;IAC/D;MACE,qBAAqB;MACrB,iDAAiD;IACnD;;IAEA,wEAAwE;IACxE,yEAAyE;IACzE,qEAAqE;IACrE,4BAA4B;IAC5B;MACE,WAAW;MACX,cAAc;IAChB;;IAEA;MACE,8BAA8B;MAC9B,gBAAgB;;MAEhB;QACE,qBAAqB;MACvB;IACF;;IAEA;MACE,gEAAgE;MAChE,6CAA6C;MAC7C,gCAAgC;MAChC,CAAC;MACD,wEAAwE;MACxE,qEAAqE;MACrE,mBAAmB;MACnB,kCAAkC;MAClC,WAAW;IACb;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/pagination\") {\n // Flexbox enhancement for small screen visual design\n // Falls back to a float: left layout on non-flex browsers\n .govuk-pagination {\n @include govuk-responsive-margin(6, \"bottom\");\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-wrap: wrap;\n\n @media #{govuk-from-breakpoint(tablet)} {\n flex-direction: row;\n align-items: flex-start;\n }\n }\n\n .govuk-pagination__list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n .govuk-pagination__item,\n .govuk-pagination__next,\n .govuk-pagination__prev {\n @include govuk-font(19);\n box-sizing: border-box;\n position: relative;\n min-width: 45px;\n min-height: 45px;\n padding: govuk-spacing(2) govuk-spacing(3);\n float: left; // Float is ignored if flex is active for prev/next links\n\n &:hover {\n background-color: govuk-colour(\"black\", $variant: \"tint-95\");\n }\n }\n\n .govuk-pagination__item {\n // Hide items on small screens except the prev/next items,\n // non-link items and the first and last items\n display: none;\n\n // Center align pagination links in their parent list item so that they\n // visually sit in the middle of their touch area\n text-align: center;\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: block;\n }\n }\n\n .govuk-pagination__prev,\n .govuk-pagination__next {\n @include govuk-typography-weight-bold;\n\n // Use flex to avoid extra space being introduced when whitespace exists\n // between the arrow svg and the link text\n .govuk-pagination__link {\n display: flex;\n align-items: center;\n }\n }\n\n .govuk-pagination__prev {\n padding-left: 0;\n }\n\n .govuk-pagination__next {\n padding-right: 0;\n }\n\n // Only show first, last and non-link items on mobile\n .govuk-pagination__item--current,\n .govuk-pagination__item--ellipsis,\n .govuk-pagination__item:first-child,\n .govuk-pagination__item:last-child {\n display: block;\n }\n\n .govuk-pagination__item--current {\n @include govuk-typography-weight-bold;\n outline: 1px solid transparent;\n background-color: govuk-functional-colour(link);\n\n &:hover {\n background-color: govuk-functional-colour(link);\n }\n\n .govuk-pagination__link {\n @include govuk-link-style-inverse;\n }\n }\n\n .govuk-pagination__item--ellipsis {\n @include govuk-typography-weight-bold;\n color: govuk-functional-colour(secondary-text);\n\n // Remove hover state for ellipsis items as they don't contain links\n &:hover {\n background-color: transparent;\n }\n }\n\n .govuk-pagination__link {\n display: block;\n min-width: govuk-spacing(3);\n\n // Increase the touch area for the link to the parent element.\n @media screen {\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n // Add link hover decoration to prev/next text if no label present on\n // prev/next only mode, so that we have a hover state in all cases\n &:hover,\n &:active {\n .govuk-pagination__link-title--decorated {\n @include govuk-link-decoration;\n }\n\n .govuk-pagination__link-label,\n .govuk-pagination__link-title--decorated {\n @include govuk-link-hover-decoration;\n }\n }\n\n &:focus {\n .govuk-pagination__icon {\n color: govuk-functional-colour(focus-text);\n }\n\n .govuk-pagination__link-label {\n text-decoration: none;\n }\n\n .govuk-pagination__link-title--decorated {\n text-decoration: none;\n }\n }\n }\n\n .govuk-pagination__link-title {\n text-decoration-thickness: inherit;\n }\n\n .govuk-pagination__link-label {\n @include govuk-typography-weight-regular;\n @include govuk-link-decoration;\n display: inline-block;\n }\n\n .govuk-pagination__icon {\n // Set size using rems to make the icon scale with text\n width: govuk-px-to-rem(15px);\n height: govuk-px-to-rem(13px);\n color: govuk-functional-colour(secondary-text);\n fill: currentcolor;\n forced-color-adjust: auto;\n }\n\n .govuk-pagination__icon--prev {\n margin-right: govuk-spacing(3);\n }\n\n .govuk-pagination__icon--next {\n margin-left: govuk-spacing(3);\n }\n\n // Block mode - position previous and next links above and below numbers\n .govuk-pagination--block {\n display: block;\n\n .govuk-pagination__next,\n .govuk-pagination__prev {\n padding-left: 0;\n float: none;\n\n .govuk-pagination__link {\n display: inline-block;\n }\n }\n\n .govuk-pagination__next {\n padding-right: govuk-spacing(3);\n }\n\n // Only apply a border between prev and next if both are present\n .govuk-pagination__prev + .govuk-pagination__next {\n border-top: 1px solid;\n border-top-color: govuk-functional-colour(border);\n }\n\n // Set the after pseudo element to a block which makes the title visually\n // display as block level whilst programmatically being inline. We do this\n // to get around an NVDA quirk where adjacent block level elements are\n // always read out separately\n .govuk-pagination__link-title::after {\n content: \"\";\n display: block;\n }\n\n .govuk-pagination__link {\n padding-left: govuk-spacing(6);\n text-align: left;\n\n &:not(:focus) {\n text-decoration: none;\n }\n }\n\n .govuk-pagination__icon {\n // This magic number is brought to you by the following equation:\n // ((lineHeight − arrowHeight) ÷ 2) ÷ fontSize\n // ((25 − 13) ÷ 2) ÷ 19 = 0.326em\n //\n // This could have been done programmatically but we don't have functions\n // for grabbing the line-height of specific typography sizes just yet.\n margin-top: 0.326em;\n margin-left: govuk-spacing(6) * -1;\n float: left;\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/pagination/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE,oDAAoD;EACpD,yDAAyD;EACzD;IACE,6CAA6C;IAC7C,aAAa;IACb,sBAAsB;IACtB,mBAAmB;IACnB,eAAe;;IAEf;MACE,mBAAmB;MACnB,uBAAuB;IACzB;EACF;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;EAClB;;EAEA;;;IAGE,uBAAuB;IACvB,sBAAsB;IACtB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,0CAA0C;IAC1C,WAAW,EAAE,wDAAwD;;IAErE;MACE,4DAA4D;IAC9D;EACF;;EAEA;IACE,yDAAyD;IACzD,6CAA6C;IAC7C,aAAa;;IAEb,sEAAsE;IACtE,gDAAgD;IAChD,kBAAkB;;IAElB;MACE,cAAc;IAChB;EACF;;EAEA;;IAEE,qCAAqC;;IAErC,uEAAuE;IACvE,yCAAyC;IACzC;MACE,aAAa;MACb,mBAAmB;IACrB;EACF;;EAEA;IACE,eAAe;EACjB;;EAEA;IACE,gBAAgB;EAClB;;EAEA,oDAAoD;EACpD;;;;IAIE,cAAc;EAChB;;EAEA;IACE,qCAAqC;IACrC,8BAA8B;IAC9B,+CAA+C;;IAE/C;MACE,+CAA+C;IACjD;;IAEA;MACE,iCAAiC;IACnC;EACF;;EAEA;IACE,qCAAqC;IACrC,8CAA8C;;IAE9C,mEAAmE;IACnE;MACE,6BAA6B;IAC/B;EACF;;EAEA;IACE,cAAc;IACd,2BAA2B;;IAE3B,6DAA6D;IAC7D;MACE;QACE,WAAW;QACX,kBAAkB;QAClB,MAAM;QACN,QAAQ;QACR,SAAS;QACT,OAAO;MACT;IACF;;IAEA,oEAAoE;IACpE,kEAAkE;IAClE;;MAEE;QACE,8BAA8B;MAChC;;MAEA;;QAEE,oCAAoC;MACtC;IACF;;IAEA;MACE;QACE,0CAA0C;MAC5C;;MAEA;QACE,qBAAqB;MACvB;;MAEA;QACE,qBAAqB;MACvB;IACF;EACF;;EAEA;IACE,kCAAkC;EACpC;;EAEA;IACE,wCAAwC;IACxC,8BAA8B;IAC9B,qBAAqB;EACvB;;EAEA;IACE,sDAAsD;IACtD,4BAA4B;IAC5B,6BAA6B;IAC7B,8CAA8C;IAC9C,kBAAkB;IAClB,yBAAyB;EAC3B;;EAEA;IACE,8BAA8B;EAChC;;EAEA;IACE,6BAA6B;EAC/B;;EAEA,uEAAuE;EACvE;IACE,cAAc;;IAEd;;MAEE,eAAe;MACf,WAAW;;MAEX;QACE,qBAAqB;MACvB;IACF;;IAEA;MACE,+BAA+B;IACjC;;IAEA,+DAA+D;IAC/D;MACE,qBAAqB;MACrB,iDAAiD;IACnD;;IAEA,wEAAwE;IACxE,yEAAyE;IACzE,qEAAqE;IACrE,4BAA4B;IAC5B;MACE,WAAW;MACX,cAAc;IAChB;;IAEA;MACE,8BAA8B;MAC9B,gBAAgB;;MAEhB;QACE,qBAAqB;MACvB;IACF;;IAEA;MACE,gEAAgE;MAChE,6CAA6C;MAC7C,gCAAgC;MAChC,CAAC;MACD,wEAAwE;MACxE,qEAAqE;MACrE,mBAAmB;MACnB,kCAAkC;MAClC,WAAW;IACb;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/pagination\") {\n // Flexbox enhancement for small screen visual design\n // Falls back to a float: left layout on non-flex browsers\n .govuk-pagination {\n @include govuk-responsive-margin(6, \"bottom\");\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-wrap: wrap;\n\n @media #{govuk-from-breakpoint(tablet)} {\n flex-direction: row;\n align-items: flex-start;\n }\n }\n\n .govuk-pagination__list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n .govuk-pagination__item,\n .govuk-pagination__next,\n .govuk-pagination__prev {\n @include govuk-font(19);\n box-sizing: border-box;\n position: relative;\n min-width: 45px;\n min-height: 45px;\n padding: govuk-spacing(2) govuk-spacing(3);\n float: left; // Float is ignored if flex is active for prev/next links\n\n &:hover {\n background-color: govuk-colour(\"black\", $variant: \"tint-95\");\n }\n }\n\n .govuk-pagination__item {\n // Hide items on small screens except the prev/next items,\n // non-link items and the first and last items\n display: none;\n\n // Center align pagination links in their parent list item so that they\n // visually sit in the middle of their touch area\n text-align: center;\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: block;\n }\n }\n\n .govuk-pagination__prev,\n .govuk-pagination__next {\n @include govuk-typography-weight-bold;\n\n // Use flex to avoid extra space being introduced when whitespace exists\n // between the arrow svg and the link text\n .govuk-pagination__link {\n display: flex;\n align-items: center;\n }\n }\n\n .govuk-pagination__prev {\n padding-left: 0;\n }\n\n .govuk-pagination__next {\n padding-right: 0;\n }\n\n // Only show first, last and non-link items on mobile\n .govuk-pagination__item--current,\n .govuk-pagination__item--ellipsis,\n .govuk-pagination__item:first-child,\n .govuk-pagination__item:last-child {\n display: block;\n }\n\n .govuk-pagination__item--current {\n @include govuk-typography-weight-bold;\n outline: 1px solid transparent;\n background-color: govuk-functional-colour(link);\n\n &:hover {\n background-color: govuk-functional-colour(link);\n }\n\n .govuk-pagination__link {\n @include govuk-link-style-inverse;\n }\n }\n\n .govuk-pagination__item--ellipsis {\n @include govuk-typography-weight-bold;\n color: govuk-functional-colour(secondary-text);\n\n // Remove hover state for ellipsis items as they don't contain links\n &:hover {\n background-color: transparent;\n }\n }\n\n .govuk-pagination__link {\n display: block;\n min-width: govuk-spacing(3);\n\n // Increase the touch area for the link to the parent element.\n @media screen {\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n // Add link hover decoration to prev/next text if no label present on\n // prev/next only mode, so that we have a hover state in all cases\n &:hover,\n &:active {\n .govuk-pagination__link-title--decorated {\n @include govuk-link-decoration;\n }\n\n .govuk-pagination__link-label,\n .govuk-pagination__link-title--decorated {\n @include govuk-link-hover-decoration;\n }\n }\n\n &:focus {\n .govuk-pagination__icon {\n color: govuk-functional-colour(focus-text);\n }\n\n .govuk-pagination__link-label {\n text-decoration: none;\n }\n\n .govuk-pagination__link-title--decorated {\n text-decoration: none;\n }\n }\n }\n\n .govuk-pagination__link-title {\n text-decoration-thickness: inherit;\n }\n\n .govuk-pagination__link-label {\n @include govuk-typography-weight-regular;\n @include govuk-link-decoration;\n display: inline-block;\n }\n\n .govuk-pagination__icon {\n // Set size using rems to make the icon scale with text\n width: govuk-px-to-rem(15px);\n height: govuk-px-to-rem(13px);\n color: govuk-functional-colour(secondary-text);\n fill: currentcolor;\n forced-color-adjust: auto;\n }\n\n .govuk-pagination__icon--prev {\n margin-right: govuk-spacing(3);\n }\n\n .govuk-pagination__icon--next {\n margin-left: govuk-spacing(3);\n }\n\n // Block mode - position previous and next links above and below numbers\n .govuk-pagination--block {\n display: block;\n\n .govuk-pagination__next,\n .govuk-pagination__prev {\n padding-left: 0;\n float: none;\n\n .govuk-pagination__link {\n display: inline-block;\n }\n }\n\n .govuk-pagination__next {\n padding-right: govuk-spacing(3);\n }\n\n // Only apply a border between prev and next if both are present\n .govuk-pagination__prev + .govuk-pagination__next {\n border-top: 1px solid;\n border-top-color: govuk-functional-colour(border);\n }\n\n // Set the after pseudo element to a block which makes the title visually\n // display as block level whilst programmatically being inline. We do this\n // to get around an NVDA quirk where adjacent block level elements are\n // always read out separately\n .govuk-pagination__link-title::after {\n content: \"\";\n display: block;\n }\n\n .govuk-pagination__link {\n padding-left: govuk-spacing(6);\n text-align: left;\n\n &:not(:focus) {\n text-decoration: none;\n }\n }\n\n .govuk-pagination__icon {\n // This magic number is brought to you by the following equation:\n // ((lineHeight − arrowHeight) ÷ 2) ÷ fontSize\n // ((25 − 13) ÷ 2) ÷ 19 = 0.326em\n //\n // This could have been done programmatically but we don't have functions\n // for grabbing the line-height of specific typography sizes just yet.\n margin-top: 0.326em;\n margin-left: govuk-spacing(6) * -1;\n float: left;\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/pagination/_pagination.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/pagination/_pagination.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,mDAAmD;;AAEnD,iBAAiB","file":"_pagination.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"pagination\");\n\n@import \"./index\";\n"]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import "../../base";
|
|
2
|
+
|
|
1
3
|
@include govuk-exports("govuk/component/panel") {
|
|
2
4
|
.govuk-panel {
|
|
3
5
|
@include govuk-font($size: 36);
|
|
@@ -38,7 +40,7 @@
|
|
|
38
40
|
|
|
39
41
|
@media print {
|
|
40
42
|
border-color: currentcolor;
|
|
41
|
-
color: govuk-functional-colour(
|
|
43
|
+
color: govuk-functional-colour(text);
|
|
42
44
|
background: none;
|
|
43
45
|
}
|
|
44
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/panel/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;;IAE9B,sBAAsB;;IAEtB,+BAA+B;IAC/B,+CAA+C;;IAE/C,6CAA6C;;IAE7C,kBAAkB;;IAElB;MACE,+CAA+C;;MAE/C,8DAA8D;MAC9D,uEAAuE;MACvE,wEAAwE;MACxE,uEAAuE;MACvE,WAAW;MACX,CAAC;MACD,wEAAwE;MACxE,kEAAkE;MAClE,sEAAsE;MACtE,yEAAyE;MACzE,sCAAsC;MACtC,yBAAyB;;MAEzB,iEAAiE;MACjE,qBAAqB;IACvB;EACF;;EAEA;IACE,4BAA4B;IAC5B,iCAAiC;;IAEjC;MACE,0BAA0B;MAC1B,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/panel/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE;IACE,8BAA8B;;IAE9B,sBAAsB;;IAEtB,+BAA+B;IAC/B,+CAA+C;;IAE/C,6CAA6C;;IAE7C,kBAAkB;;IAElB;MACE,+CAA+C;;MAE/C,8DAA8D;MAC9D,uEAAuE;MACvE,wEAAwE;MACxE,uEAAuE;MACvE,WAAW;MACX,CAAC;MACD,wEAAwE;MACxE,kEAAkE;MAClE,sEAAsE;MACtE,yEAAyE;MACzE,sCAAsC;MACtC,yBAAyB;;MAEzB,iEAAiE;MACjE,qBAAqB;IACvB;EACF;;EAEA;IACE,4BAA4B;IAC5B,iCAAiC;;IAEjC;MACE,0BAA0B;MAC1B,oCAAoC;MACpC,gBAAgB;IAClB;EACF;;EAEA;IACE,mCAAmC;IACnC,qCAAqC;IACrC,aAAa;IACb,+BAA+B;EACjC;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/panel\") {\n .govuk-panel {\n @include govuk-font($size: 36);\n\n box-sizing: border-box;\n\n margin-bottom: govuk-spacing(3);\n padding: govuk-spacing(7) - $govuk-border-width;\n\n border: $govuk-border-width solid transparent;\n\n text-align: center;\n\n @media #{govuk-until-breakpoint(tablet)} {\n padding: govuk-spacing(4) - $govuk-border-width;\n\n // This is an if-all-else-fails attempt to stop long words from\n // overflowing the container on very narrow viewports by forcing them to\n // break and wrap instead. This overflowing is more likely to happen when\n // user increases text size on a mobile eg. using iOS Safari text resize\n // controls.\n //\n // The overflowing is a particular problem with the panel component since\n // it uses white text: when the text overflows the container, it is\n // invisible on the white (page) background. When the text in our other\n // components overflow, the user might have to scroll horizontally to view\n // it but the the text remains legible.\n overflow-wrap: break-word;\n\n // Support IE (autoprefixer doesn't add this as it's not a prefix)\n word-wrap: break-word;\n }\n }\n\n .govuk-panel--confirmation {\n color: govuk-colour(\"white\");\n background: govuk-colour(\"green\");\n\n @media print {\n border-color: currentcolor;\n color: govuk-functional-colour(text);\n background: none;\n }\n }\n\n .govuk-panel__title {\n @include govuk-font-size($size: 48);\n @include govuk-typography-weight-bold;\n margin-top: 0;\n margin-bottom: govuk-spacing(6);\n }\n\n .govuk-panel__title:last-child {\n margin-bottom: 0;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/panel/_panel.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/panel/_panel.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,8CAA8C;;AAE9C,iBAAiB","file":"_panel.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"panel\");\n\n@import \"./index\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/password-input/_index.scss"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,wBAAwB;;AAExB;EACE;IACE,qEAAqE;IACrE,2EAA2E;IAC3E,cAAc;IACd,mDAAmD;;IAEnD;MACE,mBAAmB;;MAEnB,yEAAyE;MACzE,qEAAqE;MACrE,gBAAgB;MAChB,uBAAuB;IACzB;EACF;;EAEA;IACE,0EAA0E;IAC1E,0EAA0E;IAC1E,0EAA0E;IAC1E,0EAA0E;IAC1E,gEAAgE;IAChE;MACE,aAAa;IACf;EACF;;EAEA;IACE,sEAAsE;IACtE,4BAA4B;;IAE5B,0CAA0C;IAC1C,gBAAgB;;IAEhB,uDAAuD;IACvD;MACE,aAAa;IACf;;IAEA;MACE,uEAAuE;MACvE,WAAW;MACX,cAAc;MACd,eAAe;;MAEf,uCAAuC;MACvC,aAAa;MACb,6BAA6B;IAC/B;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../button/index\";\n@import \"../input/index\";\n\n@include govuk-exports(\"govuk/component/password-input\") {\n .govuk-password-input__wrapper {\n // This element inherits styles from .govuk-input__wrapper, including:\n // - being display: block with contents in a stacked column below the mobile\n // breakpoint\n // - being display: flex above the mobile breakpoint\n\n @media #{govuk-from-breakpoint(mobile)} {\n flex-direction: row;\n\n // The default of `stretch` makes the toggle button appear taller than the\n // input, due to using box-shadow, which we don't particularly want in\n // this situation\n align-items: flex-start;\n }\n }\n\n .govuk-password-input__input {\n // IE 11 and Microsoft Edge comes with its own password reveal function. We\n // want to hide it, so that there aren't two controls presented to the user\n // that do the same thing but aren't in sync with one another. This doesn't\n // affect the function that allows Edge users to toggle password visibility\n // by pressing Alt+F8, which cannot be programmatically disabled.\n &::-ms-reveal {\n display: none;\n }\n }\n\n .govuk-password-input__toggle {\n // Add top margin so the button doesn't obscure the input's focus style\n margin-top: govuk-spacing(1);\n\n // Remove default margin-bottom from button\n margin-bottom: 0;\n\n // Hide the button by default, JS removes this attribute\n &[hidden] {\n display: none;\n }\n\n @media #{govuk-from-breakpoint(mobile)} {\n // Buttons are normally 100% wide on mobile, but we don't want that here\n width: auto;\n flex-shrink: 0;\n flex-basis: 5em;\n\n // Move the spacing from top to the left\n margin-top: 0;\n margin-left: govuk-spacing(1);\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/password-input/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB,yBAAyB;AACzB,wBAAwB;;AAExB;EACE;IACE,qEAAqE;IACrE,2EAA2E;IAC3E,cAAc;IACd,mDAAmD;;IAEnD;MACE,mBAAmB;;MAEnB,yEAAyE;MACzE,qEAAqE;MACrE,gBAAgB;MAChB,uBAAuB;IACzB;EACF;;EAEA;IACE,0EAA0E;IAC1E,0EAA0E;IAC1E,0EAA0E;IAC1E,0EAA0E;IAC1E,gEAAgE;IAChE;MACE,aAAa;IACf;EACF;;EAEA;IACE,sEAAsE;IACtE,4BAA4B;;IAE5B,0CAA0C;IAC1C,gBAAgB;;IAEhB,uDAAuD;IACvD;MACE,aAAa;IACf;;IAEA;MACE,uEAAuE;MACvE,WAAW;MACX,cAAc;MACd,eAAe;;MAEf,uCAAuC;MACvC,aAAa;MACb,6BAA6B;IAC/B;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@import \"../button/index\";\n@import \"../input/index\";\n\n@include govuk-exports(\"govuk/component/password-input\") {\n .govuk-password-input__wrapper {\n // This element inherits styles from .govuk-input__wrapper, including:\n // - being display: block with contents in a stacked column below the mobile\n // breakpoint\n // - being display: flex above the mobile breakpoint\n\n @media #{govuk-from-breakpoint(mobile)} {\n flex-direction: row;\n\n // The default of `stretch` makes the toggle button appear taller than the\n // input, due to using box-shadow, which we don't particularly want in\n // this situation\n align-items: flex-start;\n }\n }\n\n .govuk-password-input__input {\n // IE 11 and Microsoft Edge comes with its own password reveal function. We\n // want to hide it, so that there aren't two controls presented to the user\n // that do the same thing but aren't in sync with one another. This doesn't\n // affect the function that allows Edge users to toggle password visibility\n // by pressing Alt+F8, which cannot be programmatically disabled.\n &::-ms-reveal {\n display: none;\n }\n }\n\n .govuk-password-input__toggle {\n // Add top margin so the button doesn't obscure the input's focus style\n margin-top: govuk-spacing(1);\n\n // Remove default margin-bottom from button\n margin-bottom: 0;\n\n // Hide the button by default, JS removes this attribute\n &[hidden] {\n display: none;\n }\n\n @media #{govuk-from-breakpoint(mobile)} {\n // Buttons are normally 100% wide on mobile, but we don't want that here\n width: auto;\n flex-shrink: 0;\n flex-basis: 5em;\n\n // Move the spacing from top to the left\n margin-top: 0;\n margin-left: govuk-spacing(1);\n }\n }\n}\n"]}
|
data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/password-input/_password-input.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/password-input/_password-input.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,uDAAuD;;AAEvD,iBAAiB","file":"_password-input.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"password-input\");\n\n@import \"./index\";\n"]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import "../../base";
|
|
2
|
+
|
|
1
3
|
@import "../tag/index";
|
|
2
4
|
|
|
3
5
|
@include govuk-exports("govuk/component/phase-banner") {
|
|
@@ -18,10 +20,10 @@
|
|
|
18
20
|
|
|
19
21
|
.govuk-phase-banner__content {
|
|
20
22
|
@include govuk-font($size: 16);
|
|
21
|
-
@include govuk-text-colour;
|
|
22
23
|
|
|
23
24
|
display: table;
|
|
24
25
|
margin: 0;
|
|
26
|
+
color: govuk-functional-colour(text);
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
.govuk-phase-banner__content__tag {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/phase-banner/_index.scss"],"names":[],"mappings":"AAAA,sBAAsB;;AAEtB;EACE;IACE,6BAA6B;IAC7B,gCAAgC;;IAEhC,wBAAwB;IACxB,oDAAoD;EACtD;;EAEA,2EAA2E;EAC3E,iEAAiE;EACjE;IACE,eAAe;IACf,cAAc;EAChB;;EAEA;IACE,8BAA8B
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/phase-banner/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB,sBAAsB;;AAEtB;EACE;IACE,6BAA6B;IAC7B,gCAAgC;;IAEhC,wBAAwB;IACxB,oDAAoD;EACtD;;EAEA,2EAA2E;EAC3E,iEAAiE;EACjE;IACE,eAAe;IACf,cAAc;EAChB;;EAEA;IACE,8BAA8B;;IAE9B,cAAc;IACd,SAAS;IACT,oCAAoC;EACtC;;EAEA;IACE,mCAAmC;IACnC,8BAA8B;;IAE9B;MACE,8BAA8B;IAChC;EACF;;EAEA;IACE,mBAAmB;IACnB,sBAAsB;EACxB;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@import \"../tag/index\";\n\n@include govuk-exports(\"govuk/component/phase-banner\") {\n .govuk-phase-banner {\n padding-top: govuk-spacing(2);\n padding-bottom: govuk-spacing(2);\n\n border-bottom: 1px solid;\n border-bottom-color: govuk-functional-colour(border);\n }\n\n // If the phase banner is already contained within a .govuk-width-container,\n // don't double up the left and right margins on narrow viewports.\n .govuk-width-container .govuk-phase-banner.govuk-width-container {\n margin-right: 0;\n margin-left: 0;\n }\n\n .govuk-phase-banner__content {\n @include govuk-font($size: 16);\n\n display: table;\n margin: 0;\n color: govuk-functional-colour(text);\n }\n\n .govuk-phase-banner__content__tag {\n @include govuk-font-size($size: 16);\n margin-right: govuk-spacing(3);\n\n @media #{govuk-from-breakpoint(tablet)} {\n margin-right: govuk-spacing(2);\n }\n }\n\n .govuk-phase-banner__text {\n display: table-cell;\n vertical-align: middle;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/phase-banner/_phase-banner.scss"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/phase-banner/_phase-banner.scss"],"names":[],"mappings":"AAAA,iCAAiC;;AAEjC,qDAAqD;;AAErD,iBAAiB","file":"_phase-banner.scss","sourcesContent":["@import \"../../settings/warnings\";\n\n@include _component-scss-file-warning(\"phase-banner\");\n\n@import \"./index\";\n"]}
|