Filterable

This commit is contained in:
James Barnsley
2017-08-14 20:02:41 +12:00
parent 2dd08fa489
commit 6f0088204b
8 changed files with 194 additions and 40 deletions

View File

@ -0,0 +1,29 @@
.filter-field {
form {
display: inline-block;
position: relative;
}
.fa {
position: absolute;
top: 12px;
left: 15px;
pointer-events: none;
}
input {
@include animate();
width: 0;
padding-left: 25px;
background: transparent;
}
&.active {
input {
width: 180px;
padding-left: 35px;
background: $grey;
}
}
}