Created
February 15, 2022 18:16
-
-
Save bran-deb/b5a464d2e91007d85a386360611d9a77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Modal */ | |
.ReactModalPortal > div{ | |
opacity: 0; | |
} | |
.ReactModalPortal .ReactModal__Overlay { | |
align-items: center; | |
display: flex; | |
justify-content: center; | |
transition: opacity .2s ease-in-out; | |
z-index: 999; | |
} | |
.modal-fondo { | |
background-color: rgba(0, 0, 0, 0.3); | |
bottom: 0; | |
left: 0; | |
right: 0; | |
top: 0; | |
position: fixed; | |
} | |
.ReactModalPortal .ReactModal__Overlay--after-open { | |
opacity: 1; | |
} | |
.ReactModalPortal .ReactModal__Overlay--before-close { | |
opacity: 0; | |
} | |
.modal { | |
background: white; | |
border-radius: 5px; | |
color: rgb(51, 51, 51); | |
display: inline; | |
max-height: 620px; | |
max-width: 500px; | |
outline: none; | |
padding: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment