﻿.btn-import-upload{
    position:relative;
    input{
        display: none;
    }
}

.cell-edit{
    a{
        display: none;
    }
    &:hover{
        a{
            display: inline-flex;
        }
    }
}

.seo-box .layui-word-aux a {
    color: #066aae
}

.seo-box .layui-word-aux a+a:before {
    content: '|';
    color: #e5e5e5;
    padding: 0 5px
}

.seo-box .btn-upload {
    border: 1px solid #e6e6e6;
    color: #066aae;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    position: relative;
}
.seo-box .btn-upload input{
    display: none!important;
}
.seo-box .public-upload-item {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border: 1px solid #e6e6e6;
    overflow: inherit
}

.seo-box .public-upload-item .del {
    cursor: pointer;
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 0 4px;
    border-radius: 20px;
    margin: 0;
    background: rgba(0, 0, 0, .8);
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    display: none;
    opacity: .8
}

.file-warp,
.image-warp,
.video-warp {
    margin-top: 10px
}

.seo-box .public-upload-item .progress {
    line-height: 60px;
    font-size: 14px
}

.seo-box .public-upload-item:hover .del {
    display: block
}

.seo-box .btn-box {
    display: none;
    background-color: #fff;
    position: fixed;
    left: 104px;
    right: 0;
    bottom: 0;
    box-shadow: 1px 0 5px #eee;
    padding: 10px;
    text-align: center;
    z-index: 999
}

.seo-box .btn-box.active {
    display: block
}

.image-warp .image-list {
    height: 405px;
    overflow-y: auto
}

.image-warp .image-list .image-item {
    position: relative;
    float: left;
    width: 105px;
    height: 105px;
    margin-right: 10px;
    margin-bottom: 30px;
    cursor: pointer
}

.image-warp .image-list .image-item:nth-of-type(7n) {
    margin-right: 0
}

.image-warp .image-list .image-box {
    background: 50% 50% #ccc;
    width: 105px;
    height: 105px;
    background-size: cover
}

.file-warp .file-list .file-meta,
.image-warp .image-list .image-meta,
.video-warp .video-list .video-meta {
    height: 25px;
    line-height: 25px;
    bottom: 0;
    font-size: 12px
}

.image-warp .image-list .image-meta {
    position: absolute;
    width: 105px;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, .2)
}

.image-warp .image-list .image-title-wrap {
    display: flex
}

.image-warp .image-list .image-title,
.image-warp .image-list .image-title-ext {
    margin-top: 5px;
    font-size: 12px;
    padding-bottom: 1px;
    white-space: nowrap
}

.image-warp .image-list .image-title {
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: right
}

.image-warp .image-list .attachment-selected {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #07d;
    box-sizing: border-box
}

.image-warp .image-list .attachment-selected::after {
    position: absolute;
    display: block;
    content: ' ';
    right: 0;
    top: 0;
    border: 14px solid #07d;
    border-left-color: transparent;
    border-bottom-color: transparent;
    z-index: 1
}

.image-warp .image-list .attachment-selected i {
    position: absolute;
    right: 1px;
    top: 1px;
    z-index: 2
}

.image-warp .image-list .attachment-selected i.selected-index {
    right: 0;
    top: 0
}

.image-warp .image-list .selected-index {
    font-size: 12px;
    color: #fff;
    font-style: normal;
    font-family: arial;
    width: 13px;
    text-align: center;
    height: 15px
}


.listpic{
    position: relative;
    .listpic-mask{
        display: none;
        position:absolute;
        width: 100%;
        height: 100%;
        cursor: pointer;
        background:rgba(0, 0, 0, 0.3);
        color: #fff;
        text-align: center;
        font-size: 12px;
        line-height: 42px;
        img{
            display: block;
        }
    }
    &:hover{
        .listpic-mask{
            display: block;
        }
    }
}

.picture-box{
    .btn-upload {
        border: 1px solid #e6e6e6;
        color: #066aae;
        display: block;
        width: 60px;
        height: 60px;
        line-height: 60px;
        text-align: center;
        position: relative;
    }
    .btn-upload input{
        display: none!important;
    }
    .public-upload-item {
        width: 60px;
        height: 60px;
        margin-right: 10px;
        border: 1px solid #e6e6e6;
        overflow: inherit;
        .del {
            cursor: pointer;
            position: absolute;
            top: -8px;
            right: -8px;
            padding: 0 4px;
            border-radius: 20px;
            margin: 0;
            background: rgba(0, 0, 0, .8);
            font-size: 12px;
            line-height: 20px;
            color: #fff;
            display: none;
            opacity: .8
        }
        .progress {
            line-height: 60px;
            font-size: 14px
        }
        .main{
            cursor: pointer;
            position: absolute;
            left: 0px;
            bottom: 0px;
            text-align: center;
            width: 100%;
            margin: 0;
            background: rgba(0, 0, 0, .8);
            font-size: 12px;
            line-height: 20px;
            color: #fff;
            display: none;
            opacity: .8;
            z-index: 1;
        }
        .curmain {
            cursor: pointer;
            position: absolute;
            left: 0px;
            bottom: 0px;
            padding: 0 4px;
            margin: 0;
            background: rgba(0, 0, 0, .8);
            font-size: 12px;
            line-height: 20px;
            color: #fff;
            display: none;
            opacity: .8;
            &.cur{
                display: block;
            }
        }
        &:hover .del,&:hover .main {
            display: block
        }
        &:hover .curmain.cur {
            display: none;
        }
    }
}




