list.less 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. .layout-dataconnect {
  2. &>.ant-layout-content {
  3. &>.ant-card {
  4. height: 100%;
  5. display: flex;
  6. flex-direction: column;
  7. &>.ant-card-head {
  8. padding: 0 10px;
  9. .tools {
  10. flex: 1;
  11. .search {
  12. display: flex;
  13. >div {
  14. margin-left: 8px;
  15. }
  16. .btn-refresh {
  17. border: none;
  18. box-shadow: none;
  19. font-size: 18px;
  20. &:after {
  21. content: none;
  22. }
  23. }
  24. }
  25. }
  26. }
  27. &>.ant-card-body {
  28. flex: 1;
  29. overflow: auto;
  30. padding: 16px;
  31. display: flex;
  32. flex-wrap: wrap;
  33. justify-content: center;
  34. &:before {
  35. content: none;
  36. }
  37. .dataconnect-card {
  38. width: 160px;
  39. height: 160px;
  40. padding: 0;
  41. margin: 8px;
  42. cursor: pointer;
  43. .ant-card {
  44. height: 100%;
  45. display: flex;
  46. flex-direction: column;
  47. .ant-card-head {
  48. min-height: 32px;
  49. background: #F5F5F5;
  50. padding: 0;
  51. .ant-card-head-wrapper {
  52. height: 100%;
  53. .ant-card-head-title {
  54. padding: 0 16px;
  55. .ant-row-flex {
  56. .label {
  57. overflow: hidden;
  58. text-overflow: ellipsis
  59. }
  60. }
  61. }
  62. }
  63. }
  64. .ant-card-body {
  65. padding: 10px;
  66. height: 100%;
  67. display: flex;
  68. width: 100%;
  69. flex-direction: column;
  70. justify-content: center;
  71. .content {
  72. display: flex;
  73. flex-direction: column;
  74. justify-content: space-between;
  75. height: 100%;
  76. }
  77. }
  78. .ant-card-actions {
  79. height: 32px;
  80. background: #fff;
  81. li {
  82. margin: 4px 0;
  83. }
  84. }
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }
  91. .popover-group {
  92. width: 300px;
  93. .grouptree-title {
  94. .create-group {
  95. cursor: pointer;
  96. color: #40a9ff;
  97. }
  98. }
  99. .ant-popover-inner-content {
  100. cursor: default;
  101. max-height: 60vh;
  102. overflow: auto;
  103. }
  104. .tree-group {
  105. li.drag-over {
  106. input {
  107. background-color: #40a9ff;
  108. }
  109. }
  110. li {
  111. .ant-tree-node-content-wrapper {
  112. width: 90%;
  113. height: 28px;
  114. margin: 0 !important;
  115. padding: 0;
  116. background-color: transparent;
  117. :hover {
  118. background-color: transparent !important;
  119. }
  120. .ant-tree-node-selected {
  121. background-color: transparent !important;
  122. }
  123. input {
  124. max-width: 180px;
  125. border: none;
  126. }
  127. .anticon-plus-circle-o {
  128. margin-left: 5px;
  129. }
  130. .anticon-minus-circle {
  131. margin-left: 5px;
  132. }
  133. }
  134. .drag-over {
  135. span[draggable] {
  136. opacity: .7;
  137. }
  138. }
  139. }
  140. }
  141. }
  142. .tree-group li.drag-over > span[draggable] {
  143. opacity: .5;
  144. }
  145. .menu-operation {
  146. padding: 0;
  147. .ant-dropdown-menu-item {
  148. .anticon {
  149. margin-right: 6px;
  150. }
  151. }
  152. .ant-dropdown-menu-item-divider {
  153. margin: 0;
  154. }
  155. .setgroupmenu {
  156. .ant-dropdown-menu-submenu-title {
  157. display: flex;
  158. }
  159. }
  160. }
  161. .ant-tooltip-inner {
  162. background-color: rgba(255, 255, 255, .9);
  163. color: #666
  164. }