拆分子画布标题与本体hover高亮
Project CI / Repository checks (pull_request) Failing after 2m52s
Project CI / Frontend tests (pull_request) Failing after 2m17s
Project CI / Native shell tests (pull_request) Failing after 6m15s
Project CI / Backend tests (pull_request) Successful in 6m37s

标题栏与本体分别作为独立对象绑定同一hover源

标题栏底边与本体顶边接缝保持默认色不高亮
This commit is contained in:
2026-09-04 15:42:16 +08:00
parent 8323b13fd3
commit 816844065b
+35
View File
@@ -5320,6 +5320,41 @@ iframe.preview-frame {
border-radius: 12px;
}
.game-resource-book-scene--child::after {
position: absolute;
z-index: 2;
top: 42px;
right: 0;
bottom: 0;
left: 0;
border: 1px solid transparent;
content: '';
pointer-events: none;
transition: border-color 180ms ease;
}
.game-resource-book-scene--child:has(
.game-resource-book-scene-card.is-expanded .game-resource-card:hover
)
.game-resource-book-scene-titlebar.is-active,
.game-resource-book-scene-titlebar.is-active:hover {
border-top-color: #d57b51;
border-right-color: #d57b51;
border-bottom-color: #ebd9cf;
border-left-color: #d57b51;
}
.game-resource-book-scene--child:has(
.game-resource-book-scene-card.is-expanded .game-resource-card:hover
)::after,
.game-resource-book-scene--child:has(
.game-resource-book-scene-titlebar.is-active:hover
)::after {
border-right-color: #d57b51;
border-bottom-color: #d57b51;
border-left-color: #d57b51;
}
.game-resource-book-main.is-background,
.game-resource-canvas.is-background {
position: absolute;