Merge pull request #1534

remove style from scroll-to-top button when focused via the mouse
This commit is contained in:
luigi1111 2021-03-29 12:14:14 -04:00 committed by GitHub
commit a9c26d205b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1251,8 +1251,15 @@ a.arrow-up {
z-index: 5;
}
a.arrow-up:hover, a.arrow-up:focus {
border: none;
a.arrow-up:hover, a.arrow-up:active, a.arrow-up:focus {
background-color: #d26e2b;
}
a.arrow-up:focus:not(:focus-visible):not(:hover) {
background-color: #ffffff;
}
a.arrow-up:focus-visible {
background-color: #d26e2b;
}
@ -1271,7 +1278,15 @@ a.arrow-up i {
transition: all ease-out .2s;
}
a.arrow-up:hover i, a.arrow-up:focus i {
a.arrow-up:hover i, a.arrow-up:active i, a.arrow-up:focus i {
border-color: #ffffff;
}
a.arrow-up:focus:not(:focus-visible):not(:hover) i {
border-color: #d26e2b;
}
a.arrow-up:focus-visible i {
border-color: #ffffff;
}