Skip to content

Commit 2672ddc

Browse files
authored
Merge pull request #677 from TechnologyEnhancedLearning/Develop/Features/TD-4192-Correct-focus-styling
Correct search button focus styling
2 parents 999f33e + 7fdb92f commit 2672ddc

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

LearningHub.Nhs.WebUI/Styles/nhsuk/pages/createaccount.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@
4848
width: 52px;
4949
padding-top: 0;
5050

51+
&:focus {
52+
background-color: #ffeb3b;
53+
border: 0;
54+
box-shadow: 0 4px 0 0 #212b32;
55+
color: #212b32;
56+
outline: 4px solid rgba(0,0,0,0);
57+
outline-offset: 4px;
58+
box-shadow: 0 -2px #ffeb3b,0 4px #212b32
59+
}
60+
5161
span.nhsuk-u-visually-hidden {
5262
color: $nhsuk-white;
5363
}

LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@
6767
display: block;
6868
height: 40px;
6969
width: 44px;
70+
71+
&:focus {
72+
background-color: #ffeb3b;
73+
border: 0;
74+
box-shadow: 0 4px 0 0 #212b32;
75+
color: #212b32;
76+
outline: 4px solid rgba(0,0,0,0);
77+
outline-offset: 4px;
78+
box-shadow: 0 -2px #ffeb3b,0 4px #212b32
79+
}
7080
}
7181

7282

0 commit comments

Comments
 (0)