Changes for page ListWebSearch

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

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

Summary

Details

Page properties
Content
... ... @@ -33,8 +33,7 @@
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="">
37 - <div id="searchBar">
36 +<form action="" id="searchBar">
38 38   {pre}
39 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,7 +41,6 @@
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>
43 43   {/pre}
44 - </div>
45 45  </form>
46 46  #includeInContext("XWiki.WebSearchCode")
47 47  #includeInContext("XWiki.ListSuggestions")
XWiki.StyleSheetExtension[0]
Code
... ... @@ -26,7 +26,6 @@
26 26   background-color:#B3B3B3;
27 27   border:2px solid #B3B3B3;
28 28   color:#FFFFFF;
29 - font-family:Verdana;
30 30   font-size:11px;
31 31   font-variant:small-caps;
32 32   font-weight:bold;
... ... @@ -43,12 +43,12 @@
43 43   font-size: 90%;
44 44  }
45 45  #sortFilter{
46 - color: #808080;
45 + color: #aaa;
47 47   padding: 5px;
48 48   line-height: 16px;
49 49  }
50 50  #sortFilter a.sortType{
51 - color: #808080;
50 + color: #aaa;
52 52  }
53 53  #sortFilter a.sortType:hover{
54 54   color: #4D4D4D;
... ... @@ -64,7 +64,7 @@
64 64   outline: dotted 1px #000;
65 65  }
66 66  .paginationFilter {
67 - color: #808080;
66 + color: #aaa;
68 68   height: 100%;
69 69   border-top: 1px solid #CCCCCC;
70 70   padding: 2px 0px 5px 5px;
... ... @@ -75,7 +75,7 @@
75 75   float: left;
76 76  }
77 77  .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
78 - color: #808080;
77 + color: #aaa;
79 79  }
80 80  .pagination{
81 81   float: right;
... ... @@ -82,7 +82,7 @@
82 82   margin-right: 10px;
83 83  }
84 84  .pagination a{
85 - color: #808080;
84 + color: #aaa;
86 86  }
87 87  .pagination a:hover{
88 88   color: #4D4D4D;
... ... @@ -169,10 +169,10 @@
169 169   width: 82%;
170 170  }
171 171  .itemDescription a{
172 - color: #5599ff;
171 + color: #39397F;
173 173  }
174 174  .itemDescription a:hover{
175 - color: #5599ff;
174 + color: #39397F;
176 176  }
177 177  .itemDescription a:focus {
178 178   outline: dotted 1px #000;
... ... @@ -194,12 +194,12 @@
194 194   outline: dotted 1px #000;
195 195  }
196 196  .itemLocation{
197 - color: #808080;
196 + color: #aaa;
198 198   font-size:90%;
199 199  }
200 200  .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{}
201 201  .itemModifiers{
202 - color: #808080;
201 + color: #aaa;
203 203   font-size:90%;
204 204  }
205 205  .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{}
... ... @@ -208,7 +208,6 @@
208 208   padding: 0px 5px 0px 5px;
209 209  }
210 210  .itemOthers{
211 - color: #808080;
212 212   font-size:80%;
213 213  }
214 214  .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{
... ... @@ -285,7 +285,6 @@
285 285  .relevanceText{
286 286   float: right;
287 287   margin-right: 5px;
288 - color: #808080;
289 289   font-size:80%;
290 290  }
291 291  .resultSeparator{
... ... @@ -309,10 +309,10 @@
309 309   height: 1px;
310 310   margin: 0 211px;
311 311  }
312 -html>body div.suggestResults{
309 +html>body .suggestResults{
313 313   width: 422px;
314 314  }
315 -div.suggestResults{
312 +.suggestResults{
316 316   width: 400px;
317 317   position: absolute;
318 318   padding: 11px 0px;
... ... @@ -321,21 +321,21 @@
321 321   left: 5px;
322 322   top: 27px;
323 323  }
324 -div.suggestResults ul{
321 +.suggestResults ul{
325 325   list-style: none;
326 326   list-style-position: outside;
327 327   margin: 0;
328 328   padding: 0;
329 - background: #FFFFFF url($xwiki.getSkinFile("greyback2.png")) repeat-x scroll 0 0;
326 + background: #FFFFFF url($xwiki.getSkinFile('greyback2.png')) repeat-x scroll 0 0;
330 330   border: 2px solid #ccc;
331 331   border-top: none;
332 332  }
333 -div.suggestResults ul li{
334 - padding: 0;
330 +.suggestResults ul li{
331 + padding: 5px 0 0;
335 335   margin: 0;
336 336   text-align: left;
337 337  }
338 -div.suggestResults ul li a{
335 +.suggestResults ul li a{
339 339   display: block;
340 340   text-decoration: none;
341 341   background-color: transparent;
... ... @@ -343,13 +343,13 @@
343 343   padding: 0;
344 344   width: 100%;
345 345  }
346 -div.suggestResults ul li a span.suggestItem{
343 +.suggestResults ul li a .suggestItem{
347 347   display: block;
348 348   padding: 0;
349 349   margin: 0;
350 350   clear: both;
351 351  }
352 -div.suggestResults ul li a span.suggestItem span.suggestName{
349 +.suggestResults ul li a .suggestItem .suggestName{
353 353   text-align: left;
354 354   width: 60%;
355 355   color: #4D4D4D;
... ... @@ -359,19 +359,19 @@
359 359   padding-left: 6px;
360 360   margin: 0px;
361 361  }
362 -div.suggestResults ul li a:hover span.suggestItem span.suggestName{
359 +.suggestResults ul li a:hover .suggestItem .suggestName{
363 363   text-decoration: underline;
364 364  }
365 -div.suggestResults ul li a:hover span.suggestItem span.suggestName em{
362 +.suggestResults ul li a:hover .suggestItem .suggestName em{
366 366   text-decoration: underline;
367 367  }
368 -div.suggestResults ul li a:hover span.suggestItem span.suggestLocation{
369 - color: #5599FF;
365 +.suggestResults ul li a:hover .suggestItem .suggestLocation{
366 + color: #39397F;
370 370   text-decoration: none;
371 371  }
372 -div.suggestResults ul li a span.suggestItem span.suggestLocation{
369 +.suggestResults ul li a .suggestItem .suggestLocation{
373 373   text-align: right;
374 - color: #cccccc;
371 + color: #aaa;
375 375   font-size: 90%;
376 376   width: 36%;
377 377   vertical-align: top;
... ... @@ -380,7 +380,7 @@
380 380   margin: 0px;
381 381  }
382 382  em{
383 - background-color:#F7FF94;
380 + color:orange;
384 384   padding:0;
385 385   margin: 0;
386 386   text-decoration: inherited;