feat(SW-3581): Set price colors to scandic red * Set price colors to scandic red * Remove comment Approved-by: Bianca Widstam Approved-by: Joakim Jäderberg
109 lines
2.0 KiB
CSS
109 lines
2.0 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-rows: 0fr auto;
|
|
transition: all 0.5s ease-in-out;
|
|
border-top: 1px solid var(--Base-Border-Subtle);
|
|
background: var(--Base-Surface-Primary-light-Normal);
|
|
align-content: end;
|
|
z-index: var(--default-modal-z-index);
|
|
|
|
&[data-open="true"] {
|
|
grid-template-rows: 1fr auto;
|
|
|
|
.bottomSheet {
|
|
grid-template-columns: 0fr auto;
|
|
}
|
|
|
|
.priceDetailsButton {
|
|
opacity: 0;
|
|
height: 0;
|
|
}
|
|
}
|
|
|
|
&[data-open="false"] .priceDetailsButton {
|
|
opacity: 1;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
.signupPromoWrapper {
|
|
position: relative;
|
|
z-index: var(--default-modal-z-index);
|
|
}
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--Overlay-40);
|
|
z-index: var(--default-modal-overlay-z-index);
|
|
}
|
|
|
|
.bottomSheet {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
padding: var(--Space-x2) var(--Space-x3) var(--Space-x5);
|
|
align-items: flex-start;
|
|
transition: all 0.5s ease-in-out;
|
|
width: 100vw;
|
|
}
|
|
|
|
.priceDetailsButton {
|
|
border-width: 0;
|
|
background-color: transparent;
|
|
text-align: start;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
display: grid;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
.content {
|
|
max-height: 50dvh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.summaryAccordion {
|
|
background-color: var(--Main-Grey-White);
|
|
border-color: var(--Primary-Light-On-Surface-Divider-subtle);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-bottom: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
.priceLabel {
|
|
color: var(--Text-Default);
|
|
}
|
|
|
|
.price {
|
|
color: var(--Text-Default);
|
|
|
|
&.discounted {
|
|
color: var(--Scandic-Brand-Scandic-Red);
|
|
}
|
|
}
|
|
|
|
.strikeThroughRate {
|
|
text-decoration: line-through;
|
|
color: var(--Text-Secondary);
|
|
}
|
|
|
|
.seeDetails {
|
|
margin-top: var(--Space-x15);
|
|
display: flex;
|
|
gap: var(--Space-x1);
|
|
align-items: center;
|
|
color: var(--Component-Button-Brand-Secondary-On-fill-Default);
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.bottomSheet {
|
|
padding: var(--Space-x2) 0 var(--Space-x7);
|
|
}
|
|
}
|