Paypal fix
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / components / _media.scss
index 6b15f80..714638e 100644 (file)
   }
 }
 
-.c-media__popup {
-  position: fixed;
-  z-index: 10;
-  top: 0;
-  left: 0;
-  height: 100%;
-  align-items: flex-start;
-  justify-content: center;
-  background-color: rgba($color-black, 0.35);
-  display: none;
-  overflow-y: scroll;
-  padding: 10vh 16px 10px 10px;
-  width: 100%;
-
-  @include rwd($break-flow) {
-      padding: 10vh 40px 40px 40px;
-  }
-  
-  &.is-open {
-    display: flex;
-  }
-}
-
 .c-media__popup__box {
-  background-color: #fff;
-  position: relative;
-  border-radius: 10px;
-  overflow: hidden;
+    padding: 0;
+    border: 0;
+    background: none;
+    border-radius: 10px;
 
-  @include rwd($break-flow) {
-      min-width: 640px;
-  }
+    @include rwd($break-flow) {
+        min-width: 640px;
+    }
+
+    &::backdrop {
+        background-color: rgba($color-black, 0.35);
+    }
 }
 
 .c-media__popup__box__lead {
 }
 
 .c-media__popup__box__items {
+    background: white;
     padding: 16px;
   @include rwd($break-flow) {
       padding: 40px;
 }
 
 .c-media__popup__close {
+    --focus-ring: #fff;
   position: absolute;
   padding: 0;
   border: 0;