ant-design/style/components/datepicker/Picker.less
2015-06-17 21:20:43 +08:00

42 lines
866 B
Plaintext

.@{prefixCalendarClass}-picker .@{prefixCalendarClass},
.@{prefixCalendarClass}-picker-container .@{prefixCalendarClass} {
position: absolute;
display: none;
left: -9999px;
top: -9999px;
z-index: 9;
}
.@{prefixCalendarClass}-picker {
position: relative;
display: inline-block;
&-input {
.ant-input;
cursor: text;
}
&-icon {
position: absolute;
-webkit-user-select: none;
user-select: none;
.transition(all .3s @ease-in-out);
&:after {
position: relative;
left: -22px;
font-family: "anticon";
content: "\e60c";
font-size: 14px;
color: #999;
top: 5px;
margin-right: -20px;
}
}
&-open .@{prefixCalendarClass},
&-container-open .@{prefixCalendarClass} {
display: block;
}
&-open &-input {
border-color: #23c0fa;
box-shadow: 0 0 3px #23c0fa;
}
}