element-ui默认样式的修改
直接上代码,代码后有效果图,方便参考:
/* 表格 */
.el-table {
background-color: #0a1a31;
color: #cfdbe6;
font-size: 14px;
}
/* 滚动条 */
.el-table__body-wrapper::-webkit-scrollbar {
width: 12px;
height: 12px;
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
background-color: #409eff;
border-radius: 16px;
}
/* 滚动条右下角白框 */
.el-table__body-wrapper::-webkit-scrollbar-corner {
background-color: #0a1a31;
}
/* 每一行背景色 */
.el-table th,
.el-table tr {
background-color: #0b1932;
}
/* 斑马线背景色 */
.el-table–striped .el-table__body tr.el-table__row–striped td {
background-color: rgba(181, 222, 255, .09);
}
/* 每一行下边框 */
.el-table td,
.building-top .el-table th.is-leaf {
border-bottom: none;
}<