Changes for page ListWebSearch

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

From version 172.1
edited by Ecaterina Valica
on 2009/03/19 15:52
Change comment: There is no comment for this version
To version 187.1
edited by Ecaterina Valica
on 2009/03/19 16:31
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"))
... ... @@ -11,7 +11,6 @@
11 11  #foreach($space in $spaces)
12 12   #set($ok = $spacesText.put($space,$space))
13 13  #end
14 -
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
... ... @@ -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"/>
37 + <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,18 +4,17 @@
4 4  }
5 5  /* Search Bar*/
6 6  #searchBar{
7 - padding: 10px 10px 5px 10px;
8 - background-color: #e6e6e6;
9 - border: 1px solid #b3b3b3;
10 10   margin-bottom: 11px;
11 11   clear: both;
12 12  }
13 -#searchBar input, #searchBar select {
14 - border: 1px solid #b3b3b3;
10 +#searchBar .searchQuery, #searchBar select {
11 + border: 1px solid #5599FF;
15 15   color: #4d4d4d;
16 16  }
17 -.searchButton{
18 - border: none;
14 +.searchQuery{
15 + background:transparent url($xwiki.getSkinFile("search.png")) center left no-repeat;
16 + display:inline-block;
17 + padding-left:18px;
19 19  }
20 20  .searchHelp{
21 21   font-size: 80%;
... ... @@ -24,12 +24,11 @@
24 24  /* Search Filters*/
25 25  .searchFilters{
26 26   clear: both;
27 - margin-bottom: 15px;
26 + margin-bottom: 10px;
28 28   font-size: 90%;
29 29  }
30 30  #sortFilter{
31 31   color: #808080;
32 - background-color: #F9F9F9;
33 33   padding: 5px;
34 34   line-height: 16px;
35 35  }
... ... @@ -38,7 +38,6 @@
38 38  }
39 39  #sortFilter a:hover{
40 40   color: #777777;
41 - font-weight: bold;
42 42  }
43 43  #sortFilter a#currentSort{
44 44   color: #777777;
... ... @@ -47,9 +47,8 @@
47 47  .paginationFilter {
48 48   color: #808080;
49 49   height: 100%;
50 - background-color: #F9F9F9;
51 51   border-top: 1px solid #CCCCCC;
52 - padding: 5px;
48 + padding: 5px 0px 5px 5px;
53 53   display: block;
54 54   line-height: 22px;
55 55  }
... ... @@ -68,7 +68,6 @@
68 68  }
69 69  .pagination a:hover{
70 70   color: #777777;
71 - font-weight: bold;
72 72  }
73 73  .pagination a.currentPagination{
74 74   color: #777777;
... ... @@ -125,13 +125,13 @@
125 125   width: 3%;
126 126  }
127 127  .itemType .typeComment{
128 - background:transparent url($xwiki.getSkinFile("comment.png")) center right no-repeat;
123 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat;
129 129   display:inline-block;
130 130   width:16px;
131 131   height:16px;
132 132  }
133 133  .itemType .typeAttachment{
134 - background:transparent url($xwiki.getSkinFile("attach.png")) center right no-repeat;
129 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat;
135 135   display:inline-block;
136 136   width:16px;
137 137   height:16px;
... ... @@ -150,6 +150,9 @@
150 150  .itemDescription a{
151 151   color: #5599ff;
152 152  }
148 +.itemDescription a:hover{
149 + color: #5599ff;
150 +}
153 153  .itemTitle a{
154 154   color: #4d4d4d;
155 155   font-weight: bold;