Replace uses of $yellow for focus

There are a few places where we missed updating to the new focus styles
because they were using the `$yellow` SASS variable and not the
`$focus-colour` variable.

This commit updates them to the new colour, and where needed adds the
black lower border to match.
This commit is contained in:
Chris Hill-Scott
2020-09-23 10:50:43 +01:00
parent 6ab85c4c78
commit b20ba2349e
5 changed files with 17 additions and 19 deletions

View File

@@ -272,8 +272,11 @@
&:focus {
box-shadow: none;
&:before {
background: $yellow;
background: $govuk-focus-colour;
box-shadow: inset 0 -4px 0 0 $govuk-focus-text-colour;
z-index: -1;
}