list.less 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. .dashboard-list {
  2. .ant-card-head {
  3. padding: 0 10px;
  4. .tools {
  5. .anticon-bars {
  6. cursor: pointer;
  7. line-height: 1.6;
  8. font-size: 20px;
  9. margin-right: 6px;
  10. }
  11. .group {
  12. line-height: 2.1;
  13. .ant-breadcrumb-link {
  14. .ant-tag {
  15. margin: 0;
  16. }
  17. }
  18. }
  19. .search {
  20. display: flex;
  21. > div:first-child {
  22. margin-right: 5px;
  23. }
  24. }
  25. }
  26. }
  27. .ant-card-body {
  28. padding: 10px;
  29. display: flex;
  30. flex-wrap: wrap;
  31. justify-content: center;
  32. .dashboard-card {
  33. width: 512px;
  34. text-align: center;
  35. margin: 5px;
  36. padding: 0;
  37. .ant-card-head {
  38. min-height: 20px;
  39. cursor: default;
  40. .ant-card-head-title {
  41. font-size: 14px;
  42. padding: 6px 0;
  43. .anticon {
  44. cursor: pointer;
  45. }
  46. }
  47. }
  48. .ant-card-cover {
  49. height: 247px;
  50. .cover-body {
  51. padding: 10px;
  52. .thumb {
  53. height: 182px;
  54. cursor: pointer;
  55. canvas {
  56. cursor: pointer;
  57. }
  58. .table-default {
  59. background-image: url(/images/table-default.png);
  60. width: 100%;
  61. height: 100%;
  62. background-position: center;
  63. background-size: contain;
  64. background-repeat: no-repeat;
  65. cursor: pointer;
  66. }
  67. .dashboard-default {
  68. background-image: url(/images/dashboard-default.png);
  69. width: 100%;
  70. height: 100%;
  71. background-position: center;
  72. background-size: contain;
  73. background-repeat: no-repeat;
  74. cursor: pointer;
  75. opacity: .3;
  76. }
  77. }
  78. .desc {
  79. text-align: left;
  80. height: 41px;
  81. }
  82. .footer {
  83. margin-top: 6px;
  84. }
  85. }
  86. .ant-row-flex-bottom {
  87. cursor: default;
  88. .anticon {
  89. cursor: pointer;
  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. }