Skip to content

Commit 271d3f7

Browse files
committed
TD-5298: Header Page - Menu button receives focus but is not interactable
1 parent 2601fdf commit 271d3f7

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,90 @@ li.autosuggestion-option:last-of-type {
411411
.autosuggestion-menu {
412412
top: 100%;
413413
}
414+
415+
.nhsuk-header__not-mobile {
416+
display: none;
417+
}
418+
419+
.nhsuk-header__mobile-only-nav {
420+
display: flex;
421+
order: 1;
422+
justify-content: space-around;
423+
gap: 0 px2rem(16);
424+
align-items: flex-start;
425+
flex-wrap: wrap;
426+
width: px2rem(166);
427+
}
428+
429+
.nhsuk-header__mobile-only-nav .nhsuk-header__menu {
430+
margin-right: px2rem(12);
431+
}
432+
433+
.nhsuk-header__mobile-only-nav .nhsuk-header__search-toggle {
434+
margin-left: px2rem(12);
435+
}
436+
437+
.nhsuk-header__break {
438+
display: none;
439+
}
440+
441+
.nhsuk-header__mobile-break {
442+
display: block;
443+
width: 100%;
444+
height: 0;
445+
}
446+
447+
.nhsuk-header__link--service {
448+
flex-direction: column;
449+
align-items: flex-start;
450+
}
451+
452+
.nhsuk-header__notification-dot {
453+
top: px2rem(13);
454+
left: px2rem(100);
455+
}
456+
457+
.nhsuk-header__service-name {
458+
padding: px2rem(12) 0 0;
459+
}
460+
461+
.nhsuk-header__search-toggle {
462+
position: relative;
463+
height: px2rem(40);
464+
order: 2;
465+
padding: px2rem(7) px2rem(10) 0;
466+
margin: 0
467+
}
468+
469+
.nhsuk-header__search .nhsuk-search__submit {
470+
padding-top: nhsuk-spacing(1);
471+
}
472+
473+
.nhsuk-header__menu {
474+
order: 3;
475+
}
476+
477+
.nhsuk-header__search {
478+
order: 4;
479+
width: 100%;
480+
flex-grow: 1;
481+
margin: px2rem(16) px2rem(-16) 0;
482+
border-bottom: 1px solid $color_nhsuk-grey-4;
483+
}
484+
485+
#header-mobile-search-control {
486+
display: block;
487+
opacity: 0;
488+
position: absolute;
489+
}
490+
491+
#header-mobile-search-control:checked ~ .nhsuk-header__search .nhsuk-header__search-wrap {
492+
display: block;
493+
}
494+
495+
.nhsuk-width-container.nhsuk-header__container.app-width-container {
496+
padding-bottom: 0;
497+
}
414498
}
415499

416500
/* mobile */

0 commit comments

Comments
 (0)