Changes for page ListWebSearch

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

From version 174.1
edited by Ecaterina Valica
on 2009/03/19 15:56
Change comment: There is no comment for this version
To version 196.1
edited by Ecaterina Valica
on 2009/03/19 16:48
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,8 +4,8 @@
4 4  }
5 5  /* Search Bar*/
6 6  #searchBar{
7 - border: 1px solid #b3b3b3;
8 8   margin-bottom: 11px;
8 + padding-left: 5px;
9 9   clear: both;
10 10  }
11 11  #searchBar .searchQuery, #searchBar select {
... ... @@ -12,8 +12,10 @@
12 12   border: 1px solid #5599FF;
13 13   color: #4d4d4d;
14 14  }
15 -.searchButton{
16 - border: none;
15 +.searchQuery{
16 + background:transparent url($xwiki.getSkinFile("search.png")) center left no-repeat;
17 + display:inline-block;
18 + padding-left:18px;
17 17  }
18 18  .searchHelp{
19 19   font-size: 80%;
... ... @@ -22,12 +22,10 @@
22 22  /* Search Filters*/
23 23  .searchFilters{
24 24   clear: both;
25 - margin-bottom: 15px;
26 26   font-size: 90%;
27 27  }
28 28  #sortFilter{
29 29   color: #808080;
30 - background-color: #F9F9F9;
31 31   padding: 5px;
32 32   line-height: 16px;
33 33  }
... ... @@ -35,19 +35,17 @@
35 35   color: #808080;
36 36  }
37 37  #sortFilter a:hover{
38 - color: #777777;
39 - font-weight: bold;
38 + color: #4D4D4D;
40 40  }
41 41  #sortFilter a#currentSort{
42 - color: #777777;
41 + color: #4D4D4D;
43 43   font-weight: bold;
44 44  }
45 45  .paginationFilter {
46 46   color: #808080;
47 47   height: 100%;
48 - background-color: #F9F9F9;
49 49   border-top: 1px solid #CCCCCC;
50 - padding: 5px;
48 + padding: 5px 0px 5px 5px;
51 51   display: block;
52 52   line-height: 22px;
53 53  }
... ... @@ -55,7 +55,7 @@
55 55   float: left;
56 56  }
57 57  .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
58 - color: #4D4D4D;
56 + color: #808080;
59 59  }
60 60  .pagination{
61 61   float: right;
... ... @@ -65,11 +65,10 @@
65 65   color: #808080;
66 66  }
67 67  .pagination a:hover{
68 - color: #777777;
69 - font-weight: bold;
66 + color: #4D4D4D;
70 70  }
71 71  .pagination a.currentPagination{
72 - color: #777777;
69 + color: #4D4D4D;
73 73   font-weight: bold;
74 74  }
75 75  .controlPagination{
... ... @@ -109,6 +109,7 @@
109 109  #searchResultsList{
110 110   clear: both;
111 111   display: table;
109 + padding-top: 15px;
112 112  }
113 113  .resultItem{
114 114   display: block;
... ... @@ -123,13 +123,13 @@
123 123   width: 3%;
124 124  }
125 125  .itemType .typeComment{
126 - background:transparent url($xwiki.getSkinFile("comment.png")) center right no-repeat;
124 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
127 127   display:inline-block;
128 128   width:16px;
129 129   height:16px;
130 130  }
131 131  .itemType .typeAttachment{
132 - background:transparent url($xwiki.getSkinFile("attach.png")) center right no-repeat;
130 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
133 133   display:inline-block;
134 134   width:16px;
135 135   height:16px;
... ... @@ -148,11 +148,19 @@
148 148  .itemDescription a{
149 149   color: #5599ff;
150 150  }
149 +.itemDescription a:hover{
150 + color: #5599ff;
151 +}
151 151  .itemTitle a{
152 152   color: #4d4d4d;
153 153   font-weight: bold;
154 154   font-size:130%;
155 155  }
157 +.itemTitle a:hover{
158 + color: #4d4d4d;
159 + font-weight: bold;
160 + font-size:130%;
161 +}
156 156  .itemLocation{
157 157   color: #808080;
158 158   font-size:90%;
... ... @@ -255,7 +255,6 @@
255 255   height: 1px;
256 256  }
257 257  .searchFooter{
258 - margin-bottom: 15px;
259 259   display: block;
260 260   clear: both;
261 261   text-align: right;