index.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @import '~assets/less/variable';
  2. .treeTableContainer {
  3. display: flex;
  4. }
  5. .treeContainer {
  6. padding: 0 0 10px;
  7. border: 1px solid rgb(232, 232, 232);
  8. width: 240px;
  9. margin-right: 10px;
  10. border-radius: 4px 4px 0 0;
  11. .treeTitle {
  12. display: flex;
  13. justify-content: space-between;
  14. align-items: center;
  15. line-height: 36px;
  16. padding: 10px 10px;
  17. background-color: rgb(250, 250, 250);
  18. border-bottom: 1px solid #e8e8e8;
  19. h6,
  20. > div {
  21. line-height: 21px;
  22. }
  23. .treePlusNode {
  24. //padding: 0 4px;
  25. cursor: pointer;
  26. }
  27. }
  28. .treeContent {
  29. //width: 100%;
  30. padding: 10px 0 0;
  31. margin: 0 10px;
  32. .treeNode {
  33. padding: 8px 10px;
  34. margin: 2px 0;
  35. display: flex;
  36. justify-content: space-between;
  37. cursor: pointer;
  38. transition: all 0.2s;
  39. border-radius: 4px;
  40. &.treeNodeChild {
  41. //margin-left: 20px
  42. }
  43. &.treeNodeSelected {
  44. background-color: #d7d7d7 !important;
  45. //color: #fff;
  46. }
  47. &:hover {
  48. background-color: #fafafa;
  49. }
  50. .treeNodeLeft {
  51. flex: 1;
  52. > i {
  53. padding-right: 6px;
  54. }
  55. }
  56. }
  57. }
  58. }