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.

128 lines
3.0 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
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 TOC (table of contents), the
  3. * sitemap (?do=index) and backlinks (?do=backlink).
  4. */
  5. /* toc
  6. ********************************************************************/
  7. /* toc container */
  8. .dokuwiki div.toc, /* old, until 2012-01-25 */
  9. #dw__toc /* new */ {
  10. float: right;
  11. margin: 0 0 1.4em 1.4em;
  12. width: 12em;
  13. background-color: __background_alt__;
  14. color: inherit;
  15. }
  16. [dir=rtl] .dokuwiki div.toc, /* old, until 2012-01-25 */
  17. [dir=rtl] #dw__toc /* new */ {
  18. float: left;
  19. margin: 0 1.4em 1.4em 0;
  20. }
  21. /*____________ toc header ____________*/
  22. .dokuwiki div.tocheader, /* old */
  23. #dw__toc h3 /* new */ {
  24. padding: .2em .5em;
  25. font-weight: bold;
  26. margin-bottom: 0;
  27. font-size: 1em;
  28. }
  29. .dokuwiki .toc span.toc_open, /* old */
  30. .dokuwiki .toc span.toc_close, /* old */
  31. #dw__toc h3 strong /* new */ {
  32. float: right;
  33. margin: 0 .2em;
  34. line-height: 1;
  35. }
  36. [dir=rtl] .dokuwiki .toc span.toc_open, /* old */
  37. [dir=rtl] .dokuwiki .toc span.toc_close, /* old */
  38. [dir=rtl] #dw__toc h3 strong /* new */ {
  39. float: left;
  40. }
  41. /*____________ toc list ____________*/
  42. .dokuwiki #toc__inside,
  43. #dw__toc > div {
  44. padding: .2em .5em;
  45. }
  46. .dokuwiki #toc__inside ul, /* old */
  47. #dw__toc ul /* new */ {
  48. padding: 0;
  49. margin: 0;
  50. }
  51. .dokuwiki #toc__inside ul li, /* old */
  52. #dw__toc ul li /* new */ {
  53. list-style: none;
  54. padding: 0;
  55. margin: 0;
  56. line-height: 1.1;
  57. }
  58. .dokuwiki #toc__inside ul li div.li, /* old */
  59. #dw__toc ul li div.li /* new */ {
  60. padding: .15em 0;
  61. }
  62. .dokuwiki #toc__inside ul ul, /* old */
  63. #dw__toc ul ul /* new */ {
  64. padding-left: 1em;
  65. }
  66. [dir=rtl] .dokuwiki #toc__inside ul ul, /* old */
  67. [dir=rtl] #dw__toc ul ul /* new */ {
  68. padding-left: 0;
  69. padding-right: 1em;
  70. }
  71. .dokuwiki #toc__inside ul ul li, /* old */
  72. #dw__toc ul ul li /* new */ {
  73. }
  74. .dokuwiki #toc__inside ul li a, /* old */
  75. #dw__toc ul li a /* new */ {
  76. }
  77. /* in case of toc list jumping one level
  78. (e.g. if heading level 3 follows directly after heading level 1) */
  79. .dokuwiki #toc__inside ul li.clear, /* old */
  80. #dw__toc ul li.clear /* new */ {
  81. }
  82. /* sitemap (and backlinks)
  83. ********************************************************************/
  84. .dokuwiki ul.idx {
  85. padding-left: 0;
  86. }
  87. [dir=rtl] .dokuwiki ul.idx {
  88. padding-right: 0;
  89. }
  90. .dokuwiki ul.idx li {
  91. list-style-image: url(images/bullet.png);
  92. /*
  93. @deprecated, change since Adora Belle:
  94. list-style-image: url(../../images/bullet.png);
  95. */
  96. }
  97. .dokuwiki ul.idx li.open {
  98. list-style-image: url(images/open.png);
  99. /*
  100. @deprecated, change since Adora Belle:
  101. list-style-image: url(../../images/open.png);
  102. */
  103. }
  104. .dokuwiki ul.idx li.closed {
  105. list-style-image: url(images/closed.png);
  106. /*
  107. @deprecated, change since Adora Belle:
  108. list-style-image: url(../../images/closed.png);
  109. */
  110. }
  111. [dir=rtl] .dokuwiki ul.idx li.closed {
  112. list-style-image: url(images/closed-rtl.png);
  113. /*
  114. @deprecated, change since Adora Belle:
  115. list-style-image: url(../../images/closed-rtl.png);
  116. */
  117. }