You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.0 KiB

14 years ago
  1. /**
  2. * This file provides styles for the search results page (?do=search)
  3. * and the AJAX search popup.
  4. */
  5. /* search results page
  6. ********************************************************************/
  7. /* loading gif */
  8. .dokuwiki #dw__loading {
  9. }
  10. /*____________ matching pagenames ____________*/
  11. .dokuwiki div.search_quickresult {
  12. margin-bottom: 1.4em;
  13. }
  14. .dokuwiki div.search_quickresult h3 {
  15. }
  16. .dokuwiki div.search_quickresult ul {
  17. padding: 0;
  18. }
  19. .dokuwiki div.search_quickresult ul li {
  20. float: left;
  21. width: 12em;
  22. margin: 0 1.5em;
  23. }
  24. /*____________ search results ____________*/
  25. /* container for one search result */
  26. .dokuwiki div.search_result {
  27. margin-bottom: 1.4em;
  28. }
  29. /* search snippet */
  30. .dokuwiki div.search_result div.search_snippet {
  31. color: __text_alt__;
  32. background-color: inherit;
  33. }
  34. /* search hit in normal text */
  35. .dokuwiki .search_hit {
  36. color: __text__;
  37. background-color: __highlight__;
  38. }
  39. /* search hit in search results */
  40. .dokuwiki div.search_result strong.search_hit {
  41. font-weight: normal;
  42. }
  43. /* ellipsis separating snippets */
  44. .dokuwiki div.search_result .search_sep {
  45. color: __text__;
  46. background-color: inherit;
  47. }
  48. /* "nothing found" at search + media */
  49. .dokuwiki div.nothing {
  50. margin-bottom: 1.4em;
  51. }
  52. /* AJAX quicksearch popup
  53. ********************************************************************/
  54. .dokuwiki form.search div.no {
  55. position: relative;
  56. }
  57. /* .JSpopup */
  58. .dokuwiki form.search div.ajax_qsearch {
  59. position: absolute;
  60. top: 0;
  61. left: -13.5em; /* -( width of #qsearch__in + padding of .ajax_qsearch + a bit more ) */
  62. width: 12em;
  63. padding: 0.5em;
  64. font-size: .9em;
  65. z-index: 20;
  66. text-align: left;
  67. display: none;
  68. }
  69. .dokuwiki form.search div.ajax_qsearch strong {
  70. display: block;
  71. margin-bottom: .3em;
  72. }
  73. .dokuwiki form.search div.ajax_qsearch ul {
  74. margin: 0 !important;
  75. padding: 0 !important;
  76. }
  77. .dokuwiki form.search div.ajax_qsearch ul li {
  78. margin: 0;
  79. padding: 0;
  80. display: block !important;
  81. }