Changes for page ListWebSearch

Last modified by Ecaterina Valica on 2010/07/22 10:30

From version 297.1
edited by Ecaterina Valica
on 2009/03/22 12:13
Change comment: There is no comment for this version
To version 367.1
edited by Ecaterina Valica
on 2009/03/24 14:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -36,7 +36,7 @@
36 36  <form action="">
37 37   <div id="searchBar">
38 38   {pre}
39 - <input type="text" name="text" class="searchQuery" value="$msg.get("xe.search.bar.query")" size="50" title="$msg.get('xe.search.bar.query.title')"/>
39 + <input type="text" name="text" class="searchQuery" value="$msg.get("xe.search.bar.query")" title="$msg.get('xe.search.bar.query.title')"/>
40 40   #spaceselect($space $spaces $spacesText)
41 41   <input type="submit" class="searchButton" value="Search" title="$msg.get('xe.search.bar.go.title')"/>
42 42   <div class="searchHelp">$msg.get("xe.search.bar.help")</div>
... ... @@ -44,5 +44,6 @@
44 44   </div>
45 45  </form>
46 46  #includeInContext("XWiki.WebSearchCode")
47 +#includeInContext("XWiki.ListSuggestions")
47 47  #includeInContext("XWiki.ListResults")
48 48  </div>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,8 +1,4 @@
1 -#search{
2 - width: 100%;
3 - background-color: #fff;
4 -}
5 -/* Search Bar*/
1 +39397F Bar*/
6 6  #searchBar{
7 7   margin-bottom: 11px;
8 8   padding-left: 5px;
... ... @@ -20,6 +20,7 @@
20 20   border: 2px solid #CCCCCC;
21 21   color: #4d4d4d;
22 22   font-size:15px;
19 + width: 400px;
23 23  }
24 24  .searchButton{
25 25   background-color:#B3B3B3;
... ... @@ -59,6 +59,9 @@
59 59   color: #4D4D4D;
60 60   font-weight: bold;
61 61  }
59 +#sortFilter a#currentSort:focus {
60 + outline: dotted 1px #000;
61 +}
62 62  .paginationFilter {
63 63   color: #808080;
64 64   height: 100%;
... ... @@ -88,7 +88,6 @@
88 88   font-weight: bold;
89 89  }
90 90  .pagination a:focus {
91 -color: red;
92 92   outline: dotted 1px #000;
93 93  }
94 94  .controlPagination{
... ... @@ -166,10 +166,10 @@
166 166   width: 82%;
167 167  }
168 168  .itemDescription a{
169 - color: #5599ff;
168 + color: #39397F;
170 170  }
171 171  .itemDescription a:hover{
172 - color: #5599ff;
171 + color: #39397F;
173 173  }
174 174  .itemDescription a:focus {
175 175   outline: dotted 1px #000;
... ... @@ -187,13 +187,16 @@
187 187  .itemTitle a:focus {
188 188   outline: dotted 1px #000;
189 189  }
189 +a.itemAuthor:focus{
190 + outline: dotted 1px #000;
191 +}
190 190  .itemLocation{
191 - color: #808080;
193 + color: #aaa;
192 192   font-size:90%;
193 193  }
194 194  .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{}
195 195  .itemModifiers{
196 - color: #808080;
198 + color: #aaa;
197 197   font-size:90%;
198 198  }
199 199  .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{}
... ... @@ -202,7 +202,6 @@
202 202   padding: 0px 5px 0px 5px;
203 203  }
204 204  .itemOthers{
205 - color: #808080;
206 206   font-size:80%;
207 207  }
208 208  .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{
... ... @@ -303,6 +303,79 @@
303 303   height: 1px;
304 304   margin: 0 211px;
305 305  }
306 -* a:focus {
307 - outline: dotted 1px #000;
307 +html>body div.suggestResults{
308 + width: 422px;
308 308  }
310 +div.suggestResults{
311 + width: 400px;
312 + position: absolute;
313 + padding: 11px 0px;
314 + margin: 0px;
315 + z-index: 1000;
316 + left: 5px;
317 + top: 27px;
318 +}
319 +div.suggestResults ul{
320 + list-style: none;
321 + list-style-position: outside;
322 + margin: 0;
323 + padding: 0;
324 + background: #FFFFFF url($xwiki.getSkinFile("greyback2.png")) repeat-x scroll 0 0;
325 + border: 2px solid #ccc;
326 + border-top: none;
327 +}
328 +div.suggestResults ul li{
329 + padding: 0;
330 + margin: 0;
331 + text-align: left;
332 +}
333 +div.suggestResults ul li a{
334 + display: block;
335 + text-decoration: none;
336 + background-color: transparent;
337 + position: relative;
338 + padding: 0;
339 + width: 100%;
340 +}
341 +div.suggestResults ul li a span.suggestItem{
342 + display: block;
343 + padding: 0;
344 + margin: 0;
345 + clear: both;
346 +}
347 +div.suggestResults ul li a span.suggestItem span.suggestName{
348 + text-align: left;
349 + width: 60%;
350 + color: #4D4D4D;
351 + display:inline-block;
352 + font-weight: bold;
353 + font-size: 90%;
354 + padding-left: 6px;
355 + margin: 0px;
356 +}
357 +div.suggestResults ul li a:hover span.suggestItem span.suggestName{
358 + text-decoration: underline;
359 +}
360 +div.suggestResults ul li a:hover span.suggestItem span.suggestName em{
361 + text-decoration: underline;
362 +}
363 +div.suggestResults ul li a:hover span.suggestItem span.suggestLocation{
364 + color: #39397F;
365 + text-decoration: none;
366 +}
367 +div.suggestResults ul li a span.suggestItem span.suggestLocation{
368 + text-align: right;
369 + color: #cccccc;
370 + font-size: 90%;
371 + width: 36%;
372 + vertical-align: top;
373 + display:inline-block;
374 + padding-right: 6px;
375 + margin: 0px;
376 +}
377 +em{
378 + color:#5599FF;
379 + padding:0;
380 + margin: 0;
381 + text-decoration: inherited;
382 +}