style.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. .KCIMLeftList {
  2. border-radius: 4px;
  3. padding:8px 8px;
  4. width: 100%;
  5. // padding-top: 16px;
  6. // border: 1px solid #DAE2F2;
  7. .toolbar {
  8. display: flex;
  9. flex-direction: row;
  10. justify-content: space-between;
  11. align-items: center;
  12. padding: 0 8px;
  13. .add {
  14. cursor: pointer;
  15. display: flex;
  16. justify-content: center;
  17. align-items: center;
  18. width: 24px;
  19. height: 24px;
  20. background: #FAFCFF;
  21. border-radius: 4px;
  22. border: 1px solid #DAE2F2;
  23. &>img {
  24. width: 16px;
  25. height: 16px;
  26. }
  27. }
  28. }
  29. .wrap {
  30. margin-top: 12px;
  31. padding-right: 0;
  32. .cost-ant-tree.cost-ant-tree-directory .cost-ant-tree-treenode-selected:hover::before,
  33. .cost-ant-tree.cost-ant-tree-directory .cost-ant-tree-treenode-selected::before {
  34. border-radius: 4px;
  35. background: rgb(240 242 245 / 100%);
  36. }
  37. .bms-ant-tree.bms-ant-tree-directory .bms-ant-tree-treenode .bms-ant-tree-node-content-wrapper.bms-ant-tree-node-selected {
  38. font-weight: bold;
  39. }
  40. .DirectoryTree {
  41. // .cost-ant-tree-treenode-selected {
  42. // .cost-ant-tree-title {
  43. // color:#17181A !important;
  44. // font-weight: 500 !important;
  45. // }
  46. // }
  47. }
  48. .cost-ant-tree.cost-ant-tree-directory .cost-ant-tree-treenode .cost-ant-tree-node-content-wrapper.cost-ant-tree-node-selected {
  49. color:#17181A !important;
  50. font-weight: 500 !important;
  51. }
  52. .list {
  53. cursor: pointer;
  54. height: 48px;
  55. border-radius: 4px;
  56. background: #FFFFFF;
  57. display: flex;
  58. padding-left: 8px;
  59. padding-right: 8px;
  60. flex-direction: row;
  61. justify-content: space-between;
  62. align-items: center;
  63. margin-bottom: 4px;
  64. .icon {
  65. width: 25px;
  66. height: 25px;
  67. }
  68. .content {
  69. width: 87%;
  70. padding-left: 7px;
  71. .name {
  72. height: 15px;
  73. font-size: 14px;
  74. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  75. font-weight: 500;
  76. color: #17181A;
  77. line-height: 15px;
  78. margin-bottom: 4px;
  79. overflow: hidden;
  80. white-space: nowrap;
  81. text-overflow: ellipsis;
  82. }
  83. .sub {
  84. height: 13px;
  85. font-size: 12px;
  86. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  87. font-weight: 400;
  88. color: #7A8599;
  89. line-height: 13px;
  90. }
  91. }
  92. .more {
  93. display: flex;
  94. justify-content: center;
  95. align-items: center;
  96. cursor: pointer;
  97. width: 16px;
  98. height: 16px;
  99. border-radius: 4px;
  100. background: #FFFFFF;
  101. &>img {
  102. width: 100%;
  103. height: 100%;
  104. }
  105. }
  106. &.on {
  107. font-weight: 500;
  108. color: #17181A;
  109. background: #F0F2F5;
  110. }
  111. &:last-child {
  112. margin-bottom: 0;
  113. }
  114. }
  115. }
  116. }