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

@@ -41,13 +41,6 @@ $message-type-bottom-spacing: govuk-spacing(4);
border-color: $link-hover-colour;
}
&:focus {
// Use box shadow instead of outline to avoid buggy outline
// rendering in Firefox
outline: none;
box-shadow: 0 0 0 3px $yellow;
}
.message-name-separator {
margin-right: -2px;