Merged in feat/LOY-316-Level-Progress-Card (pull request #2739)
Feat/LOY-316 Level Progress Card
* feat(LOY-315): Add MembershipOverviewCard
* refactor(LOY-315): abstract sasbooststatus
* feat(LOY-316): build out LevelProgressCard skeleton & variant styling
* feat(LOY-316): Add HighesMembershipCard
* feat(LOY-316): ProgressBarCard base
* refactor(LOY-315): highest level card misc fixes
* feat(LOY-316): Add progress component to design system
* fix(LOY-316): type check
* refactor(LOY-316): calculate currentEarnings correctly
* fix(LOY-316): sas icon showing when not boosted
* fix(LOY-316): css module
* refactor(LOY-316): Restructure components
* feat(LOY-316): Add marker pin 📍
* fix(LOY-316): strict equality checks
* fix(LOY-316): code review fixes
* chore(LOY-316): conditionally hide old section under flag
* feat(LOY-316): Add level progress card to my points page
* chore(LOY-316): marker label container height
Approved-by: Matilda Landström
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
.Surface-Brand-Primary-1-OnSurface-Default {
|
||||
background: var(--Surface-Brand-Primary-1-OnSurface-Default);
|
||||
}
|
||||
|
||||
.Surface-Brand-Primary-1-Default {
|
||||
background: var(--Surface-Brand-Primary-1-Default);
|
||||
}
|
||||
|
||||
.Surface-Brand-Primary-1-OnSurface-Default .title {
|
||||
color: var(--Text-Brand-OnPrimary-3-Heading);
|
||||
}
|
||||
|
||||
.Surface-Brand-Primary-1-OnSurface-Default .date {
|
||||
color: var(--Text-Brand-OnPrimary-2-Accent);
|
||||
}
|
||||
|
||||
.Surface-Brand-Primary-1-Default .title,
|
||||
.Surface-Brand-Primary-1-Default .date {
|
||||
color: var(--Text-Brand-OnPrimary-1-Heading);
|
||||
}
|
||||
|
||||
.levelProgressCard {
|
||||
border-radius: var(--Corner-radius-lg);
|
||||
padding: var(--Space-x3) var(--Space-x2);
|
||||
position: relative;
|
||||
min-height: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
gap: var(--Space-x3);
|
||||
}
|
||||
|
||||
.progressHeader {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
grid-template-rows: auto auto;
|
||||
gap: var(--Space-x05);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.title {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.date {
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
.infoButton {
|
||||
grid-column: 2;
|
||||
grid-row: 1 / 3;
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1367px) {
|
||||
.levelProgressCard {
|
||||
padding: var(--Space-x3) var(--Space-x4);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user