Changes for page ListWebSearch

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

From version 95.1
edited by Ecaterina Valica
on 2009/03/17 16:09
Change comment: There is no comment for this version
To version 145.1
edited by Ecaterina Valica
on 2009/03/18 13:43
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -26,7 +26,6 @@
26 26  #sortFilter{
27 27   color: #808080;
28 28   background-color: #e6e6e6;
29 - border-bottom: 2px solid #b3b3b3;
30 30   padding: 5px;
31 31  }
32 32  #sortFilter a{
... ... @@ -34,6 +34,7 @@
34 34  }
35 35  #sortFilter a:hover{
36 36   color: #777777;
36 + font-weight: bold;
37 37  }
38 38  #sortFilter a#currentSort{
39 39   color: #777777;
... ... @@ -43,6 +43,7 @@
43 43   color: #808080;
44 44   height: 100%;
45 45   background-color: #f2f2f2;
46 + border-top: 2px solid #b3b3b3;
46 46   padding: 5px;
47 47   display: block;
48 48  }
... ... @@ -60,6 +60,7 @@
60 60  }
61 61  .pagination a:hover{
62 62   color: #777777;
64 + font-weight: bold;
63 63  }
64 64  .pagination a.currentPagination{
65 65   color: #777777;
... ... @@ -66,28 +66,82 @@
66 66   font-weight: bold;
67 67  }
68 68  .pagination .controlPagination{}
71 +.controlPagination{
72 + position:relative;
73 + width:44px;
74 + height:26px;
75 + overflow:hidden;
76 + margin:0!important;
77 + padding:0!important;
78 + list-style:none;
79 + background-position:left top;
80 + background-image:url($xwiki.getSkinFile("navigation.png"));
81 +}
82 +.controlPagination li{
83 + display:inline;
84 +}
85 +.controlPagination a{
86 + position:absolute;
87 + top:0;
88 + left:0;
89 + text-indent:-1000em;
90 + height:25px;
91 + line-height:25px;
92 + outline:none;
93 + overflow:hidden;
94 + border:none;
95 +}
96 +a.prevPagination {
97 + width: 50%;
98 + z-index: 2;
99 +}
100 +a.nextPagination {
101 + width: 100%;
102 + z-index: 1;
103 +}
69 69  /* Search Filters*/
70 70  #searchResultsList{
71 71   clear: both;
107 + display: table;
72 72  }
73 73  .resultItem{
74 - margin-bottom: 15px;
110 + display: block;
75 75  }
76 76  .resultItemContainer{
77 77   clear: both;
78 - display: table-row;
79 79   width: 100%;
80 80  }
81 81  .itemType{
82 82   float: left;
83 - display: table-cell;
84 - width: 5%;
118 + display: inline-block;
119 + width: 3%;
85 85  }
121 +.itemType .typeComment{
122 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
123 + display:inline-block;
124 + width:16px;
125 + height:16px;
126 +}
127 +.itemType .typeAttachment{
128 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
129 + display:inline-block;
130 + width:16px;
131 + height:16px;
132 +}
133 +.itemType .typePage{
134 + background:transparent;
135 + display:inline-block;
136 + width:16px;
137 + height:16px;
138 +}
86 86  .itemDescription{
87 87   float: left;
88 - display: table-cell;
89 - width: 80%;
141 + display: inline-block;
142 + width: 82%;
90 90  }
144 +.itemDescription a{
145 + color: #5599ff;
146 +}
91 91  .itemTitle{
92 92   color: #4d4d4d;
93 93   font-weight: bold;
... ... @@ -113,16 +113,17 @@
113 113   display:inline;
114 114   clear:none;
115 115   float:left;
172 + padding-right: 5px;
116 116  }
117 117  .itemOthers .itemComments a{
118 - width:16px;
119 - height:16px;
120 - background-image:url($xwiki.getSkinFile("attach.png"));
175 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
176 + display:inline-block;
177 + padding-right:16px;
121 121  }
122 122  .itemOthers .itemAttachments a{
123 - width:16px;
124 - height:16px;
125 - background-image:url($xwiki.getSkinFile("comment.png"));
180 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
181 + display:inline-block;
182 + padding-right:16px;
126 126  }
127 127  .itemRating{
128 128   position:relative;
... ... @@ -129,7 +129,8 @@
129 129   width:55px;
130 130   height:11px;
131 131   overflow:hidden;
132 - margin:0!important;padding:0!important;
189 + margin:1px 0 0 0!important;
190 + padding:0!important;
133 133   background-position:left top;
134 134   background-image:url($xwiki.getSkinFile("rating.png"));
135 135  }
... ... @@ -148,7 +148,7 @@
148 148  }
149 149  .itemRelevance{
150 150   float: left;
151 - display: table-cell;
209 + display: inline-block;
152 152   width: 15%;
153 153   text-align: right;
154 154  }
... ... @@ -158,10 +158,11 @@
158 158   height:8px;
159 159   overflow:hidden;
160 160   list-style:none;
161 - margin:0!important;padding:0!important;
219 + margin:5px 0 0 0!important;
220 + padding:0!important;
162 162   background-position:left bottom;
163 163   background-image:url($xwiki.getSkinFile("relevance.png"));
164 - float:left;
223 + float:right;
165 165  }
166 166  .relevance .currentRelevance{
167 167   position:absolute;
... ... @@ -176,6 +176,21 @@
176 176   z-index:1;
177 177   background-position:left top;
178 178  }
238 +.relevanceText{
239 + float: right;
240 + margin-right: 5px;
241 + color: #808080;
242 + font-size:80%;
243 +}
244 +.resultSeparator{
245 + display:block;
246 + width:100%;
247 + clear:both;
248 + padding: 0;
249 + margin: 0;
250 + margin-bottom: 15px;
251 + height: 1px;
252 +}
179 179  .searchFooter{
180 180   margin-bottom: 15px;
181 181   display: block;
... ... @@ -184,7 +184,6 @@
184 184  }
185 185  .searchFooter .pagination {
186 186   width: 100%;
187 - background-color: #f2f2f2;
188 188  }
189 189  .divClosure {
190 190   background-color: transparent;