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