2015-11-18 12:14:26 +08:00
|
|
|
.@{calendar-prefix-cls}-picker-container {
|
2015-06-09 15:21:44 +08:00
|
|
|
position: absolute;
|
2016-03-28 16:01:37 +08:00
|
|
|
z-index: @zindex-picker;
|
2015-11-11 17:08:31 +08:00
|
|
|
|
|
|
|
&.slide-up-enter.slide-up-enter-active&-placement-topLeft,
|
|
|
|
&.slide-up-enter.slide-up-enter-active&-placement-topRight,
|
|
|
|
&.slide-up-appear.slide-up-appear-active&-placement-topLeft,
|
|
|
|
&.slide-up-appear.slide-up-appear-active&-placement-topRight {
|
|
|
|
animation-name: antSlideDownIn;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.slide-up-enter.slide-up-enter-active&-placement-bottomLeft,
|
|
|
|
&.slide-up-enter.slide-up-enter-active&-placement-bottomRight,
|
|
|
|
&.slide-up-appear.slide-up-appear-active&-placement-bottomLeft,
|
|
|
|
&.slide-up-appear.slide-up-appear-active&-placement-bottomRight {
|
|
|
|
animation-name: antSlideUpIn;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.slide-up-leave.slide-up-leave-active&-placement-topLeft,
|
|
|
|
&.slide-up-leave.slide-up-leave-active&-placement-topRight {
|
|
|
|
animation-name: antSlideDownOut;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.slide-up-leave.slide-up-leave-active&-placement-bottomLeft,
|
|
|
|
&.slide-up-leave.slide-up-leave-active&-placement-bottomRight {
|
|
|
|
animation-name: antSlideUpOut;
|
|
|
|
}
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{calendar-prefix-cls}-picker {
|
2015-06-09 15:21:44 +08:00
|
|
|
position: relative;
|
2015-06-10 16:22:59 +08:00
|
|
|
display: inline-block;
|
2015-10-23 17:57:02 +08:00
|
|
|
outline: none;
|
2015-11-02 14:46:06 +08:00
|
|
|
font-size: @font-size-base;
|
2015-11-13 11:42:54 +08:00
|
|
|
transition: opacity 0.3s ease;
|
2015-07-08 11:42:22 +08:00
|
|
|
|
2015-08-21 14:54:37 +08:00
|
|
|
> input {
|
2015-08-04 18:42:41 +08:00
|
|
|
outline: none;
|
|
|
|
}
|
2016-05-23 15:58:10 +08:00
|
|
|
&-clear {
|
|
|
|
opacity: 0;
|
2016-08-03 09:48:53 +08:00
|
|
|
z-index: -1;
|
2016-05-23 15:58:10 +08:00
|
|
|
position: absolute;
|
2016-06-27 14:13:30 +08:00
|
|
|
right: 7px;
|
2016-05-23 15:58:10 +08:00
|
|
|
background: #fff;
|
|
|
|
top: 50%;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #ccc;
|
2016-06-23 15:38:55 +08:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
margin-top: -7px;
|
|
|
|
line-height: 14px;
|
2016-05-23 15:58:10 +08:00
|
|
|
cursor: pointer;
|
|
|
|
transition: color 0.3s ease, opacity 0.15s ease;
|
|
|
|
&:hover {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
2015-08-04 18:42:41 +08:00
|
|
|
|
2016-05-23 15:58:10 +08:00
|
|
|
&:hover &-clear {
|
|
|
|
opacity: 1;
|
2016-08-03 09:48:53 +08:00
|
|
|
z-index: 1;
|
2016-05-23 15:58:10 +08:00
|
|
|
}
|
2015-06-09 15:21:44 +08:00
|
|
|
&-icon {
|
|
|
|
position: absolute;
|
|
|
|
user-select: none;
|
2016-04-19 15:15:54 +08:00
|
|
|
transition: all .3s @ease-in-out;
|
2015-07-09 18:17:15 +08:00
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
line-height: 12px;
|
2015-07-08 11:42:22 +08:00
|
|
|
right: 8px;
|
2015-07-07 16:18:14 +08:00
|
|
|
color: #999;
|
|
|
|
top: 50%;
|
2015-07-09 18:17:15 +08:00
|
|
|
margin-top: -6px;
|
2015-06-09 15:21:44 +08:00
|
|
|
&:after {
|
2016-09-18 09:54:47 +08:00
|
|
|
content: "\e6bb";
|
2015-07-07 16:18:14 +08:00
|
|
|
font-family: "anticon";
|
2015-07-09 18:17:15 +08:00
|
|
|
font-size: 12px;
|
2015-06-09 15:21:44 +08:00
|
|
|
color: #999;
|
2015-07-09 18:17:15 +08:00
|
|
|
display: inline-block;
|
|
|
|
line-height: 1;
|
|
|
|
vertical-align: bottom;
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|