govuk_publishing_components 41.0.0 → 41.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +192 -171
  3. data/app/assets/stylesheets/component_guide/application.scss +10 -11
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +1 -1
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +2 -3
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +3 -3
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +1 -1
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -2
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +60 -23
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +3 -3
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +1 -3
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +2 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +19 -19
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +14 -10
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +3 -3
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +2 -2
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -1
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +8 -8
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +16 -10
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +2 -2
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +2 -2
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +33 -35
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +3 -3
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +1 -1
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +1 -1
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +3 -3
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +13 -3
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_panel.scss +1 -1
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +6 -6
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +2 -3
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +4 -3
  32. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +2 -3
  33. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +3 -4
  34. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +3 -3
  35. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +10 -10
  36. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +1 -1
  37. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +1 -1
  38. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +3 -3
  39. data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +1 -1
  40. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +5 -4
  41. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -1
  42. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +2 -2
  43. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.scss +2 -2
  44. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +1 -1
  45. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -1
  46. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +5 -5
  47. data/app/views/govuk_publishing_components/components/_cards.html.erb +11 -3
  48. data/app/views/govuk_publishing_components/components/docs/cards.yml +40 -29
  49. data/lib/govuk_publishing_components/version.rb +1 -1
  50. data/node_modules/axe-core/axe.d.ts +18 -5
  51. data/node_modules/axe-core/axe.js +757 -716
  52. data/node_modules/axe-core/axe.min.js +2 -2
  53. data/node_modules/axe-core/locales/_template.json +101 -96
  54. data/node_modules/axe-core/locales/de.json +12 -5
  55. data/node_modules/axe-core/locales/ja.json +15 -7
  56. data/node_modules/axe-core/package.json +14 -10
  57. data/node_modules/axe-core/sri-history.json +4 -0
  58. metadata +4 -4
@@ -107,14 +107,14 @@ $after-button-padding-left: govuk-spacing(4);
107
107
  }
108
108
 
