hmrc-frontend 6.89.0 → 6.90.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-6.89.0.css → accessible-autocomplete-6.90.0.css} +1 -1
- package/hmrc/components/internal-header/_internal-header.scss +53 -21
- package/hmrc/components/internal-header/template.njk +2 -2
- package/hmrc/{hmrc-frontend-6.89.0.min.css → hmrc-frontend-6.90.0.min.css} +2 -2
- package/hmrc/{hmrc-frontend-6.89.0.min.js → hmrc-frontend-6.90.0.min.js} +1 -1
- package/hmrc/maps/{accessible-autocomplete-6.89.0.css.map → accessible-autocomplete-6.90.0.css.map} +1 -1
- package/hmrc/maps/hmrc-frontend-6.90.0.min.css.map +1 -0
- package/hmrc/maps/{hmrc-frontend-6.89.0.min.js.map → hmrc-frontend-6.90.0.min.js.map} +1 -1
- package/package.json +1 -1
- package/hmrc/maps/hmrc-frontend-6.89.0.min.css.map +0 -1
- /package/hmrc/{accessible-autocomplete-6.89.0.js → accessible-autocomplete-6.90.0.js} +0 -0
package/hmrc/VERSION.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.90.0
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
.autocomplete__wrapper{position:relative}.autocomplete__hint,.autocomplete__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:2px solid #0b0c0c;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;height:2.5rem;line-height:1.25;margin-bottom:0;width:100%}.autocomplete__input{background-color:rgba(0,0,0,0);position:relative}.autocomplete__hint{color:#505a5f;position:absolute}.autocomplete__input--default{padding:5px}.autocomplete__input--focused{-webkit-box-shadow:inset 0 0 0 2px;box-shadow:inset 0 0 0 2px;outline:3px solid #fd0;outline-offset:0}.autocomplete__input--show-all-values{cursor:pointer;padding:5px 35px 5px 5px}.autocomplete__dropdown-arrow-down{display:inline-block;height:24px;position:absolute;right:8px;top:10px;width:24px;z-index:-1}.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:0 2px 6px rgba(0,0,0,.257);box-shadow:0 2px 6px rgba(0,0,0,.257);left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-bottom:1px solid #b1b4b6;border-left-width:0;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:#f3f2f1}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:none}@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{background-color:Highlight;background-color:SelectedItem;border-color:SelectedItem;color:HighlightText;color:SelectedItemText;forced-color-adjust:none;outline-color:SelectedItemText}}.autocomplete__option--no-results{background-color:#f3f2f1;color:#505a5f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:1rem;font-weight:400}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width:641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:1.1875rem;line-height:1.3157894737}}.autocomplete__hint,.autocomplete__input,.autocomplete__option,.autocomplete__wrapper{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:1rem;line-height:1.25}@media print{.autocomplete__hint,.autocomplete__input,.autocomplete__option,.autocomplete__wrapper{font-family:sans-serif}}@media (min-width:40.0625em){.autocomplete__hint,.autocomplete__input,.autocomplete__option,.autocomplete__wrapper{font-size:1.1875rem;line-height:1.3157894737}}@media print{.autocomplete__hint,.autocomplete__input,.autocomplete__option,.autocomplete__wrapper{font-size:14pt;line-height:1.15}}.govuk-form-group--error div:has(+.govuk-select--error[data-module=hmrc-accessible-autocomplete])>.autocomplete__wrapper .autocomplete__input{border-color:#d4351c}.autocomplete__dropdown-arrow-down{z-index:0;pointer-events:none}
|
|
2
|
-
/*# sourceMappingURL=maps/accessible-autocomplete-6.
|
|
2
|
+
/*# sourceMappingURL=maps/accessible-autocomplete-6.90.0.css.map */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
-webkit-box-sizing: border-box;
|
|
5
5
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
|
-
padding: govuk-spacing(4) 0;
|
|
7
|
+
padding: govuk-spacing(4) 0 govuk-spacing(3);
|
|
8
8
|
border-bottom: 10px solid govuk-organisation-colour("hm-revenue-customs");
|
|
9
9
|
|
|
10
10
|
@include govuk-media-query(desktop) {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
.hmrc-internal-header__logo {
|
|
33
33
|
margin-bottom: govuk-spacing(2);
|
|
34
|
-
|
|
34
|
+
position: relative;
|
|
35
35
|
|
|
36
36
|
@include govuk-media-query(desktop) {
|
|
37
37
|
width: 33.33%;
|
|
@@ -39,19 +39,55 @@
|
|
|
39
39
|
vertical-align: top;
|
|
40
40
|
margin-bottom: 0;
|
|
41
41
|
}
|
|
42
|
+
|
|
43
|
+
&::before {
|
|
44
|
+
content: "";
|
|
45
|
+
border-left: 2px solid govuk-organisation-colour("hm-revenue-customs");
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
height: 32px;
|
|
50
|
+
}
|
|
42
51
|
}
|
|
43
52
|
|
|
44
53
|
.hmrc-internal-header__logo-link {
|
|
45
|
-
@include govuk-link-common;
|
|
46
|
-
@include govuk-link-style-default;
|
|
47
54
|
@include govuk-link-print-friendly;
|
|
48
55
|
|
|
56
|
+
font-size: 1.25em;
|
|
57
|
+
line-height: 32px;
|
|
58
|
+
text-decoration: none;
|
|
49
59
|
display: table;
|
|
60
|
+
margin-left: 12px;
|
|
61
|
+
padding-bottom: 3px;
|
|
62
|
+
|
|
63
|
+
@include govuk-media-query ($from: tablet) {
|
|
64
|
+
font-size: 1.0526em;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:link,
|
|
68
|
+
&:visited {
|
|
69
|
+
color: govuk-colour("black");
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:hover,
|
|
73
|
+
&:active {
|
|
74
|
+
// Negate added border
|
|
75
|
+
margin-bottom: $govuk-header-link-underline-thickness * -1;
|
|
76
|
+
border-bottom: $govuk-header-link-underline-thickness solid;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:focus {
|
|
80
|
+
@include govuk-focused-text;
|
|
81
|
+
|
|
82
|
+
margin-bottom: 0;
|
|
83
|
+
border-bottom: 0;
|
|
84
|
+
}
|
|
50
85
|
|
|
51
86
|
svg {
|
|
52
87
|
float: left;
|
|
53
88
|
vertical-align: top;
|
|
54
89
|
fill: currentcolor;
|
|
90
|
+
margin-right: 10px;
|
|
55
91
|
}
|
|
56
92
|
|
|
57
93
|
img {
|
|
@@ -61,14 +97,6 @@
|
|
|
61
97
|
height: 32px;
|
|
62
98
|
padding: 0 10px;
|
|
63
99
|
}
|
|
64
|
-
|
|
65
|
-
&:link,
|
|
66
|
-
&:visited {
|
|
67
|
-
color: govuk-colour("black");
|
|
68
|
-
font-size: 20px;
|
|
69
|
-
line-height: 32px;
|
|
70
|
-
text-decoration: none;
|
|
71
|
-
}
|
|
72
100
|
}
|
|
73
101
|
|
|
74
102
|
.hmrc-internal-header__logo-text {
|
|
@@ -80,13 +108,9 @@
|
|
|
80
108
|
}
|
|
81
109
|
|
|
82
110
|
.hmrc-internal-header__service-name {
|
|
83
|
-
@include govuk-
|
|
84
|
-
|
|
85
|
-
font-size: 20px;
|
|
86
|
-
font-weight: bold;
|
|
111
|
+
@include govuk-font($size: 24, $weight: 'bold', $line-height: 1.25);
|
|
87
112
|
|
|
88
113
|
@include govuk-media-query ($from: desktop) {
|
|
89
|
-
font-size: 24px;
|
|
90
114
|
width: 66.66%;
|
|
91
115
|
padding-left: $govuk-gutter-half;
|
|
92
116
|
float: left;
|
|
@@ -98,8 +122,6 @@
|
|
|
98
122
|
@include govuk-link-style-default;
|
|
99
123
|
@include govuk-link-print-friendly;
|
|
100
124
|
|
|
101
|
-
font-size: 20px;
|
|
102
|
-
font-weight: bold;
|
|
103
125
|
text-decoration: none;
|
|
104
126
|
|
|
105
127
|
&:link,
|
|
@@ -107,7 +129,17 @@
|
|
|
107
129
|
color: govuk-colour("black");
|
|
108
130
|
}
|
|
109
131
|
|
|
110
|
-
|
|
111
|
-
|
|
132
|
+
&:hover,
|
|
133
|
+
&:active {
|
|
134
|
+
// Negate added border
|
|
135
|
+
margin-bottom: $govuk-header-link-underline-thickness * -1;
|
|
136
|
+
border-bottom: $govuk-header-link-underline-thickness solid;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&:focus {
|
|
140
|
+
@include govuk-focused-text;
|
|
141
|
+
|
|
142
|
+
margin-bottom: 0;
|
|
143
|
+
border-bottom: 0;
|
|
112
144
|
}
|
|
113
145
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="hmrc-internal-header__logo">
|
|
4
4
|
<a href="{{ params.homepageUrl | default('/') }}" class="hmrc-internal-header__logo-link">
|
|
5
5
|
{% if params.useTudorCrown | default(true) %}
|
|
6
|
-
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="
|
|
6
|
+
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 45.35 45.35" focusable="false" aria-hidden="true">
|
|
7
7
|
<path class="cls-1" d="m28.5,16.6c.82-.34,1.22-1.29.88-2.12-.34-.83-1.3-1.24-2.12-.9-.84.34-1.23,1.31-.89,2.14.34.83,1.3,1.23,2.14.88Z"/>
|
|
8
8
|
<path class="cls-1" d="m22.06,19.36c-.84.34-1.23,1.31-.89,2.14.34.83,1.3,1.23,2.14.88.82-.34,1.22-1.29.88-2.12-.34-.83-1.3-1.24-2.12-.9Z"/>
|
|
9
9
|
<path class="cls-1" d="m32.86,19.2c.82-.34,1.22-1.29.88-2.12-.34-.83-1.3-1.24-2.12-.9-.84.34-1.23,1.31-.89,2.14.34.83,1.3,1.23,2.14.88Z"/>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<path class="cls-1" d="m22.68.57C10.47.57.57,10.47.57,22.68s9.9,22.11,22.11,22.11,22.11-9.9,22.11-22.11S34.89.57,22.68.57Zm0,41.69c-10.81,0-19.58-8.77-19.58-19.58S11.86,3.1,22.68,3.1s19.58,8.77,19.58,19.58-8.77,19.58-19.58,19.58Z"/>
|
|
17
17
|
</svg>
|
|
18
18
|
{% else %}
|
|
19
|
-
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="
|
|
19
|
+
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 134.94 134.94" focusable="false" aria-hidden="true">
|
|
20
20
|
<path d="M104.32,73.72,101,73.29c.94-2,1.51-3.22,1.51-3.22,0-.38,1.11-2.22,1.53-3.73a19.94,19.94,0,0,0,.61-3.89,15.05,15.05,0,0,0-3.68-10.06,12.21,12.21,0,0,0-9.18-4.18,17.46,17.46,0,0,0-3.68.44c-2.09.52-3.08.81-4.93,1.29a51.13,51.13,0,0,0-8.85,3.61,1.37,1.37,0,0,0-.73.91,2,2,0,0,0-.07.53L73.31,71.6H70.53V53.46a4.05,4.05,0,0,1,.18-1.14,3.37,3.37,0,0,1,1.43-1.71c.6-.39,1.21-.75,1.82-1.08a2.49,2.49,0,1,1,3.87-2.07c0,.12,0,.25,0,.37l.16-.06c.55-.19,1.16-.37,1.75-.55a2.49,2.49,0,1,1,3.71-2.16,2.66,2.66,0,0,1-.3,1.16l2.06-.56.36-.08a2.49,2.49,0,1,1,3.87-2.07A2.42,2.42,0,0,1,89,44.82h.06a16.43,16.43,0,0,1,2.72-.18,2.45,2.45,0,0,1-.48-1.45,2.49,2.49,0,1,1,5,0,2.46,2.46,0,0,1-.89,1.89A16.46,16.46,0,0,1,98.1,46a2.41,2.41,0,0,1-.12-.72,2.5,2.5,0,1,1,3,2.44,16.7,16.7,0,0,1,2.12,1.91v-.08a2.49,2.49,0,1,1,2.49,2.49,2.15,2.15,0,0,1-.68-.11,18.34,18.34,0,0,1,1.25,2.26,2.49,2.49,0,0,1,4.55,1.4,2.5,2.5,0,0,1-2.49,2.5,2.64,2.64,0,0,1-.8-.15,20.9,20.9,0,0,1,.35,2.1,2.52,2.52,0,0,1,1-.19,2.49,2.49,0,1,1,0,5,2.59,2.59,0,0,1-1.07-.25c0,.26-.08.54-.11.82s-.14.55-.21.78a2.49,2.49,0,0,1-.32,5,2.39,2.39,0,0,1-1.39-.43c-.34.8-.78,1.83-1.27,3" />
|
|
21
21
|
<path d="M67.45,71.79a2.39,2.39,0,1,1,0-4.78h0a2.39,2.39,0,0,1,0,4.78Z" />
|
|
22
22
|
<path d="M67.47,66a2.28,2.28,0,1,0,0-4.56h0a2.28,2.28,0,0,0,0,4.56Z" />
|