chore: update loyalty level table
This commit is contained in:
committed by
Michael Zetterberg
parent
469f97dee5
commit
81c7a60eff
@@ -17,6 +17,11 @@
|
|||||||
fill: var(--UI-Grey-80);
|
fill: var(--UI-Grey-80);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.green,
|
||||||
|
.green * {
|
||||||
|
fill: var(--UI-Green-60);
|
||||||
|
}
|
||||||
|
|
||||||
.pale,
|
.pale,
|
||||||
.pale * {
|
.pale * {
|
||||||
fill: var(--Scandic-Brand-Pale-Peach);
|
fill: var(--Scandic-Brand-Pale-Peach);
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ const config = {
|
|||||||
peach80: styles.peach80,
|
peach80: styles.peach80,
|
||||||
primaryLightOnSurfaceAccent: styles.plosa,
|
primaryLightOnSurfaceAccent: styles.plosa,
|
||||||
red: styles.red,
|
red: styles.red,
|
||||||
|
green: styles.green,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
defaultVariants: {
|
defaultVariants: {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.benefitCard {
|
.benefitCard {
|
||||||
background-color: var(--Main-Grey-White);
|
background-color: var(--Scandic-Opacity-White-100);
|
||||||
border: 1px solid var(--Base-Border-Subtle);
|
border: 1px solid var(--Base-Border-Subtle);
|
||||||
border-radius: var(--Corner-radius-Small);
|
border-radius: var(--Corner-radius-Small);
|
||||||
color: var(--Main-Brand-Burgundy);
|
color: var(--Main-Brand-Burgundy);
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.firstColumn {
|
.firstColumn {
|
||||||
background-color: var(--Main-Brand-PalePeach);
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export default function BenefitValue({ benefit }: BenefitValueProps) {
|
|||||||
return <Minus />
|
return <Minus />
|
||||||
}
|
}
|
||||||
if (!benefit.value) {
|
if (!benefit.value) {
|
||||||
return <CheckCircle height={32} width={32} />
|
return <CheckCircle height={32} width={32} color="green" />
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div className={styles.benefitValueContainer}>
|
<div className={styles.benefitValueContainer}>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import {
|
|||||||
export default function LargeTable({ levels }: LargeTableProps) {
|
export default function LargeTable({ levels }: LargeTableProps) {
|
||||||
return (
|
return (
|
||||||
<table className={styles.table}>
|
<table className={styles.table}>
|
||||||
<thead className={styles.thead}>
|
<thead>
|
||||||
<tr className={styles.iconRow}>
|
<tr className={styles.iconRow}>
|
||||||
<th className={styles.verticalTableHeader} />
|
<th className={styles.verticalTableHeader} />
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,7 @@
|
|||||||
color: var(--Theme-Primary-Dark-Surface-Normal);
|
color: var(--Theme-Primary-Dark-Surface-Normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.thead {
|
|
||||||
background-color: var(--Base-Surface-Secondary-Normal);
|
|
||||||
}
|
|
||||||
|
|
||||||
.iconRow {
|
.iconRow {
|
||||||
background-color: var(--Base-Surface-Secondary-Normal);
|
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -41,10 +36,6 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr:nth-child(odd) {
|
|
||||||
background-color: var(--Base-Background-Primary-Elevated, #faf6f2);
|
|
||||||
}
|
|
||||||
|
|
||||||
.benefitTh {
|
.benefitTh {
|
||||||
border: 1px solid var(--Base-Border-Subtle);
|
border: 1px solid var(--Base-Border-Subtle);
|
||||||
padding: var(--Spacing-x3) var(--Spacing-x2);
|
padding: var(--Spacing-x3) var(--Spacing-x2);
|
||||||
|
|||||||
@@ -264,7 +264,7 @@
|
|||||||
"name": "Friendship boost",
|
"name": "Friendship boost",
|
||||||
"description": "Now here’s something pretty sweet: every time you get a boost of friendship points, you get 25% extra – a boost on the boost! So you know, start racking up those points on stays, meals and more and you’ll get a free night in no time. Get the full scoop <a href=''>here</a>.",
|
"description": "Now here’s something pretty sweet: every time you get a boost of friendship points, you get 25% extra – a boost on the boost! So you know, start racking up those points on stays, meals and more and you’ll get a free night in no time. Get the full scoop <a href=''>here</a>.",
|
||||||
"unlocked": true,
|
"unlocked": true,
|
||||||
"value": "25%"
|
"value": "+25%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Early check-in when available",
|
"name": "Early check-in when available",
|
||||||
@@ -341,7 +341,7 @@
|
|||||||
"name": "Friendship boost",
|
"name": "Friendship boost",
|
||||||
"description": "Now here’s something pretty sweet: every time you get a boost of friendship points, you get 25% extra – a boost on the boost! So you know, start racking up those points on stays, meals and more and you’ll get a free night in no time. Get the full scoop <a href=''>here</a>.",
|
"description": "Now here’s something pretty sweet: every time you get a boost of friendship points, you get 25% extra – a boost on the boost! So you know, start racking up those points on stays, meals and more and you’ll get a free night in no time. Get the full scoop <a href=''>here</a>.",
|
||||||
"unlocked": true,
|
"unlocked": true,
|
||||||
"value": "25%"
|
"value": "+25%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Early check-in when available",
|
"name": "Early check-in when available",
|
||||||
@@ -418,7 +418,7 @@
|
|||||||
"name": "Friendship boost",
|
"name": "Friendship boost",
|
||||||
"description": "Oh, you’re in for a treat. Every time you get a boost of friendship points, you get 50% extra – a boost on the boost! So you know, start racking up those points on stays, meals and more and you’ll get a free night in no time. Get the full scoop <a href=''>here</a>.",
|
"description": "Oh, you’re in for a treat. Every time you get a boost of friendship points, you get 50% extra – a boost on the boost! So you know, start racking up those points on stays, meals and more and you’ll get a free night in no time. Get the full scoop <a href=''>here</a>.",
|
||||||
"unlocked": true,
|
"unlocked": true,
|
||||||
"value": "50%"
|
"value": "+50%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Early check-in when available",
|
"name": "Early check-in when available",
|
||||||
@@ -495,7 +495,7 @@
|
|||||||
"name": "Friendship boost",
|
"name": "Friendship boost",
|
||||||
"description": "Oh, you’re in for a treat. Every time you get a boost of friendship points, you get 50% extra – a boost on the boost! So you know, start racking up those points on stays, meals and more and you’ll get a free night in no time. Get the full scoop <a href=''>here</a>.",
|
"description": "Oh, you’re in for a treat. Every time you get a boost of friendship points, you get 50% extra – a boost on the boost! So you know, start racking up those points on stays, meals and more and you’ll get a free night in no time. Get the full scoop <a href=''>here</a>.",
|
||||||
"unlocked": true,
|
"unlocked": true,
|
||||||
"value": "50%"
|
"value": "+50%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Early check-in when available",
|
"name": "Early check-in when available",
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
.container {
|
.container {
|
||||||
background-color: var(--Main-Brand-PalePeach);
|
|
||||||
margin-top: calc(var(--Spacing-x2) * -1);
|
margin-top: calc(var(--Spacing-x2) * -1);
|
||||||
margin-left: calc(var(--Spacing-x2) * -1);
|
margin-left: calc(var(--Spacing-x2) * -1);
|
||||||
margin-right: calc(var(--Spacing-x2) * -1);
|
margin-right: calc(var(--Spacing-x2) * -1);
|
||||||
|
|||||||
Reference in New Issue
Block a user