From 600361d6f93f5cec7ea97173414a2dbabfb1810b Mon Sep 17 00:00:00 2001 From: reverend Date: Mon, 3 Aug 2020 17:26:23 +0200 Subject: [PATCH] Small tweaks for forms --- components/01_Atoms/input/_input.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/components/01_Atoms/input/_input.scss b/components/01_Atoms/input/_input.scss index 35bcdde..ff03425 100644 --- a/components/01_Atoms/input/_input.scss +++ b/components/01_Atoms/input/_input.scss @@ -11,11 +11,12 @@ padding: 8px; margin-bottom: $-margin-bottom; - &:focus, &:active{ + &:focus, &:active, &:invalid{ margin-bottom: $-margin-bottom - 1px; border-bottom: 2px solid $-wine-red; background-color: $-almost-white; - border-radius: 3px 3px 0 0; + border-radius: 3px 3px 0 0; + box-shadow: none; } } @@ -31,10 +32,6 @@ padding: 3px; position: relative; top: -$-margin-bottom; - - &:before{ - content: '* '; - } } &--error{