Changes for page ListWebSearch

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

From version 70.1
edited by Ecaterina Valica
on 2009/03/17 14:38
Change comment: There is no comment for this version
To version 108.1
edited by Ecaterina Valica
on 2009/03/17 16:34
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -4,8 +4,7 @@
4 4  }
5 5  /* Search Bar*/
6 6  #searchBar{
7 - width: 80%;
8 - padding: 10px;
7 + padding: 10px 10px 5px 10px;
9 9   background-color: #e6e6e6;
10 10   border: 1px solid #b3b3b3;
11 11   margin-bottom: 11px;
... ... @@ -82,8 +82,20 @@
82 82  .itemType{
83 83   float: left;
84 84   display: table-cell;
85 - width: 5%;
84 + width: 2%;
86 86  }
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 +}
87 87  .itemDescription{
88 88   float: left;
89 89   display: table-cell;
... ... @@ -114,8 +114,40 @@
114 114   display:inline;
115 115   clear:none;
116 116   float:left;
128 + padding-right: 5px;
117 117  }
118 -.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:0!important;padding:0!important;
146 + background-position:left top;
147 + background-image:url($xwiki.getSkinFile("rating.png"));
148 +}
149 +.itemRating .currentRating{
150 + position:absolute;
151 + top:0;left:0;
152 + text-indent:-1000em;
153 + height:11px;
154 + line-height:11px;
155 + outline:none;
156 + overflow:hidden;
157 + border:none;
158 + background-image:url($xwiki.getSkinFile("rating.png"));
159 + z-index:1;
160 + background-position:left center;
161 +}
119 119  .itemRelevance{
120 120   float: left;
121 121   display: table-cell;
... ... @@ -122,6 +122,30 @@
122 122   width: 15%;
123 123   text-align: right;
124 124  }
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 +}
125 125  .searchFooter{
126 126   margin-bottom: 15px;
127 127   display: block;
... ... @@ -132,40 +132,9 @@
132 132   width: 100%;
133 133   background-color: #f2f2f2;
134 134  }
135 -.divClosure
136 -{
202 +.divClosure {
137 137   background-color: transparent;
138 138   clear: both;
139 139   height: 1px;
140 140   margin: 0 211px;
141 141  }
142 -/* Item Rating*/
143 -.star-rating{position:relative;width:55px;height:11px;overflow:hidden;list-style:none;margin:0!important;padding:0!important;background-position:left top;}
144 -.star-rating li{display:inline;}
145 -.star-rating a,.star-rating .current-rating{position:absolute;top:0;left:0;text-indent:-1000em;height:11px;line-height:11px;outline:none;overflow:hidden;border:none;}
146 -.star-rating a:hover,.star-rating a:active,.star-rating a:focus{background-position:left bottom;}
147 -.star-rating a.one-star{width:20%;z-index:6;}
148 -.star-rating a.two-stars{width:40%;z-index:5;}
149 -.star-rating a.three-stars{width:60%;z-index:4;}
150 -.star-rating a.four-stars{width:80%;z-index:3;}
151 -.star-rating a.five-stars{width:100%;z-index:2;}
152 -.star-rating .current-rating{z-index:1;background-position:left center;}
153 -.small-star{width:55px;height:11px;}
154 -.small-star,.small-star a:hover,.small-star a:active,.small-star a:focus,.small-star .current-rating{background-image:url($xwiki.getSkinFile("rating.gif"));line-height:11px;height:11px;}
155 -.small-star .current-rating{height:11px;}
156 -ul.locked a,ul.locked a:hover,ul.locked a:active,ul.locked a:focus{background:transparent none;}
157 -/* Item Relevance*/
158 -.relevance-rating{position:relative;width:48px;height:8px;overflow:hidden;list-style:none;margin:0!important;padding:0!important;background-position:left bottom;}
159 -.relevance-rating li{display:inline;}
160 -.relevance-rating .current-rating{position:absolute;top:0;left:0;text-indent:-1000em;height:8px;line-height:8px;outline:none;overflow:hidden;border:none;}
161 -
162 -.relevance-rating .current-rating{z-index:1;background-position:left top;}
163 -.small-relevance{width:48px;height:8px;}
164 -.small-relevance{
165 -background-image:url($xwiki.getSkinFile("relevance.gif"));line-height:8px;height:8px;
166 -}
167 -.small-relevance .current-rating{
168 -background-image:url($xwiki.getSkinFile("relevance.gif"));line-height:8px;height:8px;}
169 -.small-relevance .current-rating{height:8px;}
170 -ul.locked a,ul.locked a:hover,ul.locked a:active,ul.locked a:focus{background:transparent none;}
171 -