ant-design/style/components/datepicker/Picker.less

40 lines
809 B
Plaintext
Raw Normal View History

2015-06-12 15:39:01 +08:00
.@{prefixCalendarClass}-picker .@{prefixCalendarClass},
.@{prefixCalendarClass}-picker-container .@{prefixCalendarClass} {
2015-06-09 15:21:44 +08:00
position: absolute;
display: none;
left: -9999px;
top: -9999px;
z-index: 9;
}
.@{prefixCalendarClass}-picker {
position: relative;
2015-06-10 16:22:59 +08:00
display: inline-block;
2015-06-09 15:21:44 +08:00
&-input {
2015-06-12 15:39:01 +08:00
.ant-input;
2015-06-09 15:21:44 +08:00
}
&-icon {
position: absolute;
-webkit-user-select: none;
user-select: none;
&:after {
position: relative;
left: -22px;
font-family: "anticon";
content: "\e60c";
font-size: 14px;
color: #999;
2015-06-10 16:22:59 +08:00
top: 5px;
2015-06-09 15:21:44 +08:00
margin-right: -20px;
}
}
2015-06-12 15:39:01 +08:00
&-open .@{prefixCalendarClass},
&-container-open .@{prefixCalendarClass} {
display: block;
}
&-open &-input {
border-color: #23c0fa;
box-shadow: 0 0 3px #23c0fa;
}
2015-06-09 15:21:44 +08:00
}