@import "./common.less";
@import "../../theme/default/color.less";
// 字体大小
@fz18: 18px;
@fz16: 16px;
@fz14: 14px;
@fz26: 26px;
// 字体颜色
@clfff: #fff;
@cl999: #999;
@cl000: #000; //表头
@cl333: #333; //表体
@cl8B: #8b96a6;
@dlecl: #fa4d4c; //表格删除
@redact: #1890ff; //表格编辑
// 按钮背景色
@addbg: linear-gradient(90deg, #5ab6ff 0%, #2e9aff 100%); //新增
@delbg: #fa4d4c; //删除
@qubg: #e1f0fe; //取消 重置

// 分页显示位置
.pagination {
  margin-top: 10px;
  margin-right: 10px;
  text-align: right;
}
.ant-pagination {
  margin: 10px !important;
}
.ant-tabs-nav-container {
  border-bottom: 1px solid rgb(224, 224, 224) !important;
}

.ant-tabs-tab {
  font-weight: bold;
  color: rgba(0, 0, 0, 0.65);
  i {
    color: #1890ff;
  }
}
.ant-spin-nested-loading,
.ant-spin-container {
  width: 100%;
  height: 100%;
}
/* 溢出表格滚动条 */
/* 表格 */
/*.table 为全局表格自定义样式*/
// .ant-table-body,
// .ant-table-header {
//   overflow-y: auto !important;
// }
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
  overflow: hidden !important;
  margin-bottom: 0 !important;
  padding-right: 6px;
  tr:only-child > th:last-child {
    border-right-color: #f0f0f0 !important;
  }
}
.ant-table-placeholder {
  width: calc(100% - 6px);
}
.ant-table-header {
  background: #fff;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  overflow-y: auto;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: rgba(144, 147, 153, 0.5);
}

::-webkit-scrollbar-track {
  border-radius: 3px;
  background: rgba(144, 147, 153, 0);
}

.color_title {
  margin-left: 15px;
  position: relative;
  margin-bottom: 15px;
  &::before {
    content: "";
    width: 4px;
    height: 20px;
    position: absolute;
    top: 1px;
    left: -16px;
    background-color: #1890ff;
  }
}
.ant-input {
  resize: none;
}
.ant-btn-primary {
  background: linear-gradient(90deg, #5ab6ff, #2e9aff) !important;
  border: none !important;
  border-color: transparent !important;
}

.ant-form-explain {
  position: absolute;
}
.ant-form-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
// .table-header{
//   padding-right:6px;
//   display: flex;
//   align-items: center;
//   justify-content:space-between;
//   margin-bottom: 20px;
// }

// 统一设置表格为空时的展示
.ant-table-tbody {
  td:empty::after {
    content: "--";
  }
}