chore(admin-ui): add table tokens and refine list-card table header/hover

This commit is contained in:
萝卜
2026-03-16 01:29:07 +08:00
parent cd9bf2dbc4
commit cda69f4716
3 changed files with 48 additions and 0 deletions

View File

@@ -163,6 +163,14 @@
padding:12px 12px;
}
.list-card-table thead th{
background:var(--adm-table-header-bg, #fafafa);
}
.list-card-table tbody tr:hover td{
background:var(--adm-table-row-hover-bg, rgba(22, 119, 255, .04));
}
/* 可复用PageHeader参考 Ant Design Pro标题区 + 描述 + 右侧操作区) */
.page-header{
width:100%;

View File

@@ -40,6 +40,10 @@
--adm-input-border-hover: #a3aab6;
--adm-input-text: #0f172a;
/* 表格(接近 Ant Design 表头/hover */
--adm-table-header-bg: #fafafa;
--adm-table-row-hover-bg: rgba(22, 119, 255, .04);
/* 状态色(接近 Ant Design */
--adm-success: #16a34a;
--adm-warning: #f59e0b;