Changes for page ListWebSearch

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

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

Summary

Details

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