Changes for page ListWebSearch

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

From version 179.1
edited by Ecaterina Valica
on 2009/03/19 16:05
Change comment: There is no comment for this version
To version 208.1
edited by Guillaume Lerouge
on 2009/03/20 11:28
Change comment: Upload new image <a href="/xwiki/bin/downloadrev/Main/ListWebSearch/SearchImprovementIdeas.png?rev=1.1">SearchImprovementIdeas.png</a>

Summary

Details

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