Changes for page ListWebSearch

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

From version 148.1
edited by Ecaterina Valica
on 2009/03/18 13:57
Change comment: There is no comment for this version
To version 81.1
edited by Ecaterina Valica
on 2009/03/17 15:06
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -26,6 +26,7 @@
26 26  #sortFilter{
27 27   color: #808080;
28 28   background-color: #e6e6e6;
29 + border-bottom: 2px solid #b3b3b3;
29 29   padding: 5px;
30 30  }
31 31  #sortFilter a{
... ... @@ -33,7 +33,6 @@
33 33  }
34 34  #sortFilter a:hover{
35 35   color: #777777;
36 - font-weight: bold;
37 37  }
38 38  #sortFilter a#currentSort{
39 39   color: #777777;
... ... @@ -43,7 +43,6 @@
43 43   color: #808080;
44 44   height: 100%;
45 45   background-color: #f2f2f2;
46 - border-top: 2px solid #b3b3b3;
47 47   padding: 5px;
48 48   display: block;
49 49  }
... ... @@ -61,88 +61,34 @@
61 61  }
62 62  .pagination a:hover{
63 63   color: #777777;
64 - font-weight: bold;
65 65  }
66 66  .pagination a.currentPagination{
67 67   color: #777777;
68 68   font-weight: bold;
69 69  }
70 -.controlPagination{
71 - position:relative;
72 - width:44px;
73 - height:26px;
74 - overflow:hidden;
75 - margin:0!important;
76 - padding:0!important;
77 - list-style:none;
78 - background-image:url($xwiki.getSkinFile("navigation.png"));
79 - float: right;
80 -}
81 -.controlPagination li{
82 - display:inline;
83 -}
84 -.controlPagination a{
85 - position:absolute;
86 - top:0;
87 - left:0;
88 - text-indent:-1000em;
89 - height:25px;
90 - line-height:25px;
91 - outline:none;
92 - overflow:hidden;
93 - border:none;
94 -}
95 -a.prevPagination {
96 - width: 50%;
97 - z-index: 2;
98 -}
99 -a.nextPagination {
100 - width: 100%;
101 - z-index: 1;
102 -}
68 +.pagination .controlPagination{}
103 103  /* Search Filters*/
104 104  #searchResultsList{
105 105   clear: both;
106 - display: table;
107 107  }
108 108  .resultItem{
109 - display: block;
74 + margin-bottom: 15px;
110 110  }
111 111  .resultItemContainer{
112 112   clear: both;
78 + display: table-row;
113 113   width: 100%;
114 114  }
115 115  .itemType{
116 116   float: left;
117 - display: inline-block;
118 - width: 3%;
83 + display: table-cell;
84 + width: 5%;
119 119  }
120 -.itemType .typeComment{
121 - background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
122 - display:inline-block;
123 - width:16px;
124 - height:16px;
125 -}
126 -.itemType .typeAttachment{
127 - background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
128 - display:inline-block;
129 - width:16px;
130 - height:16px;
131 -}
132 -.itemType .typePage{
133 - background:transparent;
134 - display:inline-block;
135 - width:16px;
136 - height:16px;
137 -}
138 138  .itemDescription{
139 139   float: left;
140 - display: inline-block;
141 - width: 82%;
88 + display: table-cell;
89 + width: 80%;
142 142  }
143 -.itemDescription a{
144 - color: #5599ff;
145 -}
146 146  .itemTitle{
147 147   color: #4d4d4d;
148 148   font-weight: bold;
... ... @@ -168,87 +168,14 @@
168 168   display:inline;
169 169   clear:none;
170 170   float:left;
171 - padding-right: 5px;
172 172  }
173 -.itemOthers .itemComments a{
174 - background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
175 - display:inline-block;
176 - padding-right:16px;
177 -}
178 -.itemOthers .itemAttachments a{
179 - background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
180 - display:inline-block;
181 - padding-right:16px;
182 -}
183 -.itemRating{
184 - position:relative;
185 - width:55px;
186 - height:11px;
187 - overflow:hidden;
188 - margin:1px 0 0 0!important;
189 - padding:0!important;
190 - background-position:left top;
191 - background-image:url($xwiki.getSkinFile("rating.png"));
192 -}
193 -.itemRating .currentRating{
194 - position:absolute;
195 - top:0;left:0;
196 - text-indent:-1000em;
197 - height:11px;
198 - line-height:11px;
199 - outline:none;
200 - overflow:hidden;
201 - border:none;
202 - background-image:url($xwiki.getSkinFile("rating.png"));
203 - z-index:1;
204 - background-position:left center;
205 -}
117 +.itemOthers a.itemComments, .itemOthers a.itemAttachments, .itemOthers .itemRating{}
206 206  .itemRelevance{
207 207   float: left;
208 - display: inline-block;
120 + display: table-cell;
209 209   width: 15%;
210 210   text-align: right;
211 211  }
212 -.relevance{
213 - position:relative;
214 - width:48px;
215 - height:8px;
216 - overflow:hidden;
217 - list-style:none;
218 - margin:5px 0 0 0!important;
219 - padding:0!important;
220 - background-position:left bottom;
221 - background-image:url($xwiki.getSkinFile("relevance.png"));
222 - float:right;
223 -}
224 -.relevance .currentRelevance{
225 - position:absolute;
226 - top:0;left:0;
227 - text-indent:-1000em;
228 - height:8px;
229 - line-height:8px;
230 - outline:none;
231 - overflow:hidden;
232 - border:none;
233 - background-image:url($xwiki.getSkinFile("relevance.png"));
234 - z-index:1;
235 - background-position:left top;
236 -}
237 -.relevanceText{
238 - float: right;
239 - margin-right: 5px;
240 - color: #808080;
241 - font-size:80%;
242 -}
243 -.resultSeparator{
244 - display:block;
245 - width:100%;
246 - clear:both;
247 - padding: 0;
248 - margin: 0;
249 - margin-bottom: 15px;
250 - height: 1px;
251 -}
252 252  .searchFooter{
253 253   margin-bottom: 15px;
254 254   display: block;
... ... @@ -255,9 +255,41 @@
255 255   clear: both;
256 256   text-align: right;
257 257  }
258 -.divClosure {
130 +.searchFooter .pagination {
131 + width: 100%;
132 + background-color: #f2f2f2;
133 +}
134 +.divClosure
135 +{
259 259   background-color: transparent;
260 260   clear: both;
261 261   height: 1px;
262 262   margin: 0 211px;
263 263  }
141 +/* Item Rating*/
142 +.star-rating{
143 + position:relative;
144 + width:55px;
145 + height:11px;
146 + overflow:hidden;
147 + margin:0!important;padding:0!important;
148 + background-position:left top;
149 +}
150 +.star-rating .current-rating{position:absolute;top:0;left:0;text-indent:-1000em;height:11px;line-height:11px;outline:none;overflow:hidden;border:none;}
151 +.star-rating .current-rating{z-index:1;background-position:left center;}
152 +.small-star{width:55px;height:11px;}
153 +.small-star,.small-star .current-rating{background-image:url($xwiki.getSkinFile("rating.png"));line-height:11px;height:11px;}
154 +
155 +/* Item Relevance*/
156 +.relevance-rating{position:relative;width:48px;height:8px;overflow:hidden;list-style:none;margin:0!important;padding:0!important;background-position:left bottom;}
157 +.relevance-rating .current-rating{position:absolute;top:0;left:0;text-indent:-1000em;height:8px;line-height:8px;outline:none;overflow:hidden;border:none;}
158 +.relevance-rating .current-rating{z-index:1;background-position:left top;}
159 +.small-relevance{width:48px;height:8px;}
160 +.small-relevance{
161 +background-image:url($xwiki.getSkinFile("relevance.png"));line-height:8px;height:8px;
162 +}
163 +.small-relevance .current-rating{
164 +background-image:url($xwiki.getSkinFile("relevance.png"));line-height:8px;height:8px;}
165 +.small-relevance .current-rating{height:8px;}
166 +
167 +