govuk_publishing_components 21.57.0 → 21.60.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -6
  3. data/app/assets/javascripts/component_guide/accessibility-test.js +21 -21
  4. data/app/assets/javascripts/component_guide/filter-components.js +19 -19
  5. data/app/assets/javascripts/component_guide/visual-regression.js +38 -37
  6. data/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js +2 -2
  7. data/app/assets/javascripts/govuk_publishing_components/components/details.js +6 -4
  8. data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +4 -4
  9. data/app/assets/javascripts/govuk_publishing_components/lib/auto-track-event.js +31 -0
  10. data/app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js +24 -24
  11. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +17 -17
  12. data/app/assets/stylesheets/component_guide/application.scss +15 -15
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +1 -9
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +4 -0
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +1 -8
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +0 -1
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +4 -5
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +3 -8
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +1 -1
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +1 -1
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +5 -8
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_list.scss +1 -0
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +4 -0
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +2 -2
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +7 -3
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +0 -5
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -4
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +8 -12
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +21 -24
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +4 -8
  32. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +2 -0
  33. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +1 -4
  34. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +6 -6
  35. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +2 -0
  36. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +2 -0
  37. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +2 -0
  38. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
  39. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +2 -0
  40. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -1
  41. data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss +2 -0
  42. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -4
  43. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss +2 -10
  44. data/app/controllers/govuk_publishing_components/audit_controller.rb +52 -0
  45. data/app/controllers/govuk_publishing_components/component_guide_controller.rb +2 -1
  46. data/app/models/govuk_publishing_components/audit_applications.rb +105 -0
  47. data/app/models/govuk_publishing_components/audit_comparer.rb +185 -0
  48. data/app/models/govuk_publishing_components/audit_components.rb +158 -0
  49. data/app/views/govuk_publishing_components/audit/show.html.erb +229 -0
  50. data/app/views/govuk_publishing_components/component_guide/index.html.erb +9 -4
  51. data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +1 -1
  52. data/app/views/govuk_publishing_components/components/_list.html.erb +26 -0
  53. data/app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb +1 -1
  54. data/app/views/govuk_publishing_components/components/_radio.html.erb +13 -5
  55. data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +2 -2
  56. data/app/views/govuk_publishing_components/components/docs/checkboxes.yml +4 -0
  57. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +45 -0
  58. data/app/views/govuk_publishing_components/components/docs/heading.yml +6 -3
  59. data/app/views/govuk_publishing_components/components/docs/list.yml +64 -0
  60. data/app/views/govuk_publishing_components/components/docs/radio.yml +4 -0
  61. data/config/routes.rb +1 -0
  62. data/lib/govuk_publishing_components/presenters/checkboxes_helper.rb +15 -7
  63. data/lib/govuk_publishing_components/presenters/heading_helper.rb +21 -1
  64. data/lib/govuk_publishing_components/version.rb +1 -1
  65. data/node_modules/axe-core/package.json +145 -220
  66. data/node_modules/govuk-frontend/govuk/all.js +160 -57
  67. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +16 -8
  68. data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +6 -0
  69. data/node_modules/govuk-frontend/govuk/components/character-count/template.njk +1 -0
  70. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +6 -5
  71. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +68 -21
  72. data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +1 -1
  73. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +0 -27
  74. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -3
  75. data/node_modules/govuk-frontend/govuk/components/footer/template.njk +1 -1
  76. data/node_modules/govuk-frontend/govuk/components/header/template.njk +1 -1
  77. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +2 -2
  78. data/node_modules/govuk-frontend/govuk/components/hint/template.njk +2 -2
  79. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +0 -3
  80. data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +6 -0
  81. data/node_modules/govuk-frontend/govuk/components/input/template.njk +1 -0
  82. data/node_modules/govuk-frontend/govuk/components/radios/radios.js +76 -28
  83. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +0 -3
  84. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +1 -0
  85. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +0 -3
  86. data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +6 -0
  87. data/node_modules/govuk-frontend/govuk/components/textarea/template.njk +1 -0
  88. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +4 -2
  89. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +1 -1
  90. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +2 -2
  91. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +1 -1
  92. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +4 -1
  93. data/node_modules/govuk-frontend/package.json +14 -81
  94. data/node_modules/jquery/package.json +44 -116
  95. metadata +46 -66
  96. data/Rakefile +0 -32
