From 8a45fe3357973a11221e22875764c1c6415ee03e Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 23 Sep 2015 11:21:36 +0800 Subject: [PATCH] update select dropdown style --- style/components/dropdown.less | 1 + style/components/select.less | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/style/components/dropdown.less b/style/components/dropdown.less index 2caa28644e..e5d3d1649e 100644 --- a/style/components/dropdown.less +++ b/style/components/dropdown.less @@ -54,6 +54,7 @@ color: #666; white-space: nowrap; cursor: pointer; + transition: background 0.3s ease; a { color: #666; diff --git a/style/components/select.less b/style/components/select.less index 4947614d07..682a11d2d0 100644 --- a/style/components/select.less +++ b/style/components/select.less @@ -316,9 +316,12 @@ } .@{select-prefix-cls}-dropdown { + &-menu-item { + transition: background 0.3s ease; + } &--single &-menu-item-selected { - background-color: tint(@primary-color, 90%); + .selected_icon(); } &--multiple &-menu-item { @@ -326,7 +329,6 @@ } &--multiple &-menu-item-selected { - background-color: tint(@primary-color, 90%); .selected_icon(); }