109
109
  .gem-c-layout-super-navigation-header__button-container {
110
- @include govuk-media-query($until: "tablet") {
111
- margin-right: govuk-spacing(-3);
112
- }
113
-
114
110
  top: -$black-bar-height;
115
111
  position: absolute;
116
112
  right: 0;
117
113
 
114
+ @include govuk-media-query($until: "tablet") {
115
+ margin-right: govuk-spacing(-3);
116
+ }
117
+
118
118
  @include govuk-media-query($until: 300px) {
119
119
  position: static;
120
120
  }
@@ -147,15 +147,14 @@ $after-button-padding-left: govuk-spacing(4);
147
147
  // Top level navigation links and search link.
148
148
  .gem-c-layout-super-navigation-header__navigation-item-link,
149
149
  .gem-c-layout-super-navigation-header__search-item-link {
150
- @include govuk-link-common;
151
- @include govuk-link-style-no-visited-state;
152
-
153
150
  display: inline-block;
154
151
  font-size: 19px;
155
152
  font-size: govuk-px-to-rem(19px);
156
153
  font-weight: bold;
157
154
  padding: govuk-spacing(3) 0;
158
155
  position: relative;
156
+ @include govuk-link-common;
157
+ @include govuk-link-style-no-visited-state;
159
158
 
160
159
  @include govuk-media-query($from: "desktop") {
161
160
  display: block;
@@ -169,6 +168,12 @@ $after-button-padding-left: govuk-spacing(4);
169
168
  &,
170
169
  &:link,
171
170
  &:visited {
171
+ // stylelint-disable max-nesting-depth
172
+ float: left;
173
+ font-size: 16px;
174
+ font-size: govuk-px-to-rem(16px);
175
+ height: govuk-spacing(4);
176
+
172
177
  @include focus-and-focus-visible {
173
178
  @include govuk-focused-text;
174
179
  }
@@ -196,12 +201,6 @@ $after-button-padding-left: govuk-spacing(4);
196
201
  @include pseudo-underline($left: $after-link-padding, $right: $after-link-padding);
197
202
  }
198
203
 
199
- // stylelint-disable max-nesting-depth
200
- float: left;
201
- font-size: 16px;
202
- font-size: govuk-px-to-rem(16px);
203
- height: govuk-spacing(4);
204
-
205
204
  &::before {
206
205
  @include chevron(govuk-colour("white"), true);
207
206
  }
@@ -393,6 +392,19 @@ $after-button-padding-left: govuk-spacing(4);
393
392
 
394
393
  // Styles for top level navigation toggle button.
395
394
  .gem-c-layout-super-navigation-header__navigation-top-toggle-button {
395
+ font-size: 16px;
396
+ font-size: govuk-px-to-rem(16px);
397
+ font-weight: 700;
398
+ background: govuk-colour("black");
399
+ border: 0;
400
+ box-sizing: border-box;
401
+ color: govuk-colour("white");
402
+ cursor: pointer;
403
+ height: $black-bar-height;
404
+ padding: 0;
405
+ position: relative;
406
+ margin: 0;
407
+ vertical-align: top;
396
408
  @include govuk-link-common;
397
409
  @include govuk-link-style-no-visited-state;
398
410
  @include govuk-link-style-no-underline;
@@ -415,20 +427,6 @@ $after-button-padding-left: govuk-spacing(4);
415
427
  }
416
428
  }
417
429
 
418
- font-size: 16px;
419
- font-size: govuk-px-to-rem(16px);
420
- font-weight: 700;
421
- background: govuk-colour("black");
422
- border: 0;
423
- box-sizing: border-box;
424
- color: govuk-colour("white");
425
- cursor: pointer;
426
- height: $black-bar-height;
427
- padding: 0;
428
- position: relative;
429
- margin: 0;
430
- vertical-align: top;
431
-
432
430
  @include govuk-media-query($from: "desktop") {
433
431
  background: govuk-colour("black");
434
432
  display: block;
@@ -490,11 +488,11 @@ $after-button-padding-left: govuk-spacing(4);
490
488
  // stylelint-disable max-nesting-depth
491
489
  &:hover {
492
490
  .gem-c-layout-super-navigation-header__navigation-top-toggle-button-inner {
491
+ color: govuk-colour("mid-grey");
492
+
493
493
  &::before {
494
494
  @include chevron(govuk-colour("mid-grey"), true);
495
495
  }
496
-
497
- color: govuk-colour("mid-grey");
498
496
  }
499
497
 
500
498
  &::after {
@@ -607,7 +605,6 @@ $after-button-padding-left: govuk-spacing(4);
607
605
 
608
606
  // Styles for search toggle button.
609
607
  .gem-c-layout-super-navigation-header__search-toggle-button {
610
- @include govuk-font($size: 19, $weight: "bold", $line-height: 20px);
611
608
  background: none;
612
609
  border: 0;
613
610
  color: govuk-colour("white");
@@ -616,6 +613,7 @@ $after-button-padding-left: govuk-spacing(4);
616
613
  padding: govuk-spacing(3);
617
614
  position: relative;
618
615
  width: $search-width-or-height;
616
+ @include govuk-font($size: 19, $weight: "bold", $line-height: 20px);
619
617
 
620
618
  @include focus-and-focus-visible {
621
619
  @include govuk-focused-text;
@@ -753,14 +751,14 @@ $after-button-padding-left: govuk-spacing(4);
753
751
 
754
752
  // Dropdown menu.
755
753
  .gem-c-layout-super-navigation-header__navigation-dropdown-menu {
756
- @include govuk-media-query($until: 300px) {
757
- padding-top: 80px;
758
- }
759
-
760
754
  background: govuk-colour("light-grey");
761
755
  border-bottom: 1px govuk-colour("mid-grey") solid;
762
756
  padding-top: govuk-spacing(6);
763
757
 
758
+ @include govuk-media-query($until: 300px) {
759
+ padding-top: 80px;
760
+ }
761
+
764
762
  @include govuk-media-query($from: "desktop") {
765
763
  padding-top: govuk-spacing(8);
766
764
  }
@@ -877,11 +875,11 @@ $after-button-padding-left: govuk-spacing(4);
877
875
  }
878
876
 
879
877
  .gem-c-layout-super-navigation-header__navigation-second-item-description {
880
- @include govuk-typography-common;
881
878
  font-size: 16px;
882
879
  font-size: govuk-px-to-rem(16px);
883
880
  font-weight: normal;
884
881
  margin: govuk-spacing(1) 0 0 0;
882
+ @include govuk-typography-common;
885
883
  }
886
884
 
887
885
  .gem-c-layout-super-navigation-header__search-form {
@@ -1,12 +1,12 @@
1
1
  @import "govuk_publishing_components/individual_component_support";
2
2
 
3
3
  .gem-c-lead-paragraph {
4
- @include govuk-text-colour;
5
- @include govuk-font(24);
6
4
  margin-top: 0;
7
- @include responsive-bottom-margin;
8
5
  // Ensure the text has a line-length of around 60 characters
9
6
  max-width: 30em;
7
+ @include govuk-text-colour;
8
+ @include responsive-bottom-margin;
9
+ @include govuk-font(24);
10
10
  }
11
11
 
12
12
  .gem-c-lead-paragraph--inverse {
@@ -7,9 +7,9 @@
7
7
  @include govuk-clearfix;
8
8
 
9
9
  a {
10
+ font-weight: bold;
10
11
  @include govuk-link-common;
11
12
  @include govuk-link-style-default;
12
- font-weight: bold;
13
13
  }
14
14
 
15
15
  .gem-c-metadata__definition-link {
@@ -2,8 +2,8 @@
2
2
  @import "govuk/components/notification-banner/notification-banner";
3
3
 
4
4
  .gem-c-notice {
5
- @include govuk-responsive-margin(8, "bottom");
6
5
  clear: both;
6
+ @include govuk-responsive-margin(8, "bottom");
7
7
 
8
8
  .govuk-govspeak {
9
9
  p:last-child {
@@ -28,8 +28,8 @@
28
28
  }
29
29
 
30
30
  .gem-c-option-select__title {
31
- @include govuk-font(19);
32
31
  margin: 0;
32
+ @include govuk-font(19);
33
33
  }
34
34
 
35
35
  .gem-c-option-select__button {
@@ -111,8 +111,8 @@
111
111
  }
112
112
 
113
113
  .gem-c-option-select__filter-input {
114
- @include govuk-font(19);
115
114
  background: url("option-select/input-icon.svg") govuk-colour("white") no-repeat -5px -3px;
115
+ @include govuk-font(19);
116
116
 
117
117
  @include govuk-media-query($from: tablet) {
118
118
  @include govuk-font(16);
@@ -152,9 +152,9 @@
152
152
  }
153
153
 
154
154
  .gem-c-option-select__selected-counter {
155
- @include govuk-font($size: 16);
156
155
  color: $govuk-text-colour;
157
156
  margin-top: 3px;
157
+ @include govuk-font($size: 16);
158
158
  }
159
159
 
160
160
  .gem-c-option-select.js-closed {
@@ -2,12 +2,18 @@
2
2
 
3
3
  // Default logo corresponds with the "medium stacked" Whitehall equivalent
4
4
  .gem-c-organisation-logo {
5
- @include govuk-font($size: 19);
6
5
  font-weight: 400;
7
- line-height: 1.35;
8
6
  // When this is a heading the margin needs to be set to stop it from
9
7
  // inheriting the browser's default margin:
10
8
  margin: 0;
9
+ @include govuk-typography-common;
10
+ @include govuk-font-size(19);
11
+
12
+ @include govuk-media-query($until: tablet) {
13
+ // only override line-height on small screens otherwise use govuk-font-size
14
+ // line-height
15
+ line-height: 1.35;
16
+ }
11
17
  }
12
18
 
13
19
  .gem-c-organisation-logo__container {
@@ -52,7 +58,11 @@
52
58
  .gem-c-organisation-logo__link {
53
59
  @include govuk-link-common;
54
60
  @include govuk-link-style-text;
55
- font-family: HelveticaNeue, "Helvetica Neue", Arial, Helvetica, sans-serif;
61
+
62
+ & { // stylelint-disable-line no-duplicate-selectors
63
+ // overriding the govuk-link font
64
+ font-family: HelveticaNeue, "Helvetica Neue", Arial, Helvetica, sans-serif;
65
+ }
56
66
 
57
67
  &:hover {
58
68
  color: $govuk-link-hover-colour;
@@ -2,8 +2,8 @@
2
2
  @import "govuk/components/panel/panel";
3
3
 
4
4
  .gem-c-panel__prepend {
5
- @include govuk-font($size: 24, $weight: bold);
6
5
  margin-bottom: govuk-spacing(3);
6
+ @include govuk-font($size: 24, $weight: bold);
7
7
  }
8
8
 
9
9
  .gem-c-panel__append {
@@ -1,30 +1,30 @@
1
1
  @import "govuk_publishing_components/individual_component_support";
2
2
 
3
3
  .gem-c-related-navigation {
4
- @include govuk-text-colour;
5
4
  border-top: 2px solid govuk-colour("blue");
6
5
  margin-bottom: govuk-spacing(9);
6
+ @include govuk-text-colour;
7
7
  }
8
8
 
9
9
  .gem-c-related-navigation__main-heading {
10
- @include govuk-font(19, $weight: bold);
11
10
  margin-top: govuk-spacing(3);
12
11
  margin-bottom: govuk-spacing(2);
12
+ @include govuk-font(19, $weight: bold);
13
13
  }
14
14
 
15
15
  .gem-c-related-navigation__sub-heading {
16
- @include govuk-font(16);
17
16
  border-top: 1px solid govuk-colour("mid-grey");
18
17
  margin: 0;
19
18
  padding-top: govuk-spacing(3);
19
+ @include govuk-font(16);
20
20
  }
21
21
 
22
22
  .gem-c-related-navigation__sub-heading--footer {
23
- @include govuk-font(19, $weight: bold);
24
23
  border-top: 0;
25
24
  padding-top: 0;
26
25
  margin-top: govuk-spacing(3);
27
26
  margin-bottom: govuk-spacing(2);
27
+ @include govuk-font(19, $weight: bold);
28
28
  }
29
29
 
30
30
  .gem-c-related-navigation__main-heading + .gem-c-related-navigation__sub-heading {
@@ -33,9 +33,9 @@
33
33
  }
34
34
 
35
35
  .gem-c-related-navigation__sub-heading--other {
36
- @include govuk-font(19, $weight: bold);
37
36
  border-top: 0;
38
37
  padding-top: 0;
38
+ @include govuk-font(19, $weight: bold);
39
39
  }
40
40
 
41
41
  .gem-c-related-navigation__nav-section {
@@ -59,9 +59,9 @@
59
59
  }
60
60
 
61
61
  .gem-c-related-navigation__toggle {
62
+ display: none;
62
63
  @include govuk-link-common;
63
64
  @include govuk-link-style-no-visited-state;
64
- display: none;
65
65
 
66
66
  .js-enabled & {
67
67
  display: inline-block;
@@ -1,13 +1,12 @@
1
1
  @import "govuk_publishing_components/individual_component_support";
2
2
 
3
3
  .gem-c-reorderable-list {
4
- @include govuk-font(19, bold);
5
-
6
4
  list-style-type: none;
7
5
  margin-bottom: govuk-spacing(6);
8
6
  margin-top: 0;
9
7
  padding-left: 0;
10
8
  position: relative;
9
+ @include govuk-font(19, bold);
11
10
 
12
11
  .govuk-form-group {
13
12
  margin-bottom: 0;
@@ -57,8 +56,8 @@
57
56
  }
58
57
 
59
58
  .gem-c-reorderable-list__description {
60
- @include govuk-font(16, regular);
61
59
  margin: 0;
60
+ @include govuk-font(16, regular);
62
61
  }
63
62
 
64
63
  .gem-c-reorderable-list__actions {
@@ -28,13 +28,13 @@ $large-input-size: 50px;
28
28
  }
29
29
 
30
30
  .gem-c-search__label {
31
- @include govuk-font($size: 19, $line-height: $input-size);
32
31
  display: block;
33
32
  color: $govuk-text-colour;
33
+ @include govuk-font($size: 19, $line-height: $input-size);
34
34
 
35
35
  h1 {
36
- @include govuk-font($size: 19, $line-height: $input-size);
37
36
  margin: 0;
37
+ @include govuk-font($size: 19, $line-height: $input-size);
38
38
  }
39
39
 
40
40
  .js-enabled & {
@@ -65,7 +65,6 @@ $large-input-size: 50px;
65
65
  }
66
66
 
67
67
  .gem-c-search__input[type="search"] { // overly specific to prevent some overrides from outside
68
- @include govuk-font($size: 19, $line-height: (28 / 19));
69
68
  margin: 0;
70
69
  width: 100%;
71
70
  height: govuk-em(40, 16);
@@ -77,6 +76,8 @@ $large-input-size: 50px;
77
76
  -webkit-appearance: none;
78
77
  -moz-appearance: none;
79
78
  appearance: none;
79
+ @include govuk-font($size: 19, $line-height: (28 / 19));
80
+
80
81
  @include govuk-media-query($from: tablet) {
81
82
  height: govuk-em(40, 19);
82
83
  padding: govuk-em(6, 19);
@@ -22,9 +22,8 @@ $share-button-height: 30px;
22
22
  }
23
23
 
24
24
  .gem-c-share-links__link {
25
- @include govuk-font(16, $weight: bold);
26
25
  margin-right: govuk-spacing(6);
27
-
26
+ @include govuk-font(16, $weight: bold);
28
27
  @include govuk-template-link-focus-override;
29
28
  }
30
29
 
@@ -64,9 +63,9 @@ $column-width: 9.5em;
64
63
 
65
64
  .gem-c-share-links--columns {
66
65
  .gem-c-share-links__list {
67
- @include govuk-clearfix;
68
66
  display: grid;
69
67
  grid-template-columns: repeat(auto-fit, minmax($column-width, 1fr));
68
+ @include govuk-clearfix;
70
69
  }
71
70
 
72
71
  .gem-c-share-links__list-item {
@@ -1,14 +1,13 @@
1
1
  @import "govuk_publishing_components/individual_component_support";
2
2
 
3
3
  .gem-c-step-nav-header {
4
- @include govuk-font(24, $weight: bold);
5
- @include govuk-text-colour;
6
-
7
4
  position: relative;
8
5
  padding: 10px;
9
6
  background: govuk-colour("light-grey");
10
7
  border-bottom: solid 1px govuk-colour("blue");
11
8
  margin-top: govuk-spacing(3);
9
+ @include govuk-font(24, $weight: bold);
10
+ @include govuk-text-colour;
12
11
 
13
12
  @include govuk-media-query($from: tablet) {
14
13
  padding: govuk-spacing(5);
@@ -16,8 +15,8 @@
16
15
  }
17
16
 
18
17
  .gem-c-step-nav-header__part-of {
19
- @include govuk-font(19, $weight: bold);
20
18
  display: block;
19
+ @include govuk-font(19, $weight: bold);
21
20
  }
22
21
 
23
22
  @include govuk-media-query($media-type: print) {
@@ -1,9 +1,9 @@
1
1
  @import "govuk_publishing_components/individual_component_support";
2
2
 
3
3
  .gem-c-step-nav-related {
4
- @include govuk-text-colour;
5
4
  border-top: 2px solid govuk-colour("blue");
6
5
  margin-bottom: govuk-spacing(6);
6
+ @include govuk-text-colour;
7
7
  }
8
8
 
9
9
  .gem-c-step-nav-related__heading {
@@ -13,18 +13,18 @@
13
13
  }
14
14
 
15
15
  .gem-c-step-nav-related__links {
16
- @include govuk-font(16);
17
16
  list-style: none;
18
17
  margin: 0;
19
18
  padding: 0;
19
+ @include govuk-font(16);
20
20
  }
21
21
 
22
22
  .gem-c-step-nav-related--singular {
23
23
  margin-bottom: govuk-spacing(2) + 3;
24
24
 
25
25
  .gem-c-step-nav-related__heading {
26
- @include govuk-font(19, $weight: bold, $line-height: 1.4);
27
26
  margin-top: govuk-spacing(4);
27
+ @include govuk-font(19, $weight: bold, $line-height: 1.4);
28
28
  }
29
29
 
30
30
  .gem-c-step-nav-related__pretitle {
@@ -29,10 +29,10 @@ $top-border: solid 1px govuk-colour("mid-grey");
29
29
  // we want to ensure that both large and small step navs have the same size font on mobile
30
30
  // this will stop text resizing if compatibility mode is turned off
31
31
  @mixin step-nav-font($size, $tablet-size: $size, $weight: normal, $line-height: 1.3, $tablet-line-height: $line-height) {
32
- @include govuk-typography-common;
33
32
  font-size: $size + px;
34
33
  font-weight: $weight;
35
34
  line-height: $line-height;
35
+ @include govuk-typography-common;
36
36
 
37
37
  @include govuk-media-query($from: tablet) {
38
38
  font-size: $tablet-size + px;
@@ -167,12 +167,12 @@ $top-border: solid 1px govuk-colour("mid-grey");
167
167
  }
168
168
 
169
169
  .gem-c-step-nav__button--title {
170
- @include step-nav-font(19, $weight: bold, $line-height: 1.2);
171
170
  display: inline-block;
172
171
  padding: govuk-spacing(1) 0 0;
173
172
  text-align: left;
174
173
  color: govuk-colour("black");
175
174
  width: 100%;
175
+ @include step-nav-font(19, $weight: bold, $line-height: 1.2);
176
176
 
177
177
  .gem-c-step-nav--large & {
178
178
  @include step-nav-font(19, $tablet-size: 24, $weight: bold);
@@ -184,11 +184,11 @@ $top-border: solid 1px govuk-colour("mid-grey");
184
184
  }
185
185
 
186
186
  .gem-c-step-nav__button--controls {
187
- @include step-nav-font(15);
188
187
  position: relative;
189
188
  z-index: 1; // this and relative position stops focus outline underlap with border of accordion
190
189
  margin: .5em 0 14px;
191
190
  padding: govuk-spacing(1) 0 govuk-spacing(1);
191
+ @include step-nav-font(15);
192
192
 
193
193
  .gem-c-step-nav--large & {
194
194
  @include step-nav-font(15, $tablet-size: 19);
@@ -321,8 +321,8 @@ $top-border: solid 1px govuk-colour("mid-grey");
321
321
  }
322
322
 
323
323
  .gem-c-step-nav__circle--number {
324
- @include step-nav-font(16, $weight: bold, $line-height: 29px);
325
324
  border: solid $stroke-width govuk-colour("mid-grey");
325
+ @include step-nav-font(16, $weight: bold, $line-height: 29px);
326
326
 
327
327
  .gem-c-step-nav--large & {
328
328
  @include step-nav-font(16, $tablet-size: 19, $weight: bold, $line-height: 29px, $tablet-line-height: 34px);
@@ -339,10 +339,10 @@ $top-border: solid 1px govuk-colour("mid-grey");
339
339
  }
340
340
 
341
341
  .gem-c-step-nav__circle--logic {
342
- @include step-nav-font(19, $weight: bold, $line-height: 28px);
343
342
  left: 3px;
344
343
  width: govuk-em($number-circle-size, 19);
345
344
  height: govuk-em($number-circle-size, 19);
345
+ @include step-nav-font(19, $weight: bold, $line-height: 28px);
346
346
 
347
347
  .gem-c-step-nav--large & {
348
348
  @include step-nav-font(19, $tablet-size: 24, $weight: bold, $line-height: 28px, $tablet-line-height: 34px);
@@ -395,9 +395,9 @@ $top-border: solid 1px govuk-colour("mid-grey");
395
395
  }
396
396
 
397
397
  .gem-c-step-nav__title {
398
- @include govuk-text-colour;
399
- @include step-nav-font(19, $weight: bold, $line-height: 1.4);
400
398
  margin: 0;
399
+ @include step-nav-font(19, $weight: bold, $line-height: 1.4);
400
+ @include govuk-text-colour;
401
401
 
402
402
  .gem-c-step-nav--large & {
403
403
  @include step-nav-font(19, $tablet-size: 24, $weight: bold, $line-height: 1.4);
@@ -405,11 +405,11 @@ $top-border: solid 1px govuk-colour("mid-grey");
405
405
  }
406
406
 
407
407
  .gem-c-step-nav__toggle-link {
408
- @include step-nav-font(15, $line-height: 1.2);
409
408
  display: block;
410
409
  color: $govuk-link-colour;
411
410
  text-transform: capitalize;
412
411
  padding-bottom: govuk-spacing(6);
412
+ @include step-nav-font(15, $line-height: 1.2);
413
413
 
414
414
  .gem-c-step-nav--large & {
415
415
  @include step-nav-font(15, $tablet-size: 19, $line-height: 1.2);
@@ -417,9 +417,9 @@ $top-border: solid 1px govuk-colour("mid-grey");
417
417
  }
418
418
 
419
419
  .gem-c-step-nav__panel {
420
- @include govuk-text-colour;
421
- @include step-nav-font(16);
422
420
  padding-bottom: govuk-spacing(5);
421
+ @include step-nav-font(16);
422
+ @include govuk-text-colour;
423
423
 
424
424
  .gem-c-step-nav--large & {
425
425
  @include step-nav-font(16, $tablet-size: 19);
@@ -58,10 +58,10 @@
58
58
  .gem-c-subscription-links__item--button {
59
59
  cursor: pointer;
60
60
  display: none;
61
- @include govuk-font(19, $weight: bold);
62
61
  padding: govuk-spacing(2);
63
62
  border: 1px solid $gem-quiet-button-colour;
64
63
  background-color: $gem-secondary-button-background-colour;
64
+ @include govuk-font(19, $weight: bold);
65
65
 
66
66
  .js-enabled & {
67
67
  display: inline-block;
@@ -33,11 +33,11 @@ $table-row-even-background-colour: govuk-colour("light-grey");
33
33
  }
34
34
 
35
35
  .app-table__sort-link {
36
- @include govuk-link-style-no-visited-state;
37
36
  position: relative;
38
37
  padding-right: $sort-link-arrow-size;
39
38
  color: $govuk-link-colour;
40
39
  text-decoration: none;
40
+ @include govuk-link-style-no-visited-state;
41
41
  }
42
42
 
43
43
  .app-table__sort-link:focus {
@@ -1,18 +1,18 @@
1
1
  @import "govuk_publishing_components/individual_component_support";
2
2
 
3
3
  .gem-c-translation-nav {
4
+ margin-bottom: govuk-spacing(6);
5
+ border-bottom: 1px solid $govuk-border-colour;
4
6
  @include responsive-top-margin;
5
7
  @include govuk-text-colour;
6
8
  @include govuk-font(16);
7
- margin-bottom: govuk-spacing(6);
8
- border-bottom: 1px solid $govuk-border-colour;
9
9
  }
10
10
 
11
11
  .gem-c-translation-nav__list {
12
- @include govuk-clearfix;
13
12
  list-style: none;
14
13
  margin: 0 (- govuk-spacing(2));
15
14
  padding: 0;
15
+ @include govuk-clearfix;
16
16
  }
17
17
 
18
18
  .gem-c-translation-nav__list-item {
@@ -2,11 +2,11 @@
2
2
  @import "govuk/components/warning-text/warning-text";
3
3
 
4
4
  .gem-c-warning-text .govuk-warning-text__text {
5
+ margin: 0;
5
6
  // Ensure the font-size is always set to 19px
6
7
  // This prevents the default user agent styles being applied to heading elements used in the warning-text component following a change in v5.0.0, see:
7
8
  // https://github.com/alphagov/govuk-frontend/pull/4267
8
9
  @include govuk-font($size: 19, $weight: bold);
9
- margin: 0;
10
10
  }
11
11
 
12
12
  .gem-c-warning-text__text--no-indent {
@@ -56,8 +56,8 @@
56
56
 
57
57
  .attachment-details {
58
58
  h2 {
59
- @include govuk-font($size: 27);
60
59
  margin: 0;
60
+ @include govuk-font($size: 27);
61
61
  }
62
62
 
63
63
  p {
@@ -97,12 +97,13 @@
97
97
  }
98
98
 
99
99
  .accessibility-warning {
100
+ word-break: break-word;
101
+ word-wrap: break-word;
102
+
100
103
  h2 {
101
- @include govuk-font($size: 16);
102
104
  margin: 0;
105
+ @include govuk-font($size: 16);
103
106
  }
104
- word-break: break-word;
105
- word-wrap: break-word;
106
107
  }
107
108
 
108
109
  .js-hidden {
@@ -19,8 +19,8 @@
19
19
  }
20
20
 
21
21
  .contact {
22
- @include govuk-clearfix;
23
22
  position: relative;
23
+ @include govuk-clearfix;
24
24
 
25
25
  .content {
26
26
  float: none;
@@ -13,14 +13,14 @@ $highlight-answer-color: govuk-colour("white");
13
13
  margin: 0 -1em 1em;
14
14
 
15
15
  p {
16
- @include govuk-font($size: 24, $weight: bold);
17
16
  color: $highlight-answer-color;
17
+ @include govuk-font($size: 24, $weight: bold);
18
18
 
19
19
  em {
20
- @include govuk-font($size: 80, $weight: bold);
21
20
  display: block;
22
21
  padding-top: .1em;
23
22
  color: $highlight-answer-color;
23
+ @include govuk-font($size: 80, $weight: bold);
24
24
  }
25
25
  }
26
26