1/** 2 * This file provides styles for the search results page (?do=search) 3 * and the AJAX search popup. 4 */ 5 6/* search results page 7********************************************************************/ 8 9/* loading gif */ 10#dw__loading { 11 margin-bottom: 1.4em; 12 text-align: center; 13} 14 15/*____________ matching pagenames ____________*/ 16 17.dokuwiki div.search_quickresult { 18 margin-bottom: 1.4em; 19} 20 21.dokuwiki div.search_quickresult ul { 22 padding: 0; 23} 24.dokuwiki div.search_quickresult ul li { 25 float: left; 26 width: 12em; 27 margin: 0 1.5em; 28} 29[dir=rtl] .dokuwiki div.search_quickresult ul li { 30 float: right; 31} 32 33/*____________ search results ____________*/ 34 35.dokuwiki div.search_result { 36 margin-bottom: 1.2em; 37} 38/* search heading */ 39.dokuwiki dl.search_results dt { 40 margin-bottom: .2em; 41 font-weight: normal; 42} 43 44/* search snippet */ 45.dokuwiki div.search_result div.search_snippet, /* old, until 2012-01-25 */ 46.dokuwiki dl.search_results dd /* new */ { 47 margin: 0 0 1.2em 0; 48 color: __text_alt__; 49 background-color: inherit; 50} 51 52/* search hit in normal text */ 53.dokuwiki .search_hit { 54 color: __text__; 55 background-color: __highlight__; 56} 57/* search hit in search results */ 58.dokuwiki div.search_result strong.search_hit, /* old */ 59.dokuwiki .search_results strong.search_hit /* new */ { 60 font-weight: normal; 61} 62/* ellipsis separating snippets */ 63.dokuwiki div.search_result .search_sep, /* old */ 64.dokuwiki .search_results .search_sep /* new */ { 65 color: __text__; 66 background-color: inherit; 67} 68 69/* "nothing found" at search + media */ 70.dokuwiki div.nothing { 71 margin-bottom: 1.4em; 72} 73 74 75/* AJAX quicksearch popup 76********************************************************************/ 77 78.dokuwiki form.search div.no { 79 position: relative; 80 z-index: 1; 81} 82 83/* .JSpopup */ 84.dokuwiki form.search div.ajax_qsearch { 85 position: absolute; 86 top: 0; 87 left: -13.5em; /* -( width of #qsearch__in + padding of .ajax_qsearch + a bit more ) */ 88 z-index: 20; 89 display: none; 90 width: 12em; 91 padding: .5em; 92 font-size: .9em; 93 text-align: left; 94} 95[dir=rtl] .dokuwiki form.search div.ajax_qsearch { 96 right: -13.5em; 97 left: auto; 98 text-align: right; 99} 100 101.dokuwiki form.search div.ajax_qsearch strong { 102 display: block; 103 margin-bottom: .3em; 104} 105.dokuwiki form.search div.ajax_qsearch ul { 106 padding: 0 !important; 107 margin: 0 !important; 108} 109.dokuwiki form.search div.ajax_qsearch ul li { 110 display: block !important; 111 padding: 0; 112 margin: 0; 113} 114