Changes for page ListWebSearch

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

From version 173.1
edited by Ecaterina Valica
on 2009/03/19 15:53
Change comment: There is no comment for this version
To version 197.1
edited by Ecaterina Valica
on 2009/03/19 16:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,6 @@
4 4  #else
5 5   #set($space = $request.space)
6 6  #end
7 -
8 8  #set($spacesText = {})
9 9  #set($spaces = $xwiki.spaces)
10 10  #set($ok = $spacesText.put("All","All"))
... ... @@ -36,7 +36,7 @@
36 36  <form action="">
37 37   <div id="searchBar">
38 38   {pre}
39 - <input type="text" name="text" class="searchQuery"value="search..." size="50"/>
38 + <input type="text" name="text" class="searchQuery" value="search..." size="50"/>
40 40   #spaceselect($space $spaces $spacesText) <input class="button" type="image" src="/xwiki/skins/albatross/go.png" value="Go"/>
41 41   <div class="searchHelp">eq. xwiki* AND "search query"</div>
42 42   {/pre}
XWiki.StyleSheetExtension[0]
Code
... ... @@ -4,18 +4,18 @@
4 4  }
5 5  /* Search Bar*/
6 6  #searchBar{
7 - padding: 10px 10px 5px 10px;
8 - background-color: #e6e6e6;
9 - border: 1px solid #b3b3b3;
10 10   margin-bottom: 11px;
8 + padding-left: 5px;
11 11   clear: both;
12 12  }
13 13  #searchBar .searchQuery, #searchBar select {
14 - border: 1px solid #b3b3b3;
12 + border: 1px solid #5599FF;
15 15   color: #4d4d4d;
16 16  }
17 -.searchButton{
18 - border: none;
15 +.searchQuery{
16 + background:transparent url($xwiki.getSkinFile("search.png")) center left no-repeat;
17 + display:inline-block;
18 + padding-left:18px;
19 19  }
20 20  .searchHelp{
21 21   font-size: 80%;
... ... @@ -24,12 +24,10 @@
24 24  /* Search Filters*/
25 25  .searchFilters{
26 26   clear: both;
27 - margin-bottom: 15px;
28 28   font-size: 90%;
29 29  }
30 30  #sortFilter{
31 31   color: #808080;
32 - background-color: #F9F9F9;
33 33   padding: 5px;
34 34   line-height: 16px;
35 35  }
... ... @@ -37,19 +37,17 @@
37 37   color: #808080;
38 38  }
39 39  #sortFilter a:hover{
40 - color: #777777;
41 - font-weight: bold;
38 + color: #4D4D4D;
42 42  }
43 43  #sortFilter a#currentSort{
44 - color: #777777;
41 + color: #4D4D4D;
45 45   font-weight: bold;
46 46  }
47 47  .paginationFilter {
48 48   color: #808080;
49 49   height: 100%;
50 - background-color: #F9F9F9;
51 51   border-top: 1px solid #CCCCCC;
52 - padding: 5px;
48 + padding: 5px 0px 5px 5px;
53 53   display: block;
54 54   line-height: 22px;
55 55  }
... ... @@ -57,7 +57,7 @@
57 57   float: left;
58 58  }
59 59  .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
60 - color: #4D4D4D;
56 + color: #808080;
61 61  }
62 62  .pagination{
63 63   float: right;
... ... @@ -67,11 +67,10 @@
67 67   color: #808080;
68 68  }
69 69  .pagination a:hover{
70 - color: #777777;
71 - font-weight: bold;
66 + color: #4D4D4D;
72 72  }
73 73  .pagination a.currentPagination{
74 - color: #777777;
69 + color: #4D4D4D;
75 75   font-weight: bold;
76 76  }
77 77  .controlPagination{
... ... @@ -111,6 +111,7 @@
111 111  #searchResultsList{
112 112   clear: both;
113 113   display: table;
109 + padding-top: 15px;
114 114  }
115 115  .resultItem{
116 116   display: block;
... ... @@ -125,13 +125,13 @@
125 125   width: 3%;
126 126  }
127 127  .itemType .typeComment{
128 - background:transparent url($xwiki.getSkinFile("comment.png")) center right no-repeat;
124 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
129 129   display:inline-block;
130 130   width:16px;
131 131   height:16px;
132 132  }
133 133  .itemType .typeAttachment{
134 - background:transparent url($xwiki.getSkinFile("attach.png")) center right no-repeat;
130 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
135 135   display:inline-block;
136 136   width:16px;
137 137   height:16px;
... ... @@ -150,11 +150,19 @@
150 150  .itemDescription a{
151 151   color: #5599ff;
152 152  }
149 +.itemDescription a:hover{
150 + color: #5599ff;
151 +}
153 153  .itemTitle a{
154 154   color: #4d4d4d;
155 155   font-weight: bold;
156 156   font-size:130%;
157 157  }
157 +.itemTitle a:hover{
158 + color: #4d4d4d;
159 + font-weight: bold;
160 + font-size:130%;
161 +}
158 158  .itemLocation{
159 159   color: #808080;
160 160   font-size:90%;
... ... @@ -165,7 +165,9 @@
165 165   font-size:90%;
166 166  }
167 167  .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{}
168 -.itemContext{}
172 +.itemContext .highlight{
173 + color: #f7ff94;
174 +}
169 169  .itemOthers{
170 170   color: #808080;
171 171   font-size:80%;
... ... @@ -257,7 +257,6 @@
257 257   height: 1px;
258 258  }
259 259  .searchFooter{
260 - margin-bottom: 15px;
261 261   display: block;
262 262   clear: both;
263 263   text-align: right;