trans-analysis-table-ui.less 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. .trans-analysis-table-ui() {
  2. width: calc(100% + 24px);
  3. margin: 0 -12px;
  4. padding-left: 0 !important;
  5. padding-right: 0 !important;
  6. box-sizing: border-box;
  7. .table-panel .ant-table-cell,
  8. .table-wrapper .ant-table-cell,
  9. .table-wrap .ant-table-cell,
  10. .panel-table .ant-table-cell {
  11. font-size: inherit;
  12. font-family: inherit;
  13. }
  14. .filter-op {
  15. width: 84px;
  16. min-width: 84px;
  17. }
  18. .table-panel .ant-table-thead > tr > th,
  19. .table-wrapper .ant-table-thead > tr > th,
  20. .table-wrap .ant-table-thead > tr > th,
  21. .panel-table .ant-table-thead > tr > th {
  22. background: #f8fafc;
  23. color: #374151;
  24. font-weight: 600;
  25. }
  26. .table-panel .ant-table-tbody > tr > td,
  27. .table-wrapper .ant-table-tbody > tr > td,
  28. .table-wrap .ant-table-tbody > tr > td,
  29. .panel-table .ant-table-tbody > tr > td {
  30. color: #374151;
  31. }
  32. .table-panel .ant-table-tbody > tr.summary-row-selected > td,
  33. .table-wrapper .ant-table-tbody > tr.summary-row-selected > td,
  34. .table-wrap .ant-table-tbody > tr.summary-row-selected > td,
  35. .panel-table .ant-table-tbody > tr.summary-row-selected > td,
  36. .table-panel .ant-table-tbody > tr.active-row > td,
  37. .table-wrapper .ant-table-tbody > tr.active-row > td,
  38. .table-wrap .ant-table-tbody > tr.active-row > td,
  39. .panel-table .ant-table-tbody > tr.active-row > td {
  40. background: #eaf4ff;
  41. }
  42. .table-panel .ant-table-tbody > tr.summary-row-selected > td.ant-table-column-sort,
  43. .table-wrapper .ant-table-tbody > tr.summary-row-selected > td.ant-table-column-sort,
  44. .table-wrap .ant-table-tbody > tr.summary-row-selected > td.ant-table-column-sort,
  45. .panel-table .ant-table-tbody > tr.summary-row-selected > td.ant-table-column-sort,
  46. .table-panel .ant-table-tbody > tr.active-row > td.ant-table-column-sort,
  47. .table-wrapper .ant-table-tbody > tr.active-row > td.ant-table-column-sort,
  48. .table-wrap .ant-table-tbody > tr.active-row > td.ant-table-column-sort,
  49. .panel-table .ant-table-tbody > tr.active-row > td.ant-table-column-sort {
  50. background: #eaf4ff;
  51. }
  52. .table-panel .ant-table-tbody > tr:hover > td,
  53. .table-wrapper .ant-table-tbody > tr:hover > td,
  54. .table-wrap .ant-table-tbody > tr:hover > td,
  55. .panel-table .ant-table-tbody > tr:hover > td {
  56. background: #f5f7ff;
  57. }
  58. .table-panel .ant-table-tbody > tr:hover > td.ant-table-column-sort,
  59. .table-wrapper .ant-table-tbody > tr:hover > td.ant-table-column-sort,
  60. .table-wrap .ant-table-tbody > tr:hover > td.ant-table-column-sort,
  61. .panel-table .ant-table-tbody > tr:hover > td.ant-table-column-sort,
  62. .table-panel .ant-table-tbody > tr:hover > td.ant-table-cell-fix-left.ant-table-column-sort,
  63. .table-wrapper .ant-table-tbody > tr:hover > td.ant-table-cell-fix-left.ant-table-column-sort,
  64. .table-wrap .ant-table-tbody > tr:hover > td.ant-table-cell-fix-left.ant-table-column-sort,
  65. .panel-table .ant-table-tbody > tr:hover > td.ant-table-cell-fix-left.ant-table-column-sort,
  66. .table-panel .ant-table-tbody > tr:hover > td.ant-table-cell-fix-right.ant-table-column-sort,
  67. .table-wrapper .ant-table-tbody > tr:hover > td.ant-table-cell-fix-right.ant-table-column-sort,
  68. .table-wrap .ant-table-tbody > tr:hover > td.ant-table-cell-fix-right.ant-table-column-sort,
  69. .panel-table .ant-table-tbody > tr:hover > td.ant-table-cell-fix-right.ant-table-column-sort {
  70. background: #f5f7ff;
  71. }
  72. }
  73. @analysis-card-gap: 2px;
  74. @analysis-card-padding: 8px;
  75. @analysis-card-radius: 12px;
  76. @analysis-card-strip-bg: @content-bg;
  77. @analysis-card-border: #e2e8f0;
  78. .analysis-card-strip() {
  79. margin-top: 0;
  80. flex: 1 1 auto;
  81. min-height: 0;
  82. overflow: hidden;
  83. padding: @analysis-card-gap;
  84. background: @analysis-card-strip-bg;
  85. box-sizing: border-box;
  86. }
  87. .analysis-card-shell() {
  88. min-height: 0;
  89. display: flex;
  90. flex-direction: column;
  91. overflow: hidden;
  92. padding: @analysis-card-padding;
  93. border: 1px solid @analysis-card-border;
  94. border-radius: @analysis-card-radius;
  95. background: #fff;
  96. box-shadow: none;
  97. box-sizing: border-box;
  98. }
  99. .analysis-page-frame() {
  100. background: #fff;
  101. padding: 0 8px 2px;
  102. min-height: 100%;
  103. height: 100%;
  104. display: flex;
  105. flex-direction: column;
  106. overflow: hidden;
  107. box-sizing: border-box;
  108. :deep(.ant-btn) {
  109. border-radius: 8px;
  110. }
  111. :deep(.ant-btn-primary) {
  112. box-shadow: none;
  113. }
  114. :deep(.ant-input),
  115. :deep(.ant-input-affix-wrapper),
  116. :deep(.ant-picker),
  117. :deep(.ant-select-selector) {
  118. border-radius: 8px;
  119. }
  120. .page-header {
  121. display: none;
  122. margin-bottom: 0;
  123. flex-shrink: 0;
  124. }
  125. .filter-bar {
  126. display: flex;
  127. align-items: center;
  128. gap: 8px;
  129. padding: 6px;
  130. min-height: 40px;
  131. border: 0;
  132. border-radius: 0;
  133. background: transparent;
  134. flex-wrap: wrap;
  135. flex-shrink: 0;
  136. box-sizing: border-box;
  137. }
  138. .filter-item {
  139. display: flex;
  140. align-items: center;
  141. gap: 4px;
  142. }
  143. .filter-label {
  144. color: #6b7280;
  145. font-size: 12px;
  146. white-space: nowrap;
  147. }
  148. .filter-actions {
  149. display: flex;
  150. align-items: center;
  151. gap: 6px;
  152. margin-left: auto;
  153. }
  154. .filter-input,
  155. .filter-date,
  156. .filter-op,
  157. .filter-actions .ant-btn {
  158. align-self: center;
  159. }
  160. .content-panel {
  161. .analysis-card-strip();
  162. }
  163. .page-content {
  164. .analysis-card-strip();
  165. }
  166. .panel-header {
  167. padding: 0 0 8px;
  168. border-bottom: 0;
  169. flex: 0 0 auto;
  170. width: 100%;
  171. box-sizing: border-box;
  172. }
  173. .panel-title {
  174. color: #111827;
  175. font-size: 14px;
  176. font-weight: 600;
  177. line-height: 22px;
  178. }
  179. .panel-desc {
  180. margin-top: 0;
  181. color: #6b7280;
  182. font-size: 12px;
  183. line-height: 18px;
  184. }
  185. .panel-search {
  186. padding: 0;
  187. margin-bottom: 8px;
  188. width: 100%;
  189. box-sizing: border-box;
  190. flex-shrink: 0;
  191. }
  192. .panel-search .ant-input,
  193. .panel-search .ant-input-affix-wrapper {
  194. width: 100%;
  195. }
  196. .table-panel {
  197. margin-top: 0;
  198. flex: 1 1 auto;
  199. min-height: 0;
  200. display: flex;
  201. flex-direction: column;
  202. padding: 0;
  203. overflow: hidden;
  204. width: 100%;
  205. box-sizing: border-box;
  206. }
  207. .table-wrapper {
  208. flex: 1 1 auto;
  209. min-height: 0;
  210. border: 0;
  211. border-radius: 0;
  212. background: transparent;
  213. box-shadow: none;
  214. overflow: hidden;
  215. width: 100%;
  216. box-sizing: border-box;
  217. }
  218. .table-wrapper .jeesite-basic-table {
  219. height: 100%;
  220. display: flex;
  221. flex-direction: column;
  222. }
  223. .table-wrapper .ant-table-wrapper,
  224. .table-wrapper .ant-spin-nested-loading,
  225. .table-wrapper .ant-spin-container,
  226. .table-wrapper .ant-table,
  227. .table-wrapper .ant-table-container {
  228. height: 100%;
  229. min-height: 0;
  230. }
  231. .table-wrapper .ant-spin-container,
  232. .table-wrapper .ant-table,
  233. .table-wrapper .ant-table-container {
  234. display: flex;
  235. flex-direction: column;
  236. }
  237. .table-wrapper .ant-table-body {
  238. max-height: 100% !important;
  239. }
  240. .table-card > .table-wrapper,
  241. .left-panel > .table-wrapper,
  242. .panel-left > .table-wrapper,
  243. .panel-right > .table-wrapper,
  244. .summary-panel > .table-wrapper,
  245. .trend-panel > .table-wrapper {
  246. margin: 0;
  247. }
  248. .pagination-bar {
  249. display: flex;
  250. align-items: center;
  251. justify-content: flex-end;
  252. gap: 8px;
  253. padding: 0;
  254. border-top: 0;
  255. background: transparent;
  256. color: #6b7280;
  257. font-size: 12px;
  258. flex: 0 0 auto;
  259. flex-wrap: wrap;
  260. width: 100%;
  261. box-sizing: border-box;
  262. }
  263. .pagination-total {
  264. margin-right: 0;
  265. white-space: nowrap;
  266. }
  267. .pagination-size,
  268. .pagination-actions,
  269. .pagination-jump {
  270. display: flex;
  271. align-items: center;
  272. gap: 4px;
  273. white-space: nowrap;
  274. }
  275. @media screen and (max-width: 992px) {
  276. .filter-actions {
  277. width: 100%;
  278. margin-left: 0;
  279. }
  280. .pagination-bar {
  281. justify-content: flex-start;
  282. }
  283. }
  284. }
  285. .analysis-single-panel-frame() {
  286. .analysis-page-frame();
  287. .content-panel {
  288. display: flex;
  289. flex-direction: column;
  290. gap: @analysis-card-gap;
  291. }
  292. .table-card {
  293. .analysis-card-shell();
  294. height: 100%;
  295. min-height: 0;
  296. }
  297. }
  298. .analysis-flat-layout() {
  299. .analysis-page-frame();
  300. .content-panel {
  301. display: flex;
  302. gap: @analysis-card-gap;
  303. }
  304. .table-card,
  305. .summary-panel,
  306. .trend-panel,
  307. .left-panel,
  308. .panel-left,
  309. .panel-right {
  310. .analysis-card-shell();
  311. }
  312. .right-panel {
  313. .analysis-card-shell();
  314. }
  315. }
  316. .continuous-page,
  317. .night-page,
  318. .sensitive-page,
  319. .base-station-page,
  320. .behavior-spacetime-page,
  321. .cash-trans-page,
  322. .capital-flow-page,
  323. .card-holding-page,
  324. .co-residence-page,
  325. .express-delivery-page,
  326. .fast-transfer-page,
  327. .face-to-face-page,
  328. .financial-wealth-page,
  329. .fixed-deposit-page,
  330. .large-amount-page,
  331. .month-regular-page,
  332. .morning-evening-call-page,
  333. .peer-analysis-page,
  334. .trade-frequency-page,
  335. .trans-sensitive-page,
  336. .ui-scheme-page {
  337. .trans-analysis-table-ui();
  338. }
  339. .base-station-page,
  340. .express-delivery-page,
  341. .financial-wealth-page,
  342. .trade-frequency-page {
  343. .analysis-single-panel-frame();
  344. }
  345. .behavior-spacetime-page,
  346. .capital-flow-page,
  347. .card-holding-page,
  348. .cash-trans-page,
  349. .co-residence-page,
  350. .face-to-face-page,
  351. .fast-transfer-page,
  352. .fixed-deposit-page,
  353. .large-amount-page,
  354. .morning-evening-call-page,
  355. .peer-analysis-page,
  356. .trans-sensitive-page,
  357. .ui-scheme-page {
  358. .analysis-flat-layout();
  359. }