index.css 6.44 KB
.zui-popup {
  position: absolute;
  display: flex;
  pointer-events: none;
  z-index: 1000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.zui-popup.center {
  align-items: center;
  justify-content: center;
}
.zui-popup.top {
  flex-direction: column;
  justify-content: flex-start;
}
.zui-popup.top .zui-popup-box {
  width: 100%;
}
.zui-popup.bottom {
  flex-direction: column;
  justify-content: flex-end;
}
.zui-popup.bottom .zui-popup-box {
  width: 100%;
}
.zui-popup.left {
  justify-content: flex-start;
}
.zui-popup.left .zui-popup-box {
  height: 100%;
}
.zui-popup.right {
  justify-content: flex-end;
}
.zui-popup.right .zui-popup-box {
  height: 100%;
}
.zui-popup.inner-popup .zui-popup-box {
  background-color: #fff;
  border-radius: 0.25rem 0.25rem 0 0;
}
.zui-popup.large-radius.inner-popup .zui-popup-box {
  border-radius: 1.25rem 1.25rem 0 0;
}
.zui-popup-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: auto;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7);
}
.zui-popup-box {
  position: relative;
  pointer-events: auto;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
}
.zui-mask-fade-enter,
.zui-mask-fade-leave-to {
  opacity: 0.01;
}
.zui-mask-fade-enter-active,
.zui-mask-fade-leave-active {
  transition: opacity 250ms;
}

.zui-bounce-enter-active {
  animation: bounce-in 300ms linear;
}
.zui-bounce-leave-active {
  animation: zoom-out 250ms linear;
}
.zui-zoom-enter,
.zui-zoom-leave-to {
  opacity: 0.01;
  transform: scale(0.75);
}
.zui-zoom-enter-active {
  transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.zui-zoom-leave-active {
  transition: all 250ms linear;
}
.zui-punch-enter,
.zui-punch-leave-to {
  opacity: 0.01;
  transform: scale(1.35);
}
.zui-punch-enter-active {
  transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.zui-punch-leave-active {
  transition: all 250ms linear;
}
.zui-slide-up-enter,
.zui-slide-up-leave-to {
  transform: translate3d(0, 100%, 0);
}
.zui-slide-up-enter-active {
  transition: transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zui-slide-up-leave-active {
  transition: transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zui-slide-right-enter,
.zui-slide-right-leave-to {
  transform: translate3d(-100%, 0, 0);
}
.zui-slide-right-enter-active {
  transition: transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zui-slide-right-leave-active {
  transition: transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zui-slide-left-enter,
.zui-slide-left-leave-to {
  transform: translate3d(100%, 0, 0);
}
.zui-slide-left-enter-active {
  transition: transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zui-slide-left-leave-active {
  transition: transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zui-slide-down-enter,
.zui-slide-down-leave-to {
  transform: translate3d(0, -100%, 0);
}
.zui-slide-down-enter-active {
  transition: transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zui-slide-down-leave-active {
  transition: transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zui-fade-enter,
.zui-fade-leave-to {
  opacity: 0.01;
}
.zui-fade-enter-active {
  transition: opacity 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.zui-fade-leave-active {
  transition: opacity 250ms linear;
}
.zui-fade-up-enter,
.zui-fade-up-leave-to {
  opacity: 0.01;
  transform: translate3d(0, 20%, 0);
}
.zui-fade-up-enter-active {
  transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.zui-fade-up-leave-active {
  transition: all 250ms linear;
}
.zui-fade-down-enter,
.zui-fade-down-leave-to {
  opacity: 0.01;
  transform: translate3d(0, -20%, 0);
}
.zui-fade-down-enter-active {
  transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.zui-fade-down-leave-active {
  transition: all 250ms linear;
}
.zui-fade-right-enter,
.zui-fade-right-leave-to {
  opacity: 0.01;
  transform: translate3d(-20%, 0, 0);
}
.zui-fade-right-enter-active {
  transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.zui-fade-right-leave-active {
  transition: all 250ms linear;
}
.zui-fade-left-enter,
.zui-fade-left-leave-to {
  opacity: 0.01;
  transform: translate3d(20%, 0, 0);
}
.zui-fade-left-enter-active {
  transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.zui-fade-left-leave-active {
  transition: all 250ms linear;
}
.zui-fly-enter-active {
  animation: fly-in 600ms;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.zui-fly-leave-active {
  animation: zoom-out 250ms;
}
@-moz-keyframes fly-in {
  0% {
    opacity: 0.5;
    transform: scale(0.5) translate3d(0, 3.125rem, 0);
  }
  45% {
    opacity: 1;
    transform: scale(1.05) translate3d(0, -3.125rem, 0);
  }
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fly-in {
  0% {
    opacity: 0.5;
    transform: scale(0.5) translate3d(0, 3.125rem, 0);
  }
  45% {
    opacity: 1;
    transform: scale(1.05) translate3d(0, -3.125rem, 0);
  }
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
}
@-o-keyframes fly-in {
  0% {
    opacity: 0.5;
    transform: scale(0.5) translate3d(0, 3.125rem, 0);
  }
  45% {
    opacity: 1;
    transform: scale(1.05) translate3d(0, -3.125rem, 0);
  }
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
}
@keyframes fly-in {
  0% {
    opacity: 0.5;
    transform: scale(0.5) translate3d(0, 3.125rem, 0);
  }
  45% {
    opacity: 1;
    transform: scale(1.05) translate3d(0, -3.125rem, 0);
  }
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
}
@-moz-keyframes bounce-in {
  0% {
    transform: scale(0.5);
  }
  45% {
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes bounce-in {
  0% {
    transform: scale(0.5);
  }
  45% {
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
@-o-keyframes bounce-in {
  0% {
    transform: scale(0.5);
  }
  45% {
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes bounce-in {
  0% {
    transform: scale(0.5);
  }
  45% {
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
@-moz-keyframes zoom-out {
  to {
    opacity: 0.01;
    transform: scale(0.75);
  }
}
@-webkit-keyframes zoom-out {
  to {
    opacity: 0.01;
    transform: scale(0.75);
  }
}
@-o-keyframes zoom-out {
  to {
    opacity: 0.01;
    transform: scale(0.75);
  }
}
@keyframes zoom-out {
  to {
    opacity: 0.01;
    transform: scale(0.75);
  }
}