style.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .PubDicMana {
  2. width: 100%;
  3. overflow: hidden;
  4. .left {
  5. float: left;
  6. border-radius: 4px;
  7. width: 220px;
  8. height: calc(100vh - 80px);
  9. margin-right: 16px;
  10. padding: 16px;
  11. background: #FFFFFF;
  12. .wrap {
  13. height: calc(100vh - 152px);
  14. overflow: scroll;
  15. }
  16. .kcmp-ant-tree.kcmp-ant-tree-directory .kcmp-ant-tree-treenode {
  17. //style={{display:'inline-flex',justifyContent:'center',alignItems:'center',width:16,height:16,background:'#fff',borderRadius:4,border:'1px solid #DAE2F2',marginLeft:4,position:'relative',top:2}}
  18. .copy {
  19. display: none;
  20. }
  21. &:hover {
  22. border-radius: 4px;
  23. background: #F0F2F5;
  24. .copy {
  25. display: inline-flex;
  26. justify-content: center;
  27. align-items: center;
  28. width: 16px;
  29. height: 16px;
  30. background: #FFFFFF;
  31. border-radius: 4px;
  32. border-radius: 4px;
  33. border: 1px solid #DAE2F2;
  34. margin-left: 4px;
  35. position: relative;
  36. top: 2px;
  37. }
  38. &::before {
  39. border-radius: 4px;
  40. background: #F0F2F5;
  41. }
  42. }
  43. }
  44. .kcmp-ant-tree.kcmp-ant-tree-directory .kcmp-ant-tree-treenode-selected {
  45. &::before {
  46. border-radius: 4px;
  47. background: #F0F2F5;
  48. }
  49. }
  50. .kcmp-ant-tree.kcmp-ant-tree-directory .kcmp-ant-tree-treenode .kcmp-ant-tree-node-content-wrapper.kcmp-ant-tree-node-selected {
  51. font-weight: bold;
  52. }
  53. }
  54. .right {
  55. float: left;
  56. width: calc(100% - 236px);
  57. padding: 16px;
  58. border-radius: 4px;
  59. background: #FFFFFF;
  60. .toolBar {
  61. display: flex;
  62. flex-direction: row;
  63. justify-content: space-between;
  64. align-items: center;
  65. .filter {
  66. display: flex;
  67. flex-direction: row;
  68. justify-content: flex-start;
  69. align-items: center;
  70. .filterItem {
  71. display: flex;
  72. flex-direction: row;
  73. justify-content: center;
  74. align-items: center;
  75. }
  76. }
  77. .btnGroup {
  78. .initBtn {
  79. display: inline-flex;
  80. justify-content: center;
  81. align-items: center;
  82. width: 72px;
  83. height: 24px;
  84. cursor: pointer;
  85. font-size: 14px;
  86. background: #FAFCFF;
  87. border-radius: 4px;
  88. border: 1px solid #DAE2F2;
  89. margin-right: 8px;
  90. }
  91. .add {
  92. cursor: pointer;
  93. display: inline-block;
  94. font-size: 14px;
  95. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  96. font-weight: 400;
  97. color: #FFFFFF;
  98. line-height: 24px;
  99. padding: 0 14px;
  100. background: #3377FF;
  101. border-radius: 4px;
  102. }
  103. }
  104. }
  105. }
  106. }