.edit-dialog{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    margin: 0 auto!important;
    // max-width: 1360px;
    width: 100%;
    overflow: hidden!important;
    .el-dialog__body{
        position: absolute;
        bottom:70px;
        top:50px;
        left: 0px;
        right: 0px;
        overflow: auto;            
        box-sizing:border-box;
        border-top: 1px solid #F0F0F0;
        padding: 0px 20px 30px;
        .el-input{
            max-width: 217px;
        }
        .title{
            padding: 15px; line-height: 1.6; border-left: 5px solid #85cbfb; border-radius: 0 2px 2px 0; background-color: #FAFAFA; margin: 22px 0px;
        }
    }
    .el-dialog__footer{
        position: absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
        background:#fff;
    }
    .edit-dialog-warp{
        display: flex;
        height: 100%;
        overflow: hidden;
        .detail-title{
            padding: 8px 10px;
            font-weight: 500;
            font-size: 20px;
            line-height: 24px;
            border-radius: 4px;
            margin-bottom: 20px;

            &:not(.readonly):not(.disabled):focus,&:not(.readonly):not(.disabled):hover {
                background: #f7f7f7;
            }
        }
        .item-title{
            font-size: 16px;
            font-weight: 700;
            justify-content: space-between;
            align-items: center;
            margin: 15px 0px;
            padding-left: 10px;
        }
        .info-box{
            width: 100%;
            padding: 20px;
            // border-right:1px solid #F0F0F0;
            height: 100%;
            overflow: auto;
            .brief-box,.input-box{
                padding-left: 10px;
                &:not(.readonly):not(.disabled):focus,&:not(.readonly):not(.disabled):hover {
                    background: #f7f7f7;
                }
            }

            .el-form-item{
                margin-bottom: 5px;
                .el-form-item__label{
                    padding-left: 10px;
                }
            }
            .file-box{
                .sub-title{
                    font-size: 16px;
                    line-height: 40px;
                }
                .action-box{
                    input{
                        display: none;
                    }
                }
                .item{
                    border:1px solid #ddd;
                    border-radius:5px;
                    padding:10px;
                    display: flex;
                    margin:10px 10px;
                    .type{
                        height: 50px;
                        width: 50px;
                        background: #6c757d;
                        line-height: 50px;
                        text-align: center;
                        border-radius: 5px;
                        color: #fff;
                    }
                    .des{
                        flex: 1;
                        padding-left: 10px;
                        color: #6c757d;
                        .size{
                            font-size: 13px;
                        }
                    }
                    a{
                        line-height: 50px;
                        width: 50px;
                        font-size: 22px;
                        color: #6c757d;
                        text-align: center;
                    }
                }
            }
        }
        .track-box{
            flex: 1;
            overflow: hidden;
            display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            .item-title{
                padding: 0px 20px;
            }
            .track-list{
                padding:0px 0px;
                overflow-x: hidden;
                overflow-y: auto;
                padding: 0px 20px;
                flex: 1;
                .item{
                    display: flex;
                    margin:20px 0px;
                    .photo{
                        width: 60px;
                        height: 60px;
                        border-radius:60px;
                    }
                    .cont-box{
                        flex: 1;
                        padding-left: 20px;
                        color: #6c757d;
                        .name{
                            line-height: 30px;
                            font-weight: 600;
                            font-size: 15px;
                        }
                        .cont{
                            line-height: 22px;
                        }
                    }
                }
            }
            .track-form-box{
                flex-shrink: 0;
                z-index: 1;
                border-top:1px solid #F0F0F0;
                textarea{
                    border:0px;
                    border-radius: 0px;
                    resize:none;
                }
                button{
                    border-radius: 0px;
                }
            }
        }
        .comment-box{
            margin-top: 30px;
            .sub-title{
                font-size: 16px;
                line-height: 40px;
            }
            .comment-list{
                padding:0px 0px;
                .item{
                    display: flex;
                    margin:20px 0px;
                    .photo{
                        width: 60px;
                        height: 60px;
                        border-radius:60px;
                    }
                    .cont-box{
                        flex: 1;
                        padding-left: 20px;
                        color: #6c757d;
                        .name{
                            line-height: 30px;
                            font-weight: 600;
                            font-size: 15px;
                        }
                        .cont{
                            line-height: 22px;
                        }
                    }
                }
            }
        }
    }
}

.lay-ext-mulitsel .layui-input.multiple{ height: 38px; white-space: nowrap; text-overflow: ellipsis;}
.lay-ext-mulitsel .layui-input.multiple a{ padding: 2px 5px 2px 0px; background: transparent; border-radius: 2px; color: #333; display: inline-block; line-height: 20px; margin: 2px 5px 2px 0; float: none; border-right: 1px solid #eee; }
.lay-ext-mulitsel .layui-input.multiple a:last-of-type{ border-right: 0px; }
.lay-ext-mulitsel .layui-input.multiple a i{ display: none; }