Changes for page ListWebSearch
Last modified by Ecaterina Valica on 2010/07/22 10:30
From version 300.1
edited by Ecaterina Valica
on 2009/03/22 12:18
on 2009/03/22 12:18
Change comment:
There is no comment for this version
To version 382.1
edited by Ecaterina Valica
on 2009/03/24 15:53
on 2009/03/24 15:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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="$msg.get("xe.search.bar.query")" size="50"title="$msg.get('xe.search.bar.query.title')"/>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 41 <input type="submit" class="searchButton" value="Search" title="$msg.get('xe.search.bar.go.title')"/> 42 42 <div class="searchHelp">$msg.get("xe.search.bar.help")</div> ... ... @@ -44,5 +44,6 @@ 44 44 </div> 45 45 </form> 46 46 #includeInContext("XWiki.WebSearchCode") 47 +#includeInContext("XWiki.ListSuggestions") 47 47 #includeInContext("XWiki.ListResults") 48 48 </div>
- variants.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.evalica - Size
-
... ... @@ -1,0 +1,1 @@ 1 +179.5 KB - Content
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,4 +2,3 @@ 1 - 2 2 #search{ 3 3 width: 100%; 4 4 background-color: #fff; ... ... @@ -21,6 +21,7 @@ 21 21 border: 2px solid #CCCCCC; 22 22 color: #4d4d4d; 23 23 font-size:15px; 23 + width: 400px; 24 24 } 25 25 .searchButton{ 26 26 background-color:#B3B3B3; ... ... @@ -43,12 +43,12 @@ 43 43 font-size: 90%; 44 44 } 45 45 #sortFilter{ 46 - color: # 808080;46 + color: #aaa; 47 47 padding: 5px; 48 48 line-height: 16px; 49 49 } 50 50 #sortFilter a.sortType{ 51 - color: # 808080;51 + color: #aaa; 52 52 } 53 53 #sortFilter a.sortType:hover{ 54 54 color: #4D4D4D; ... ... @@ -60,8 +60,11 @@ 60 60 color: #4D4D4D; 61 61 font-weight: bold; 62 62 } 63 +#sortFilter a#currentSort:focus { 64 + outline: dotted 1px #000; 65 +} 63 63 .paginationFilter { 64 - color: # 808080;67 + color: #aaa; 65 65 height: 100%; 66 66 border-top: 1px solid #CCCCCC; 67 67 padding: 2px 0px 5px 5px; ... ... @@ -72,7 +72,7 @@ 72 72 float: left; 73 73 } 74 74 .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{ 75 - color: # 808080;78 + color: #aaa; 76 76 } 77 77 .pagination{ 78 78 float: right; ... ... @@ -79,7 +79,7 @@ 79 79 margin-right: 10px; 80 80 } 81 81 .pagination a{ 82 - color: # 808080;85 + color: #aaa; 83 83 } 84 84 .pagination a:hover{ 85 85 color: #4D4D4D; ... ... @@ -166,10 +166,10 @@ 166 166 width: 82%; 167 167 } 168 168 .itemDescription a{ 169 - color: # 5599ff;172 + color: #39397F; 170 170 } 171 171 .itemDescription a:hover{ 172 - color: # 5599ff;175 + color: #39397F; 173 173 } 174 174 .itemDescription a:focus { 175 175 outline: dotted 1px #000; ... ... @@ -191,12 +191,12 @@ 191 191 outline: dotted 1px #000; 192 192 } 193 193 .itemLocation{ 194 - color: # 808080;197 + color: #aaa; 195 195 font-size:90%; 196 196 } 197 197 .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{} 198 198 .itemModifiers{ 199 - color: # 808080;202 + color: #aaa; 200 200 font-size:90%; 201 201 } 202 202 .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{} ... ... @@ -205,7 +205,6 @@ 205 205 padding: 0px 5px 0px 5px; 206 206 } 207 207 .itemOthers{ 208 - color: #808080; 209 209 font-size:80%; 210 210 } 211 211 .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{ ... ... @@ -282,7 +282,6 @@ 282 282 .relevanceText{ 283 283 float: right; 284 284 margin-right: 5px; 285 - color: #808080; 286 286 font-size:80%; 287 287 } 288 288 .resultSeparator{ ... ... @@ -306,3 +306,78 @@ 306 306 height: 1px; 307 307 margin: 0 211px; 308 308 } 310 +html>body .suggestResults{ 311 + width: 422px; 312 +} 313 +.suggestResults{ 314 + width: 400px; 315 + position: absolute; 316 + padding: 11px 0px; 317 + margin: 0px; 318 + z-index: 1000; 319 + left: 5px; 320 + top: 27px; 321 +} 322 +.suggestResults ul{ 323 + list-style: none; 324 + list-style-position: outside; 325 + margin: 0; 326 + padding: 0; 327 + background: #FFFFFF url($xwiki.getSkinFile('greyback2.png')) repeat-x scroll right bottom; 328 + border: 2px solid #ccc; 329 + border-top: none; 330 +} 331 +.suggestResults ul li{ 332 + padding: 5px 0 0; 333 + margin: 0; 334 + text-align: left; 335 +} 336 +.suggestResults ul li a{ 337 + display: block; 338 + text-decoration: none; 339 + background-color: transparent; 340 + position: relative; 341 + padding: 0; 342 + width: 100%; 343 +} 344 +.suggestResults ul li a .suggestItem{ 345 + display: block; 346 + padding: 0; 347 + margin: 0; 348 + clear: both; 349 +} 350 +.suggestResults ul li a .suggestItem .suggestName{ 351 + text-align: left; 352 + width: 60%; 353 + color: #4D4D4D; 354 + display:inline-block; 355 + font-size: 90%; 356 + padding-left: 6px; 357 + margin: 0px; 358 +} 359 +.suggestResults ul li a:hover .suggestItem .suggestName{ 360 + text-decoration: underline; 361 +} 362 +.suggestResults ul li a:hover .suggestItem .suggestName em{ 363 + text-decoration: underline; 364 +} 365 +.suggestResults ul li a:hover .suggestItem .suggestLocation{ 366 + color: #39397F; 367 + text-decoration: none; 368 +} 369 +.suggestResults ul li a .suggestItem .suggestLocation{ 370 + text-align: right; 371 + color: #aaa; 372 + font-size: 90%; 373 + width: 36%; 374 + vertical-align: top; 375 + display:inline-block; 376 + padding-right: 6px; 377 + margin: 0px; 378 +} 379 +em{ 380 + color:orange; 381 + padding:0; 382 + margin: 0; 383 + text-decoration: inherited; 384 +}