拆分子画布标题与本体hover高亮
标题栏与本体分别作为独立对象绑定同一hover源 标题栏底边与本体顶边接缝保持默认色不高亮
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user