From f8d6555fe84a04264bc18ffa2d693de5f5d51711 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 19 Nov 2015 14:11:34 +0800 Subject: [PATCH] fix timepicker validate style --- style/components/form.less | 10 ++++++++++ style/components/index.less | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/style/components/form.less b/style/components/form.less index cbfce2ea76..6122c29f37 100644 --- a/style/components/form.less +++ b/style/components/form.less @@ -324,6 +324,11 @@ form { color: @warning-color; } + // ant-timepicker + .@{timepicker-prefix-cls}-picker-icon:after { + color: @warning-color; + } + // ant-input-number .@{input-number-prefix-cls} { border-color: @warning-color; @@ -359,6 +364,11 @@ form { color: @error-color; } + // ant-timepicker + .@{timepicker-prefix-cls}-picker-icon:after { + color: @error-color; + } + // ant-input-number .@{input-number-prefix-cls} { border-color: @error-color; diff --git a/style/components/index.less b/style/components/index.less index 52b555063e..4357b762d9 100644 --- a/style/components/index.less +++ b/style/components/index.less @@ -4,6 +4,7 @@ @import "progress"; @import "select"; @import "datepicker"; +@import "timepicker"; @import "dialog"; @import "confirm"; @import "tabs"; @@ -36,4 +37,3 @@ @import "timeline"; @import "spin"; @import "calendar"; -@import "timepicker";