From 816844065b8760f2df53ad784a93e6b4e276fed6 Mon Sep 17 00:00:00 2001 From: suzmii Date: Fri, 4 Sep 2026 15:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=86=E5=88=86=E5=AD=90=E7=94=BB=E5=B8=83?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E4=B8=8E=E6=9C=AC=E4=BD=93hover=E9=AB=98?= =?UTF-8?q?=E4=BA=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 标题栏与本体分别作为独立对象绑定同一hover源 标题栏底边与本体顶边接缝保持默认色不高亮 --- apps/ai-game-creator-shell/src/styles.css | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index 898602959..eccad2ed7 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -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;