style: normalize CSS selector spacing

This commit is contained in:
Cheng Zhou
2026-03-27 15:22:48 +08:00
parent 8bec268a5b
commit d8c5413b26
2 changed files with 16 additions and 15 deletions
+2 -2
View File
@@ -380,7 +380,7 @@ body {
background: transparent;
}
.ctms-table-card > .el-card__body {
.ctms-table-card>.el-card__body {
padding: 0;
}
@@ -538,4 +538,4 @@ body {
/* ElMessageBox / ElDialog 遮罩层:左侧偏移侧边栏宽度,只覆盖主内容区域 */
.el-overlay {
left: var(--ctms-sidebar-width, 0px) !important;
}
}
+14 -13
View File
@@ -38,10 +38,10 @@
box-shadow: none;
}
.page--flush > .unified-shell,
.page--flush > .main-content-flat.unified-shell,
.page--flush .page-body > .unified-shell,
.page--flush .page-body > .main-content-flat.unified-shell {
.page--flush>.unified-shell,
.page--flush>.main-content-flat.unified-shell,
.page--flush .page-body>.unified-shell,
.page--flush .page-body>.main-content-flat.unified-shell {
margin: 0;
width: 100%;
border-radius: 0;
@@ -66,7 +66,7 @@
box-shadow: none !important;
}
.el-card.unified-shell > .el-card__body {
.el-card.unified-shell>.el-card__body {
padding: 0 !important;
}
@@ -81,8 +81,8 @@
padding-right: 0 !important;
}
.ctms-page > .ctms-page-header.unified-action-bar,
.page > .page-header.unified-action-bar {
.ctms-page>.ctms-page-header.unified-action-bar,
.page>.page-header.unified-action-bar {
border: 0;
border-radius: var(--unified-shell-radius);
background: #ffffff;
@@ -211,11 +211,11 @@
box-shadow: none !important;
}
.unified-shell .ctms-table-card + .ctms-table-card,
.unified-shell .ctms-section-card + .ctms-section-card,
.unified-shell .detail-card + .section-card,
.unified-shell .section-card + .section-card,
.unified-shell .form-card + .form-card {
.unified-shell .ctms-table-card+.ctms-table-card,
.unified-shell .ctms-section-card+.ctms-section-card,
.unified-shell .detail-card+.section-card,
.unified-shell .section-card+.section-card,
.unified-shell .form-card+.form-card {
border-top: 1px solid var(--unified-shell-divider);
}
@@ -257,9 +257,10 @@
}
@media (max-width: 960px) {
.unified-action-bar,
.unified-section {
padding-left: 14px;
padding-right: 14px;
}
}
}