Changes for page ListWebSearch

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

From version 100.1
edited by Ecaterina Valica
on 2009/03/17 16:18
Change comment: There is no comment for this version
To version 147.1
edited by Ecaterina Valica
on 2009/03/18 13:53
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,34 +60,87 @@
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 66   font-weight: bold;
67 67  }
68 -.pagination .controlPagination{}
70 +.controlPagination{
71 + position:relative;
72 + width:44px;
73 + height:26px;
74 + overflow:hidden;
75 + margin:0!important;
76 + padding:0!important;
77 + list-style:none;
78 + background-image:url($xwiki.getSkinFile("navigation.png"));
79 +}
80 +.controlPagination li{
81 + display:inline;
82 +}
83 +.controlPagination a{
84 + position:absolute;
85 + top:0;
86 + left:0;
87 + text-indent:-1000em;
88 + height:25px;
89 + line-height:25px;
90 + outline:none;
91 + overflow:hidden;
92 + border:none;
93 +}
94 +a.prevPagination {
95 + width: 50%;
96 + z-index: 2;
97 +}
98 +a.nextPagination {
99 + width: 100%;
100 + z-index: 1;
101 +}
69 69  /* Search Filters*/
70 70  #searchResultsList{
71 71   clear: both;
105 + display: table;
72 72  }
73 73  .resultItem{
74 - margin-bottom: 15px;
108 + 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%;
116 + display: inline-block;
117 + width: 3%;
85 85  }
119 +.itemType .typeComment{
120 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
121 + display:inline-block;
122 + width:16px;
123 + height:16px;
124 +}
125 +.itemType .typeAttachment{
126 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
127 + display:inline-block;
128 + width:16px;
129 + height:16px;
130 +}
131 +.itemType .typePage{
132 + background:transparent;
133 + display:inline-block;
134 + width:16px;
135 + height:16px;
136 +}
86 86  .itemDescription{
87 87   float: left;
88 - display: table-cell;
89 - width: 80%;
139 + display: inline-block;
140 + width: 82%;
90 90  }
142 +.itemDescription a{
143 + color: #5599ff;
144 +}
91 91  .itemTitle{
92 92   color: #4d4d4d;
93 93   font-weight: bold;
... ... @@ -113,14 +113,15 @@
113 113   display:inline;
114 114   clear:none;
115 115   float:left;
170 + padding-right: 5px;
116 116  }
117 117  .itemOthers .itemComments a{
118 - background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
173 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
119 119   display:inline-block;
120 120   padding-right:16px;
121 121  }
122 122  .itemOthers .itemAttachments a{
123 - background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
178 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
124 124   display:inline-block;
125 125   padding-right:16px;
126 126  }
... ... @@ -129,7 +129,8 @@
129 129   width:55px;
130 130   height:11px;
131 131   overflow:hidden;
132 - margin:0!important;padding:0!important;
187 + margin:1px 0 0 0!important;
188 + 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;
207 + display: inline-block;
152 152   width: 15%;
153 153   text-align: right;
154 154  }
... ... @@ -158,7 +158,8 @@
158 158   height:8px;
159 159   overflow:hidden;
160 160   list-style:none;
161 - margin:0!important;padding:0!important;
217 + margin:5px 0 0 0!important;
218 + padding:0!important;
162 162   background-position:left bottom;
163 163   background-image:url($xwiki.getSkinFile("relevance.png"));
164 164   float:right;
... ... @@ -176,6 +176,21 @@
176 176   z-index:1;
177 177   background-position:left top;
178 178  }
236 +.relevanceText{
237 + float: right;
238 + margin-right: 5px;
239 + color: #808080;
240 + font-size:80%;
241 +}
242 +.resultSeparator{
243 + display:block;
244 + width:100%;
245 + clear:both;
246 + padding: 0;
247 + margin: 0;
248 + margin-bottom: 15px;
249 + height: 1px;
250 +}
179 179  .searchFooter{
180 180   margin-bottom: 15px;
181 181   display: block;
... ... @@ -182,10 +182,6 @@
182 182   clear: both;
183 183   text-align: right;
184 184  }
185 -.searchFooter .pagination {
186 - width: 100%;
187 - background-color: #f2f2f2;
188 -}
189 189  .divClosure {
190 190   background-color: transparent;
191 191   clear: both;