-
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.
Update login component HTML and SCSS files
- Loading branch information
1 parent
47d097a
commit 3560ec7
Showing
2 changed files
with
79 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/* login.component.scss */ | ||
|
||
div { | ||
margin: 20px; | ||
text-align: center; | ||
|
||
h2 { | ||
font-size: 24px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
form { | ||
max-width: 400px; | ||
margin: 0 auto; | ||
|
||
div { | ||
margin-bottom: 15px; | ||
|
||
label { | ||
display: block; | ||
margin-bottom: 5px; | ||
} | ||
|
||
input { | ||
width: 100%; | ||
padding: 8px; | ||
border-radius: 4px; | ||
border: 1px solid #ccc; | ||
transition: border-color 0.3s ease; | ||
|
||
&:focus { | ||
outline: none; | ||
border-color: #007bff; /* Example focus color */ | ||
} | ||
} | ||
|
||
small { | ||
color: red; /* Error message color */ | ||
display: block; /* Display error messages in block format */ | ||
margin-top: 5px; /* Add spacing above error messages */ | ||
} | ||
} | ||
|
||
button { | ||
display: block; | ||
width: 100%; | ||
padding: 10px; | ||
margin-top: 15px; | ||
background-color: #007bff; | ||
color: #fff; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
|
||
&:hover { | ||
background-color: #0056b3; /* Darker color on hover */ | ||
} | ||
|
||
&:disabled { | ||
opacity: 0.6; | ||
cursor: not-allowed; | ||
} | ||
} | ||
|
||
p { | ||
margin-top: 15px; | ||
a { | ||
color: #007bff; | ||
text-decoration: none; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
} | ||
} |