diff --git a/scss/nhse.scss b/scss/nhse.scss index 9232aee..aa41148 100644 --- a/scss/nhse.scss +++ b/scss/nhse.scss @@ -1355,7 +1355,8 @@ body.simulated-fullscreen .d-flex.flex-row-reverse.mb-2 a.btn.btn-secondary[titl display: none !important; } -.activity-icon, .page-header-image { +.activity-icon, +.page-header-image { display: none; } @@ -1424,7 +1425,7 @@ body.limitedwidth.pagelayout-coursecategory #page.drawers .main-inner, body.limitedwidth.pagelayout-course #page.drawers .main-inner, body.limitedwidth.pagelayout-mycourses #page.drawers .main-inner, body.pagelayout-incourse #page.drawers .main-inner { - border-radius: 0; + border-radius: 0; } @@ -1484,7 +1485,44 @@ a:not([class]):focus, /* Prevent table of certified users causing mobile view horizontal scrolling */ .mod_coursecertificate_issues_table table { - display: block; - overflow-x: auto; + display: block; + overflow-x: auto; +} + +/* Removing style focus and adding nhsuk focus for left hand side menu button */ +.drawer-toggles .drawer-toggler .btn:focus { + @include nhsuk-focused-button; +} + +.drawerheader .aabtn.text-reset.d-flex.align-items-center.py-1.h-100.d-md-none, +.drawerheader .drawerheadercontent { + display: none !important; +} + +.courseindex-item.d-flex:focus { + box-shadow: none; + + a.courseindex-link { + @include nhsuk-focused-text; + } +} + +.courseindex-section[role=treeitem]:not([aria-expanded=true]):focus { + box-shadow: none; + border-color: #fff0; + border-width: 0 0 0 3px; + + .courseindex-section-title { + @include nhsuk-focused-text; + } +} + +/* skip link focus colour */ +a.sr-only.sr-only-focusable[href="#maincontent"]:focus { + @include nhsuk-focused-button; } +/* apply nhsuk focus to header account links */ +.nhsuk-header__rhscontent .nhsuk-account__login--link:focus { + @include nhsuk-focused-text; +} \ No newline at end of file