Tree.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /* Tree */
  2. .nihilo .dijitTreeNode {
  3. background : url('images/treeI.gif') no-repeat;
  4. background-position : top left;
  5. background-repeat : repeat-y;
  6. zoom: 1;
  7. }
  8. /* left vertical line (grid) for all nodes */
  9. .nihilo .dijitTreeIsLast {
  10. background: url('images/treeI_half.gif') no-repeat;
  11. }
  12. .nihilo .dijitTreeRowHover {
  13. /* using a transparent png so that we can still see grid lines, which are (unfortunately) behind the dijitRowNode that we are hovering over */
  14. background-image: url(images/treeHover.png);
  15. background-repeat: repeat;
  16. background-color: transparent !important;
  17. }
  18. .nihilo .dijitTreeLabel {
  19. font-weight: normal;
  20. margin-left: 3px;
  21. }
  22. .nihilo .dijitTreeIsRoot {
  23. margin-left: 0;
  24. background-image: none;
  25. }
  26. .nihilo .dijitTreeExpando {
  27. width: 18px;
  28. height: 18px;
  29. }
  30. .nihilo .dijitTreeRow {
  31. /* so insert line shows up on IE when dropping after a target element */
  32. padding-bottom: 2px;
  33. }
  34. .nihilo .dijitTreeContent {
  35. min-height: 18px;
  36. min-width: 18px;
  37. padding-left:1px;
  38. }
  39. .nihilo .dijitTreeExpandoOpened {
  40. background: url('images/spriteTree.gif') no-repeat -18px top;
  41. }
  42. .nihilo .dijitTreeExpandoClosed {
  43. background-image: url('images/spriteTree.gif');
  44. }
  45. .nihilo .dijitTreeExpandoLeaf {
  46. background: url('images/spriteTree.gif') no-repeat -36px top;
  47. }
  48. .nihilo .dijitTreeExpandoLoading {
  49. background-image: url('images/treeExpand_loading.gif');
  50. }
  51. .nihilo .dijitTreeIcon {
  52. width: 16px;
  53. height: 16px;
  54. }
  55. .nihilo .dijitFolderOpened {
  56. background: url('images/spriteDivIcons.gif') no-repeat -16px top;
  57. }
  58. .nihilo .dijitFolderClosed {
  59. background: url('images/spriteDivIcons.gif') no-repeat top left;
  60. }
  61. .nihilo .dijitLeaf {
  62. background: url('images/spriteDivIcons.gif') no-repeat -32px top;
  63. }
  64. /* Drag and Drop on TreeNodes
  65. * Put insert line on dijitTreeContent node so it's aligned w/
  66. * (ie, indented equally with) target element, even
  67. * though dijitTreeRowNode is the actual "drag object"
  68. */
  69. .nihilo .dijitTreeNode .dojoDndItemBefore,
  70. .nihilo .dijitTreeNode .dojoDndItemAfter {
  71. border-bottom: none;
  72. border-top: none;
  73. }
  74. .nihilo .dijitTreeNode .dojoDndItemBefore .dijitTreeContent {
  75. /* copied from Common.css */
  76. border-top: 2px solid #369;
  77. }
  78. .nihilo .dijitTreeNode .dojoDndItemAfter .dijitTreeContent {
  79. /* copied from Common.css */
  80. border-bottom: 2px solid #369;
  81. }