list.less 4.8 KB

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