X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/592c9401b18118e01de250d44878b9289b138f9c..190a12c5524f533a5fa74569575cccf22f745847:/src/wolnelektury/static/2022/more.scss diff --git a/src/wolnelektury/static/2022/more.scss b/src/wolnelektury/static/2022/more.scss index fcde582ef..dadf44990 100644 --- a/src/wolnelektury/static/2022/more.scss +++ b/src/wolnelektury/static/2022/more.scss @@ -1,3 +1,52 @@ +body.is-open { + height: 100%; + overflow-y: hidden; +} + +.l-change-pop { + margin-top: 18px; +} +.is-open .l-change-pop { + height: auto; + margin-top: 18px; + padding: 10px 50px; +} + +.l-navigation { + //opacity: .5; +} + +.l-navigation__logo { + height: 44px; +} + +.l-navigation__menu { + overflow-y: scroll; +} +.l-navigation__menu__book__info { + img { + width: 42px; + height: 60px; + } +} +.l-navigation__login { + color: #74BDC2; + margin-right: 20px; + + a { + color: white; + } +} +.l-navigation__actions { + position: relative; + height: 44px; + + .user { + margin-right: 25px; + } +} + + .l-books { margin-right: -17px; } @@ -19,3 +68,136 @@ 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; + } + } +} + + + +#user-menu { + //display: none; + + position:absolute; + top: 60px; + z-index: 1; + + position: absolute; + width: 186px; + top: 48px; + right: 45px; + + /* yellow 900 */ + background: #F7BA00; + box-shadow: 0px 0px 20px rgba(1, 129, 137, 0.2); + border-radius: 10px; + overflow: hidden; + + opacity:0; + pointer-events: none; + transition: 200ms opacity; + + &.is-open { + //display: block; + pointer-events: all; + opacity: 100%; + } + + ul { + margin: 0; + padding: 0; + list-style: none; + + li { + a { + color: #474747; + display: block; + line-height: 27px; + padding: 8px 21px; + &:hover { + color: #474747; + background: #EDAA00; + } + + strong { + font-weight: 600; + } + } + } + } +}