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
42 lines
747 B
CSS
42 lines
747 B
CSS
.card {
|
|
background-color: var(--Surface-Brand-Primary-3-Default);
|
|
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;
|
|
}
|
|
|
|
.membershipHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--Space-x1);
|
|
margin-bottom: var(--Space-x05);
|
|
}
|
|
|
|
.levelText,
|
|
.sasBoostText,
|
|
.pointsLabel {
|
|
color: var(--Text-Brand-OnPrimary-3-Heading);
|
|
}
|
|
|
|
.levelText {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.divider {
|
|
margin: var(--Space-x4) 0;
|
|
}
|
|
|
|
.pointsValue {
|
|
color: var(--Text-Brand-OnPrimary-3-Accent);
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.card {
|
|
padding: var(--Space-x3) var(--Space-x4);
|
|
}
|
|
}
|