wms-tree.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /*
  2. * 日 期:2017.03.16
  3. * 描 述:树组件样式
  4. */
  5. .lr-tree {
  6. /*overflow-y: auto;*/
  7. }
  8. .lr-tree ul,
  9. .lr-tree li {
  10. list-style-type: none;
  11. margin: 0px;
  12. padding: 0px;
  13. }
  14. .lr-tree-icon,
  15. .lr-tree-ec-icon,
  16. .lr-tree-node-cb,
  17. .lr-tree-node-icon {
  18. border: 0 none;
  19. height: 18px;
  20. margin: 0;
  21. padding: 0;
  22. margin-top: 3px;
  23. vertical-align: top;
  24. width: 16px;
  25. background-repeat: no-repeat;
  26. }
  27. .lr-tree-node-cb {
  28. height: 16px;
  29. padding: 2px;
  30. margin-top: 4.5px;
  31. margin-right: 5px;
  32. }
  33. ul.lr-tree-node-ct {
  34. line-height: 0;
  35. zoom: 1;
  36. }
  37. .lr-tree-node-expanded > .lr-tree-ec-icon {
  38. background-image: url(/Content/images/learuntree/arrows.gif) !important;
  39. background: transparent no-repeat -16px 0;
  40. }
  41. .lr-tree-node-expanded > .lr-tree-ec-icon:hover {
  42. background: transparent no-repeat -48px 0;
  43. }
  44. .lr-tree-node-collapsed > .lr-tree-ec-icon {
  45. background-image: url(/Content/images/learuntree/arrows.gif) !important;
  46. background: transparent no-repeat 0px 0;
  47. }
  48. .lr-tree-node-collapsed > .lr-tree-ec-icon:hover {
  49. background: transparent no-repeat -32px 0;
  50. }
  51. .lr-tree-node {
  52. white-space: nowrap;
  53. color: #000;
  54. }
  55. .lr-tree-node {
  56. color: #000;
  57. }
  58. .lr-tree-node i {
  59. font-size: 13px;
  60. width: 13px;
  61. color: #666666;
  62. }
  63. .lr-tree-node a {
  64. text-decoration: none;
  65. -moz-user-select: none;
  66. -webkit-user-select: none;
  67. -ms-user-select: none;
  68. -khtml-user-select: none;
  69. user-select: none;
  70. -kthml-user-focus: normal;
  71. -moz-user-focus: normal;
  72. -moz-outline: 0 none;
  73. outline: 0 none;
  74. }
  75. .lr-tree-node a span {
  76. text-decoration: none;
  77. padding: 1px 3px 1px 2px;
  78. }
  79. .lr-tree-node a:hover {
  80. text-decoration: none;
  81. }
  82. .lr-tree-node .lr-tree-selected {
  83. background-color: #2F94EE !important;
  84. color: #fff;
  85. }
  86. .lr-tree-node .lr-tree-selected a span {
  87. color: #fff;
  88. }
  89. .lr-tree-node .lr-tree-selected i {
  90. color: #fff;
  91. }
  92. .lr-tree-node-el {
  93. position:relative;
  94. line-height: 25px;
  95. cursor: default;
  96. cursor: pointer;
  97. }
  98. .lr-tree-node-el:hover {
  99. background-color: #eee;
  100. }
  101. .lr-tree-loading {
  102. position: absolute;
  103. top: 3px;
  104. right: 5px;
  105. display:none;
  106. }
  107. .lr-tree-loading > img {
  108. height: 14px;
  109. width: 14px;
  110. }