hmrc-frontend 5.24.0 → 5.25.0
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.
- package/hmrc/VERSION.txt +1 -1
- package/hmrc/{accessible-autocomplete-5.24.0.css → accessible-autocomplete-5.25.0.css} +1 -1
- package/hmrc/components/user-research-banner/_user-research-banner.scss +27 -31
- package/hmrc/components/user-research-banner/template.njk +25 -23
- package/hmrc/{hmrc-frontend-5.24.0.min.css → hmrc-frontend-5.25.0.min.css} +2 -2
- package/hmrc/{hmrc-frontend-5.24.0.min.js → hmrc-frontend-5.25.0.min.js} +1 -1
- package/hmrc/{hmrc-frontend-ie8-5.24.0.min.css → hmrc-frontend-ie8-5.25.0.min.css} +2 -2
- package/hmrc/maps/{accessible-autocomplete-5.24.0.css.map → accessible-autocomplete-5.25.0.css.map} +1 -1
- package/hmrc/maps/hmrc-frontend-5.25.0.min.css.map +1 -0
- package/hmrc/maps/{hmrc-frontend-5.24.0.min.js.map → hmrc-frontend-5.25.0.min.js.map} +1 -1
- package/hmrc/maps/hmrc-frontend-ie8-5.25.0.min.css.map +1 -0
- package/package.json +1 -1
- package/hmrc/maps/hmrc-frontend-5.24.0.min.css.map +0 -1
- package/hmrc/maps/hmrc-frontend-ie8-5.24.0.min.css.map +0 -1
- /package/hmrc/{accessible-autocomplete-5.24.0.js → accessible-autocomplete-5.25.0.js} +0 -0
package/hmrc/VERSION.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.25.0
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
.autocomplete__wrapper{position:relative}.autocomplete__hint,.autocomplete__input{-webkit-appearance:none;border:2px solid #0b0c0c;border-radius:0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;margin-bottom:0;width:100%}.autocomplete__input{background-color:rgba(0,0,0,0);position:relative}.autocomplete__hint{color:#b1b4b6;position:absolute}.autocomplete__input--default{padding:5px}.autocomplete__input--focused{outline:3px solid #fd0;outline-offset:0;-webkit-box-shadow:inset 0 0 0 2px;box-shadow:inset 0 0 0 2px}.autocomplete__input--show-all-values{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:100%;width:calc(100% - 4px)}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--overlay{-webkit-box-shadow:rgba(0,0,0,.256863) 0 2px 6px;box-shadow:0 2px 6px rgba(0,0,0,.256863);left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-left-width:0;border-bottom:1px solid #b1b4b6;border-right-width:0;border-top-width:1px;cursor:pointer;display:block;position:relative}.autocomplete__option>*{pointer-events:none}.autocomplete__option:first-of-type{border-top-width:0}.autocomplete__option:last-of-type{border-bottom-width:0}.autocomplete__option--odd{background-color:#fafafa}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}@media (-ms-high-contrast:active),(forced-colors:active){.autocomplete__menu{border-color:FieldText}.autocomplete__option{background-color:Field;color:FieldText}.autocomplete__option--focused,.autocomplete__option:hover{forced-color-adjust:none;background-color:SelectedItem;border-color:SelectedItem;color:SelectedItemText;outline-color:SelectedItemText}}.autocomplete__option--no-results{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:16px;line-height:1.25}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width:641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:19px;line-height:1.31579}}.autocomplete__hint,.autocomplete__input,.autocomplete__wrapper{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25}@media print{.autocomplete__hint,.autocomplete__input,.autocomplete__wrapper{font-family:sans-serif}}@media (min-width:40.0625em){.autocomplete__hint,.autocomplete__input,.autocomplete__wrapper{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.autocomplete__hint,.autocomplete__input,.autocomplete__wrapper{font-size:14pt;line-height:1.15}}
|
|
2
|
-
/*# sourceMappingURL=maps/accessible-autocomplete-5.
|
|
2
|
+
/*# sourceMappingURL=maps/accessible-autocomplete-5.25.0.css.map */
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
+
@import "../../../../govuk-frontend/govuk/helpers/links";
|
|
1
2
|
@import "../../../../govuk-frontend/govuk/helpers/typography";
|
|
2
|
-
|
|
3
|
-
@mixin hmrc-white-link() {
|
|
4
|
-
color: govuk-colour("white");
|
|
5
|
-
|
|
6
|
-
&:link,
|
|
7
|
-
&:hover,
|
|
8
|
-
&:visited {
|
|
9
|
-
color: govuk-colour("white");
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:active,
|
|
13
|
-
&:focus {
|
|
14
|
-
color: govuk-colour("black");
|
|
15
|
-
}
|
|
16
|
-
}
|
|
3
|
+
@import "../../../../govuk-frontend/govuk/utilities/clearfix";
|
|
17
4
|
|
|
18
5
|
.hmrc-user-research-banner {
|
|
19
6
|
display: none;
|
|
@@ -23,12 +10,30 @@
|
|
|
23
10
|
-webkit-box-sizing: border-box;
|
|
24
11
|
box-sizing: border-box;
|
|
25
12
|
|
|
13
|
+
@include govuk-clearfix;
|
|
26
14
|
@include govuk-responsive-padding(6, "top");
|
|
27
15
|
@include govuk-responsive-padding(6, "bottom");
|
|
28
16
|
@include govuk-font($size: 19);
|
|
29
17
|
|
|
30
18
|
&__container {
|
|
31
19
|
position: relative;
|
|
20
|
+
|
|
21
|
+
@include govuk-media-query($from: tablet) {
|
|
22
|
+
display: -webkit-box;
|
|
23
|
+
display: -ms-flexbox;
|
|
24
|
+
display: flex;
|
|
25
|
+
-webkit-box-align: center;
|
|
26
|
+
-ms-flex-align: center;
|
|
27
|
+
align-items: center;
|
|
28
|
+
-webkit-box-pack: justify;
|
|
29
|
+
-ms-flex-pack: justify;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__text {
|
|
35
|
+
float: left;
|
|
36
|
+
margin-bottom: govuk-spacing(3);
|
|
32
37
|
}
|
|
33
38
|
|
|
34
39
|
&__title {
|
|
@@ -38,25 +43,16 @@
|
|
|
38
43
|
}
|
|
39
44
|
|
|
40
45
|
&__link {
|
|
41
|
-
@include
|
|
46
|
+
@include govuk-link-common;
|
|
47
|
+
@include govuk-link-style-inverse;
|
|
42
48
|
}
|
|
43
49
|
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
&__close {
|
|
51
|
+
float: right;
|
|
52
|
+
margin-bottom: 0;
|
|
46
53
|
}
|
|
47
54
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
@include govuk-responsive-margin(2, "top");
|
|
51
|
-
|
|
52
|
-
outline: 0;
|
|
53
|
-
border: 0;
|
|
54
|
-
background: none;
|
|
55
|
-
text-decoration: underline;
|
|
56
|
-
-webkit-box-shadow: none;
|
|
57
|
-
box-shadow: none;
|
|
58
|
-
padding: 0;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
font-size: inherit;
|
|
55
|
+
&--show {
|
|
56
|
+
display: block;
|
|
61
57
|
}
|
|
62
58
|
}
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
<div class="hmrc-user-research-banner" data-module="hmrc-user-research-banner">
|
|
2
2
|
<div class="hmrc-user-research-banner__container govuk-width-container">
|
|
3
3
|
<div class="hmrc-user-research-banner__text">
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
<h2 class="govuk-heading-s hmrc-user-research-banner__title">
|
|
5
|
+
{% if params.language == 'cy' %}
|
|
6
|
+
Helpwch i wella GOV.UK
|
|
7
|
+
{% else %}
|
|
8
|
+
Help make GOV.UK better
|
|
9
|
+
{% endif %}
|
|
10
|
+
</h2>
|
|
11
|
+
<a class="govuk-link hmrc-user-research-banner__link" rel="noopener noreferrer" href="{{ params.url }}" target="_blank">
|
|
12
|
+
{% if params.language == 'cy' %}
|
|
13
|
+
Cofrestrwch i gymryd rhan mewn ymchwil (yn agor tab newydd)
|
|
14
|
+
{% else %}
|
|
15
|
+
Sign up to take part in research (opens in new tab)
|
|
16
|
+
{% endif %}
|
|
17
|
+
</a>
|
|
18
18
|
</div>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
{% if not params.hideCloseButton %}
|
|
20
|
+
<button class="govuk-button govuk-button--secondary hmrc-user-research-banner__close">
|
|
21
|
+
{% if params.language == 'cy' %}
|
|
22
|
+
<span aria-hidden="true">Cuddio’r neges</span>
|
|
23
|
+
<span class="govuk-visually-hidden">Cuddio’r neges. Dydw i ddim eisiau cymryd rhan mewn ymchwil</span>
|
|
24
|
+
{% else %}
|
|
25
|
+
<span aria-hidden="true">Hide message</span>
|
|
26
|
+
<span class="govuk-visually-hidden">Hide message. I do not want to take part in research</span>
|
|
27
|
+
{% endif %}
|
|
28
|
+
</button>
|
|
29
|
+
{% endif %}
|
|
28
30
|
</div>
|
|
29
31
|
</div>
|