X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/50aec69a46276ec94d7d4d2ab3c59bc383d07a2c..48a6d2ddc3e5ce215beddd6369f01598651ad216:/src/wolnelektury/static/2022/styles/layout/_annoy.scss?ds=sidebyside diff --git a/src/wolnelektury/static/2022/styles/layout/_annoy.scss b/src/wolnelektury/static/2022/styles/layout/_annoy.scss new file mode 100644 index 000000000..432ee4d0c --- /dev/null +++ b/src/wolnelektury/static/2022/styles/layout/_annoy.scss @@ -0,0 +1,73 @@ +.annnoy-banner-on { + display: none; +} + +.annoy-banner_blackout { + //display: flex; + display: none; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 9999; + background: linear-gradient(180deg, rgba(0,0,0,1) 90%, rgba(0,0, 0,.5) 100%); + + .annoy-banner-inner { + overflow-y: auto; + padding: 0 0 30px 0; + display: flex; + flex-direction: column; + gap: 40px; + } + .annoy-banner_actions { + display: flex; + flex-direction: column; + gap: 40px; + } + .annoy-banner_img { + flex: 1; + text-align: center; + img { + max-height: 100%; + max-width: 100%; + } + } + .text { + display: flex; + padding: 6px 30px; + flex: 1; + gap: 40px; + flex-direction: column; + color: white; + p { + font-size: 24px; + } + } + .action { + font-size: 1.6rem !important; + } + .annoy-banner-off { + font-size: 1.2rem !important; + } + + @include rwd($break-flow) { + .annoy-banner-inner { + padding: 0; + margin: 10vh 10vw 20vh 10vw; + flex-direction: row; + overflow-y: unset; + + .text { + padding: 0 20px 0 0; + overflow-y: auto; + } + } + .action { + + } + .annoy-banner-off { + + } + } +}