From dda322e7aabb3f6bec61628691a41f134b2a306f Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 16 Dec 2015 22:34:03 +0800 Subject: [PATCH] remove x animation from select --- style/components/select.less | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/style/components/select.less b/style/components/select.less index 9a8ed24031..7e2fefe422 100644 --- a/style/components/select.less +++ b/style/components/select.less @@ -234,13 +234,7 @@ position: relative; overflow: hidden; transition: padding @duration @ease-in-out; - &:hover { - padding: 0 20px 0 10px; - .@{select-prefix-cls}-selection__choice__remove { - transform: scale(0.67); - opacity: 1; - } - } + padding: 0 20px 0 10px; } .@{select-prefix-cls}-selection__choice__content { @@ -259,18 +253,14 @@ cursor: pointer; display: inline-block; font-weight: bold; - .iconfont-size-under-12px(12px); + transition: all 0.3s @ease-in-out; + .iconfont-size-under-12px(8px); position: absolute; right: 4px; padding: 0 0 0 8px; - transform: scale(0); - opacity: 0; - transition: opacity @duration, transform @duration; - transform-origin: 50%; &:hover { color: #404040; } - &:before { content: "\e62d"; }