@import './variable';
.contrast-material-wrapper {
    margin: 20px 0;
    .el-table {
        &.el-table--border {
            border-right: none !important;
        }
        th {
            background-color: transparent;
        }
        tr {
            th:first-child,
            td:first-child {
                background-color: $--background-color-base;
            }
            td:last-child {
                padding: 0;
            }
        }
        .form-body-wrapper,
        .el-row {
            border: none;
        }
        .form-grid {
            .el-input__inner,
            .el-textarea__inner {
                border: 1px solid $--border-color-base;
                padding: 0 10px;
            }
        }
        .dif-border {
            position: relative;
            &::before {
                content: '';
                position: absolute;
                top: -1px;
                bottom: -1px;
                left: -1px;
                right: -1px;
                border: 1px solid $--color-danger;
                z-index: 1;
            }
            &:last-child::before {
                right: 1px;
            }
        }
        .con-mat-form-wrapper .el-form-item {
            margin-bottom: 0;
        }
        .contrast-handle-column .form-body-wrapper {
            margin-bottom: 0;
        }
    }
    .el-table__body-wrapper {
        overflow: initial;
    }
}
