Changes for page ListWebSearch

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

From version 392.1
edited by Ecaterina Valica
on 2009/03/25 10:25
Change comment: There is no comment for this version
To version 416.1
edited by Ecaterina Valica
on 2009/03/25 13:02
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -76,6 +76,12 @@
76 76  .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
77 77   color: #aaa;
78 78  }
79 +.paginationFooter{
80 + display: block;
81 + clear: both;
82 + text-align: right;
83 + font-size: 90%;
84 +}
79 79  .pagination{
80 80   float: right;
81 81   margin-right: 10px;
... ... @@ -95,37 +95,49 @@
95 95  }
96 96  .controlPagination{
97 97   position:relative;
98 - width:41px;
104 + width:42px;
99 99   height:22px;
100 100   overflow:hidden;
101 101   margin:0!important;
102 102   padding:0!important;
103 - list-style:none;
104 - background-image:url($xwiki.getSkinFile("navigation.png"));
105 105   float: right;
106 106  }
107 -.controlPagination li{
108 - display:inline;
109 -}
110 110  .controlPagination a{
111 111   position:absolute;
112 112   top:0;
113 113   left:0;
114 114   text-indent:-1000em;
115 - height:25px;
116 116   line-height:25px;
117 117   outline:none;
118 118   overflow:hidden;
119 119   border:none;
120 120  }
121 -a.prevPagination {
122 - width: 50%;
123 - z-index: 2;
121 +.controlPagination a.prevPagination {
122 + background-position:left top;
123 + background-image:url($xwiki.getSkinFile("navigation.png"));
124 + width: 21px;
125 + height: 22px;
124 124  }
125 -a.nextPagination {
126 - width: 100%;
127 - z-index: 1;
127 +.controlPagination a.noPrevPagination{
128 + background-position:left bottom;
129 + background-image:url($xwiki.getSkinFile("navigation.png"));
130 + width: 21px;
131 + height: 22px;
128 128  }
133 +.controlPagination a.nextPagination {
134 + background-position:right top;
135 + background-image:url($xwiki.getSkinFile("navigation.png"));
136 + width: 21px;
137 + height: 22px;
138 + left: 21px;
139 +}
140 +.controlPagination a.noNextPagination {
141 + background-position:right bottom;
142 + background-image:url($xwiki.getSkinFile("navigation.png"));
143 + width: 21px;
144 + height: 22px;
145 + left: 21px;
146 +}
129 129  /* Search Result*/
130 130  #searchResults{
131 131   clear: both;
... ... @@ -135,7 +135,7 @@
135 135  .resultItem{
136 136   display: block;
137 137  }
138 -.resultItemContainer{
156 +.resultContainer{
139 139   clear: both;
140 140   width: 100%;
141 141  }
... ... @@ -295,22 +295,11 @@
295 295   margin-bottom: 15px;
296 296   height: 1px;
297 297  }
298 -.searchFooter{
299 - display: block;
300 - clear: both;
301 - text-align: right;
302 - font-size: 90%;
303 -}
304 -.divClosure {
305 - background-color: transparent;
306 - clear: both;
307 - height: 1px;
308 - margin: 0 211px;
309 -}
310 310  html>body .suggestResults{
311 311   width: 422px;
312 312  }
313 313  .suggestResults{
320 + display:none;
314 314   width: 400px;
315 315   position: absolute;
316 316   padding: 11px 0px;
... ... @@ -324,7 +324,7 @@
324 324   list-style-position: outside;
325 325   margin: 0;
326 326   padding: 0;
327 - background: #FFFFFF url($xwiki.getSkinFile('greyback2.png')) repeat-x scroll 0 0;
334 + background: #FFFFFF url($xwiki.getSkinFile('suggestBg.png')) repeat-x scroll 0 0;
328 328   border: 2px solid #ccc;
329 329   border-top: none;
330 330  }
... ... @@ -347,7 +347,10 @@
347 347   margin: 0;
348 348   clear: both;
349 349  }
350 -.suggestResults ul li a .suggestItem .suggestName{
357 +.suggestResults ul li a:focus .suggestItem{
358 + outline: dotted 1px #000;
359 +}
360 +.suggestResults ul li a .suggestItem .suggestTitle{
351 351   text-align: left;
352 352   width: 60%;
353 353   color: #4D4D4D;
... ... @@ -357,13 +357,18 @@
357 357   padding-left: 6px;
358 358   margin: 0px;
359 359  }
360 -.suggestResults ul li a:hover .suggestItem .suggestName{
361 - text-decoration: underline;
370 +.suggestResults em{
371 + background-color:#F7FF94;
372 + padding:0;
373 + margin: 0;
374 + text-decoration: inherited;
362 362  }
363 -.suggestResults ul li a:hover .suggestItem .suggestName em{
376 +.suggestResults ul li a:hover .suggestItem .suggestTitle,
377 +.suggestResults ul li a:hover .suggestItem .suggestTitle em{
364 364   text-decoration: underline;
365 365  }
366 -.suggestResults ul li a:hover .suggestItem .suggestLocation{
380 +.suggestResults ul li a:hover .suggestItem .suggestLocation .suggestWiki,
381 +.suggestResults ul li a:hover .suggestItem .suggestLocation .suggestSpace{
367 367   color: #39397F;
368 368   text-decoration: none;
369 369  }
... ... @@ -377,9 +377,3 @@
377 377   padding-right: 6px;
378 378   margin: 0px;
379 379  }
380 -.suggestResults em{
381 - background-color:#F7FF94;
382 - padding:0;
383 - margin: 0;
384 - text-decoration: inherited;
385 -}