Changes for page ListWebSearch

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

From version 83.1
edited by Ecaterina Valica
on 2009/03/17 15:10
Change comment: There is no comment for this version
To version 107.1
edited by Ecaterina Valica
on 2009/03/17 16:29
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -83,6 +83,18 @@
83 83   display: table-cell;
84 84   width: 5%;
85 85  }
86 +.itemType .typeComment{
87 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
88 + display:inline-block;
89 + width:16px;
90 + height:16px;
91 +}
92 +.itemType .typeAttachment{
93 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
94 + display:inline-block;
95 + width:16px;
96 + height:16px;
97 +}
86 86  .itemDescription{
87 87   float: left;
88 88   display: table-cell;
... ... @@ -113,33 +113,19 @@
113 113   display:inline;
114 114   clear:none;
115 115   float:left;
128 + padding-right: 5px;
116 116  }
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;
130 +.itemOthers .itemComments a{
131 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
132 + display:inline-block;
133 + padding-right:16px;
123 123  }
124 -.searchFooter{
125 - margin-bottom: 15px;
126 - display: block;
127 - clear: both;
128 - text-align: right;
135 +.itemOthers .itemAttachments a{
136 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
137 + display:inline-block;
138 + padding-right:16px;
129 129  }
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{
140 +.itemRating{
143 143   position:relative;
144 144   width:55px;
145 145   height:11px;
... ... @@ -148,7 +148,7 @@
148 148   background-position:left top;
149 149   background-image:url($xwiki.getSkinFile("rating.png"));
150 150  }
151 -.star-rating .current-rating{
149 +.itemRating .currentRating{
152 152   position:absolute;
153 153   top:0;left:0;
154 154   text-indent:-1000em;
... ... @@ -161,18 +161,49 @@
161 161   z-index:1;
162 162   background-position:left center;
163 163  }
164 -
165 -
166 -/* Item Relevance*/
167 -.relevance-rating{position:relative;width:48px;height:8px;overflow:hidden;list-style:none;margin:0!important;padding:0!important;background-position:left bottom;}
168 -.relevance-rating .current-rating{position:absolute;top:0;left:0;text-indent:-1000em;height:8px;line-height:8px;outline:none;overflow:hidden;border:none;}
169 -.relevance-rating .current-rating{z-index:1;background-position:left top;}
170 -.small-relevance{width:48px;height:8px;}
171 -.small-relevance{
172 -background-image:url($xwiki.getSkinFile("relevance.png"));line-height:8px;height:8px;
162 +.itemRelevance{
163 + float: left;
164 + display: table-cell;
165 + width: 15%;
166 + text-align: right;
173 173  }
174 -.small-relevance .current-rating{
175 -background-image:url($xwiki.getSkinFile("relevance.png"));line-height:8px;height:8px;}
176 -.small-relevance .current-rating{height:8px;}
177 -
178 -
168 +.relevance{
169 + position:relative;
170 + width:48px;
171 + height:8px;
172 + overflow:hidden;
173 + list-style:none;
174 + margin:0!important;padding:0!important;
175 + background-position:left bottom;
176 + background-image:url($xwiki.getSkinFile("relevance.png"));
177 + float:right;
178 +}
179 +.relevance .currentRelevance{
180 + position:absolute;
181 + top:0;left:0;
182 + text-indent:-1000em;
183 + height:8px;
184 + line-height:8px;
185 + outline:none;
186 + overflow:hidden;
187 + border:none;
188 + background-image:url($xwiki.getSkinFile("relevance.png"));
189 + z-index:1;
190 + background-position:left top;
191 +}
192 +.searchFooter{
193 + margin-bottom: 15px;
194 + display: block;
195 + clear: both;
196 + text-align: right;
197 +}
198 +.searchFooter .pagination {
199 + width: 100%;
200 + background-color: #f2f2f2;
201 +}
202 +.divClosure {
203 + background-color: transparent;
204 + clear: both;
205 + height: 1px;
206 + margin: 0 211px;
207 +}