Improve button design

The red felt like something was wrong. The animations are snappier now.
This commit is contained in:
Midgard 2020-07-25 14:03:17 +02:00
parent 01eb5c86bb
commit 182f43545f
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

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