-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add logic for inplayer social login
- Loading branch information
1 parent
0dd1204
commit 04c1d74
Showing
9 changed files
with
139 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,57 @@ | ||
@use 'src/styles/variables'; | ||
@use 'src/styles/theme'; | ||
|
||
.socialButtonContainer { | ||
position: relative; /* Add relative positioning to the container */ | ||
display: flex; | ||
justify-content: center; | ||
justify-content: center; /* Center the contents horizontally and vertically */ | ||
align-items: center; | ||
width: fit-content; | ||
width: 100%; | ||
height: fit-content; | ||
padding: 0.5rem; | ||
color: variables.$gray-darker; | ||
text-decoration: none; | ||
background-color: variables.$white; | ||
border: 1px solid #979797; | ||
border-radius: 0.25rem; | ||
gap: 0.5rem; | ||
transition: background-color 0.1s ease-in-out; | ||
} | ||
|
||
.socialButtonContainer:hover { | ||
transform: scale(1.05); | ||
background-color: variables.$gray-lighter; | ||
cursor: pointer; | ||
} | ||
|
||
.socialButtonContainer:active { | ||
transform: scale(0.95); | ||
background-color: variables.$gray-light; | ||
} | ||
|
||
.socialButtonIconContainer { | ||
position: absolute; | ||
left: 0.5rem; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 2.5rem; | ||
height: 100%; | ||
} | ||
|
||
.socialButtonIcon { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.socialButtonTextContainer { | ||
display: flex; | ||
flex-grow: 1; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100%; | ||
padding: 0.5rem; | ||
font-weight: 600; | ||
font-size: 1.25rem; | ||
text-decoration: none; | ||
border-radius: 0.5rem; | ||
gap: 0.5rem; | ||
} |
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
4 changes: 2 additions & 2 deletions
4
src/components/SocialButtonsList/SocialButtonsList.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,9 +1,9 @@ | ||
.socialButtonsListContainer { | ||
display: flex; | ||
flex-direction: row; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
padding: 1rem; | ||
padding: 1rem 0; | ||
gap: 1rem; | ||
} |
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