Changes for page ListWebSearch

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

From version 90.1
edited by Ecaterina Valica
on 2009/03/17 15:46
Change comment: There is no comment for this version
To version 111.1
edited by Ecaterina Valica
on 2009/03/17 16:45
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,12 +113,17 @@
113 113   display:inline;
114 114   clear:none;
115 115   float:left;
128 + padding-right: 5px;
116 116  }
117 117  .itemOthers .itemComments a{
118 - background-image:url($xwiki.getSkinFile("attach.png"));
131 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
132 + display:inline-block;
133 + padding-right:16px;
119 119  }
120 120  .itemOthers .itemAttachments a{
121 - background-image:url($xwiki.getSkinFile("comment.png"));
136 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
137 + display:inline-block;
138 + padding-right:16px;
122 122  }
123 123  .itemRating{
124 124   position:relative;
... ... @@ -125,7 +125,8 @@
125 125   width:55px;
126 126   height:11px;
127 127   overflow:hidden;
128 - margin:0!important;padding:0!important;
145 + margin:5px 0 0 0!important;
146 + padding:0!important;
129 129   background-position:left top;
130 130   background-image:url($xwiki.getSkinFile("rating.png"));
131 131  }
... ... @@ -148,17 +148,19 @@
148 148   width: 15%;
149 149   text-align: right;
150 150  }
151 -.itemRelevance{
169 +.relevance{
152 152   position:relative;
153 153   width:48px;
154 154   height:8px;
155 155   overflow:hidden;
156 156   list-style:none;
157 - margin:0!important;padding:0!important;
175 + margin:5px 0 0 0!important;
176 + padding:0!important;
158 158   background-position:left bottom;
159 159   background-image:url($xwiki.getSkinFile("relevance.png"));
179 + float:right;
160 160  }
161 -.itemRelevance .currentRelevance{
181 +.relevance .currentRelevance{
162 162   position:absolute;
163 163   top:0;left:0;
164 164   text-indent:-1000em;
... ... @@ -171,6 +171,9 @@
171 171   z-index:1;
172 172   background-position:left top;
173 173  }
194 +.relevanceText{
195 + float: right;
196 +}
174 174  .searchFooter{
175 175   margin-bottom: 15px;
176 176   display: block;