Files
aurora-admin/frameworks/Table.css
T
aurora-admin 7e3d442dab
Deploy to GitHub Pages / deploy (push) Failing after 2m30s
Regression / regression (push) Failing after 53s
feat(S2-P7+S3-P8): 行为断言6试点全绿+RTL28文件迁移/回归1009-1009
P7: tests/_behaviors.js新建(8动词+@input/@doc定位+同步pump+page-load
    幂等缓存); _runtime聚合+重载清缓存; _template引入; 6演示页标注;
    79测试页重生成。关键修:runner兜底重跑致行为二轮误报,加缓存解决。
P8: tools/migrate-rtl.mjs新建(白名单dry-run/--write); 28个CSS转逻辑
    属性;物理清零(排除auto/拼接/居中14处人工例外);三页RTL零溢出。
回归:100%(79/79页,1009/1009断言,N/A 35)。
2026-09-14 03:37:08 +08:00

29 lines
1.9 KiB
CSS

/* Aurora Admin Table 样式 — 对齐 components.css 与 table.json 契约 */
.aa-table { width: 100%; border: 1px solid var(--au-color-border); border-radius: 8px; overflow: hidden; background: var(--au-color-card-bg); position: relative; }
.aa-table table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--au-color-text-body); }
.aa-table thead th {
background: var(--au-color-table-header-bg); color: var(--au-color-text-body); font-weight: 600; height: 48px; text-align: start;
padding: 0 16px; border-bottom: 1px solid var(--au-color-border); white-space: nowrap;
}
.aa-table tbody td { height: 48px; padding: 0 16px; border-bottom: 1px solid var(--au-color-border); text-align: start; }
.aa-table tbody tr:last-child td { border-bottom: none; }
.aa-table tbody tr:hover { background: var(--au-color-page-bg); }
.aa-table tbody tr.is-selected { background: var(--au-color-brand-bg); }
.aa-table .align-right { text-align: end; }
.aa-table .sortable { cursor: pointer; user-select: none; }
.aa-table .sort-ind { color: var(--au-color-text-placeholder); margin-inline-start: 4px; }
.aa-table .sort-ind.active { color: var(--au-color-brand); }
.aa-table .col-action { text-align: end; }
.aa-table .col-selection { text-align: center; }
.aa-table .checkbox { width: 16px; height: 16px; cursor: pointer; vertical-align: middle; }
.aa-table .empty { padding: 48px 16px; text-align: center; color: var(--au-color-text-placeholder); font-size: 14px; }
.aa-table .loading-mask {
position: absolute; inset: 0; background: rgba(255,255,255,0.7); display: flex;
align-items: center; justify-content: center; z-index: 2;
}
.aa-table .spinner {
width: 20px; height: 20px; border: 2px solid var(--au-color-brand); border-top-color: transparent;
border-radius: 50%; animation: aa-tbl-spin .6s linear infinite;
}
@keyframes aa-tbl-spin { to { transform: rotate(360deg); } }