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:
Matthias M 2021-05-24 13:11:50 +02:00
parent eedc8274da
commit c289544390

View file

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