Small tweaks for forms

This commit is contained in:
reverend 2020-08-03 17:26:23 +02:00
parent b7486db8ef
commit 600361d6f9

View File

@ -11,11 +11,12 @@
padding: 8px;
margin-bottom: $-margin-bottom;
&:focus, &:active{
&:focus, &:active, &:invalid{
margin-bottom: $-margin-bottom - 1px;
border-bottom: 2px solid $-wine-red;
background-color: $-almost-white;
border-radius: 3px 3px 0 0;
border-radius: 3px 3px 0 0;
box-shadow: none;
}
}
@ -31,10 +32,6 @@
padding: 3px;
position: relative;
top: -$-margin-bottom;
&:before{
content: '* ';
}
}
&--error{