@charset "UTF-8";
@import '~scss/_mixins';
body.mask-show {
    //   position: fixed;
    //   width: 100%;
    //   margin: 0 auto;
    //   left: 50%;
    overflow: hidden;
}

.lm-ui-mask {
    @include flexbox();
    @include justify-content(center);
    @include align-items(center);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    &.hide {
        display: none;
    }
}

@mixin fade-effect() {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.enter-animation {
    @include fade-effect;
    -webkit-animation: maskFadeIn 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
    animation: maskFadeIn 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
}

.leave-animation {
    @include fade-effect;
    -webkit-animation: maskFadeOut 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
    animation: maskFadeOut 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
}

@-webkit-keyframes maskFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes maskFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes maskFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes maskFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
