Browse Source

[enh] ui mods

asciimoo 11 years ago
parent
commit
2c279d9248
1 changed files with 9 additions and 6 deletions
  1. 9
    6
      searx/static/css/style.css

+ 9
- 6
searx/static/css/style.css View File

@@ -61,9 +61,10 @@ input[type="checkbox"] { visibility: hidden; }
61 61
     user-select: none;
62 62
 }
63 63
 
64
-.checkbox_container input[type="checkbox"]:checked + label { background: #b8c1d9; }
64
+.checkbox_container input[type="checkbox"]:checked + label { background: #3498DB; color: #FFFFFF; }
65 65
 .search .checkbox_container label { border-bottom: 4px solid #e8e7e6; }
66
-.search .checkbox_container input[type="checkbox"]:checked + label { border-bottom: 4px solid #1a11be; }
66
+.search .checkbox_container label:hover { border-bottom: 4px solid #3498DB; }
67
+.search .checkbox_container input[type="checkbox"]:checked + label { border-bottom: 4px solid #2980B9; }
67 68
 
68 69
 a { text-decoration: none; color: #1a11be; }
69 70
 a:visited { color: #7b11be; }
@@ -82,7 +83,7 @@ a:visited { color: #7b11be; }
82 83
 
83 84
 .small p { margin: 2px 0; }
84 85
 
85
-.search { background: #e8e7e6; padding: 0; margin: 0 }
86
+.search { background: #ECF0F1; padding: 0; margin: 0 }
86 87
 
87 88
 .right { float: right; }
88 89
 
@@ -145,7 +146,7 @@ tr:hover td { background: #DDDDDD; }
145 146
 #suggestions { position: absolute; left: 54em; width: 12em; margin: 0 2px 5px 5px; padding: 0 2px 2px 2px; }
146 147
 #suggestions span { display: block; font-size: 0.8em; margin: 0 2px 10px 2px; padding: 0; }
147 148
 #suggestions form { display: block; }
148
-#suggestions input { padding: 2px 6px; margin: 2px 4px;  font-size: 0.8em; display: inline-block; background: #E4E4E4; border-radius: 4px; border: 0; cursor: pointer; }
149
+#suggestions input { padding: 2px 6px; margin: 2px 4px;  font-size: 0.8em; display: inline-block; background: #3498DB; color: #FFFFFF; border-radius: 4px; border: 0; cursor: pointer; }
149 150
 
150 151
 #preferences {
151 152
     top: 10px;
@@ -172,7 +173,7 @@ tr:hover td { background: #DDDDDD; }
172 173
   #suggestions { position: static; max-width: 50em; margin: 0 0 2px 0; padding: 0; float: none; border: none; width: auto }
173 174
   #suggestions span { display: inline; font-size: 0.8em }
174 175
   #suggestions form { display: inline; }
175
-  #suggestions input { padding: 2px 6px; margin: 2px 4px;  font-size: 0.8em; display: inline-block; background: #E4E4E4; border-radius: 4px; border: 0; cursor: pointer; }
176
+  #suggestions input { padding: 2px 6px; margin: 2px 4px;  font-size: 0.8em; display: inline-block; border-radius: 4px; border: 0; cursor: pointer; }
176 177
 
177 178
 }
178 179
 
@@ -182,9 +183,11 @@ tr:hover td { background: #DDDDDD; }
182 183
 
183 184
   .right { display: none; postion: fixed !important; top: 100px; right: 0px; }
184 185
 
185
-  #categories { font-size: 80% }
186
+  #categories { font-size: 80%; clear: both; }
186 187
 
187 188
   #categories .checkbox_container { margin-top: 2px; margin: 0 2px; }
189
+  .checkbox_container { display: block; width: 100%; float: left; }
190
+  .checkbox_container label { border-bottom: 0; }
188 191
 
189 192
   .result { border-top: 1px solid #e8e7e6; margin: 7px 0 6px 0;  }
190 193