forked from devhatt/pet-dex-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* finish service routes remove codes * chore: changed pt-br to english * style: add eof package.json * chore: add routes props in links sidemenu * fix: error build * fix: fix stylelint
- Loading branch information
Showing
27 changed files
with
440 additions
and
198 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,86 +1,91 @@ | ||
@use '~styles/base.scss'; | ||
@use '~styles/colors.scss' as colors; | ||
@use '~styles/breakpoints.scss' as breakpoints; | ||
@use '~styles/fonts.scss' as fonts; | ||
|
||
.home { | ||
width: 200vw; | ||
height: 100dvh; | ||
overflow-x: hidden; | ||
|
||
display: grid; | ||
grid-template-areas: | ||
'sidemenu nav' | ||
'sidemenu content'; | ||
grid-template-rows: 8.1rem 1fr; | ||
grid-template-columns: 100vw 100vw; | ||
|
||
background-color: colors.$primary600; | ||
transform: translateX(-100vw); | ||
|
||
&--open-menu { | ||
width: 100vw; | ||
|
||
transform: translateX(0); | ||
|
||
transition: transform 0.3s; | ||
} | ||
|
||
&--exit-menu { | ||
width: 200vw; | ||
|
||
transform: translateX(-100vw); | ||
|
||
transition: transform 0.3s; | ||
} | ||
|
||
&__navigation { | ||
display: flex; | ||
grid-area: nav; | ||
|
||
align-items: center; | ||
} | ||
|
||
&__sidemenu { | ||
display: grid; | ||
grid-area: sidemenu; | ||
grid-template-rows: 8.1rem 1fr; | ||
} | ||
|
||
&__content { | ||
overflow: auto; | ||
|
||
grid-area: content; | ||
|
||
background-color: colors.$secondary100; | ||
|
||
padding-inline: 2rem; | ||
padding-block: 3.2rem; | ||
} | ||
} | ||
|
||
@include breakpoints.from1024 { | ||
.home { | ||
width: 100vw; | ||
|
||
grid-template-areas: | ||
'sidemenu nav' | ||
'sidemenu content'; | ||
grid-template-rows: 8.1rem 1fr; | ||
grid-template-columns: 31.3rem 1fr; | ||
|
||
transform: translateX(0); | ||
|
||
&__content { | ||
margin-inline: 2.4rem; | ||
|
||
margin-bottom: 2.4rem; | ||
|
||
border-radius: 1.6rem; | ||
} | ||
|
||
&__sidemenu { | ||
display: block; | ||
} | ||
} | ||
} | ||
@use '~styles/base.scss'; | ||
@use '~styles/colors.scss' as colors; | ||
@use '~styles/breakpoints.scss' as breakpoints; | ||
@use '~styles/fonts.scss' as fonts; | ||
|
||
.home { | ||
width: 200vw; | ||
height: 100dvh; | ||
overflow-x: hidden; | ||
|
||
display: grid; | ||
grid-template-areas: | ||
'sidemenu nav' | ||
'sidemenu content'; | ||
grid-template-rows: 8.1rem 1fr; | ||
grid-template-columns: 100vw 100vw; | ||
|
||
background-color: colors.$primary600; | ||
transform: translateX(-100vw); | ||
|
||
&--open-menu { | ||
width: 100vw; | ||
|
||
transform: translateX(0); | ||
|
||
transition: transform 0.3s; | ||
} | ||
|
||
&--exit-menu { | ||
width: 200vw; | ||
|
||
transform: translateX(-100vw); | ||
|
||
transition: transform 0.3s; | ||
} | ||
|
||
&__navigation { | ||
display: flex; | ||
grid-area: nav; | ||
|
||
align-items: center; | ||
} | ||
|
||
&__sidemenu { | ||
display: grid; | ||
grid-area: sidemenu; | ||
grid-template-rows: 8.1rem 1fr; | ||
} | ||
|
||
&__content { | ||
overflow: auto; | ||
|
||
grid-area: content; | ||
|
||
background-color: colors.$secondary100; | ||
|
||
padding-inline: 2rem; | ||
padding-block: 3.2rem; | ||
} | ||
|
||
&__content-page { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
} | ||
|
||
@include breakpoints.from1024 { | ||
.home { | ||
width: 100vw; | ||
|
||
grid-template-areas: | ||
'sidemenu nav' | ||
'sidemenu content'; | ||
grid-template-rows: 8.1rem 1fr; | ||
grid-template-columns: 31.3rem 1fr; | ||
|
||
transform: translateX(0); | ||
|
||
&__content { | ||
margin-inline: 2.4rem; | ||
|
||
margin-bottom: 2.4rem; | ||
|
||
border-radius: 1.6rem; | ||
} | ||
|
||
&__sidemenu { | ||
display: block; | ||
} | ||
} | ||
} |
Oops, something went wrong.