mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Adjust active:hover behaviour
so it behaves like Svelte buttons, when clicking and dragging the mouse away from the button.
This commit is contained in:
parent
eedc8274da
commit
c289544390
1 changed files with 3 additions and 2 deletions
|
@ -16,13 +16,14 @@
|
||||||
padding: 3.5px !important;
|
padding: 3.5px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.linkb:hover {
|
.linkb:hover,
|
||||||
|
.linkb:active:hover {
|
||||||
background-color: #ebebeb;
|
background-color: #ebebeb;
|
||||||
}
|
}
|
||||||
|
|
||||||
.linkb:active,
|
.linkb:active,
|
||||||
.linkb:active:hover {
|
.linkb:active:hover {
|
||||||
background-color: #ebebeb;
|
background-color: white;
|
||||||
box-shadow: inset 0
|
box-shadow: inset 0
|
||||||
calc(var(--toolbar-size) / 15)
|
calc(var(--toolbar-size) / 15)
|
||||||
calc(var(--toolbar-size) / 5)
|
calc(var(--toolbar-size) / 5)
|
||||||
|
|
Loading…
Reference in a new issue