Changes for page ListWebSearch

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

From version 14.1
edited by Ecaterina Valica
on 2009/03/16 15:27
Change comment: There is no comment for this version
To version 4.1
edited by Ecaterina Valica
on 2009/03/16 14:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,5 @@
1 1  $xwiki.ssx.use("Main.ListWebSearch")
2 +
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
19 +
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
37 +
35 35  <div id="search">
39 +
36 36  <form action="">
37 37   {pre}
38 38   <div id="searchBar">
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,33 +4,35 @@
1 -*{
2 -border: 1px solid red;
3 -}
4 4  #search
5 5  {
6 6   width: 100%;
7 7   background-color: #ffffff;
8 8  }
6 +
9 9  /* Search Bar*/
8 +
10 10  #searchBar{
11 11   width: 60%;
12 12   padding: 10px;
13 13   background-color: #e6e6e6;
14 14   border: 1px solid #b3b3b3;
15 - margin-bottom: 20px;
16 16   clear: both;
17 17  }
16 +
18 18  #searchBar input, #searchBar select {
19 19   border: 1px solid #b3b3b3;
20 20   color: #4d4d4d;
21 21  }
21 +
22 22  .searchHelp{
23 23   font-size: 80%;
24 24   color: #808080;
25 25  }
26 +
26 26  /* Search Filters*/
27 27  .searchFilters
28 28  {
29 29   clear: both;
30 30  }
32 +
31 31  #sortFilter{
32 32   color: #808080;
33 33   background-color: #e6e6e6;
... ... @@ -34,15 +34,12 @@
34 34   border-bottom: 2px solid #b3b3b3;
35 35   padding: 5px;
36 36  }
39 +
37 37  #sortFilter a{
38 - color: #808080;
39 39  }
40 -#sortFilter a:hover{
41 - color: #777777;
42 -}
42 +
43 43  #sortFilter a#currentSort{
44 - color: #777777;
45 - font-weight: bold;
44 +
46 46  }
47 47  .paginationFilter {
48 48   color: #808080;
... ... @@ -54,23 +54,15 @@
54 54  .resultsNo{
55 55   float: left;
56 56  }
57 -.resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
58 - color: #4D4D4D;
59 -}
56 +.resultsNo .currentResultsNo{}
57 +.resultsNo .totalResultsNo{}
60 60  .pagination{
61 61   float: right;
62 62  }
63 -.pagination a{
64 - color: #808080;
65 -}
66 -.pagination a:hover{
67 - color: #777777;
68 -}
69 -.pagination a.currentPagination{
70 - color: #777777;
71 - font-weight: bold;
72 -}
61 +.pagination a{}
62 +.pagination a.currentPagination{}
73 73  .pagination .controlPagination{}
64 +
74 74  /* Search Filters*/
75 75  #searchResultsList{
76 76   clear: both;
... ... @@ -78,6 +78,7 @@
78 78  .resultItem{
79 79   margin-bottom: 15px;
80 80  }
72 +
81 81  .resultItemContainer{
82 82   clear: both;
83 83   display: table-row;
... ... @@ -121,14 +121,13 @@
121 121   clear: both;
122 122   text-align: right;
123 123  }
116 +
124 124  .searchFooter .pagination {
125 125   width: 100%;
126 126   background-color: #f2f2f2;
127 127  }
128 -.divClosure
121 +
122 +.clearfloats
129 129  {
130 - background-color: transparent;
131 - clear: both;
132 - height: 1px;
133 - margin: 0 220px;
124 + background-color: none;
134 134  }