Changes for page ListWebSearch

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

From version 367.1
edited by Ecaterina Valica
on 2009/03/24 14:52
Change comment: There is no comment for this version
To version 385.1
edited by Ecaterina Valica
on 2009/03/24 16:12
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")
variants.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +179.5 KB
Content
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,4 +1,8 @@
1 -39397F Bar*/
1 +#search{
2 + width: 100%;
3 + background-color: #fff;
4 +}
5 +/* Search Bar*/
2 2  #searchBar{
3 3   margin-bottom: 11px;
4 4   padding-left: 5px;
... ... @@ -39,12 +39,12 @@
39 39   font-size: 90%;
40 40  }
41 41  #sortFilter{
42 - color: #808080;
46 + color: #aaa;
43 43   padding: 5px;
44 44   line-height: 16px;
45 45  }
46 46  #sortFilter a.sortType{
47 - color: #808080;
51 + color: #aaa;
48 48  }
49 49  #sortFilter a.sortType:hover{
50 50   color: #4D4D4D;
... ... @@ -60,7 +60,7 @@
60 60   outline: dotted 1px #000;
61 61  }
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;
... ... @@ -280,7 +280,6 @@
280 280  .relevanceText{
281 281   float: right;
282 282   margin-right: 5px;
283 - color: #808080;
284 284   font-size:80%;
285 285  }
286 286  .resultSeparator{
... ... @@ -304,10 +304,10 @@
304 304   height: 1px;
305 305   margin: 0 211px;
306 306  }
307 -html>body div.suggestResults{
310 +html>body .suggestResults{
308 308   width: 422px;
309 309  }
310 -div.suggestResults{
313 +.suggestResults{
311 311   width: 400px;
312 312   position: absolute;
313 313   padding: 11px 0px;
... ... @@ -316,21 +316,21 @@
316 316   left: 5px;
317 317   top: 27px;
318 318  }
319 -div.suggestResults ul{
322 +.suggestResults ul{
320 320   list-style: none;
321 321   list-style-position: outside;
322 322   margin: 0;
323 323   padding: 0;
324 - background: #FFFFFF url($xwiki.getSkinFile("greyback2.png")) repeat-x scroll 0 0;
327 + background: #FFFFFF url($xwiki.getSkinFile('greyback2.png')) repeat-x scroll 0 0;
325 325   border: 2px solid #ccc;
326 326   border-top: none;
327 327  }
328 -div.suggestResults ul li{
329 - padding: 0;
331 +.suggestResults ul li{
332 + padding: 5px 0 0;
330 330   margin: 0;
331 331   text-align: left;
332 332  }
333 -div.suggestResults ul li a{
336 +.suggestResults ul li a{
334 334   display: block;
335 335   text-decoration: none;
336 336   background-color: transparent;
... ... @@ -338,13 +338,13 @@
338 338   padding: 0;
339 339   width: 100%;
340 340  }
341 -div.suggestResults ul li a span.suggestItem{
344 +.suggestResults ul li a .suggestItem{
342 342   display: block;
343 343   padding: 0;
344 344   margin: 0;
345 345   clear: both;
346 346  }
347 -div.suggestResults ul li a span.suggestItem span.suggestName{
350 +.suggestResults ul li a .suggestItem .suggestName{
348 348   text-align: left;
349 349   width: 60%;
350 350   color: #4D4D4D;
... ... @@ -354,19 +354,19 @@
354 354   padding-left: 6px;
355 355   margin: 0px;
356 356  }
357 -div.suggestResults ul li a:hover span.suggestItem span.suggestName{
360 +.suggestResults ul li a:hover .suggestItem .suggestName{
358 358   text-decoration: underline;
359 359  }
360 -div.suggestResults ul li a:hover span.suggestItem span.suggestName em{
363 +.suggestResults ul li a:hover .suggestItem .suggestName em{
361 361   text-decoration: underline;
362 362  }
363 -div.suggestResults ul li a:hover span.suggestItem span.suggestLocation{
366 +.suggestResults ul li a:hover .suggestItem .suggestLocation{
364 364   color: #39397F;
365 365   text-decoration: none;
366 366  }
367 -div.suggestResults ul li a span.suggestItem span.suggestLocation{
370 +.suggestResults ul li a .suggestItem .suggestLocation{
368 368   text-align: right;
369 - color: #cccccc;
372 + color: #aaa;
370 370   font-size: 90%;
371 371   width: 36%;
372 372   vertical-align: top;
... ... @@ -375,7 +375,7 @@
375 375   margin: 0px;
376 376  }
377 377  em{
378 - color:#5599FF;
381 + color:orange;
379 379   padding:0;
380 380   margin: 0;
381 381   text-decoration: inherited;