You are here

toc_filter.css in TOC filter 7

Same filename and directory in other branches
  1. 6 toc_filter.css

Table of content module styling

File

toc_filter.css
View source
  1. /**
  2. * @file
  3. * Table of content module styling
  4. */
  5. a.toc-filter-top /* Hide top anchor from page rendering */ {
  6. height: 0;
  7. width: 0;
  8. overflow: hidden;
  9. display: block;
  10. }
  11. div.toc-filter,
  12. div.toc-filter-bullet,
  13. div.toc-filter-number,
  14. div.toc-filter-faq {}
  15. div.toc-filter-content {
  16. clear: both;
  17. margin: 1em 0;
  18. border: 1px solid #ccc;
  19. padding: 1em;
  20. background-color: #eee;
  21. }
  22. div.toc-filter .item-list > h3 {
  23. margin-top: 0;
  24. }
  25. div.toc-filter-content ul,
  26. div.toc-filter-content ol {
  27. margin-top: 0;
  28. margin-bottom: 0;
  29. }
  30. h2 span.toc-filter-number,
  31. h3 span.toc-filter-number {
  32. float: left;
  33. display: block;
  34. color: #999;
  35. width: 1.5em;
  36. }
  37. /* back to top */
  38. div.toc-filter-back-to-top {
  39. clear: both;
  40. border-top: 1px solid #ccc;
  41. margin: 1em 0;
  42. }
  43. div.toc-filter-back-to-top.first {
  44. border-top: none;
  45. }
  46. div.toc-filter-back-to-top a:link,
  47. div.toc-filter-back-to-top a:visited {
  48. float: right;
  49. display: block;
  50. font-weight: bold;
  51. }
  52. div.toc-filter-jump-menu > form /* Must hide the
    and not the parent
    which also hides the
  53. display: none;
  54. }
  55. html.js div.toc-filter-jump-menu > form {
  56. display: block;
  57. }