@@ -21,7 +21,7 @@
21
21
  for (var i = 0; i < $youtubeLinks.length; ++i) {
22
22
  var $link = $youtubeLinks[i]
23
23
  var href = $link.getAttribute('href')
24
- var hasTracking = $link.getAttribute('data-youtube-player-analytics') == "true"
24
+ var hasTracking = $link.hasAttribute('data-youtube-player-analytics')
25
25
  var options = {
26
26
  link: $link
27
27
  }
@@ -33,7 +33,7 @@
33
33
  }
34
34
  }
35
35
 
36
- if (href.includes("/live_stream")) {
36
+ if (href.includes('/live_stream')) {
37
37
  var channelId = YoutubeLinkEnhancement.parseLivestream(href)
38
38
 
39
39
  if (!this.hasDisabledEmbed($link) && channelId) {
@@ -67,19 +67,19 @@
67
67
  youtubeVideoContainer.className += 'gem-c-govspeak__youtube-video'
68
68
  youtubeVideoContainer.innerHTML = '<span id="' + elementId + '" data-video-id="' + id + '"></span>'
69
69
 
70
- options['title'] = $link.textContent
70
+ options.title = $link.textContent
71
71
 
72
72
  parentContainer.replaceChild(youtubeVideoContainer, parentPara)
73
73
  this.insertVideo(elementId, options)
74
74
  }
75
75
 
76
76
  YoutubeLinkEnhancement.prototype.insertVideo = function (elementId, options) {
77
- var channelId = ""
78
- var videoId = ""
77
+ var channelId = ''
78
+ var videoId = ''
79
79
 
80
80
  if (options.channel) {
81
81
  channelId = options.channel
82
- videoId = "live_stream"
82
+ videoId = 'live_stream'
83
83
  } else {
84
84
  videoId = options.videoId
85
85
  }
@@ -112,16 +112,17 @@
112
112
  var eventData = event.data
113
113
  var eventTarget = event.target
114
114
  var states = {
115
- "-1": "VideoUnstarted",
116
- "0": "VideoEnded",
117
- "1": "VideoPlaying",
118
- "2": "VideoPaused",
119
- "3": "VideoBuffering",
120
- "5": "VideoCued"
115
+ /* eslint-disable quote-props */
116
+ '-1': 'VideoUnstarted',
117
+ '0': 'VideoEnded',
118
+ '1': 'VideoPlaying',
119
+ '2': 'VideoPaused',
120
+ '3': 'VideoBuffering',
121
+ '5': 'VideoCued'
122
+ /* eslint-enable */
121
123
  }
122
- if (states[eventData] && options.tracking && options.tracking.hasTracking
123
- && window.GOVUK.analytics && window.GOVUK.analytics.trackEvent)
124
- {
124
+ if (states[eventData] && options.tracking && options.tracking.hasTracking &&
125
+ window.GOVUK.analytics && window.GOVUK.analytics.trackEvent) {
125
126
  var tracking = {
126
127
  category: options.tracking.category,
127
128
  action: states[eventData],
@@ -192,8 +193,7 @@
192
193
  params[part[0]] = part[1]
193
194
  }
194
195
  return params.v
195
- }
196
- else if (url.indexOf('youtu.be') > -1) {
196
+ } else if (url.indexOf('youtu.be') > -1) {
197
197
  parts = url.split('/')
198
198
  return parts.pop()
199
199
  }
@@ -214,10 +214,10 @@ $gem-guide-border-width: 1px;
214
214
  @include govuk-text-colour;
215
215
  @include govuk-font($size: 24, $weight: bold);
216
216
  margin: $govuk-gutter-half 0;
217
+ }
217
218
 
218
- small {
219
- @include govuk-font($size: 16, $weight: bold);
220
- }
219
+ .example-title small {
220
+ @include govuk-font($size: 16, $weight: bold);
221
221
  }
222
222
  }
223
223
  }
@@ -232,16 +232,14 @@ html {
232
232
  }
233
233
 
234
234
  .hide-header-and-footer {
235
- // scss-lint:disable IdSelector
236
- // sass-lint:disable no-ids
235
+ // stylelint-disable selector-max-id
237
236
  #global-header,
238
237
  #global-header-bar,
239
238
  #global-breadcrumb,
240
239
  #footer {
241
240
  display: none;
242
241
  }
243
- // sass-lint:enable no-ids
244
- // scss-lint:enable IdSelector
242
+ // stylelint-enable selector-max-id
245
243
  }
246
244
 
247
245
  .component-guide-preview-page {
@@ -261,14 +259,12 @@ html {
261
259
  }
262
260
 
263
261
  // Hide survey banner
264
- // scss-lint:disable IdSelector
265
- // sass-lint:disable no-ids
262
+ // stylelint-disable selector-max-id
266
263
  #user-satisfaction-survey-container,
267
264
  #global-cookie-message {
268
265
  display: none;
269
266
  }
