govuk_publishing_components 3.0.1 → 3.0.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c70b9fdb5bebb7f2b712324261adc1a713d37181
|
|
4
|
+
data.tar.gz: 3ffb99c5486a9687e58eec5d17ccc015807be86c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
}
|