Skip to content

Commit

Permalink
change: dark theme login prompt changes
Browse files Browse the repository at this point in the history
remove original labels, use placeholders as input labels.
add animations
  • Loading branch information
Aetherinox committed Aug 28, 2024
1 parent 8d82204 commit 456c9fe
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion extras/usr/sbin/lfd
Original file line number Diff line number Diff line change
Expand Up @@ -9918,6 +9918,16 @@ input::placeholder
color: #707070;
}
input:focus::placeholder
{
color: transparent;
}
input:focus
{
outline: none;
}
.btn-login
{
background-color: #6d7934;
Expand Down Expand Up @@ -9983,6 +9993,12 @@ form.login-form
color: #575757;
}
.login-footer a
{
color: #dd761c;
text-decoration: none;
}
.input
{
width: 30vw;
Expand All @@ -9996,6 +10012,15 @@ form.login-form
border: 1px solid #e3e3e31a;
color: #FFF;
font-size: 14pt;
transition: 0.5s;
background: linear-gradient(#ffffff73 0 0) bottom / 0% 1px no-repeat #393939;
cursor: pointer;
text-align: center;
}
.input:hover
{
background-size: 100% 1px;
}
</style>
EOF
Expand All @@ -10012,7 +10037,7 @@ EOF
print "<tr><td><input placeholder='Password' name='csfpassword' type='password' class='input' size='25'></td></tr>\n";
print "<tr><td style='color:#FFF;' colspan='2' align='center'><input type='submit' value='Enter' class='btn-login'></td></tr>\n";
print "<", "/table>";
print "<div class='login-footer'>Dark Theme</div>";
print "<div class='login-footer'><a href='$th_dark_url'>Dark Theme</a> v$th_dark_version</div>";
print "</div></form>\n";
print "</div>";
print "\n</BODY>\n</HTML>\n";
Expand Down

0 comments on commit 456c9fe

Please sign in to comment.