From: Radek Czajka Date: Mon, 24 May 2021 09:04:19 +0000 (+0200) Subject: eink fixes X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/05901815616a29900729502d346b1eed8d9ae923?ds=sidebyside eink fixes --- diff --git a/src/wolnelektury/static/js/base.js b/src/wolnelektury/static/js/base.js index 2c2daa5f4..8502d6272 100644 --- a/src/wolnelektury/static/js/base.js +++ b/src/wolnelektury/static/js/base.js @@ -74,6 +74,8 @@ $("iframe", this).attr("src", $("iframe", this).attr('data-src')); }); + $(".media-eink .carousel").cycle({fx: "none"}); + (function() { var $current = null; diff --git a/src/wolnelektury/static/scss/eink.scss b/src/wolnelektury/static/scss/eink.scss index 50ffcfeac..713f2291d 100644 --- a/src/wolnelektury/static/scss/eink.scss +++ b/src/wolnelektury/static/scss/eink.scss @@ -135,6 +135,13 @@ border: 3px solid black; } + .annoy-banner-on_blackout { + display: none !important; + } + .annoy-banner_blackout { + display: none !important; + } + }