Skip to content

Commit

Permalink
fix: colors fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DominMFD committed May 8, 2024
1 parent b75f82d commit 0f05e64
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 269 deletions.
72 changes: 36 additions & 36 deletions src/components/Button/index.scss
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
@use '~styles/colors.scss' as colors;

.button {
font-family: 'Noto Sans', sans-serif;
color: rgb(255, 255, 255);
font-size: 1.6rem;
font-weight: 500;

padding: 1.6rem;
border: unset;

background-color: colors.$primary200;
border-radius: 1.4rem;

transition: 0.3s ease-in-out;

cursor: pointer;
appearance: none;

&--block {
width: 100%;

display: block;
}

&:hover:not(:disabled) {
background: colors.$primary600;
transform: scale(1.02);
}

&:disabled {
background: colors.$gray600;

cursor: not-allowed;
}
}
@use '~styles/colors.scss' as colors;

.button {
font-family: 'Noto Sans', sans-serif;
color: rgb(255, 255, 255);
font-size: 1.6rem;
font-weight: 500;

padding: 1.6rem;
border: unset;

background-color: colors.$primary200;
border-radius: 1.4rem;

transition: 0.3s ease-in-out;

cursor: pointer;
appearance: none;

&--block {
width: 100%;

display: block;
}

&:hover:not(:disabled) {
background: colors.$primary600;
transform: scale(1.02);
}

&:disabled {
background: colors.$gray600;

cursor: not-allowed;
}
}
294 changes: 147 additions & 147 deletions src/home/components/SideMenu/index.scss
Original file line number Diff line number Diff line change
@@ -1,147 +1,147 @@
@use '~styles/colors.scss' as colors;
@use '~styles/breakpoints.scss' as breakpoints;
@use '~styles/fonts.scss' as fonts;

.side-menu-nav {
display: flex;

align-items: center;
justify-content: space-between;
padding-inline: 2rem;

&__logo-container {
display: none;
padding-block: 4rem 2rem;

text-align: center;
}

&__logo {
max-width: 100%;
}

&__icons {
display: flex;
gap: 2.4rem;

align-items: center;
justify-content: center;
}

&__notifications {
width: 1.6rem;
height: 1.95rem;
}

&__perfil {
width: 4.3rem;
height: 4.3rem;

border-radius: 100%;
}

&__exit {
width: 2rem;
height: 2rem;
}

&__exitmenu {
width: 2.9rem;
height: 2.4rem;
}
}

.side-menu-content {
width: 28rem;

display: flex;
flex-direction: column;
gap: 4.2rem;

margin: 0 auto;

&__line {
width: 100%;

border: 0.1rem solid colors.$secondary100;
}

&__lineinside {
width: 100%;

margin: 4.2rem 0;
border: 0.1rem solid colors.$secondary100;
}

&__yourpet {
font-family: fonts.$primaryFont;
}

&__title-yourpet {
color: colors.$secondary100;
font-size: 1.6rem;
font-weight: fonts.$bold;
font-style: fonts.$normal;
}

&__itens {
font-family: fonts.$primaryFont;
color: colors.$secondary100;
font-size: 1.6rem;
}

&__ul {
display: flex;
flex-direction: column;
gap: 0.8rem;

align-items: flex-start;
}

&__menuitens {
display: flex;
gap: 1.2rem;

align-items: center;

color: colors.$secondary100;
text-decoration: none;

padding: 1.2rem;

&--active {
background-color: rgb(0, 29, 49);
border-radius: 2rem;
}
}
}

@include breakpoints.from1024() {
.side-menu-nav {
&__logo-container {
display: block;

margin: 0 auto;
}

&__icons {
display: none;
}

&__exitmenu {
display: none;
}
}

.side-menu-content {
width: 70%;

&__menuitens {
transition: 0.3s;

&:hover {
opacity: 0.6;
}
}
}
}
@use '~styles/colors.scss' as colors;
@use '~styles/breakpoints.scss' as breakpoints;
@use '~styles/fonts.scss' as fonts;

.side-menu-nav {
display: flex;

align-items: center;
justify-content: space-between;
padding-inline: 2rem;

&__logo-container {
display: none;
padding-block: 4rem 2rem;

text-align: center;
}

&__logo {
max-width: 100%;
}

&__icons {
display: flex;
gap: 2.4rem;

align-items: center;
justify-content: center;
}

&__notifications {
width: 1.6rem;
height: 1.95rem;
}

&__perfil {
width: 4.3rem;
height: 4.3rem;

border-radius: 100%;
}

&__exit {
width: 2rem;
height: 2rem;
}

&__exitmenu {
width: 2.9rem;
height: 2.4rem;
}
}

.side-menu-content {
width: 28rem;

display: flex;
flex-direction: column;
gap: 4.2rem;

margin: 0 auto;

&__line {
width: 100%;

border: 0.1rem solid colors.$secondary100;
}

&__lineinside {
width: 100%;

margin: 4.2rem 0;
border: 0.1rem solid colors.$secondary100;
}

&__yourpet {
font-family: fonts.$primaryFont;
}

&__title-yourpet {
color: colors.$secondary100;
font-size: 1.6rem;
font-weight: fonts.$bold;
font-style: fonts.$normal;
}

&__itens {
font-family: fonts.$primaryFont;
color: colors.$secondary100;
font-size: 1.6rem;
}

&__ul {
display: flex;
flex-direction: column;
gap: 0.8rem;

align-items: flex-start;
}

&__menuitens {
display: flex;
gap: 1.2rem;

align-items: center;

color: colors.$secondary100;
text-decoration: none;

padding: 1.2rem;

&--active {
background-color: rgb(0, 29, 49);
border-radius: 2rem;
}
}
}

@include breakpoints.from1024() {
.side-menu-nav {
&__logo-container {
display: block;

margin: 0 auto;
}

&__icons {
display: none;
}

&__exitmenu {
display: none;
}
}

.side-menu-content {
width: 70%;

&__menuitens {
transition: 0.3s;

&:hover {
opacity: 0.6;
}
}
}
}
Loading

0 comments on commit 0f05e64

Please sign in to comment.