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.

113 lines
2.5 KiB

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