fixes
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / layout / _checkout.scss
index 89b97f1..870da23 100644 (file)
   align-items: center;
   justify-content: center;
   margin-top: 35px;
+  width: 100%;
 }
 
 .l-switch {
 }
 
 .l-switch label {
-  color: #fff;
+  color: #74BDC2;
   font-weight: 600;
   font-size: 18.5px;
   line-height: 26px;
   z-index: 2;
 }
 
+.toggle-input-left:checked ~ .l-switch__wrapper {
+    .toggle-for-left {
+        color: #003C3C;
+    }
+    .toggle {
+        left: 5px;
+    }
+}
+.toggle-input-right:checked ~ .l-switch__wrapper {
+    .toggle-for-right {
+        color: #003C3C;
+    }
+    .toggle {
+        left: 39px;
+    }
+}
 .l-switch input:checked~label:nth-of-type(1) { color: #003C3C; }
-.l-switch input:checked~label:nth-of-type(2) { color: #74BDC2; }
-
-.l-switch input~:checked~label:nth-of-type(1) { color: #74BDC2; }
 .l-switch input~:checked~label:nth-of-type(2) { color: #003C3C; }
 
 .l-switch input:checked~.toggle {
   }
 }
 
+
+
 //Input
 .l-checkout__input {
   display: flex;
         }
         ~.payments-once {
             display: flex;
+
+            &.wide-spot-1 ~.l-checkout__amount {
+                @include rwd($break-flow) {
+                    margin-top: -110px;
+
+                    > div, > button {
+                        width: calc(33.333% - 20px);
+                    }
+                }
+            }
+            &.wide-spot-2 ~.l-checkout__amount {
+                @include rwd($break-flow) {
+                    flex-direction: column;
+                    margin-top: -182px;
+
+                    > div, > button {
+                        width: calc(33.333% - 20px);
+                    }
+                }
+            }
         }
     }
     &#switch-monthly:checked {
         }
         ~.payments-recurring {
             display: flex;
+
+            &.wide-spot-1 ~.l-checkout__amount {
+                @include rwd($break-flow) {
+                    margin-top: -110px;
+
+                    > div, > button {
+                        width: calc(33.333% - 20px);
+                        margin-left: 24px;
+                    }
+                }
+            }
+            &.wide-spot-2 ~.l-checkout__amount {
+                @include rwd($break-flow) {
+                    flex-direction: column;
+                    margin-top: -182px;
+
+                    > div, > button {
+                        width: calc(33.333% - 20px);
+                    }
+                }
+            }
         }
     }
 }