mirror of
https://github.com/ankitects/anki.git
synced 2025-12-16 08:10:59 -05:00
Make StickyBadge feel more responsive
This commit is contained in:
parent
170ef0b310
commit
12e192b170
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
span {
|
span {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.2s ease-in;
|
|
||||||
&.highlighted {
|
&.highlighted {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
@ -53,6 +52,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
&:focus-within,
|
&:focus-within,
|
||||||
&:hover {
|
&:hover {
|
||||||
& span {
|
& span {
|
||||||
|
transition: none;
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue