Tweaked form input styling

This commit is contained in:
BordedDev 2025-03-08 18:56:55 +01:00
parent 7c22a70722
commit c9113ca095
No known key found for this signature in database
GPG Key ID: C5F495EAE56673BF

View File

@ -75,14 +75,26 @@ class GenericField extends HTMLElement {
}
input {
width: 90%;
padding: 10px;
margin: 10px 0;
border: 1px solid #333;
border-radius: 5px;
background-color: #1a1a1a;
color: #e6e6e6;
font-size: 1em;
width: 90%;
padding: 10px;
margin: 10px 0;
border: 1px solid #333;
border-radius: 5px;
background-color: #1a1a1a;
color: #e6e6e6;
font-size: 1em;
&:focus {
outline: 2px solid #f05a28 !important;
}
&::placeholder {
transition: opacity 0.3s;
}
&:focus::placeholder {
opacity: 0.4;
}
}
button {