From 20d6810a55d5eddff751a79eedf3bb070f845297 Mon Sep 17 00:00:00 2001 From: ziyoung Date: Thu, 20 Jun 2019 19:24:45 +0800 Subject: [PATCH] Form: remove success status --- packages/theme-chalk/src/form.scss | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/packages/theme-chalk/src/form.scss b/packages/theme-chalk/src/form.scss index 18f20ac6448..45b4c1892ac 100644 --- a/packages/theme-chalk/src/form.scss +++ b/packages/theme-chalk/src/form.scss @@ -158,23 +158,7 @@ color: $--color-danger; } } - @include when(success) { - & .el-input__inner, - & .el-textarea__inner { - &, &:focus { - border-color: $--color-success; - } - } - & .el-input-group__append, - & .el-input-group__prepend { - & .el-input__inner { - border-color: transparent; - } - } - .el-input__validateIcon { - color: $--color-success; - } - } + @include m(feedback) { .el-input__validateIcon { display: inline-block;