Changes for page ListWebSearch

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

From version 308.1
edited by Ecaterina Valica
on 2009/03/23 15:43
Change comment: There is no comment for this version
To version 363.1
edited by Ecaterina Valica
on 2009/03/24 14:43
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>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,6 +4,3 @@
1 -body{
2 - position:relative;
3 - }
4 4  #search{
5 5   width: 100%;
6 6   background-color: #fff;
... ... @@ -24,7 +24,6 @@
24 24   color: #4d4d4d;
25 25   font-size:15px;
26 26   width: 400px;
27 - height: 26px;
28 28  }
29 29  .searchButton{
30 30   background-color:#B3B3B3;
... ... @@ -313,30 +313,33 @@
313 313   height: 1px;
314 314   margin: 0 211px;
315 315  }
312 +html>body div.suggestResults{
313 + width: 422px;
314 +}
316 316  div.suggestResults{
316 + width: 400px;
317 317   position: absolute;
318 - padding: 10px 0 0 0;
319 - z-index: 100013;
318 + padding: 11px 0px;
319 + margin: 0px;
320 + z-index: 1000;
320 320   left: 5px;
321 - top: 14px;
322 - width: 400px;
322 + top: 27px;
323 323  }
324 324  div.suggestResults ul{
325 325   list-style: none;
326 - margin: 0 0 -4px 0;
326 + list-style-position: outside;
327 + margin: 0;
327 327   padding: 0;
328 - overflow: hidden;
329 - background-color: #fff;
329 + background: #FFFFFF url($xwiki.getSkinFile("greyback2.png")) repeat-x scroll 0 0
330 330   border: 2px solid #ccc;
331 + border-top: none;
331 331  }
332 332  div.suggestResults ul li{
333 - color: #ccc;
334 334   padding: 0;
335 - margin: 0 4px 4px;
335 + margin: 0;
336 336   text-align: left;
337 337  }
338 338  div.suggestResults ul li a{
339 - color: #4D4D4D;
340 340   display: block;
341 341   text-decoration: none;
342 342   background-color: transparent;
... ... @@ -344,33 +344,45 @@
344 344   padding: 0;
345 345   width: 100%;
346 346  }
347 -div.suggestResults ul li a:hover{
348 - background-color: #fff;
349 -}
350 350  div.suggestResults ul li a span.suggestItem{
351 351   display: block;
352 - padding: 3px 6px;
353 - font-weight: normal;
354 - width: 100%;
348 + padding: 0;
349 + margin: 0;
355 355   clear: both;
356 356  }
357 357  div.suggestResults ul li a span.suggestItem span.suggestName{
358 358   text-align: left;
359 359   width: 60%;
355 + color: #4D4D4D;
360 360   display:inline-block;
357 + font-weight: bold;
358 + font-size: 90%;
359 + padding-left: 6px;
360 + margin: 0px;
361 361  }
362 362  div.suggestResults ul li a:hover span.suggestItem span.suggestName{
363 363   text-decoration: underline;
364 364  }
365 -div.suggestResults ul li a span.suggestItem span.suggestlocation{
365 +div.suggestResults ul li a:hover span.suggestItem span.suggestName em{
366 + text-decoration: underline;
367 +}
368 +div.suggestResults ul li a:hover span.suggestItem span.suggestLocation{
369 + color: #5599FF;
370 + text-decoration: none;
371 +}
372 +div.suggestResults ul li a span.suggestItem span.suggestLocation{
366 366   text-align: right;
367 367   color: #cccccc;
375 + font-size: 90%;
368 368   width: 36%;
369 369   vertical-align: top;
370 370   display:inline-block;
371 371   padding-right: 6px;
380 + margin: 0px;
372 372  }
373 -div.suggestResults ul em{
374 - font-style: normal;
375 - color: #5599FF;
382 +em{
383 + background-color:#F7FF94;
384 + padding:0;
385 + margin: 0;
386 + text-decoration: inherited;
376 376  }