EP-WachatApp/eaterplanet_ecommerce/components/modal/index.wxss

71 lines
1.2 KiB
Plaintext

.i-as {
position: fixed;
width: 100%;
box-sizing: border-box;
left: 0;
right: 0;
bottom: 0;
background: #fff;
transform: translate3d(0,100%,0);
transform-origin: center;
transition: all 0.2s ease-in-out;
z-index: 9001;
visibility: hidden;
border-radius: 30rpx 30rpx 0 0;
}
.i-as-mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.7);
backdrop-filter: blur(30rpx);
transition: all 0.2s ease-in-out;
opacity: 0;
visibility: hidden;
z-index: 9000;
}
.i-as-mask-show {
opacity: 1;
visibility: visible;
}
.i-as-show {
transform: translate3d(0, 0, 0);
visibility: visible;
}
.i-modal-content {
position: fixed;
overflow: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 9001;
display: flex;
width: auto;
height: auto;
outline: 0;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
transform: translateZ(2rpx);
opacity: 0;
visibility: hidden;
-webkit-overflow-scrolling: touch;
}
.i-modal-show {
visibility: visible;
opacity: 1;
}
.ipx {
padding-bottom: calc(env(safe-area-inset-bottom) - 30rpx);
}