190 lines
3.5 KiB
CSS
190 lines
3.5 KiB
CSS
.checkIcon {
|
|
--size: 32px;
|
|
width: var(--size);
|
|
height: var(--size);
|
|
|
|
position: absolute;
|
|
top: -10px;
|
|
right: -10px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px solid var(--Border-Inverted);
|
|
border-radius: var(--Corner-Radius-Rounded);
|
|
background-color: var(--Surface-Feedback-Succes);
|
|
color: var(--Icon-Inverted);
|
|
}
|
|
|
|
.rateCard {
|
|
position: relative;
|
|
background-color: var(--Scandic-Grey-00);
|
|
border: 1px solid transparent;
|
|
border-radius: var(--Corner-Radius-md);
|
|
padding: 0;
|
|
}
|
|
|
|
.buttonOverlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
border-radius: var(--Corner-Radius-md);
|
|
z-index: 1;
|
|
cursor: pointer;
|
|
|
|
&:focus-visible {
|
|
outline: 2px solid var(--Border-Interactive-Focus);
|
|
}
|
|
}
|
|
.rateCard:hover {
|
|
background-color: var(--Scandic-Grey-10);
|
|
}
|
|
|
|
.rateCard.selected {
|
|
border-color: var(--Border-Interactive-Active);
|
|
}
|
|
|
|
.banner {
|
|
background-color: var(--Surface-Brand-Primary-1-OnSurface-Accent);
|
|
border-top-left-radius: var(--Corner-Radius-md);
|
|
border-top-right-radius: var(--Corner-Radius-md);
|
|
text-align: center;
|
|
color: var(--Text-Inverted);
|
|
padding: var(--Space-x05) var(--Space-x1);
|
|
text-transform: none;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x1);
|
|
padding: var(--Space-x1) var(--Space-x15) var(--Space-x15);
|
|
position: relative;
|
|
}
|
|
|
|
.container > * {
|
|
padding-bottom: var(--Space-x1);
|
|
border-bottom: 2px solid var(--Neutral-Opacity-Black-5);
|
|
}
|
|
|
|
.container > :last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--Space-x05);
|
|
}
|
|
|
|
.rateRow {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: var(--Space-x1);
|
|
|
|
&.strikeThroughRate {
|
|
grid-template-columns: 1fr;
|
|
justify-items: end;
|
|
text-decoration: line-through;
|
|
color: var(--Text-Secondary);
|
|
}
|
|
}
|
|
|
|
.highlightedRate {
|
|
color: var(--Scandic-Brand-Scandic-Red);
|
|
}
|
|
|
|
.textSecondary {
|
|
color: var(--Text-Secondary);
|
|
}
|
|
|
|
.textDisabled {
|
|
color: var(--Text-Interactive-Disabled);
|
|
}
|
|
|
|
.comparisonRate {
|
|
color: var(--Text-Secondary);
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.comparisonRate > p {
|
|
font-weight: var(--Font-weight-Regular);
|
|
}
|
|
|
|
.strikethrough {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.approximateRate {
|
|
color: var(--Text-Secondary);
|
|
padding-top: var(--Space-x05);
|
|
}
|
|
|
|
.variant-regular {
|
|
background-color: var(--Scandic-Grey-00);
|
|
}
|
|
|
|
.pointsRow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--Space-x05);
|
|
}
|
|
|
|
.notEnoughPoints {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
gap: var(--Space-x05);
|
|
}
|
|
|
|
.variant-campaign .banner {
|
|
background-color: var(--Surface-Feedback-Succes);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--Space-x05);
|
|
align-self: stretch;
|
|
}
|
|
|
|
.variant-campaign .rate {
|
|
color: var(--Scandic-Brand-Scandic-Red);
|
|
}
|
|
|
|
.variant-code .banner {
|
|
background-color: var(--Surface-Feedback-Information);
|
|
}
|
|
|
|
.variant-points .banner {
|
|
background-color: var(--Surface-Brand-Primary-1-OnSurface-Accent-Secondary);
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.filledIcon {
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--Scandic-Blue-70);
|
|
}
|
|
|
|
.noPricesAvailableContainer {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: var(--Space-x2) 0;
|
|
}
|
|
|
|
.noPricesAvailableText {
|
|
padding: var(--Space-x15) var(--Space-x3);
|
|
border-radius: var(--Corner-Radius-Rounded);
|
|
background-color: var(--Scandic-Beige-10);
|
|
}
|