aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/index/Picker.less
diff options
context:
space:
mode:
Diffstat (limited to 'assets/index/Picker.less')
-rw-r--r--assets/index/Picker.less42
1 files changed, 16 insertions, 26 deletions
diff --git a/assets/index/Picker.less b/assets/index/Picker.less
index dc1fbbd..76bf834 100644
--- a/assets/index/Picker.less
+++ b/assets/index/Picker.less
@@ -1,28 +1,18 @@
1.@{prefixClass}-panel { 1.@{prefixClass} {
2 z-index: 1070; 2 &-input {
3 position: absolute; 3 width: 100%;
4 4 position: relative;
5 &.slide-up-enter.slide-up-enter-active&-placement-topLeft, 5 display: inline-block;
6 &.slide-up-enter.slide-up-enter-active&-placement-topRight, 6 padding: 4px 7px;
7 &.slide-up-appear.slide-up-appear-active&-placement-topLeft, 7 height: 28px;
8 &.slide-up-appear.slide-up-appear-active&-placement-topRight { 8 cursor: text;
9 animation-name: antSlideDownIn; 9 font-size: 12px;
10 } 10 line-height: 1.5;
11 11 color: #666;
12 &.slide-up-enter.slide-up-enter-active&-placement-bottomLeft, 12 background-color: #fff;
13 &.slide-up-enter.slide-up-enter-active&-placement-bottomRight, 13 background-image: none;
14 &.slide-up-appear.slide-up-appear-active&-placement-bottomLeft, 14 border: 1px solid #d9d9d9;
15 &.slide-up-appear.slide-up-appear-active&-placement-bottomRight { 15 border-radius: 6px;
16 animation-name: antSlideUpIn; 16 transition: border .2s cubic-bezier(0.645, 0.045, 0.355, 1), background .2s cubic-bezier(0.645, 0.045, 0.355, 1), box-shadow .2s cubic-bezier(0.645, 0.045, 0.355, 1);
17 }
18
19 &.slide-up-leave.slide-up-leave-active&-placement-topLeft,
20 &.slide-up-leave.slide-up-leave-active&-placement-topRight {
21 animation-name: antSlideDownOut;
22 }
23
24 &.slide-up-leave.slide-up-leave-active&-placement-bottomLeft,
25 &.slide-up-leave.slide-up-leave-active&-placement-bottomRight {
26 animation-name: antSlideUpOut;
27 } 17 }
28} 18}