From 3813f51627a592b5ae47761ceac67b80f2184480 Mon Sep 17 00:00:00 2001 From: Matthias M <62722460+kleinerpirat@users.noreply.github.com> Date: Sun, 23 May 2021 19:41:45 +0200 Subject: [PATCH] Remove background-color transition from .button but keep color, border-color and box-shadow transition as it is. --- ts/sass/buttons.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ts/sass/buttons.scss b/ts/sass/buttons.scss index 05d3b54ba..a6624f1b8 100644 --- a/ts/sass/buttons.scss +++ b/ts/sass/buttons.scss @@ -18,6 +18,15 @@ } } +/* override .btn transition +in favor of instant background change */ +button { + transition: + color .15s ease-in-out, + border-color .15s ease-in-out, + box-shadow .15s ease-in-out !important; +} + .nightMode { button { -webkit-appearance: none;