govuk_publishing_components 64.1.2 → 64.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +3 -3
  3. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +5 -1
  4. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +0 -20
  5. data/app/controllers/govuk_publishing_components/applications_page_controller.rb +5 -2
  6. data/app/controllers/govuk_publishing_components/audit_controller.rb +3 -2
  7. data/app/models/govuk_publishing_components/applications_page.rb +39 -4
  8. data/app/views/govuk_publishing_components/applications_page/_table-content.html.erb +9 -0
  9. data/app/views/govuk_publishing_components/applications_page/show.html.erb +1 -0
  10. data/app/views/govuk_publishing_components/components/_service_navigation.html.erb +1 -1
  11. data/app/views/govuk_publishing_components/components/docs/attachment.yml +1 -2
  12. data/app/views/govuk_publishing_components/components/docs/details.yml +1 -8
  13. data/app/views/govuk_publishing_components/components/docs/error_alert.yml +2 -4
  14. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +7 -7
  15. data/app/views/govuk_publishing_components/components/docs/modal_dialogue.yml +1 -1
  16. data/app/views/govuk_publishing_components/components/docs/table.yml +2 -2
  17. data/app/views/govuk_publishing_components/components/docs/tabs.yml +2 -6
  18. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +2 -3
  19. data/lib/govuk_publishing_components/presenters/pagination_helper.rb +1 -1
  20. data/lib/govuk_publishing_components/version.rb +1 -1
  21. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +31 -3
  22. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  23. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +31 -3
  24. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  25. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  26. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +5 -0
  27. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +1 -1
  28. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +8 -0
  29. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  30. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +95 -23
  31. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +1 -1
  32. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +22 -22
  33. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +22 -22
  34. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +22 -22
  35. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +17 -17
  36. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +22 -22
  37. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +17 -17
  38. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +22 -22
  39. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +22 -22
  40. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +22 -22
  41. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +22 -22
  42. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +16 -0
  43. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +20 -0
  44. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +59 -0
  45. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +30 -28
  46. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +12 -0
  47. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  48. data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +31 -9
  49. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-default.html +3 -3
  50. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-first-page.html +3 -3
  51. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-last-page.html +3 -3
  52. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-link-and-item-text.html +3 -3
  53. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +9 -9
  54. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +3 -1
  55. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +1 -1
  56. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  57. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +18 -18
  58. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js +30 -2
  59. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js.map +1 -1
  60. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs +30 -2
  61. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs.map +1 -1
  62. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs +30 -2
  63. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs.map +1 -1
  64. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-default.html +1 -1
  65. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-inverse.html +1 -1
  66. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item-and-collapsenavigationonmobile-set-to-true.html +1 -1
  67. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-html-navigation-items.html +1 -1
  68. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-large-navigation.html +1 -1
  69. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-a-current-item.html +1 -1
  70. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-non-link-navigation-items.html +1 -1
  71. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name-and-navigation.html +1 -1
  72. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template.njk +1 -1
  73. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +4 -0
  74. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
  75. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +1 -1
  76. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  77. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  78. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  79. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  80. data/node_modules/govuk-frontend/dist/govuk/macros/attributes.njk +30 -14
  81. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +1 -1
  82. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
  83. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -1
  84. data/node_modules/govuk-frontend/package.json +1 -1
  85. metadata +4 -1
@@ -1,4 +1,4 @@
1
- const version = '5.13.0';
1
+ const version = '5.14.0';
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=govuk-frontend-version.mjs.map
@@ -14,6 +14,11 @@
14
14
  display: inline-block;
15
15
  margin-right: govuk-spacing(4);
16
16
  margin-bottom: 0;
17
+
18
+ // Prevents an issue in iOS Safari 18 where the items vertically
19
+ // shift when the value of inputs is changed.
20
+ // https://github.com/alphagov/reported-bugs/issues/90
21
+ vertical-align: bottom;
17
22
  }
18
23
 
