common.css 2.26 KB
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.info-wrap {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: fixed;
    overflow: auto;
    margin: 0;
    /* z-index: 99992; */
    z-index: 99992;
}

.info-dialog {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    box-sizing: border-box;
    margin-bottom: 50px;
    top: 30%;
    background: url(../../img/bgc.png) no-repeat;
    border: 2px solid #2E5192;
    border-radius: 5px;
}

.info-dialog--tiny {
    width: 30%;
}

.info-dialog--small {
    width: 60%;
}

.info-dialog--large {
    width: 90%;
}


/* 弹窗头部 */

.info-head {
    padding: 20px 20px 0;
}

.info-head:before,
.info-head:after {
    display: table;
    content: "";
}

.info-head:after {
    clear: both;
}

.info-title {
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.info-headerbtn {
    float: right;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
}

.info-close {
    font-style: normal;
    line-height: 1;
    color: #bfcbd9;
    text-transform: none;
    display: inline-block;
}

.info-headerbtn:focus .info-close,
.info-headerbtn:hover .info-close {
    color: #20a0ff;
}

.info-close:before {
    content: "×";
    display: inline-block;
    transform: scale(2);
    width: 16px;
    height: 16px;
}


/* 弹窗主体部 */

.info-body {
    padding: 30px 20px;
    color: #fff;
    font-size: 14px;
}


/* 弹窗尾部 */

.info-footer {
    padding: 10px 20px 15px;
    text-align: right;
    box-sizing: border-box;
}

.info-footer button:first-child {
    margin-right: 10px;
}

.info-button+.info-button {
    margin-left: 10px;
}

.info-footer .info-button {
    margin: 0;
    padding: 8px 16px;
    border: none;
    outline: none;
    background-color: #2194ef;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}


/* 遮罩层 */

.info-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #000;
    /* z-index: 99991; */
    z-index: 99991;
}