fix: console area 2x (edge 1.4), comet moving light, darker blueprint grid bg

This commit is contained in:
Aisland
2026-08-21 02:03:16 +08:00
parent dbb5a01a8e
commit 14f654adda
4 changed files with 49 additions and 23 deletions
+6
View File
@@ -135,6 +135,11 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
out.gridCols = getComputedStyle(grid).gridTemplateColumns.split(' ').length;
out.gridGap = getComputedStyle(grid).columnGap;
out.gridMarginTop = getComputedStyle(grid).marginTop;
out.gridMaxW = getComputedStyle(grid).maxWidth;
var conEl = vis('.dsh-wt_console');
out.consoleBgImage = conEl ? getComputedStyle(conEl).backgroundImage.slice(0, 60) : null;
out.consoleBgSize = conEl ? getComputedStyle(conEl).backgroundSize : null;
out.consoleBgColor = conEl ? getComputedStyle(conEl).backgroundColor : null;
var cards = grid.querySelectorAll('.dsh-wt_consoleCard');
out.cardCount = cards.length;
var c0 = cards[0];
@@ -172,6 +177,7 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
out.busyBgImage = bs.backgroundImage ? bs.backgroundImage.slice(0, 60) : null;
out.busyAnim = bs.animationName;
out.busyShadow = getComputedStyle(cardEl).boxShadow.slice(0, 90);
out.busyFilter = bs.filter ? bs.filter.slice(0, 60) : null;
cardEl.classList.remove('dsh-wt_consoleCard-busy');
cardEl.classList.add('dsh-wt_consoleCard-glowDone');
await sleep(300);