From e19a0d500c2772628d14c0e9100d743c8fa67047 Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Tue, 13 Sep 2016 17:06:11 +0800 Subject: [PATCH] fix: time-picker style, close #2973 (#3028) --- components/form/style/index.less | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/components/form/style/index.less b/components/form/style/index.less index d36358518d..b5e350a471 100644 --- a/components/form/style/index.less +++ b/components/form/style/index.less @@ -341,8 +341,9 @@ form { color: @warning-color; } - //input-number - .ant-input-number { + //input-number, timepicker + .ant-input-number, + .ant-time-picker-input { border-color: @warning-color; box-shadow: 0 0 0 2px fade(@warning-color, 20%); &:not([disabled]):hover { @@ -377,12 +378,13 @@ form { } //timepicker - .ant-time-picker-picker-icon:after { + .ant-time-picker-icon:after { color: @error-color; } - //input-number - .ant-input-number { + //input-number, timepicker + .ant-input-number, + .ant-time-picker-input { border-color: @error-color; box-shadow: 0 0 0 2px fade(@error-color, 20%); &:not([disabled]):hover {