hmrc-frontend 4.7.0 → 4.9.1
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/components/account-menu/_account-menu.scss +11 -31
- package/hmrc/components/header/_header.scss +4 -6
- package/hmrc/components/language-select/_language-select.scss +1 -3
- package/hmrc/components/page-heading/_page-heading.scss +9 -6
- package/hmrc/components/page-heading/template.njk +3 -3
- package/hmrc/{hmrc-frontend-4.7.0.min.css → hmrc-frontend-4.9.1.min.css} +2 -2
- package/hmrc/{hmrc-frontend-4.7.0.min.js → hmrc-frontend-4.9.1.min.js} +1 -1
- package/hmrc/{hmrc-frontend-ie8-4.7.0.min.css → hmrc-frontend-ie8-4.9.1.min.css} +2 -2
- package/hmrc/maps/hmrc-frontend-4.9.1.min.css.map +1 -0
- package/hmrc/maps/{hmrc-frontend-4.7.0.min.js.map → hmrc-frontend-4.9.1.min.js.map} +1 -1
- package/hmrc/maps/hmrc-frontend-ie8-4.9.1.min.css.map +1 -0
- package/package.json +1 -1
- package/hmrc/maps/hmrc-frontend-4.7.0.min.css.map +0 -1
- package/hmrc/maps/hmrc-frontend-ie8-4.7.0.min.css.map +0 -1
package/hmrc/VERSION.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.
|
|
1
|
+
4.9.1
|
|
@@ -87,28 +87,28 @@ $hmrc-transition-type: "all";
|
|
|
87
87
|
|
|
88
88
|
&:hover,
|
|
89
89
|
&:focus {
|
|
90
|
+
outline: none;
|
|
90
91
|
border-bottom-width: 4px;
|
|
91
92
|
border-bottom-style: solid;
|
|
92
|
-
color: govuk-colour
|
|
93
|
+
color: $govuk-link-hover-colour;
|
|
94
|
+
border-bottom-color: $govuk-link-hover-colour;
|
|
93
95
|
}
|
|
94
96
|
|
|
95
|
-
&:
|
|
96
|
-
|
|
97
|
+
&:focus {
|
|
98
|
+
background-color: $govuk-focus-colour;
|
|
99
|
+
color: $govuk-focus-text-colour;
|
|
97
100
|
}
|
|
98
101
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
+
.hmrc-notification-badge {
|
|
103
|
+
// otherwise the line height is slightly larger than the menu items and we
|
|
104
|
+
// get a small gap under menu items without a notification badge.
|
|
105
|
+
line-height: inherit;
|
|
102
106
|
}
|
|
103
107
|
}
|
|
104
108
|
|
|
105
109
|
.is-smaller .hmrc-account-menu__link {
|
|
106
110
|
padding-left: 10px;
|
|
107
111
|
color: govuk-colour("black");
|
|
108
|
-
|
|
109
|
-
&:hover {
|
|
110
|
-
color: govuk-colour("black");
|
|
111
|
-
}
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.hmrc-account-menu__link--home {
|
|
@@ -120,27 +120,6 @@ $hmrc-transition-type: "all";
|
|
|
120
120
|
.is-smaller .hmrc-account-menu__link--home,
|
|
121
121
|
.is-smaller .hmrc-account-menu__link--menu {
|
|
122
122
|
padding-left: 0;
|
|
123
|
-
|
|
124
|
-
&:hover {
|
|
125
|
-
border-bottom-color: transparent;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&:focus {
|
|
129
|
-
border-bottom-color: $hmrc-account-menu-yellow-1;
|
|
130
|
-
color: govuk-colour("light-blue");
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&.hmrc-account-menu__link--active {
|
|
134
|
-
&:hover {
|
|
135
|
-
border-bottom-color: $govuk-brand-colour;
|
|
136
|
-
color: govuk-colour("black");
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&:focus {
|
|
140
|
-
border-bottom-color: $hmrc-account-menu-yellow-1;
|
|
141
|
-
color: govuk-colour("light-blue");
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
123
|
}
|
|
145
124
|
|
|
146
125
|
.hmrc-account-menu__link--menu {
|
|
@@ -214,6 +193,7 @@ $hmrc-transition-type: "all";
|
|
|
214
193
|
|
|
215
194
|
.hmrc-account-menu__link {
|
|
216
195
|
border-bottom: 0;
|
|
196
|
+
display: block;
|
|
217
197
|
|
|
218
198
|
&:hover {
|
|
219
199
|
border-bottom: 0;
|
|
@@ -31,13 +31,11 @@ $govuk-header-link-underline-thickness: 3px;
|
|
|
31
31
|
.govuk-list {
|
|
32
32
|
margin-bottom: 0;
|
|
33
33
|
|
|
34
|
-
a {
|
|
35
|
-
|
|
34
|
+
a:not(.govuk-header__link) {
|
|
35
|
+
@include govuk-font($size: 16, $weight: "bold");
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
text-decoration: none;
|
|
40
|
-
}
|
|
37
|
+
color: govuk-colour("mid-grey");
|
|
38
|
+
text-decoration: none;
|
|
41
39
|
}
|
|
42
40
|
}
|
|
43
41
|
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
.hmrc-page-heading {
|
|
2
2
|
display: table;
|
|
3
3
|
width: 100%;
|
|
4
|
-
margin-top: govuk-em(60, 32);
|
|
5
|
-
margin-bottom: govuk-em(30, 32);
|
|
6
4
|
padding-top: 8px;
|
|
7
5
|
clear: both;
|
|
8
6
|
table-layout: fixed;
|
|
9
7
|
|
|
8
|
+
.hmrc-caption {
|
|
9
|
+
display: table-header-group;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.hmrc-page-heading--with-margin {
|
|
14
|
+
margin-top: govuk-em(60, 32);
|
|
15
|
+
margin-bottom: govuk-em(30, 32);
|
|
16
|
+
|
|
10
17
|
@include govuk-media-query($from: tablet) {
|
|
11
18
|
margin-top: govuk-em(90, 48);
|
|
12
19
|
margin-bottom: govuk-em(60, 48);
|
|
13
20
|
}
|
|
14
|
-
|
|
15
|
-
.hmrc-caption-xl {
|
|
16
|
-
display: table-header-group;
|
|
17
|
-
}
|
|
18
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<header class="hmrc-page-heading">
|
|
2
|
-
<h1 class="govuk-heading-xl">{{ params.text }}</h1>
|
|
1
|
+
<header class="hmrc-page-heading{%- if params.classes %} {{ params.classes }}{%- endif -%}">
|
|
2
|
+
<h1 class="{{ params.headingClasses | default('govuk-heading-xl') }}">{{ params.text }}</h1>
|
|
3
3
|
{%- if params.section -%}
|
|
4
|
-
<p class="
|
|
4
|
+
<p class="hmrc-caption {{ params.captionClasses | default('govuk-caption-xl') }}"><span class="govuk-visually-hidden">{% if params.language === 'cy' %}Teitl yr adran hon yw{%else%}This section is{%endif%} </span>{{ params.section }}</p>
|
|
5
5
|
{%- endif -%}
|
|
6
6
|
</header>
|