Commit 3abaae19 by Peter Serwylo Committed by Hans-Christoph Steiner

Added non-translated search widget

parent cd572b15
<h3>Find Apps</h3>
<noscript>
<span class="noscript">
You must have JavaScript enabled for search.
</span>
</noscript>
{% fdroid_search_autocomplete %}
......@@ -16,6 +16,10 @@
</div>
<div class="sidebar">
<div class="sidebar-widget">
{% include_cached sidebar-search.html %}
</div>
<div class="sidebar-widget">
{% capture donate %}{% include sidebar-donate.md %}{% endcapture %}
{{ donate | markdownify }}
......
......@@ -168,6 +168,44 @@ body {
}
}
/**
* Language chooser
*/
.sidebar-widget.language {
padding-bottom: 0.5em;
text-align: right;
.lang-flag {
margin: 0 0.1em;
vertical-align: middle;
max-width: 2em;
max-height: 1em;
}
}
/**
* Search results
*/
.sidebar-widget div.awesomplete {
display: block !important;
input {
padding: 0.4em;
font-size: 1.1em;
box-sizing: border-box;
width: 100%;
}
li:hover, li[aria-selected="true"] {
background: $primary-color !important;
.package-header {
.package-name, .package-desc .package-summary {
color: white;
}
}
}
}
/**
* Footer
*/
......@@ -184,4 +222,4 @@ img {
* This makes images responsive on smaller screens.
*/
max-width: 100%;
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment