_toc.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. #dw__toc {
  9. float: right;
  10. margin: 0 0 1.4em 1.4em;
  11. width: 12em;
  12. background-color: @ini_background_alt;
  13. color: inherit;
  14. }
  15. [dir=rtl] #dw__toc {
  16. float: left;
  17. margin: 0 1.4em 1.4em 0;
  18. }
  19. /*____________ toc header ____________*/
  20. .dokuwiki h3.toggle {
  21. padding: .2em .5em;
  22. font-weight: bold;
  23. }
  24. .dokuwiki .toggle strong {
  25. float: right;
  26. margin: 0 .2em;
  27. }
  28. [dir=rtl] .dokuwiki .toggle strong {
  29. float: left;
  30. }
  31. /*____________ toc list ____________*/
  32. #dw__toc > div {
  33. padding: .2em .5em;
  34. }
  35. #dw__toc ul {
  36. padding: 0;
  37. margin: 0;
  38. }
  39. #dw__toc ul li {
  40. list-style: none;
  41. padding: 0;
  42. margin: 0;
  43. line-height: 1.1;
  44. }
  45. #dw__toc ul li div.li {
  46. padding: .15em 0;
  47. }
  48. #dw__toc ul ul {
  49. padding-left: 1em;
  50. }
  51. [dir=rtl] #dw__toc ul ul {
  52. padding-left: 0;
  53. padding-right: 1em;
  54. }
  55. #dw__toc ul ul li {
  56. }
  57. #dw__toc ul li a {
  58. }
  59. /* in case of toc list jumping one level
  60. (e.g. if heading level 3 follows directly after heading level 1) */
  61. #dw__toc ul li.clear {
  62. }
  63. /* sitemap (and backlinks)
  64. ********************************************************************/
  65. .dokuwiki ul.idx {
  66. padding-left: 0;
  67. }
  68. [dir=rtl] .dokuwiki ul.idx {
  69. padding-right: 0;
  70. }
  71. .dokuwiki ul.idx li {
  72. list-style-image: url(../../images/bullet.png);
  73. }
  74. .dokuwiki ul.idx li.open {
  75. list-style-image: url(../../images/open.png);
  76. }
  77. .dokuwiki ul.idx li.closed {
  78. list-style-image: url(../../images/closed.png);
  79. }
  80. [dir=rtl] .dokuwiki ul.idx li.closed {
  81. list-style-image: url(../../images/closed-rtl.png);
  82. }