list.less 5.1 KB

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