styles.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. :root {
  2. font-family: "PingFang SC", "Microsoft YaHei", Inter, sans-serif;
  3. --surface-muted: #f8fafc;
  4. --text-primary: #0f172a;
  5. --accent: #2563eb;
  6. }
  7. body {
  8. margin: 0;
  9. background: #f1f5f9;
  10. }
  11. .page {
  12. position: relative;
  13. max-width: 1320px;
  14. margin: 0 auto;
  15. padding: 28px 22px 40px;
  16. }
  17. .page::before,
  18. .page::after {
  19. content: "";
  20. position: absolute;
  21. border-radius: 999px;
  22. filter: blur(48px);
  23. z-index: 0;
  24. opacity: 0.35;
  25. pointer-events: none;
  26. }
  27. .page::before {
  28. width: 280px;
  29. height: 280px;
  30. right: 4%;
  31. top: -40px;
  32. background: #93c5fd;
  33. }
  34. .page::after {
  35. width: 200px;
  36. height: 200px;
  37. left: -2%;
  38. top: 180px;
  39. background: #7dd3fc;
  40. }
  41. .hero,
  42. .dashboard-shell,
  43. .panel-sheet {
  44. position: relative;
  45. z-index: 1;
  46. }
  47. .hero {
  48. margin-bottom: 8px;
  49. }
  50. .hero-title {
  51. margin-bottom: 6px !important;
  52. background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #0ea5e9 100%);
  53. -webkit-background-clip: text;
  54. background-clip: text;
  55. color: transparent !important;
  56. }
  57. .hero-subtitle {
  58. display: flex;
  59. gap: 8px;
  60. flex-wrap: wrap;
  61. margin-top: 4px;
  62. }
  63. /* 外层白盒:圆角+阴影只在这一层,彻底规避 Ant Tabs 主题自带的边框线 */
  64. .dashboard-shell {
  65. margin-top: 10px;
  66. border-radius: 14px;
  67. overflow: hidden;
  68. border: none !important;
  69. outline: none !important;
  70. background: #ffffff;
  71. box-shadow:
  72. 0 22px 56px rgba(15, 23, 42, 0.048),
  73. 0 8px 22px rgba(15, 23, 42, 0.036);
  74. }
  75. .dashboard-shell .ant-tabs.main-tabs {
  76. border: none !important;
  77. outline: none !important;
  78. }
  79. .dashboard-shell .main-tabs.demand-nav-tabs.ant-tabs-top {
  80. border: none !important;
  81. outline: none !important;
  82. box-shadow: none !important;
  83. border-radius: 0 !important;
  84. background: transparent !important;
  85. }
  86. .dashboard-shell .ant-tabs-nav,
  87. .dashboard-shell .ant-tabs-content-holder,
  88. .dashboard-shell .ant-tabs-content {
  89. border: none !important;
  90. }
  91. .dashboard-shell .ant-tabs-content-holder {
  92. border-top: none !important;
  93. }
  94. .main-tabs {
  95. margin-top: 0;
  96. }
  97. .main-tabs.demand-nav-tabs .ant-tabs-content-holder {
  98. padding-top: 0;
  99. background: #ffffff;
  100. }
  101. .main-tabs.demand-nav-tabs .ant-tabs-content {
  102. padding: 0 !important;
  103. }
  104. .main-tabs.demand-nav-tabs .ant-tabs-tabpane {
  105. padding: 0 !important;
  106. }
  107. /* 顶部导航:嵌在外壳内的顶栏 + 渐变指示条 */
  108. .main-tabs.demand-nav-tabs .ant-tabs-nav {
  109. margin: 0 !important;
  110. padding: 4px 12px 0;
  111. width: 100%;
  112. box-sizing: border-box;
  113. background: linear-gradient(180deg, #fbfcff 0%, #f4f8fc 88%, #eef3f8 100%);
  114. border: none !important;
  115. border-radius: 0 !important;
  116. box-shadow: none !important;
  117. }
  118. .main-tabs.demand-nav-tabs .ant-tabs-nav::before {
  119. border-bottom: none !important;
  120. }
  121. .main-tabs.demand-nav-tabs .ant-tabs-nav-wrap {
  122. overflow: visible;
  123. }
  124. .main-tabs.demand-nav-tabs .ant-tabs-nav-list {
  125. display: flex !important;
  126. width: auto;
  127. gap: 2px;
  128. }
  129. .main-tabs.demand-nav-tabs .ant-tabs-tab {
  130. flex: 0 0 auto !important;
  131. margin: 0 !important;
  132. padding: 18px 26px 14px !important;
  133. font-size: 17px !important;
  134. line-height: 1.3 !important;
  135. font-weight: 600 !important;
  136. letter-spacing: 0.02em;
  137. color: #64748b !important;
  138. border-radius: 12px 12px 0 0 !important;
  139. border: none !important;
  140. background: transparent !important;
  141. transition:
  142. color 0.2s ease,
  143. background 0.2s ease;
  144. }
  145. .main-tabs.demand-nav-tabs .ant-tabs-tab:hover:not(.ant-tabs-tab-active) {
  146. color: #2563eb !important;
  147. background: rgba(37, 99, 235, 0.07) !important;
  148. }
  149. .main-tabs.demand-nav-tabs .ant-tabs-tab.ant-tabs-tab-active {
  150. color: #1e3a8a !important;
  151. background: rgba(255, 255, 255, 0.65) !important;
  152. }
  153. .main-tabs.demand-nav-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  154. color: inherit !important;
  155. }
  156. .main-tabs.demand-nav-tabs .ant-tabs-tab-btn {
  157. outline: none;
  158. text-shadow: none;
  159. }
  160. .main-tabs.demand-nav-tabs .ant-tabs-ink-bar {
  161. height: 3px !important;
  162. border-radius: 3px !important;
  163. background: linear-gradient(90deg, #2563eb 0%, #38bdf8 52%, #0ea5e9 100%) !important;
  164. box-shadow: 0 -1px 8px rgba(37, 99, 235, 0.22);
  165. }
  166. @media (max-width: 600px) {
  167. .main-tabs.demand-nav-tabs .ant-tabs-nav {
  168. padding: 4px 8px 0;
  169. }
  170. .main-tabs.demand-nav-tabs .ant-tabs-tab {
  171. padding: 14px 14px 11px !important;
  172. font-size: 15px !important;
  173. }
  174. }
  175. /* 主内容:单层「纸片」,分区线分隔;放在 Tab 内时与外框连成一体 */
  176. .panel-sheet {
  177. margin-top: 2px;
  178. border-radius: 12px;
  179. border: none;
  180. background: #ffffff;
  181. box-shadow: none;
  182. overflow: hidden;
  183. }
  184. .main-tabs.demand-nav-tabs .panel-sheet {
  185. margin-top: 0 !important;
  186. border: none !important;
  187. border-radius: 0 !important;
  188. box-shadow: none !important;
  189. background: transparent !important;
  190. }
  191. .panel-section {
  192. padding: 20px 22px;
  193. }
  194. .panel-section--filters {
  195. background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  196. border-bottom: none;
  197. }
  198. .panel-section--table {
  199. padding-bottom: 18px;
  200. }
  201. .panel-section-head {
  202. display: flex;
  203. align-items: center;
  204. gap: 10px;
  205. margin-bottom: 14px;
  206. }
  207. .panel-section-accent {
  208. width: 3px;
  209. height: 16px;
  210. border-radius: 2px;
  211. background: linear-gradient(180deg, #2563eb, #38bdf8);
  212. flex-shrink: 0;
  213. }
  214. .panel-section-title {
  215. margin: 0 !important;
  216. font-size: 15px !important;
  217. font-weight: 600 !important;
  218. color: var(--text-primary) !important;
  219. letter-spacing: 0.02em;
  220. }
  221. .panel-section-title--inline {
  222. margin: 0 !important;
  223. }
  224. .table-toolbar {
  225. display: flex;
  226. align-items: center;
  227. justify-content: space-between;
  228. flex-wrap: wrap;
  229. gap: 12px;
  230. margin-bottom: 14px;
  231. }
  232. .table-toolbar-meta {
  233. margin-left: auto;
  234. }
  235. .meta-chip {
  236. display: inline-flex;
  237. align-items: center;
  238. height: 26px;
  239. padding: 0 11px;
  240. border-radius: 6px;
  241. background: var(--surface-muted);
  242. color: #475569;
  243. font-size: 12px;
  244. font-weight: 500;
  245. border: none;
  246. }
  247. .filter-form {
  248. display: flex;
  249. flex-direction: column;
  250. gap: 8px;
  251. }
  252. .filter-row {
  253. display: flex;
  254. align-items: flex-end;
  255. gap: 12px;
  256. flex-wrap: wrap;
  257. }
  258. .filter-row.second-row {
  259. margin-top: 2px;
  260. }
  261. /* 阳历/阴历筛选:加宽数字框,不改 filter-row 的 gap */
  262. .element-demand-filter-row .ant-input-number {
  263. width: 220px;
  264. max-width: 100%;
  265. }
  266. .strategy-item {
  267. flex: 1;
  268. width: 100%;
  269. margin-bottom: 0 !important;
  270. }
  271. .strategy-select {
  272. width: 100% !important;
  273. min-width: 0;
  274. }
  275. .table-wrap {
  276. border: none;
  277. border-radius: 10px;
  278. overflow: hidden;
  279. }
  280. .panel-section--table .ant-table-wrapper .ant-table {
  281. border-radius: 0;
  282. }
  283. .panel-section--table .ant-table-wrapper .ant-table,
  284. .panel-section--table .ant-table-wrapper .ant-table-container {
  285. border: none !important;
  286. }
  287. .panel-section--table .ant-table-thead > tr > th {
  288. background: #f1f5f9 !important;
  289. color: #334155 !important;
  290. font-weight: 600 !important;
  291. border-bottom: none !important;
  292. }
  293. .panel-section--table .ant-table-thead > tr > th::before {
  294. display: none !important;
  295. }
  296. .panel-section--table .ant-table-cell {
  297. border-inline-end: none !important;
  298. }
  299. .panel-section--table .ant-table-tbody > tr > td {
  300. border-bottom: none !important;
  301. }
  302. .panel-section--table .ant-table-tbody > tr:last-child > td {
  303. border-bottom: none !important;
  304. }
  305. .panel-section--table .row-even td {
  306. background: #ffffff !important;
  307. }
  308. .panel-section--table .row-odd td {
  309. background: #fafbfc !important;
  310. }
  311. .panel-footer {
  312. margin-top: 18px;
  313. padding-top: 4px;
  314. border-top: none;
  315. display: flex;
  316. justify-content: flex-end;
  317. flex-wrap: wrap;
  318. gap: 12px;
  319. }
  320. .panel-footer .ant-pagination-item-active {
  321. border-color: var(--accent);
  322. }
  323. .panel-footer .ant-pagination-item-active a {
  324. color: var(--accent);
  325. }
  326. .hot-source-page .hot-source-hero {
  327. margin-bottom: 16px;
  328. }
  329. .hot-source-back {
  330. padding-left: 0;
  331. margin-bottom: 4px;
  332. }
  333. .hot-source-subtitle {
  334. margin-bottom: 0 !important;
  335. }
  336. .hot-source-card-shell,
  337. .hot-source-title-card {
  338. position: relative;
  339. z-index: 1;
  340. border: 1px solid #dbe3ef;
  341. border-radius: 22px;
  342. padding: 20px;
  343. background: #fff;
  344. box-shadow: 0 14px 36px rgba(21, 32, 51, 0.07);
  345. }
  346. .hot-source-alert {
  347. position: relative;
  348. z-index: 1;
  349. }
  350. .hot-source-title-header {
  351. margin-bottom: 14px;
  352. }
  353. .hot-source-title-text {
  354. margin: 0 0 8px !important;
  355. line-height: 1.35 !important;
  356. }
  357. .hot-source-title-meta {
  358. display: flex;
  359. flex-wrap: wrap;
  360. gap: 8px;
  361. margin-bottom: 10px;
  362. }
  363. .hot-source-title-meta span {
  364. font-size: 12px;
  365. color: #667085;
  366. background: #f3f6fb;
  367. border-radius: 999px;
  368. padding: 4px 8px;
  369. }
  370. .hot-source-badges {
  371. display: flex;
  372. flex-wrap: wrap;
  373. gap: 6px;
  374. }
  375. .hot-source-stage {
  376. border-top: 1px solid #dbe3ef;
  377. padding-top: 14px;
  378. margin-top: 14px;
  379. }
  380. .hot-source-sync-meta {
  381. display: flex;
  382. flex-wrap: wrap;
  383. gap: 12px;
  384. font-size: 13px;
  385. color: #334155;
  386. margin-bottom: 12px;
  387. }
  388. .hot-source-sync-meta b {
  389. color: #2563eb;
  390. }
  391. .hot-source-record-subtitle {
  392. color: #667085;
  393. margin-bottom: 8px;
  394. }
  395. .hot-source-record-preview {
  396. padding: 10px 12px;
  397. border-radius: 12px;
  398. background: #fbfdff;
  399. border: 1px solid #dbe3ef;
  400. color: #334155;
  401. line-height: 1.6;
  402. white-space: pre-wrap;
  403. word-break: break-word;
  404. }
  405. .hot-source-record-preview--expanded {
  406. max-height: 480px;
  407. overflow-y: auto;
  408. }
  409. .hot-source-body-toggle {
  410. padding-left: 0;
  411. margin-top: 4px;
  412. height: auto;
  413. }
  414. .hot-source-section-label {
  415. margin: 14px 0 8px !important;
  416. color: #667085 !important;
  417. font-size: 13px !important;
  418. }
  419. .hot-source-mini-metrics {
  420. display: flex;
  421. flex-wrap: wrap;
  422. gap: 10px;
  423. font-size: 13px;
  424. }
  425. .hot-source-mini-metrics b {
  426. color: #2563eb;
  427. }
  428. .hot-source-mini-reason {
  429. margin-top: 8px;
  430. padding: 8px 10px;
  431. border-left: 3px solid #2563eb;
  432. background: #eaf1ff;
  433. color: #1e3a8a;
  434. font-size: 13px;
  435. line-height: 1.6;
  436. }
  437. .hot-source-stage-title {
  438. margin: 0 0 8px !important;
  439. }
  440. .hot-source-stage-hint {
  441. margin: 0 0 10px;
  442. color: #667085;
  443. font-size: 13px;
  444. }
  445. .hot-source-stage tr.hot-source-export-highlight > td.ant-table-cell {
  446. background: #fff4d6 !important;
  447. border-top: 1px solid #fbbf24 !important;
  448. border-bottom: 1px solid #fbbf24 !important;
  449. font-weight: 600;
  450. }
  451. .hot-source-stage tr.hot-source-export-highlight > td.ant-table-cell:first-child {
  452. box-shadow: inset 5px 0 0 #ea580c;
  453. }
  454. @media (max-width: 900px) {
  455. .strategy-select {
  456. width: 100%;
  457. min-width: 0;
  458. }
  459. .table-toolbar {
  460. flex-direction: column;
  461. align-items: flex-start;
  462. }
  463. .table-toolbar-meta {
  464. margin-left: 0;
  465. }
  466. }