mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Fix focus styles for user-list-edit-link
This commit is contained in:
@@ -53,6 +53,11 @@ $item-top-padding: govuk-spacing(3);
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
/* cancel default focus styling in favour of that from :before pseudo class */
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
@@ -69,14 +74,13 @@ $item-top-padding: govuk-spacing(3);
|
|||||||
|
|
||||||
&:active:before,
|
&:active:before,
|
||||||
&:focus:before {
|
&:focus:before {
|
||||||
border-color: $yellow;
|
box-shadow: inset 0px -4px $govuk-focus-text-colour, inset 0px 16px $govuk-focus-colour, inset 3px 0px $govuk-focus-colour, inset 0px -15px $govuk-focus-colour, inset -3px 0px $govuk-focus-colour;
|
||||||
border-style: solid;
|
|
||||||
border-width: 15px 3px;
|
|
||||||
right: -3px;
|
right: -3px;
|
||||||
left: -3px;
|
left: -3px;
|
||||||
|
|
||||||
@include govuk-media-query($from: tablet) {
|
@include govuk-media-query($from: tablet) {
|
||||||
border-width: 15px 3px 15px 15px;
|
border-width: 15px 3px 15px 15px;
|
||||||
|
box-shadow: inset 0px -4px $govuk-focus-text-colour, inset 0px 16px $govuk-focus-colour, inset 15px 0px $govuk-focus-colour, inset 0px -15px $govuk-focus-colour, inset -3px 0px $govuk-focus-colour;
|
||||||
left: -15px;
|
left: -15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user