From f97906ce41e1f661bdca3c3d91e2d0b557a43a1a Mon Sep 17 00:00:00 2001 From: KinuTheDragon Date: Mon, 12 Feb 2024 15:56:40 -0500 Subject: [PATCH] Changed error style --- style.css | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/style.css b/style.css index d132d40..772adc0 100644 --- a/style.css +++ b/style.css @@ -5,8 +5,8 @@ --background: #111; --header: #444; --result: #0f0; - --error: #f80; - --error-passive: #ff880088; + --error: #c00; + --error-bg: #22222288; } body { @@ -52,19 +52,12 @@ input { display: grid; grid-template-rows: repeat(2, auto); border-radius: 5%; -} - -@keyframes error { - 0% {background-color: var(--error-passive);} - 90% {background-color: var(--error-passive);} - 100% {background-color: var(--error);} + border: 3px solid transparent; } .robot.error { - animation-name: error; - animation-duration: 1.5s; - animation-direction: alternate; - animation-iteration-count: infinite; + border: 3px solid var(--error); + background-color: var(--error-bg); } .data-input {