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 114.1
edited by Ecaterina Valica
on 2009/03/17 16:48
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -81,12 +81,24 @@
81 81  .itemType{
82 82   float: left;
83 83   display: table-cell;
84 - width: 5%;
84 + width: 2%;
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;
89 - width: 80%;
101 + width: 83%;
90 90  }
91 91  .itemTitle{
92 92   color: #4d4d4d;
... ... @@ -113,42 +113,29 @@
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;
146 146   overflow:hidden;
147 - margin:0!important;padding:0!important;
145 + margin:1px 0 0 0!important;
146 + padding:0!important;
148 148   background-position:left top;
149 149   background-image:url($xwiki.getSkinFile("rating.png"));
150 150  }
151 -.star-rating .current-rating{
150 +.itemRating .currentRating{
152 152   position:absolute;
153 153   top:0;left:0;
154 154   text-indent:-1000em;
... ... @@ -161,18 +161,53 @@
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;
163 +.itemRelevance{
164 + float: left;
165 + display: table-cell;
166 + width: 15%;
167 + 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 -
169 +.relevance{
170 + position:relative;
171 + width:48px;
172 + height:8px;
173 + overflow:hidden;
174 + list-style:none;
175 + margin:5px 0 0 0!important;
176 + padding:0!important;
177 + background-position:left bottom;
178 + background-image:url($xwiki.getSkinFile("relevance.png"));
179 + float:right;
180 +}
181 +.relevance .currentRelevance{
182 + position:absolute;
183 + top:0;left:0;
184 + text-indent:-1000em;
185 + height:8px;
186 + line-height:8px;
187 + outline:none;
188 + overflow:hidden;
189 + border:none;
190 + background-image:url($xwiki.getSkinFile("relevance.png"));
191 + z-index:1;
192 + background-position:left top;
193 +}
194 +.relevanceText{
195 + float: right;
196 +}
197 +.searchFooter{
198 + margin-bottom: 15px;
199 + display: block;
200 + clear: both;
201 + text-align: right;
202 +}
203 +.searchFooter .pagination {
204 + width: 100%;
205 + background-color: #f2f2f2;
206 +}
207 +.divClosure {
208 + background-color: transparent;
209 + clear: both;
210 + height: 1px;
211 + margin: 0 211px;
212 +}