2016-05-13 11:45:09 +08:00
|
|
|
@import "../../style/themes/default";
|
|
|
|
@import "../../style/mixins/index";
|
|
|
|
@import "../../button/style/mixin";
|
|
|
|
@import "./mixin";
|
|
|
|
|
2016-11-24 14:03:57 +08:00
|
|
|
.@{ant-prefix}-input-search-wrapper {
|
2016-05-13 11:45:09 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2016-11-24 14:03:57 +08:00
|
|
|
position: relative;
|
|
|
|
min-width: 24px;
|
|
|
|
height: @input-height-base;
|
2016-05-13 11:45:09 +08:00
|
|
|
|
2016-11-24 14:03:57 +08:00
|
|
|
.@{ant-prefix}-input-search {
|
|
|
|
opacity: 0;
|
|
|
|
width: 0;
|
|
|
|
transition: all .3s ease;
|
2016-05-13 11:45:09 +08:00
|
|
|
}
|
|
|
|
|
2016-11-24 14:03:57 +08:00
|
|
|
.@{ant-prefix}-input-search-icon {
|
|
|
|
position: absolute;
|
|
|
|
line-height: @input-height-base;
|
|
|
|
left: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 24px;
|
|
|
|
transition: all .3s ease;
|
2016-09-20 13:49:38 +08:00
|
|
|
|
2016-05-13 11:45:09 +08:00
|
|
|
&:hover {
|
2016-11-24 14:03:57 +08:00
|
|
|
color: @input-hover-border-color;
|
2016-05-13 11:45:09 +08:00
|
|
|
}
|
|
|
|
}
|
2016-11-24 14:03:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{ant-prefix}-input-search-wrapper-focus {
|
|
|
|
.@{ant-prefix}-input-search {
|
|
|
|
opacity: 1;
|
|
|
|
width: 100%;
|
2016-05-13 11:45:09 +08:00
|
|
|
}
|
2016-11-24 14:03:57 +08:00
|
|
|
|
|
|
|
.@{ant-prefix}-input-search-icon {
|
|
|
|
left: 100%;
|
|
|
|
margin-left: -22px;
|
|
|
|
font-size: 14px;
|
2016-07-24 15:15:13 +08:00
|
|
|
}
|
2016-05-13 11:45:09 +08:00
|
|
|
}
|