Small tweaks for forms
This commit is contained in:
parent
b7486db8ef
commit
600361d6f9
@ -11,11 +11,12 @@
|
|||||||
padding: 8px;
|
padding: 8px;
|
||||||
margin-bottom: $-margin-bottom;
|
margin-bottom: $-margin-bottom;
|
||||||
|
|
||||||
&:focus, &:active{
|
&:focus, &:active, &:invalid{
|
||||||
margin-bottom: $-margin-bottom - 1px;
|
margin-bottom: $-margin-bottom - 1px;
|
||||||
border-bottom: 2px solid $-wine-red;
|
border-bottom: 2px solid $-wine-red;
|
||||||
background-color: $-almost-white;
|
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;
|
padding: 3px;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -$-margin-bottom;
|
top: -$-margin-bottom;
|
||||||
|
|
||||||
&:before{
|
|
||||||
content: '* ';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&--error{
|
&--error{
|
||||||
|
Loading…
Reference in New Issue
Block a user