@import "~antd-v4/lib/style/themes/default.less";
@active_color: #1890FF; // 高亮色
@active_color2: #2f54eb;
@disable_color: #a2a2a2; //  禁止颜色
@font_family: Monospaced Number, Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif; // 字体
@font_color: #000; // 字体颜色
@td_padding_sub: 0 4px; //  默认从表td padding
@border-radius-base: 2px; // 组件/浮层圆角
@border-color-base: #d9d9d9; // 边框色
@cell-height: 28px; // 默认单元格行高及最小高
@modal-table-height: 350px;

.ant-table-thead>tr>th {
  font-weight: 600;
  white-space: nowrap;
}

.ant-input-disabled {
  color: @font_color;
  background: #fff;
}

.ant-select-disabled {
  color: @font_color;
}

tbody {
  .ant-picker.ant-picker-disabled {
    background: transparent;
    border: none;
  }

  .ant-picker-input>input[disabled] {
    color: @font_color !important;
  }

  .ant-select-disabled {
    .ant-select-arrow {
      display: none;
    }

    .ant-select-selector {
      padding: @td_padding_sub !important;
      color: #000 !important;
      border: none !important;

      .ant-select-selection-item {
        //line-height: 28px!important;
      }
    }
  }

  .ant-picker-disabled {
    padding: 0 !important;
  }
}

.clear_both {
  *zoom: 1;

  &:before,
  &:after {
    content: " ";
    display: table;
  }

  &:after {
    clear: both;
  }
}