Changes for page ListWebSearch

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

From version 134.1
edited by Ecaterina Valica
on 2009/03/18 13:14
Change comment: There is no comment for this version
To version 82.1
edited by Ecaterina Valica
on 2009/03/17 15:08
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,7 +61,6 @@
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,69 +68,28 @@
68 68   font-weight: bold;
69 69  }
70 70  .pagination .controlPagination{}
71 -.controlPagination{
72 - position:relative;
73 - width:44px;
74 - height:26px;
75 - overflow:hidden;
76 - margin:0!important;
77 - padding:0!important;
78 - background-position:left top;
79 - background-image:url($xwiki.getSkinFile("navigation.png"));
80 -}
81 -.controlPagination a.nextPagination {
82 - position:relative;
83 - width:44px;
84 - height:26px;
85 - overflow:hidden;
86 - margin:0!important;
87 - padding:0!important;
88 - background-position:right top;
89 - background-image:url($xwiki.getSkinFile("navigation.png"));
90 -}
91 91  /* Search Filters*/
92 92  #searchResultsList{
93 93   clear: both;
94 - display: table;
95 95  }
96 96  .resultItem{
97 - display: block;
74 + margin-bottom: 15px;
98 98  }
99 99  .resultItemContainer{
100 100   clear: both;
78 + display: table-row;
101 101   width: 100%;
102 102  }
103 103  .itemType{
104 104   float: left;
105 - display: inline-block;
106 - width: 2%;
83 + display: table-cell;
84 + width: 5%;
107 107  }
108 -.itemType .typeComment{
109 - background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
110 - display:inline-block;
111 - width:16px;
112 - height:16px;
113 -}
114 -.itemType .typeAttachment{
115 - background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
116 - display:inline-block;
117 - width:16px;
118 - height:16px;
119 -}
120 -.itemType .typePage{
121 - background:transparent;
122 - display:inline-block;
123 - width:16px;
124 - height:16px;
125 -}
126 126  .itemDescription{
127 127   float: left;
128 - display: inline-block;
129 - width: 83%;
88 + display: table-cell;
89 + width: 80%;
130 130  }
131 -.itemDescription a{
132 - color: #5599ff;
133 -}
134 134  .itemTitle{
135 135   color: #4d4d4d;
136 136   font-weight: bold;
... ... @@ -156,29 +156,41 @@
156 156   display:inline;
157 157   clear:none;
158 158   float:left;
159 - padding-right: 5px;
160 160  }
161 -.itemOthers .itemComments a{
162 - background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
163 - display:inline-block;
164 - padding-right:16px;
117 +.itemOthers a.itemComments, .itemOthers a.itemAttachments, .itemOthers .itemRating{}
118 +.itemRelevance{
119 + float: left;
120 + display: table-cell;
121 + width: 15%;
122 + text-align: right;
165 165  }
166 -.itemOthers .itemAttachments a{
167 - background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
168 - display:inline-block;
169 - padding-right:16px;
124 +.searchFooter{
125 + margin-bottom: 15px;
126 + display: block;
127 + clear: both;
128 + text-align: right;
170 170  }
171 -.itemRating{
130 +.searchFooter .pagination {
131 + width: 100%;
132 + background-color: #f2f2f2;
133 +}
134 +.divClosure
135 +{
136 + background-color: transparent;
137 + clear: both;
138 + height: 1px;
139 + margin: 0 211px;
140 +}
141 +/* Item Rating*/
142 +.star-rating{
172 172   position:relative;
173 173   width:55px;
174 174   height:11px;
175 175   overflow:hidden;
176 - margin:1px 0 0 0!important;
177 - padding:0!important;
147 + margin:0!important;padding:0!important;
178 178   background-position:left top;
179 - background-image:url($xwiki.getSkinFile("rating.png"));
180 180  }
181 -.itemRating .currentRating{
150 +.star-rating .current-rating{
182 182   position:absolute;
183 183   top:0;left:0;
184 184   text-indent:-1000em;
... ... @@ -187,64 +187,22 @@
187 187   outline:none;
188 188   overflow:hidden;
189 189   border:none;
190 - background-image:url($xwiki.getSkinFile("rating.png"));
191 191   z-index:1;
192 192   background-position:left center;
193 193  }
194 -.itemRelevance{
195 - float: left;
196 - display: inline-block;
197 - width: 15%;
198 - text-align: right;
162 +.small-star{width:55px;height:11px;}
163 +.small-star,.small-star .current-rating{background-image:url($xwiki.getSkinFile("rating.png"));line-height:11px;height:11px;}
164 +
165 +/* Item Relevance*/
166 +.relevance-rating{position:relative;width:48px;height:8px;overflow:hidden;list-style:none;margin:0!important;padding:0!important;background-position:left bottom;}
167 +.relevance-rating .current-rating{position:absolute;top:0;left:0;text-indent:-1000em;height:8px;line-height:8px;outline:none;overflow:hidden;border:none;}
168 +.relevance-rating .current-rating{z-index:1;background-position:left top;}
169 +.small-relevance{width:48px;height:8px;}
170 +.small-relevance{
171 +background-image:url($xwiki.getSkinFile("relevance.png"));line-height:8px;height:8px;
199 199  }
200 -.relevance{
201 - position:relative;
202 - width:48px;
203 - height:8px;
204 - overflow:hidden;
205 - list-style:none;
206 - margin:5px 0 0 0!important;
207 - padding:0!important;
208 - background-position:left bottom;
209 - background-image:url($xwiki.getSkinFile("relevance.png"));
210 - float:right;
211 -}
212 -.relevance .currentRelevance{
213 - position:absolute;
214 - top:0;left:0;
215 - text-indent:-1000em;
216 - height:8px;
217 - line-height:8px;
218 - outline:none;
219 - overflow:hidden;
220 - border:none;
221 - background-image:url($xwiki.getSkinFile("relevance.png"));
222 - z-index:1;
223 - background-position:left top;
224 -}
225 -.relevanceText{
226 - float: right;
227 - margin-right: 5px;
228 - color: #808080;
229 - font-size:80%;
230 -}
231 -.resultSeparator{
232 - display:block;
233 - width:100%;
234 - clear:both;
235 -}
236 -.searchFooter{
237 - margin-bottom: 15px;
238 - display: block;
239 - clear: both;
240 - text-align: right;
241 -}
242 -.searchFooter .pagination {
243 - width: 100%;
244 -}
245 -.divClosure {
246 - background-color: transparent;
247 - clear: both;
248 - height: 1px;
249 - margin: 0 211px;
250 -}
173 +.small-relevance .current-rating{
174 +background-image:url($xwiki.getSkinFile("relevance.png"));line-height:8px;height:8px;}
175 +.small-relevance .current-rating{height:8px;}
176 +
177 +