commit: 75853bd0b5628ebd26d67259d83894ae9107e270
parent 195ff7522eea6cfbc9deb26826d8cfc424cac397
Author: Thomas LEBEAU <thomas.lebeau@g-nova.fr>
Date:   Tue, 19 Aug 2014 15:06:20 +0200
[courgette_theme] add autocomplete theme
Diffstat:
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git 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;
 }