19
24
  .govuk-date-input__label {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/date-input/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,wBAAwB;AACxB,uBAAuB;AACvB,wBAAwB;AACxB,2BAA2B;;AAE3B;EACE;IACE,uBAAuB;IACvB,YAAY,EAAE,2CAA2C;EAC3D;;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@import \"../fieldset/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 }\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"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/date-input/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,wBAAwB;AACxB,uBAAuB;AACvB,wBAAwB;AACxB,2BAA2B;;AAE3B;EACE;IACE,uBAAuB;IACvB,YAAY,EAAE,2CAA2C;EAC3D;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,gBAAgB;;IAEhB,+DAA+D;IAC/D,4CAA4C;IAC5C,qDAAqD;IACrD,sBAAsB;EACxB;;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@import \"../fieldset/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 }\n\n .govuk-date-input__item {\n display: inline-block;\n margin-right: govuk-spacing(4);\n margin-bottom: 0;\n\n // Prevents an issue in iOS Safari 18 where the items vertically\n // shift when the value of inputs is changed.\n // https://github.com/alphagov/reported-bugs/issues/90\n vertical-align: bottom;\n }\n\n .govuk-date-input__label {\n display: block;\n }\n\n .govuk-date-input__input {\n margin-bottom: 0;\n }\n}\n"]}
@@ -127,10 +127,18 @@
127
127
  padding: 0;
128
128
  }
129
129
 
130
+ .govuk-footer__inline-list:last-child {
131
+ margin-bottom: 0;
132
+ }
133
+
130
134
  .govuk-footer__meta-custom {
131
135
  margin-bottom: govuk-spacing(4);
132
136
  }
133
137
 
