mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-07 20:08:21 +08:00
73c776e73d
* Input add NumericInput demo update searchInput * Input - add Input.Search - update NumericInput * snap update
45 lines
857 B
Plaintext
45 lines
857 B
Plaintext
@import "../../style/themes/default";
|
|
@import "../../style/mixins/index";
|
|
@import "../../button/style/mixin";
|
|
@import "./mixin";
|
|
|
|
.@{ant-prefix}-input-search-wrapper {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
position: relative;
|
|
min-width: 24px;
|
|
height: @input-height-base;
|
|
|
|
.@{ant-prefix}-input-search {
|
|
opacity: 0;
|
|
width: 0;
|
|
transition: all .3s ease;
|
|
}
|
|
|
|
.@{ant-prefix}-input-search-icon {
|
|
position: absolute;
|
|
line-height: @input-height-base;
|
|
left: 0;
|
|
cursor: pointer;
|
|
font-size: 24px;
|
|
transition: all .3s ease;
|
|
|
|
&:hover {
|
|
color: @input-hover-border-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{ant-prefix}-input-search-wrapper-focus {
|
|
.@{ant-prefix}-input-search {
|
|
opacity: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
.@{ant-prefix}-input-search-icon {
|
|
left: 100%;
|
|
margin-left: -22px;
|
|
font-size: 14px;
|
|
}
|
|
}
|