Changes for page ListWebSearch

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

From version 302.1
edited by Ecaterina Valica
on 2009/03/22 12:29
Change comment: There is no comment for this version
To version 327.1
edited by Ecaterina Valica
on 2009/03/23 16:32
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;
... ... @@ -118,9 +118,6 @@
118 118   overflow:hidden;
119 119   border:none;
120 120  }
121 -.controlPagination a:focus {
122 - outline: dotted 1px #000;
123 -}
124 124  a.prevPagination {
125 125   width: 50%;
126 126   z-index: 2;
... ... @@ -311,3 +311,74 @@
311 311   height: 1px;
312 312   margin: 0 211px;
313 313  }
312 +div.suggestResults{
313 + position: absolute;
314 + padding: 11px 0px;
315 + margin: 0px;
316 + z-index: 100013;
317 + left: 5px;
318 + top: 27px;
319 + width: 422px;
320 + opacity: 100;
321 +}
322 +div.suggestResults ul{
323 + list-style: none;
324 + list-style-position: outside;
325 + margin: 0;
326 + padding: 0;
327 + overflow: hidden;
328 + background-color: #fff;
329 + border: 2px solid #ccc;
330 + border-top: none;
331 +}
332 +div.suggestResults ul li{
333 + color: #ccc;
334 + padding: 0;
335 + margin: 0;
336 + text-align: left;
337 +}
338 +div.suggestResults ul li a{
339 + color: #4D4D4D;
340 + display: block;
341 + text-decoration: none;
342 + background-color: transparent;
343 + position: relative;
344 + padding: 0;
345 + width: 100%;
346 +}
347 +div.suggestResults ul li a:hover{
348 + background-color: #fff;
349 +}
350 +div.suggestResults ul li a span.suggestItem{
351 + display: block;
352 + padding: 0;
353 + margin: 0;
354 + font-weight: normal;
355 + clear: both;
356 + overflow:hidden;
357 +}
358 +div.suggestResults ul li a span.suggestItem span.suggestName{
359 + text-align: left;
360 + width: 60%;
361 + display:inline-block;
362 + font-weight: bold;
363 + padding-left: 6px;
364 + margin: 0px;
365 +}
366 +div.suggestResults ul li a:hover span.suggestItem span.suggestName{
367 + text-decoration: underline;
368 +}
369 +div.suggestResults ul li a span.suggestItem span.suggestLocation{
370 + text-align: right;
371 + color: #cccccc;
372 + font-size: 90%;
373 + width: 36%;
374 + vertical-align: top;
375 + display:inline-block;
376 + padding-right: 6px;
377 + margin: 0px;
378 +}
379 +div.suggestResults ul em{
380 + font-style: normal;
381 + color: #5599FF;
382 +}