update clear btn style of datepicker

This commit is contained in:
afc163 2015-10-29 18:19:30 +08:00
parent 3a68e2fe1f
commit 25b365d64f

View File

@ -233,6 +233,35 @@
margin: 0 0 0 8px;
}
.@{calendar-prefix-cls}-clear-btn {
position: absolute;
right: 10px;
text-indent: -99px;
overflow: hidden;
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
top: 7px;
margin: 0;
}
.@{calendar-prefix-cls}-clear-btn:after {
content: "\e620";
font-family: "anticon";
font-size: 12px;
color: #aaa;
display: inline-block;
line-height: 1;
width: 20px;
text-indent: 43px;
transition: color 0.3s ease;
}
.@{calendar-prefix-cls}-clear-btn:hover:after {
color: #666;
}
.@{calendar-prefix-cls}-ok-btn {
.btn;
.btn-primary;