270
- // sass-lint:enable no-ids
271
- // scss-lint:enable IdSelector
267
+ // stylelint-enable selector-max-id
272
268
 
273
269
  // Rouge syntax highlighting
274
270
  // Based on https://github.com/alphagov/tech-docs-template/blob/master/template/source/stylesheets/palette/_syntax-highlighting.scss
@@ -294,7 +290,6 @@ $code-0f: #c92424; // Deprecated, Opening/Closing Embedded Language Tags e.g. <?
294
290
  $code-insert-bg: #def8ca;
295
291
  $code-delete-bg: #fadddd;
296
292
 
297
- // sass-lint:disable no-empty-rulesets
298
293
  .component-highlight {
299
294
 
300
295
  // Map Rouge / Pygments Tokens to work with 'Base 16' themes
@@ -391,7 +386,7 @@ $code-delete-bg: #fadddd;
391
386
  // Literals
392
387
  //
393
388
 
394
- .l { // Literal
389
+ .l { // Literal
395
390
  color: $code-09;
396
391
  }
397
392
 
@@ -491,10 +486,9 @@ $code-delete-bg: #fadddd;
491
486
  font-weight: bold;
492
487
  }
493
488
  }
494
- // sass-lint:enable no-empty-rulesets
495
489
 
496
490
  // Specific for this Gem, optimized for erb render statements
497
- .component-highlight {
491
+ .component-highlight { // stylelint-disable-line no-duplicate-selectors
498
492
  .s2 {
499
493
  color: $code-08;
500
494
  }
@@ -503,3 +497,9 @@ $code-delete-bg: #fadddd;
503
497
  color: $code-09;
504
498
  }
505
499
  }
500
+
501
+ .sticky-table-header {
502
+ position: sticky;
503
+ top: 0;
504
+ background: govuk-colour("white");
505
+ }
@@ -6,10 +6,8 @@
6
6
  display: table-cell;
7
7
  width: 50px;
8
8
  height: 45px;
9
- // sass-lint:disable no-duplicate-properties
10
9
  background: image-url("govuk_publishing_components/action-link-arrow.png");
11
10
  background: image-url("govuk_publishing_components/action-link-arrow.svg"), linear-gradient(transparent, transparent);
12
- // sass-lint:enable no-duplicate-properties
13
11
  background-repeat: no-repeat;
14
12
  background-position: 0 50%;
15
13
  background-size: 37px auto;
@@ -103,10 +101,8 @@
103
101
  &:before {
104
102
  width: 30px;
105
103
  height: 30px;
106
- // sass-lint:disable no-duplicate-properties
107
104
  background: image-url("govuk_publishing_components/action-link-arrow--simple.png");
108
105
  background: image-url("govuk_publishing_components/action-link-arrow--simple.svg"), linear-gradient(transparent, transparent);
109
- // sass-lint:enable no-duplicate-properties
110
106
  background-repeat: no-repeat;
111
107
  background-size: 25px auto;
112
108
  background-position: 0 2px;
@@ -119,10 +115,8 @@
119
115
 
120
116
  .gem-c-action-link--dark-icon {
121
117
  &:before {
122
- // sass-lint:disable no-duplicate-properties
123
118
  background: image-url("govuk_publishing_components/action-link-arrow--dark.png");
124
119
  background: image-url("govuk_publishing_components/action-link-arrow--dark.svg"), linear-gradient(transparent, transparent);
125
- // sass-lint:enable no-duplicate-properties
126
120
  }
127
121
  }
128
122
 
@@ -136,7 +130,7 @@
136
130
 
137
131
  &:before {
138
132
  height: 30px;
139
- width: 30px;
133
+ width: 35px;
140
134
  background-repeat: no-repeat;
141
135
  background-size: 25px auto;
142
136
  background-position: 0 2px;
@@ -151,10 +145,8 @@
151
145
  &:before {
152
146
  width: 80px;
153
147
  height: 70px;
154
- // sass-lint:disable no-duplicate-properties
155
148
  background: image-url("govuk_publishing_components/action-link--nhs.png");
156
149
  background: image-url("govuk_publishing_components/action-link--nhs.svg"), linear-gradient(transparent, transparent);
157
- // sass-lint:enable no-duplicate-properties
158
150
  background-repeat: no-repeat;
159
151
  background-size: 85% auto;
160
152
  background-position: 0 50%;
@@ -45,7 +45,7 @@
45
45
  position: relative;
46
46
  }
47
47
 
48
- .govuk-breadcrumbs__link::after {
48
+ .govuk-breadcrumbs__link:after {
49
49
  content: "";
50
50
  position: absolute;
51
51
  top: -14px;
@@ -46,3 +46,7 @@
46
46
  @include govuk-visually-hidden;
47
47
  }
48
48
  }
49
+
50
+ .gem-c-checkboxes__heading-text {
51
+ margin: 0;
52
+ }
@@ -27,7 +27,6 @@ $govuk-cookie-banner-background: govuk-colour("light-grey", "grey-4");
27
27
  }
28
28
 
29
29
  .gem-c-cookie-banner__button {
30
-
31
30
  &.govuk-grid-column-one-half-from-desktop {
32
31
  padding: 0;
33
32
  }
@@ -40,7 +39,6 @@ $govuk-cookie-banner-background: govuk-colour("light-grey", "grey-4");
40
39
  @include govuk-media-query($until: desktop) {
41
40
  margin-bottom: govuk-spacing(4);
42
41
  }
43
-
44
42
  }
45
43
  }
