X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d019a9b5e928dcf777852d0c8d5413fd3d69b4dd..165161a173154072eb7b999386a13562e110bd0a:/src/wolnelektury/static/2022/more.scss?ds=inline diff --git a/src/wolnelektury/static/2022/more.scss b/src/wolnelektury/static/2022/more.scss index 604c24d38..8e50810cc 100644 --- a/src/wolnelektury/static/2022/more.scss +++ b/src/wolnelektury/static/2022/more.scss @@ -1,3 +1,100 @@ +.l-books { + margin-right: -17px; +} +.l-books__grid { + margin-right: -17px; +} + .l-books__item { width: 212px; + + margin-right: 17px !important; // reverse the 5n+5 rule. + + transition: opacity .1s, all cubic-bezier(0.25, 1, 0.5, 1) 350ms; +} + + +.by-popularity { + .l-books__item { + order: attr(data-pop); + } +} + + + +.toggle-input { + left: calc(50% - 77px/2); + opacity: 0; + position: absolute; + //top: 0; + height: 26px; + width: 77px; + z-index: 2; + + &:checked { + z-index: 0; + } +} + + +.l-checkout__payments { + display: none; +} +.toggle-input{ + &#switch-once:checked { + ~.l-switch__wrapper { + label { + &:nth-of-type(1) { color: #003C3C; } + &:nth-of-type(2) { color: #74BDC2; } + } + .toggle { + left: 5px; + } + } + ~.payments-once { + display: flex; + } + } + &#switch-monthly:checked { + ~.l-switch__wrapper { + label { + &:nth-of-type(1) { color: #74BDC2; } + &:nth-of-type(2) { color: #003C3C; } + } + .toggle { + left: 39px; + } + } + ~.payments-recurring { + display: flex; + } + } +} + + + +.l-checkout__form__row { + .iframe { + margin-bottom: 16px; + } +} + + + +.l-books__item__content { + width: 100%; + + .fragment-text { + max-width: 390px; + margin-top: 20px; + font-weight: 400; + font-size: 18px; + font-size: 1.125rem; + line-height: 150%; + color: #474747; + + h1, h2, h3, h4 { + font-size: 1em; + } + } }