Changes for page ListWebSearch

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

From version 292.1
edited by Ecaterina Valica
on 2009/03/22 11:56
Change comment: There is no comment for this version
To version 374.1
edited by Ecaterina Valica
on 2009/03/24 15:14
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
... ... @@ -20,6 +20,7 @@
20 20   border: 2px solid #CCCCCC;
21 21   color: #4d4d4d;
22 22   font-size:15px;
23 + width: 400px;
23 23  }
24 24  .searchButton{
25 25   background-color:#B3B3B3;
... ... @@ -42,17 +42,17 @@
42 42   font-size: 90%;
43 43  }
44 44  #sortFilter{
45 - color: #808080;
46 + color: #aaa;
46 46   padding: 5px;
47 47   line-height: 16px;
48 48  }
49 49  #sortFilter a.sortType{
50 - color: #808080;
51 + color: #aaa;
51 51  }
52 -#sortFilter a:hover{
53 +#sortFilter a.sortType:hover{
53 53   color: #4D4D4D;
54 54  }
55 -#sortFilter a:focus {
56 +#sortFilter a.sortType:focus {
56 56   outline: dotted 1px #000;
57 57  }
58 58  #sortFilter a#currentSort{
... ... @@ -59,8 +59,11 @@
59 59   color: #4D4D4D;
60 60   font-weight: bold;
61 61  }
63 +#sortFilter a#currentSort:focus {
64 + outline: dotted 1px #000;
65 +}
62 62  .paginationFilter {
63 - color: #808080;
67 + color: #aaa;
64 64   height: 100%;
65 65   border-top: 1px solid #CCCCCC;
66 66   padding: 2px 0px 5px 5px;
... ... @@ -71,7 +71,7 @@
71 71   float: left;
72 72  }
73 73  .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
74 - color: #808080;
78 + color: #aaa;
75 75  }
76 76  .pagination{
77 77   float: right;
... ... @@ -78,7 +78,7 @@
78 78   margin-right: 10px;
79 79  }
80 80  .pagination a{
81 - color: #808080;
85 + color: #aaa;
82 82  }
83 83  .pagination a:hover{
84 84   color: #4D4D4D;
... ... @@ -87,6 +87,9 @@
87 87   color: #4D4D4D;
88 88   font-weight: bold;
89 89  }
94 +.pagination a:focus {
95 + outline: dotted 1px #000;
96 +}
90 90  .controlPagination{
91 91   position:relative;
92 92   width:41px;
... ... @@ -162,11 +162,14 @@
162 162   width: 82%;
163 163  }
164 164  .itemDescription a{
165 - color: #5599ff;
172 + color: #39397F;
166 166  }
167 167  .itemDescription a:hover{
168 - color: #5599ff;
175 + color: #39397F;
169 169  }
177 +.itemDescription a:focus {
178 + outline: dotted 1px #000;
179 +}
170 170  .itemTitle a{
171 171   color: #4d4d4d;
172 172   font-weight: bold;
... ... @@ -177,13 +177,19 @@
177 177   font-weight: bold;
178 178   font-size:130%;
179 179  }
190 +.itemTitle a:focus {
191 + outline: dotted 1px #000;
192 +}
193 +a.itemAuthor:focus{
194 + outline: dotted 1px #000;
195 +}
180 180  .itemLocation{
181 - color: #808080;
197 + color: #aaa;
182 182   font-size:90%;
183 183  }
184 184  .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{}
185 185  .itemModifiers{
186 - color: #808080;
202 + color: #aaa;
187 187   font-size:90%;
188 188  }
189 189  .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{}
... ... @@ -192,7 +192,6 @@
192 192   padding: 0px 5px 0px 5px;
193 193  }
194 194  .itemOthers{
195 - color: #808080;
196 196   font-size:80%;
197 197  }
198 198  .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{
... ... @@ -269,7 +269,6 @@
269 269  .relevanceText{
270 270   float: right;
271 271   margin-right: 5px;
272 - color: #808080;
273 273   font-size:80%;
274 274  }
275 275  .resultSeparator{
... ... @@ -293,4 +293,78 @@
293 293   height: 1px;
294 294   margin: 0 211px;
295 295  }
296 -
310 +html>body .suggestResults{
311 + width: 422px;
312 +}
313 +.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 +.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 +.suggestResults ul li{
332 + padding: 5px 0 0;
333 + margin: 0;
334 + text-align: left;
335 +}
336 +.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 +.suggestResults ul li a .suggestItem{
345 + display: block;
346 + padding: 0;
347 + margin: 0;
348 + clear: both;
349 +}
350 +.suggestResults ul li a .suggestItem .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 +.suggestResults ul li a:hover .suggestItem .suggestName{
360 + text-decoration: underline;
361 +}
362 +.suggestResults ul li a:hover .suggestItem .suggestName em{
363 + text-decoration: underline;
364 +}
365 +.suggestResults ul li a:hover .suggestItem .suggestLocation{
366 + color: #39397F;
367 + text-decoration: none;
368 +}
369 +.suggestResults ul li a .suggestItem .suggestLocation{
370 + text-align: right;
371 + color: #aaa;
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 +}