From 3575db818210f675d16ed33e59111098b1d7d45a Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sat, 7 Sep 2019 08:01:36 -0400 Subject: [PATCH] [+] Create css class for input error --- src/components/login/login.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/components/login/login.scss b/src/components/login/login.scss index 45f0367..2b2b84f 100644 --- a/src/components/login/login.scss +++ b/src/components/login/login.scss @@ -72,3 +72,19 @@ width: 100%; } } + +// Error +.input-error +{ + .el-input__inner + { + color: #ff3a3a6b !important; + border-color: #ff3a3a6b !important; + background-color: #ffdddd3b !important; + } + + .el-input__inner:focus + { + background-color: white !important; + } +}