From 182f43545f352b03ef528f060fc97b75b6164cfe Mon Sep 17 00:00:00 2001 From: Midgard Date: Sat, 25 Jul 2020 14:03:17 +0200 Subject: [PATCH] Improve button design The red felt like something was wrong. The animations are snappier now. --- static/main.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/main.css b/static/main.css index 503412f..f91510d 100644 --- a/static/main.css +++ b/static/main.css @@ -140,8 +140,8 @@ button { border: 1px solid hsl(0, 0%, 10%); color: #afafaf; background: hsl(0, 0%, 14%); - transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25), - transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25); + transition: background-color 0.1s cubic-bezier(.22,.61,.36,1), + transform 0.2s cubic-bezier(.22,.61,.36,1); } textarea { @@ -158,7 +158,7 @@ select:focus, input:focus, textarea:focus, button:focus { - background: hsl(0, 7%, 20%); + background: hsl(0, 0%, 20%); } select:focus,