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.

114 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
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. z-index: 1;
  70. }
  71. /* .JSpopup */
  72. .dokuwiki form.search div.ajax_qsearch {
  73. position: absolute;
  74. top: 0;
  75. left: -13.5em; /* -( width of #qsearch__in + padding of .ajax_qsearch + a bit more ) */
  76. width: 12em;
  77. padding: 0.5em;
  78. font-size: .9em;
  79. z-index: 20;
  80. text-align: left;
  81. display: none;
  82. }
  83. [dir=rtl] .dokuwiki form.search div.ajax_qsearch {
  84. left: auto;
  85. right: -13.5em;
  86. text-align: right;
  87. }
  88. .dokuwiki form.search div.ajax_qsearch strong {
  89. display: block;
  90. margin-bottom: .3em;
  91. }
  92. .dokuwiki form.search div.ajax_qsearch ul {
  93. margin: 0 !important;
  94. padding: 0 !important;
  95. }
  96. .dokuwiki form.search div.ajax_qsearch ul li {
  97. margin: 0;
  98. padding: 0;
  99. display: block !important;
  100. }