X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/55d94d75dff5d3a30dd0cce7554e68d23627376d..d00a4bcb2ee6a3ec0c65600b854a86524dfa4d4b:/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 636580a1a..135c65310 100644 --- a/src/wolnelektury/static/2022/styles/layout/_checkout.scss +++ b/src/wolnelektury/static/2022/styles/layout/_checkout.scss @@ -64,49 +64,71 @@ } .l-checkout__box__header { - display: flex; + display: flex; + flex-direction: column; background: #083F4D; - img { + @include rwd($break-flow) { + flex-direction: row; + } + + .l-checkout__box__header__img { display: none; + background: black; + background-position: center; + background-size: cover; @include rwd($break-flow) { display: block; + width: 50%; } - } -} -.l-checkout__box__header__content h1 { - font-style: italic; - font-weight: 300; - font-size: 48px; - line-height: 55px; - letter-spacing: -0.02em; - color: #92BD39; - margin: 0; + &.l-checkout__box__header__real { + display: block; + width: auto; + + video { + height: 200px; + width: 100%; + display: block; + @include rwd($break-flow) { + height: 360px; + width: auto; + } + } + } + } } -.l-checkout__box__header__content p:first-of-type { - font-style: normal; - font-weight: 600; - font-size: 21.5px; - line-height: 140%; - letter-spacing: -0.01em; - color: #FFFFFF; - margin-top: 23px; -} +.l-checkout__box__header__content { + color: white; + padding: 32px 45px; + + h1 { + font-style: italic; + font-weight: 300; + font-size: 48px; + line-height: 55px; + letter-spacing: -0.02em; + color: #92BD39; + margin: 0; + } -.l-checkout__box__header__content p { - font-weight: normal; - font-size: 18px; - line-height: 150%; - color: #FFFFFF; - margin-top: 8px; - max-width: 410px; + p { + font-weight: normal; + font-size: 18px; + line-height: 150%; + margin-top: 8px; + + &:first-of-type { + font-weight: 600; + font-size: 21.5px; + line-height: 140%; + letter-spacing: -0.01em; + margin-top: 23px; + } + } } -.l-checkout__box__header__content { - padding: 32px 45px; -} //Steps .l-checkout__steps { @@ -330,12 +352,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; @@ -353,9 +372,8 @@ font-family: "Source Sans Pro",sans-serif; font-weight: bold; font-size: 44px; - line-height: 130%; letter-spacing: -0.01em; - height: 90px; + min-height: 90px; display: flex; align-items: center; justify-content: center; @@ -370,10 +388,15 @@ text-align: center; color: #083F4D; + flex-direction: column; + @include rwd($break-flow) { + flex-direction: row; + line-height: 130%; + } + span { font-weight: 600; font-size: 25px; - line-height: 200%; letter-spacing: -0.01em; color: #92BD39; margin-left: 10px; @@ -697,13 +720,6 @@ flex-direction: row; } - &:nth-child(4) { - .l-checkout__input { - &:nth-child(1) { width: 172px; } - &:nth-child(2) { width: calc(100% - 172px); } - } - } - &.full { flex-direction: column; @include rwd($break-flow) { @@ -1069,3 +1085,17 @@ display: none; } } + + +.checkout-infobar { + margin: 0 0 20px; + padding: 20px; + border-radius: 10px; + border: 1px solid #edc016; + background: #edc016; +} + + +.donation-more { + margin-bottom:40px; +}