hmrc-frontend 4.8.0 → 4.9.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 CHANGED
@@ -1 +1 @@
1
- 4.8.0
1
+ 4.9.0
@@ -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("light-blue");
93
+ color: $govuk-link-hover-colour;
94
+ border-bottom-color: $govuk-link-hover-colour;
93
95
  }
94
96
 
95
- &:hover {
96
- border-bottom-color: govuk-colour("light-grey");
97
+ &:focus {
98
+ background-color: $govuk-focus-colour;
99
+ color: $govuk-focus-text-colour;
97
100
  }
98
101
 
99
- &:focus {
100
- border-bottom-color: $govuk-focus-colour;
101
- background-color: transparent;
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
- color: govuk-colour("white");
34
+ a:not(.govuk-header__link) {
35
+ @include govuk-font($size: 16, $weight: "bold");
36
36
 
37
- &:not(.govuk-header__link) {
38
- color: govuk-colour("mid-grey");
39
- text-decoration: none;
40
- }
37
+ color: govuk-colour("mid-grey");
38
+ text-decoration: none;
41
39
  }
42
40
  }
43
41