fixed # 修复大量BUG

This commit is contained in:
2026-11-22 17:36:42 +08:00
parent 9c3687fe7f
commit f955716c97
29 changed files with 934 additions and 319 deletions
+50
View File
@@ -1302,6 +1302,39 @@ body.mengsan-battle-ui-shuying :is(
display: none !important;
pointer-events: none !important;
}
/* 选卡按钮保留原生交互,梦三全幅卡面单独显示牌名。 */
.mengsan-choice-card-name-shuying {
display: none !important;
}
body.mengsan-battle-ui-shuying .dialog .button.card:not(.blank, .infohidden, .infoflip) > .mengsan-choice-card-name-shuying {
position: absolute;
right: 5px;
bottom: 5px;
max-width: calc(100% - 10px);
box-sizing: border-box;
display: block !important;
padding: 2px 4px;
border: 1px solid #d8ba83;
border-radius: 3px;
background: #231b17ed;
color: #fff1cb;
font: 700 13px/1.25 "Microsoft YaHei", sans-serif;
text-align: right;
text-shadow: 0 1px 2px #000;
white-space: normal;
overflow-wrap: anywhere;
writing-mode: horizontal-tb;
pointer-events: none;
z-index: 7;
}
body.mengsan-battle-ui-shuying .dialog .button.card:not(.blank, .infohidden, .infoflip):has(> .mengsan-choice-card-name-shuying) > :is(.name, .top-name) {
display: none !important;
}
/* 三人战的上排为费用和武将顶部标记留出空间。 */
body.mengsan-battle-ui-shuying #arena[data-number="3"] > .player:is([data-position="1"], [data-position="2"]) {
top: clamp(36px, 6%, 56px) !important;
}
.player > .mengsan-energy-shuying {
position: absolute !important;
top: -22px !important;
@@ -1432,6 +1465,21 @@ body.mengsan-battle-ui-shuying :is(
font: 12px/1.4 "Microsoft YaHei", sans-serif;
overflow-wrap: anywhere;
}
.mengsan-hand-relics-shuying > button > .mengsan-relic-counter-shuying {
position: absolute;
right: 0;
bottom: 0;
min-width: 13px;
padding: 0 2px;
box-sizing: border-box;
border: 1px solid #d8ba83;
border-radius: 8px;
background: #221b15;
color: #fff1cb;
font: bold 10px/11px "Microsoft YaHei", sans-serif;
text-align: center;
pointer-events: none;
}
.mengsan-relic-dialog-shuying { max-width: 620px; }
.mengsan-relic-list-shuying { overflow-y: auto; padding: 12px 0; }
.mengsan-deck-dialog-shuying .mengsan-relic-list-shuying { position:relative;display:block;flex:1;min-height:0;overscroll-behavior:contain;touch-action:pan-y; }
@@ -1459,6 +1507,8 @@ body.mengsan-battle-ui-shuying :is(
.mengsan-battle-relics-button-shuying { top: 122px; }
}
.mengsan-bonds-shuying {
position: relative !important;
flex-shrink: 0;
display: grid;
gap: 12px;
}