Changes for page ListWebSearch

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

From version 87.1
edited by Ecaterina Valica
on 2009/03/17 15:33
Change comment: There is no comment for this version
To version 119.1
edited by Ecaterina Valica
on 2009/03/17 16:53
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,14 +113,25 @@
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{}
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 +}
118 118  .itemRating{
119 119   position:relative;
120 120   width:55px;
121 121   height:11px;
122 122   overflow:hidden;
123 - margin:0!important;padding:0!important;
145 + margin:1px 0 0 0!important;
146 + padding:0!important;
124 124   background-position:left top;
125 125   background-image:url($xwiki.getSkinFile("rating.png"));
126 126  }
... ... @@ -143,17 +143,19 @@
143 143   width: 15%;
144 144   text-align: right;
145 145  }
146 -.itemRelevance{
169 +.relevance{
147 147   position:relative;
148 148   width:48px;
149 149   height:8px;
150 150   overflow:hidden;
151 151   list-style:none;
152 - margin:0!important;padding:0!important;
175 + margin:5px 0 0 0!important;
176 + padding:0!important;
153 153   background-position:left bottom;
154 154   background-image:url($xwiki.getSkinFile("relevance.png"));
179 + float:right;
155 155  }
156 -.itemRelevance .currentRelevance{
181 +.relevance .currentRelevance{
157 157   position:absolute;
158 158   top:0;left:0;
159 159   text-indent:-1000em;
... ... @@ -166,6 +166,12 @@
166 166   z-index:1;
167 167   background-position:left top;
168 168  }
194 +.relevanceText{
195 + float: right;
196 + margin-right: 5px;
197 + color: #808080;
198 + font-size:80%;
199 +}
169 169  .searchFooter{
170 170   margin-bottom: 15px;
171 171   display: block;