X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/69b3160d482d2bf4ce89b5a4368e7435cef85fc0..9183ed20f00dfced56f0223a854ab7aa5dd5fc0c:/src/wolnelektury/static/2022/styles/layout/_checkout.scss diff --git a/src/wolnelektury/static/2022/styles/layout/_checkout.scss b/src/wolnelektury/static/2022/styles/layout/_checkout.scss index 593794b5b..6bc86d008 100644 --- a/src/wolnelektury/static/2022/styles/layout/_checkout.scss +++ b/src/wolnelektury/static/2022/styles/layout/_checkout.scss @@ -67,10 +67,13 @@ display: flex; background: #083F4D; - img { + .l-checkout__box__header__img { display: none; + background-position: center; + background-size: cover; @include rwd($break-flow) { display: block; + width: 50%; } } } @@ -330,12 +333,9 @@ } } .l-checkout__payments__box__btn-wrp { - padding: 0 20px 20px 20px; + padding: 20px; margin-bottom: 0; margin-top: auto; - @include rwd($break-flow) { - padding-top: 20px; - } } p { margin-top: 0; @@ -349,26 +349,39 @@ } } button { - height: 56px; + margin: 0; + font-family: "Source Sans Pro",sans-serif; + font-weight: bold; + font-size: 44px; + letter-spacing: -0.01em; + height: 90px; + display: flex; + align-items: center; + justify-content: center; + transition: all $ease-out 250ms; + background: #FFFFFF; border: 1px solid #92BD39; border-radius: 3px; width: 100%; outline: 0; cursor: pointer; - font-weight: 600; - font-size: 16px; - line-height: 24px; - display: flex; - align-items: center; - justify-content: center; text-align: center; color: #083F4D; - transition: background $ease-out 250ms; + flex-direction: column; @include rwd($break-flow) { - font-size: 20px; - line-height: 25px; + flex-direction: row; + line-height: 130%; + } + + span { + font-weight: 600; + font-size: 25px; + letter-spacing: -0.01em; + color: #92BD39; + margin-left: 10px; + transition: opacity $ease-out 250ms; } &:hover { @@ -397,6 +410,9 @@ &:hover { background: #83AD2B; } + span { + color: white; + } } } @@ -1046,3 +1062,23 @@ } } } + + +.if-monthly { display: none; } +.is-monthly { + .if-monthly { + display: block; + } + .if-not-monthly { + display: none; + } +} + + +.checkout-infobar { + margin: 0 0 20px; + padding: 20px; + border-radius: 10px; + border: 1px solid #edc016; + background: #edc016; +}