Changes for page ListWebSearch

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

From version 3.1
edited by Ecaterina Valica
on 2009/03/16 14:10
Change comment: There is no comment for this version
To version 11.1
edited by Ecaterina Valica
on 2009/03/16 15:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,4 @@
1 1  $xwiki.ssx.use("Main.ListWebSearch")
2 -
3 3  #if(!$request.space)
4 4   #set($space = "All")
5 5  #else
... ... @@ -16,7 +16,6 @@
16 16  #macro(spaceoption $space $selectspace $spacesText)
17 17   <option value="$spacesText.get($space)" #if($selectspace == $spacesText.get($space))selected="selected"#end>$space</option>
18 18  #end
19 -
20 20  #macro(spaceselect $selectspace $spaces $spacesText)
21 21   <select name="space">
22 22   #spaceoption("All spaces" $selectspace $spacesText)
... ... @@ -34,9 +34,7 @@
34 34  #else
35 35   #set($url = $xwiki.getURL("Main.WebSearchRss", "view", "xpage=rdf&space=$space&text=${utext}"))
36 36  #end
37 -
38 38  <div id="search">
39 -
40 40  <form action="">
41 41   {pre}
42 42   <div id="searchBar">
... ... @@ -46,10 +46,6 @@
46 46   </div>
47 47   {/pre}
48 48  </form>
49 -
50 -
51 51  #includeInContext("XWiki.WebSearchCode")
52 52  #includeInContext("XWiki.ListResults")
53 -
54 54  </div>
55 -
XWiki.StyleSheetExtension[0]
Code
... ... @@ -3,33 +3,28 @@
3 3   width: 100%;
4 4   background-color: #ffffff;
5 5  }
6 -
7 7  /* Search Bar*/
8 -
9 9  #searchBar{
10 10   width: 60%;
11 11   padding: 10px;
12 12   background-color: #e6e6e6;
13 13   border: 1px solid #b3b3b3;
12 + margin-bottom: 20px;
14 14   clear: both;
15 15  }
16 -
17 17  #searchBar input, #searchBar select {
18 18   border: 1px solid #b3b3b3;
19 19   color: #4d4d4d;
20 20  }
21 -
22 22  .searchHelp{
23 23   font-size: 80%;
24 24   color: #808080;
25 25  }
26 -
27 27  /* Search Filters*/
28 28  .searchFilters
29 29  {
30 30   clear: both;
31 31  }
32 -
33 33  #sortFilter{
34 34   color: #808080;
35 35   background-color: #e6e6e6;
... ... @@ -36,12 +36,15 @@
36 36   border-bottom: 2px solid #b3b3b3;
37 37   padding: 5px;
38 38  }
39 -
40 40  #sortFilter a{
35 + color: #808080;
41 41  }
42 -
37 +#sortFilter a:hover{
38 + color: #777777;
39 +}
43 43  #sortFilter a#currentSort{
44 -
41 + color: #777777;
42 + font-weight: bold;
45 45  }
46 46  .paginationFilter {
47 47   color: #808080;
... ... @@ -58,10 +58,17 @@
58 58  .pagination{
59 59   float: right;
60 60  }
61 -.pagination a{}
62 -.pagination a.currentPagination{}
59 +.pagination a{
60 + color: #808080;
61 +}
62 +.pagination a:hover{
63 + color: #777777;
64 +}
65 +.pagination a.currentPagination{
66 + color: #777777;
67 + font-weight: bold;
68 +}
63 63  .pagination .controlPagination{}
64 -
65 65  /* Search Filters*/
66 66  #searchResultsList{
67 67   clear: both;
... ... @@ -69,7 +69,6 @@
69 69  .resultItem{
70 70   margin-bottom: 15px;
71 71  }
72 -
73 73  .resultItemContainer{
74 74   clear: both;
75 75   display: table-row;
... ... @@ -113,13 +113,14 @@
113 113   clear: both;
114 114   text-align: right;
115 115  }
116 -
117 117  .searchFooter .pagination {
118 118   width: 100%;
119 119   background-color: #f2f2f2;
120 120  }
121 -
122 -.clearfloats
124 +.divClosure
123 123  {
124 - background-color: none;
126 + background-color: transparent;
127 + clear: both;
128 + height: 1px;
129 + margin: 0 220px;
125 125  }