From 75853bd0b5628ebd26d67259d83894ae9107e270 Mon Sep 17 00:00:00 2001 From: Thomas LEBEAU Date: Tue, 19 Aug 2014 15:06:20 +0200 Subject: [PATCH] [courgette_theme] add autocomplete theme --- searx/static/courgette/css/style.css | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/searx/static/courgette/css/style.css b/searx/static/courgette/css/style.css index c54d5cbb..6c5c9905 100644 --- a/searx/static/courgette/css/style.css +++ b/searx/static/courgette/css/style.css @@ -53,10 +53,12 @@ html { text-align: center; background: rgba(255,255,255,0.6); padding: 4em 2em; - position: absolute; + margin: 7% auto 0; + position: relative; + /*position: absolute; top: 50%; left: 50%; - margin:-220px 0 0 -408px; + margin:-220px 0 0 -408px;*/ } .center.search { @@ -67,6 +69,21 @@ html { padding-top: 1.8em; } +.autocompleter-choices { + position: absolute; + margin: 0; + padding: 0; + background: #FFF; +} + .autocompleter-choices li { + padding: 0.5em 1em; + } + .autocompleter-choices li:hover { + background: #3498DB; + color: #FFF; + cursor: pointer; + } + #categories { text-align: center; }