style: 为拆解主体斑马纹空白行补充悬停背景

This commit is contained in:
GouJ
2026-09-02 10:43:21 +08:00
parent a125164103
commit 5b0e6578dc
4 changed files with 34 additions and 1 deletions
+9
View File
@@ -204,6 +204,15 @@
.record-list > article:nth-child(even) {
background: var(--app-subtle);
}
/* 主体斑马纹的空白行补充悬停/键盘焦点底色,不改变有底色行和其它列表。 */
.subject-record-list > article:nth-child(odd):focus-within {
background: var(--app-control);
}
@media (hover: hover) {
.subject-record-list > article:nth-child(odd):hover {
background: var(--app-control);
}
}
.search-field {
display: flex;