_modal.css 1.23 KB
.ymodal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: none;
}

.ymodal-dialog {
    position: relative;
    margin: 15px auto;
    width: 540px;
}

.ymodal-content {
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.ymodal-header {
    position: relative;
}

.ymodal-footer {
    font-size: 34px;
    height: 88px;
    border-top: 1PX solid #e0e0e0;
}

.ymodal-body {
    padding: 25px;
}

.ymodal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 998;
    background-color: #000;
    opacity: 0.8;
}

/* ------------------------------------------- *\
            Alert
\* ------------------------------------------- */
.ymodal-alert {
    .ymodal-dialog {
        margin-top: 200px;
    }

    .ymodal-content {
        width: 540px;
    }

    .ymodal-body {
        padding-top: 40px;
        text-align: center;
        min-height: 170px;
        font-size: 26px;
    }

    .ymodal-footer {
        text-align: center;
    }

    .ymodal-btn-close {
        color: #d0021b;
        display: block;
        height: 100%;
        width: 100%;
        background-color: transparent;
    }
}