govuk_publishing_components 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40aeafd501d4e7377faa6a98a0cc4f03689c8b4d
4
- data.tar.gz: 4a9d118b698280ee82ea98b76ff46800c5710556
3
+ metadata.gz: c70b9fdb5bebb7f2b712324261adc1a713d37181
4
+ data.tar.gz: 3ffb99c5486a9687e58eec5d17ccc015807be86c
5
5
  SHA512:
6
- metadata.gz: 473cee8babe4cb5bf8ee0ccfb2de2f1c07c7b413b991f79ed8cbf2299d20c82db4d7b840f120b8474e2590ebf2782396cad0349a455e35c591b2e1a51b6ef7ab
7
- data.tar.gz: b143ccd9fcd0b0a93c24c10d49279b63ca067b6b169cde89db7beee6f0b54c928a011a0a594ad74cee3ebfd66db63607546ecca71660d0356a9edad7fd790088
6
+ metadata.gz: ed077e9b207ed172589b3f2190f67ce008ca0fc19f926a762dee31ba0576e379eee965c8eabdee80d67e37cd3388c44d179c1d0f6ac00afafef202e256dc9ab9
7
+ data.tar.gz: 567082c289215eefc0e65fff194c307c9dee63008e7e1ce22f2e0485f584e165d69636987b69ec9a66ec0e0ed1fefef4e69585b8dd8187a33eeec7936c52eb48
@@ -337,8 +337,22 @@ $top-border: solid 2px $grey-3;
337
337
  }
338
338
 
339
339
  .gem-c-task-list__links--choice {
340
- margin-left: 20px;
340
+ $links-margin: 20px;
341
+
342
+ margin-left: $links-margin;
341
343
  list-style: disc;
344
+
345
+ .gem-c-task-list__link-item--active:before {
346
+ left: -($gutter + $gutter-half) - $links-margin;
347
+ }
348
+
349
+ .gem-c-task-list--large & {
350
+ @include media(tablet) {
351
+ .gem-c-task-list__link-item--active:before {
352
+ left: -($gutter * 2) - $links-margin;
353
+ }
354
+ }
355
+ }
342
356
  }
343
357
 
344
358
  .gem-c-task-list__link {
@@ -363,6 +377,10 @@ $top-border: solid 2px $grey-3;
363
377
  color: $black;
364
378
  }
365
379
 
380
+ &:focus {
381
+ outline: 0;
382
+ }
383
+
366
384
  &:before {
367
385
  @include box-sizing(border-box);
368
386
  content: "";
@@ -250,12 +250,14 @@ examples:
250
250
  contents: [
251
251
  {
252
252
  href: '/component-guide/task_list/',
253
- text: 'Leave school at sixteen'
253
+ text: 'Leave school at sixteen',
254
+ active: true
254
255
  },
255
256
  {
256
257
  href: '/component-guide/task_list/',
257
258
  text: 'Continue into higher education',
258
- context: '£9,500'
259
+ context: '£9,500',
260
+ active: true
259
261
  }
260
262
  ]
261
263
  }
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '3.0.1'.freeze
2
+ VERSION = '3.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev