71 lines
1.1 KiB
CSS
71 lines
1.1 KiB
CSS
.overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: var(--visual-viewport-height);
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
|
|
&[data-entering] {
|
|
animation: modal-fade 200ms;
|
|
}
|
|
|
|
&[data-exiting] {
|
|
animation: modal-fade 150ms reverse ease-in;
|
|
}
|
|
}
|
|
|
|
.modal section {
|
|
background: var(--Main-Grey-White);
|
|
border-radius: var(--Corner-radius-Medium);
|
|
padding: var(--Spacing-x4);
|
|
padding-bottom: var(--Spacing-x6);
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x3);
|
|
font-family: var(--typography-Body-Regular-fontFamily);
|
|
}
|
|
|
|
.title {
|
|
font-family: var(--typography-Subtitle-1-fontFamily);
|
|
text-align: center;
|
|
margin: 0;
|
|
padding-bottom: var(--Spacing-x1);
|
|
}
|
|
|
|
.bodyText {
|
|
text-align: center;
|
|
max-width: 425px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.buttonContainer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: var(--Spacing-x2);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.buttonContainer button {
|
|
flex-grow: 1;
|
|
justify-content: center;
|
|
}
|
|
|
|
@keyframes modal-fade {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|