@import './variable';
.file-list-wrapper {
    display: inline-block;
    & > .upload-placehoder {
        display: inline-block;
        width: 84px;
    }
    .file-list_item {
        // display: flex;
        display: inline-block;
        color: $--color-text-regular;
        line-height: 14px;
        margin-left: 10px;
        margin-top: 5px;
        vertical-align: top;
        &:first-child.list-block {
            margin-left: 0;
        }
        .icon-file {
            display: inline-block;
            width: 14px;
            height: 14px;
            line-height: 14px;
            flex-shrink: 0;
            &.file-error {
                width: 12px;
                height: 12px;
                margin-top: 1px;
                background: url('../../../images/file-error.png') no-repeat center / 100%;
                margin-right: 3px;
            }
        }
        .file-name {
            display: inline-block;
            vertical-align: top;
            word-break: break-all;
            word-wrap: break-word;
            &.file-error {
                color: $--color-danger;
            }
        }
        .btn-item {
            display: inline-block;
            margin-left: 45px;
            vertical-align: top;
            color: $--color-primary;
            flex-shrink: 0;

            &:hover {
                text-decoration: underline;
                cursor: pointer;
            }
            &.btn-disabled {
                color: $--color-primary-disabled;
                &:hover {
                    cursor: not-allowed;
                    text-decoration: none;
                }
            }
        }
    }
    .image-dialog {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 9;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .med-icon-close {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 32px;
        color: $--color-white;
    }
    .image-box {
        img {
            display: block;
            margin: 0 auto;
            max-width: 1000px;
            max-height: 600px;
        }
    }
    .btn-wrapper {
        position: absolute;
        bottom: 80px;
        width: 100%;
        text-align: center;
    }
    .upload-item /deep/ .el-upload__tip {
        margin-top: 0;
    }
    .upload-item /deep/ .tip-box {
        font-size: 12px;
        color: $--color-text-regular;
    }
    .pdf-wrapper {
        width: 100%;
    }
}
