浏览代码

[courgette_theme] add autocomplete theme

Thomas LEBEAU 10 年前
父节点
当前提交
75853bd0b5
共有 1 个文件被更改,包括 19 次插入2 次删除
  1. 19
    2
      searx/static/courgette/css/style.css

+ 19
- 2
searx/static/courgette/css/style.css 查看文件

53
   text-align: center;
53
   text-align: center;
54
   background: rgba(255,255,255,0.6);
54
   background: rgba(255,255,255,0.6);
55
   padding: 4em 2em;
55
   padding: 4em 2em;
56
-  position: absolute;
56
+  margin: 7% auto 0;
57
+  position: relative;
58
+  /*position: absolute;
57
   top: 50%;
59
   top: 50%;
58
   left: 50%;
60
   left: 50%;
59
-  margin:-220px 0 0 -408px;
61
+  margin:-220px 0 0 -408px;*/
60
 }
62
 }
61
 
63
 
62
 .center.search {
64
 .center.search {
67
   padding-top: 1.8em;
69
   padding-top: 1.8em;
68
 }
70
 }
69
 
71
 
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
+
70
 #categories {
87
 #categories {
71
   text-align: center;
88
   text-align: center;
72
 }
89
 }