.ant-table-wrapper {
  width: 98%;
  height: 100%;
  position: relative;
  top: 30px;
}
.ant-table {
  background-color: rgb(9,100,100);
  color: white;
}
// 表头样式
.ant-table-thead > tr > th {
  background-color: rgb(3,50,50);
  color: white;
}

// 修改选中行样式
.ant-table-tbody {
  > tr:hover:not(.ant-table-expanded-row) > td,.ant-table-row-hover,.ant-table-row-hover>td{
    background-color: rgb(18, 75, 75) !important;
  }
}
// 去除边框,留右边框 && 表格内容居中 && 行高
.ant-table-tbody > tr > td ,.ant-table-thead > tr > th{
  border-bottom: none;
  border-right: 1px solid #ccc;
  text-align: center !important;
  padding: 10px 10px !important;
}

// 去除表头最右边边框
.ant-table-container table > thead > tr:first-child th:last-child {
  border-right: none;
}
// 去除tbody最右边边框
.ant-table-container table > tbody > tr td:last-child {
  border-right: none;
}
// 暂无数据样式
.ant-empty-description {
  color: white;
}
// 奇数行
.table-color-odd {
  background-color: rgb(9, 100, 100);
}
// 偶数行
.table-color-even {
  background-color: rgb(19, 147, 147);
}

咿呀咿呀哟
16 声望0 粉丝