Changes for page ListWebSearch

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

From version 386.1
edited by Ecaterina Valica
on 2009/03/24 16:20
Change comment: There is no comment for this version
To version 377.1
edited by Ecaterina Valica
on 2009/03/24 15:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -33,7 +33,8 @@
33 33   #set($url = $xwiki.getURL("Main.WebSearchRss", "view", "xpage=rdf&space=$space&text=${utext}"))
34 34  #end
35 35  <div id="search">
36 -<form action="" id="searchBar">
36 +<form action="">
37 + <div id="searchBar">
37 37   {pre}
38 38   <input type="text" name="text" class="searchQuery" value="$msg.get("xe.search.bar.query")" title="$msg.get('xe.search.bar.query.title')"/>
39 39   #spaceselect($space $spaces $spacesText)
... ... @@ -40,6 +40,7 @@
40 40   <input type="submit" class="searchButton" value="Search" title="$msg.get('xe.search.bar.go.title')"/>
41 41   <div class="searchHelp">$msg.get("xe.search.bar.help")</div>
42 42   {/pre}
44 + </div>
43 43  </form>
44 44  #includeInContext("XWiki.WebSearchCode")
45 45  #includeInContext("XWiki.ListSuggestions")
XWiki.StyleSheetExtension[0]
Code
... ... @@ -26,6 +26,7 @@
26 26   background-color:#B3B3B3;
27 27   border:2px solid #B3B3B3;
28 28   color:#FFFFFF;
29 + font-family:Verdana;
29 29   font-size:11px;
30 30   font-variant:small-caps;
31 31   font-weight:bold;
... ... @@ -42,12 +42,12 @@
42 42   font-size: 90%;
43 43  }
44 44  #sortFilter{
45 - color: #aaa;
46 + color: #808080;
46 46   padding: 5px;
47 47   line-height: 16px;
48 48  }
49 49  #sortFilter a.sortType{
50 - color: #aaa;
51 + color: #808080;
51 51  }
52 52  #sortFilter a.sortType:hover{
53 53   color: #4D4D4D;
... ... @@ -63,7 +63,7 @@
63 63   outline: dotted 1px #000;
64 64  }
65 65  .paginationFilter {
66 - color: #aaa;
67 + color: #808080;
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: #aaa;
78 + color: #808080;
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: #aaa;
85 + color: #808080;
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: #39397F;
172 + color: #5599ff;
172 172  }
173 173  .itemDescription a:hover{
174 - color: #39397F;
175 + color: #5599ff;
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: #aaa;
197 + color: #808080;
197 197   font-size:90%;
198 198  }
199 199  .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{}
200 200  .itemModifiers{
201 - color: #aaa;
202 + color: #808080;
202 202   font-size:90%;
203 203  }
204 204  .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{}
... ... @@ -207,6 +207,7 @@
207 207   padding: 0px 5px 0px 5px;
208 208  }
209 209  .itemOthers{
211 + color: #808080;
210 210   font-size:80%;
211 211  }
212 212  .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{
... ... @@ -283,6 +283,7 @@
283 283  .relevanceText{
284 284   float: right;
285 285   margin-right: 5px;
288 + color: #808080;
286 286   font-size:80%;
287 287  }
288 288  .resultSeparator{
... ... @@ -306,10 +306,10 @@
306 306   height: 1px;
307 307   margin: 0 211px;
308 308  }
309 -html>body .suggestResults{
312 +html>body div.suggestResults{
310 310   width: 422px;
311 311  }
312 -.suggestResults{
315 +div.suggestResults{
313 313   width: 400px;
314 314   position: absolute;
315 315   padding: 11px 0px;
... ... @@ -318,21 +318,21 @@
318 318   left: 5px;
319 319   top: 27px;
320 320  }
321 -.suggestResults ul{
324 +div.suggestResults ul{
322 322   list-style: none;
323 323   list-style-position: outside;
324 324   margin: 0;
325 325   padding: 0;
326 - background: #FFFFFF url($xwiki.getSkinFile('greyback2.png')) repeat-x scroll 0 0;
329 + background: #FFFFFF url($xwiki.getSkinFile("greyback2.png")) repeat-x scroll 0 0;
327 327   border: 2px solid #ccc;
328 328   border-top: none;
329 329  }
330 -.suggestResults ul li{
331 - padding: 5px 0 0;
333 +div.suggestResults ul li{
334 + padding: 0;
332 332   margin: 0;
333 333   text-align: left;
334 334  }
335 -.suggestResults ul li a{
338 +div.suggestResults ul li a{
336 336   display: block;
337 337   text-decoration: none;
338 338   background-color: transparent;
... ... @@ -340,35 +340,34 @@
340 340   padding: 0;
341 341   width: 100%;
342 342  }
343 -.suggestResults ul li a .suggestItem{
346 +div.suggestResults ul li a span.suggestItem{
344 344   display: block;
345 345   padding: 0;
346 346   margin: 0;
347 347   clear: both;
348 348  }
349 -.suggestResults ul li a .suggestItem .suggestName{
352 +div.suggestResults ul li a span.suggestItem span.suggestName{
350 350   text-align: left;
351 351   width: 60%;
352 352   color: #4D4D4D;
353 353   display:inline-block;
354 - font-weight: bold;
355 355   font-size: 90%;
356 356   padding-left: 6px;
357 357   margin: 0px;
358 358  }
359 -.suggestResults ul li a:hover .suggestItem .suggestName{
361 +div.suggestResults ul li a:hover span.suggestItem span.suggestName{
360 360   text-decoration: underline;
361 361  }
362 -.suggestResults ul li a:hover .suggestItem .suggestName em{
364 +div.suggestResults ul li a:hover span.suggestItem span.suggestName em{
363 363   text-decoration: underline;
364 364  }
365 -.suggestResults ul li a:hover .suggestItem .suggestLocation{
366 - color: #39397F;
367 +div.suggestResults ul li a:hover span.suggestItem span.suggestLocation{
368 + color: #5599FF;
367 367   text-decoration: none;
368 368  }
369 -.suggestResults ul li a .suggestItem .suggestLocation{
371 +div.suggestResults ul li a span.suggestItem span.suggestLocation{
370 370   text-align: right;
371 - color: #aaa;
373 + color: #cccccc;
372 372   font-size: 90%;
373 373   width: 36%;
374 374   vertical-align: top;
... ... @@ -377,7 +377,7 @@
377 377   margin: 0px;
378 378  }
379 379  em{
380 - color:orange;
382 + background-color:#F7FF94;
381 381   padding:0;
382 382   margin: 0;
383 383   text-decoration: inherited;