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.
- Loading branch information
Showing
12 changed files
with
674 additions
and
646 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,64 @@ | ||
@use '~styles/colors' as colors; | ||
@use '~styles/fonts' as fonts; | ||
|
||
.avatar-button { | ||
display: flex; | ||
|
||
&__container { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.8rem; | ||
|
||
align-items: center; | ||
|
||
text-decoration: none; | ||
|
||
&:hover { | ||
.avatar-button__bg { | ||
border: 0.15rem solid colors.$grey900; | ||
|
||
background: colors.$appContentColor; | ||
} | ||
|
||
.avatar-button__cross { | ||
filter: invert(1); | ||
} | ||
|
||
.avatar-button__text { | ||
opacity: 0.8; | ||
} | ||
} | ||
} | ||
|
||
&__bg { | ||
width: 3rem; | ||
height: 3rem; | ||
|
||
display: flex; | ||
|
||
align-items: center; | ||
justify-content: center; | ||
|
||
padding: 1.8rem; | ||
border: 0.15rem solid colors.$appContentColor; | ||
|
||
background: colors.$grey900; | ||
border-radius: 8rem; | ||
|
||
transition: 0.6s; | ||
} | ||
|
||
&__cross { | ||
filter: invert(0); | ||
|
||
transition: 0.6s; | ||
} | ||
|
||
&__text { | ||
font-family: fonts.$primaryFont; | ||
color: colors.$appContentColor; | ||
font-size: 1.4rem; | ||
|
||
transition: 0.6s; | ||
} | ||
} | ||
@use '~styles/colors' as colors; | ||
@use '~styles/fonts' as fonts; | ||
|
||
.avatar-button { | ||
display: flex; | ||
|
||
&__container { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.8rem; | ||
|
||
align-items: center; | ||
|
||
text-decoration: none; | ||
|
||
&:hover { | ||
.avatar-button__bg { | ||
border: 0.15rem solid colors.$gray900; | ||
|
||
background: colors.$secondary100; | ||
} | ||
|
||
.avatar-button__cross { | ||
filter: invert(1); | ||
} | ||
|
||
.avatar-button__text { | ||
opacity: 0.8; | ||
} | ||
} | ||
} | ||
|
||
&__bg { | ||
width: 3rem; | ||
height: 3rem; | ||
|
||
display: flex; | ||
|
||
align-items: center; | ||
justify-content: center; | ||
|
||
padding: 1.8rem; | ||
border: 0.15rem solid colors.$secondary100; | ||
|
||
background: colors.$gray900; | ||
border-radius: 8rem; | ||
|
||
transition: 0.6s; | ||
} | ||
|
||
&__cross { | ||
filter: invert(0); | ||
|
||
transition: 0.6s; | ||
} | ||
|
||
&__text { | ||
font-family: fonts.$primaryFont; | ||
color: colors.$secondary100; | ||
font-size: 1.4rem; | ||
|
||
transition: 0.6s; | ||
} | ||
} |
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,34 +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.$blue500; | ||
border-radius: 1.4rem; | ||
|
||
transition: 0.3s ease-in-out; | ||
|
||
cursor: pointer; | ||
appearance: none; | ||
|
||
&--block { | ||
width: 100%; | ||
display: block; | ||
} | ||
|
||
&:hover:not(:disabled) { | ||
background: colors.$appColor; | ||
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; | ||
} | ||
} |
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,48 +1,48 @@ | ||
@use '~styles/colors.scss' as colors; | ||
@use '~styles/fonts.scss' as fonts; | ||
|
||
.checkbox-container { | ||
display: inline-flex; | ||
|
||
align-items: center; | ||
|
||
margin: 1rem; | ||
|
||
cursor: pointer; | ||
|
||
&__input { | ||
width: 2.2rem; | ||
height: 2.2rem; | ||
|
||
margin: 0.8rem; | ||
border: 0.2rem solid colors.$gray500; | ||
|
||
border-radius: 0.5rem; | ||
|
||
cursor: pointer; | ||
appearance: none; | ||
|
||
&:checked { | ||
border-color: colors.$purple500; | ||
|
||
background: colors.$purple500 url('./images/check.svg') no-repeat center | ||
center/70%; | ||
} | ||
|
||
&:disabled { | ||
border-color: colors.$gray500; | ||
|
||
cursor: not-allowed; | ||
} | ||
} | ||
|
||
&__checkboxText { | ||
font-family: fonts.$primaryFont; | ||
color: colors.$gray800; | ||
text-align: left; | ||
font-size: fonts.$xs; | ||
font-weight: fonts.$semiBold; | ||
line-height: 2; | ||
letter-spacing: 0; | ||
} | ||
} | ||
@use '~styles/colors.scss' as colors; | ||
@use '~styles/fonts.scss' as fonts; | ||
|
||
.checkbox-container { | ||
display: inline-flex; | ||
|
||
align-items: center; | ||
|
||
margin: 1rem; | ||
|
||
cursor: pointer; | ||
|
||
&__input { | ||
width: 2.2rem; | ||
height: 2.2rem; | ||
|
||
margin: 0.8rem; | ||
border: 0.2rem solid colors.$gray500; | ||
|
||
border-radius: 0.5rem; | ||
|
||
cursor: pointer; | ||
appearance: none; | ||
|
||
&:checked { | ||
border-color: colors.$primary500; | ||
|
||
background: colors.$primary500 url('./images/check.svg') no-repeat center | ||
center/70%; | ||
} | ||
|
||
&:disabled { | ||
border-color: colors.$gray500; | ||
|
||
cursor: not-allowed; | ||
} | ||
} | ||
|
||
&__checkboxText { | ||
font-family: fonts.$primaryFont; | ||
color: colors.$gray800; | ||
text-align: left; | ||
font-size: fonts.$xs; | ||
font-weight: fonts.$semiBold; | ||
line-height: 2; | ||
letter-spacing: 0; | ||
} | ||
} |
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,37 +1,37 @@ | ||
@use '~styles/colors.scss' as colors; | ||
|
||
.progress-bar { | ||
width: 100%; | ||
|
||
display: grid; | ||
|
||
&__background { | ||
width: 100%; | ||
height: 50%; | ||
|
||
grid-row: 1; | ||
grid-column: 1; | ||
|
||
position: relative; | ||
top: 25%; | ||
z-index: 0; | ||
|
||
background-color: colors.$grey150; | ||
border-radius: 100000px; | ||
} | ||
|
||
&__foreground { | ||
height: 6px; | ||
|
||
grid-row: 1; | ||
grid-column: 1; | ||
|
||
position: relative; | ||
z-index: 1; | ||
|
||
background-color: colors.$yellow500; | ||
border-radius: 100000px; | ||
|
||
transition: width 1s ease-in-out; | ||
} | ||
} | ||
@use '~styles/colors.scss' as colors; | ||
|
||
.progress-bar { | ||
width: 100%; | ||
|
||
display: grid; | ||
|
||
&__background { | ||
width: 100%; | ||
height: 50%; | ||
|
||
grid-row: 1; | ||
grid-column: 1; | ||
|
||
position: relative; | ||
top: 25%; | ||
z-index: 0; | ||
|
||
background-color: colors.$gray150; | ||
border-radius: 100000px; | ||
} | ||
|
||
&__foreground { | ||
height: 6px; | ||
|
||
grid-row: 1; | ||
grid-column: 1; | ||
|
||
position: relative; | ||
z-index: 1; | ||
|
||
background-color: colors.$primary300; | ||
border-radius: 100000px; | ||
|
||
transition: width 1s ease-in-out; | ||
} | ||
} |
Oops, something went wrong.