on master help sign in
Merge pull request #85 from courgette/master

[courgette_theme] add autocomplete theme

commit031be2d4d9e2d0c70cd8b745cd6238a1d2c8f6e1 authorAdam Tauber <asciimoo@gmail.com> dateFri 22 Aug 2014, 11:59 (12 years ago) parent8167d3c75853bd
1 file changed+19−2
searx/static/courgette/css/style.css+19−2
searx/static/courgette/css/style.css+19−2
@@ -53,10 +53,12 @@ html {
5353 text-align: center;
5454 background: rgba(255,255,255,0.6);
5555 padding: 4em 2em;
56− position: absolute;
56+ margin: 7% auto 0;
57+ position: relative;
58+ /*position: absolute;
5759 top: 50%;
5860 left: 50%;
59− margin:-220px 0 0 -408px;
61+ margin:-220px 0 0 -408px;*/
6062}
6163
6264.center.search {
@@ -67,6 +69,21 @@ html {
6769 padding-top: 1.8em;
6870}
6971
72+.autocompleter-choices {
73+ position: absolute;
74+ margin: 0;
75+ padding: 0;
76+ background: #FFF;
77+}
78+ .autocompleter-choices li {
79+ padding: 0.5em 1em;
80+ }
81+ .autocompleter-choices li:hover {
82+ background: #3498DB;
83+ color: #FFF;
84+ cursor: pointer;
85+ }
86+
7087#categories {
7188 text-align: center;
7289}