Files
aurora-admin/frameworks/Tree.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

17 lines
1.1 KiB
CSS

/* Aurora Admin Tree 样式 — 对齐 组件2.txt Tree 规范 */
.aa-tree { min-width: 240px; border: 1px solid var(--au-color-border); border-radius: 8px; padding: 4px; background: var(--au-color-card-bg); }
.aa-tree-node {
display: flex; align-items: center; gap: 4px; height: 32px; border-radius: 4px;
cursor: pointer; user-select: none; font-size: 14px; color: var(--au-color-text-body); padding-inline-end: 8px;
}
.aa-tree-node:hover { background: var(--au-color-page-bg); }
.aa-tree-node.is-selected { background: var(--au-color-brand-bg); color: var(--au-color-brand); }
.aa-tree-arrow {
display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px;
font-size: 12px; color: var(--au-color-text-secondary); transition: transform .15s; flex-shrink: 0;
}
.aa-tree-arrow.is-open { transform: rotate(90deg); }
.aa-tree-arrow-placeholder { width: 16px; flex-shrink: 0; }
.aa-tree-check { width: 14px; height: 14px; flex-shrink: 0; cursor: pointer; }
.aa-tree-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }