chore(BOOK-739): replace caption with typography * chore(BOOK-739): replace caption with typography * chore(BOOK-739): refactor div * chore(BOOK-739): refactor badge * chore(BOOK-739): remove span * chore(BOOK-739): skeleton update * chore(BOOK-739): update * chore(BOOK-739): update reward * chore(BOOK-739): update voucher currency Approved-by: Erik Tiekstra
118 lines
1.8 KiB
CSS
118 lines
1.8 KiB
CSS
@keyframes modal-fade {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slide-up {
|
|
from {
|
|
transform: translateY(100%);
|
|
}
|
|
|
|
to {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 100;
|
|
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
|
|
background: var(--Overlay-60);
|
|
height: var(--visual-viewport-height);
|
|
|
|
&[data-entering] {
|
|
animation: modal-fade 200ms;
|
|
}
|
|
|
|
&[data-exiting] {
|
|
animation: modal-fade 150ms reverse ease-in;
|
|
}
|
|
}
|
|
|
|
.modal {
|
|
&[data-entering] {
|
|
animation: slide-up 200ms;
|
|
}
|
|
&[data-exiting] {
|
|
animation: slide-up 200ms reverse ease-in-out;
|
|
}
|
|
}
|
|
|
|
.dialog {
|
|
background-color: var(--Scandic-Brand-Pale-Peach);
|
|
border-top-left-radius: var(--Corner-radius-md);
|
|
border-top-right-radius: var(--Corner-radius-md);
|
|
|
|
box-shadow: var(--modal-box-shadow);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x4);
|
|
padding: var(--Space-x5) var(--Space-x4);
|
|
width: 100dvw;
|
|
}
|
|
|
|
.prevPrice {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x2);
|
|
}
|
|
|
|
.titleContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--Space-x1);
|
|
color: var(--Text-Heading);
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
justify-content: center;
|
|
gap: var(--Space-x2);
|
|
}
|
|
|
|
.modal .prices {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--Space-x05);
|
|
padding-top: var(--Space-x05);
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.overlay {
|
|
align-items: center;
|
|
}
|
|
|
|
.dialog {
|
|
border-radius: var(--Corner-radius-md);
|
|
padding: var(--Space-x6);
|
|
width: fit-content;
|
|
}
|
|
|
|
.content {
|
|
width: 512px;
|
|
}
|
|
|
|
.footer {
|
|
flex-direction: row;
|
|
}
|
|
}
|