Changes for page ListWebSearch

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

From version 16.1
edited by Ecaterina Valica
on 2009/03/16 15:28
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
... ... @@ -1,29 +1,35 @@
1 -#search{
1 +#search
2 +{
2 2   width: 100%;
3 3   background-color: #ffffff;
4 4  }
6 +
5 5  /* Search Bar*/
8 +
6 6  #searchBar{
7 7   width: 60%;
8 8   padding: 10px;
9 9   background-color: #e6e6e6;
10 10   border: 1px solid #b3b3b3;
11 - margin-bottom: 20px;
12 12   clear: both;
13 13  }
16 +
14 14  #searchBar input, #searchBar select {
15 15   border: 1px solid #b3b3b3;
16 16   color: #4d4d4d;
17 17  }
21 +
18 18  .searchHelp{
19 19   font-size: 80%;
20 20   color: #808080;
21 21  }
26 +
22 22  /* Search Filters*/
23 -.searchFilters{
28 +.searchFilters
29 +{
24 24   clear: both;
25 - margin-bottom: 15px;
26 26  }
32 +
27 27  #sortFilter{
28 28   color: #808080;
29 29   background-color: #e6e6e6;
... ... @@ -30,15 +30,12 @@
30 30   border-bottom: 2px solid #b3b3b3;
31 31   padding: 5px;
32 32  }
39 +
33 33  #sortFilter a{
34 - color: #808080;
35 35  }
36 -#sortFilter a:hover{
37 - color: #777777;
38 -}
42 +
39 39  #sortFilter a#currentSort{
40 - color: #777777;
41 - font-weight: bold;
44 +
42 42  }
43 43  .paginationFilter {
44 44   color: #808080;
... ... @@ -50,23 +50,15 @@
50 50  .resultsNo{
51 51   float: left;
52 52  }
53 -.resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
54 - color: #4D4D4D;
55 -}
56 +.resultsNo .currentResultsNo{}
57 +.resultsNo .totalResultsNo{}
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  }