-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from newfold-labs/enhance/ecom-mvp-frontend-po…
…lish Phase 1 Frontend Polish
- Loading branch information
Showing
15 changed files
with
426 additions
and
204 deletions.
There are no files selected for viewing
13 changes: 10 additions & 3 deletions
13
src/OnboardingSPA/components/Button/NavCardButton/stylesheet.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
.nfd-nav-card-button { | ||
color: var(--nfd-onboarding-white); | ||
background-color: var(--wp-admin-theme-color-darker-10); | ||
height: 8vh; | ||
width: 50vw; | ||
margin: 0vw auto; | ||
padding: 16px; | ||
width: 90%; | ||
font-size: clamp(0.7rem, 1.2vw, 1.4em); | ||
font-weight: 500; | ||
border-radius: 4px; | ||
border: none; | ||
outline: 1px solid transparent; | ||
|
||
@media (max-width: #{($break-medium)}) { | ||
padding: 24px 32px; | ||
} | ||
|
||
@media (min-width: 2600px) { | ||
font-size: clamp(2.81rem, -0.48vw + 2.93rem, 1.78rem); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,60 @@ | ||
.nfd-step-card-heading { | ||
margin: 8px; | ||
margin: 5px; | ||
font-weight: 700; | ||
line-height: 1.25; | ||
text-align: center; | ||
font-size: clamp(1.5rem, 4vw, 2.2rem); | ||
font-size: clamp(1.5rem, 1.82vw + 1.05rem, 2.5rem); | ||
|
||
@media (max-width: #{($break-medium)}) { | ||
font-size: clamp(1rem, 3.5vw, 1.2rem); | ||
margin: 10px; | ||
} | ||
|
||
@media (max-width: #{ ($break-xlarge)}) { | ||
font-size: clamp(1rem, 3.5vw, 2rem); | ||
@media (min-width: 2600px) { | ||
font-size: clamp(1rem, 2.44vw + 0.39rem, 6.25rem); | ||
margin: 40px; | ||
} | ||
} | ||
|
||
.nfd-step-card-subheading { | ||
margin: 5px; | ||
font-weight: 700; | ||
color: var(--wp-admin-theme-color); | ||
font-size: clamp(0.8rem, 2.5vw, 1.2rem); | ||
font-size: clamp(1rem, 0.91vw + 0.77rem, 1.5rem); | ||
text-align: center; | ||
@media (min-width: #{ ($break-medium)}) { | ||
padding-bottom: 30px; | ||
} | ||
|
||
@media (min-width: 2600px) { | ||
font-size: clamp(3.38rem, -0.47vw + 3.49rem, 2.37rem); | ||
margin: 80px; | ||
} | ||
} | ||
|
||
.nfd-step-card-subheading-other { | ||
font-weight: 700; | ||
margin-top: 30px; | ||
margin-top: 35px; | ||
color: var(--wp-admin-theme-color); | ||
font-size: clamp(0.8rem, 2.5vw, 1.2rem); | ||
@media (max-width: #{($break-medium)}) { | ||
margin: 3px; | ||
font-size: clamp(0.7rem, 2.2vw, 1.2rem); | ||
} | ||
|
||
@media (min-width: 2600px) { | ||
font-size: clamp(3.38rem, -0.47vw + 3.49rem, 2.37rem); | ||
margin: 80px; | ||
} | ||
} | ||
|
||
.nfd-step-card-question { | ||
margin: 8px; | ||
margin: 18px; | ||
font-size: clamp(1rem, 2vw, 1.8rem); | ||
|
||
@media (min-width: 2600px) { | ||
font-size: clamp(3.38rem, -0.47vw + 3.49rem, 2.37rem); | ||
font-weight: 700; | ||
margin: 60px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 36 additions & 13 deletions
49
src/OnboardingSPA/components/NewfoldLargeCard/stylesheet.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.