Changes for page ListWebSearch

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

From version 299.1
edited by Ecaterina Valica
on 2009/03/22 12:17
Change comment: There is no comment for this version
To version 373.1
edited by Ecaterina Valica
on 2009/03/24 15:12
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,6 +4,3 @@
1 -a:focus {
2 - outline: dotted 1px #000;
3 -}
4 4  #search{
5 5   width: 100%;
6 6   background-color: #fff;
... ... @@ -23,6 +23,7 @@
23 23   border: 2px solid #CCCCCC;
24 24   color: #4d4d4d;
25 25   font-size:15px;
23 + width: 400px;
26 26  }
27 27  .searchButton{
28 28   background-color:#B3B3B3;
... ... @@ -45,12 +45,12 @@
45 45   font-size: 90%;
46 46  }
47 47  #sortFilter{
48 - color: #808080;
46 + color: #aaa;
49 49   padding: 5px;
50 50   line-height: 16px;
51 51  }
52 52  #sortFilter a.sortType{
53 - color: #808080;
51 + color: #aaa;
54 54  }
55 55  #sortFilter a.sortType:hover{
56 56   color: #4D4D4D;
... ... @@ -62,8 +62,11 @@
62 62   color: #4D4D4D;
63 63   font-weight: bold;
64 64  }
63 +#sortFilter a#currentSort:focus {
64 + outline: dotted 1px #000;
65 +}
65 65  .paginationFilter {
66 - color: #808080;
67 + color: #aaa;
67 67   height: 100%;
68 68   border-top: 1px solid #CCCCCC;
69 69   padding: 2px 0px 5px 5px;
... ... @@ -74,7 +74,7 @@
74 74   float: left;
75 75  }
76 76  .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
77 - color: #808080;
78 + color: #aaa;
78 78  }
79 79  .pagination{
80 80   float: right;
... ... @@ -81,7 +81,7 @@
81 81   margin-right: 10px;
82 82  }
83 83  .pagination a{
84 - color: #808080;
85 + color: #aaa;
85 85  }
86 86  .pagination a:hover{
87 87   color: #4D4D4D;
... ... @@ -168,10 +168,10 @@
168 168   width: 82%;
169 169  }
170 170  .itemDescription a{
171 - color: #5599ff;
172 + color: #39397F;
172 172  }
173 173  .itemDescription a:hover{
174 - color: #5599ff;
175 + color: #39397F;
175 175  }
176 176  .itemDescription a:focus {
177 177   outline: dotted 1px #000;
... ... @@ -193,12 +193,12 @@
193 193   outline: dotted 1px #000;
194 194  }
195 195  .itemLocation{
196 - color: #808080;
197 + color: #aaa;
197 197   font-size:90%;
198 198  }
199 199  .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{}
200 200  .itemModifiers{
201 - color: #808080;
202 + color: #aaa;
202 202   font-size:90%;
203 203  }
204 204  .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{}
... ... @@ -207,7 +207,6 @@
207 207   padding: 0px 5px 0px 5px;
208 208  }
209 209  .itemOthers{
210 - color: #808080;
211 211   font-size:80%;
212 212  }
213 213  .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{
... ... @@ -284,7 +284,6 @@
284 284  .relevanceText{
285 285   float: right;
286 286   margin-right: 5px;
287 - color: #808080;
288 288   font-size:80%;
289 289  }
290 290  .resultSeparator{
... ... @@ -308,3 +308,78 @@
308 308   height: 1px;
309 309   margin: 0 211px;
310 310  }
310 +html>body div.suggestResults{
311 + width: 422px;
312 +}
313 +div.suggestResults{
314 + width: 400px;
315 + position: absolute;
316 + padding: 11px 0px;
317 + margin: 0px;
318 + z-index: 1000;
319 + left: 5px;
320 + top: 27px;
321 +}
322 +div.suggestResults ul{
323 + list-style: none;
324 + list-style-position: outside;
325 + margin: 0;
326 + padding: 0;
327 + background: #FFFFFF url($xwiki.getSkinFile("greyback2.png")) repeat-x scroll right bottom;
328 + border: 2px solid #ccc;
329 + border-top: none;
330 +}
331 +div.suggestResults ul li{
332 + padding: 5px 0 0;
333 + margin: 0;
334 + text-align: left;
335 +}
336 +div.suggestResults ul li a{
337 + display: block;
338 + text-decoration: none;
339 + background-color: transparent;
340 + position: relative;
341 + padding: 0;
342 + width: 100%;
343 +}
344 +div.suggestResults ul li a span.suggestItem{
345 + display: block;
346 + padding: 0;
347 + margin: 0;
348 + clear: both;
349 +}
350 +div.suggestResults ul li a span.suggestItem span.suggestName{
351 + text-align: left;
352 + width: 60%;
353 + color: #4D4D4D;
354 + display:inline-block;
355 + font-size: 90%;
356 + padding-left: 6px;
357 + margin: 0px;
358 +}
359 +div.suggestResults ul li a:hover span.suggestItem span.suggestName{
360 + text-decoration: underline;
361 +}
362 +div.suggestResults ul li a:hover span.suggestItem span.suggestName em{
363 + text-decoration: underline;
364 +}
365 +div.suggestResults ul li a:hover span.suggestItem span.suggestLocation{
366 + color: #39397F;
367 + text-decoration: none;
368 +}
369 +div.suggestResults ul li a span.suggestItem span.suggestLocation{
370 + text-align: right;
371 + color: #cccccc;
372 + font-size: 90%;
373 + width: 36%;
374 + vertical-align: top;
375 + display:inline-block;
376 + padding-right: 6px;
377 + margin: 0px;
378 +}
379 +em{
380 + color:#5599FF;
381 + padding:0;
382 + margin: 0;
383 + text-decoration: inherited;
384 +}