[improvement] rename packages dir to src (#3659)

This commit is contained in:
neverland
2019-06-27 11:25:57 +08:00
committed by GitHub
parent 8489918dca
commit 75c79b7044
619 changed files with 21 additions and 21 deletions
+66
View File
@@ -0,0 +1,66 @@
@import '../style/var';
.van {
&-overflow-hidden {
overflow: hidden !important;
}
&-popup {
position: fixed;
max-height: 100%;
overflow-y: auto;
background-color: @popup-background-color;
transition: @popup-transition;
-webkit-overflow-scrolling: touch;
&--center {
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
}
&--top {
top: 0;
left: 0;
width: 100%;
}
&--right {
top: 50%;
right: 0;
transform: translate3d(0, -50%, 0);
}
&--bottom {
bottom: 0;
left: 0;
width: 100%;
}
&--left {
top: 50%;
left: 0;
transform: translate3d(0, -50%, 0);
}
&-slide-top-enter,
&-slide-top-leave-active {
transform: translate3d(0, -100%, 0);
}
&-slide-right-enter,
&-slide-right-leave-active {
transform: translate3d(100%, -50%, 0);
}
&-slide-bottom-enter,
&-slide-bottom-leave-active {
transform: translate3d(0, 100%, 0);
}
&-slide-left-enter,
&-slide-left-leave-active {
transform: translate3d(-100%, -50%, 0);
}
}
}