jquery.treeview.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* https://github.com/jzaefferer/jquery-treeview/blob/master/jquery.treeview.css */
  2. /* License: MIT. */
  3. .treeview, .treeview ul {
  4. padding: 0;
  5. margin: 0;
  6. list-style: none;
  7. }
  8. .treeview ul {
  9. background-color: white;
  10. margin-top: 4px;
  11. }
  12. .treeview .hitarea {
  13. height: 16px;
  14. width: 16px;
  15. margin-left: -16px;
  16. float: left;
  17. cursor: pointer;
  18. }
  19. /* fix for IE6 */
  20. * html .hitarea {
  21. display: inline;
  22. float:none;
  23. }
  24. .treeview li {
  25. margin: 0;
  26. padding: 3px 0pt 3px 16px;
  27. }
  28. .treeview a.selected {
  29. background-color: #eee;
  30. }
  31. #treecontrol { margin: 1em 0; display: none; }
  32. .treeview .hover { color: red; cursor: pointer; }
  33. .treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
  34. .treeview .expandable-hitarea { background-position: -80px -3px; }
  35. .treeview li.last { background-position: 0 -1766px }
  36. .treeview li.lastCollapsable { background-position: 0 -111px }
  37. .treeview li.lastExpandable { background-position: -32px -67px }
  38. .treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
  39. .treeview .placeholder {
  40. height: 16px;
  41. width: 16px;
  42. display: block;
  43. }
  44. .filetree li { padding: 3px 0 2px 16px; }
  45. .filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }