51 lines
944 B
CSS
51 lines
944 B
CSS
.modalCustom {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 9000;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: rgb(0, 0, 0);
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
opacity: 0;
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
|
|
.modalCustom.show {
|
|
display: block;
|
|
opacity: 1;
|
|
}
|
|
|
|
.modal-custom-content {
|
|
background-color: #fefefe;
|
|
padding: 20px;
|
|
width: 40%;
|
|
transition: transform 0.3s ease-in-out;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
/*.modalCustom.show .modal-custom-content {
|
|
transform: scale(1);
|
|
}
|
|
*/
|
|
/* Close button */
|
|
.close-custom {
|
|
color: #aaa;
|
|
float: right;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.close-custom:hover,
|
|
.close-custom:focus {
|
|
color: black;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
} |