h
This commit is contained in:
@@ -296,6 +296,80 @@ section.card > p {
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
}
|
||||
|
||||
.password-input-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.password-input-wrap input[type="password"],
|
||||
.password-input-wrap input[type="text"] {
|
||||
padding-right: 3.1rem;
|
||||
}
|
||||
|
||||
.password-input-wrap input[type="password"]::-ms-reveal,
|
||||
.password-input-wrap input[type="password"]::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.password-input-wrap input[type="password"]::-webkit-credentials-auto-fill-button,
|
||||
.password-input-wrap input[type="password"]::-webkit-contacts-auto-fill-button {
|
||||
visibility: hidden;
|
||||
display: none !important;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.password-toggle {
|
||||
position: absolute;
|
||||
right: 0.5rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background: transparent;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
cursor: pointer;
|
||||
color: rgba(122, 47, 63, 0.72);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.18s ease, color 0.18s ease, background-color 0.18s ease;
|
||||
}
|
||||
|
||||
.password-toggle.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.password-toggle:hover,
|
||||
.password-toggle:focus-visible {
|
||||
color: rgba(122, 47, 63, 0.95);
|
||||
background: rgba(178, 137, 70, 0.16);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.password-toggle .icon-eye {
|
||||
width: 1.1rem;
|
||||
height: 1.1rem;
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 1.9;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.password-toggle .icon-eye-closed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.password-toggle.is-active .icon-eye-open {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.password-toggle.is-active .icon-eye-closed {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.login-shell input[type="text"]:focus,
|
||||
.login-shell input[type="password"]:focus {
|
||||
border-color: rgba(122, 47, 63, 0.58);
|
||||
|
||||
Reference in New Issue
Block a user