From a4589b4ddd530597f62a57721cbbca8ce38e391d Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 20 Jul 2015 22:56:43 +0800 Subject: [PATCH] update select style --- components/form/demo/form-controls.md | 4 ++-- style/components/select.less | 3 +-- style/mixins/input.less | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/components/form/demo/form-controls.md b/components/form/demo/form-controls.md index 999c40dfc4..af5180ff05 100644 --- a/components/form/demo/form-controls.md +++ b/components/form/demo/form-controls.md @@ -76,10 +76,10 @@ React.render(
- A + A B C - D + D
diff --git a/style/components/select.less b/style/components/select.less index 413dd45c84..a750a74af1 100644 --- a/style/components/select.less +++ b/style/components/select.less @@ -301,8 +301,7 @@ .rotate(270deg); } .@{selectPrefixCls}-selection { - border-color: @primary-color; - box-shadow: 0 0 3px tint(@primary-color, 20%); + .active(); } } &-combobox { diff --git a/style/mixins/input.less b/style/mixins/input.less index 6291e000a0..4f3168a7ab 100644 --- a/style/mixins/input.less +++ b/style/mixins/input.less @@ -115,8 +115,8 @@ padding-right: 8px; } - &-addon, - &-btn, + &-addon, + &-btn, > .@{inputClass} { display: table-cell; @@ -125,7 +125,7 @@ } } - &-addon, + &-addon, &-btn { width: 1%; white-space: nowrap; @@ -171,7 +171,7 @@ } // Reset rounded corners - > .@{inputClass}:first-child, + > .@{inputClass}:first-child, &-addon:first-child { border-bottom-right-radius: 0; border-top-right-radius: 0;