feat: add initial version of Loyalty Overview Table
This commit is contained in:
@@ -0,0 +1,157 @@
|
||||
.container {
|
||||
background-color: var(--Main-Brand-PalePeach);
|
||||
}
|
||||
|
||||
.title {
|
||||
font-family: var(--typography-Title1-Desktop-fontFamily), inherit;
|
||||
}
|
||||
|
||||
.preamble {
|
||||
color: var(--Base-Text-Primary-High-contrast);
|
||||
font-size: var(--typography-Body-Regular-fontSize);
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
.columns {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.6rem;
|
||||
padding: 1.6rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.columnHeaderContainer {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1.6rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.columnHeader {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.6rem;
|
||||
}
|
||||
|
||||
.selectContainer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.selectLabel {
|
||||
color: var(--Base-Text-UI-Placeholder);
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
left: 1.6rem;
|
||||
}
|
||||
|
||||
.select {
|
||||
appearance: none;
|
||||
border: 1px solid var(--Base-Input-Controls-Border-Normal, #b8a79a);
|
||||
border-radius: 8px;
|
||||
padding: 1.6rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.selectChevron {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
right: 1.6rem;
|
||||
bottom: 1.6rem;
|
||||
}
|
||||
|
||||
.leftColumn {
|
||||
background-color: var(--Main-Brand-PalePeach);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 50%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.rightColumn {
|
||||
background-color: var(--Base-Background-Normal);
|
||||
position: absolute;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
border-top-left-radius: 8px;
|
||||
}
|
||||
|
||||
.levelSummary {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1.6rem;
|
||||
}
|
||||
|
||||
.levelRequirements {
|
||||
background-color: var(--Main-Brand-Burgundy);
|
||||
border-radius: 8px;
|
||||
color: #f7e1d5;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.levelSummaryText {
|
||||
color: var(--Main-Brand-Burgundy);
|
||||
font-size: var(--typography-Footnote-Regular-fontSize);
|
||||
line-height: 150%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.perkCard {
|
||||
background-color: var(--Main-Grey-White);
|
||||
border: 1px solid var(--Base-Border-Subtle);
|
||||
border-radius: 0.4rem;
|
||||
color: var(--Main-Brand-Burgundy);
|
||||
padding: 0 1.6rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.details[open] .chevron {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.chevron {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.summary {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.perkCardHeader {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
}
|
||||
|
||||
.perkCardDescription {
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
.perkInfo {
|
||||
border-bottom: 1px solid var(--Base-Border-Subtle);
|
||||
padding: 1.5rem 0;
|
||||
}
|
||||
|
||||
.perkComparison {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.comparisonItem {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 1rem;
|
||||
}
|
||||
Reference in New Issue
Block a user