bootstrap-tree.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*!
  2. * Bootstrap Tree v0.3
  3. *
  4. * Copyright 2012 Cutters Crossing
  5. * Bootstrap is Copyright 2012 Twitter, Inc.
  6. * Licensed under the Apache License v2.0
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Designed and built with all the love in the world by @cutterbl.
  10. */
  11. .tree,
  12. .branch {
  13. list-style: none outside none;
  14. }
  15. .branch {
  16. postion: relative;
  17. height: 0;
  18. margin: 0 0 0 15px;
  19. overflow: hidden;
  20. }
  21. .branch.in {
  22. height: auto;
  23. }
  24. a:link,
  25. a:visited,
  26. a:hover,
  27. a:active {
  28. color: #000;
  29. text-decoration: none;
  30. }
  31. a:hover {
  32. text-decoration: underline;
  33. cursor: pointer;
  34. }
  35. /* Work in progress */
  36. a.tree-toggle-icon-only {
  37. height: 16px;
  38. width: 20px;
  39. line-height: 16px;
  40. vertical-align: middle;
  41. display: inline-block;
  42. background: url("../image/bstree-halflings.png") no-repeat;
  43. background-position: 0 -22px;
  44. }
  45. a.tree-toggle {
  46. height: 16px;
  47. padding-left: 20px;
  48. line-height: 16px;
  49. vertical-align: middle;
  50. display: inline-block;
  51. background: url("../image/bstree-halflings.png") no-repeat;
  52. background-position: 0 -22px;
  53. }
  54. a.tree-toggle.closed, a.tree-toggle-icon-only.closed {
  55. background-position: 0 1px;
  56. }