govuk_publishing_components 20.2.0 → 20.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/govuk_publishing_components/chevron-banner/chevron-banner-focus.svg +11 -12
- data/app/assets/stylesheets/govuk_publishing_components/components/_chevron-banner.scss +15 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +6 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45cc05db5b137ec2d96ffee09eecf025fcee4c01a91a5b64edded2f18936f8bb
|
4
|
+
data.tar.gz: b71a39087918807f81429b741a9dc9ab78e76cc0da63072b28f5c1056e4dd6e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3be2c669809d94fc17536467e8aeee9f4ad64b9cfd0f69d5c06f0cfcce6c00805fc5f2ea2f45dbdce8cf19bb048c97d05f2e887b8e941bef0c04ab6052221a6c
|
7
|
+
data.tar.gz: 6b046f24b0c6f81cddc0a69cf4f06c094a5b14d256d3ca0398b0d11d1905edff8609485868c0d21efc2c819ba5bcfdc4d32ec6edcb33a5b13c1b3be0df2b9db3
|
@@ -1,13 +1,12 @@
|
|
1
|
-
|
2
|
-
<
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
<
|
7
|
-
<
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
</g>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 140 109">
|
2
|
+
<defs>
|
3
|
+
<path id="a" d="M0 0h93v109H0z"/>
|
4
|
+
</defs>
|
5
|
+
<g fill="none" fill-rule="evenodd" stroke-width="2" shape-rendering="geometricPrecision" vector-effect="non-scaling-stroke">
|
6
|
+
<path fill="#FD0" fill-rule="nonzero" stroke="#000" stroke-width="2.5" d="M91.611237 52.6639273c1.037118 1.1432316 1.037466 2.8868605.000802 4.0305048L46.6210236 106.328396c-.3709165.409194-.3398864 1.041599.0693073 1.412515.1839444.166737.4233355.259089.6716035.259089H84.254263c.559784 0 1.093946-.234599 1.472697-.646795l46.534281-50.643363c1.054879-1.1480276 1.05457-2.9127296-.000709-4.0603883L85.36275 1.64627982C84.98402 1.23439602 84.450067 1 83.890527 1H47c-.5522848 0-1 .44771525-1 1 0 .24840526.0924536.48791876.2593567.67189844L91.611237 52.6639273z" vector-effect="non-scaling-stroke"/>
|
7
|
+
<mask id="b" fill="#fff">
|
8
|
+
<use xlink:href="#a"/>
|
9
|
+
</mask>
|
10
|
+
<path fill="#FD0" fill-rule="nonzero" stroke="#000" stroke-width="2.5" d="M-37.9966516 1l.3576762 107H2.7689834c.559783 0 1.0939457-.234599 1.4726965-.646795l46.5342804-50.6433632c1.0548793-1.1480275 1.054571-2.9127293-.0007095-4.0603881L3.8774704 1.64628002C3.4987402 1.2343961 2.9647868 1 2.4052469 1h-40.4018985z" mask="url(#b)" vector-effect="non-scaling-stroke"/>
|
11
|
+
</g>
|
13
12
|
</svg>
|
@@ -11,8 +11,10 @@ $yellow: #ffdd00;
|
|
11
11
|
background-color: $dark-red;
|
12
12
|
}
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
@include govuk-media-query($from: mobile) {
|
15
|
+
.gem-c-chevron-banner__link-container:after {
|
16
|
+
background-image: image-url("govuk_publishing_components/chevron-banner/chevron-banner-hover.svg");
|
17
|
+
}
|
16
18
|
}
|
17
19
|
}
|
18
20
|
|
@@ -26,8 +28,10 @@ $yellow: #ffdd00;
|
|
26
28
|
}
|
27
29
|
}
|
28
30
|
|
29
|
-
|
30
|
-
|
31
|
+
@include govuk-media-query($from: mobile) {
|
32
|
+
.gem-c-chevron-banner__link-container:after {
|
33
|
+
background-image: image-url("govuk_publishing_components/chevron-banner/chevron-banner-hover-border.svg");
|
34
|
+
}
|
31
35
|
}
|
32
36
|
}
|
33
37
|
|
@@ -58,7 +62,12 @@ $yellow: #ffdd00;
|
|
58
62
|
|
59
63
|
@include govuk-media-query($from: mobile) {
|
60
64
|
border-radius: 5px 0 0 5px;
|
61
|
-
margin-right:
|
65
|
+
margin-right: 120px;
|
66
|
+
padding: govuk-spacing(3);
|
67
|
+
}
|
68
|
+
|
69
|
+
@include govuk-media-query($from: desktop) {
|
70
|
+
padding: govuk-spacing(4);
|
62
71
|
}
|
63
72
|
}
|
64
73
|
|
@@ -81,7 +90,7 @@ $yellow: #ffdd00;
|
|
81
90
|
top: 0;
|
82
91
|
right: 0;
|
83
92
|
height: 100%;
|
84
|
-
min-width:
|
93
|
+
min-width: 120px;
|
85
94
|
background-image: image-url("govuk_publishing_components/chevron-banner/chevron-banner.svg");
|
86
95
|
background-repeat: no-repeat;
|
87
96
|
background-position: -1px center;
|
@@ -6,7 +6,13 @@
|
|
6
6
|
}
|
7
7
|
|
8
8
|
// this overrides styles from static that break the look of the component
|
9
|
+
// unfortunately we then need to override the override for the search icon variant
|
10
|
+
// TODO: remove these styles once static is made less aggressive
|
9
11
|
.gem-c-input.govuk-input {
|
10
12
|
margin: 0;
|
11
13
|
padding: govuk-spacing(1);
|
14
|
+
|
15
|
+
&.gem-c-input--search-icon {
|
16
|
+
padding-left: govuk-spacing(6);
|
17
|
+
}
|
12
18
|
}
|