2021-10-20 22:05:31 +00:00
|
|
|
* {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-container {
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
background-color: #ffffff;
|
|
|
|
opacity: 100%;
|
2022-01-12 20:38:29 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2021-10-20 22:05:31 +00:00
|
|
|
}
|
|
|
|
|
2022-01-12 20:38:29 +00:00
|
|
|
button {
|
2021-10-20 22:05:31 +00:00
|
|
|
padding: 20px;
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: #0e79dd;
|
|
|
|
border: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2021-10-21 19:21:32 +00:00
|
|
|
.popup-modal {
|
2022-01-12 20:38:29 +00:00
|
|
|
padding: 32px 64px;
|
2021-10-20 22:05:31 +00:00
|
|
|
background-color: white;
|
|
|
|
border: 1px solid black;
|
|
|
|
border-radius: 10px;
|
2022-01-12 20:38:29 +00:00
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform-origin: center;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-07-17 15:41:08 +00:00
|
|
|
|
2022-01-12 20:38:29 +00:00
|
|
|
.popup-modal p {
|
2023-07-17 15:41:08 +00:00
|
|
|
margin-bottom: 24px;
|
2021-10-20 22:05:31 +00:00
|
|
|
}
|
|
|
|
|
2022-01-12 20:38:29 +00:00
|
|
|
.backdrop {
|
|
|
|
pointer-events: none;
|
|
|
|
position: fixed;
|
|
|
|
inset: 0;
|
|
|
|
background: #000;
|
|
|
|
opacity: 0%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-modal.show {
|
|
|
|
opacity: 100%;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.backdrop.show {
|
|
|
|
opacity: 30%;
|
2021-10-20 22:05:31 +00:00
|
|
|
}
|
2022-01-12 20:38:29 +00:00
|
|
|
|
|
|
|
/* SOLUTION */
|
|
|
|
|
|
|
|
.popup-modal {
|
2023-07-17 15:41:08 +00:00
|
|
|
transition: transform 0.3s ease-in-out, opacity 0.4s ease;
|
2022-01-12 20:38:29 +00:00
|
|
|
transform: translate(-50%, -100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-modal.show {
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|