govuk_publishing_components 16.29.0 → 17.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +46 -23
- data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +8 -2
- data/app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js +101 -21
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +9 -2
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +4 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +36 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +14 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss +23 -23
- data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +10 -10
- data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +11 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +14 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +7 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +20 -16
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-list.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_title.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +1 -1
- data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +33 -25
- data/app/views/govuk_publishing_components/components/_error_summary.html.erb +4 -2
- data/app/views/govuk_publishing_components/components/_notice.html.erb +4 -1
- data/app/views/govuk_publishing_components/components/docs/cookie_banner.yml +2 -0
- data/app/views/govuk_publishing_components/components/docs/error_summary.yml +6 -0
- data/app/views/govuk_publishing_components/components/docs/notice.yml +6 -0
- data/app/views/govuk_publishing_components/components/docs/success_alert.yml +1 -1
- data/lib/govuk_publishing_components/presenters/cookie_banner_helper.rb +0 -4
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/accessible-autocomplete/dist/accessible-autocomplete.min.js +1 -1
- data/node_modules/accessible-autocomplete/dist/accessible-autocomplete.min.js.map +1 -1
- data/node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.preact.min.js +1 -1
- data/node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.preact.min.js.map +1 -1
- data/node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.react.min.js +1 -1
- data/node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.react.min.js.map +1 -1
- data/node_modules/accessible-autocomplete/package.json +3 -3
- data/node_modules/accessible-autocomplete/src/autocomplete.js +4 -2
- data/node_modules/accessible-autocomplete/src/wrapper.js +5 -1
- data/node_modules/d/CHANGELOG.md +9 -0
- data/node_modules/d/CHANGES +4 -0
- data/node_modules/d/LICENSE +12 -16
- data/node_modules/d/README.md +49 -19
- data/node_modules/d/auto-bind.js +11 -10
- data/node_modules/d/index.js +23 -24
- data/node_modules/d/lazy.js +21 -23
- data/node_modules/d/package.json +63 -16
- data/node_modules/d/test/auto-bind.js +6 -7
- data/node_modules/d/test/index.js +78 -51
- data/node_modules/d/test/lazy.js +65 -50
- data/node_modules/es6-weak-map/CHANGELOG.md +5 -0
- data/node_modules/es6-weak-map/LICENSE +12 -16
- data/node_modules/es6-weak-map/README.md +34 -19
- data/node_modules/es6-weak-map/implement.js +9 -5
- data/node_modules/es6-weak-map/index.js +2 -2
- data/node_modules/es6-weak-map/is-implemented.js +10 -9
- data/node_modules/es6-weak-map/is-native-implemented.js +3 -3
- data/node_modules/es6-weak-map/is-weak-map.js +8 -8
- data/node_modules/es6-weak-map/package.json +30 -19
- data/node_modules/es6-weak-map/polyfill.js +31 -32
- data/node_modules/es6-weak-map/test/implement.js +4 -2
- data/node_modules/es6-weak-map/test/index.js +4 -3
- data/node_modules/es6-weak-map/test/is-implemented.js +9 -8
- data/node_modules/es6-weak-map/test/is-native-implemented.js +4 -2
- data/node_modules/es6-weak-map/test/is-weak-map.js +4 -4
- data/node_modules/es6-weak-map/test/polyfill.js +13 -13
- data/node_modules/es6-weak-map/test/valid-weak-map.js +22 -9
- data/node_modules/es6-weak-map/valid-weak-map.js +5 -5
- data/node_modules/resolve/lib/async.js +1 -1
- data/node_modules/resolve/lib/node-modules-paths.js +1 -1
- data/node_modules/resolve/lib/sync.js +0 -2
- data/node_modules/resolve/package.json +13 -13
- data/node_modules/resolve/test/node-modules-paths.js +0 -22
- data/node_modules/resolve/test/resolver.js +11 -0
- data/node_modules/resolve/test/resolver_sync.js +11 -0
- data/node_modules/standard/node_modules/ms/index.js +2 -2
- data/node_modules/standard/node_modules/ms/package.json +205 -16
- data/node_modules/standard/node_modules/ms/readme.md +1 -1
- data/node_modules/type/CHANGELOG.md +62 -0
- data/node_modules/type/README.md +743 -0
- data/node_modules/type/array-length/coerce.js +10 -0
- data/node_modules/type/array-length/ensure.js +10 -0
- data/node_modules/type/array-like/ensure.js +9 -0
- data/node_modules/type/array-like/is.js +21 -0
- data/node_modules/type/array/ensure.js +9 -0
- data/node_modules/type/array/is.js +27 -0
- data/node_modules/type/date/ensure.js +9 -0
- data/node_modules/type/date/is.js +26 -0
- data/node_modules/type/error/ensure.js +9 -0
- data/node_modules/type/error/is.js +24 -0
- data/node_modules/type/finite/coerce.js +8 -0
- data/node_modules/type/finite/ensure.js +10 -0
- data/node_modules/type/function/ensure.js +9 -0
- data/node_modules/type/function/is.js +19 -0
- data/node_modules/type/integer/coerce.js +11 -0
- data/node_modules/type/integer/ensure.js +10 -0
- data/node_modules/type/iterable/ensure.js +9 -0
- data/node_modules/type/iterable/is.js +20 -0
- data/node_modules/type/lib/is-to-string-tag-supported.js +3 -0
- data/node_modules/type/lib/resolve-exception.js +21 -0
- data/node_modules/type/lib/safe-to-string.js +10 -0
- data/node_modules/type/lib/to-short-string.js +29 -0
- data/node_modules/type/natural-number/coerce.js +10 -0
- data/node_modules/type/natural-number/ensure.js +10 -0
- data/node_modules/type/number/coerce.js +14 -0
- data/node_modules/type/number/ensure.js +10 -0
- data/node_modules/type/object/ensure.js +9 -0
- data/node_modules/type/object/is.js +11 -0
- data/node_modules/type/package.json +159 -0
- data/node_modules/type/plain-function/ensure.js +9 -0
- data/node_modules/type/plain-function/is.js +11 -0
- data/node_modules/type/plain-object/ensure.js +9 -0
- data/node_modules/type/plain-object/is.js +28 -0
- data/node_modules/type/promise/ensure.js +9 -0
- data/node_modules/type/promise/is.js +27 -0
- data/node_modules/type/prototype/is.js +13 -0
- data/node_modules/type/reg-exp/ensure.js +9 -0
- data/node_modules/type/reg-exp/is.js +37 -0
- data/node_modules/type/safe-integer/coerce.js +13 -0
- data/node_modules/type/safe-integer/ensure.js +10 -0
- data/node_modules/type/string/coerce.js +23 -0
- data/node_modules/type/string/ensure.js +10 -0
- data/node_modules/type/test/_lib/arrow-function-if-supported.js +4 -0
- data/node_modules/type/test/_lib/class-if-supported.js +4 -0
- data/node_modules/type/test/array-length/coerce.js +47 -0
- data/node_modules/type/test/array-length/ensure.js +19 -0
- data/node_modules/type/test/array-like/ensure.js +24 -0
- data/node_modules/type/test/array-like/is.js +47 -0
- data/node_modules/type/test/array/ensure.js +20 -0
- data/node_modules/type/test/array/is.js +41 -0
- data/node_modules/type/test/date/ensure.js +20 -0
- data/node_modules/type/test/date/is.js +46 -0
- data/node_modules/type/test/error/ensure.js +20 -0
- data/node_modules/type/test/error/is.js +42 -0
- data/node_modules/type/test/finite/coerce.js +40 -0
- data/node_modules/type/test/finite/ensure.js +17 -0
- data/node_modules/type/test/function/ensure.js +20 -0
- data/node_modules/type/test/function/is.js +46 -0
- data/node_modules/type/test/integer/coerce.js +49 -0
- data/node_modules/type/test/integer/ensure.js +17 -0
- data/node_modules/type/test/iterable/ensure.js +24 -0
- data/node_modules/type/test/iterable/is.js +50 -0
- data/node_modules/type/test/lib/is-to-string-tag-supported.js +10 -0
- data/node_modules/type/test/lib/resolve-exception.js +39 -0
- data/node_modules/type/test/lib/safe-to-string.js +32 -0
- data/node_modules/type/test/lib/to-short-string.js +41 -0
- data/node_modules/type/test/natural-number/coerce.js +47 -0
- data/node_modules/type/test/natural-number/ensure.js +19 -0
- data/node_modules/type/test/number/coerce.js +40 -0
- data/node_modules/type/test/number/ensure.js +17 -0
- data/node_modules/type/test/object/ensure.js +20 -0
- data/node_modules/type/test/object/is.js +30 -0
- data/node_modules/type/test/plain-function/ensure.js +20 -0
- data/node_modules/type/test/plain-function/is.js +56 -0
- data/node_modules/type/test/plain-object/ensure.js +20 -0
- data/node_modules/type/test/plain-object/is.js +47 -0
- data/node_modules/type/test/promise/ensure.js +20 -0
- data/node_modules/type/test/promise/is.js +39 -0
- data/node_modules/type/test/prototype/is.js +39 -0
- data/node_modules/type/test/reg-exp/ensure.js +20 -0
- data/node_modules/type/test/reg-exp/is.js +47 -0
- data/node_modules/type/test/safe-integer/coerce.js +49 -0
- data/node_modules/type/test/safe-integer/ensure.js +19 -0
- data/node_modules/type/test/string/coerce.js +36 -0
- data/node_modules/type/test/string/ensure.js +17 -0
- data/node_modules/type/test/thenable/ensure.js +20 -0
- data/node_modules/type/test/thenable/is.js +44 -0
- data/node_modules/type/test/time-value/coerce.js +47 -0
- data/node_modules/type/test/time-value/ensure.js +17 -0
- data/node_modules/type/test/value/ensure.js +20 -0
- data/node_modules/type/test/value/is.js +29 -0
- data/node_modules/type/thenable/ensure.js +9 -0
- data/node_modules/type/thenable/is.js +9 -0
- data/node_modules/type/time-value/coerce.js +12 -0
- data/node_modules/type/time-value/ensure.js +10 -0
- data/node_modules/type/value/ensure.js +9 -0
- data/node_modules/type/value/is.js +6 -0
- metadata +118 -21
- data/app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-navigation.scss +0 -94
- data/node_modules/resolve/reaf +0 -0
- data/node_modules/resolve/test/shadowed_core.js +0 -38
- data/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
@@ -2,56 +2,56 @@
|
|
2
2
|
@include govuk-text-colour;
|
3
3
|
display: flex;
|
4
4
|
flex-wrap: wrap;
|
5
|
-
margin:
|
5
|
+
margin: govuk-spacing(3) 0 0 0;
|
6
6
|
padding: 0;
|
7
7
|
|
8
|
-
@include media(tablet) {
|
8
|
+
@include govuk-media-query($from: tablet) {
|
9
9
|
margin-right: -25px;
|
10
10
|
}
|
11
11
|
}
|
12
12
|
|
13
13
|
.gem-c-highlight-boxes__item-wrapper {
|
14
|
-
@include
|
15
|
-
|
14
|
+
@include govuk-font(19);
|
15
|
+
box-sizing: border-box;
|
16
16
|
list-style-type: none;
|
17
|
-
padding: (
|
17
|
+
padding: govuk-spacing(1) govuk-spacing(2) govuk-spacing(5) 0;
|
18
18
|
width: 100%;
|
19
19
|
|
20
|
-
@include media(tablet) {
|
20
|
+
@include govuk-media-query($from: tablet) {
|
21
21
|
width: 50%;
|
22
|
-
padding: (
|
22
|
+
padding: govuk-spacing(1) govuk-spacing(5) govuk-spacing(5) 0;
|
23
23
|
}
|
24
24
|
|
25
|
-
@include media(desktop) {
|
25
|
+
@include govuk-media-query($from: desktop) {
|
26
26
|
width: (1 / 3) * 100%;
|
27
|
-
padding: (
|
27
|
+
padding: govuk-spacing(1) govuk-spacing(5) govuk-spacing(5) 0;
|
28
28
|
}
|
29
29
|
}
|
30
30
|
|
31
31
|
.gem-c-highlight-boxes__item-wrapper--half-width {
|
32
|
-
@include media(desktop) {
|
32
|
+
@include govuk-media-query($from: desktop) {
|
33
33
|
width: 50%;
|
34
|
-
padding: (
|
34
|
+
padding: govuk-spacing(1) govuk-spacing(5) govuk-spacing(5) 0;
|
35
35
|
}
|
36
36
|
}
|
37
37
|
|
38
38
|
.gem-c-highlight-boxes__item {
|
39
|
-
|
40
|
-
border: 1px solid
|
41
|
-
padding:
|
39
|
+
box-sizing: border-box;
|
40
|
+
border: 1px solid govuk-colour("grey-2");
|
41
|
+
padding: govuk-spacing(3) * 1.5;
|
42
42
|
height: 100%;
|
43
|
-
box-shadow: 7px 7px 0
|
43
|
+
box-shadow: 7px 7px 0 govuk-colour("white"), 8px 8px 0 govuk-colour("grey-2");
|
44
44
|
}
|
45
45
|
|
46
46
|
.gem-c-highlight-boxes--inverse {
|
47
|
-
background-color:
|
47
|
+
background-color: govuk-colour("blue");
|
48
48
|
border: 0;
|
49
|
-
color:
|
49
|
+
color: govuk-colour("white");
|
50
50
|
}
|
51
51
|
|
52
52
|
.gem-c-highlight-boxes__title {
|
53
53
|
@extend %govuk-link;
|
54
|
-
@include
|
54
|
+
@include govuk-font(19, $weight: bold);
|
55
55
|
display: block;
|
56
56
|
text-decoration: underline;
|
57
57
|
margin-bottom: 5px;
|
@@ -61,7 +61,7 @@
|
|
61
61
|
&:link,
|
62
62
|
&:visited,
|
63
63
|
&:hover {
|
64
|
-
color:
|
64
|
+
color: govuk-colour("white");
|
65
65
|
}
|
66
66
|
|
67
67
|
&:active,
|
@@ -71,15 +71,15 @@
|
|
71
71
|
}
|
72
72
|
|
73
73
|
.gem-c-highlight-boxes__title--featured {
|
74
|
-
@include
|
74
|
+
@include govuk-font(24, $weight: bold);
|
75
75
|
}
|
76
76
|
|
77
77
|
.gem-c-highlight-boxes__description {
|
78
|
-
margin: 0 0
|
78
|
+
margin: 0 0 govuk-spacing(2) 0;
|
79
79
|
}
|
80
80
|
|
81
81
|
.gem-c-highlight-boxes__metadata {
|
82
|
-
margin: 0
|
83
|
-
@include
|
82
|
+
margin: 0 govuk-spacing(3) 0 0;
|
83
|
+
@include govuk-font(16);
|
84
84
|
display: inline-block;
|
85
85
|
}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
.gem-c-inverse-header {
|
2
2
|
width: 100%;
|
3
|
-
background-color:
|
4
|
-
color:
|
5
|
-
margin-bottom:
|
6
|
-
padding: 0
|
3
|
+
background-color: govuk-colour("blue");
|
4
|
+
color: govuk-colour("white");
|
5
|
+
margin-bottom: govuk-spacing(6);
|
6
|
+
padding: 0 govuk-spacing(6) govuk-spacing(6);
|
7
7
|
box-sizing: border-box;
|
8
8
|
}
|
9
9
|
|
10
10
|
.gem-c-inverse-header a {
|
11
|
-
color:
|
11
|
+
color: govuk-colour("white");
|
12
12
|
}
|
13
13
|
|
14
14
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
.gem-c-inverse-header__supplement,
|
19
19
|
.publication-header__last-changed {
|
20
20
|
@include govuk-font($size: 16, $line-height: 1.5);
|
21
|
-
color:
|
21
|
+
color: govuk-colour("white");
|
22
22
|
margin: 0;
|
23
23
|
}
|
24
24
|
}
|
@@ -26,9 +26,9 @@
|
|
26
26
|
.gem-c-inverse-header--full-width {
|
27
27
|
padding-left: 0;
|
28
28
|
padding-right: 0;
|
29
|
-
padding-bottom:
|
29
|
+
padding-bottom: govuk-spacing(3);
|
30
30
|
}
|
31
31
|
|
32
32
|
.gem-c-inverse-header--padding-top {
|
33
|
-
padding-top:
|
33
|
+
padding-top: govuk-spacing(3);
|
34
34
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.gem-c-lead-paragraph {
|
2
2
|
@include govuk-text-colour;
|
3
|
-
@include
|
3
|
+
@include govuk-font(24);
|
4
4
|
margin-top: 0;
|
5
5
|
@include responsive-bottom-margin;
|
6
6
|
// Ensure the text has a line-length of around 60 characters
|
@@ -8,5 +8,5 @@
|
|
8
8
|
}
|
9
9
|
|
10
10
|
.gem-c-lead-paragraph--inverse {
|
11
|
-
color:
|
11
|
+
color: govuk-colour("white");
|
12
12
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
.gem-c-metadata {
|
2
2
|
@include govuk-text-colour;
|
3
|
-
@include
|
3
|
+
@include govuk-font(16);
|
4
4
|
@include responsive-bottom-margin;
|
5
|
-
@
|
5
|
+
@include govuk-clearfix;
|
6
6
|
|
7
7
|
a {
|
8
8
|
@include govuk-link-common;
|
@@ -33,13 +33,13 @@
|
|
33
33
|
margin-top: .5em;
|
34
34
|
line-height: normal;
|
35
35
|
|
36
|
-
@include media(tablet) {
|
37
|
-
|
36
|
+
@include govuk-media-query($from: tablet) {
|
37
|
+
box-sizing: border-box;
|
38
38
|
float: left;
|
39
39
|
clear: left;
|
40
40
|
width: 30%;
|
41
41
|
max-width: 11em;
|
42
|
-
padding-right:
|
42
|
+
padding-right: govuk-spacing(2);
|
43
43
|
margin-top: 0;
|
44
44
|
}
|
45
45
|
}
|
@@ -48,8 +48,8 @@
|
|
48
48
|
float: right;
|
49
49
|
clear: right;
|
50
50
|
|
51
|
-
@include media(tablet) {
|
52
|
-
padding-left:
|
51
|
+
@include govuk-media-query($from: tablet) {
|
52
|
+
padding-left: govuk-spacing(2);
|
53
53
|
padding-right: 0;
|
54
54
|
}
|
55
55
|
}
|
@@ -58,7 +58,7 @@
|
|
58
58
|
margin: 0;
|
59
59
|
line-height: normal;
|
60
60
|
|
61
|
-
@include media(tablet) {
|
61
|
+
@include govuk-media-query($from: tablet) {
|
62
62
|
float: left;
|
63
63
|
width: 70%;
|
64
64
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
line-height: (15 / 13);
|
5
5
|
font-weight: 400;
|
6
6
|
|
7
|
-
@include media(tablet) {
|
7
|
+
@include govuk-media-query($from: tablet) {
|
8
8
|
font-size: 18px;
|
9
9
|
line-height: 20px;
|
10
10
|
}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
text-transform: none;
|
15
15
|
text-decoration: none;
|
16
16
|
display: block;
|
17
|
-
color:
|
17
|
+
color: govuk-colour("black");
|
18
18
|
height: auto;
|
19
19
|
width: auto;
|
20
20
|
|
@@ -29,11 +29,11 @@
|
|
29
29
|
|
30
30
|
.gem-c-organisation-logo__crest {
|
31
31
|
// Default brand colour
|
32
|
-
border-left: 2px solid
|
32
|
+
border-left: 2px solid govuk-colour("black");
|
33
33
|
padding-top: 20px;
|
34
34
|
padding-left: 6px;
|
35
35
|
|
36
|
-
@include media(tablet) {
|
36
|
+
@include govuk-media-query($from: tablet) {
|
37
37
|
padding-top: 25px;
|
38
38
|
padding-left: 7px;
|
39
39
|
}
|
@@ -48,13 +48,13 @@
|
|
48
48
|
.gem-c-organisation-logo__name {
|
49
49
|
position: relative;
|
50
50
|
top: 3px;
|
51
|
-
font-family:
|
51
|
+
font-family: "HelveticaNeue", "Helvetica Neue", "Arial", "Helvetica", sans-serif;
|
52
52
|
}
|
53
53
|
|
54
54
|
.gem-c-organisation-logo__link {
|
55
55
|
@include govuk-link-common;
|
56
56
|
@include govuk-link-style-text;
|
57
|
-
font-family:
|
57
|
+
font-family: "HelveticaNeue", "Helvetica Neue", "Arial", "Helvetica", sans-serif;
|
58
58
|
|
59
59
|
&:hover,
|
60
60
|
&:focus {
|
@@ -67,15 +67,15 @@
|
|
67
67
|
background: image-url("crests/#{$crest}_13px.png") no-repeat 5px 0;
|
68
68
|
background-size: auto 20px;
|
69
69
|
|
70
|
-
@include device-pixel-ratio {
|
70
|
+
@include govuk-device-pixel-ratio {
|
71
71
|
background-image: image-url("crests/#{$crest}_13px_x2.png");
|
72
72
|
}
|
73
73
|
|
74
|
-
@include media(tablet) {
|
74
|
+
@include govuk-media-query($from: tablet) {
|
75
75
|
background: image-url("crests/#{$crest}_18px.png") no-repeat 6px 0;
|
76
76
|
background-size: auto 26px;
|
77
77
|
|
78
|
-
@include device-pixel-ratio {
|
78
|
+
@include govuk-device-pixel-ratio {
|
79
79
|
background-image: image-url("crests/#{$crest}_18px_x2.png");
|
80
80
|
}
|
81
81
|
}
|
@@ -85,7 +85,7 @@
|
|
85
85
|
padding-top: 25px;
|
86
86
|
background-size: auto 25px;
|
87
87
|
|
88
|
-
@include media(tablet) {
|
88
|
+
@include govuk-media-query($from: tablet) {
|
89
89
|
padding-top: 35px;
|
90
90
|
background-size: auto 34px;
|
91
91
|
}
|
@@ -1,9 +1,6 @@
|
|
1
1
|
.gem-c-pagination {
|
2
2
|
display: block;
|
3
|
-
margin
|
4
|
-
margin-bottom: $gutter;
|
5
|
-
margin-left: -$gutter-half;
|
6
|
-
margin-right: -$gutter-half;
|
3
|
+
margin: govuk-spacing(6) (- govuk-spacing(3) );
|
7
4
|
}
|
8
5
|
|
9
6
|
.gem-c-pagination__list {
|
@@ -12,26 +9,26 @@
|
|
12
9
|
}
|
13
10
|
|
14
11
|
.gem-c-pagination__item {
|
15
|
-
@include
|
12
|
+
@include govuk-font($size: 16, $line-height: (20 / 16));
|
16
13
|
list-style: none;
|
17
14
|
}
|
18
15
|
|
19
16
|
.gem-c-pagination__link {
|
20
17
|
@extend %govuk-link;
|
21
18
|
display: block;
|
22
|
-
padding:
|
19
|
+
padding: govuk-spacing(3);
|
23
20
|
text-decoration: none;
|
24
21
|
|
25
22
|
&:hover,
|
26
23
|
&:active,
|
27
24
|
&:visited,
|
28
25
|
&:focus {
|
29
|
-
color: $link-colour;
|
26
|
+
color: $govuk-link-colour;
|
30
27
|
}
|
31
28
|
|
32
29
|
&:hover,
|
33
30
|
&:active {
|
34
|
-
background-color:
|
31
|
+
background-color: govuk-colour("grey-4");
|
35
32
|
}
|
36
33
|
}
|
37
34
|
|
@@ -44,12 +41,12 @@
|
|
44
41
|
}
|
45
42
|
|
46
43
|
.gem-c-pagination__link-text {
|
47
|
-
@include
|
48
|
-
margin-left:
|
44
|
+
@include govuk-font(19, $weight: bold);
|
45
|
+
margin-left: govuk-spacing(2);
|
49
46
|
}
|
50
47
|
|
51
48
|
.gem-c-pagination__link-icon {
|
52
|
-
@include
|
49
|
+
@include govuk-font($size: 24, $line-height: (33.75 / 27));
|
53
50
|
display: inline-block;
|
54
51
|
margin-bottom: 1px;
|
55
52
|
height: .482em;
|
@@ -60,9 +57,9 @@
|
|
60
57
|
display: inline-block;
|
61
58
|
margin-top: .1em;
|
62
59
|
text-decoration: underline;
|
63
|
-
margin-left:
|
60
|
+
margin-left: govuk-spacing(5);
|
64
61
|
|
65
|
-
@include media(
|
66
|
-
margin-left:
|
62
|
+
@include govuk-media-query($from: tablet) {
|
63
|
+
margin-left: govuk-spacing(6);
|
67
64
|
}
|
68
65
|
}
|
@@ -1,27 +1,27 @@
|
|
1
1
|
.gem-c-related-navigation {
|
2
2
|
@include govuk-text-colour;
|
3
|
-
border-top: 2px solid
|
3
|
+
border-top: 2px solid govuk-colour("blue");
|
4
4
|
}
|
5
5
|
|
6
6
|
.gem-c-related-navigation__main-heading {
|
7
|
-
@include
|
8
|
-
margin-top:
|
9
|
-
margin-bottom:
|
7
|
+
@include govuk-font(19, $weight: bold);
|
8
|
+
margin-top: govuk-spacing(3);
|
9
|
+
margin-bottom: govuk-spacing(2);
|
10
10
|
}
|
11
11
|
|
12
12
|
.gem-c-related-navigation__sub-heading {
|
13
|
-
@include
|
14
|
-
border-top: 1px solid
|
13
|
+
@include govuk-font(16);
|
14
|
+
border-top: 1px solid govuk-colour("grey-2");
|
15
15
|
margin: 0;
|
16
|
-
padding-top:
|
16
|
+
padding-top: govuk-spacing(3);
|
17
17
|
}
|
18
18
|
|
19
19
|
.gem-c-related-navigation__sub-heading--footer {
|
20
|
-
@include
|
20
|
+
@include govuk-font(19, $weight: bold);
|
21
21
|
border-top: 0;
|
22
22
|
padding-top: 0;
|
23
|
-
margin-top:
|
24
|
-
margin-bottom:
|
23
|
+
margin-top: govuk-spacing(3);
|
24
|
+
margin-bottom: govuk-spacing(2);
|
25
25
|
}
|
26
26
|
|
27
27
|
.gem-c-related-navigation__main-heading + .gem-c-related-navigation__sub-heading {
|
@@ -30,21 +30,21 @@
|
|
30
30
|
}
|
31
31
|
|
32
32
|
.gem-c-related-navigation__sub-heading--other {
|
33
|
-
@include
|
33
|
+
@include govuk-font(19, $weight: bold);
|
34
34
|
border-top: 0;
|
35
35
|
padding-top: 0;
|
36
36
|
}
|
37
37
|
|
38
38
|
.gem-c-related-navigation__nav-section {
|
39
|
-
margin-bottom:
|
39
|
+
margin-bottom: govuk-spacing(6);
|
40
40
|
}
|
41
41
|
|
42
42
|
.gem-c-related-navigation__link {
|
43
43
|
list-style-type: none;
|
44
|
-
margin-top:
|
44
|
+
margin-top: govuk-spacing(3);
|
45
45
|
@include govuk-font($size: 16, $weight: regular, $line-height: 1.5);
|
46
46
|
|
47
|
-
@include media(tablet) {
|
47
|
+
@include govuk-media-query($from: tablet) {
|
48
48
|
margin-top: 5px;
|
49
49
|
}
|
50
50
|
}
|
@@ -8,27 +8,27 @@ $share-button-height: 32px;
|
|
8
8
|
}
|
9
9
|
|
10
10
|
.gem-c-share-links__list-item {
|
11
|
-
|
11
|
+
box-sizing: border-box;
|
12
12
|
position: relative;
|
13
13
|
display: inline-block;
|
14
14
|
min-height: $share-button-height;
|
15
|
-
padding-left: ($share-button-width +
|
16
|
-
margin-bottom:
|
15
|
+
padding-left: ($share-button-width + govuk-spacing(2));
|
16
|
+
margin-bottom: govuk-spacing(2);
|
17
17
|
font-size: $share-button-height / 2;
|
18
18
|
line-height: $share-button-height;
|
19
19
|
}
|
20
20
|
|
21
21
|
.gem-c-share-links__link {
|
22
22
|
@extend %govuk-link;
|
23
|
-
@include
|
24
|
-
margin-right:
|
23
|
+
@include govuk-font(16, $weight: bold);
|
24
|
+
margin-right: govuk-spacing(6);
|
25
25
|
text-decoration: none;
|
26
26
|
}
|
27
27
|
|
28
28
|
.gem-c-share-links__title {
|
29
29
|
@include govuk-text-colour;
|
30
30
|
@include govuk-font($size: 16, $line-height: 1.5);
|
31
|
-
margin: 0 0
|
31
|
+
margin: 0 0 govuk-spacing(2) 0;
|
32
32
|
}
|
33
33
|
|
34
34
|
.gem-c-share-links__link-icon {
|
@@ -44,12 +44,12 @@ $share-button-height: 32px;
|
|
44
44
|
.gem-c-share-links__link {
|
45
45
|
display: inline-block;
|
46
46
|
margin-right: 0;
|
47
|
-
margin-left:
|
47
|
+
margin-left: govuk-spacing(6);
|
48
48
|
}
|
49
49
|
|
50
50
|
.gem-c-share-links__list-item {
|
51
51
|
padding-left: 0;
|
52
|
-
padding-right: ($share-button-width +
|
52
|
+
padding-right: ($share-button-width + govuk-spacing(2));
|
53
53
|
}
|
54
54
|
|
55
55
|
.gem-c-share-links__link-icon {
|