/*--============================---
 *  基础组件 -- 模态弹窗样式
 *  loke 2018-08-24 15:17:43
 *--==============================*/
.sui-modal {
    position: absolute;
    left:0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1028;
    background: rgba(0,0,0,.3);
    display: flex;
    justify-content: center;
    align-items: center;
    .modal-body {
        display: inline-block;
        background: #fff;
        max-width: 60%;
        border-radius: 2px;
        .modal-panel {
            padding: 15px 20px 0;
            color: #666;
            .title {
                display: block;
                font-size: 16px;
                margin-bottom: 10px;
                color: #111;
            }
        }
        .modal-btns {
            height: 40px;
            line-height: 40px;
            text-align: right;
            > a {
                display: inline-block;
                color: #2599f2;
                padding: 0 20px;
                text-decoration: none;
                &:active {
                    background: rgba(0,0,0,.1);
                }
            }
        }
        .confirm-btns {
            margin-top: 10px;
            border-top: 1px solid #e8e8e8;
            height: 40px;
            line-height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            >a {
                flex: 1;
                display: block;
                text-align: center;
                color: #666;
                &:last-child {
                    color: #2599f2;
                    border-left: 1px solid #e8e8e8;
                }
                &:active {
                    text-decoration: none;
                    background: rgba(0,0,0,.1);
                }
            }
        }
    }
}
