Fixes for focus issues on /templates page(s)

Includes:
- fixes for the cancel button, when selecting a
  template type (after clicking 'New template')
- making the folder icon black, to match the text,
  on template list items
This commit is contained in:
Tom Byers
2020-09-16 14:43:48 +01:00
parent b525015765
commit 308f9980d3
2 changed files with 7 additions and 5 deletions

View File

@@ -147,6 +147,10 @@ $message-type-bottom-spacing: govuk-spacing(4);
background-image: file-url('folder-blue-bold-hover.svg'); background-image: file-url('folder-blue-bold-hover.svg');
} }
&:focus {
background-image: file-url('folder-black-bold.svg');
}
} }
&-template { &-template {

View File

@@ -145,11 +145,9 @@ $sticky-padding: govuk-spacing(4);
color: $link-hover-colour; color: $link-hover-colour;
} }
&:focus, &:focus {
&:active, { /* override default box shadow to stop it looking so large vertically */
background: $yellow; box-shadow: inset 0 -4px $govuk-focus-text-colour;
color: $govuk-blue;
outline: none;
} }
} }