Browse Source

Merge pull request #85 from courgette/master

[courgette_theme] add autocomplete theme
Adam Tauber 10 years ago
parent
commit
031be2d4d9
1 changed files with 19 additions and 2 deletions
  1. 19 2
      searx/static/courgette/css/style.css

+ 19 - 2
searx/static/courgette/css/style.css

@@ -53,10 +53,12 @@ html {
   text-align: center;
   text-align: center;
   background: rgba(255,255,255,0.6);
   background: rgba(255,255,255,0.6);
   padding: 4em 2em;
   padding: 4em 2em;
-  position: absolute;
+  margin: 7% auto 0;
+  position: relative;
+  /*position: absolute;
   top: 50%;
   top: 50%;
   left: 50%;
   left: 50%;
-  margin:-220px 0 0 -408px;
+  margin:-220px 0 0 -408px;*/
 }
 }
 
 
 .center.search {
 .center.search {
@@ -67,6 +69,21 @@ html {
   padding-top: 1.8em;
   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 {
 #categories {
   text-align: center;
   text-align: center;
 }
 }