mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
parent
e39de50b4a
commit
766eafbb5f
@ -350,9 +350,6 @@
|
||||
&:hover .@{inputClass}:not(.@{inputClass}-disabled) {
|
||||
.hover();
|
||||
}
|
||||
&:hover .@{inputClass}-suffix {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.@{inputClass} {
|
||||
position: relative;
|
||||
@ -363,17 +360,12 @@
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
z-index: 2;
|
||||
opacity: 0;
|
||||
transform: translateY(-50%);
|
||||
line-height: 0;
|
||||
color: @input-color;
|
||||
transition: color 0.3s ease, opacity 0.15s ease;
|
||||
:not(.anticon) {
|
||||
line-height: @line-height-base;
|
||||
}
|
||||
&:hover {
|
||||
color: @text-color-secondary;
|
||||
}
|
||||
}
|
||||
|
||||
.@{inputClass}-prefix {
|
||||
|
Loading…
Reference in New Issue
Block a user