fix: drop frosted blur for clearer glass, right-align runtime without icon

This commit is contained in:
Aisland
2026-08-21 13:11:45 +08:00
parent 0324644d0c
commit 06fcd8bafb
4 changed files with 19 additions and 5 deletions
+3
View File
@@ -172,6 +172,9 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
var gs0 = getComputedStyle(cardEl);
out.cardSheen = gs0.backgroundImage ? gs0.backgroundImage.slice(0, 70) : null;
out.cardBlur = gs0.backdropFilter ? gs0.backdropFilter.slice(0, 40) : null;
out.cardBgColor = gs0.backgroundColor;
var stRow = cardEl.querySelector('.dsh-wt_consoleStatusRow');
out.statusRowJustify = stRow ? getComputedStyle(stRow).justifyContent : null;
var ge = getComputedStyle(cardEl, '::after');
out.glassEdge = ge.backgroundImage ? ge.backgroundImage.slice(0, 70) : null;
out.glassEdgeOpacity = ge.opacity;