@use 'mixins/mixins.scss' as *;
@use 'common/var.scss' as *;

@include b(table) {
    width: 100%;
    @include e(action-buttons) {
        white-space: nowrap;
    }
    .table-column-link{
        .el-form-item{
            // display: inline-block;
            .el-form-item__label{
                // display: none;
            }
        }
    }

    .el-table {
        font-size: 13px;
        .el-table__cell{
            .is-edit{
                cursor: pointer;
                &:hover{
                    color: $color-priamy;
                }
                 .el-icon{

                     vertical-align: -2px;
                    }
            }
            &.is-center{
                .el-link{
                    text-align: center;
                    margin: 0 auto;
                }
            }
        }
        .table-column-link{
            &.is-center{
                .el-form-item__content{
                    // justify-content: center;
                }
            }
        }
        .cell{
            line-height: 30px;
        }
        thead tr {
            // line-height: 35px;
            th {
                height: 42px;
                .cell{
                    line-height: 20px;;
                }
                .el-checkbox__inner{
                    width:14px;
                    height:14px;
                }
            }
        }

        td,
        th {
            padding: 3px 0;
        }
    }

    .el-form-item__error {
        position: unset;
        text-align: left;
    }

    .el-form-item {
        margin-bottom: 0;

        .el-form-item__label {
            padding: 0;
        }
    }
    .el-pagination {
        margin-top: 12px;
        --el-pagination-font-size: 13px;

        .el-select {
            --el-select-font-size: 13px;

            .el-select__wrapper {
                font-size: 13px;
            }
        }
    }
}