Files
notifications-admin/app/assets/stylesheets/components/file-upload.scss
Chris Hill-Scott b20ba2349e 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.
2020-09-23 10:50:43 +01:00

55 lines
755 B
SCSS

.js-enabled {
.file-upload {
&-label {
@include bold-19;
display: block;
margin: 0 0 10px 0;
.error-message {
padding: 0;
}
}
&-field {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
&:focus + .file-upload-button {
background: $govuk-focus-colour;
color: $govuk-focus-text-colour;
}
}
&-filename {
@include bold-19;
display: inline-block;
padding-left: govuk-spacing(3);
}
&-submit {
display: none;
}
&-alternate-link {
display: inline-block;
line-height: 35px;
a {
font-weight: bold;
}
}
}
}