X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891c65c58eef499c1ffc3a5fe690e1b6bff0f0db..b0fadf2591f3af957c1c8e0307d0bcef9e9f8538:/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 5266a7230..26203f5d7 100644 --- a/src/wolnelektury/static/2022/styles/layout/_checkout.scss +++ b/src/wolnelektury/static/2022/styles/layout/_checkout.scss @@ -231,12 +231,17 @@ //Payments .l-checkout__payments { - display: flex; + display: none; padding: 0 30px; margin-top: 34px; margin-bottom: 0; flex-wrap: wrap; justify-content: flex-start; + flex-direction: column; + + @include rwd($break-flow) { + flex-direction: row; + } } .l-checkout__payments__box { @@ -791,3 +796,38 @@ } } } + + + + + +.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; + } + } +}