Changes for page ListWebSearch

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

From version 391.1
edited by Ecaterina Valica
on 2009/03/25 10:19
Change comment: There is no comment for this version
To version 415.1
edited by Ecaterina Valica
on 2009/03/25 13:01
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,39 +95,52 @@
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 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;
122 +.controlPagination a.prevPagination {
123 + background-position:left top;
124 + background-image:url($xwiki.getSkinFile("navigation.png"));
125 + width: 21px;
126 + height: 22px;
124 124  }
125 -a.nextPagination {
126 - width: 100%;
127 - z-index: 1;
128 +.controlPagination a.noPrevPagination{
129 + background-position:left bottom;
130 + background-image:url($xwiki.getSkinFile("navigation.png"));
131 + width: 21px;
132 + height: 22px;
128 128  }
129 -/* Search Result List*/
130 -#searchResultsList{
134 +.controlPagination a.nextPagination {
135 + background-position:right top;
136 + background-image:url($xwiki.getSkinFile("navigation.png"));
137 + width: 21px;
138 + height: 22px;
139 + left: 21px;
140 +}
141 +.controlPagination a.noNextPagination {
142 + background-position:right bottom;
143 + background-image:url($xwiki.getSkinFile("navigation.png"));
144 + width: 21px;
145 + height: 22px;
146 + left: 21px;
147 +}
148 +/* Search Result*/
149 +#searchResults{
131 131   clear: both;
132 132   display: table;
133 133   padding-top: 15px;
... ... @@ -135,7 +135,7 @@
135 135  .resultItem{
136 136   display: block;
137 137  }
138 -.resultItemContainer{
157 +.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{
321 + 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;
335 + 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{
358 +.suggestResults ul li a:focus .suggestItem{
359 + outline: dotted 1px #000;
360 +}
361 +.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;
371 +.suggestResults em{
372 + background-color:#F7FF94;
373 + padding:0;
374 + margin: 0;
375 + text-decoration: inherited;
362 362  }
363 -.suggestResults ul li a:hover .suggestItem .suggestName em{
377 +.suggestResults ul li a:hover .suggestItem .suggestTitle,
378 +.suggestResults ul li a:hover .suggestItem .suggestTitle em{
364 364   text-decoration: underline;
365 365  }
366 -.suggestResults ul li a:hover .suggestItem .suggestLocation{
381 +.suggestResults ul li a:hover .suggestItem .suggestLocation .suggestWiki,
382 +.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 -}