From 121b9405ec4719f076ac3f5008afd60f32d063d9 Mon Sep 17 00:00:00 2001 From: Hermes Date: Mon, 10 Aug 2026 01:45:22 +0200 Subject: [PATCH] style: plain full-bleed darkened background, no blur/fade --- plugin.js | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/plugin.js b/plugin.js index fa0d184..963a560 100644 --- a/plugin.js +++ b/plugin.js @@ -439,23 +439,17 @@ } var bgel = document.querySelector('.background'); if (bg && bgel) { - // Mimic Lampa's native background: subtle blur, soft vignette, - // and a smooth fade-in (set opacity 0 first, then animate to 1 - // on the next frame so the CSS transition actually runs). - bgel.style.transition = 'opacity .45s ease'; + // Plain full-bleed background, no blur/fade effects. + // Darkened via brightness so text stays readable. + bgel.style.transition = 'none'; bgel.style.backgroundImage = 'url("' + bg + '")'; bgel.style.backgroundSize = 'cover'; bgel.style.backgroundPosition = 'center'; bgel.style.backgroundRepeat = 'no-repeat'; - bgel.style.filter = 'blur(22px)'; - bgel.style.transform = 'scale(1.08)'; - bgel.style.boxShadow = 'inset 0 0 260px 130px rgba(0,0,0,0.6)'; - bgel.style.opacity = '0'; - requestAnimationFrame(function () { - requestAnimationFrame(function () { - bgel.style.opacity = '1'; - }); - }); + bgel.style.filter = 'brightness(0.4)'; + bgel.style.transform = 'none'; + bgel.style.boxShadow = 'none'; + bgel.style.opacity = '1'; } } catch (e) { console.log('[mymovies] bg err', e); } if (!$('.mymovies-detail .full-start-new__buttons .full-start__button.selector').length) {