feat(WEB-167): update my pages layout to MVP wireframes
This commit is contained in:
68
components/MyPages/Blocks/Overview/Friend/friend.module.css
Normal file
68
components/MyPages/Blocks/Overview/Friend/friend.module.css
Normal file
@@ -0,0 +1,68 @@
|
||||
.friend {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.level {
|
||||
color: var(--some-black-color, #000);
|
||||
/* font-family: var(--ff-biro-script-plus); */
|
||||
font-size: 2.1rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 4%;
|
||||
line-height: 3.6rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.name {
|
||||
color: var(--some-black-color, #111);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 2.8rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: -3%;
|
||||
line-height: 2.8rem;
|
||||
margin: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.membershipContainer {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.membershipId {
|
||||
color: var(--some-black-color, #1e1e1e);
|
||||
font-family: var(--ff-fira-mono);
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 6%;
|
||||
line-height: 1.8rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 950px) {
|
||||
.friend {
|
||||
gap: 1.2rem;
|
||||
}
|
||||
|
||||
.level {
|
||||
transform: translate(-60%, 40%) rotate(-20deg);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.friend {
|
||||
justify-self: flex-end;
|
||||
}
|
||||
|
||||
.image {
|
||||
margin-bottom: 2.6rem;
|
||||
margin-top: 1.1rem;
|
||||
}
|
||||
|
||||
.name {
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
}
|
||||
24
components/MyPages/Blocks/Overview/Friend/index.tsx
Normal file
24
components/MyPages/Blocks/Overview/Friend/index.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import Image from "@/components/Image"
|
||||
|
||||
import styles from "./friend.module.css"
|
||||
|
||||
import type { FriendProps } from "@/types/components/myPages/friend"
|
||||
|
||||
export default function Friend({ user }: FriendProps) {
|
||||
return (
|
||||
<section className={styles.friend}>
|
||||
<p className={styles.level}>Current level:</p>
|
||||
<Image
|
||||
alt="Good Friend"
|
||||
className={styles.image}
|
||||
height={70}
|
||||
src="/good-friend.svg"
|
||||
width={228}
|
||||
/>
|
||||
<h3 className={styles.name}>{user.name}</h3>
|
||||
<div className={styles.membershipContainer}>
|
||||
<p className={styles.membershipId}>{user.membershipId}</p>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
import Breadcrumbs from "@/components/MyPages/Header/Breadcrumbs"
|
||||
import Title from "@/components/MyPages/Title"
|
||||
|
||||
import styles from "./mobile.module.css"
|
||||
|
||||
export default function OverviewMobile() {
|
||||
return (
|
||||
<section className={styles.overviewMobile}>
|
||||
<Breadcrumbs />
|
||||
<Title uppercase>Good Morning [NAME]</Title>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
.overviewMobile {
|
||||
background-color: var(--some-grey-color, #f2f2f2);
|
||||
left: 50%;
|
||||
margin-left: -50vw;
|
||||
margin-right: -50vw;
|
||||
padding: 3.5rem 2rem 2rem;
|
||||
position: relative;
|
||||
right: 50%;
|
||||
width: 100dvw;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.overviewMobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
20
components/MyPages/Blocks/Overview/Stats/Progress/index.tsx
Normal file
20
components/MyPages/Blocks/Overview/Stats/Progress/index.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import Divider from "@/components/TempDesignSystem/Divider"
|
||||
import Title from "../Title"
|
||||
|
||||
import styles from "./progress.module.css"
|
||||
|
||||
export default function Progress() {
|
||||
return (
|
||||
<section className={styles.progress}>
|
||||
<header className={styles.header}>
|
||||
<Title>14 680 points until next level</Title>
|
||||
<Title>Progress</Title>
|
||||
</header>
|
||||
<Divider className={styles.divider} variant="dotted" />
|
||||
<div className={styles.container}>
|
||||
<p className={styles.nextLevel}>14 680 points until next level</p>
|
||||
<p className={styles.target}>Close friend</p>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
.header :first-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.container {
|
||||
align-items: baseline;
|
||||
display: flex;
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.nextLevel {
|
||||
color: var(--some-black-color, #000);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 1.2rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.6%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.target {
|
||||
color: var(--some-black-color, #000);
|
||||
/* font-family: var(--ff-biro-script-plus); */
|
||||
font-size: 1.8rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 4%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 950px) {
|
||||
.progress {
|
||||
display: grid;
|
||||
gap: 0.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.header :first-child {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.header :nth-child(2n) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.divider {
|
||||
display: block;
|
||||
margin: 0.3rem 0 1.2rem;
|
||||
}
|
||||
|
||||
.nextLevel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.target {
|
||||
font-size: 1.8rem;
|
||||
line-height: 3rem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import Divider from "@/components/TempDesignSystem/Divider"
|
||||
import Image from "@/components/Image"
|
||||
|
||||
import styles from "./points.module.css"
|
||||
|
||||
import type { QualifyingPointsProps } from "@/types/components/myPages/qualifyingPoints"
|
||||
|
||||
export default function QualifyingPoints({ user }: QualifyingPointsProps) {
|
||||
return (
|
||||
<div className={styles.qualifyingPoints}>
|
||||
<h4 className={styles.title}>Progress</h4>
|
||||
<Divider variant="dotted" />
|
||||
<div className={styles.container}>
|
||||
<div className={styles.points}>
|
||||
<Image
|
||||
alt="Arrow Up Icon"
|
||||
height={24}
|
||||
src="/arrow_upward.svg"
|
||||
width={24}
|
||||
/>
|
||||
<p className={styles.point}>{user.qualifyingPoints}</p>
|
||||
<h5 className={styles.pointTitle}>Qualifying points</h5>
|
||||
</div>
|
||||
<div className={styles.points}>
|
||||
<Image
|
||||
alt="Arrow Up Icon"
|
||||
height={24}
|
||||
src="/arrow_upward.svg"
|
||||
width={24}
|
||||
/>
|
||||
<p className={styles.point}>{user.nights}</p>
|
||||
<h5 className={styles.pointTitle}>Nights</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
.qualifyingPoints {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: var(--some-grey-color, #000);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.6%;
|
||||
line-height: 1.7rem;
|
||||
margin: 0 0 0.7rem;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.qualifyingPoints {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: grid;
|
||||
gap: 3.8rem;
|
||||
grid-template-columns: auto 1fr;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: var(--some-grey-color, #4f4f4f);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.points {
|
||||
align-items: center;
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
grid-template-columns: auto 1fr;
|
||||
}
|
||||
|
||||
.point {
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 2.7rem;
|
||||
font-weight: 900;
|
||||
line-height: 2.7rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.pointTitle {
|
||||
font-family: var(--ff-fira-sans);
|
||||
font-size: 1.2rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.6%;
|
||||
line-height: 1.4rem;
|
||||
grid-column: 1/-1;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
5
components/MyPages/Blocks/Overview/Stats/Title/index.tsx
Normal file
5
components/MyPages/Blocks/Overview/Stats/Title/index.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import styles from "./title.module.css"
|
||||
|
||||
export default function Title({ children }: React.PropsWithChildren) {
|
||||
return <h4 className={styles.title}>{children}</h4>
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
.title {
|
||||
color: var(--some-grey-color, #000);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.6%;
|
||||
line-height: 1.7rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.title {
|
||||
color: var(--some-grey-color, #4f4f4f);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import Divider from "@/components/TempDesignSystem/Divider"
|
||||
import Title from "../Title"
|
||||
|
||||
import styles from "./totalPoints.module.css"
|
||||
|
||||
import type { TotalPointsProps } from "@/types/components/myPages/totalPoints"
|
||||
|
||||
export default function TotalPoints({ user }: TotalPointsProps) {
|
||||
return (
|
||||
<div>
|
||||
<Title>Total Points</Title>
|
||||
<Divider className={styles.divider} variant="dotted" />
|
||||
<p className={styles.points}>{user.points}</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
.divider {
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
|
||||
.points {
|
||||
color: var(--some-black-color, #111);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 3.7rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: -3%;
|
||||
line-height: 3.7rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.divider {
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
}
|
||||
15
components/MyPages/Blocks/Overview/Stats/index.tsx
Normal file
15
components/MyPages/Blocks/Overview/Stats/index.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import Progress from "./Progress"
|
||||
import TotalPoints from "./TotalPoints"
|
||||
|
||||
import styles from "./stats.module.css"
|
||||
|
||||
import type { StatsProps } from "@/types/components/myPages/stats"
|
||||
|
||||
export default function Stats({ user }: StatsProps) {
|
||||
return (
|
||||
<section className={styles.stats}>
|
||||
<TotalPoints user={user} />
|
||||
<Progress />
|
||||
</section>
|
||||
)
|
||||
}
|
||||
13
components/MyPages/Blocks/Overview/Stats/stats.module.css
Normal file
13
components/MyPages/Blocks/Overview/Stats/stats.module.css
Normal file
@@ -0,0 +1,13 @@
|
||||
.stats {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.stats {
|
||||
gap: 1.4rem;
|
||||
justify-content: center;
|
||||
max-width: 32rem;
|
||||
}
|
||||
}
|
||||
@@ -1,83 +1,20 @@
|
||||
import CopyButton from "./CopyButton"
|
||||
import Divider from "@/components/TempDesignSystem/Divider"
|
||||
import Image from "@/components/Image"
|
||||
import MembershipCardButton from "./MembershipCardButton"
|
||||
import ProgressBar from "@/components/TempDesignSystem/ProgressBar"
|
||||
import Friend from "./Friend"
|
||||
import Stats from "./Stats"
|
||||
import Title from "@/components/MyPages/Title"
|
||||
|
||||
import styles from "./overview.module.css"
|
||||
|
||||
import type { OverviewProps } from "@/types/components/myPages/overview"
|
||||
import Link from "next/link"
|
||||
|
||||
export default function Overview({ user }: OverviewProps) {
|
||||
return (
|
||||
<section className={styles.container}>
|
||||
<header className={styles.header}>
|
||||
<Title uppercase>Good morning {user.name}</Title>
|
||||
<header>
|
||||
<Title uppercase>Good morning</Title>
|
||||
</header>
|
||||
<section className={styles.overview}>
|
||||
<section className={styles.friend}>
|
||||
<p className={styles.level}>Current level:</p>
|
||||
<Image
|
||||
alt="Good Friend"
|
||||
height={70}
|
||||
src="/good-friend.svg"
|
||||
width={228}
|
||||
/>
|
||||
<h3 className={styles.name}>{user.name}</h3>
|
||||
<div className={styles.membershipContainer}>
|
||||
<p className={styles.membershipId}>{user.membershipId}</p>
|
||||
<CopyButton membershipId={user.membershipId} />
|
||||
</div>
|
||||
<MembershipCardButton />
|
||||
</section>
|
||||
<section className={styles.stats}>
|
||||
<div>
|
||||
<h4 className={styles.pointsTitle}>Total Points</h4>
|
||||
<Divider variant="dotted" />
|
||||
<p className={styles.points}>{user.points}</p>
|
||||
</div>
|
||||
<div className={styles.qualifyingPoints}>
|
||||
<h4 className={styles.pointsTitle}>Progress</h4>
|
||||
<Divider variant="dotted" />
|
||||
<div className={styles.pointsContainer}>
|
||||
<div className={styles.pointsProgress}>
|
||||
<Image
|
||||
alt="Arrow Up Icon"
|
||||
height={24}
|
||||
src="/arrow_upward.svg"
|
||||
width={24}
|
||||
/>
|
||||
<p className={styles.point}>{user.qualifyingPoints}</p>
|
||||
<h5 className={styles.pointsProgressTitle}>
|
||||
Qualifying points
|
||||
</h5>
|
||||
</div>
|
||||
<div className={styles.pointsProgress}>
|
||||
<Image
|
||||
alt="Arrow Up Icon"
|
||||
height={24}
|
||||
src="/arrow_upward.svg"
|
||||
width={24}
|
||||
/>
|
||||
<p className={styles.point}>{user.nights}</p>
|
||||
<h5 className={styles.pointsProgressTitle}>Nights</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.progress}>
|
||||
<ProgressBar className={styles.progressbar} progress={70} />
|
||||
<h4 className={styles.progressTitle}>Progress</h4>
|
||||
<p className={styles.pointsRemaining}>
|
||||
14 680 points until next level
|
||||
</p>
|
||||
<p className={styles.target}>Close friend</p>
|
||||
</div>
|
||||
</section>
|
||||
<Link className={styles.link} href="#">
|
||||
Go to my points
|
||||
</Link>
|
||||
<Friend user={user} />
|
||||
<Stats user={user} />
|
||||
</section>
|
||||
</section>
|
||||
)
|
||||
|
||||
@@ -1,121 +1,12 @@
|
||||
.container {
|
||||
background-color: var(--some-grey-color, #f2f2f2);
|
||||
display: grid;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.overview {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.friend {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.level {
|
||||
color: var(--some-black-color, #000);
|
||||
/* font-family: var(--ff-biro-script-plus); */
|
||||
font-size: 2.1rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 4%;
|
||||
line-height: 3.6rem;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.name {
|
||||
color: var(--some-black-color, #111);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 2.8rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: -3%;
|
||||
line-height: 2.8rem;
|
||||
margin: 1.6rem 0 1.8rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.membershipContainer {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: 0.8rem;
|
||||
margin-bottom: 2.2rem;
|
||||
}
|
||||
|
||||
.membershipId {
|
||||
color: var(--some-black-color, #1e1e1e);
|
||||
font-family: var(--ff-fira-mono);
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 6%;
|
||||
line-height: 1.8rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.qualifyingPoints {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pointsTitle {
|
||||
color: var(--some-grey-color, #000);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.6%;
|
||||
line-height: 1.7rem;
|
||||
margin: 0 0 0.7rem;
|
||||
}
|
||||
|
||||
.points {
|
||||
color: var(--some-black-color, #111);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 3.7rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: -3%;
|
||||
line-height: 3.7rem;
|
||||
margin: 1.4rem 0;
|
||||
}
|
||||
|
||||
.progressTitle {
|
||||
color: var(--some-black-color, #000);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.6%;
|
||||
line-height: 1.7rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.pointsRemaining {
|
||||
color: var(--some-grey-color, #4f4f4f);
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.6%;
|
||||
line-height: 1.7rem;
|
||||
margin: 1rem 0 0;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: var(--some-black-color, #111);
|
||||
font-family: var(--ff-fira-sans);
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
justify-self: flex-end;
|
||||
letter-spacing: 1.2%;
|
||||
line-height: 2rem;
|
||||
margin-top: 2.8rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.target {
|
||||
color: var(--some-black-color, #000);
|
||||
/* font-family: var(--ff-biro-script-plus); */
|
||||
font-size: 1.8rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 4%;
|
||||
line-height: 3rem;
|
||||
margin: 0;
|
||||
text-align: right;
|
||||
gap: 1.7rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 950px) {
|
||||
@@ -124,52 +15,17 @@
|
||||
left: 50%;
|
||||
margin-left: -50vw;
|
||||
margin-right: -50vw;
|
||||
padding: 0 2rem 2rem;
|
||||
padding: 0 2rem 3.6rem;
|
||||
position: relative;
|
||||
right: 50%;
|
||||
width: 100dvw;
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.level {
|
||||
margin-bottom: 1rem;
|
||||
transform: translate(-60%, 40%) rotate(-20deg);
|
||||
}
|
||||
|
||||
.progress {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.progressTitle {
|
||||
order: 0;
|
||||
}
|
||||
|
||||
.pointsRemaining {
|
||||
margin-bottom: 0.8rem;
|
||||
margin-top: 0.6rem;
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.progressbar {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.target {
|
||||
position: absolute;
|
||||
right: 2rem;
|
||||
transform: rotate(-15deg) translateY(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.container {
|
||||
background-color: var(--some-white-color, #fff);
|
||||
display: grid;
|
||||
gap: 2.2rem;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.overview {
|
||||
@@ -181,114 +37,16 @@
|
||||
left: unset;
|
||||
margin-left: unset;
|
||||
margin-right: unset;
|
||||
max-width: var(--max-width);
|
||||
padding: 3.5rem 2rem;
|
||||
position: static;
|
||||
right: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.friend {
|
||||
justify-self: flex-end;
|
||||
}
|
||||
|
||||
.level {
|
||||
margin-bottom: 2.4rem;
|
||||
}
|
||||
|
||||
.name {
|
||||
margin: 3rem 0 1.8rem;
|
||||
}
|
||||
|
||||
.membershipContainer {
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
|
||||
.stats {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3rem;
|
||||
max-width: 32rem;
|
||||
}
|
||||
|
||||
.qualifyingPoints {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.pointsTitle {
|
||||
color: var(--some-grey-color, #4f4f4f);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.points {
|
||||
margin: 1.4rem 0 0;
|
||||
}
|
||||
|
||||
.pointsContainer {
|
||||
display: grid;
|
||||
gap: 3.8rem;
|
||||
grid-template-columns: auto 1fr;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.pointsProgress {
|
||||
align-items: center;
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
grid-template-columns: auto 1fr;
|
||||
}
|
||||
|
||||
.point {
|
||||
/* font-family: var(--ff-brandon-text); */
|
||||
font-size: 2.7rem;
|
||||
font-weight: 900;
|
||||
line-height: 2.7rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.pointsProgressTitle {
|
||||
font-family: var(--ff-fira-sans);
|
||||
font-size: 1.2rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.6%;
|
||||
line-height: 1.4rem;
|
||||
grid-column: 1/-1;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.progressTitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pointsRemaining {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.target {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.target::after {
|
||||
--height: 3.2rem;
|
||||
--width: 4.5rem;
|
||||
|
||||
background-image: url("/arrow_biro.svg");
|
||||
background-repeat: no-repeat;
|
||||
content: " ";
|
||||
display: inline-block;
|
||||
height: var(--height);
|
||||
position: relative;
|
||||
top: calc(var(--height) - var(--width));
|
||||
width: var(--width);
|
||||
}
|
||||
|
||||
.link {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1100px) {
|
||||
.overview {
|
||||
gap: 10rem;
|
||||
min-height: 35rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user