Changes for page ListWebSearch

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

From version 301.1
edited by Ecaterina Valica
on 2009/03/22 12:19
Change comment: There is no comment for this version
To version 367.1
edited by Ecaterina Valica
on 2009/03/24 14:52
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
... ... @@ -1,8 +1,4 @@
1 -#search{
2 - width: 100%;
3 - background-color: #fff;
4 -}
5 -/* Search Bar*/
1 +39397F Bar*/
6 6  #searchBar{
7 7   margin-bottom: 11px;
8 8   padding-left: 5px;
... ... @@ -20,6 +20,7 @@
20 20   border: 2px solid #CCCCCC;
21 21   color: #4d4d4d;
22 22   font-size:15px;
19 + width: 400px;
23 23  }
24 24  .searchButton{
25 25   background-color:#B3B3B3;
... ... @@ -168,10 +168,10 @@
168 168   width: 82%;
169 169  }
170 170  .itemDescription a{
171 - color: #5599ff;
168 + color: #39397F;
172 172  }
173 173  .itemDescription a:hover{
174 - color: #5599ff;
171 + color: #39397F;
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: #808080;
193 + color: #aaa;
197 197   font-size:90%;
198 198  }
199 199  .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{}
200 200  .itemModifiers{
201 - color: #808080;
198 + color: #aaa;
202 202   font-size:90%;
203 203  }
204 204  .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{}
... ... @@ -207,7 +207,6 @@
207 207   padding: 0px 5px 0px 5px;
208 208  }
209 209  .itemOthers{
210 - color: #808080;
211 211   font-size:80%;
212 212  }
213 213  .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{
... ... @@ -308,3 +308,79 @@
308 308   height: 1px;
309 309   margin: 0 211px;
310 310  }
307 +html>body div.suggestResults{
308 + width: 422px;
309 +}
310 +div.suggestResults{
311 + width: 400px;
312 + position: absolute;
313 + padding: 11px 0px;
314 + margin: 0px;
315 + z-index: 1000;
316 + left: 5px;
317 + top: 27px;
318 +}
319 +div.suggestResults ul{
320 + list-style: none;
321 + list-style-position: outside;
322 + margin: 0;
323 + padding: 0;
324 + background: #FFFFFF url($xwiki.getSkinFile("greyback2.png")) repeat-x scroll 0 0;
325 + border: 2px solid #ccc;
326 + border-top: none;
327 +}
328 +div.suggestResults ul li{
329 + padding: 0;
330 + margin: 0;
331 + text-align: left;
332 +}
333 +div.suggestResults ul li a{
334 + display: block;
335 + text-decoration: none;
336 + background-color: transparent;
337 + position: relative;
338 + padding: 0;
339 + width: 100%;
340 +}
341 +div.suggestResults ul li a span.suggestItem{
342 + display: block;
343 + padding: 0;
344 + margin: 0;
345 + clear: both;
346 +}
347 +div.suggestResults ul li a span.suggestItem span.suggestName{
348 + text-align: left;
349 + width: 60%;
350 + color: #4D4D4D;
351 + display:inline-block;
352 + font-weight: bold;
353 + font-size: 90%;
354 + padding-left: 6px;
355 + margin: 0px;
356 +}
357 +div.suggestResults ul li a:hover span.suggestItem span.suggestName{
358 + text-decoration: underline;
359 +}
360 +div.suggestResults ul li a:hover span.suggestItem span.suggestName em{
361 + text-decoration: underline;
362 +}
363 +div.suggestResults ul li a:hover span.suggestItem span.suggestLocation{
364 + color: #39397F;
365 + text-decoration: none;
366 +}
367 +div.suggestResults ul li a span.suggestItem span.suggestLocation{
368 + text-align: right;
369 + color: #cccccc;
370 + font-size: 90%;
371 + width: 36%;
372 + vertical-align: top;
373 + display:inline-block;
374 + padding-right: 6px;
375 + margin: 0px;
376 +}
377 +em{
378 + color:#5599FF;
379 + padding:0;
380 + margin: 0;
381 + text-decoration: inherited;
382 +}