generated from Seekra/repository-template
refactor(global): replace :focus with :focus-visible
This commit is contained in:
@@ -25,7 +25,7 @@ body {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link:hover:not(.button-link), .link:focus:not(.button-link) {
|
.link:hover:not(.button-link), .link:focus-visible:not(.button-link) {
|
||||||
outline: none;
|
outline: none;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
@@ -78,7 +78,7 @@ input {
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button:focus {
|
.button:focus-visible {
|
||||||
background-color: var(--light-hover);
|
background-color: var(--light-hover);
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user