46
44
 
@@ -53,13 +51,11 @@ $govuk-cookie-banner-background: govuk-colour("light-grey", "grey-4");
53
51
  display: inline-block;
54
52
  }
55
53
 
56
-
57
54
  .gem-c-cookie-banner__confirmation {
58
55
  display: none;
59
56
  position: relative;
60
57
  padding: govuk-spacing(1);
61
58
 
62
-
63
59
  // This element is focused using JavaScript so that it's being read out by screen readers
64
60
  // for this reason we don't want to show the default outline or emphasise it visually using `govuk-focused-text`
65
61
  &:focus {
@@ -126,8 +122,7 @@ $govuk-cookie-banner-background: govuk-colour("light-grey", "grey-4");
126
122
  }
127
123
 
128
124
  // Override the styles from govuk_template
129
- // scss-lint:disable IdSelector
130
- // sass-lint:disable no-ids
125
+ // stylelint-disable selector-max-id
131
126
  .gem-c-cookie-banner#global-cookie-message {
132
127
  background-color: $govuk-cookie-banner-background;
133
128
  padding: govuk-spacing(4) 0;
@@ -155,5 +150,3 @@ $govuk-cookie-banner-background: govuk-colour("light-grey", "grey-4");
155
150
  }
156
151
  }
157
152
  }
158
- // sass-lint:enable no-ids
159
- // scss-lint:enable IdSelector
@@ -136,7 +136,6 @@
136
136
  margin-right: govuk-spacing(7);
137
137
  }
138
138
 
139
-
140
139
  // Feedback form styles
141
140
  .gem-c-feedback__error-summary {
142
141
  margin-bottom: govuk-spacing(3);
@@ -1,3 +1,5 @@
1
+ // stylelint-disable max-nesting-depth
2
+
1
3
  // Override govspeak styles with HTML publication specific ones
2
4
  .gem-c-govspeak-html-publication {
3
5
  margin-bottom: govuk-spacing(6) * 1.5;
@@ -59,12 +61,10 @@
59
61
  }
60
62
  }
61
63
 
62
- // scss-lint:disable QualifyingElement
63
- // sass-lint:disable no-qualifying-elements
64
+ // stylelint-disable selector-no-qualifying-type
64
65
  // this class will only be for tables and is to distinguish from a bare `table`
65
66
  // the row classes below should not be applied to anything else but `tr`s
66
67
  table.financial-data {
67
-
68
68
  .numeric {
69
69
  text-align: right;
70
70
  @include govuk-font(14, $weight: regular, $tabular: true);
@@ -134,7 +134,6 @@
134
134
  background-color: govuk-colour("light-grey", $legacy: "grey-3");
135
135
  }
136
136
  }
137
- // sass-lint:enable no-qualifying-elements
138
- // scss-lint:enable QualifyingElement
137
+ // stylelint-enable selector-no-qualifying-type
139
138
  }
140
139
  }
@@ -1,15 +1,10 @@
1
1
  .gem-c-heading {
2
- @include govuk-text-colour;
3
- @include govuk-font(27, $weight: bold);
4
2
  margin: 0;
5
3
  }
6
4
 
