SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 544eb72e authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Improve header searchform

parent dd6d56eb
No related branches found
No related tags found
No related merge requests found
......@@ -42,3 +42,25 @@ input[type="file"] {
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 0.15rem;
}
.search-nav-form {
input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
margin-right: 0 !important;
border-right: 0;
border-color: #ddd;
}
button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-color: #ddd !important;
outline: 0;
&:hover {
background-color: inherit;
box-shadow: inset 0px 0px 6px 1px #fff;
}
}
}
......@@ -37,7 +37,7 @@
{% endif %}
</ul>
<form action="{% url 'scipost:search' %}" method="get" class="form-inline">
<form action="{% url 'scipost:search' %}" method="get" class="form-inline search-nav-form">
<input class="form-control mr-2 mb-0" id="id_q" maxlength="100" name="q" type="text" required="">
<button class="btn btn-outline-secondary text-muted" type="submit">Search</button>
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment