This commit is contained in:
the-djmaze 2022-12-06 11:41:02 +01:00
parent c7f554d22b
commit 08217d4e99
3 changed files with 100 additions and 94 deletions

View file

@ -45,6 +45,7 @@ input {
padding: 4px 6px;
color: var(--input-clr, #555);
border-radius: var(--input-border-radius, 3px);
width: 210px;
}
textarea,
@ -53,7 +54,6 @@ input {
border: 1px solid var(--input-border-clr, #ccc);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
transition: border linear .2s, box-shadow linear .2s;
width: 210px;
// Focus state
&:focus {
@ -87,7 +87,6 @@ select, .select {
border: 1px solid var(--input-border-clr, #ccc);
cursor: pointer;
padding-right: 1.5em;
width: 223px; // default input width + 10px of padding that doesn't get applied
}
// Focus for select, file, radio, and checkbox