fix(SW-3698): Fix point price color in rate summary * Fix point price color in rate summary Approved-by: Bianca Widstam
140 lines
2.0 KiB
CSS
140 lines
2.0 KiB
CSS
@keyframes slideUp {
|
|
0% {
|
|
bottom: -100%;
|
|
}
|
|
|
|
100% {
|
|
bottom: 0%;
|
|
}
|
|
}
|
|
|
|
.summary {
|
|
align-items: center;
|
|
animation: slideUp 300ms ease forwards;
|
|
background-color: var(--Base-Surface-Primary-light-Normal);
|
|
border-top: 1px solid var(--Base-Border-Subtle);
|
|
bottom: -100%;
|
|
left: 0;
|
|
position: fixed;
|
|
right: 0;
|
|
z-index: 99;
|
|
}
|
|
|
|
.content {
|
|
display: none;
|
|
}
|
|
|
|
.summaryPriceContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Space-x4);
|
|
padding-top: var(--Space-x2);
|
|
width: 100%;
|
|
}
|
|
|
|
.promoContainer {
|
|
display: none;
|
|
max-width: 264px;
|
|
}
|
|
|
|
.alignRight {
|
|
text-align: right;
|
|
}
|
|
|
|
.regularPrice {
|
|
color: var(--Text-Secondary);
|
|
text-decoration: line-through;
|
|
text-align: right;
|
|
}
|
|
|
|
.red {
|
|
color: var(--Scandic-Red-Default);
|
|
}
|
|
|
|
.summaryPrice {
|
|
align-self: center;
|
|
display: flex;
|
|
width: 100%;
|
|
gap: var(--Space-x4);
|
|
}
|
|
.approxPrice {
|
|
color: var(--UI-Text-Medium-contrast);
|
|
}
|
|
|
|
.petInfo {
|
|
border-left: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
padding-left: var(--Space-x2);
|
|
display: none;
|
|
}
|
|
|
|
.summaryText {
|
|
display: none;
|
|
}
|
|
|
|
.summaryPriceTextDesktop {
|
|
align-self: center;
|
|
display: none;
|
|
}
|
|
|
|
.continueButton {
|
|
margin-left: auto;
|
|
height: fit-content;
|
|
width: 100%;
|
|
min-width: 140px;
|
|
}
|
|
|
|
.mobileSummary {
|
|
display: block;
|
|
}
|
|
|
|
.placeholderText {
|
|
color: var(--Text-Tertiary);
|
|
}
|
|
|
|
.secondaryText {
|
|
color: var(--Text-Secondary);
|
|
}
|
|
|
|
@media (min-width: 1367px) {
|
|
.summary {
|
|
border-top: 1px solid var(--Base-Border-Subtle);
|
|
padding: var(--Space-x3) 0 var(--Space-x5);
|
|
}
|
|
|
|
.content {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
margin: 0 auto;
|
|
max-width: var(--max-width-page);
|
|
width: 100%;
|
|
}
|
|
|
|
.petInfo,
|
|
.promoContainer,
|
|
.summaryPriceTextDesktop {
|
|
display: block;
|
|
}
|
|
|
|
.summaryText {
|
|
display: flex;
|
|
gap: var(--Space-x2);
|
|
}
|
|
|
|
.summaryPrice,
|
|
.continueButton {
|
|
width: auto;
|
|
}
|
|
|
|
.summaryPriceContainer {
|
|
width: auto;
|
|
padding: 0;
|
|
align-items: center;
|
|
}
|
|
|
|
.mobileSummary {
|
|
display: none;
|
|
}
|
|
}
|