Skip to content

Commit 6d96638

Browse files
authored
Merge pull request #1298 from TechnologyEnhancedLearning/Develop/Features/TD-5762-Left-hand-navigation-implementation
Active menu item update
2 parents 40ae84a + b575dbe commit 6d96638

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

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

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,37 @@ li.autosuggestion-option:last-of-type {
280280
}
281281

282282
.side-nav__item {
283-
padding: 12px 16px;
284283
border-bottom: 1px solid #d8dde0;
284+
margin-bottom: 0 !important;
285+
padding:0;
285286
}
286287

288+
289+
290+
291+
.side-nav__item:last-child {
292+
border-bottom: none;
293+
}
294+
295+
.side-nav__item a {
296+
font-weight: 700;
297+
display: block;
298+
padding: 22px 12px;
299+
}
300+
301+
302+
287303
.side-nav__item--active a {
288-
font-weight: bold;
289-
text-decoration: underline;
304+
text-decoration: none;
305+
color: $nhsuk-black;
290306
}
291307

308+
.side-nav__item--active {
309+
background-color: #e8f0f7;
310+
}
311+
312+
313+
292314
.side-nav__toggle,
293315
.side-nav__close {
294316
display: none;

0 commit comments

Comments
 (0)