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

42 lines
866 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-17 18:04:42 +08:00
cursor: text;
2015-06-09 15:21:44 +08:00
}
&-icon {
position: absolute;
-webkit-user-select: none;
user-select: none;
2015-06-12 18:37:03 +08:00
.transition(all .3s @ease-in-out);
2015-06-09 15:21:44 +08:00
&: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
}