Make StickyBadge feel more responsive

This commit is contained in:
Matthias Metelka 2022-08-12 00:01:07 +02:00
parent 170ef0b310
commit 12e192b170

View file

@ -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;