-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
1 parent
bf10fef
commit bc5a638
Showing
10 changed files
with
222 additions
and
138 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,93 +1,164 @@ | ||
|
||
.authenticationContainer{ | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
height: 85vh; | ||
} | ||
|
||
.container { | ||
max-width: 400px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
border: 1px solid #ccc; | ||
border-radius: 8px; | ||
height: 100%; | ||
width: 100%; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
width: 100%; /* Make the container take full available width */ | ||
max-width: 500px; /* Limit the container width to 500px */ | ||
/*min-width: 300px; !* Ensure it doesn't go below 300px *!*/ | ||
margin: 0 auto; /* Center it horizontally */ | ||
padding: 40px 30px; /* Add padding */ | ||
background-color: #fff; /* Soft white background */ | ||
border-radius: 12px; /* Rounded corners for the form */ | ||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); | ||
font-family: 'Inter', sans-serif; | ||
position: relative; | ||
} | ||
|
||
/* Title of the page */ | ||
.title { | ||
text-align: center; | ||
margin-bottom: 20px; | ||
padding: 2px; | ||
font-size: 2rem; | ||
font-weight: 600; | ||
color: #333; | ||
margin-bottom: 24px; | ||
} | ||
|
||
/* Form layout */ | ||
.form { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 16px; /* Adds space between each form element */ | ||
} | ||
|
||
/* Error message styling */ | ||
.errors { | ||
color: red; | ||
font-weight: 600; | ||
padding: 2px; | ||
color: #e74c3c; | ||
font-size: 0.875rem; | ||
font-weight: 500; | ||
margin-top: -12px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
/* Input field styles */ | ||
.input { | ||
width: 100%; | ||
height: 3rem; | ||
padding: 10px 18px; | ||
font-size: 1rem; | ||
line-height: 1.5rem; | ||
padding: 10px 18px 10px 18px; | ||
border: 1px solid var(--line-grey); | ||
border-radius: 5px; | ||
border-radius: 8px; /* Rounded corners */ | ||
border: 1px solid #ddd; /* Light border color */ | ||
outline: none; | ||
border-radius: 4px; | ||
margin: 4px; | ||
background-color: #f9f9f9; | ||
transition: all 0.3s ease; | ||
} | ||
|
||
/* Focus effect for input fields */ | ||
.input:focus { | ||
border-color: var(--green); /* Blue border on focus */ | ||
box-shadow: 0 0 5px rgb(30, 124, 84); | ||
} | ||
|
||
/* Label for the checkbox (alerts) */ | ||
.label { | ||
padding: 2px; | ||
font-size: 0.875rem; | ||
color: #555; | ||
} | ||
|
||
/* Style for alert checkbox */ | ||
.alerts { | ||
margin: 4px; | ||
margin-top: 10px; | ||
margin-bottom: 10px; | ||
display: flex; | ||
align-items: center; | ||
gap: 8px; | ||
margin-top: 16px; | ||
font-size: 0.875rem; | ||
} | ||
|
||
|
||
|
||
/* Button styles */ | ||
.button { | ||
color: white; | ||
height: 3rem; | ||
font-size: 1rem; | ||
line-height: 1.5rem; | ||
padding: 10px 18px 10px 18px; | ||
border-radius: 5px; | ||
background-color: var(--black); | ||
transition: 0.2s ease-in-out; | ||
font-weight: 600; | ||
padding: 10px 18px; | ||
background-color: var(--black); /* Blue background */ | ||
color: white; | ||
border: none; | ||
border-radius: 8px; /* Rounded corners */ | ||
cursor: pointer; | ||
transition: 0.3s ease-in-out; | ||
} | ||
|
||
.button:hover { | ||
background-color: var(--slate-black); | ||
cursor: pointer; | ||
background-color: var(--slate-black); /* Darker blue on hover */ | ||
} | ||
|
||
.button:disabled { | ||
background-color: #d6d6d6; | ||
cursor: not-allowed; | ||
} | ||
|
||
/* Toggle between Login/Signup */ | ||
.toggle { | ||
text-align: center; | ||
margin-top: 10px; | ||
font-size: 0.875rem; | ||
/*color: #007bff;*/ | ||
color: var(--green); | ||
cursor: pointer; | ||
margin-top: 16px; | ||
} | ||
|
||
.toggle:hover { | ||
text-decoration: underline; | ||
cursor: pointer; | ||
color: var(--slate-black); | ||
color: #007bff; | ||
} | ||
|
||
/* Password container to hold the toggle button */ | ||
.passwordContainer { | ||
position: relative; | ||
|
||
} | ||
|
||
.passwordToggle { | ||
position: absolute; | ||
height: 100%; | ||
display: flex; | ||
top: 0; | ||
align-items: center; | ||
right: 1rem | ||
right: 1rem; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
border: none; | ||
background: none; | ||
cursor: pointer; | ||
} | ||
|
||
/* Image for eye icon */ | ||
.image { | ||
height: 25px; | ||
width: 25px; | ||
} | ||
width: 20px; | ||
height: 20px; | ||
} | ||
|
||
|
||
/* Placeholder styling for inputs */ | ||
.input::placeholder { | ||
color: #aaa; /* Light grey placeholder text */ | ||
opacity: 1; | ||
} | ||
|
||
/* Responsive design: Stack elements on small screens */ | ||
@media (max-width: 480px) { | ||
.container { | ||
padding: 20px; | ||
} | ||
|
||
.title { | ||
font-size: 1.5rem; | ||
} | ||
|
||
.button { | ||
padding: 10px; | ||
} | ||
} |
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.