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 .@{inputClass}:not(.@{inputClass}-disabled) {
|
||||||
.hover();
|
.hover();
|
||||||
}
|
}
|
||||||
&:hover .@{inputClass}-suffix {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.@{inputClass} {
|
.@{inputClass} {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -363,17 +360,12 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
opacity: 0;
|
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
color: @input-color;
|
color: @input-color;
|
||||||
transition: color 0.3s ease, opacity 0.15s ease;
|
|
||||||
:not(.anticon) {
|
:not(.anticon) {
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
}
|
}
|
||||||
&:hover {
|
|
||||||
color: @text-color-secondary;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{inputClass}-prefix {
|
.@{inputClass}-prefix {
|
||||||
|
Loading…
Reference in New Issue
Block a user