|
60 | 60 | flex-flow: column wrap; |
61 | 61 | gap: nhsuk-spacing(3); |
62 | 62 | padding: nhsuk-spacing(3) 0; |
63 | | - @include govuk-width-container; |
| 63 | + @include nhsuk-width-container; |
64 | 64 |
|
65 | | - @include mq($from: tablet) { |
| 65 | + @include nhsuk-media-query($from: tablet) { |
66 | 66 | flex-direction: row; |
67 | 67 | } |
68 | 68 | } |
|
85 | 85 | flex-wrap: wrap; |
86 | 86 | gap: nhsuk-spacing(2) nhsuk-spacing(3); |
87 | 87 |
|
88 | | - @include mq($media-type: print) { |
| 88 | + @include nhsuk-media-query($media-type: print) { |
89 | 89 | color: $color_nhsuk-black; |
90 | 90 |
|
91 | 91 | &:after { |
|
117 | 117 | * Account |
118 | 118 | */ |
119 | 119 | .nhsuk-header__account { |
120 | | - background: shade($color_nhsuk-blue, 20%); |
| 120 | + background: nhsuk-shade($color_nhsuk-blue, 20%); |
121 | 121 | border-radius: $nhsuk-border-radius; |
122 | 122 | flex-grow: 1; |
123 | | - outline: 1px solid shade($color_nhsuk-blue, 20%); |
| 123 | + outline: 1px solid nhsuk-shade($color_nhsuk-blue, 20%); |
124 | 124 | margin-bottom: 1px; |
125 | 125 |
|
126 | | - @include mq($from: tablet) { |
| 126 | + @include nhsuk-media-query($from: tablet) { |
127 | 127 | align-self: start; |
128 | 128 | } |
129 | 129 | } |
|
139 | 139 | } |
140 | 140 |
|
141 | 141 | .nhsuk-header__account-item { |
142 | | - background-color: shade($color_nhsuk-blue, 20%); |
| 142 | + background-color: nhsuk-shade($color_nhsuk-blue, 20%); |
143 | 143 | display: flex; |
144 | 144 | flex-grow: 1; |
145 | 145 | gap: nhsuk-spacing(2); |
|
168 | 168 | flex-grow: 1; |
169 | 169 | position: relative; |
170 | 170 | z-index: 13; |
171 | | - @include print-hide(); |
| 171 | + @include nhsuk-print-hide(); |
172 | 172 | } |
173 | 173 |
|
174 | 174 | .nhsuk-header__search-form { |
175 | 175 | display: flex; |
176 | 176 | height: 100%; |
177 | 177 | overflow: visible; |
178 | 178 |
|
179 | | - @include mq($until: tablet) { |
| 179 | + @include nhsuk-media-query($until: tablet) { |
180 | 180 | position: relative; |
181 | 181 | } |
182 | 182 | } |
|
202 | 202 | opacity: 1; // Fixes low contrast of placeholder text in firefox |
203 | 203 | } |
204 | 204 |
|
205 | | - @include mq($until: tablet) { |
| 205 | + @include nhsuk-media-query($until: tablet) { |
206 | 206 | border-radius: $nhsuk-border-radius; |
207 | 207 | } |
208 | 208 | } |
|
218 | 218 | margin: 0; |
219 | 219 | width: 44px; |
220 | 220 |
|
221 | | - @include mq($until: tablet) { |
| 221 | + @include nhsuk-media-query($until: tablet) { |
222 | 222 | position: absolute; |
223 | 223 | right: 0; |
224 | 224 | top: 0; |
|
248 | 248 | */ |
249 | 249 | .nhsuk-navigation-container { |
250 | 250 | position: relative; |
251 | | - @include print-hide(); |
| 251 | + @include nhsuk-print-hide(); |
252 | 252 |
|
253 | | - @include mq($until: tablet) { |
| 253 | + @include nhsuk-media-query($until: tablet) { |
254 | 254 | margin-top: -(nhsuk-spacing(3)); |
255 | 255 | } |
256 | 256 | } |
257 | 257 |
|
258 | 258 | .nhsuk-navigation { |
259 | 259 | display: flex; |
260 | 260 |
|
261 | | - @include mq($until: tablet) { |
| 261 | + @include nhsuk-media-query($until: tablet) { |
262 | 262 | position: relative; |
263 | 263 | z-index: 10; |
264 | 264 | } |
|
269 | 269 | list-style: none; |
270 | 270 | padding: 0; |
271 | 271 | width: 100%; |
272 | | - @include govuk-width-container; |
| 272 | + @include nhsuk-width-container; |
273 | 273 |
|
274 | | - @include mq($from: tablet) { |
| 274 | + @include nhsuk-media-query($from: tablet) { |
275 | 275 | border-top: 1px solid $color_transparent_nhsuk-white-20; |
276 | 276 | } |
277 | 277 |
|
278 | | - @include mq($from: desktop) { |
| 278 | + @include nhsuk-media-query($from: desktop) { |
279 | 279 | justify-content: space-between; |
280 | 280 | } |
281 | 281 |
|
|
286 | 286 | } |
287 | 287 |
|
288 | 288 | .nhsuk-header__navigation-list--left-aligned { |
289 | | - @include mq($from: desktop) { |
| 289 | + @include nhsuk-media-query($from: desktop) { |
290 | 290 | justify-content: initial; |
291 | 291 | } |
292 | 292 | } |
|
374 | 374 | right: 0; |
375 | 375 | top: 100%; |
376 | 376 | left: 0; |
377 | | - @include print-hide(); |
| 377 | + @include nhsuk-print-hide(); |
378 | 378 |
|
379 | 379 | .nhsuk-header__navigation-link { |
380 | 380 | padding: 12px 0; |
381 | | - @include govuk-width-container; |
| 381 | + @include nhsuk-width-container; |
382 | 382 | @include nhsuk-link-style-no-visited-state; |
383 | 383 |
|
384 | 384 | // When in expanded menu, a current item link should revert to having a |
|
0 commit comments