Changes for page ListWebSearch
Last modified by Ecaterina Valica on 2010/07/22 10:30
From version 287.1
edited by Guillaume Lerouge
on 2009/03/20 17:58
on 2009/03/20 17:58
Change comment:
Rollback to version 278.1
To version 374.1
edited by Ecaterina Valica
on 2009/03/24 15:14
on 2009/03/24 15:14
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.GuillaumeLerouge1 +XWiki.evalica - 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>
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -20,6 +20,7 @@ 20 20 border: 2px solid #CCCCCC; 21 21 color: #4d4d4d; 22 22 font-size:15px; 23 + width: 400px; 23 23 } 24 24 .searchButton{ 25 25 background-color:#B3B3B3; ... ... @@ -42,22 +42,28 @@ 42 42 font-size: 90%; 43 43 } 44 44 #sortFilter{ 45 - color: # 808080;46 + color: #aaa; 46 46 padding: 5px; 47 47 line-height: 16px; 48 48 } 49 49 #sortFilter a.sortType{ 50 - color: # 808080;51 + color: #aaa; 51 51 } 52 -#sortFilter a:hover{ 53 +#sortFilter a.sortType:hover{ 53 53 color: #4D4D4D; 54 54 } 56 +#sortFilter a.sortType:focus { 57 + outline: dotted 1px #000; 58 +} 55 55 #sortFilter a#currentSort{ 56 56 color: #4D4D4D; 57 57 font-weight: bold; 58 58 } 63 +#sortFilter a#currentSort:focus { 64 + outline: dotted 1px #000; 65 +} 59 59 .paginationFilter { 60 - color: # 808080;67 + color: #aaa; 61 61 height: 100%; 62 62 border-top: 1px solid #CCCCCC; 63 63 padding: 2px 0px 5px 5px; ... ... @@ -68,7 +68,7 @@ 68 68 float: left; 69 69 } 70 70 .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{ 71 - color: # 808080;78 + color: #aaa; 72 72 } 73 73 .pagination{ 74 74 float: right; ... ... @@ -75,7 +75,7 @@ 75 75 margin-right: 10px; 76 76 } 77 77 .pagination a{ 78 - color: # 808080;85 + color: #aaa; 79 79 } 80 80 .pagination a:hover{ 81 81 color: #4D4D4D; ... ... @@ -84,6 +84,9 @@ 84 84 color: #4D4D4D; 85 85 font-weight: bold; 86 86 } 94 +.pagination a:focus { 95 + outline: dotted 1px #000; 96 +} 87 87 .controlPagination{ 88 88 position:relative; 89 89 width:41px; ... ... @@ -159,11 +159,14 @@ 159 159 width: 82%; 160 160 } 161 161 .itemDescription a{ 162 - color: # 5599ff;172 + color: #39397F; 163 163 } 164 164 .itemDescription a:hover{ 165 - color: # 5599ff;175 + color: #39397F; 166 166 } 177 +.itemDescription a:focus { 178 + outline: dotted 1px #000; 179 +} 167 167 .itemTitle a{ 168 168 color: #4d4d4d; 169 169 font-weight: bold; ... ... @@ -174,13 +174,19 @@ 174 174 font-weight: bold; 175 175 font-size:130%; 176 176 } 190 +.itemTitle a:focus { 191 + outline: dotted 1px #000; 192 +} 193 +a.itemAuthor:focus{ 194 + outline: dotted 1px #000; 195 +} 177 177 .itemLocation{ 178 - color: # 808080;197 + color: #aaa; 179 179 font-size:90%; 180 180 } 181 181 .itemLocation a.itemWiki , .itemLocation a.itemSpace, .itemLocation a.itemPage{} 182 182 .itemModifiers{ 183 - color: # 808080;202 + color: #aaa; 184 184 font-size:90%; 185 185 } 186 186 .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{} ... ... @@ -189,7 +189,6 @@ 189 189 padding: 0px 5px 0px 5px; 190 190 } 191 191 .itemOthers{ 192 - color: #808080; 193 193 font-size:80%; 194 194 } 195 195 .itemOthers .itemComments, .itemOthers .itemAttachments, .itemOthers .itemRating{ ... ... @@ -266,7 +266,6 @@ 266 266 .relevanceText{ 267 267 float: right; 268 268 margin-right: 5px; 269 - color: #808080; 270 270 font-size:80%; 271 271 } 272 272 .resultSeparator{ ... ... @@ -290,3 +290,78 @@ 290 290 height: 1px; 291 291 margin: 0 211px; 292 292 } 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:#5599FF; 381 + padding:0; 382 + margin: 0; 383 + text-decoration: inherited; 384 +}