Clean up package list search CSS
This commit is contained in:
parent
e5f61f2dc6
commit
47432ea7e4
|
@ -72,3 +72,13 @@
|
||||||
.pkg_wiz_1, .pkg_wiz_2 {
|
.pkg_wiz_1, .pkg_wiz_2 {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.plsearchform {
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.plsearchform p {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0 0.75em;
|
||||||
|
}
|
||||||
|
|
|
@ -20,6 +20,10 @@ main {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.clearboth {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
header h1, header p, header form {
|
header h1, header p, header form {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
<li><a href="{{ url_for('user.login') }}">Sign in</a></li>
|
<li><a href="{{ url_for('user.login') }}">Sign in</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<div style="clear:both;"></div>
|
<div class="clearboth"></div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,14 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<form method="get" action="">
|
<form method="get" action="" class="plsearchform">
|
||||||
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
|
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
|
||||||
<input type="text" name="q" value="{{ query or ''}}" />
|
<input type="text" name="q" value="{{ query or ''}}" />
|
||||||
<input type="submit" value="Search" />
|
<input type="submit" value="Search" />
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Found {{ packages | count }} packages.
|
||||||
|
</p>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<aside class="box box_grey outsidecontainer">
|
<aside class="box box_grey outsidecontainer">
|
||||||
|
|
Loading…
Reference in New Issue