mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-29 18:50:00 +08:00
remove x animation from select
This commit is contained in:
parent
a1f0e58fce
commit
dda322e7aa
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user