index.module.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .sourcelistBox {
  2. border-top: 1px solid #f0f0f0;
  3. height: 46vh;
  4. }
  5. .treeBox{
  6. width: 100%;
  7. height: 100%;
  8. display: flex;
  9. .listSectionLeft{
  10. width: 30%;
  11. border-right: 1px solid #F0F0F0;
  12. .leftscrollBar{
  13. :global{
  14. .n-scrollbar-container{
  15. height: calc(100% - 42px);
  16. }
  17. .n-scrollbar-content{
  18. padding: 6px 32px 0 18px;
  19. }
  20. }
  21. .className {
  22. display: flex;
  23. align-items: center;
  24. padding: 14px 20px 14px 38px;
  25. line-height: 22px;
  26. margin-bottom: 4px;
  27. .classNameIcon {
  28. flex-shrink: 0;
  29. background: url('../../image/icon-class-name.png') center no-repeat;
  30. background-size: contain;
  31. margin-right: 6px;
  32. width: 14px;
  33. height: 18px;
  34. }
  35. .classNameContent {
  36. font-weight: 500;
  37. font-size: max(18px, 13Px);
  38. color: #333333;
  39. white-space: nowrap;
  40. overflow: hidden;
  41. text-overflow: ellipsis;
  42. }
  43. }
  44. }
  45. .treeParent{
  46. padding: 14px 20px 14px 38px;
  47. line-height: 22px;
  48. margin-bottom: 4px;
  49. font-size: max(18px, 13Px);
  50. color: #898A8A;
  51. cursor: pointer;
  52. white-space: nowrap;
  53. overflow: hidden;
  54. text-overflow: ellipsis;
  55. &.parentSelect{
  56. background: #F5F6FA;
  57. border-radius: 10px;
  58. color: #1677FF;
  59. font-weight: 600;
  60. }
  61. }
  62. }
  63. .listSectionRight{
  64. width: 70%;
  65. padding-top: 20px;
  66. .rightscrollBar{
  67. :global{
  68. .n-scrollbar-container{
  69. height: calc(100% - 42px);
  70. }
  71. .n-scrollbar-content{
  72. padding: 0 14px;
  73. display: flex;
  74. flex-wrap: wrap;
  75. }
  76. }
  77. }
  78. .cardContainer{
  79. width: 33.33%;
  80. height: 112px;
  81. padding: 0 6px;
  82. margin-bottom: 14px;
  83. :global{
  84. .card-section-container{
  85. width: 100% !important;
  86. height: 100% !important;
  87. .n-card__footer{
  88. .footerTitle{
  89. overflow: hidden;
  90. .titleContent{
  91. max-width: calc(100% - 13Px);
  92. }
  93. }
  94. }
  95. }
  96. }
  97. }
  98. }
  99. }