Changes for page ListWebSearch
Last modified by Ecaterina Valica on 2010/07/22 10:30
From version 311.1
edited by Ecaterina Valica
on 2009/03/23 15:49
on 2009/03/23 15:49
Change comment:
There is no comment for this version
To version 413.1
edited by Ecaterina Valica
on 2009/03/25 12:49
on 2009/03/25 12:49
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -33,15 +33,13 @@ 33 33 #set($url = $xwiki.getURL("Main.WebSearchRss", "view", "xpage=rdf&space=$space&text=${utext}")) 34 34 #end 35 35 <div id="search"> 36 -<form action=""> 37 - <div id="searchBar"> 36 +<form action="" id="searchBar"> 38 38 {pre} 39 39 <input type="text" name="text" class="searchQuery" value="$msg.get("xe.search.bar.query")" title="$msg.get('xe.search.bar.query.title')"/> 40 40 #spaceselect($space $spaces $spacesText) 41 - <input type="submit" class="searchButton" value=" Search" title="$msg.get('xe.search.bar.go.title')"/>40 + <input type="submit" class="searchButton" value="$msg.get('xe.search.bar.go')" title="$msg.get('xe.search.bar.go.title')"/> 42 42 <div class="searchHelp">$msg.get("xe.search.bar.help")</div> 43 43 {/pre} 44 - </div> 45 45 </form> 46 46 #includeInContext("XWiki.WebSearchCode") 47 47 #includeInContext("XWiki.ListSuggestions")
- searchBlue.css
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.evalica - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.3 KB - Content
- searchYellow.css
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.evalica - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.4 KB - Content
-
... ... @@ -1,0 +1,386 @@ 1 +#search{ 2 + width: 100%; 3 + background-color: #fff; 4 +} 5 +/* Search Bar*/ 6 +#searchBar{ 7 + margin-bottom: 11px; 8 + padding-left: 5px; 9 + clear: both; 10 +} 11 +#searchBar select { 12 + border: 2px solid #CCCCCC; 13 + color: #4d4d4d; 14 + font-size:15px; 15 +} 16 +.searchQuery{ 17 + background:transparent url($xwiki.getSkinFile("search.png")) center left no-repeat; 18 + display:inline-block; 19 + padding-left:18px; 20 + border: 2px solid #CCCCCC; 21 + color: #4d4d4d; 22 + font-size:15px; 23 + width: 400px; 24 +} 25 +.searchButton{ 26 + background-color:#B3B3B3; 27 + border:2px solid #B3B3B3; 28 + color:#FFFFFF; 29 + font-family:Verdana; 30 + font-size:11px; 31 + font-variant:small-caps; 32 + font-weight:bold; 33 + height:23px; 34 + line-height:12px; 35 +} 36 +.searchHelp{ 37 + font-size: 80%; 38 + color: #808080; 39 +} 40 +/* Search Filters*/ 41 +.searchFilters{ 42 + clear: both; 43 + font-size: 90%; 44 +} 45 +#sortFilter{ 46 + color: #808080; 47 + padding: 5px; 48 + line-height: 16px; 49 +} 50 +#sortFilter a.sortType{ 51 + color: #808080; 52 +} 53 +#sortFilter a.sortType:hover{ 54 + color: #4D4D4D; 55 +} 56 +#sortFilter a.sortType:focus { 57 + outline: dotted 1px #000; 58 +} 59 +#sortFilter a#currentSort{ 60 + color: #4D4D4D; 61 + font-weight: bold; 62 +} 63 +#sortFilter a#currentSort:focus { 64 + outline: dotted 1px #000; 65 +} 66 +.paginationFilter { 67 + color: #808080; 68 + height: 100%; 69 + border-top: 1px solid #CCCCCC; 70 + padding: 2px 0px 5px 5px; 71 + display: block; 72 + line-height: 22px; 73 +} 74 +.resultsNo{ 75 + float: left; 76 +} 77 +.resultsNo .currentResultsNo, .resultsNo .totalResultsNo{ 78 + color: #808080; 79 +} 80 +.pagination{ 81 + float: right; 82 + margin-right: 10px; 83 +} 84 +.pagination a{ 85 + color: #808080; 86 +} 87 +.pagination a:hover{ 88 + color: #4D4D4D; 89 +} 90 +.pagination a.currentPagination{ 91 + color: #4D4D4D; 92 + font-weight: bold; 93 +} 94 +.pagination a:focus { 95 + outline: dotted 1px #000; 96 +} 97 +.controlPagination{ 98 + position:relative; 99 + width:41px; 100 + height:22px; 101 + overflow:hidden; 102 + margin:0!important; 103 + padding:0!important; 104 + list-style:none; 105 + background-image:url($xwiki.getSkinFile("navigation.png")); 106 + float: right; 107 +} 108 +.controlPagination li{ 109 + display:inline; 110 +} 111 +.controlPagination a{ 112 + position:absolute; 113 + top:0; 114 + left:0; 115 + text-indent:-1000em; 116 + height:25px; 117 + line-height:25px; 118 + outline:none; 119 + overflow:hidden; 120 + border:none; 121 +} 122 +a.prevPagination { 123 + width: 50%; 124 + z-index: 2; 125 +} 126 +a.nextPagination { 127 + width: 100%; 128 + z-index: 1; 129 +} 130 +/* Search Result List*/ 131 +#searchResultsList{ 132 + clear: both; 133 + display: table; 134 + padding-top: 15px; 135 +} 136 +.resultItem{ 137 + display: block; 138 +} 139 +.resultItemContainer{ 140 + clear: both; 141 + width: 100%; 142 +} 143 +.itemType{ 144 + float: left; 145 + display: inline-block; 146 + width: 3%; 147 +} 148 +.itemType .typeComment{ 149 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat; 150 + display:inline-block; 151 + width:16px; 152 + height:16px; 153 +} 154 +.itemType .typeAttachment{ 155 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat; 156 + display:inline-block; 157 + width:16px; 158 + height:16px; 159 +} 160 +.itemType .typePage{ 161 + background:transparent; 162 + display:inline-block; 163 + width:16px; 164 + height:16px; 165 +} 166 +.itemDescription{ 167 + float: left; 168 + display: inline-block; 169 + width: 82%; 170 +} 171 +.itemDescription a{ 172 + color: #5599ff; 173 +} 174 +.itemDescription a:hover{ 175 + color: #5599ff; 176 +} 177 +.itemDescription a:focus { 178 + outline: dotted 1px #000; 179 +} 180 +.itemTitle a{ 181 + color: #4d4d4d; 182 + font-weight: bold; 183 + font-size:130%; 184 +} 185 +.itemTitle a:hover{ 186 + color: #4d4d4d; 187 + font-weight: bold; 188 + font-size:130%; 189 +} 190 +.itemTitle a:focus { 191 + outline: dotted 1px #000; 192 +} 193 +a.itemAuthor:focus{ 194 + outline: dotted 1px #000; 195 +} 196 +.itemLocation{ 197 + color: #808080; 198 + font-size:90%; 199 +} 200 +.itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{} 201 +.itemModifiers{ 202 + color: #808080; 203 + font-size:90%; 204 +} 205 +.itemModifiers a.itemAuthor, .itemModifiers a.itemDate{} 206 +.itemContext .highlight{ 207 + background-color: #f7ff94; 208 + padding: 0px 5px 0px 5px; 209 +} 210 +.itemOthers{ 211 + color: #808080; 212 + font-size:80%; 213 +} 214 +.itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{ 215 + font-size:80%; 216 + display:inline; 217 + clear:none; 218 + float:left; 219 + padding-right: 5px; 220 +} 221 +.itemOthers .itemComments a{ 222 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat; 223 + display:inline-block; 224 + padding-right:16px; 225 +} 226 +.itemOthers .itemAttachments a{ 227 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat; 228 + display:inline-block; 229 + padding-right:16px; 230 +} 231 +.itemRating{ 232 + position:relative; 233 + width:55px; 234 + height:11px; 235 + overflow:hidden; 236 + margin:1px 0 0 0!important; 237 + padding:0!important; 238 + background-position:left top; 239 + background-image:url($xwiki.getSkinFile("rating.png")); 240 +} 241 +.itemRating .currentRating{ 242 + position:absolute; 243 + top:0;left:0; 244 + text-indent:-1000em; 245 + height:11px; 246 + line-height:11px; 247 + outline:none; 248 + overflow:hidden; 249 + border:none; 250 + background-image:url($xwiki.getSkinFile("rating.png")); 251 + z-index:1; 252 + background-position:left center; 253 +} 254 +.itemRelevance{ 255 + float: left; 256 + display: inline-block; 257 + width: 15%; 258 + text-align: right; 259 +} 260 +.relevance{ 261 + position:relative; 262 + width:48px; 263 + height:8px; 264 + overflow:hidden; 265 + list-style:none; 266 + margin:5px 0 0 0!important; 267 + padding:0!important; 268 + background-position:left bottom; 269 + background-image:url($xwiki.getSkinFile("relevance.png")); 270 + float:right; 271 +} 272 +.relevance .currentRelevance{ 273 + position:absolute; 274 + top:0;left:0; 275 + text-indent:-1000em; 276 + height:8px; 277 + line-height:8px; 278 + outline:none; 279 + overflow:hidden; 280 + border:none; 281 + background-image:url($xwiki.getSkinFile("relevance.png")); 282 + z-index:1; 283 + background-position:left top; 284 +} 285 +.relevanceText{ 286 + float: right; 287 + margin-right: 5px; 288 + color: #808080; 289 + font-size:80%; 290 +} 291 +.resultSeparator{ 292 + display:block; 293 + width:100%; 294 + clear:both; 295 + padding: 0; 296 + margin: 0; 297 + margin-bottom: 15px; 298 + height: 1px; 299 +} 300 +.searchFooter{ 301 + display: block; 302 + clear: both; 303 + text-align: right; 304 + font-size: 90%; 305 +} 306 +.divClosure { 307 + background-color: transparent; 308 + clear: both; 309 + height: 1px; 310 + margin: 0 211px; 311 +} 312 +html>body div.suggestResults{ 313 + width: 422px; 314 +} 315 +div.suggestResults{ 316 + width: 400px; 317 + position: absolute; 318 + padding: 11px 0px; 319 + margin: 0px; 320 + z-index: 1000; 321 + left: 5px; 322 + top: 27px; 323 +} 324 +div.suggestResults ul{ 325 + list-style: none; 326 + list-style-position: outside; 327 + margin: 0; 328 + padding: 0; 329 + background: #FFFFFF url($xwiki.getSkinFile("greyback2.png")) repeat-x scroll 0 0; 330 + border: 2px solid #ccc; 331 + border-top: none; 332 +} 333 +div.suggestResults ul li{ 334 + padding: 5px 0 0; 335 + margin: 0; 336 + text-align: left; 337 +} 338 +div.suggestResults ul li a{ 339 + display: block; 340 + text-decoration: none; 341 + background-color: transparent; 342 + position: relative; 343 + padding: 0; 344 + width: 100%; 345 +} 346 +div.suggestResults ul li a span.suggestItem{ 347 + display: block; 348 + padding: 0; 349 + margin: 0; 350 + clear: both; 351 +} 352 +div.suggestResults ul li a span.suggestItem span.suggestName{ 353 + text-align: left; 354 + width: 60%; 355 + color: #4D4D4D; 356 + display:inline-block; 357 + font-size: 90%; 358 + padding-left: 6px; 359 + margin: 0px; 360 +} 361 +div.suggestResults ul li a:hover span.suggestItem span.suggestName{ 362 + text-decoration: underline; 363 +} 364 +div.suggestResults ul li a:hover span.suggestItem span.suggestName em{ 365 + text-decoration: underline; 366 +} 367 +div.suggestResults ul li a:hover span.suggestItem span.suggestLocation{ 368 + color: #5599FF; 369 + text-decoration: none; 370 +} 371 +div.suggestResults ul li a span.suggestItem span.suggestLocation{ 372 + text-align: right; 373 + color: #bbb; 374 + font-size: 90%; 375 + width: 36%; 376 + vertical-align: top; 377 + display:inline-block; 378 + padding-right: 6px; 379 + margin: 0px; 380 +} 381 +em{ 382 + background-color:#F7FF94; 383 + padding:0; 384 + margin: 0; 385 + text-decoration: inherited; 386 +}
- variants.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.evalica - Size
-
... ... @@ -1,0 +1,1 @@ 1 +179.5 KB - Content
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -21,13 +21,11 @@ 21 21 color: #4d4d4d; 22 22 font-size:15px; 23 23 width: 400px; 24 - height: 26px; 25 25 } 26 26 .searchButton{ 27 27 background-color:#B3B3B3; 28 28 border:2px solid #B3B3B3; 29 29 color:#FFFFFF; 30 - font-family:Verdana; 31 31 font-size:11px; 32 32 font-variant:small-caps; 33 33 font-weight:bold; ... ... @@ -44,18 +44,18 @@ 44 44 font-size: 90%; 45 45 } 46 46 #sortFilter{ 47 - color: # 808080;45 + color: #aaa; 48 48 padding: 5px; 49 49 line-height: 16px; 50 50 } 51 51 #sortFilter a.sortType{ 52 - color: # 808080;50 + color: #aaa; 53 53 } 54 54 #sortFilter a.sortType:hover{ 55 55 color: #4D4D4D; 56 56 } 57 57 #sortFilter a.sortType:focus { 58 - 56 + outline: dotted 1px #000; 59 59 } 60 60 #sortFilter a#currentSort{ 61 61 color: #4D4D4D; ... ... @@ -62,10 +62,10 @@ 62 62 font-weight: bold; 63 63 } 64 64 #sortFilter a#currentSort:focus { 65 - 63 + outline: dotted 1px #000; 66 66 } 67 67 .paginationFilter { 68 - color: # 808080;66 + color: #aaa; 69 69 height: 100%; 70 70 border-top: 1px solid #CCCCCC; 71 71 padding: 2px 0px 5px 5px; ... ... @@ -76,14 +76,20 @@ 76 76 float: left; 77 77 } 78 78 .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{ 79 - color: # 808080;77 + color: #aaa; 80 80 } 79 +.paginationFooter{ 80 + display: block; 81 + clear: both; 82 + text-align: right; 83 + font-size: 90%; 84 +} 81 81 .pagination{ 82 82 float: right; 83 83 margin-right: 10px; 84 84 } 85 85 .pagination a{ 86 - color: # 808080;90 + color: #aaa; 87 87 } 88 88 .pagination a:hover{ 89 89 color: #4D4D4D; ... ... @@ -93,22 +93,18 @@ 93 93 font-weight: bold; 94 94 } 95 95 .pagination a:focus { 96 - 100 + outline: dotted 1px #000; 97 97 } 98 98 .controlPagination{ 99 99 position:relative; 100 - width:4 1px;104 + width:42px; 101 101 height:22px; 102 102 overflow:hidden; 103 103 margin:0!important; 104 104 padding:0!important; 105 105 list-style:none; 106 - background-image:url($xwiki.getSkinFile("navigation.png")); 107 107 float: right; 108 108 } 109 -.controlPagination li{ 110 - display:inline; 111 -} 112 112 .controlPagination a{ 113 113 position:absolute; 114 114 top:0; ... ... @@ -120,16 +120,34 @@ 120 120 overflow:hidden; 121 121 border:none; 122 122 } 123 -a.prevPagination { 124 - width: 50%; 125 - z-index: 2; 123 +.controlPagination a.prevPagination { 124 + background-position:left top; 125 + background-image:url($xwiki.getSkinFile("navigat.png")); 126 + width: 21px; 127 + height: 22px; 126 126 } 127 -a.nextPagination { 128 - width: 100%; 129 - z-index: 1; 129 +.controlPagination a.noPrevPagination{ 130 + background-position:left bottom; 131 + background-image:url($xwiki.getSkinFile("navigat.png")); 132 + width: 21px; 133 + height: 22px; 134 + left:21px; 130 130 } 131 -/* Search Result List*/ 132 -#searchResultsList{ 136 +.controlPagination a.nextPagination { 137 + background-position:right top; 138 + background-image:url($xwiki.getSkinFile("navigat.png")); 139 + width: 21px; 140 + height: 22px; 141 + left: 21px; 142 +} 143 +.controlPagination a.noNextPagination { 144 + background-position:right bottom; 145 + background-image:url($xwiki.getSkinFile("navigat.png")); 146 + width: 21px; 147 + height: 22px; 148 +} 149 +/* Search Result*/ 150 +#searchResults{ 133 133 clear: both; 134 134 display: table; 135 135 padding-top: 15px; ... ... @@ -137,7 +137,7 @@ 137 137 .resultItem{ 138 138 display: block; 139 139 } 140 -.result ItemContainer{158 +.resultContainer{ 141 141 clear: both; 142 142 width: 100%; 143 143 } ... ... @@ -170,13 +170,13 @@ 170 170 width: 82%; 171 171 } 172 172 .itemDescription a{ 173 - color: # 5599ff;191 + color: #39397F; 174 174 } 175 175 .itemDescription a:hover{ 176 - color: # 5599ff;194 + color: #39397F; 177 177 } 178 178 .itemDescription a:focus { 179 - 197 + outline: dotted 1px #000; 180 180 } 181 181 .itemTitle a{ 182 182 color: #4d4d4d; ... ... @@ -189,27 +189,27 @@ 189 189 font-size:130%; 190 190 } 191 191 .itemTitle a:focus { 192 - 210 + outline: dotted 1px #000; 193 193 } 194 194 a.itemAuthor:focus{ 195 - 213 + outline: dotted 1px #000; 196 196 } 197 197 .itemLocation{ 198 - color: # 808080;216 + color: #aaa; 199 199 font-size:90%; 200 200 } 201 201 .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{} 202 202 .itemModifiers{ 203 - color: # 808080;221 + color: #aaa; 204 204 font-size:90%; 205 205 } 206 -.itemModifiers a.itemAuthor, .itemModifiers a.itemDate{} 207 -.itemContext .highlight{ 208 - background-color: #f7ff94; 209 - padding: 0px 5px 0px 5px; 224 +.itemContext em{ 225 + background-color:#F7FF94; 226 + padding:0; 227 + margin: 0; 228 + text-decoration: inherited; 210 210 } 211 211 .itemOthers{ 212 - color: #808080; 213 213 font-size:80%; 214 214 } 215 215 .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{ ... ... @@ -286,7 +286,6 @@ 286 286 .relevanceText{ 287 287 float: right; 288 288 margin-right: 5px; 289 - color: #808080; 290 290 font-size:80%; 291 291 } 292 292 .resultSeparator{ ... ... @@ -298,42 +298,34 @@ 298 298 margin-bottom: 15px; 299 299 height: 1px; 300 300 } 301 -.searchFooter{ 302 - display: block; 303 - clear: both; 304 - text-align: right; 305 - font-size: 90%; 318 +html>body .suggestResults{ 319 + width: 422px; 306 306 } 307 -.divClosure { 308 - background-color: transparent; 309 - clear: both; 310 - height: 1px; 311 - margin: 0 211px; 312 -} 313 -div.suggestResults{ 321 +.suggestResults{ 322 + display:none; 323 + width: 400px; 314 314 position: absolute; 315 - padding: 10px 0 0 0; 316 - z-index: 100013; 325 + padding: 11px 0px; 326 + margin: 0px; 327 + z-index: 1000; 317 317 left: 5px; 318 - top: 34px; 319 - width: 400px; 329 + top: 27px; 320 320 } 321 - div.suggestResults ul{331 +.suggestResults ul{ 322 322 list-style: none; 323 - margin: 0 0 -4px 0; 333 + list-style-position: outside; 334 + margin: 0; 324 324 padding: 0; 325 - overflow: hidden; 326 - background-color: #fff; 336 + background: #FFFFFF url($xwiki.getSkinFile('suggestBg.png')) repeat-x scroll 0 0; 327 327 border: 2px solid #ccc; 338 + border-top: none; 328 328 } 329 -div.suggestResults ul li{ 330 - color: #ccc; 331 - padding: 0; 332 - margin: 0 4px 4px; 340 +.suggestResults ul li{ 341 + padding: 5px 0 0; 342 + margin: 0; 333 333 text-align: left; 334 334 } 335 -div.suggestResults ul li a{ 336 - color: #4D4D4D; 345 +.suggestResults ul li a{ 337 337 display: block; 338 338 text-decoration: none; 339 339 background-color: transparent; ... ... @@ -341,33 +341,47 @@ 341 341 padding: 0; 342 342 width: 100%; 343 343 } 344 -div.suggestResults ul li a:hover{ 345 - background-color: #fff; 346 -} 347 -div.suggestResults ul li a span.suggestItem{ 353 +.suggestResults ul li a .suggestItem{ 348 348 display: block; 349 - padding: 3px 6px; 350 - font-weight: normal; 351 - width: 100%; 355 + padding: 0; 356 + margin: 0; 352 352 clear: both; 353 353 } 354 -div.suggestResults ul li a span.suggestItem span.suggestName{ 359 +.suggestResults ul li a:focus .suggestItem{ 360 + outline: dotted 1px #000; 361 +} 362 +.suggestResults ul li a .suggestItem .suggestTitle{ 355 355 text-align: left; 356 356 width: 60%; 365 + color: #4D4D4D; 357 357 display:inline-block; 367 + font-weight: bold; 368 + font-size: 90%; 369 + padding-left: 6px; 370 + margin: 0px; 358 358 } 359 -div.suggestResults ul li a:hover span.suggestItem span.suggestName{ 372 +.suggestResults em{ 373 + background-color:#F7FF94; 374 + padding:0; 375 + margin: 0; 376 + text-decoration: inherited; 377 +} 378 +.suggestResults ul li a:hover .suggestItem .suggestTitle, 379 +.suggestResults ul li a:hover .suggestItem .suggestTitle em{ 360 360 text-decoration: underline; 361 361 } 362 -div.suggestResults ul li a span.suggestItem span.suggestLocation{ 382 +.suggestResults ul li a:hover .suggestItem .suggestLocation .suggestWiki, 383 +.suggestResults ul li a:hover .suggestItem .suggestLocation .suggestSpace{ 384 + color: #39397F; 385 + text-decoration: none; 386 +} 387 +.suggestResults ul li a .suggestItem .suggestLocation{ 363 363 text-align: right; 364 - color: #cccccc; 389 + color: #aaa; 390 + font-size: 90%; 365 365 width: 36%; 366 366 vertical-align: top; 367 367 display:inline-block; 368 368 padding-right: 6px; 395 + margin: 0px; 369 369 } 370 -div.suggestResults ul em{ 371 - font-style: normal; 372 - color: #5599FF; 373 -}