Changes for page ListWebSearch

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

From version 241.1
edited by Ecaterina Valica
on 2009/03/20 16:01
Change comment: There is no comment for this version
To version 306.1
edited by Ecaterina Valica
on 2009/03/23 15:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,5 @@
1 1  $xwiki.ssx.use("Main.ListWebSearch")
2 2  
3 -1 Search
4 -
5 5  #if(!$request.space)
6 6   #set($space = "All")
7 7  #else
... ... @@ -46,5 +46,6 @@
46 46   </div>
47 47  </form>
48 48  #includeInContext("XWiki.WebSearchCode")
47 +#includeInContext("XWiki.ListSuggestions")
49 49  #includeInContext("XWiki.ListResults")
50 50  </div>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -9,25 +9,27 @@
9 9   clear: both;
10 10  }
11 11  #searchBar select {
12 - border: 1px solid #CCCCCC;
12 + border: 2px solid #CCCCCC;
13 13   color: #4d4d4d;
14 + font-size:15px;
14 14  }
15 15  .searchQuery{
16 16   background:transparent url($xwiki.getSkinFile("search.png")) center left no-repeat;
17 17   display:inline-block;
18 18   padding-left:18px;
19 - border: 1px solid #CCCCCC;
20 + border: 2px solid #CCCCCC;
20 20   color: #4d4d4d;
22 + font-size:15px;
21 21  }
22 22  .searchButton{
23 23   background-color:#B3B3B3;
24 - border:1px solid #B3B3B3;
26 + border:2px solid #B3B3B3;
25 25   color:#FFFFFF;
26 26   font-family:Verdana;
27 - font-size:10px;
29 + font-size:11px;
28 28   font-variant:small-caps;
29 29   font-weight:bold;
30 - height:20px;
32 + height:23px;
31 31   line-height:12px;
32 32  }
33 33  .searchHelp{
... ... @@ -47,13 +47,19 @@
47 47  #sortFilter a.sortType{
48 48   color: #808080;
49 49  }
50 -#sortFilter a:hover{
52 +#sortFilter a.sortType:hover{
51 51   color: #4D4D4D;
52 52  }
55 +#sortFilter a.sortType:focus {
56 + outline: dotted 1px #000;
57 +}
53 53  #sortFilter a#currentSort{
54 54   color: #4D4D4D;
55 55   font-weight: bold;
56 56  }
62 +#sortFilter a#currentSort:focus {
63 + outline: dotted 1px #000;
64 +}
57 57  .paginationFilter {
58 58   color: #808080;
59 59   height: 100%;
... ... @@ -82,6 +82,9 @@
82 82   color: #4D4D4D;
83 83   font-weight: bold;
84 84  }
93 +.pagination a:focus {
94 + outline: dotted 1px #000;
95 +}
85 85  .controlPagination{
86 86   position:relative;
87 87   width:41px;
... ... @@ -162,6 +162,9 @@
162 162  .itemDescription a:hover{
163 163   color: #5599ff;
164 164  }
176 +.itemDescription a:focus {
177 + outline: dotted 1px #000;
178 +}
165 165  .itemTitle a{
166 166   color: #4d4d4d;
167 167   font-weight: bold;
... ... @@ -172,6 +172,12 @@
172 172   font-weight: bold;
173 173   font-size:130%;
174 174  }
189 +.itemTitle a:focus {
190 + outline: dotted 1px #000;
191 +}
192 +a.itemAuthor:focus{
193 + outline: dotted 1px #000;
194 +}
175 175  .itemLocation{
176 176   color: #808080;
177 177   font-size:90%;
... ... @@ -288,3 +288,64 @@
288 288   height: 1px;
289 289   margin: 0 211px;
290 290  }
311 +div.suggestResults{
312 + position: absolute;
313 + padding: 10px 0 0 0;
314 + z-index: 100013;
315 + left: 5px;
316 + top: 14px;
317 + width: 400px;
318 +}
319 +div.suggestResults ul{
320 + list-style: none;
321 + margin: 0 0 -4px 0;
322 + padding: 0;
323 + overflow: hidden;
324 + background-color: #fff;
325 + border: 2px solid #ccc;
326 +}
327 +div.suggestResults ul li{
328 + color: #ccc;
329 + padding: 0;
330 + margin: 0 4px 4px;
331 + text-align: left;
332 +}
333 +div.suggestResults ul li a{
334 + color: #4D4D4D;
335 + display: block;
336 + text-decoration: none;
337 + background-color: transparent;
338 + position: relative;
339 + padding: 0;
340 + width: 100%;
341 +}
342 +div.suggestResults ul li a:hover{
343 + background-color: #fff;
344 +}
345 +div.suggestResults ul li a span.suggestItem{
346 + display: block;
347 + padding: 3px 6px;
348 + font-weight: normal;
349 + width: 100%;
350 + clear: both;
351 +}
352 +div.suggestResults ul li a span.suggestItem span.suggestName{
353 + text-align: left;
354 + width: 60%;
355 + display:inline-block;
356 +}
357 +div.suggestResults ul li a:hover span.suggestItem span.suggestName{
358 + text-decoration: underline;
359 +}
360 +div.suggestResults ul li a span.suggestItem span.suggestlocation{
361 + text-align: right;
362 + color: #cccccc;
363 + width: 36%;
364 + vertical-align: top;
365 + display:inline-block;
366 + padding-right: 6px;
367 +}
368 +div.suggestResults ul em{
369 + font-style: normal;
370 + color: #5599FF;
371 +}