7
- .gem-c-heading--font-size-24 {
8
- @include govuk-font(24, $weight: bold);
9
- }
10
-
11
- .gem-c-heading--font-size-19 {
12
- @include govuk-font(19, $weight: bold);
5
+ .gem-c-heading--font-size-27 {
6
+ @include govuk-text-colour;
7
+ @include govuk-font(27, $weight: bold);
13
8
  }
14
9
 
15
10
  // special case for publications and consultations pages
@@ -125,7 +125,7 @@
125
125
  .gem-c-image-card__list-item {
126
126
  position: relative;
127
127
 
128
- &:before {
128
+ &:before { // stylelint-disable-line max-nesting-depth
129
129
  content: "-";
130
130
  position: absolute;
131
131
  left: (- govuk-spacing(3));
@@ -20,7 +20,7 @@
20
20
 
21
21
  .gem-c-input__wrapper {
22
22
  display: flex;
23
- display: -ms-flexbox; // sass-lint:disable-line no-duplicate-properties
23
+ display: -ms-flexbox;
24
24
 
25
25
  .gem-c-input {
26
26
  display: inline-block;
@@ -11,16 +11,13 @@
11
11
  color: govuk-colour("white");
12
12
  }
13
13
 
14
-
15
- .gem-c-inverse-header {
14
+ .gem-c-inverse-header .gem-c-inverse-header__supplement,
15
+ .gem-c-inverse-header .publication-header__last-changed {
16
16
  // This publication-header class is injected on publication pages, really
17
17
  // it should be a component class or be a component in it's own right.
18
- .gem-c-inverse-header__supplement,
19
- .publication-header__last-changed {
20
- @include govuk-font($size: 16, $line-height: 1.5);
21
- color: govuk-colour("white");
22
- margin: 0;
23
- }
18
+ @include govuk-font($size: 16, $line-height: 1.5);
19
+ color: govuk-colour("white");
20
+ margin: 0;
24
21
  }
25
22
 
26
23
  .gem-c-inverse-header--full-width {
@@ -0,0 +1 @@
1
+ @import "govuk/components/list/list";
@@ -1 +1,5 @@
1
1
  @import "govuk/components/radios/radios";
2
+
3
+ .gem-c-radio__heading-text {
4
+ margin: 0;
5
+ }
@@ -24,7 +24,7 @@
24
24
  margin-bottom: govuk-spacing(2);
25
25
  }
26
26
 
27
- .gem-c-related-navigation__main-heading + .gem-c-related-navigation__sub-heading {
27
+ .gem-c-related-navigation__main-heading + .gem-c-related-navigation__sub-heading {
28
28
  border-top: 0;
29
29
  padding-top: 0;
30
30
  }
@@ -62,7 +62,7 @@
62
62
 
63
63
  .js-enabled & {
64
64
  display: inline-block;
65
- }
65
+ }
66
66
  }
67
67
 
68
68
  .gem-c-related-navigation__section-link {
@@ -9,6 +9,7 @@ $large-input-size: 50px;
9
9
  .gem-c-search__label {
10
10
  @include govuk-font($size: 19, $line-height: $input-size);
11
11
  display: block;
12
+ background: govuk-colour("white");
12
13
 
13
14
  h1 {
14
15
  @include govuk-font($size: 19, $line-height: $input-size);
@@ -17,8 +18,10 @@ $large-input-size: 50px;
17
18
 
18
19
  .js-enabled & {
19
20
  position: absolute;
20
- left: govuk-spacing(3);
21
- top: 1px;
21
+ left: 2px;
22
+ top: 2px;
23
+ bottom: 2px;
24
+ padding-left: govuk-spacing(3);
22
25
  z-index: 1;
23
26
  color: $govuk-secondary-text-colour;
24
27
  }
@@ -157,7 +160,6 @@ $large-input-size: 50px;
157
160
  }
158
161
 
159
162
  .gem-c-search--on-white {
160
-
161
163
  .gem-c-search__submit {
162
164
  background-color: govuk-colour("blue");
163
165
  color: govuk-colour("white");
@@ -201,6 +203,8 @@ $large-input-size: 50px;
201
203
  .gem-c-search--separate-label {
202
204
  .gem-c-search__label {
203
205
  position: relative;
206
+ top: auto;
204
207
  left: auto;
208
+ padding-left: 0;
205
209
  }
206
210
  }
@@ -11,16 +11,11 @@
11
11
  }
12
12
  }
13
13
 
14
- // scss-lint:disable SelectorFormat
15
-
16
14
  .gem-c-step-nav-header__part-of {
17
15
  @include govuk-font(19, $weight: bold);
18
16
  display: block;
19
17
  }
20
18
 
21
19
  .gem-c-step-nav-header__title {
22
- @extend %govuk-link;
23
20
  @include govuk-font(24, $weight: bold, $line-height: 1);
24
21
  }
25
-
26
- // scss-lint:enable SelectorFormat