mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-23 12:09:49 +00:00
remove style from scroll-to-top button when focused via the mouse
This commit is contained in:
parent
e5acb61047
commit
9b21d384c1
1 changed files with 18 additions and 3 deletions
|
@ -1251,8 +1251,15 @@ a.arrow-up {
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.arrow-up:hover, a.arrow-up:focus {
|
a.arrow-up:hover, a.arrow-up:active, a.arrow-up:focus {
|
||||||
border: none;
|
background-color: #d26e2b;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.arrow-up:focus:not(:focus-visible):not(:hover) {
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.arrow-up:focus-visible {
|
||||||
background-color: #d26e2b;
|
background-color: #d26e2b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1271,7 +1278,15 @@ a.arrow-up i {
|
||||||
transition: all ease-out .2s;
|
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;
|
border-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue