style(admin): align list typography with orders

This commit is contained in:
2026-08-31 15:36:02 +08:00
parent cd290b8dc6
commit afbee83b51
7 changed files with 111 additions and 13 deletions
+7 -5
View File
@@ -86,18 +86,20 @@
.panel-heading h2 { margin: 0; font-size: 16px; }
.panel-heading p { margin: 5px 0 0; color: var(--cc-muted); font-size: 12px; line-height: 1.5; }
.table-panel .el-table { --el-table-border-color: #edf0f4; --el-table-header-bg-color: #f8fafc; --el-table-row-hover-bg-color: #f8fbff; }
.table-panel .el-table th.el-table__cell { height: 44px; color: #475467; font-size: 12px; font-weight: 650; }
.table-panel .el-table { font-size: var(--cc-list-table-font-size); }
.table-panel .el-table th.el-table__cell { height: 44px; color: #475467; font-size: var(--cc-list-table-font-size); font-weight: var(--cc-list-table-header-font-weight); }
.table-panel .el-table td.el-table__cell { padding: 12px 0; }
.primary-cell, .user-cell { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.primary-cell strong, .user-cell strong { overflow: hidden; color: #172033; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.primary-cell span, .user-cell span { overflow: hidden; color: var(--cc-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.primary-cell strong, .user-cell strong { overflow: hidden; color: #172033; font-size: var(--cc-list-primary-font-size); text-overflow: ellipsis; white-space: nowrap; }
.primary-cell span, .user-cell span { overflow: hidden; color: var(--cc-muted); font-size: var(--cc-list-secondary-font-size); text-overflow: ellipsis; white-space: nowrap; }
.user-cell { flex-direction: row; align-items: center; gap: 10px; }
.user-cell > span:first-child, .detail-identity > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #eaf1ff; color: var(--cc-primary); font-weight: 700; }
.user-cell > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.table-actions { display: flex; align-items: center; white-space: nowrap; }
.table-actions .el-button { font-size: var(--cc-list-action-font-size); }
.table-actions .el-button + .el-button { margin-left: 10px; }
.table-footer { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--cc-border); color: var(--cc-muted); font-size: 12px; }
.status-badge { display: inline-flex; min-height: 24px; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 11px; font-weight: 650; white-space: nowrap; }
.table-footer { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--cc-border); color: var(--cc-muted); font-size: var(--cc-list-pagination-font-size); }
.status-badge { display: inline-flex; min-height: 24px; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: var(--cc-list-status-font-size); font-weight: 650; white-space: nowrap; }
.status-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge.is-success { background: #ecfdf3; color: #067647; }
.status-badge.is-warning { background: #fffaeb; color: #b54708; }