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.

102 lines
2.2 KiB

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. }
  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. [dir=rtl] .dokuwiki div.search_quickresult ul li {
  25. float: right;
  26. }
  27. /*____________ search results ____________*/
  28. /* container for one search result */
  29. .dokuwiki div.search_result {
  30. margin-bottom: 1.4em;
  31. }
  32. /* search snippet */
  33. .dokuwiki div.search_result div.search_snippet {
  34. color: __text_alt__;
  35. background-color: inherit;
  36. }
  37. /* search hit in normal text */
  38. .dokuwiki .search_hit {
  39. color: __text__;
  40. background-color: __highlight__;
  41. }
  42. /* search hit in search results */
  43. .dokuwiki div.search_result strong.search_hit {
  44. font-weight: normal;
  45. }
  46. /* ellipsis separating snippets */
  47. .dokuwiki div.search_result .search_sep {
  48. color: __text__;
  49. background-color: inherit;
  50. }
  51. /* "nothing found" at search + media */
  52. .dokuwiki div.nothing {
  53. margin-bottom: 1.4em;
  54. }
  55. /* AJAX quicksearch popup
  56. ********************************************************************/
  57. .dokuwiki form.search div.no {
  58. position: relative;
  59. }
  60. /* .JSpopup */
  61. .dokuwiki form.search div.ajax_qsearch {
  62. position: absolute;
  63. top: 0;
  64. left: -13.5em; /* -( width of #qsearch__in + padding of .ajax_qsearch + a bit more ) */
  65. width: 12em;
  66. padding: 0.5em;
  67. font-size: .9em;
  68. z-index: 20;
  69. text-align: left;
  70. display: none;
  71. }
  72. [dir=rtl] .dokuwiki form.search div.ajax_qsearch {
  73. left: auto;
  74. right: -13.5em;
  75. text-align: right;
  76. }
  77. .dokuwiki form.search div.ajax_qsearch strong {
  78. display: block;
  79. margin-bottom: .3em;
  80. }
  81. .dokuwiki form.search div.ajax_qsearch ul {
  82. margin: 0 !important;
  83. padding: 0 !important;
  84. }
  85. .dokuwiki form.search div.ajax_qsearch ul li {
  86. margin: 0;
  87. padding: 0;
  88. display: block !important;
  89. }