feat(S2-P7+S3-P8): 行为断言6试点全绿+RTL28文件迁移/回归1009-1009
Deploy to GitHub Pages / deploy (push) Failing after 2m30s
Regression / regression (push) Failing after 53s

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)。
This commit is contained in:
aurora-admin
2026-09-14 03:37:08 +08:00
parent f73ed394f4
commit 7e3d442dab
119 changed files with 486 additions and 53 deletions
+4 -4
View File
@@ -1,17 +1,17 @@
/* Aurora Admin TreeTable 样式 — 对齐 组件7.txt TreeTable 规范 */
.aa-tt { width: 100%; border: 1px solid var(--au-color-border); border-radius: 8px; overflow: hidden; background: var(--au-color-card-bg); }
.aa-tt table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--au-color-text-body); }
.aa-tt thead th { background: var(--au-color-table-header-bg); color: var(--au-color-text-body); font-weight: 600; height: 48px; text-align: left; padding: 0 16px; border-bottom: 1px solid var(--au-color-border); white-space: nowrap; }
.aa-tt tbody td { height: 48px; padding: 0 16px; border-bottom: 1px solid var(--au-color-border); text-align: left; }
.aa-tt 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-tt tbody td { height: 48px; padding: 0 16px; border-bottom: 1px solid var(--au-color-border); text-align: start; }
.aa-tt tbody tr:last-child td { border-bottom: none; }
.aa-tt tbody tr:hover { background: var(--au-color-page-bg); }
.aa-tt tbody tr.is-selected { background: var(--au-color-brand-bg); }
.aa-tt .align-right { text-align: right; }
.aa-tt .align-right { text-align: end; }
.aa-tt .col-selection { text-align: center; }
.aa-tt .tree-cell { display: flex; align-items: center; gap: 4px; }
.aa-tt .tt-arrow { width: 16px; height: 16px; font-size: 12px; color: var(--au-color-text-secondary); transition: transform .15s; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aa-tt .tt-arrow.is-open { transform: rotate(90deg); }
.aa-tt .tt-arrow-placeholder { width: 16px; flex-shrink: 0; }
.aa-tt .tt-check { width: 14px; height: 14px; cursor: pointer; }
.aa-tt .tt-summary { color: var(--au-color-text-secondary); font-size: 12px; margin-left: 6px; }
.aa-tt .tt-summary { color: var(--au-color-text-secondary); font-size: 12px; margin-inline-start: 6px; }
.aa-tt tfoot td { height: 44px; padding: 0 16px; background: var(--au-color-table-header-bg); font-weight: 600; border-top: 1px solid var(--au-color-border); }