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

43 lines
919 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-07-08 11:42:22 +08:00
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-07-07 16:18:14 +08:00
width: 14px;
height: 14px;
2015-07-08 11:42:22 +08:00
line-height: 14px;
right: 8px;
2015-07-07 16:18:14 +08:00
color: #999;
top: 50%;
margin-top: -7px;
2015-06-09 15:21:44 +08:00
&:after {
content: "\e60c";
2015-07-07 16:18:14 +08:00
font-family: "anticon";
2015-06-09 15:21:44 +08:00
font-size: 14px;
color: #999;
}
}
2015-06-12 15:39:01 +08:00
&-open .@{prefixCalendarClass},
&-container-open .@{prefixCalendarClass} {
display: block;
}
&-open &-input {
2015-07-08 14:55:05 +08:00
border-color: @input-focus-border-color;
outline: 0;
box-shadow: 0 0 3px tint(@input-focus-border-color, 20%);
2015-07-08 11:42:22 +08:00
}
2015-06-09 15:21:44 +08:00
}