iter(g140): 表格支持整行点击

This commit is contained in:
HIsheR
2026-10-26 15:35:03 +08:00
parent 2a7fdcd9d7
commit e40cd2c1fd
8 changed files with 47 additions and 7 deletions
+12
View File
@@ -4387,3 +4387,15 @@ h5.ua-type-title { font-size: var(--ua-font-size-md); }
.ua-datepicker-day.is-in-range:hover {
background: color-mix(in srgb, var(--ua-color-accent) 20%, transparent);
}
/* —— 可点击行:指针手型 + 键盘聚焦环,与选中行底色叠加不冲突 —— */
.ua-row-clickable {
cursor: pointer;
}
.ua-row-clickable:hover td {
background: color-mix(in srgb, var(--ua-color-accent) 8%, transparent);
}
.ua-row-clickable:focus-visible {
outline: 2px solid var(--ua-color-accent);
outline-offset: -2px; /* 环画在行内,避免被表格滚动容器裁掉 */
}