Changes for page ListWebSearch

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

From version 81.1
edited by Ecaterina Valica
on 2009/03/17 15:06
Change comment: There is no comment for this version
To version 113.1
edited by Ecaterina Valica
on 2009/03/17 16:47
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,8 +113,41 @@
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{}
130 +.itemOthers .itemComments a{
131 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
132 + display:inline-block;
133 + padding-right:16px;
134 +}
135 +.itemOthers .itemAttachments a{
136 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
137 + display:inline-block;
138 + padding-right:16px;
139 +}
140 +.itemRating{
141 + position:relative;
142 + width:55px;
143 + height:11px;
144 + overflow:hidden;
145 + margin:1px 0 0 0!important;
146 + padding:0!important;
147 + background-position:left top;
148 + background-image:url($xwiki.getSkinFile("rating.png"));
149 +}
150 +.itemRating .currentRating{
151 + position:absolute;
152 + top:0;left:0;
153 + text-indent:-1000em;
154 + height:11px;
155 + line-height:11px;
156 + outline:none;
157 + overflow:hidden;
158 + border:none;
159 + background-image:url($xwiki.getSkinFile("rating.png"));
160 + z-index:1;
161 + background-position:left center;
162 +}
118 118  .itemRelevance{
119 119   float: left;
120 120   display: table-cell;
... ... @@ -121,6 +121,34 @@
121 121   width: 15%;
122 122   text-align: right;
123 123  }
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:left;
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: left;
196 +}
124 124  .searchFooter{
125 125   margin-bottom: 15px;
126 126   display: block;
... ... @@ -131,37 +131,9 @@
131 131   width: 100%;
132 132   background-color: #f2f2f2;
133 133  }
134 -.divClosure
135 -{
207 +.divClosure {
136 136   background-color: transparent;
137 137   clear: both;
138 138   height: 1px;
139 139   margin: 0 211px;
140 140  }
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 -