-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update new rules, add visual indicators and more * update * adding check backend side for format * Update routes/users.js * add eye on login and profile page * fix a bug --------- Co-authored-by: mboudet <[email protected]>
- Loading branch information
1 parent
7590477
commit a2fe445
Showing
13 changed files
with
378 additions
and
39 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
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
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,68 @@ | ||
|
||
.valid-indicator { | ||
color: green; | ||
} | ||
|
||
.invalid-indicator { | ||
color: red; | ||
} | ||
|
||
.invalid-feedback { | ||
color: red; | ||
} | ||
|
||
.password-rules { | ||
margin-top: 10px; | ||
} | ||
|
||
.rule-satisfied { | ||
color: green; | ||
} | ||
|
||
.rule-not-satisfied { | ||
color: red; | ||
} | ||
|
||
.btn-disabled { | ||
background-color: #d6d6d6; | ||
border-color: #d6d6d6; | ||
cursor: not-allowed; | ||
pointer-events: none; | ||
color: #888888; | ||
} | ||
|
||
.btn-disabled:hover { | ||
background-color: #d6d6d6; | ||
border-color: #d6d6d6; | ||
} | ||
|
||
.password-field { | ||
position: relative; | ||
} | ||
|
||
.password-field .password-input { | ||
width: 100%; | ||
padding-right: 2rem; | ||
} | ||
|
||
.password-field .toggle-password { | ||
position: absolute; | ||
top: 50%; | ||
right: 1rem; | ||
transform: translateY(-50%); | ||
cursor: pointer; | ||
color: #aaa; | ||
} | ||
|
||
.password-field:has(.input-group-append .valid-indicator, .input-group-append .invalid-indicator) .toggle-password { | ||
right: 3rem; | ||
} | ||
|
||
.password-field .toggle-password:hover { | ||
color: #333; | ||
} | ||
|
||
/* Prevent icon from disappearing when input is focused */ | ||
.password-field:focus-within .toggle-password { | ||
z-index: 9; | ||
} |
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.