govuk_publishing_components 37.3.1 → 37.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/govuk_publishing_components/favicon-development.png +0 -0
- data/app/assets/images/govuk_publishing_components/favicon-example.png +0 -0
- data/app/assets/images/govuk_publishing_components/favicon-integration.png +0 -0
- data/app/assets/images/govuk_publishing_components/favicon-production.png +0 -0
- data/app/assets/images/govuk_publishing_components/favicon-staging.png +0 -0
- data/app/assets/images/govuk_publishing_components/govuk-logo.png +0 -0
- data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-16x9.png +0 -0
- data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-1x1.png +0 -0
- data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-4x3.png +0 -0
- data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +26 -22
- data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +8 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +0 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +15 -7
- data/app/views/govuk_publishing_components/components/_document_list.html.erb +15 -8
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +4 -4
- data/app/views/govuk_publishing_components/components/_metadata.html.erb +0 -1
- data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +5 -4
- data/app/views/govuk_publishing_components/components/_notice.html.erb +23 -3
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/cross_service_header/_one_login_header.html.erb +3 -2
- data/app/views/govuk_publishing_components/components/docs/document_list.yml +24 -1
- data/app/views/govuk_publishing_components/components/docs/notice.yml +10 -0
- data/app/views/govuk_publishing_components/components/docs/share_links.yml +4 -4
- data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +5 -3
- data/lib/govuk_publishing_components/presenters/breadcrumb_selector.rb +1 -1
- data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +4 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/govuk/_base.scss +2 -0
- data/node_modules/govuk-frontend/govuk/_base.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/all-ie8.scss +2 -0
- data/node_modules/govuk-frontend/govuk/all-ie8.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/all.js +1 -1
- data/node_modules/govuk-frontend/govuk/all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/assets/images/favicon.ico +0 -0
- data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-152x152.png +0 -0
- data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-167x167.png +0 -0
- data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-180x180.png +0 -0
- data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon.png +0 -0
- data/node_modules/govuk-frontend/govuk/assets/images/govuk-logotype-tudor-crown.png +0 -0
- data/node_modules/govuk-frontend/govuk/assets/images/govuk-mask-icon.svg +1 -7
- data/node_modules/govuk-frontend/govuk/assets/images/govuk-opengraph-image.png +0 -0
- data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +1 -1
- data/node_modules/govuk-frontend/govuk/components/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +8 -10
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +4 -4
- data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +4 -4
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/button/_button.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/button/_button.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/button/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/button/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +8 -2
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +4 -4
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +4 -3
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/details/_details.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/details/_details.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/details/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/details/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/header/_header.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/header/_header.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/header/_index.scss +18 -0
- data/node_modules/govuk-frontend/govuk/components/header/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +29 -21
- data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +6 -0
- data/node_modules/govuk-frontend/govuk/components/header/template.njk +56 -31
- data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/hint/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/input/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/input/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/input/_input.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/input/_input.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/label/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/label/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/label/_label.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/label/_label.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/panel/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/radios/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/select/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/select/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/select/_select.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/select/_select.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +36 -9
- data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/table/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/table/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/table/_table.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/table/_table.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/tag/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/core/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/core/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/core/_global-styles.scss +2 -0
- data/node_modules/govuk-frontend/govuk/core/_global-styles.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +3 -1
- data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/core/_links.scss +2 -0
- data/node_modules/govuk-frontend/govuk/core/_links.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/core/_lists.scss +2 -0
- data/node_modules/govuk-frontend/govuk/core/_lists.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/core/_section-break.scss +2 -0
- data/node_modules/govuk-frontend/govuk/core/_section-break.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/core/_typography.scss +2 -0
- data/node_modules/govuk-frontend/govuk/core/_typography.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_colour.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_focused.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_grid.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_grid.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_links.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_links.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_typography.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss +2 -0
- data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/objects/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_button-group.scss +2 -0
- data/node_modules/govuk-frontend/govuk/objects/_button-group.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_form-group.scss +2 -0
- data/node_modules/govuk-frontend/govuk/objects/_form-group.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_grid.scss +2 -0
- data/node_modules/govuk-frontend/govuk/objects/_grid.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss +2 -0
- data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_template.scss +2 -0
- data/node_modules/govuk-frontend/govuk/objects/_template.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +2 -0
- data/node_modules/govuk-frontend/govuk/objects/_width-container.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/overrides/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/overrides/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/overrides/_display.scss +2 -0
- data/node_modules/govuk-frontend/govuk/overrides/_display.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss +2 -0
- data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss +2 -0
- data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/overrides/_typography.scss +2 -0
- data/node_modules/govuk-frontend/govuk/overrides/_typography.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/overrides/_width.scss +2 -0
- data/node_modules/govuk-frontend/govuk/overrides/_width.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_assets.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_assets.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_global-styles.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_global-styles.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_ie8.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_links.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_links.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_measurements.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_media-queries.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_media-queries.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_spacing.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_spacing.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_warnings.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_warnings.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/tools/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/tools/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss +2 -0
- data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/tools/_exports.scss +2 -0
- data/node_modules/govuk-frontend/govuk/tools/_exports.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/tools/_font-url.scss +2 -0
- data/node_modules/govuk-frontend/govuk/tools/_font-url.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +2 -0
- data/node_modules/govuk-frontend/govuk/tools/_ie8.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/tools/_image-url.scss +2 -0
- data/node_modules/govuk-frontend/govuk/tools/_image-url.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss +2 -0
- data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss +2 -0
- data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/utilities/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/utilities/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/utilities/_clearfix.scss +2 -0
- data/node_modules/govuk-frontend/govuk/utilities/_clearfix.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss +2 -0
- data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss +2 -0
- data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs +1 -1
- data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss +2 -0
- data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss.map +1 -0
- data/node_modules/govuk-frontend/package.json +1 -1
- metadata +135 -2
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../src/govuk/all.scss"],"names":[],"mappings":"AAAA,cAAc;;AAEd,kBAAkB;AAClB,qBAAqB;;AAErB,wBAAwB;;AAExB,uBAAuB;AACvB,uBAAuB","file":"all.scss","sourcesContent":["@import \"base\";\n\n@import \"core/all\";\n@import \"objects/all\";\n\n@import \"components/all\";\n\n@import \"utilities/all\";\n@import \"overrides/all\";\n"]}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,7 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
3
|
-
<g fill="#000000">
|
4
|
-
<path d="M25 30.2C28.5 31.7 32.7 30 34.1 26.5 35.6 22.9 33.9 18.7 30.2 17.3 26.6 15.9 22.6 17.6 21.1 21.2 19.7 24.7 21.4 28.7 25 30.2L25 30.2ZM9 39.5C12.6 41 16.8 39.3 18.2 35.8 19.7 32.2 18 28 14.3 26.7 10.7 25.2 6.7 26.9 5.2 30.5 3.8 34 5.5 38 9 39.5L9 39.5ZM4.4 57.2C7.9 58.7 12.1 57 13.5 53.4 15 49.8 13.3 45.7 9.6 44.3 6.1 42.8 2 44.6 0.5 48.1 -0.9 51.6 0.8 55.7 4.4 57.2L4.4 57.2ZM42.7 35.8C46.2 37.3 50.4 35.6 51.8 32 53.3 28.4 51.6 24.3 47.9 22.9 44.3 21.4 40.3 23.2 38.8 26.7 37.5 30.3 39.2 34.4 42.7 35.8L42.7 35.8ZM107.1 30.2C103.5 31.7 99.3 30 98 26.5 96.5 22.9 98.2 18.7 101.8 17.3 105.4 15.9 109.5 17.6 111 21.2 112.3 24.7 110.6 28.7 107.1 30.2L107.1 30.2ZM123 39.5C119.4 41 115.3 39.3 113.9 35.8 112.4 32.2 114.1 28 117.6 26.7 121.2 25.2 125.3 26.9 126.8 30.5 128.3 34 126.5 38 123 39.5L123 39.5ZM127.7 57.2C124.1 58.7 119.9 57 118.5 53.4 117 49.8 118.7 45.7 122.4 44.3 126 42.8 130.1 44.6 131.6 48.1 132.9 51.6 131.2 55.7 127.7 57.2L127.7 57.2ZM89.3 35.8C85.7 37.3 81.5 35.6 80.1 32 78.7 28.4 80.3 24.3 84 22.9 87.6 21.4 91.7 23.2 93.2 26.7 94.6 30.3 92.9 34.4 89.3 35.8L89.3 35.8ZM69.7 17.7L69.7 17.7 78.6 22.4 78.6 9.3 69.7 12.1 69.7 12.1C69.5 11.8 69.2 11.5 68.8 11.2L68.8 11.2 72.4 0 66 0 59.6 0 63.1 11.2 63.1 11.2C62.8 11.5 62.5 11.7 62.2 12.1L62.2 12.1 53.4 9.3 53.4 22.4 62.2 17.7 62.2 17.7C62.5 18 62.8 18.4 63.1 18.6L58.1 34C58.1 34 58.1 34 58.1 34.1L58.1 34.1 58.1 34.1C57.9 34.9 57.7 35.7 57.7 36.5 57.7 40.6 60.8 44 64.7 44.6L64.9 44.6C65.2 44.6 65.6 44.7 65.9 44.7 66.3 44.7 66.6 44.7 66.9 44.6L67.1 44.6C71.1 44 74.2 40.5 74.2 36.5 74.2 35.7 74.1 34.8 73.8 34.1L73.8 34.1 73.8 34.1C73.8 34.1 73.8 34.1 73.8 34L68.7 18.6C69.1 18.4 69.4 18 69.7 17.7L69.7 17.7ZM66 92.8C82.9 92.8 98.8 93.9 113.1 96 117.1 79.1 122 69.3 127.1 62.5L117.5 59.1C118.5 64 118.6 66.3 117.5 69.3 116 67.9 114.5 65 113.3 60.6L108.6 76C111.4 74 113.6 72.8 116.1 72.7 111.7 82.1 106.1 84.6 102.5 83.9 98.2 83.1 96.2 79.3 96.9 76 97.9 71.3 102.6 70.1 104.9 75.5 109.2 66.8 101.9 64.1 97.3 66.7 104.4 59.5 105.2 53.2 99.4 45.6 91.4 51.7 91.3 57.9 94.9 66.4 90.2 61 82.8 63.9 85.4 72.6 88.8 67.4 93.3 70.6 92.6 75.7 92 80 86.2 83.5 79.1 82.9 68.8 82 68.2 74.9 67.9 69.1 70.4 68.6 75 70.9 78.9 76.4L80.2 60C76.1 64.4 72.2 65.3 67.9 65.4 69.3 61 75.9 53.8 75.9 53.8L66.4 53.8 66.4 53.8 66.4 53.8 55.5 53.8C55.5 53.8 61.9 61 63.4 65.4 59.2 65.3 55.4 64.4 51.1 60L52.5 76.4C56.4 70.9 61 68.7 63.4 69.1 63.1 74.9 62.5 81.9 52.3 82.9 45.1 83.5 39.4 80 38.8 75.7 38.1 70.7 42.6 67.4 45.9 72.6 48.6 63.9 41.3 61 36.5 66.4 40.2 57.9 40.1 51.7 31.9 45.6 26.1 53.2 26.9 59.5 34.1 66.7 29.4 64.1 22.2 66.8 26.4 75.5 28.7 70 33.5 71.3 34.5 76 35.2 79.3 33.2 83.1 28.8 83.9 25.3 84.6 19.8 82.1 15.3 72.7 17.8 72.8 20 74 22.8 76L18.1 60.6C16.9 65 15.4 67.8 13.8 69.3 12.7 66.3 12.9 64 13.8 59.1L4.3 62.5C9.3 69.4 14.2 79.2 18.3 96 33.1 93.9 49.1 92.8 66 92.8L66 92.8Z"/>
|
5
|
-
</g>
|
6
|
-
</g>
|
7
|
-
</svg>
|
1
|
+
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m0 0v512h512v-512zm415.76 238.55c11.12-4.56 24.05.88 28.67 12.11 4.63 11.17-.72 24.05-11.85 28.61-11.34 4.68-24.21-.67-28.83-11.88-4.65-11.18.67-24.18 12.01-28.84zm-39.05-58.11c11.12-4.56 24.05.89 28.68 12.12 4.62 11.17-.73 24.04-11.85 28.6-11.34 4.68-24.21-.67-28.83-11.88-4.65-11.18.67-24.18 12-28.84zm-58.98-35.19c11.12-4.57 24.05.88 28.67 12.11 4.62 11.17-.72 24.04-11.85 28.6-11.34 4.68-24.21-.67-28.84-11.88-4.64-11.18.67-24.18 12.01-28.83zm-101.34-55.92 27.83 8.81.09-.08c.77-1.03 1.68-1.94 2.7-2.73l.08-.08-11.2-35.25h20.12s20.12 0 20.12 0l-11.2 35.25.08.08c1.02.79 1.93 1.7 2.7 2.73l.08.08 27.84-8.81v41.08l-27.87-14.63-.06.06c-.83 1.08-1.8 2.04-2.88 2.86l16 48.28c.02.06.05.12.06.18l.02.05c.74 2.42 1.14 4.98 1.14 7.63 0 13.06-9.65 23.85-22.19 25.7-.18.03-.37.06-.55.08-1.07.14-2.16.23-3.26.23-1.11 0-2.19-.09-3.26-.23-.19-.02-.38-.06-.56-.08-12.55-1.85-22.19-12.63-22.19-25.7 0-2.65.4-5.21 1.15-7.62s.01-.06.01-.06c.02-.06.04-.12.06-.18l16.01-48.28c-1.09-.81-2.06-1.77-2.88-2.86l-.06-.06-27.87 14.63v-41.08zm48.11 174.62c-11.34 4.68-24.21-.67-28.84-11.88-4.64-11.18.67-24.18 12.01-28.83 11.12-4.57 24.05.88 28.67 12.11 4.62 11.17-.72 24.04-11.85 28.6zm-99.28-106.59c4.62-11.23 17.55-16.68 28.67-12.11 11.34 4.65 16.65 17.65 12.01 28.83-4.62 11.21-17.49 16.56-28.84 11.88-11.12-4.56-16.47-17.44-11.85-28.6zm-58.99 35.2c4.63-11.22 17.55-16.68 28.68-12.12 11.34 4.65 16.65 17.65 12 28.84-4.62 11.21-17.49 16.56-28.83 11.88-11.12-4.56-16.48-17.44-11.85-28.6zm-39.04 58.11c4.62-11.23 17.55-16.68 28.67-12.11 11.34 4.65 16.66 17.65 12.01 28.84-4.62 11.21-17.49 16.56-28.83 11.88-11.13-4.55-16.47-17.43-11.85-28.61zm335.98 169.34c-44.5-6.37-94.44-9.94-147.21-9.94s-102.66 3.57-147.14 9.93c-12.63-53.1-28-83.53-43.87-105.19l29.89-10.64c-2.97 15.18-3.45 22.24-.12 32 4.93-4.82 9.6-13.68 13.25-27.23l14.49 48.23c-8.82-6.07-15.61-9.99-23.39-10.17 13.79 29.7 31.01 37.34 42.17 35.28 13.62-2.5 19.89-14.65 17.78-24.95-3.13-14.6-18.12-18.41-25.12-1.42-13.39-27.31 9.32-35.81 23.93-27.73-22.44-22.39-25.01-42.29-6.89-66.38 25.24 19.3 25.54 38.41 14.18 65.3 14.74-16.87 37.68-7.81 29.4 19.45-10.64-16.46-24.71-6.1-22.5 9.53 1.87 13.62 19.85 24.62 42.25 22.68 32.1-2.91 34.01-25.06 34.81-43.39-7.89-1.46-22.1 5.86-34.22 22.87l-4.46-51.16c13.18 13.74 25.16 16.35 38.46 16.77-4.43-13.82-24.78-36.46-24.78-36.46h63.85s-20.35 22.64-24.78 36.46c13.3-.42 25.28-3.03 38.46-16.77l-4.46 51.16c-12.11-17.01-26.32-24.33-34.21-22.87.8 18.34 2.71 40.48 34.81 43.39 22.39 1.95 40.38-9.05 42.25-22.68 2.21-15.63-11.86-25.99-22.49-9.53-8.29-27.26 14.65-36.32 29.39-19.45-11.36-26.89-11.07-46 14.18-65.3 18.12 24.08 15.55 43.99-6.9 66.38 14.62-8.08 37.32.43 23.94 27.73-7-16.99-21.98-13.18-25.12 1.42-2.11 10.3 4.15 22.46 17.77 24.95 11.16 2.06 28.38-5.58 42.17-35.28-7.77.18-14.57 4.11-23.38 10.17l14.48-48.23c3.65 13.55 8.32 22.41 13.25 27.23 3.33-9.76 2.85-16.82-.12-32l29.89 10.64c-15.88 21.66-31.25 52.09-43.88 105.2z" fill="#0b0c0c"/></svg>
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/components/_all.scss"],"names":[],"mappings":"AAAA,iBAAiB;;AAEjB,yBAAyB;AACzB,yBAAyB;AACzB,2BAA2B;AAC3B,sBAAsB;AACtB,0BAA0B;AAC1B,+BAA+B;AAC/B,6BAA6B;AAC7B,0BAA0B;AAC1B,uBAAuB;AACvB,6BAA6B;AAC7B,6BAA6B;AAC7B,8BAA8B;AAC9B,wBAAwB;AACxB,2BAA2B;AAC3B,sBAAsB;AACtB,sBAAsB;AACtB,oBAAoB;AACpB,qBAAqB;AACrB,0BAA0B;AAC1B,qBAAqB;AACrB,mCAAmC;AACnC,0BAA0B;AAC1B,qBAAqB;AACrB,4BAA4B;AAC5B,oBAAoB;AACpB,mBAAmB;AACnB,sBAAsB;AACtB,sBAAsB;AACtB,yBAAyB;AACzB,4BAA4B;AAC5B,qBAAqB;AACrB,wBAAwB;AACxB,4BAA4B","file":"_all.scss","sourcesContent":["@import \"../base\";\n\n@import \"accordion/index\";\n@import \"back-link/index\";\n@import \"breadcrumbs/index\";\n@import \"button/index\";\n@import \"checkboxes/index\";\n@import \"character-count/index\";\n@import \"cookie-banner/index\";\n@import \"date-input/index\";\n@import \"details/index\";\n@import \"error-message/index\";\n@import \"error-summary/index\";\n@import \"exit-this-page/index\";\n@import \"fieldset/index\";\n@import \"file-upload/index\";\n@import \"footer/index\";\n@import \"header/index\";\n@import \"hint/index\";\n@import \"input/index\";\n@import \"inset-text/index\";\n@import \"label/index\";\n@import \"notification-banner/index\";\n@import \"pagination/index\";\n@import \"panel/index\";\n@import \"phase-banner/index\";\n@import \"tabs/index\";\n@import \"tag/index\";\n@import \"radios/index\";\n@import \"select/index\";\n@import \"skip-link/index\";\n@import \"summary-list/index\";\n@import \"table/index\";\n@import \"textarea/index\";\n@import \"warning-text/index\";\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/accordion/_accordion.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_accordion.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -174,11 +174,9 @@
|
|
174
174
|
width: govuk-px-to-rem(6px);
|
175
175
|
height: govuk-px-to-rem(6px);
|
176
176
|
|
177
|
-
-
|
177
|
+
-ms-transform: rotate(-45deg);
|
178
178
|
|
179
|
-
|
180
|
-
|
181
|
-
transform: rotate(-45deg);
|
179
|
+
transform: rotate(-45deg);
|
182
180
|
|
183
181
|
border-top: govuk-px-to-rem(2px) solid;
|
184
182
|
border-right: govuk-px-to-rem(2px) solid;
|
@@ -194,17 +192,15 @@
|
|
194
192
|
|
195
193
|
// Rotate icon to create "Down" version
|
196
194
|
.govuk-accordion-nav__chevron--down {
|
197
|
-
-
|
198
|
-
|
199
|
-
transform: rotate(180deg);
|
195
|
+
-ms-transform: rotate(180deg);
|
196
|
+
transform: rotate(180deg);
|
200
197
|
|
201
198
|
// IE8 fallback of arrow icon
|
202
199
|
@include _govuk-if-ie8 {
|
203
200
|
&:after {
|
204
201
|
content: "\25BC"; // "▼"
|
205
|
-
-
|
206
|
-
|
207
|
-
transform: none;
|
202
|
+
-ms-transform: none;
|
203
|
+
transform: none;
|
208
204
|
}
|
209
205
|
}
|
210
206
|
}
|
@@ -390,3 +386,5 @@
|
|
390
386
|
}
|
391
387
|
}
|
392
388
|
}
|
389
|
+
|
390
|
+
/*# sourceMappingURL=_index.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/accordion/_index.scss"],"names":[],"mappings":"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","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/accordion\") {\n $govuk-accordion-base-colour: govuk-colour(\"black\");\n $govuk-accordion-hover-colour: govuk-colour(\"light-grey\", $legacy: \"grey-3\");\n $govuk-accordion-icon-focus-colour: $govuk-focus-colour;\n $govuk-accordion-bottom-border-width: 1px;\n\n .govuk-accordion {\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-accordion__section {\n padding-top: govuk-spacing(3);\n }\n\n .govuk-accordion__section-heading {\n // Override browser defaults to ensure consistent element height\n margin-top: 0;\n margin-bottom: 0;\n\n padding-top: govuk-spacing(3);\n padding-bottom: govuk-spacing(3);\n }\n\n .govuk-accordion__section-button {\n @include govuk-font($size: 24, $weight: bold);\n @include govuk-text-colour;\n\n display: block;\n margin-bottom: 0;\n padding-top: govuk-spacing(3);\n }\n\n // Remove the bottom margin from the last item inside the content\n .govuk-accordion__section-content > :last-child {\n margin-bottom: 0;\n }\n\n // JavaScript enabled\n .js-enabled {\n .govuk-accordion {\n // Border at the bottom of the whole accordion\n border-bottom: $govuk-accordion-bottom-border-width solid $govuk-border-colour;\n }\n\n .govuk-accordion__section {\n padding-top: 0;\n }\n\n // Hide the body of collapsed sections by default for browsers that lack\n // support for `content-visibility` paired with [hidden=until-found]\n .govuk-accordion__section-content {\n display: none;\n\n @include govuk-responsive-padding(3, \"top\");\n @include govuk-responsive-padding(8, \"bottom\");\n }\n\n // Hide the body of collapsed sections using `content-visibility` to enable\n // page search within [hidden=until-found] regions where browser supported\n .govuk-accordion__section-content[hidden] {\n @supports (content-visibility: hidden) {\n content-visibility: hidden;\n display: inherit;\n }\n\n // Hide the padding of collapsed sections\n padding-top: 0;\n padding-bottom: 0;\n }\n\n // Show the body of expanded sections\n .govuk-accordion__section--expanded .govuk-accordion__section-content {\n display: block;\n }\n\n .govuk-accordion__show-all {\n @include govuk-font($size: 19);\n position: relative;\n z-index: 1;\n\n margin-bottom: 9px;\n padding: govuk-spacing(1) 2px govuk-spacing(1) 0;\n\n border-width: 0;\n\n color: $govuk-link-colour;\n background: none;\n\n cursor: pointer;\n -webkit-appearance: none;\n\n @include govuk-media-query ($from: tablet) {\n margin-bottom: 14px;\n }\n\n // Remove default button focus outline in Firefox\n &::-moz-focus-inner {\n padding: 0;\n border: 0;\n }\n\n &:hover {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-hover-colour;\n // The GOV.UK Design System focus state adds a box-shadow to the top and bottom of the\n // button. We add a grey box-shadow on hover too, to make the height of the hover state\n // match the height of the focus state.\n box-shadow: 0 -2px $govuk-accordion-hover-colour, 0 4px $govuk-accordion-hover-colour;\n\n .govuk-accordion__section-toggle-text {\n color: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron:after {\n color: $govuk-accordion-hover-colour;\n }\n }\n\n &:focus {\n @include govuk-focused-text;\n\n .govuk-accordion-nav__chevron {\n background: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron:after {\n color: $govuk-accordion-icon-focus-colour;\n }\n }\n }\n\n .govuk-accordion__section-heading {\n padding: 0;\n }\n\n // Create Chevron icon aligned with text\n .govuk-accordion-nav__chevron {\n box-sizing: border-box;\n display: inline-block;\n\n position: relative;\n\n // Set size using rems to make the icon scale with text if user resizes text in their browser\n width: govuk-px-to-rem(20px);\n height: govuk-px-to-rem(20px);\n\n border: govuk-px-to-rem(1px) solid;\n border-radius: 50%;\n\n vertical-align: middle;\n\n // IE8 fallback of icon\n @include _govuk-if-ie8 {\n display: inline-block;\n max-height: 20px;\n line-height: 1;\n }\n\n // Create inner chevron arrow\n &:after {\n content: \"\";\n box-sizing: border-box;\n display: block;\n\n position: absolute;\n bottom: govuk-px-to-rem(5px);\n left: govuk-px-to-rem(6px);\n\n width: govuk-px-to-rem(6px);\n height: govuk-px-to-rem(6px);\n\n transform: rotate(-45deg);\n\n border-top: govuk-px-to-rem(2px) solid;\n border-right: govuk-px-to-rem(2px) solid;\n\n // IE8 fallback of icon with HTML symbol\n @include _govuk-if-ie8 {\n content: \"\\25B2\"; // \"▲\"\n position: relative;\n border: 0;\n }\n }\n }\n\n // Rotate icon to create \"Down\" version\n .govuk-accordion-nav__chevron--down {\n transform: rotate(180deg);\n\n // IE8 fallback of arrow icon\n @include _govuk-if-ie8 {\n &:after {\n content: \"\\25BC\"; // \"▼\"\n transform: none;\n }\n }\n }\n\n .govuk-accordion__section-button {\n width: 100%;\n\n padding: govuk-spacing(2) 0 0 0;\n\n border: 0;\n\n border-top: $govuk-accordion-bottom-border-width solid $govuk-border-colour;\n\n // Visually separate the section from the one underneath when user changes colours in their\n // browser. See https://github.com/alphagov/govuk-frontend/issues/2321#issuecomment-924201488\n border-bottom: govuk-spacing(2) solid transparent;\n\n color: $govuk-text-colour;\n background: none;\n\n text-align: left;\n // Section headers have a pointer cursor as an additional affordance\n cursor: pointer;\n -webkit-appearance: none;\n\n @include govuk-media-query ($from: tablet) {\n padding-bottom: govuk-spacing(2);\n }\n\n &:active {\n color: $govuk-link-active-colour;\n background: none;\n }\n\n &:hover {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-hover-colour;\n\n .govuk-accordion__section-toggle-text {\n color: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron:after {\n color: $govuk-accordion-hover-colour;\n }\n }\n\n &:focus {\n // Remove default focus border around button as\n // styling is being applied to inner text elements that receive focus\n outline: 0;\n\n .govuk-accordion__section-heading-text-focus,\n .govuk-accordion__section-summary-focus,\n .govuk-accordion__section-toggle-focus {\n @include govuk-focused-text;\n }\n\n .govuk-accordion-nav__chevron {\n color: $govuk-accordion-base-colour;\n background: $govuk-accordion-base-colour;\n }\n\n .govuk-accordion-nav__chevron:after {\n color: $govuk-accordion-icon-focus-colour;\n }\n }\n\n // Remove default button focus outline in Firefox\n &::-moz-focus-inner {\n padding: 0;\n border: 0;\n }\n }\n\n // Remove the transparent border when the section is expanded to make it clear that the heading\n // relates to the content below. Adjust padding to maintain the height of the element.\n // See https://github.com/alphagov/govuk-frontend/pull/2257#issuecomment-951920798\n .govuk-accordion__section--expanded .govuk-accordion__section-button {\n padding-bottom: govuk-spacing(3);\n border-bottom: 0;\n\n @include govuk-media-query ($from: tablet) {\n padding-bottom: govuk-spacing(4);\n }\n }\n\n // As Chevron icon is vertically aligned it overlaps with the focus state bottom border\n // Styling adds some spacing\n .govuk-accordion__section-button:focus .govuk-accordion__section-toggle-focus {\n padding-bottom: 3px;\n\n @include govuk-media-query ($from: desktop) {\n padding-bottom: 2px;\n }\n }\n\n .govuk-accordion__section-toggle,\n .govuk-accordion__section-heading-text,\n .govuk-accordion__section-summary {\n display: block;\n margin-bottom: 13px;\n\n .govuk-accordion__section-heading-text-focus,\n .govuk-accordion__section-summary-focus,\n .govuk-accordion__section-toggle-focus {\n display: inline;\n }\n }\n\n // Add toggle link with Chevron icon on left.\n .govuk-accordion__section-toggle {\n @include govuk-typography-responsive($size: 19);\n @include govuk-typography-weight-regular;\n color: $govuk-link-colour;\n }\n\n // Add space between the icon and text.\n // Avoid applying spacing directly to the icon as the use of `transform` will change the\n // placement of any margins.\n .govuk-accordion__show-all-text,\n .govuk-accordion__section-toggle-text {\n margin-left: govuk-spacing(1);\n vertical-align: middle;\n }\n\n // Background colour adjustment when user changes colours in Firefox\n //\n // When user changes colours in Firefox, text colour inside <button> is always black\n // (regardless of the custom colours the user has set). This is fine when the text in the\n // button is not nested inside another element because when user changes colours in Firefox,\n // the immediate background colour of buttons is always white (again, regardless of user's\n // custom colours).\n //\n // However, when the text inside <button> is wrapped inside another element AND that element\n // sets a background colour, the text colour is still black but the background of that nested\n // element gets the user's custom background colour. When the custom background is a lighter\n // hue, the contrast might be sufficient. But if the user's custom background colour is a\n // darker colour, the contrast with the text might not be sufficient.\n //\n // To ensure sufficient contrast, override the background colour set by the focus state on the\n // nested elements to be transparent.\n //\n // Also override the background colour of the Show/Hide chevrons which set a background colour\n // on hover.\n @media screen and (forced-colors: active) {\n .govuk-accordion__show-all:hover,\n .govuk-accordion__section-button:hover {\n .govuk-accordion-nav__chevron {\n background-color: transparent;\n }\n }\n\n .govuk-accordion__show-all:focus,\n .govuk-accordion__section-button:focus {\n .govuk-accordion__section-heading-text-focus,\n .govuk-accordion__section-summary-focus,\n .govuk-accordion__section-toggle-focus,\n .govuk-accordion-nav__chevron {\n background: transparent;\n background-color: transparent;\n }\n }\n }\n\n // For devices that can't hover such as touch devices,\n // remove hover state as it can be stuck in that state (iOS).\n @media (hover: none) {\n .govuk-accordion__section-header:hover {\n border-top-color: $govuk-border-colour;\n\n box-shadow: inset 0 3px 0 0 $govuk-link-colour;\n\n .govuk-accordion__section-button {\n border-top-color: $govuk-border-colour;\n }\n }\n }\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/back-link/_back-link.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_back-link.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -53,11 +53,9 @@
|
|
53
53
|
|
54
54
|
margin: auto 0;
|
55
55
|
|
56
|
-
-
|
56
|
+
-ms-transform: rotate(225deg);
|
57
57
|
|
58
|
-
|
59
|
-
|
60
|
-
transform: rotate(225deg);
|
58
|
+
transform: rotate(225deg);
|
61
59
|
|
62
60
|
border: solid;
|
63
61
|
border-width: $chevron-border-min-width $chevron-border-min-width 0 0;
|
@@ -105,3 +103,5 @@
|
|
105
103
|
}
|
106
104
|
}
|
107
105
|
}
|
106
|
+
|
107
|
+
/*# sourceMappingURL=_index.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/back-link/_index.scss"],"names":[],"mappings":"AAAA;EACE,6DAA6D;EAC7D,cAAc;;EAEd,oCAAoC;EACpC,wCAAwC;;EAExC,wBAAwB;EACxB,8BAA8B;EAC9B,sEAAsE;;EAEtE,mBAAmB;EACnB,oDAAoD;;EAEpD;IACE,uDAAuD;IACvD,0BAA0B;IAC1B,8BAA8B;;IAE9B,qBAAqB;IACrB,kBAAkB;;IAElB,4BAA4B;IAC5B,+BAA+B;;IAE/B,2BAA2B;IAC3B,wCAAwC;EAC1C;;EAEA,+BAA+B;EAC/B;IACE,WAAW;IACX,cAAc;;IAEd,0CAA0C;IAC1C,kBAAkB;;IAElB;MACE,4CAA4C;MAC5C,6DAA6D;MAC7D,kCAAkC;MAClC,iBAAiB;MACjB,eAAe;IACjB,EAAE;MACA,MAAM;MACN,SAAS;IACX;;IAEA,+BAA+B;;IAE/B,oBAAoB;IACpB,qBAAqB;;IAErB,cAAc;;IAEd,6BAAyB;;QAAzB,yBAAyB;;IAEzB,aAAa;IACb,qEAAqE;IACrE,oCAAoC;;IAEpC;MACE,oJAAoJ;;MAEpJ,sDAAsD;MACtD,mDAAmD;IACrD;;IAEA,uCAAuC;IACvC;MACE,gBAAgB,EAAE,oBAAoB;MACtC,WAAW;MACX,YAAY;MACZ,SAAS;MACT,6BAA6B;;MAE7B,uEAAuE;MACvE,sEAAsE;MACtE,8BAA8B;IAChC;EACF;;EAEA;IACE,sCAAsC;EACxC;;EAEA;IACE,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,QAAQ;IACR,aAAa;IACb,OAAO;EACT;;EAEA;IACE,iCAAiC;;IAEjC;MACE,0BAA0B;IAC5B;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/back-link\") {\n // Component font-size on the Frontend (used for calculations)\n $font-size: 16;\n\n // Size of chevron (excluding border)\n $chevron-size: govuk-em(7px, $font-size);\n\n // Size of chevron border\n $chevron-border-min-width: 1px;\n $chevron-border-width: govuk-em($chevron-border-min-width, $font-size);\n\n // Colour of chevron\n $chevron-border-colour: $govuk-secondary-text-colour;\n\n .govuk-back-link {\n @include govuk-typography-responsive($size: $font-size);\n @include govuk-link-common;\n @include govuk-link-style-text;\n\n display: inline-block;\n position: relative;\n\n margin-top: govuk-spacing(3);\n margin-bottom: govuk-spacing(3);\n\n // Allow space for the arrow\n padding-left: govuk-em(14px, $font-size);\n }\n\n // Prepend left pointing chevron\n .govuk-back-link:before {\n content: \"\";\n display: block;\n\n // Vertically align with the parent element\n position: absolute;\n\n @if $govuk-use-legacy-font {\n // Begin adjustments for font baseline offset\n // These should be removed when legacy font support is dropped\n $offset: govuk-em(1px, $font-size);\n top: $offset * -1;\n bottom: $offset;\n } @else {\n top: 0;\n bottom: 0;\n }\n\n left: govuk-em(3px, $font-size);\n\n width: $chevron-size;\n height: $chevron-size;\n\n margin: auto 0;\n\n transform: rotate(225deg);\n\n border: solid;\n border-width: $chevron-border-min-width $chevron-border-min-width 0 0;\n border-color: $chevron-border-colour;\n\n @supports (border-width: unquote(\"max(0px)\")) {\n border-width: unquote(\"max(#{$chevron-border-min-width}, #{$chevron-border-width}) max(#{$chevron-border-min-width}, #{$chevron-border-width})\") 0 0;\n\n // Ensure that the chevron never gets smaller than 16px\n font-size: unquote(\"max(#{$font-size * 1px}, 1em)\");\n }\n\n // Fall back to a less than sign for IE8\n @include _govuk-if-ie8 {\n content: \"\\003c\"; // Less than sign (<)\n width: auto;\n height: auto;\n border: 0;\n color: $chevron-border-colour;\n\n // IE8 doesn't seem to like rendering pseudo-elements using @font-faces,\n // so fall back to using another sans-serif font to render the chevron.\n font-family: Arial, sans-serif;\n }\n }\n\n .govuk-back-link:focus:before {\n border-color: $govuk-focus-text-colour;\n }\n\n .govuk-back-link:after {\n content: \"\";\n position: absolute;\n top: -14px;\n right: 0;\n bottom: -14px;\n left: 0;\n }\n\n .govuk-back-link--inverse {\n @include govuk-link-style-inverse;\n\n &:before {\n border-color: currentcolor;\n }\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/breadcrumbs/_breadcrumbs.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_breadcrumbs.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -75,11 +75,9 @@
|
|
75
75
|
|
76
76
|
margin: auto 0;
|
77
77
|
|
78
|
-
-
|
78
|
+
-ms-transform: rotate(45deg);
|
79
79
|
|
80
|
-
|
81
|
-
|
82
|
-
transform: rotate(45deg);
|
80
|
+
transform: rotate(45deg);
|
83
81
|
|
84
82
|
border: solid;
|
85
83
|
border-width: $chevron-border-min-width $chevron-border-min-width 0 0;
|
@@ -157,3 +155,5 @@
|
|
157
155
|
}
|
158
156
|
}
|
159
157
|
}
|
158
|
+
|
159
|
+
/*# sourceMappingURL=_index.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/breadcrumbs/_index.scss"],"names":[],"mappings":"AAAA;EACE,6DAA6D;EAC7D,cAAc;;EAEd,oCAAoC;EACpC,wCAAwC;;EAExC,wBAAwB;EACxB,8BAA8B;EAC9B,sEAAsE;;EAEtE,mBAAmB;EACnB,oDAAoD;;EAEpD,2EAA2E;EAC3E,iCAAiC;EACjC,CAAC;EACD,0BAA0B;EAC1B,2DAA2D;;EAE3D;IACE,sCAAsC;IACtC,0BAA0B;;IAE1B,4BAA4B;IAC5B,+BAA+B;EACjC;;EAEA;IACE,uBAAuB;;IAEvB,SAAS;IACT,UAAU;IACV,qBAAqB;EACvB;;EAEA;;IAEE,qBAAqB;IACrB,kBAAkB;;IAElB,+BAA+B;;IAE/B,qEAAqE;IACrE,8BAA8B;IAC9B,mDAAmD;IACnD,mFAAmF;;IAEnF,WAAW;;IAEX,wEAAwE;IACxE;MACE,WAAW;MACX,cAAc;;MAEd,kBAAkB;;MAElB;QACE,4CAA4C;QAC5C,6DAA6D;QAC7D,kCAAkC;QAClC,iBAAiB;QACjB,eAAe;MACjB,EAAE;QACA,MAAM;QACN,SAAS;MACX;;MAEA,sEAAsE;MACtE,4BAA4B;MAC5B,mFAAmF;;MAEnF,oBAAoB;MACpB,qBAAqB;;MAErB,cAAc;;MAEd,4BAAwB;;UAAxB,wBAAwB;;MAExB,aAAa;MACb,qEAAqE;MACrE,oCAAoC;;MAEpC;QACE,oJAAoJ;;QAEpJ,sDAAsD;QACtD,mDAAmD;MACrD;;MAEA,0CAA0C;MAC1C;QACE,gBAAgB,EAAE,uBAAuB;QACzC,WAAW;QACX,YAAY;QACZ,SAAS;QACT,6BAA6B;;QAE7B,uEAAuE;QACvE,sEAAsE;QACtE,8BAA8B;MAChC;IACF;;IAEA;MACE,cAAc;MACd,eAAe;;MAEf;QACE,aAAa;QACb,aAAa;MACf;IACF;EACF;;EAEA;IACE,0BAA0B;IAC1B,8BAA8B;EAChC;;EAEA;IACE;MACE;QACE,aAAa;;QAEb;;UAEE,qBAAqB;QACvB;;QAEA;UACE,8BAA8B;UAC9B,SAAS;QACX;MACF;;MAEA;QACE,oBAAa;QAAb,aAAa;MACf;IACF;EACF;;EAEA;IACE,4BAA4B;;IAE5B;MACE,iCAAiC;IACnC;;IAEA;MACE,0BAA0B;IAC5B;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/breadcrumbs\") {\n // Component font-size on the Frontend (used for calculations)\n $font-size: 16;\n\n // Size of chevron (excluding border)\n $chevron-size: govuk-em(7px, $font-size);\n\n // Size of chevron border\n $chevron-border-min-width: 1px;\n $chevron-border-width: govuk-em($chevron-border-min-width, $font-size);\n\n // Colour of chevron\n $chevron-border-colour: $govuk-secondary-text-colour;\n\n // Calculated altitude (△↕) of the right-angled isosceles chevron with sides\n // of length 8 (7px + 1px border):\n //\n // √(8² + 8²) * 0.5 ≅ 5.655\n $chevron-altitude-calculated: govuk-em(5.655px, $font-size);\n\n .govuk-breadcrumbs {\n @include govuk-font($size: $font-size);\n @include govuk-text-colour;\n\n margin-top: govuk-spacing(3);\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-breadcrumbs__list {\n @include govuk-clearfix;\n\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .govuk-breadcrumbs__list-item {\n\n display: inline-block;\n position: relative;\n\n margin-bottom: govuk-spacing(1);\n\n // Add both margin and padding such that the chevron appears centrally\n // between each breadcrumb item\n margin-left: govuk-em(govuk-spacing(2), $font-size);\n padding-left: govuk-em(govuk-spacing(2), $font-size) + $chevron-altitude-calculated;\n\n float: left;\n\n // Create a chevron using a box with borders on two sides, rotated 45deg.\n &:before {\n content: \"\";\n display: block;\n\n position: absolute;\n\n @if $govuk-use-legacy-font {\n // Begin adjustments for font baseline offset\n // These should be removed when legacy font support is dropped\n $offset: govuk-em(1px, $font-size);\n top: $offset * -1;\n bottom: $offset;\n } @else {\n top: 0;\n bottom: 0;\n }\n\n // Offset by the difference between the width of the non-rotated square\n // and its width when rotated\n left: (($chevron-altitude-calculated * -2) + $chevron-size + $chevron-border-width);\n\n width: $chevron-size;\n height: $chevron-size;\n\n margin: auto 0;\n\n transform: rotate(45deg);\n\n border: solid;\n border-width: $chevron-border-min-width $chevron-border-min-width 0 0;\n border-color: $chevron-border-colour;\n\n @supports (border-width: unquote(\"max(0px)\")) {\n border-width: unquote(\"max(#{$chevron-border-min-width}, #{$chevron-border-width}) max(#{$chevron-border-min-width}, #{$chevron-border-width})\") 0 0;\n\n // Ensure that the chevron never gets smaller than 16px\n font-size: unquote(\"max(#{$font-size * 1px}, 1em)\");\n }\n\n // Fall back to a greater than sign for IE8\n @include _govuk-if-ie8 {\n content: \"\\003e\"; // Greater than sign (>)\n width: auto;\n height: auto;\n border: 0;\n color: $chevron-border-colour;\n\n // IE8 doesn't seem to like rendering pseudo-elements using @font-faces,\n // so fall back to using another sans-serif font to render the chevron.\n font-family: Arial, sans-serif;\n }\n }\n\n &:first-child {\n margin-left: 0;\n padding-left: 0;\n\n &:before {\n content: none;\n display: none;\n }\n }\n }\n\n .govuk-breadcrumbs__link {\n @include govuk-link-common;\n @include govuk-link-style-text;\n }\n\n .govuk-breadcrumbs--collapse-on-mobile {\n @include govuk-media-query($until: tablet) {\n .govuk-breadcrumbs__list-item {\n display: none;\n\n &:first-child,\n &:last-child {\n display: inline-block;\n }\n\n &:before {\n top: govuk-em(6px, $font-size);\n margin: 0;\n }\n }\n\n .govuk-breadcrumbs__list {\n display: flex;\n }\n }\n }\n\n .govuk-breadcrumbs--inverse {\n color: govuk-colour(\"white\");\n\n .govuk-breadcrumbs__link {\n @include govuk-link-style-inverse;\n }\n\n .govuk-breadcrumbs__list-item:before {\n border-color: currentcolor;\n }\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/button/_button.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_button.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/button/_index.scss"],"names":[],"mappings":"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","file":"_index.scss","sourcesContent":["////\n/// @group components/button\n////\n\n/// Button component background colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-button-background-colour: govuk-colour(\"green\", $legacy: #00823b) !default;\n\n/// Button component text colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-button-text-colour: govuk-colour(\"white\") !default;\n\n@include govuk-exports(\"govuk/component/button\") {\n $govuk-button-colour: $govuk-button-background-colour;\n $govuk-button-text-colour: $govuk-button-text-colour;\n $govuk-button-hover-colour: govuk-shade($govuk-button-colour, 20%);\n $govuk-button-shadow-colour: govuk-shade($govuk-button-colour, 60%);\n\n // Secondary button variables\n $govuk-secondary-button-colour: govuk-colour(\"light-grey\", $legacy: \"grey-3\");\n $govuk-secondary-button-text-colour: govuk-colour(\"black\");\n $govuk-secondary-button-hover-colour: govuk-shade($govuk-secondary-button-colour, 10%);\n $govuk-secondary-button-shadow-colour: govuk-shade($govuk-secondary-button-colour, 40%);\n\n // Warning button variables\n $govuk-warning-button-colour: govuk-colour(\"red\");\n $govuk-warning-button-text-colour: govuk-colour(\"white\");\n $govuk-warning-button-hover-colour: govuk-shade($govuk-warning-button-colour, 20%);\n $govuk-warning-button-shadow-colour: govuk-shade($govuk-warning-button-colour, 60%);\n\n // Inverse button variables\n $govuk-inverse-button-colour: govuk-colour(\"white\");\n $govuk-inverse-button-text-colour: govuk-colour(\"blue\");\n $govuk-inverse-button-hover-colour: govuk-tint($govuk-inverse-button-text-colour, 90%);\n $govuk-inverse-button-shadow-colour: govuk-shade($govuk-inverse-button-text-colour, 30%);\n\n // Because the shadow (s0) is visually 'part of' the button, we need to reduce\n // the height of the button to compensate by adjusting its padding (s1) and\n // increase the bottom margin to include it (s2).\n $button-shadow-size: $govuk-border-width-form-element;\n\n .govuk-button {\n @include govuk-font($size: 19, $line-height: 19px);\n\n box-sizing: border-box;\n display: inline-block;\n position: relative;\n width: 100%;\n margin-top: 0;\n margin-right: 0;\n margin-left: 0;\n @include govuk-responsive-margin(6, \"bottom\", $adjustment: $button-shadow-size); // s2\n padding: (govuk-spacing(2) - $govuk-border-width-form-element) govuk-spacing(2) (govuk-spacing(2) - $govuk-border-width-form-element - ($button-shadow-size / 2)); // s1\n border: $govuk-border-width-form-element solid transparent;\n border-radius: 0;\n color: $govuk-button-text-colour;\n background-color: $govuk-button-colour;\n box-shadow: 0 $button-shadow-size 0 $govuk-button-shadow-colour; // s0\n text-align: center;\n vertical-align: top;\n cursor: pointer;\n -webkit-appearance: none;\n\n @include _govuk-if-ie8 {\n border-bottom: $button-shadow-size solid $govuk-button-shadow-colour;\n }\n\n @include govuk-media-query($from: tablet) {\n width: auto;\n }\n\n // Ensure that any global link styles are overridden\n &:link,\n &:visited,\n &:active,\n &:hover {\n color: $govuk-button-text-colour;\n text-decoration: none;\n }\n\n // Fix unwanted button padding in Firefox\n &::-moz-focus-inner {\n padding: 0;\n border: 0;\n }\n\n &:hover {\n background-color: $govuk-button-hover-colour;\n }\n\n &:active {\n // Bump the button down so it looks like its being pressed in\n top: $button-shadow-size;\n\n @include _govuk-if-ie8 {\n border-bottom-width: 0;\n }\n }\n\n &:focus {\n border-color: $govuk-focus-colour;\n // When colours are overridden, for example when users have a dark mode,\n // backgrounds and box-shadows disappear, so we need to ensure there's a\n // transparent outline which will be set to a visible colour.\n // Since Internet Explorer 8 does not support box-shadow, we want to force the user-agent outlines\n @include _govuk-not-ie8 {\n outline: $govuk-focus-width solid transparent;\n }\n // Since Internet Explorer does not support `:not()` we set a clearer focus style to match user-agent outlines.\n @include _govuk-if-ie8 {\n color: $govuk-focus-text-colour;\n background-color: $govuk-focus-colour;\n }\n box-shadow: inset 0 0 0 1px $govuk-focus-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited links a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-button-text-colour;\n }\n }\n\n &:focus:not(:active):not(:hover) {\n border-color: $govuk-focus-colour;\n color: $govuk-focus-text-colour;\n background-color: $govuk-focus-colour;\n box-shadow: 0 2px 0 $govuk-focus-text-colour;\n }\n\n // The following adjustments do not work for <input type=\"button\"> as\n // non-container elements cannot include pseudo elements (i.e. ::before).\n\n // Use a pseudo element to expand the click target area to include the\n // button's shadow as well, in case users try to click it.\n &:before {\n content: \"\";\n display: block;\n\n position: absolute;\n\n top: -$govuk-border-width-form-element;\n right: -$govuk-border-width-form-element;\n bottom: -($govuk-border-width-form-element + $button-shadow-size);\n left: -$govuk-border-width-form-element;\n\n background: transparent;\n }\n\n // When the button is active it is shifted down by $button-shadow-size to\n // denote a 'pressed' state. If the user happened to click at the very top\n // of the button, their mouse is no longer over the button (because it has\n // 'moved beneath them') and so the click event is not fired.\n //\n // This corrects that by shifting the top of the pseudo element so that it\n // continues to cover the area that the user originally clicked, which means\n // the click event is still fired.\n //\n // 🎉\n &:active:before {\n top: -($govuk-border-width-form-element + $button-shadow-size);\n }\n }\n\n // @deprecated Disabling buttons using the .govuk-button--disabled class is\n // deprecated and will be removed in the next major version.\n .govuk-button--disabled,\n .govuk-button[disabled=\"disabled\"],\n .govuk-button[disabled] {\n opacity: (.5);\n\n &:hover {\n background-color: $govuk-button-colour;\n cursor: not-allowed;\n }\n\n &:active {\n top: 0;\n box-shadow: 0 $button-shadow-size 0 $govuk-button-shadow-colour; // s0\n @include _govuk-if-ie8 {\n border-bottom: $button-shadow-size solid $govuk-button-shadow-colour; // s0\n }\n }\n }\n\n .govuk-button--secondary {\n background-color: $govuk-secondary-button-colour;\n box-shadow: 0 $button-shadow-size 0 $govuk-secondary-button-shadow-colour;\n\n &,\n &:link,\n &:visited,\n &:active,\n &:hover {\n color: $govuk-secondary-button-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited links a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-secondary-button-text-colour;\n }\n }\n\n &:hover {\n background-color: $govuk-secondary-button-hover-colour;\n\n &[disabled] {\n background-color: $govuk-secondary-button-colour;\n }\n }\n }\n\n .govuk-button--warning {\n background-color: $govuk-warning-button-colour;\n box-shadow: 0 $button-shadow-size 0 $govuk-warning-button-shadow-colour;\n\n &,\n &:link,\n &:visited,\n &:active,\n &:hover {\n color: $govuk-warning-button-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited links a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-warning-button-text-colour;\n }\n }\n\n &:hover {\n background-color: $govuk-warning-button-hover-colour;\n\n &[disabled] {\n background-color: $govuk-warning-button-colour;\n }\n }\n }\n\n .govuk-button--inverse {\n background-color: $govuk-inverse-button-colour;\n box-shadow: 0 $button-shadow-size 0 $govuk-inverse-button-shadow-colour;\n\n &,\n &:link,\n &:visited,\n &:active,\n &:hover {\n color: $govuk-inverse-button-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited links a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-inverse-button-text-colour;\n }\n }\n\n &:hover {\n background-color: $govuk-inverse-button-hover-colour;\n\n &[disabled] {\n background-color: $govuk-inverse-button-colour;\n }\n }\n }\n\n .govuk-button--start {\n @include govuk-typography-weight-bold;\n @include govuk-typography-responsive($size: 24, $override-line-height: 1);\n\n display: inline-flex;\n min-height: auto;\n\n justify-content: center;\n }\n\n .govuk-button__start-icon {\n margin-left: govuk-spacing(1);\n\n @include govuk-media-query($from: desktop) {\n margin-left: govuk-spacing(2);\n }\n vertical-align: middle;\n flex-shrink: 0;\n align-self: center;\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 @if $govuk-use-legacy-font {\n // Begin adjustments for font baseline offset when using v1 of nta\n $offset: 2;\n\n .govuk-button {\n padding-top: (govuk-spacing(2) - $govuk-border-width-form-element - ($button-shadow-size / 2) + $offset); // s1\n padding-bottom: (govuk-spacing(2) - $govuk-border-width-form-element - ($button-shadow-size / 2) - $offset + 1); // s1\n }\n\n .govuk-button__start-icon {\n margin-top: -3px;\n }\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/character-count/_character-count.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_character-count.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/character-count/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uBAAuB;AACvB,wBAAwB;AACxB,2BAA2B;;AAE3B;EACE;IACE,6CAA6C;;IAE7C;;MAEE,+BAA+B;IACjC;EACF;;EAEA;IACE,iDAAiD;IACjD,aAAa;IACb,gBAAgB;;IAEhB;MACE,4EAA4E;MAC5E,KAAK;MACL,+DAA+D;MAC/D,iEAAiE;MACjE,wEAAwE;MACxE,gBAAgB;IAClB;EACF;;EAEA;IACE,kBAAkB;EACpB;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n@import \"../textarea/index\";\n\n@include govuk-exports(\"govuk/component/character-count\") {\n .govuk-character-count {\n @include govuk-responsive-margin(6, \"bottom\");\n\n .govuk-form-group,\n .govuk-textarea {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n .govuk-character-count__message {\n @include govuk-font($size: false, $tabular: true);\n margin-top: 0;\n margin-bottom: 0;\n\n &:after {\n // Zero-width space that will reserve vertical space when no hint is provided\n // as:\n // - setting a min-height is not possible without a magic number\n // because the line-height is set by the `govuk-font` call above\n // - using `:empty` is not possible as the hint macro outputs line breaks\n content: \"\\200B\";\n }\n }\n\n .govuk-character-count__message--disabled {\n visibility: hidden;\n }\n}\n"]}
|
@@ -20,10 +20,13 @@
|
|
20
20
|
"name": "custom-textarea-description",
|
21
21
|
"id": "custom-textarea-description",
|
22
22
|
"maxlength": 10,
|
23
|
+
"label": {
|
24
|
+
"text": "Can you provide more detail?"
|
25
|
+
},
|
23
26
|
"textareaDescriptionText": "Gallwch ddefnyddio hyd at %{count} nod"
|
24
27
|
},
|
25
28
|
"hidden": false,
|
26
|
-
"html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\">\n <div class=\"govuk-form-group\">\n \n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"custom-textarea-description\" name=\"custom-textarea-description\" rows=\"5\" aria-describedby=\"custom-textarea-description-info\"></textarea>\n</div>\n \n <div id=\"custom-textarea-description-info\" class=\"govuk-hint govuk-character-count__message\">\n Gallwch ddefnyddio hyd at 10 nod\n</div>\n\n</div>"
|
29
|
+
"html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"custom-textarea-description\">\n Can you provide more detail?\n </label>\n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"custom-textarea-description\" name=\"custom-textarea-description\" rows=\"5\" aria-describedby=\"custom-textarea-description-info\"></textarea>\n</div>\n \n <div id=\"custom-textarea-description-info\" class=\"govuk-hint govuk-character-count__message\">\n Gallwch ddefnyddio hyd at 10 nod\n</div>\n\n</div>"
|
27
30
|
},
|
28
31
|
{
|
29
32
|
"name": "with hint",
|
@@ -134,6 +137,9 @@
|
|
134
137
|
"id": "with-translations",
|
135
138
|
"name": "with-translations",
|
136
139
|
"maxlength": 10,
|
140
|
+
"label": {
|
141
|
+
"text": "Full address"
|
142
|
+
},
|
137
143
|
"charactersUnderLimitText": {
|
138
144
|
"other": "%{count} characters to go",
|
139
145
|
"one": "One character to go"
|
@@ -154,7 +160,7 @@
|
|
154
160
|
}
|
155
161
|
},
|
156
162
|
"hidden": false,
|
157
|
-
"html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\" data-i18n.characters-under-limit.other=\"%{count} characters to go\" data-i18n.characters-under-limit.one=\"One character to go\" data-i18n.characters-at-limit=\"Zero characters left\" data-i18n.characters-over-limit.other=\"%{count} characters too many\" data-i18n.characters-over-limit.one=\"One character too many\" data-i18n.words-under-limit.other=\"%{count} words to go\" data-i18n.words-under-limit.one=\"One word to go\" data-i18n.words-at-limit=\"Zero words left\" data-i18n.words-over-limit.other=\"%{count} words too many\" data-i18n.words-over-limit.one=\"One word too many\">\n <div class=\"govuk-form-group\">\n \n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"with-translations\" name=\"with-translations\" rows=\"5\" aria-describedby=\"with-translations-info\"></textarea>\n</div>\n \n <div id=\"with-translations-info\" class=\"govuk-hint govuk-character-count__message\">\n You can enter up to 10 characters\n</div>\n\n</div>"
|
163
|
+
"html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\" data-i18n.characters-under-limit.other=\"%{count} characters to go\" data-i18n.characters-under-limit.one=\"One character to go\" data-i18n.characters-at-limit=\"Zero characters left\" data-i18n.characters-over-limit.other=\"%{count} characters too many\" data-i18n.characters-over-limit.one=\"One character too many\" data-i18n.words-under-limit.other=\"%{count} words to go\" data-i18n.words-under-limit.one=\"One word to go\" data-i18n.words-at-limit=\"Zero words left\" data-i18n.words-over-limit.other=\"%{count} words too many\" data-i18n.words-over-limit.one=\"One word too many\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-translations\">\n Full address\n </label>\n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"with-translations\" name=\"with-translations\" rows=\"5\" aria-describedby=\"with-translations-info\"></textarea>\n</div>\n \n <div id=\"with-translations-info\" class=\"govuk-hint govuk-character-count__message\">\n You can enter up to 10 characters\n</div>\n\n</div>"
|
158
164
|
},
|
159
165
|
{
|
160
166
|
"name": "classes",
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/checkboxes/_checkboxes.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_checkboxes.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -101,11 +101,9 @@
|
|
101
101
|
width: 23px;
|
102
102
|
height: 12px;
|
103
103
|
|
104
|
-
-
|
104
|
+
-ms-transform: rotate(-45deg);
|
105
105
|
|
106
|
-
|
107
|
-
|
108
|
-
transform: rotate(-45deg);
|
106
|
+
transform: rotate(-45deg);
|
109
107
|
border: solid;
|
110
108
|
border-width: 0 0 5px 5px;
|
111
109
|
// Fix bug in IE11 caused by transform rotate (-45deg).
|
@@ -333,3 +331,5 @@
|
|
333
331
|
}
|
334
332
|
}
|
335
333
|
}
|
334
|
+
|
335
|
+
/*# sourceMappingURL=_index.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/checkboxes/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,2BAA2B;AAC3B,uBAAuB;AACvB,wBAAwB;;AAExB;;EAEE,8BAA8B;EAC9B,4BAA4B;EAC5B,kCAAkC;EAClC,4DAA4D;;EAE5D;IACE,8BAA8B;;IAE9B,cAAc;IACd,kBAAkB;;IAElB,kCAAkC;;IAElC,+BAA+B;IAC/B,oCAAoC;;IAEpC,WAAW;EACb;;EAEA;;IAEE,gBAAgB;EAClB;;EAEA;IACE,sEAAsE;;IAEtE,eAAe;;IAEf,sEAAsE;IACtE,iBAAiB;IACjB;MACE,kBAAkB;;MAElB,UAAU;MACV,uBAAuB;MACvB,wBAAwB;;MAExB,+BAA+B;MAC/B,gCAAgC;MAChC,SAAS;;MAET,UAAU;IACZ;;IAEA;MACE,gBAAgB;MAChB,yCAAyC;MACzC,wCAAwC;MACxC,WAAW;;MAEX,4BAA4B;MAC5B;QACE,qDAAqD;MACvD;IACF;EACF;;EAEA;IACE,qBAAqB;IACrB,gBAAgB;IAChB,wEAAwE;IACxE,eAAe;IACf,8BAA8B;IAC9B,8BAA0B;QAA1B,0BAA0B;EAC5B;;EAEA;IACE,eAAe;IACf;MACE,WAAW;MACX,sBAAsB;MACtB,kBAAkB;MAClB,MAAM;MACN,OAAO;MACP,6BAA6B;MAC7B,8BAA8B;MAC9B,2DAA2D;MAC3D,uBAAuB;IACzB;;IAEA,cAAc;IACd,CAAC;IACD,0EAA0E;IAC1E,oBAAoB;IACpB;MACE,WAAW;MACX,sBAAsB;;MAEtB,kBAAkB;MAClB,SAAS;MACT,SAAS;MACT,WAAW;MACX,YAAY;;MAEZ,6BAAyB;;UAAzB,yBAAyB;MACzB,aAAa;MACb,yBAAyB;MACzB,sDAAsD;MACtD,yCAAyC;MACzC,6BAA6B;;MAE7B,UAAU;;MAEV,uBAAuB;IACzB;EACF;;EAEA;IACE,cAAc;IACd,yDAAyD;IACzD,wDAAwD;EAC1D;;EAEA,eAAe;EACf;IACE,iBAAiB;;IAEjB,sEAAsE;IACtE,sEAAsE;IACtE,yEAAyE;IACzE,oCAAoC;IACpC,6CAA6C;IAC7C,mBAAmB;;IAEnB,wEAAwE;IACxE,uEAAuE;IACvE;MACE,wBAAwB;IAC1B;;IAEA,wDAAwD;EAC1D;;EAEA,gBAAgB;EAChB;IACE,UAAU;EACZ;;EAEA,gBAAgB;EAChB;;IAEE,mBAAmB;EACrB;;EAEA;;IAEE,WAAW;EACb;;EAEA,2DAA2D;EAC3D,iBAAiB;EACjB,2DAA2D;;EAE3D;IACE,oDAAoD;IACpD,8BAA8B;IAC9B,0BAA0B;IAC1B,0BAA0B;IAC1B,+BAA+B;IAC/B,kBAAkB;EACpB;;EAEA,2DAA2D;EAC3D,qBAAqB;EACrB,2DAA2D;;EAE3D,6EAA6E;EAC7E,+EAA+E;EAC/E,qDAAqD;EACrD,0FAA0F;EAC1F,2FAA2F;EAC3F,4CAA4C;EAC5C,qDAAqD;EACrD,4DAA4D;EAC5D,mGAAmG;;EAEnG;IACE,6CAA6C;IAC7C,qCAAqC;IACrC,uCAAuC;IACvC,iEAAiE;;IAEjE;MACE,aAAa;IACf;;IAEA;MACE,gBAAgB;IAClB;EACF;;EAEA,2DAA2D;EAC3D,kBAAkB;EAClB,2DAA2D;;EAE3D;;IAEE,4EAA4E;IAC5E,uDAAuD;;IAEvD;MACE,uBAAuB;MACvB,aAAa;MACb,gBAAgB;MAChB,2BAA2B;MAC3B,WAAW;IACb;;IAEA,yEAAyE;IACzE,wBAAwB;IACxB,CAAC;IACD,8BAA8B;IAC9B,SAAS;IACT,gBAAgB;IAChB,SAAS;IACT,qDAAqD;IACrD,+DAA+D;IAC/D;MACE;QACE,wBAAwB;MAC1B;;MAEA;QACE,8CAA8C;MAChD;IACF;;IAEA,4CAA4C;IAC5C,CAAC;IACD,uEAAuE;IACvE,yEAAyE;IACzE,8BAA8B;IAC9B;MACE,gBAAgB;MAChB,uCAAuC;MACvC,WAAW;;MAEX;QACE,uCAAuC;MACzC;IACF;;IAEA,eAAe;IACf,CAAC;IACD,uEAAuE;IACvE,kBAAkB;IAClB;MACE,qDAAqD,EAAE,GAAG;MAC1D,mCAAmC,EAAE,GAAG;MACxC,oCAAoC,EAAE,GAAG;IAC3C;;IAEA,cAAc;IACd,CAAC;IACD,oEAAoE;IACpE;MACE,SAAS;MACT,SAAS;MACT,WAAW;MACX,aAAa;MACb,yBAAyB;IAC3B;;IAEA,4CAA4C;IAC5C,CAAC;IACD,2EAA2E;IAC3E,0EAA0E;IAC1E,uBAAuB;IACvB,CAAC;IACD,0EAA0E;IAC1E,iBAAiB;IACjB;MACE,UAAU;MACV,WAAW;IACb;;IAEA,iDAAiD;IACjD;MACE,kFAAkF;MAClF,yBAAyB;MACzB,wEAAwE;MACxE,WAAW;IACb;;IAEA,mCAAmC;IACnC,CAAC;IACD,yEAAyE;IACzE,sEAAsE;IACtE,uEAAuE;IACvE,wCAAwC;IACxC;MACE,wDAAwD;IAC1D;;IAEA,yEAAyE;IACzE,+BAA+B;IAC/B,CAAC;IACD,wEAAwE;IACxE,oDAAoD;IACpD;MACE;;oDAE8C,EAAE,GAAG;IACrD;;IAEA,wEAAwE;IACxE,yCAAyC;IACzC,CAAC;IACD,wEAAwE;IACxE,sEAAsE;IACtE,2DAA2D;IAC3D;MACE;QACE,mBAAmB;MACrB;;MAEA;QACE,wDAAwD;MAC1D;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../fieldset/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/checkboxes\") {\n\n $govuk-touch-target-size: 44px;\n $govuk-checkboxes-size: 40px;\n $govuk-small-checkboxes-size: 24px;\n $govuk-checkboxes-label-padding-left-right: govuk-spacing(3);\n\n .govuk-checkboxes__item {\n @include govuk-font($size: 19);\n\n display: block;\n position: relative;\n\n min-height: $govuk-checkboxes-size;\n\n margin-bottom: govuk-spacing(2);\n padding-left: $govuk-checkboxes-size;\n\n clear: left;\n }\n\n .govuk-checkboxes__item:last-child,\n .govuk-checkboxes__item:last-of-type {\n margin-bottom: 0;\n }\n\n .govuk-checkboxes__input {\n $input-offset: ($govuk-touch-target-size - $govuk-checkboxes-size) / 2;\n\n cursor: pointer;\n\n // IE8 doesn’t support pseudo-elements, so we don’t want to hide native\n // elements there.\n @include _govuk-not-ie8 {\n position: absolute;\n\n z-index: 1;\n top: $input-offset * -1;\n left: $input-offset * -1;\n\n width: $govuk-touch-target-size;\n height: $govuk-touch-target-size;\n margin: 0;\n\n opacity: 0;\n }\n\n @include _govuk-if-ie8 {\n margin-top: 10px;\n margin-right: $govuk-checkboxes-size / -2;\n margin-left: $govuk-checkboxes-size / -2;\n float: left;\n\n // add focus outline to input\n &:focus {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n }\n }\n }\n\n .govuk-checkboxes__label {\n display: inline-block;\n margin-bottom: 0;\n padding: 8px $govuk-checkboxes-label-padding-left-right govuk-spacing(1);\n cursor: pointer;\n // remove 300ms pause on mobile\n touch-action: manipulation;\n }\n\n @include _govuk-not-ie8 {\n // [ ] Check box\n .govuk-checkboxes__label:before {\n content: \"\";\n box-sizing: border-box;\n position: absolute;\n top: 0;\n left: 0;\n width: $govuk-checkboxes-size;\n height: $govuk-checkboxes-size;\n border: $govuk-border-width-form-element solid currentcolor;\n background: transparent;\n }\n\n // ✔ Check mark\n //\n // The check mark is a box with a border on the left and bottom side (└──),\n // rotated 45 degrees\n .govuk-checkboxes__label:after {\n content: \"\";\n box-sizing: border-box;\n\n position: absolute;\n top: 11px;\n left: 9px;\n width: 23px;\n height: 12px;\n\n transform: rotate(-45deg);\n border: solid;\n border-width: 0 0 5px 5px;\n // Fix bug in IE11 caused by transform rotate (-45deg).\n // See: alphagov/govuk_elements/issues/518\n border-top-color: transparent;\n\n opacity: 0;\n\n background: transparent;\n }\n }\n\n .govuk-checkboxes__hint {\n display: block;\n padding-right: $govuk-checkboxes-label-padding-left-right;\n padding-left: $govuk-checkboxes-label-padding-left-right;\n }\n\n // Focused state\n .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {\n border-width: 4px;\n\n // When colours are overridden, the yellow box-shadow becomes invisible\n // which means the focus state is less obvious. By adding a transparent\n // outline, which becomes solid (text-coloured) in that context, we ensure\n // the focus remains clearly visible.\n outline: $govuk-focus-width solid transparent;\n outline-offset: 1px;\n\n // When in an explicit forced-color mode, we can use the Highlight system\n // color for the outline to better match focus states of native controls\n @media screen and (forced-colors: active), (-ms-high-contrast: active) {\n outline-color: Highlight;\n }\n\n box-shadow: 0 0 0 $govuk-focus-width $govuk-focus-colour;\n }\n\n // Selected state\n .govuk-checkboxes__input:checked + .govuk-checkboxes__label:after {\n opacity: 1;\n }\n\n // Disabled state\n .govuk-checkboxes__input:disabled,\n .govuk-checkboxes__input:disabled + .govuk-checkboxes__label {\n cursor: not-allowed;\n }\n\n .govuk-checkboxes__input:disabled + .govuk-checkboxes__label,\n .govuk-checkboxes__input:disabled ~ .govuk-hint {\n opacity: .5;\n }\n\n // =========================================================\n // Dividers ('or')\n // =========================================================\n\n .govuk-checkboxes__divider {\n $govuk-divider-size: $govuk-checkboxes-size !default;\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n width: $govuk-divider-size;\n margin-bottom: govuk-spacing(2);\n text-align: center;\n }\n\n // =========================================================\n // Conditional reveals\n // =========================================================\n\n // The narrow border is used in the conditional reveals because the border has\n // to be an even number in order to be centred under the 40px checkbox or radio.\n $conditional-border-width: $govuk-border-width-narrow;\n // Calculate the amount of padding needed to keep the border centered against the checkbox.\n $conditional-border-padding: ($govuk-checkboxes-size / 2) - ($conditional-border-width / 2);\n // Move the border centered with the checkbox\n $conditional-margin-left: $conditional-border-padding;\n // Move the contents of the conditional inline with the label\n $conditional-padding-left: $conditional-border-padding + $govuk-checkboxes-label-padding-left-right;\n\n .govuk-checkboxes__conditional {\n @include govuk-responsive-margin(4, \"bottom\");\n margin-left: $conditional-margin-left;\n padding-left: $conditional-padding-left;\n border-left: $conditional-border-width solid $govuk-border-colour;\n\n .js-enabled &--hidden {\n display: none;\n }\n\n & > :last-child {\n margin-bottom: 0;\n }\n }\n\n // =========================================================\n // Small checkboxes\n // =========================================================\n\n .govuk-checkboxes--small {\n\n $input-offset: ($govuk-touch-target-size - $govuk-small-checkboxes-size) / 2;\n $label-offset: $govuk-touch-target-size - $input-offset;\n\n .govuk-checkboxes__item {\n @include govuk-clearfix;\n min-height: 0;\n margin-bottom: 0;\n padding-left: $label-offset;\n float: left;\n }\n\n // Shift the touch target into the left margin so that the visible edge of\n // the control is aligned\n //\n // ┆What colours do you like?\n // ┌┆───┐\n // │┆[] │ Purple\n // └┆▲──┘\n // ▲┆└─ Check box pseudo element, aligned with margin\n // └─── Touch target (invisible input), shifted into the margin\n .govuk-checkboxes__input {\n @include _govuk-not-ie8 {\n left: $input-offset * -1;\n }\n\n @include _govuk-if-ie8 {\n margin-left: $govuk-small-checkboxes-size * -1;\n }\n }\n\n // Adjust the size and position of the label.\n //\n // Unlike larger checkboxes, we also have to float the label in order to\n // 'shrink' it, preventing the hover state from kicking in across the full\n // width of the parent element.\n .govuk-checkboxes__label {\n margin-top: -2px;\n padding: 13px govuk-spacing(3) 13px 1px;\n float: left;\n\n @include govuk-media-query($from: tablet) {\n padding: 11px govuk-spacing(3) 10px 1px;\n }\n }\n\n // [ ] Check box\n //\n // Reduce the size of the check box [1], vertically center it within the\n // touch target [2]\n .govuk-checkboxes__label:before {\n top: $input-offset - $govuk-border-width-form-element; // 2\n width: $govuk-small-checkboxes-size; // 1\n height: $govuk-small-checkboxes-size; // 1\n }\n\n // ✔ Check mark\n //\n // Reduce the size of the check mark and re-align within the checkbox\n .govuk-checkboxes__label:after {\n top: 15px;\n left: 6px;\n width: 12px;\n height: 6.5px;\n border-width: 0 0 3px 3px;\n }\n\n // Fix position of hint with small checkboxes\n //\n // Do not use hints with small checkboxes – because they're within the input\n // wrapper they trigger the hover state, but clicking them doesn't actually\n // activate the control.\n //\n // (If you do use them, they won't look completely broken... but seriously,\n // don't use them)\n .govuk-checkboxes__hint {\n padding: 0;\n clear: both;\n }\n\n // Align conditional reveals with small checkboxes\n .govuk-checkboxes__conditional {\n $margin-left: ($govuk-small-checkboxes-size / 2) - ($conditional-border-width / 2);\n margin-left: $margin-left;\n padding-left: $label-offset - ($margin-left + $conditional-border-width);\n clear: both;\n }\n\n // Hover state for small checkboxes.\n //\n // We use a hover state for small checkboxes because the touch target size\n // is so much larger than their visible size, and so we need to provide\n // feedback to the user as to which checkbox they will select when their\n // cursor is outside of the visible area.\n .govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label:before {\n box-shadow: 0 0 0 $govuk-hover-width $govuk-hover-colour;\n }\n\n // Because we've overridden the border-shadow provided by the focus state,\n // we need to redefine that too.\n //\n // We use two box shadows, one that restores the original focus state [1]\n // and another that then applies the hover state [2].\n .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {\n box-shadow:\n 0 0 0 $govuk-focus-width $govuk-focus-colour, // 1\n 0 0 0 $govuk-hover-width $govuk-hover-colour; // 2\n }\n\n // For devices that explicitly don't support hover, don't provide a hover\n // state (e.g. on touch devices like iOS).\n //\n // We can't use `@media (hover: hover)` because we wouldn't get the hover\n // state in browsers that don't support `@media (hover)` (like Internet\n // Explorer) – so we have to 'undo' the hover state instead.\n @media (hover: none), (pointer: coarse) {\n .govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label:before {\n box-shadow: initial;\n }\n\n .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {\n box-shadow: 0 0 0 $govuk-focus-width $govuk-focus-colour;\n }\n }\n }\n}\n"]}
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"value": "other",
|
41
41
|
"text": "Citizen of another country",
|
42
42
|
"conditional": {
|
43
|
-
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"
|
43
|
+
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"other-country\">\n Country\n </label>\n<input class=\"govuk-input\" id=\"other-country\" name=\"other-country\" type=\"text\" value=\"Ravka\">\n</div>\n"
|
44
44
|
}
|
45
45
|
}
|
46
46
|
],
|
@@ -50,7 +50,7 @@
|
|
50
50
|
]
|
51
51
|
},
|
52
52
|
"hidden": false,
|
53
|
-
"html": "<div class=\"govuk-form-group\">\n <div class=\"govuk-checkboxes\" data-module=\"govuk-checkboxes\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality\" name=\"nationality\" type=\"checkbox\" value=\"british\" checked>\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality\">\n British\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality-2\" name=\"nationality\" type=\"checkbox\" value=\"irish\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality-2\">\n Irish\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality-3\" name=\"nationality\" type=\"checkbox\" value=\"other\" checked data-aria-controls=\"conditional-nationality-3\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality-3\">\n Citizen of another country\n </label>\n </div>\n <div class=\"govuk-checkboxes__conditional\" id=\"conditional-nationality-3\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"
|
53
|
+
"html": "<div class=\"govuk-form-group\">\n <div class=\"govuk-checkboxes\" data-module=\"govuk-checkboxes\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality\" name=\"nationality\" type=\"checkbox\" value=\"british\" checked>\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality\">\n British\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality-2\" name=\"nationality\" type=\"checkbox\" value=\"irish\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality-2\">\n Irish\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"nationality-3\" name=\"nationality\" type=\"checkbox\" value=\"other\" checked data-aria-controls=\"conditional-nationality-3\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"nationality-3\">\n Citizen of another country\n </label>\n </div>\n <div class=\"govuk-checkboxes__conditional\" id=\"conditional-nationality-3\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"other-country\">\n Country\n </label>\n<input class=\"govuk-input\" id=\"other-country\" name=\"other-country\" type=\"text\" value=\"Ravka\">\n</div>\n\n </div>\n </div>\n</div>"
|
54
54
|
},
|
55
55
|
{
|
56
56
|
"name": "with divider and None",
|
@@ -1042,6 +1042,7 @@
|
|
1042
1042
|
},
|
1043
1043
|
{
|
1044
1044
|
"value": "other",
|
1045
|
+
"text": "Citizen of another country",
|
1045
1046
|
"hint": {
|
1046
1047
|
"text": "Hint for other option here"
|
1047
1048
|
}
|
@@ -1049,7 +1050,7 @@
|
|
1049
1050
|
]
|
1050
1051
|
},
|
1051
1052
|
"hidden": true,
|
1052
|
-
"html": "<div class=\"govuk-form-group\">\n <div id=\"example-multiple-hints-hint\" class=\"govuk-hint\">\n If you have dual nationality, select all options that are relevant to you.\n </div>\n <div class=\"govuk-checkboxes\" data-module=\"govuk-checkboxes\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"british\" aria-describedby=\"example-multiple-hints-hint example-multiple-hints-item-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints\">\n British\n </label>\n <div id=\"example-multiple-hints-item-hint\" class=\"govuk-hint govuk-checkboxes__hint\">\n Hint for british option here\n </div>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints-2\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"irish\" aria-describedby=\"example-multiple-hints-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints-2\">\n Irish\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints-3\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"other\" aria-describedby=\"example-multiple-hints-hint example-multiple-hints-3-item-hint\">\n \n <div id=\"example-multiple-hints-3-item-hint\" class=\"govuk-hint govuk-checkboxes__hint\">\n Hint for other option here\n </div>\n </div>\n </div>\n</div>"
|
1053
|
+
"html": "<div class=\"govuk-form-group\">\n <div id=\"example-multiple-hints-hint\" class=\"govuk-hint\">\n If you have dual nationality, select all options that are relevant to you.\n </div>\n <div class=\"govuk-checkboxes\" data-module=\"govuk-checkboxes\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"british\" aria-describedby=\"example-multiple-hints-hint example-multiple-hints-item-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints\">\n British\n </label>\n <div id=\"example-multiple-hints-item-hint\" class=\"govuk-hint govuk-checkboxes__hint\">\n Hint for british option here\n </div>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints-2\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"irish\" aria-describedby=\"example-multiple-hints-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints-2\">\n Irish\n </label>\n </div>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"example-multiple-hints-3\" name=\"example-multiple-hints\" type=\"checkbox\" value=\"other\" aria-describedby=\"example-multiple-hints-hint example-multiple-hints-3-item-hint\">\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"example-multiple-hints-3\">\n Citizen of another country\n </label>\n <div id=\"example-multiple-hints-3-item-hint\" class=\"govuk-hint govuk-checkboxes__hint\">\n Hint for other option here\n </div>\n </div>\n </div>\n</div>"
|
1053
1054
|
},
|
1054
1055
|
{
|
1055
1056
|
"name": "with error message and hint",
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/cookie-banner/_cookie-banner.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_cookie-banner.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/cookie-banner/_index.scss"],"names":[],"mappings":"AAAA;;EAEE,kEAAkE;EAClE,sCAAsC;;EAEtC;IACE,6BAA6B;IAC7B,4CAA4C;IAC5C,yEAAyE;;IAEzE,6DAA6D;IAC7D,6CAA6C;IAC7C,qDAAqD;;IAErD,+DAA+D;EACjE;;EAEA,8EAA8E;EAC9E,+DAA+D;EAC/D;IACE,aAAa;EACf;;EAEA;IACE,wDAAwD;IACxD,oCAAoC;;IAEpC;MACE,8EAA8E;MAC9E,oEAAoE;MACpE,aAAa;IACf;;IAEA;MACE,yFAAyF;MACzF,CAAC;MACD,wFAAwF;MACxF,4CAA4C;MAC5C,6FAA6F;MAC7F,sFAAsF;MACtF,4CAA4C;MAC5C,CAAC;MACD,uFAAuF;MACvF,CAAC;MACD,+DAA+D;MAC/D,aAAa;IACf;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/cookie-banner\") {\n\n // This needs to be kept in sync with the header component's styles\n $border-bottom-width: govuk-spacing(2);\n\n .govuk-cookie-banner {\n padding-top: govuk-spacing(4);\n // The component does not set bottom spacing.\n // The bottom spacing should be created by the items inside the component.\n\n // Visually separate the cookie banner from content underneath\n // when user changes colours in their browser.\n border-bottom: $border-bottom-width solid transparent;\n\n background-color: govuk-colour(\"light-grey\", $legacy: \"grey-3\");\n }\n\n // Support older browsers which don't hide elements with the `hidden` attribute\n // when user hides the whole cookie banner with a 'Hide' button.\n .govuk-cookie-banner[hidden] {\n display: none;\n }\n\n .govuk-cookie-banner__message {\n // Remove the extra height added by the separator border.\n margin-bottom: -$border-bottom-width;\n\n &[hidden] {\n // Support older browsers which don't hide elements with the `hidden` attribute\n // when the visibility of cookie and replacement messages is toggled.\n display: none;\n }\n\n &:focus {\n // Remove the native visible focus indicator when the element is programmatically focused.\n //\n // The focused cookie banner is the first element on the page and the last thing the user\n // interacted with prior to it gaining focus.\n // We therefore assume that moving focus to it is not going to surprise users, and that giving\n // it a visible focus indicator could be more confusing than helpful, especially as the\n // element is not normally keyboard operable.\n //\n // We have flagged this in the research section of the guidance as something to monitor.\n //\n // A related discussion: https://github.com/w3c/wcag/issues/1001\n outline: none;\n }\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/date-input/_date-input.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_date-input.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/date-input/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,wBAAwB;AACxB,uBAAuB;AACvB,wBAAwB;;AAExB;EACE;IACE,uBAAuB;IACvB,wDAAwD;IACxD,YAAY;EACd;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,gBAAgB;EAClB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../input/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/date-input\") {\n .govuk-date-input {\n @include govuk-clearfix;\n // font-size: 0 removes whitespace caused by inline-block\n font-size: 0;\n }\n\n .govuk-date-input__item {\n display: inline-block;\n margin-right: govuk-spacing(4);\n margin-bottom: 0;\n }\n\n .govuk-date-input__label {\n display: block;\n }\n\n .govuk-date-input__input {\n margin-bottom: 0;\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/details/_details.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_details.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/details/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,6CAA6C;;IAE7C,cAAc;EAChB;;EAEA;IACE,oEAAoE;IACpE,qBAAqB;;IAErB,qDAAqD;IACrD,kBAAkB;;IAElB,+BAA+B;;IAE/B,sEAAsE;IACtE,oDAAoD;;IAEpD,0CAA0C;IAC1C,yBAAyB;IACzB,eAAe;;IAEf;MACE,+BAA+B;IACjC;;IAEA;MACE,2BAA2B;IAC7B;EACF;;EAEA,+CAA+C;EAC/C;IACE,8BAA8B;EAChC;;EAEA;IACE,oCAAoC;EACtC;;EAEA,+DAA+D;EAC/D;IACE,qBAAqB;EACvB;;EAEA,4EAA4E;EAC5E,mEAAmE;EACnE;IACE,aAAa;EACf;;EAEA,4DAA4D;EAC5D;IACE,WAAW;IACX,kBAAkB;;IAElB,SAAS;IACT,SAAS;IACT,OAAO;;IAEP,YAAY;;IAEZ,0DAA0D;;IAE1D;MACE,yDAAyD;IAC3D;EACF;;EAEA;IACE,6BAA6B;IAC7B,gCAAgC;IAChC,8BAA8B;IAC9B,2DAA2D;EAC7D;;EAEA;IACE,aAAa;IACb,+BAA+B;EACjC;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/details\") {\n .govuk-details {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n @include govuk-responsive-margin(6, \"bottom\");\n\n display: block;\n }\n\n .govuk-details__summary {\n // Make the focus outline shrink-wrap the text content of the summary\n display: inline-block;\n\n // Absolutely position the marker against this element\n position: relative;\n\n margin-bottom: govuk-spacing(1);\n\n // Allow for absolutely positioned marker and align with disclosed text\n padding-left: govuk-spacing(4) + $govuk-border-width;\n\n // Style the summary to look like a link...\n color: $govuk-link-colour;\n cursor: pointer;\n\n &:hover {\n color: $govuk-link-hover-colour;\n }\n\n &:focus {\n @include govuk-focused-text;\n }\n }\n\n // ...but only underline the text, not the arrow\n .govuk-details__summary-text {\n @include govuk-link-decoration;\n }\n\n .govuk-details__summary:hover .govuk-details__summary-text {\n @include govuk-link-hover-decoration;\n }\n\n // Remove the underline when focussed to avoid duplicate borders\n .govuk-details__summary:focus .govuk-details__summary-text {\n text-decoration: none;\n }\n\n // Remove the default details marker so we can style our own consistently and\n // ensure it displays in Firefox (see implementation.md for details)\n .govuk-details__summary::-webkit-details-marker {\n display: none;\n }\n\n // Append our own open / closed marker using a pseudo-element\n .govuk-details__summary:before {\n content: \"\";\n position: absolute;\n\n top: -1px;\n bottom: 0;\n left: 0;\n\n margin: auto;\n\n @include govuk-shape-arrow($direction: right, $base: 14px);\n\n .govuk-details[open] > & {\n @include govuk-shape-arrow($direction: down, $base: 14px);\n }\n }\n\n .govuk-details__text {\n padding-top: govuk-spacing(3);\n padding-bottom: govuk-spacing(3);\n padding-left: govuk-spacing(4);\n border-left: $govuk-border-width solid $govuk-border-colour;\n }\n\n .govuk-details__text p {\n margin-top: 0;\n margin-bottom: govuk-spacing(4);\n }\n\n .govuk-details__text > :last-child {\n margin-bottom: 0;\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/error-message/_error-message.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_error-message.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
|