_mask-dialog.css 1.84 KB
.mask-dialog {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    .dialog-mask {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1070;
        background-color: #000;
        filter: alpha(opacity=50);
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    }

    .dialog-main {
        position: relative;
        width: 600px;
        padding: 20px;
        z-index: 1100;
        margin: 0 auto;
        background: #fff;
        border: 1px solid #c2bbbb;
        box-shadow: 1px 1px 10px #000;

        .head-part {
            margin-bottom: 20px;

            .head-title {
                font-size: 14px;
            }

            .head-close {
                position: absolute;
                right: 25px;
                top: 15px;
                font-size: 22px;
                cursor: pointer;
            }
        }

        .body-part {
            margin-bottom: 20px;
            text-align: center;

            .clip-img {
                max-width: 560px;
                max-height: 400px;
                border: 1px solid #eee;
            }
        }

        .foot-part {
            text-align: center;

            .foot-btn {
                display: inline-block;
                height: 30px;
                width: 120px;
                margin: 0 40px;
                color: #fff;
                line-height: 30px;
                text-align: center;
                text-decoration: none;
                background: #fff;
                border: 1px solid #000;
                cursor: pointer;
            }

            .confirm-btn {
                background: #000;
            }

            .cancel-btn {
                color: #000;
            }
        }
    }
}