138
+ .govuk-footer__meta-custom:last-child {
139
+ margin-bottom: 0;
140
+ }
141
+
134
142
  .govuk-footer__inline-list-item {
135
143
  display: inline-block;
136
144
  margin-right: govuk-spacing(3);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/footer/_index.scss"],"names":[],"mappings":"AAAA;EACE,2DAA2D;EAC3D,sCAAsC;EACtC,kDAAkD;;EAElD,6BAA6B;EAC7B,sCAAsC;EACtC,uCAAuC;;EAEvC;IACE,mEAAmE;IACnE,2CAA2C;IAC3C,8CAA8C;;IAE9C,0CAA0C;IAC1C,yBAAyB;IACzB;;;;KAIC;EACH;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,0BAA0B;IAC1B,8BAA8B;EAChC;;EAEA;IACE,SAAS,EAAE,8BAA8B;IACzC,6CAA6C;IAC7C,SAAS,EAAE,8BAA8B;IACzC,wBAAwB;IACxB;;;;KAIC;EACH;;EAEA;IACE,aAAa,EAAE,kBAAkB;IACjC,iCAAiC;IACjC,gCAAgC;IAChC,eAAe,EAAE,kBAAkB;IACnC,qBAAqB,EAAE,kBAAkB;IACzC,uBAAuB,EAAE,kBAAkB;EAC7C;;EAEA;IACE,gCAAgC;IAChC,+BAA+B;IAC/B,+BAA+B;EACjC;;EAEA;IACE,OAAO,EAAE,kBAAkB;IAC3B;MACE,iBAAiB,EAAE,kBAAkB;IACvC;EACF;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B;MACE,+BAA+B;IACjC;IACA,mBAAmB;IACnB,wEAAwE;IACxE,mDAAmD;IACnD,yBAAyB;EAC3B;;EAEA;IACE,qFAAqF;IACrF,qBAAqB;IACrB,+EAA+E;IAC/E,uCAAuC;IACvC,kBAAkB;EACpB;;EAEA;IACE,WAAW;IACX,cAAc;IACd,WAAW;IACX,kEAAkE;IAClE,oDAAoD;IACpD,4BAA4B;IAC5B,2BAA2B;IAC3B,iFAAiF;IACjF,kBAAkB;IAClB,mBAAmB;;IAEnB,kEAAkE;IAClE,qEAAqE;IACrE,+DAA+D;IAC/D,yEAAyE;IACzE,sBAAsB;IACtB;MACE,wBAAwB;MACxB,sDAA8C;cAA9C,8CAA8C;MAC9C,8BAAsB;cAAtB,sBAAsB;MACtB,6BAAqB;cAArB,qBAAqB;MACrB,mFAA2E;cAA3E,2EAA2E;;MAE3E,qEAAqE;MACrE,mEAAmE;MACnE,iCAAiC;MACjC;QACE,oBAAoB;MACtB;IACF;EACF;;EAEA;IACE,aAAa;IACb,+BAA+B;IAC/B,UAAU;EACZ;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,+BAA+B;EACjC;;EAEA;IACE,+BAA+B;IAC/B,gCAAgC;;IAEhC;MACE,gCAAgC;IAClC;;IAEA,wBAAwB;IACxB;;;;KAIC;EACH;;EAEA;IACE,uBAAuB;IACvB,iCAAiC;IACjC,gCAAgC;EAClC;;EAEA;IACE,qBAAqB;IACrB,4BAA4B;IAC5B,mBAAmB;EACrB;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;IAChB,yBAAyB,EAAE,kBAAkB;EAC/C;;EAEA;IACE;MACE,eAAe,EAAE,kBAAkB;IACrC;;IAEA;MACE,eAAe,EAAE,kBAAkB;IACrC;EACF;;EAEA;IACE,6CAA6C;EAC/C;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/footer\") {\n $govuk-footer-background: $govuk-template-background-colour;\n $govuk-footer-text: $govuk-text-colour;\n $govuk-footer-content-border: $govuk-border-colour;\n\n // Royal Arms image dimensions\n $govuk-footer-crest-image-width: 125px;\n $govuk-footer-crest-image-height: 102px;\n\n .govuk-footer {\n @include govuk-font($size: if($govuk-new-typography-scale, 19, 16));\n @include govuk-responsive-padding(7, \"top\");\n @include govuk-responsive-padding(5, \"bottom\");\n\n border-top: 10px solid $govuk-brand-colour;\n color: $govuk-footer-text;\n @include _govuk-rebrand(\n \"background\",\n $from: $govuk-footer-background,\n $to: $_govuk-rebrand-template-background-colour\n );\n }\n\n .govuk-footer__crown {\n margin-bottom: govuk-spacing(5);\n }\n\n .govuk-footer__link {\n @include govuk-link-common;\n @include govuk-link-style-text;\n }\n\n .govuk-footer__section-break {\n margin: 0; // Reset `<hr>` default margins\n @include govuk-responsive-margin(8, \"bottom\");\n border: 0; // Reset `<hr>` default borders\n border-bottom: 1px solid;\n @include _govuk-rebrand(\n \"border-bottom-color\",\n $from: $govuk-footer-content-border,\n $to: $_govuk-rebrand-border-colour-on-blue-tint-95\n );\n }\n\n .govuk-footer__meta {\n display: flex; // Support: Flexbox\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n flex-wrap: wrap; // Support: Flexbox\n align-items: flex-end; // Support: Flexbox\n justify-content: center; // Support: Flexbox\n }\n\n .govuk-footer__meta-item {\n margin-right: $govuk-gutter-half;\n margin-bottom: govuk-spacing(5);\n margin-left: $govuk-gutter-half;\n }\n\n .govuk-footer__meta-item--grow {\n flex: 1; // Support: Flexbox\n @media #{govuk-until-breakpoint(tablet)} {\n flex-basis: 320px; // Support: Flexbox\n }\n }\n\n .govuk-footer__licence-logo {\n display: inline-block;\n margin-right: govuk-spacing(2);\n @media #{govuk-until-breakpoint(desktop)} {\n margin-bottom: govuk-spacing(3);\n }\n vertical-align: top;\n // Work around SVGs not inheriting color from parent in forced color mode\n // (https://github.com/w3c/csswg-drafts/issues/6310)\n forced-color-adjust: auto;\n }\n\n .govuk-footer__licence-description {\n // This makes the license description reflow under the logo when space gets too narrow\n display: inline-block;\n // This prevents the description from having orphans when space is narrow enough\n // and makes the text reflow more nicely\n text-wrap: balance;\n }\n\n .govuk-footer__copyright-logo::before {\n content: \"\";\n display: block;\n width: 100%;\n padding-top: ($govuk-footer-crest-image-height + govuk-spacing(2));\n background-image: govuk-image-url(\"govuk-crest.svg\");\n background-repeat: no-repeat;\n background-position: 50% 0%;\n background-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n text-align: center;\n white-space: nowrap;\n\n // Where possible use the crest as a mask instead. This lets us use\n // currentColor, increasing the contrast of the image and matching the\n // user's prefered foreground colour in e.g. forced colors mode.\n // We test for `mask-position` rather than `mask-image` because of a false\n // positive in Edge 17.\n @supports (mask-position: initial) {\n background: currentcolor;\n mask-image: govuk-image-url(\"govuk-crest.svg\");\n mask-repeat: no-repeat;\n mask-position: 50% 0%;\n mask-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n\n // currentcolor doesn't seem to be computed correctly in forced colors\n // mode so force the background color to match the system link color\n // (matching the text in the link)\n @media screen and (forced-colors: active) {\n background: linktext;\n }\n }\n }\n\n .govuk-footer__inline-list {\n margin-top: 0;\n margin-bottom: govuk-spacing(3);\n padding: 0;\n }\n\n .govuk-footer__meta-custom {\n margin-bottom: govuk-spacing(4);\n }\n\n .govuk-footer__inline-list-item {\n display: inline-block;\n margin-right: govuk-spacing(3);\n margin-bottom: govuk-spacing(1);\n }\n\n .govuk-footer__heading {\n margin-bottom: govuk-spacing(6);\n padding-bottom: govuk-spacing(4);\n\n @media #{govuk-until-breakpoint(tablet)} {\n padding-bottom: govuk-spacing(2);\n }\n\n border-bottom: 1px solid;\n @include _govuk-rebrand(\n \"border-bottom-color\",\n $from: $govuk-footer-content-border,\n $to: $_govuk-rebrand-border-colour-on-blue-tint-95\n );\n }\n\n .govuk-footer__navigation {\n @include govuk-clearfix;\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n }\n\n .govuk-footer__section {\n display: inline-block;\n margin-bottom: $govuk-gutter;\n vertical-align: top;\n }\n\n .govuk-footer__list {\n margin: 0;\n padding: 0;\n list-style: none;\n column-gap: $govuk-gutter; // Support: Columns\n }\n\n @media #{govuk-from-breakpoint(desktop)} {\n .govuk-footer__list--columns-2 {\n column-count: 2; // Support: Columns\n }\n\n .govuk-footer__list--columns-3 {\n column-count: 3; // Support: Columns\n }\n }\n\n .govuk-footer__list-item {\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-footer__list-item:last-child {\n margin-bottom: 0;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/footer/_index.scss"],"names":[],"mappings":"AAAA;EACE,2DAA2D;EAC3D,sCAAsC;EACtC,kDAAkD;;EAElD,6BAA6B;EAC7B,sCAAsC;EACtC,uCAAuC;;EAEvC;IACE,mEAAmE;IACnE,2CAA2C;IAC3C,8CAA8C;;IAE9C,0CAA0C;IAC1C,yBAAyB;IACzB;;;;KAIC;EACH;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,0BAA0B;IAC1B,8BAA8B;EAChC;;EAEA;IACE,SAAS,EAAE,8BAA8B;IACzC,6CAA6C;IAC7C,SAAS,EAAE,8BAA8B;IACzC,wBAAwB;IACxB;;;;KAIC;EACH;;EAEA;IACE,aAAa,EAAE,kBAAkB;IACjC,iCAAiC;IACjC,gCAAgC;IAChC,eAAe,EAAE,kBAAkB;IACnC,qBAAqB,EAAE,kBAAkB;IACzC,uBAAuB,EAAE,kBAAkB;EAC7C;;EAEA;IACE,gCAAgC;IAChC,+BAA+B;IAC/B,+BAA+B;EACjC;;EAEA;IACE,OAAO,EAAE,kBAAkB;IAC3B;MACE,iBAAiB,EAAE,kBAAkB;IACvC;EACF;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B;MACE,+BAA+B;IACjC;IACA,mBAAmB;IACnB,wEAAwE;IACxE,mDAAmD;IACnD,yBAAyB;EAC3B;;EAEA;IACE,qFAAqF;IACrF,qBAAqB;IACrB,+EAA+E;IAC/E,uCAAuC;IACvC,kBAAkB;EACpB;;EAEA;IACE,WAAW;IACX,cAAc;IACd,WAAW;IACX,kEAAkE;IAClE,oDAAoD;IACpD,4BAA4B;IAC5B,2BAA2B;IAC3B,iFAAiF;IACjF,kBAAkB;IAClB,mBAAmB;;IAEnB,kEAAkE;IAClE,qEAAqE;IACrE,+DAA+D;IAC/D,yEAAyE;IACzE,sBAAsB;IACtB;MACE,wBAAwB;MACxB,sDAA8C;cAA9C,8CAA8C;MAC9C,8BAAsB;cAAtB,sBAAsB;MACtB,6BAAqB;cAArB,qBAAqB;MACrB,mFAA2E;cAA3E,2EAA2E;;MAE3E,qEAAqE;MACrE,mEAAmE;MACnE,iCAAiC;MACjC;QACE,oBAAoB;MACtB;IACF;EACF;;EAEA;IACE,aAAa;IACb,+BAA+B;IAC/B,UAAU;EACZ;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,+BAA+B;EACjC;;EAEA;IACE,+BAA+B;IAC/B,gCAAgC;;IAEhC;MACE,gCAAgC;IAClC;;IAEA,wBAAwB;IACxB;;;;KAIC;EACH;;EAEA;IACE,uBAAuB;IACvB,iCAAiC;IACjC,gCAAgC;EAClC;;EAEA;IACE,qBAAqB;IACrB,4BAA4B;IAC5B,mBAAmB;EACrB;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;IAChB,yBAAyB,EAAE,kBAAkB;EAC/C;;EAEA;IACE;MACE,eAAe,EAAE,kBAAkB;IACrC;;IAEA;MACE,eAAe,EAAE,kBAAkB;IACrC;EACF;;EAEA;IACE,6CAA6C;EAC/C;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/footer\") {\n $govuk-footer-background: $govuk-template-background-colour;\n $govuk-footer-text: $govuk-text-colour;\n $govuk-footer-content-border: $govuk-border-colour;\n\n // Royal Arms image dimensions\n $govuk-footer-crest-image-width: 125px;\n $govuk-footer-crest-image-height: 102px;\n\n .govuk-footer {\n @include govuk-font($size: if($govuk-new-typography-scale, 19, 16));\n @include govuk-responsive-padding(7, \"top\");\n @include govuk-responsive-padding(5, \"bottom\");\n\n border-top: 10px solid $govuk-brand-colour;\n color: $govuk-footer-text;\n @include _govuk-rebrand(\n \"background\",\n $from: $govuk-footer-background,\n $to: $_govuk-rebrand-template-background-colour\n );\n }\n\n .govuk-footer__crown {\n margin-bottom: govuk-spacing(5);\n }\n\n .govuk-footer__link {\n @include govuk-link-common;\n @include govuk-link-style-text;\n }\n\n .govuk-footer__section-break {\n margin: 0; // Reset `<hr>` default margins\n @include govuk-responsive-margin(8, \"bottom\");\n border: 0; // Reset `<hr>` default borders\n border-bottom: 1px solid;\n @include _govuk-rebrand(\n \"border-bottom-color\",\n $from: $govuk-footer-content-border,\n $to: $_govuk-rebrand-border-colour-on-blue-tint-95\n );\n }\n\n .govuk-footer__meta {\n display: flex; // Support: Flexbox\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n flex-wrap: wrap; // Support: Flexbox\n align-items: flex-end; // Support: Flexbox\n justify-content: center; // Support: Flexbox\n }\n\n .govuk-footer__meta-item {\n margin-right: $govuk-gutter-half;\n margin-bottom: govuk-spacing(5);\n margin-left: $govuk-gutter-half;\n }\n\n .govuk-footer__meta-item--grow {\n flex: 1; // Support: Flexbox\n @media #{govuk-until-breakpoint(tablet)} {\n flex-basis: 320px; // Support: Flexbox\n }\n }\n\n .govuk-footer__licence-logo {\n display: inline-block;\n margin-right: govuk-spacing(2);\n @media #{govuk-until-breakpoint(desktop)} {\n margin-bottom: govuk-spacing(3);\n }\n vertical-align: top;\n // Work around SVGs not inheriting color from parent in forced color mode\n // (https://github.com/w3c/csswg-drafts/issues/6310)\n forced-color-adjust: auto;\n }\n\n .govuk-footer__licence-description {\n // This makes the license description reflow under the logo when space gets too narrow\n display: inline-block;\n // This prevents the description from having orphans when space is narrow enough\n // and makes the text reflow more nicely\n text-wrap: balance;\n }\n\n .govuk-footer__copyright-logo::before {\n content: \"\";\n display: block;\n width: 100%;\n padding-top: ($govuk-footer-crest-image-height + govuk-spacing(2));\n background-image: govuk-image-url(\"govuk-crest.svg\");\n background-repeat: no-repeat;\n background-position: 50% 0%;\n background-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n text-align: center;\n white-space: nowrap;\n\n // Where possible use the crest as a mask instead. This lets us use\n // currentColor, increasing the contrast of the image and matching the\n // user's prefered foreground colour in e.g. forced colors mode.\n // We test for `mask-position` rather than `mask-image` because of a false\n // positive in Edge 17.\n @supports (mask-position: initial) {\n background: currentcolor;\n mask-image: govuk-image-url(\"govuk-crest.svg\");\n mask-repeat: no-repeat;\n mask-position: 50% 0%;\n mask-size: $govuk-footer-crest-image-width $govuk-footer-crest-image-height;\n\n // currentcolor doesn't seem to be computed correctly in forced colors\n // mode so force the background color to match the system link color\n // (matching the text in the link)\n @media screen and (forced-colors: active) {\n background: linktext;\n }\n }\n }\n\n .govuk-footer__inline-list {\n margin-top: 0;\n margin-bottom: govuk-spacing(3);\n padding: 0;\n }\n\n .govuk-footer__inline-list:last-child {\n margin-bottom: 0;\n }\n\n .govuk-footer__meta-custom {\n margin-bottom: govuk-spacing(4);\n }\n\n .govuk-footer__meta-custom:last-child {\n margin-bottom: 0;\n }\n\n .govuk-footer__inline-list-item {\n display: inline-block;\n margin-right: govuk-spacing(3);\n margin-bottom: govuk-spacing(1);\n }\n\n .govuk-footer__heading {\n margin-bottom: govuk-spacing(6);\n padding-bottom: govuk-spacing(4);\n\n @media #{govuk-until-breakpoint(tablet)} {\n padding-bottom: govuk-spacing(2);\n }\n\n border-bottom: 1px solid;\n @include _govuk-rebrand(\n \"border-bottom-color\",\n $from: $govuk-footer-content-border,\n $to: $_govuk-rebrand-border-colour-on-blue-tint-95\n );\n }\n\n .govuk-footer__navigation {\n @include govuk-clearfix;\n margin-right: -$govuk-gutter-half;\n margin-left: -$govuk-gutter-half;\n }\n\n .govuk-footer__section {\n display: inline-block;\n margin-bottom: $govuk-gutter;\n vertical-align: top;\n }\n\n .govuk-footer__list {\n margin: 0;\n padding: 0;\n list-style: none;\n column-gap: $govuk-gutter; // Support: Columns\n }\n\n @media #{govuk-from-breakpoint(desktop)} {\n .govuk-footer__list--columns-2 {\n column-count: 2; // Support: Columns\n }\n\n .govuk-footer__list--columns-3 {\n column-count: 3; // Support: Columns\n }\n }\n\n .govuk-footer__list-item {\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-footer__list-item:last-child {\n margin-bottom: 0;\n }\n}\n"]}