mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
remove x animation from select
This commit is contained in:
parent
a1f0e58fce
commit
dda322e7aa
@ -234,13 +234,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: padding @duration @ease-in-out;
|
transition: padding @duration @ease-in-out;
|
||||||
&:hover {
|
padding: 0 20px 0 10px;
|
||||||
padding: 0 20px 0 10px;
|
|
||||||
.@{select-prefix-cls}-selection__choice__remove {
|
|
||||||
transform: scale(0.67);
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{select-prefix-cls}-selection__choice__content {
|
.@{select-prefix-cls}-selection__choice__content {
|
||||||
@ -259,18 +253,14 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
.iconfont-size-under-12px(12px);
|
transition: all 0.3s @ease-in-out;
|
||||||
|
.iconfont-size-under-12px(8px);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 4px;
|
right: 4px;
|
||||||
padding: 0 0 0 8px;
|
padding: 0 0 0 8px;
|
||||||
transform: scale(0);
|
|
||||||
opacity: 0;
|
|
||||||
transition: opacity @duration, transform @duration;
|
|
||||||
transform-origin: 50%;
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #404040;
|
color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: "\e62d";
|
content: "\e62d";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user