提交
This commit is contained in:
1 parent
15ed25e33b
commit
dc31968204
143 files changed
+15823
-9989
No files matched your search
@@ -678,6 +678,49 @@ body .el-table thead {
|
||||
}
|
||||
// -------------------------------- el-table 全局样式 end --------------------------------
|
||||
|
||||
// border 模式:仅保留表头列之间的分割线以支持拖拽调整列宽
|
||||
// 覆盖 Element Plus el-table--border 的所有默认边框
|
||||
.page-container .el-table--border,
|
||||
.console-container .el-table--border,
|
||||
.el-dialog .el-table--border {
|
||||
// 数据行:移除纵向边框
|
||||
td.el-table__cell {
|
||||
border-right: none !important;
|
||||
}
|
||||
|
||||
// 表头:仅列之间保留淡色分割线,去掉底部边框
|
||||
th.el-table__cell {
|
||||
border-right: 1px solid var(--mint-border) !important;
|
||||
border-top: none !important;
|
||||
}
|
||||
|
||||
th.el-table__cell:first-child {
|
||||
border-left: none !important;
|
||||
}
|
||||
|
||||
th.el-table__cell:last-child {
|
||||
border-right: none !important;
|
||||
}
|
||||
|
||||
// 移除表格外边框(左 ::before、右 ::after)
|
||||
&::after,
|
||||
&::before {
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
// 移除表格顶部边框
|
||||
.el-table__inner-wrapper::after {
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
// 移除边框补丁元素
|
||||
.el-table__border-left-patch,
|
||||
.el-table__border-bottom-patch,
|
||||
.el-table__border-right-patch {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.page-container .el-table,
|
||||
.console-container .el-table {
|
||||
--el-table-header-bg-color: var(--mint-table-head);
|
||||
|
||||
Reference in new issue
Block a user