ソースを参照

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