After hours of tweaking call our search field good enough

This commit is contained in:
benjamin melançon 2018-12-12 23:30:09 -05:00
parent 9ecea50d45
commit 09abdfd224

View file

@ -219,3 +219,24 @@ a.navbar-link:hover {
font-size: 1.25em; font-size: 1.25em;
} }
.navbar-search {
position: relative;
.navbar-search-swap form {
position: absolute;
top: -100px;
transition-property: top;
transition-duration: 0.4s;
right: -0.5rem;
padding: 3.5rem 1rem 0.666rem 1rem;
background-color: $dark;
}
.navbar-search-swap:hover,
.navbar-search-swap:focus {
form {
top: -3rem;
}
}
.navbar-search-swap form .form-item .control .form-text.input {
width: 18rem;
}
}