@import '~iview/src/styles/index.less';
@text-color: #414141;

@animation-time: 0.1s;
body {
    line-height: 1;
}
.ivu-input,
.ivu-input-icon,
.ivu-select-selection {
    min-height: 28px;
}
.ivu-select-selection .ivu-select-placeholder,
.ivu-select-selection .ivu-select-selected-value {
    min-height: 28px;
    // line-height: 28px;
}

// 多选样式调整
.ivu-select-multiple .ivu-tag {
    height: auto;
    line-height: auto;
}

.ivu-select-multiple .ivu-select-selection {
    max-height: 110px;
    overflow: auto;
}

.ivu-input-icon {
    line-height: 28px;
}

.ivu-table th,
.ivu-table td {
    height: 40px;
}

th .ivu-table-cell {
    display: block;
}

.ivu-table-column-center {
    height: 40px;
}
.ivu-form-item-error-tip {
    padding-top: 3px;
}
.ivu-form-item {
    margin-bottom: 16px;
}

.ivu-input,
.ivu-select-selection,
.ivu-btn {
    border-radius: 1px;
}

.ivu-btn:not(.ivu-btn-small) {
    line-height: 26px;
    padding: 0 16px;
}

.ivu-page {
    position: relative;
}
.ivu-page-total {
    height: 28px;
    line-height: 28px;
    margin-right: 5px;
}
.ivu-page-prev,
.ivu-page-next,
.ivu-page-item-jump-prev,
.ivu-page-item-jump-next,
.ivu-page-item,
.ivu-page-options-elevator input,
.ivu-page-simple .ivu-page-simple-pager input {
    border-radius: 1px;
    height: 28px;
    line-height: 28px;
    min-width: 28px;
    margin-right: 0;
}

.ivu-page-prev,
.ivu-page-next {
    font-size: 0;
}

.ivu-page-prev a,
.ivu-page-next a {
    font-size: 0;
}

.ivu-page-prev i,
.ivu-page-next i {
    font-size: 14px;
}
.ivu-page-options-elevator input,
.ivu-page-simple .ivu-page-simple-pager input {
    width: 30px;
    min-width: 30px;
    text-align: left;
    padding-left: 9px;
}

// modal 千级别， loading万级别
.ivu-spin-fix {
    z-index: 10000;
}

.ivu-input-group-prepend,
.ivu-input-group-append,
.ivu-select-dropdown {
    border-radius: 1px;
}

.ivu-date-picker {
    width: 100%;
}

// 禁用输入框的文字颜色加深
.ivu-input[disabled],
fieldset[disabled] .ivu-input {
    color: #777;
}

/*数字输入框...................................................*/
.ivu-form .ivu-form-item-label {
    line-height: 28px;
    padding: 0 12px 0 0;
}
.ivu-input-number {
    border-radius: 0;
    height: 28px;
}
.ivu-form-item-content {
    line-height: 28px;
}
.ivu-input-number-input-wrap {
    height: 28px;
}
.ivu-input-number-handler {
    height: 14px;
}
.ivu-input-number-input {
    display: block;
    height: 28px;
    line-height: 28px;
}

textarea.ivu-input {
    min-height: 28px;
    font-size: 12px;
}

// 树形图
.ivu-tree-title {
    line-height: 18px;
}

// table 暂无数据显示
.ivu-table-tip {
    position: relative;
}

.ivu-table-tip table td span {
    position: absolute;
    top: 50%;
    left: 45%;
}
