ant-design/components/input/style/search-input.less
ddcat1115 73c776e73d feat: Input add NumericInput demo & update searchInput demo (#3861)
* Input
add NumericInput demo
update searchInput

* Input

- add Input.Search
- update NumericInput

* snap update
2016-11-24 14:03:57 +08:00

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;
}
}