From c28954439056362d8f3d678f1fa6127afb595ccd Mon Sep 17 00:00:00 2001 From: Matthias M <62722460+kleinerpirat@users.noreply.github.com> Date: Mon, 24 May 2021 13:11:50 +0200 Subject: [PATCH] Adjust active:hover behaviour so it behaves like Svelte buttons, when clicking and dragging the mouse away from the button. --- ts/editor/legacy.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ts/editor/legacy.scss b/ts/editor/legacy.scss index 45da78103..141c76cd5 100644 --- a/ts/editor/legacy.scss +++ b/ts/editor/legacy.scss @@ -16,13 +16,14 @@ padding: 3.5px !important; } -.linkb:hover { +.linkb:hover, +.linkb:active:hover { background-color: #ebebeb; } .linkb:active, .linkb:active:hover { - background-color: #ebebeb; + background-color: white; box-shadow: inset 0 calc(var(--toolbar-size) / 15) calc(var(--toolbar-size) / 5)