mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 21:50:47 +08:00
Embed login password eye toggle inside the field.
EOF Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b5da5948a8
commit
6d21d45185
2 changed files with 53 additions and 49 deletions
|
|
@ -8941,16 +8941,18 @@ pre {
|
|||
.login-card__password {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.login-card__password input {
|
||||
padding-right: 44px;
|
||||
padding-right: 44px !important;
|
||||
}
|
||||
|
||||
.login-card__eye {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 6px;
|
||||
z-index: 2;
|
||||
transform: translateY(-50%);
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
|
|
@ -8969,6 +8971,12 @@ pre {
|
|||
color: #93c5fd;
|
||||
}
|
||||
|
||||
.login-card__eye:focus-visible {
|
||||
outline: none;
|
||||
color: #93c5fd;
|
||||
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
|
||||
}
|
||||
|
||||
.login-card__eye svg {
|
||||
display: block;
|
||||
pointer-events: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue