-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V1C-58: optimize mobile styles (#92)
* style(mobile): optimize mobile styles for better proportions and use of screen real-estate --------- Co-authored-by: Nick Hellemans <[email protected]>
- Loading branch information
Showing
19 changed files
with
462 additions
and
102 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
@use '../../globalStyles'; | ||
|
||
.awell_logo { | ||
max-width: 150px; | ||
width: auto; | ||
height: auto; | ||
} | ||
max-width: 150px; | ||
max-height: 35px; | ||
|
||
@media (min-width: 640px) { | ||
max-height: 75px; | ||
} | ||
} |
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
42 changes: 23 additions & 19 deletions
42
src/atoms/progressIndicator/progressIndicator.module.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,26 +1,30 @@ | ||
@use '../../globalStyles'; | ||
|
||
.progressBar { | ||
--awell-progress-bar-background: var(--awell-secondary-color); | ||
--awell-progress-bar-completed-bar-color: var(--awell-accent-color); | ||
--awell-progress-bar-completed-text-color: var(--awell-accent-text-color); | ||
--awell-progress-bar-background: var(--awell-secondary-color); | ||
--awell-progress-bar-completed-bar-color: var(--awell-accent-color); | ||
--awell-progress-bar-completed-text-color: var(--awell-accent-text-color); | ||
--awell-progress-bar-height: 6px; | ||
background-color: var(--awell-progress-bar-background); | ||
border-radius: 30px; | ||
width: 100%; | ||
height: var(--awell-progress-bar-height); | ||
|
||
@media (min-width: 640px) { | ||
--awell-progress-bar-height: 8px; | ||
background-color: var(--awell-progress-bar-background); | ||
} | ||
|
||
.progressBar_completed { | ||
border-radius: 30px; | ||
width: 100%; | ||
width: var(--awell-progress-bar-width); | ||
transition: width ease-in-out 0.5s; | ||
will-change: width; | ||
background-color: var(--awell-progress-bar-completed-bar-color); | ||
color: var(--awell-progress-bar-completed-text-color); | ||
line-height: var(--awell-progress-bar-height); | ||
font-weight: var(--awell-font-medium); | ||
font-size: var(--awell-font-size-xs); | ||
text-align: center; | ||
height: var(--awell-progress-bar-height); | ||
|
||
.progressBar_completed { | ||
border-radius: 30px; | ||
width: var(--awell-progress-bar-width); | ||
transition: width ease-in-out 0.5s; | ||
will-change: width; | ||
background-color: var(--awell-progress-bar-completed-bar-color); | ||
color: var(--awell-progress-bar-completed-text-color); | ||
line-height: var(--awell-progress-bar-height); | ||
font-weight: var(--awell-font-medium); | ||
font-size: var(--awell-font-size-xs); | ||
text-align: center; | ||
height: var(--awell-progress-bar-height); | ||
} | ||
} | ||
} |
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,14 +1,19 @@ | ||
.label { | ||
margin-bottom: var(--awell-spacing-1); | ||
font-size: var(--awell-font-size-lg); | ||
margin-bottom: var(--awell-spacing-1\.5); | ||
font-size: var(--awell-font-size-base); | ||
line-height: var(--awell-leading-normal); | ||
font-weight: var(--awell-font-medium); | ||
color: rgb(55 65 81); | ||
display: block; | ||
line-height: var(--awell-leading-relaxed); | ||
// respect newline characters | ||
white-space: pre-wrap; | ||
|
||
@media (min-width: 640px) { | ||
font-size: var(--awell-font-size-lg); | ||
line-height: var(--awell-leading-relaxed); | ||
} | ||
} | ||
|
||
.asterix { | ||
color: var(--awell-red); | ||
} | ||
} |
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
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.