dsh-mpkg-wallpaper 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +10 -5
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -4921,12 +4921,16 @@ body:not([data-ds-dark-theme]) .mpw_dialog {
|
|
|
4921
4921
|
命中 DSH 原生设置面板的 full-viewport overlay(渲染在 sidebarCol 内,类名含 mask),
|
|
4922
4922
|
backdrop-filter 使它成为 fixed 弹窗的包含块 → 设置被"困"在侧边栏宽度里无法居中
|
|
4923
4923
|
(用户实测:Termux X11 + Firefox 下设置被挤进侧边栏成窄长条)。 */
|
|
4924
|
-
|
|
4924
|
+
/* ①(修正) 遮罩虚化作用于 DSH 弹窗遮罩([class$="_mask"],如 BInVoG_mask/fNh4Da_mask/
|
|
4925
|
+
VOzbGW_mask——session 导出弹窗的遮罩) + 插件自己的 .mpw_mask。原收窄成 .mpw_mask
|
|
4926
|
+
后 DSH 遮罩失去模糊 → session 导出弹窗遮罩效果变差(用户实测)。用 $= 结尾匹配
|
|
4927
|
+
只命中真正的遮罩类,不会误伤设置 overlay(其类名中间含 mask 但不以 _mask 结尾)。 */
|
|
4928
|
+
[class$="_mask"], .mpw_mask {
|
|
4925
4929
|
backdrop-filter: ${blurNoWall} !important;
|
|
4926
4930
|
-webkit-backdrop-filter: ${blurNoWall} !important;
|
|
4927
4931
|
}
|
|
4928
4932
|
/* 遮罩背景加深(防字叠字) */
|
|
4929
|
-
.mpw_mask { background: rgba(0,0,0,0.55) !important; }
|
|
4933
|
+
[class$="_mask"], .mpw_mask { background: rgba(0,0,0,0.55) !important; }
|
|
4930
4934
|
`;
|
|
4931
4935
|
return css + buildUiCss(section, false);
|
|
4932
4936
|
}
|
|
@@ -5438,13 +5442,14 @@ ${unifyTint ? `body:not([data-ds-dark-theme]) [data-cordis-panel] [class*="row"]
|
|
|
5438
5442
|
// 否则遮罩只有灰底无模糊、弹窗边框透明(用户实测))
|
|
5439
5443
|
css += `
|
|
5440
5444
|
/* ②(重做) 遮罩虚化独立(maskBlur/maskAmount):设置/弹层打开时全屏背景遮罩的虚化
|
|
5441
|
-
①(修正)
|
|
5442
|
-
|
|
5445
|
+
①(修正) 同无壁纸分支:作用于 DSH 弹窗遮罩 [class$="_mask"] + 插件 .mpw_mask。
|
|
5446
|
+
$= 结尾匹配只命中真正的遮罩类(session 导出弹窗遮罩等),不误伤设置 overlay */
|
|
5447
|
+
[class$="_mask"], .mpw_mask {
|
|
5443
5448
|
backdrop-filter: ${(maskBlur && maskAmount > 0 && bdSupported) ? `blur(${maskAmount}px)` : "none"} !important;
|
|
5444
5449
|
-webkit-backdrop-filter: ${(maskBlur && maskAmount > 0 && bdSupported) ? `blur(${maskAmount}px)` : "none"} !important;
|
|
5445
5450
|
}
|
|
5446
5451
|
/* ①(修正) 遮罩背景加深一点(防字叠字;:has 兼容性差不用) */
|
|
5447
|
-
.mpw_mask { background: rgba(0,0,0,0.55) !important; }
|
|
5452
|
+
[class$="_mask"], .mpw_mask { background: rgba(0,0,0,0.55) !important; }
|
|
5448
5453
|
`;
|
|
5449
5454
|
if (thinkBg) {
|
|
5450
5455
|
// 开关开:恢复 Deep diving 背景方框 + 虚化 + 蓝色文字
|
package/package.json
CHANGED