styles.css 22 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247
  1. /* 基础样式 */
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. body {
  8. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  9. background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  10. min-height: 100vh;
  11. color: #e0e0e0;
  12. line-height: 1.6;
  13. }
  14. .container {
  15. max-width: 1400px;
  16. margin: 0 auto;
  17. padding: 20px;
  18. }
  19. /* 头部样式 */
  20. .header {
  21. text-align: center;
  22. padding: 30px 0;
  23. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  24. margin-bottom: 30px;
  25. }
  26. .header h1 {
  27. font-size: 2.2rem;
  28. color: #00d4ff;
  29. margin-bottom: 10px;
  30. text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  31. }
  32. .subtitle {
  33. color: #888;
  34. font-size: 1rem;
  35. }
  36. /* 上传区域 */
  37. .upload-section {
  38. margin-bottom: 30px;
  39. }
  40. .upload-area {
  41. border: 2px dashed #4a4a6a;
  42. border-radius: 12px;
  43. padding: 40px;
  44. text-align: center;
  45. cursor: pointer;
  46. transition: all 0.3s ease;
  47. background: rgba(255, 255, 255, 0.02);
  48. }
  49. .upload-area:hover {
  50. border-color: #00d4ff;
  51. background: rgba(0, 212, 255, 0.05);
  52. }
  53. .upload-area.dragover {
  54. border-color: #00ff88;
  55. background: rgba(0, 255, 136, 0.1);
  56. }
  57. .upload-icon {
  58. font-size: 3rem;
  59. margin-bottom: 15px;
  60. }
  61. .upload-area p {
  62. margin: 5px 0;
  63. }
  64. .upload-area .hint {
  65. font-size: 0.85rem;
  66. color: #666;
  67. }
  68. .sample-buttons {
  69. display: flex;
  70. gap: 10px;
  71. justify-content: center;
  72. margin-top: 15px;
  73. }
  74. /* 按钮样式 */
  75. .btn {
  76. padding: 12px 28px;
  77. border: none;
  78. border-radius: 8px;
  79. cursor: pointer;
  80. font-size: 1rem;
  81. font-weight: 600;
  82. transition: all 0.3s ease;
  83. display: inline-flex;
  84. align-items: center;
  85. gap: 8px;
  86. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  87. }
  88. .btn-primary {
  89. background: linear-gradient(135deg, #0099ff, #0066cc);
  90. color: white;
  91. }
  92. .btn-primary:hover {
  93. background: linear-gradient(135deg, #00b3ff, #0077dd);
  94. transform: translateY(-2px);
  95. box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
  96. }
  97. .btn-secondary {
  98. background: rgba(255, 255, 255, 0.08);
  99. color: #e0e0e0;
  100. border: 1px solid rgba(255, 255, 255, 0.15);
  101. }
  102. .btn-secondary:hover {
  103. background: rgba(255, 255, 255, 0.12);
  104. border-color: rgba(255, 255, 255, 0.25);
  105. transform: translateY(-2px);
  106. box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  107. }
  108. .btn-success {
  109. background: linear-gradient(135deg, #00d98e, #00a86b);
  110. color: white;
  111. }
  112. .btn-success:hover {
  113. background: linear-gradient(135deg, #00ff9f, #00bf7d);
  114. transform: translateY(-2px);
  115. box-shadow: 0 6px 20px rgba(0, 217, 142, 0.4);
  116. }
  117. .btn:disabled {
  118. opacity: 0.5;
  119. cursor: not-allowed;
  120. transform: none !important;
  121. }
  122. .btn-icon {
  123. font-size: 1.1rem;
  124. }
  125. /* 概览卡片 */
  126. .pipeline-overview {
  127. margin-bottom: 30px;
  128. }
  129. .pipeline-overview h2,
  130. .pipeline-flow h2,
  131. .detail-panel h2,
  132. .stages-detail h2 {
  133. color: #00d4ff;
  134. margin-bottom: 20px;
  135. font-size: 1.3rem;
  136. }
  137. .overview-cards {
  138. display: grid;
  139. grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  140. gap: 20px;
  141. }
  142. .overview-card {
  143. background: rgba(255, 255, 255, 0.05);
  144. border-radius: 12px;
  145. padding: 20px;
  146. display: flex;
  147. align-items: center;
  148. gap: 15px;
  149. border: 1px solid rgba(255, 255, 255, 0.1);
  150. }
  151. .card-icon {
  152. font-size: 2rem;
  153. }
  154. .card-content {
  155. display: flex;
  156. flex-direction: column;
  157. }
  158. .card-label {
  159. font-size: 0.85rem;
  160. color: #888;
  161. }
  162. .card-value {
  163. font-size: 1.2rem;
  164. font-weight: 600;
  165. color: #00ff88;
  166. }
  167. /* 流程图样式 */
  168. .flow-container {
  169. display: flex;
  170. flex-wrap: wrap;
  171. gap: 20px;
  172. padding: 20px;
  173. background: rgba(0, 0, 0, 0.2);
  174. border-radius: 12px;
  175. overflow-x: auto;
  176. }
  177. .flow-node {
  178. background: rgba(255, 255, 255, 0.05);
  179. border: 2px solid #4a4a6a;
  180. border-radius: 12px;
  181. padding: 20px;
  182. min-width: 200px;
  183. cursor: pointer;
  184. transition: all 0.3s ease;
  185. position: relative;
  186. }
  187. .flow-node:hover {
  188. border-color: #00d4ff;
  189. transform: translateY(-3px);
  190. box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
  191. }
  192. .flow-node.active {
  193. border-color: #00ff88;
  194. background: rgba(0, 255, 136, 0.1);
  195. }
  196. .flow-node::after {
  197. content: '→';
  198. position: absolute;
  199. right: -25px;
  200. top: 50%;
  201. transform: translateY(-50%);
  202. font-size: 1.5rem;
  203. color: #4a4a6a;
  204. }
  205. .flow-node:last-child::after {
  206. display: none;
  207. }
  208. .node-header {
  209. display: flex;
  210. align-items: center;
  211. gap: 10px;
  212. margin-bottom: 10px;
  213. }
  214. .node-icon {
  215. font-size: 1.5rem;
  216. }
  217. .node-title {
  218. font-weight: 600;
  219. color: #00d4ff;
  220. }
  221. .node-step {
  222. font-size: 0.75rem;
  223. background: rgba(0, 212, 255, 0.2);
  224. padding: 2px 8px;
  225. border-radius: 10px;
  226. color: #00d4ff;
  227. }
  228. .node-stats {
  229. display: flex;
  230. flex-direction: column;
  231. gap: 5px;
  232. font-size: 0.85rem;
  233. color: #888;
  234. }
  235. .node-stat {
  236. display: flex;
  237. justify-content: space-between;
  238. }
  239. .node-stat-value {
  240. color: #00ff88;
  241. }
  242. /* 标签页样式 */
  243. .tabs {
  244. display: flex;
  245. gap: 5px;
  246. margin-bottom: 15px;
  247. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  248. padding-bottom: 10px;
  249. }
  250. .tab-btn {
  251. padding: 10px 20px;
  252. background: transparent;
  253. border: none;
  254. color: #888;
  255. cursor: pointer;
  256. border-radius: 6px 6px 0 0;
  257. transition: all 0.3s ease;
  258. }
  259. .tab-btn:hover {
  260. color: #e0e0e0;
  261. background: rgba(255, 255, 255, 0.05);
  262. }
  263. .tab-btn.active {
  264. color: #00d4ff;
  265. background: rgba(0, 212, 255, 0.1);
  266. border-bottom: 2px solid #00d4ff;
  267. }
  268. .tab-content {
  269. background: rgba(0, 0, 0, 0.3);
  270. border-radius: 8px;
  271. padding: 20px;
  272. }
  273. .tab-pane {
  274. display: none;
  275. }
  276. .tab-pane.active {
  277. display: block;
  278. }
  279. /* JSON查看器样式 */
  280. .json-viewer {
  281. background: rgba(0, 0, 0, 0.4);
  282. border-radius: 8px;
  283. padding: 15px;
  284. overflow-x: auto;
  285. font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  286. font-size: 0.85rem;
  287. line-height: 1.5;
  288. max-height: 500px;
  289. overflow-y: auto;
  290. white-space: pre-wrap;
  291. word-break: break-all;
  292. }
  293. .json-key {
  294. color: #ff79c6;
  295. }
  296. .json-string {
  297. color: #50fa7b;
  298. }
  299. .json-number {
  300. color: #bd93f9;
  301. }
  302. .json-boolean {
  303. color: #ffb86c;
  304. }
  305. .json-null {
  306. color: #6272a4;
  307. }
  308. /* 手风琴样式 */
  309. .accordion {
  310. display: flex;
  311. flex-direction: column;
  312. gap: 10px;
  313. }
  314. .accordion-item {
  315. background: rgba(255, 255, 255, 0.03);
  316. border: 1px solid rgba(255, 255, 255, 0.1);
  317. border-radius: 8px;
  318. overflow: hidden;
  319. }
  320. .accordion-header {
  321. padding: 15px 20px;
  322. cursor: pointer;
  323. display: flex;
  324. justify-content: space-between;
  325. align-items: center;
  326. transition: background 0.3s ease;
  327. }
  328. .accordion-header:hover {
  329. background: rgba(255, 255, 255, 0.05);
  330. }
  331. .accordion-header.active {
  332. background: rgba(0, 212, 255, 0.1);
  333. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  334. }
  335. .accordion-title {
  336. display: flex;
  337. align-items: center;
  338. gap: 10px;
  339. }
  340. .accordion-icon {
  341. transition: transform 0.3s ease;
  342. }
  343. .accordion-header.active .accordion-icon {
  344. transform: rotate(180deg);
  345. }
  346. .accordion-content {
  347. display: none;
  348. padding: 20px;
  349. }
  350. .accordion-content.active {
  351. display: block;
  352. }
  353. /* 数据流展示 */
  354. .data-flow {
  355. display: grid;
  356. grid-template-columns: 1fr 1fr;
  357. gap: 20px;
  358. }
  359. .data-section {
  360. background: rgba(0, 0, 0, 0.2);
  361. border-radius: 8px;
  362. padding: 15px;
  363. }
  364. .data-section h4 {
  365. color: #00d4ff;
  366. margin-bottom: 10px;
  367. font-size: 0.95rem;
  368. display: flex;
  369. align-items: center;
  370. gap: 8px;
  371. }
  372. .data-section h4::before {
  373. content: '';
  374. width: 8px;
  375. height: 8px;
  376. border-radius: 50%;
  377. }
  378. .data-section.input h4::before {
  379. background: #ffb86c;
  380. }
  381. .data-section.output h4::before {
  382. background: #50fa7b;
  383. }
  384. /* 子步骤样式 */
  385. .sub-steps {
  386. margin-top: 15px;
  387. padding-top: 15px;
  388. border-top: 1px dashed rgba(255, 255, 255, 0.1);
  389. }
  390. .sub-step {
  391. background: rgba(0, 0, 0, 0.2);
  392. border-radius: 8px;
  393. padding: 15px;
  394. margin-bottom: 10px;
  395. border-left: 3px solid #00d4ff;
  396. }
  397. .sub-step-header {
  398. font-weight: 600;
  399. color: #00d4ff;
  400. margin-bottom: 10px;
  401. }
  402. /* 响应式设计 */
  403. @media (max-width: 768px) {
  404. .data-flow {
  405. grid-template-columns: 1fr;
  406. }
  407. .flow-container {
  408. flex-direction: column;
  409. }
  410. .flow-node::after {
  411. content: '↓';
  412. right: 50%;
  413. top: auto;
  414. bottom: -25px;
  415. transform: translateX(50%);
  416. }
  417. .overview-cards {
  418. grid-template-columns: 1fr;
  419. }
  420. }
  421. /* 滚动条样式 */
  422. ::-webkit-scrollbar {
  423. width: 8px;
  424. height: 8px;
  425. }
  426. ::-webkit-scrollbar-track {
  427. background: rgba(0, 0, 0, 0.2);
  428. border-radius: 4px;
  429. }
  430. ::-webkit-scrollbar-thumb {
  431. background: #4a4a6a;
  432. border-radius: 4px;
  433. }
  434. ::-webkit-scrollbar-thumb:hover {
  435. background: #5a5a7a;
  436. }
  437. /* 加载动画 */
  438. .loading {
  439. display: flex;
  440. justify-content: center;
  441. align-items: center;
  442. padding: 40px;
  443. }
  444. .loading-spinner {
  445. width: 40px;
  446. height: 40px;
  447. border: 3px solid rgba(0, 212, 255, 0.2);
  448. border-top-color: #00d4ff;
  449. border-radius: 50%;
  450. animation: spin 1s linear infinite;
  451. }
  452. @keyframes spin {
  453. to {
  454. transform: rotate(360deg);
  455. }
  456. }
  457. /* 空状态 */
  458. .empty-state {
  459. text-align: center;
  460. padding: 60px 20px;
  461. color: #666;
  462. }
  463. .empty-state-icon {
  464. font-size: 4rem;
  465. margin-bottom: 20px;
  466. }
  467. /* RAG输入区域样式 */
  468. .rag-input-section {
  469. background: rgba(255, 255, 255, 0.03);
  470. border: 1px solid rgba(255, 255, 255, 0.1);
  471. border-radius: 12px;
  472. padding: 25px;
  473. margin-bottom: 30px;
  474. position: relative;
  475. }
  476. .rag-input-section h2 {
  477. color: #00d4ff;
  478. margin-bottom: 15px;
  479. font-size: 1.3rem;
  480. }
  481. .server-status {
  482. position: absolute;
  483. top: 25px;
  484. right: 25px;
  485. display: flex;
  486. align-items: center;
  487. gap: 8px;
  488. font-size: 0.85rem;
  489. }
  490. .status-dot {
  491. width: 10px;
  492. height: 10px;
  493. border-radius: 50%;
  494. animation: pulse 2s infinite;
  495. }
  496. .status-dot.online {
  497. background: #00ff88;
  498. box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  499. }
  500. .status-dot.warning {
  501. background: #ffb86c;
  502. box-shadow: 0 0 10px rgba(255, 184, 108, 0.5);
  503. }
  504. .status-dot.offline {
  505. background: #ff5555;
  506. box-shadow: 0 0 10px rgba(255, 85, 85, 0.5);
  507. animation: none;
  508. }
  509. @keyframes pulse {
  510. 0%, 100% { opacity: 1; }
  511. 50% { opacity: 0.5; }
  512. }
  513. .input-area {
  514. margin-bottom: 20px;
  515. }
  516. .input-area textarea {
  517. width: 100%;
  518. min-height: 180px;
  519. background: rgba(0, 0, 0, 0.4);
  520. border: 2px solid rgba(255, 255, 255, 0.15);
  521. border-radius: 10px;
  522. padding: 18px;
  523. color: #e8e8e8;
  524. font-family: 'Consolas', 'Monaco', monospace;
  525. font-size: 0.95rem;
  526. line-height: 1.7;
  527. resize: vertical;
  528. transition: all 0.3s ease;
  529. box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  530. }
  531. .input-area textarea:focus {
  532. outline: none;
  533. border-color: #00d4ff;
  534. background: rgba(0, 0, 0, 0.5);
  535. box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3),
  536. 0 0 0 3px rgba(0, 212, 255, 0.15);
  537. }
  538. .input-area textarea::placeholder {
  539. color: #666;
  540. font-style: italic;
  541. }
  542. .action-buttons {
  543. display: flex;
  544. gap: 10px;
  545. flex-wrap: wrap;
  546. }
  547. .btn-icon {
  548. margin-right: 5px;
  549. }
  550. .btn:disabled {
  551. opacity: 0.5;
  552. cursor: not-allowed;
  553. transform: none !important;
  554. }
  555. .loading-overlay {
  556. position: absolute;
  557. top: 0;
  558. left: 0;
  559. right: 0;
  560. bottom: 0;
  561. background: rgba(26, 26, 46, 0.95);
  562. border-radius: 12px;
  563. display: flex;
  564. flex-direction: column;
  565. justify-content: center;
  566. align-items: center;
  567. gap: 15px;
  568. z-index: 10;
  569. }
  570. .loading-overlay p {
  571. color: #00d4ff;
  572. font-size: 1rem;
  573. }
  574. /* 调整上传区域样式 */
  575. .upload-section {
  576. margin-bottom: 30px;
  577. }
  578. .upload-area {
  579. border: 2px dashed #4a4a6a;
  580. border-radius: 12px;
  581. padding: 20px;
  582. text-align: center;
  583. cursor: pointer;
  584. transition: all 0.3s ease;
  585. background: rgba(255, 255, 255, 0.02);
  586. }
  587. .upload-area .upload-icon {
  588. font-size: 2rem;
  589. margin-bottom: 10px;
  590. }
  591. .upload-area p {
  592. font-size: 0.9rem;
  593. color: #888;
  594. }
  595. /* 流程节点执行时间显示 */
  596. .node-time {
  597. font-size: 0.75rem;
  598. color: #ffb86c;
  599. margin-top: 5px;
  600. }
  601. /* ==================== 功能切换Tab样式 ==================== */
  602. .function-tabs {
  603. display: flex;
  604. gap: 10px;
  605. margin-bottom: 30px;
  606. border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  607. padding-bottom: 10px;
  608. }
  609. .function-tab {
  610. padding: 12px 24px;
  611. border: none;
  612. background: rgba(255, 255, 255, 0.05);
  613. color: #888;
  614. border-radius: 8px 8px 0 0;
  615. cursor: pointer;
  616. font-size: 1rem;
  617. transition: all 0.3s ease;
  618. border-bottom: 3px solid transparent;
  619. }
  620. .function-tab:hover {
  621. background: rgba(0, 212, 255, 0.1);
  622. color: #00d4ff;
  623. }
  624. .function-tab.active {
  625. background: rgba(0, 212, 255, 0.2);
  626. color: #00d4ff;
  627. border-bottom-color: #00d4ff;
  628. }
  629. /* ==================== 专业性审查区域样式 ==================== */
  630. .professional-review-section {
  631. background: rgba(255, 255, 255, 0.03);
  632. border-radius: 12px;
  633. padding: 25px;
  634. margin-bottom: 30px;
  635. position: relative;
  636. }
  637. .review-type-selector {
  638. display: flex;
  639. align-items: center;
  640. gap: 25px;
  641. margin: 15px 0 20px 0;
  642. padding: 18px 20px;
  643. background: linear-gradient(135deg, rgba(0, 153, 255, 0.08), rgba(0, 212, 255, 0.05));
  644. border: 1px solid rgba(0, 212, 255, 0.2);
  645. border-radius: 10px;
  646. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  647. }
  648. .review-type-selector > label:first-child {
  649. color: #00d4ff;
  650. font-weight: 600;
  651. font-size: 0.95rem;
  652. }
  653. .radio-label {
  654. display: flex;
  655. align-items: center;
  656. gap: 8px;
  657. cursor: pointer;
  658. color: #e0e0e0 !important;
  659. font-weight: normal !important;
  660. padding: 6px 12px;
  661. border-radius: 6px;
  662. transition: all 0.2s ease;
  663. }
  664. .radio-label:hover {
  665. background: rgba(0, 212, 255, 0.1);
  666. }
  667. .radio-label input[type="radio"] {
  668. width: 18px;
  669. height: 18px;
  670. cursor: pointer;
  671. accent-color: #00d4ff;
  672. }
  673. .radio-label input[type="radio"]:checked + span {
  674. color: #00ff88;
  675. font-weight: 500;
  676. }
  677. /* ==================== 专业性审查结果样式 ==================== */
  678. .professional-results {
  679. margin-top: 30px;
  680. }
  681. .result-section {
  682. background: rgba(255, 255, 255, 0.03);
  683. border-radius: 12px;
  684. padding: 20px;
  685. margin-bottom: 20px;
  686. }
  687. .result-section h3 {
  688. color: #00d4ff;
  689. margin-bottom: 15px;
  690. font-size: 1.2rem;
  691. }
  692. /* RAG召回摘要卡片 */
  693. .rag-summary {
  694. display: grid;
  695. grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  696. gap: 15px;
  697. }
  698. .summary-card {
  699. background: rgba(0, 212, 255, 0.1);
  700. border: 1px solid rgba(0, 212, 255, 0.3);
  701. border-radius: 8px;
  702. padding: 15px;
  703. }
  704. .summary-card-title {
  705. color: #888;
  706. font-size: 0.85rem;
  707. margin-bottom: 8px;
  708. }
  709. .summary-card-value {
  710. color: #00d4ff;
  711. font-size: 1.5rem;
  712. font-weight: bold;
  713. }
  714. /* 审查结果项 */
  715. .review-results-list {
  716. display: flex;
  717. flex-direction: column;
  718. gap: 20px;
  719. }
  720. .review-result-item {
  721. background: rgba(255, 255, 255, 0.05);
  722. border-left: 4px solid #00d4ff;
  723. border-radius: 8px;
  724. padding: 20px;
  725. }
  726. .result-item-header {
  727. display: flex;
  728. justify-content: space-between;
  729. align-items: center;
  730. margin-bottom: 15px;
  731. padding-bottom: 10px;
  732. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  733. }
  734. .result-entity-name {
  735. color: #00d4ff;
  736. font-size: 1.1rem;
  737. font-weight: bold;
  738. }
  739. .result-rag-score {
  740. background: rgba(255, 182, 108, 0.2);
  741. color: #ffb86c;
  742. padding: 4px 12px;
  743. border-radius: 12px;
  744. font-size: 0.85rem;
  745. }
  746. .result-item-content {
  747. display: grid;
  748. grid-template-columns: 1fr 1fr;
  749. gap: 20px;
  750. }
  751. .review-result-box {
  752. background: rgba(255, 255, 255, 0.03);
  753. border-radius: 8px;
  754. padding: 15px;
  755. }
  756. .result-box-title {
  757. color: #ffb86c;
  758. font-size: 0.9rem;
  759. font-weight: bold;
  760. margin-bottom: 10px;
  761. display: flex;
  762. align-items: center;
  763. gap: 8px;
  764. }
  765. .result-box-content {
  766. color: #e0e0e0;
  767. font-size: 0.9rem;
  768. line-height: 1.6;
  769. }
  770. .result-json {
  771. background: rgba(0, 0, 0, 0.3);
  772. border-radius: 6px;
  773. padding: 12px;
  774. max-height: 300px;
  775. overflow-y: auto;
  776. }
  777. .result-json pre {
  778. margin: 0;
  779. color: #e0e0e0;
  780. font-size: 0.85rem;
  781. white-space: pre-wrap;
  782. word-wrap: break-word;
  783. }
  784. /* 状态标签 */
  785. .status-badge {
  786. display: inline-block;
  787. padding: 4px 10px;
  788. border-radius: 12px;
  789. font-size: 0.8rem;
  790. font-weight: bold;
  791. }
  792. .status-success {
  793. background: rgba(0, 255, 136, 0.2);
  794. color: #00ff88;
  795. }
  796. .status-warning {
  797. background: rgba(255, 182, 108, 0.2);
  798. color: #ffb86c;
  799. }
  800. .status-error {
  801. background: rgba(255, 85, 85, 0.2);
  802. color: #ff5555;
  803. }
  804. /* 问题详情样式 */
  805. .issue-details {
  806. margin-top: 15px;
  807. padding: 15px;
  808. background: rgba(0, 0, 0, 0.2);
  809. border-radius: 8px;
  810. border-left: 3px solid #ffb86c;
  811. }
  812. .issue-item {
  813. margin-bottom: 15px;
  814. }
  815. .issue-item:last-child {
  816. margin-bottom: 0;
  817. }
  818. .issue-item strong {
  819. display: block;
  820. color: #00d4ff;
  821. font-size: 0.9rem;
  822. margin-bottom: 6px;
  823. }
  824. .issue-item p {
  825. margin: 0;
  826. color: #e0e0e0;
  827. line-height: 1.6;
  828. padding-left: 10px;
  829. border-left: 2px solid rgba(255, 255, 255, 0.1);
  830. }
  831. /* 风险等级标签 */
  832. .risk-badge {
  833. display: inline-block;
  834. padding: 4px 12px;
  835. border-radius: 12px;
  836. font-size: 0.85rem;
  837. font-weight: bold;
  838. margin-left: 10px;
  839. }
  840. .risk-badge.risk-high {
  841. background: rgba(255, 85, 85, 0.2);
  842. color: #ff5555;
  843. border: 1px solid #ff5555;
  844. }
  845. .risk-badge.risk-medium {
  846. background: rgba(255, 182, 108, 0.2);
  847. color: #ffb86c;
  848. border: 1px solid #ffb86c;
  849. }
  850. .risk-badge.risk-low {
  851. background: rgba(80, 250, 123, 0.2);
  852. color: #50fa7b;
  853. border: 1px solid #50fa7b;
  854. }
  855. /* 查看审查依据按钮 */
  856. .view-reference-btn {
  857. background: linear-gradient(135deg, #00d4ff, #0099cc);
  858. color: #ffffff;
  859. border: none;
  860. padding: 8px 16px;
  861. border-radius: 6px;
  862. font-size: 0.9rem;
  863. font-weight: 500;
  864. cursor: pointer;
  865. transition: all 0.3s ease;
  866. box-shadow: 0 2px 6px rgba(0, 212, 255, 0.3);
  867. margin-left: 10px;
  868. }
  869. .view-reference-btn:hover {
  870. background: linear-gradient(135deg, #00e5ff, #00aadd);
  871. transform: translateY(-2px);
  872. box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
  873. }
  874. /* 审查依据侧边栏 */
  875. .reference-sidebar {
  876. position: fixed;
  877. top: 0;
  878. right: -600px;
  879. width: 600px;
  880. height: 100vh;
  881. background: rgba(20, 20, 30, 0.98);
  882. backdrop-filter: blur(10px);
  883. border-left: 1px solid rgba(0, 212, 255, 0.3);
  884. box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  885. transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  886. z-index: 1000;
  887. overflow: hidden;
  888. display: flex;
  889. flex-direction: column;
  890. }
  891. .reference-sidebar.active {
  892. right: 0;
  893. }
  894. .sidebar-header {
  895. padding: 20px 25px;
  896. background: linear-gradient(135deg, rgba(0, 153, 255, 0.15), rgba(0, 212, 255, 0.1));
  897. border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  898. display: flex;
  899. justify-content: space-between;
  900. align-items: center;
  901. }
  902. .sidebar-header h3 {
  903. margin: 0;
  904. color: #00d4ff;
  905. font-size: 1.3rem;
  906. }
  907. .sidebar-close-btn {
  908. background: rgba(255, 85, 85, 0.2);
  909. border: 1px solid #ff5555;
  910. color: #ff5555;
  911. width: 32px;
  912. height: 32px;
  913. border-radius: 6px;
  914. font-size: 1.2rem;
  915. cursor: pointer;
  916. transition: all 0.2s ease;
  917. display: flex;
  918. align-items: center;
  919. justify-content: center;
  920. }
  921. .sidebar-close-btn:hover {
  922. background: rgba(255, 85, 85, 0.3);
  923. transform: scale(1.1);
  924. }
  925. .sidebar-content {
  926. flex: 1;
  927. padding: 25px;
  928. overflow-y: auto;
  929. color: #e0e0e0;
  930. line-height: 1.8;
  931. }
  932. /* Markdown内容样式 */
  933. .sidebar-content h1, .sidebar-content h2, .sidebar-content h3 {
  934. color: #00d4ff;
  935. margin-top: 20px;
  936. margin-bottom: 12px;
  937. border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  938. padding-bottom: 8px;
  939. }
  940. .sidebar-content h1 { font-size: 1.6rem; }
  941. .sidebar-content h2 { font-size: 1.3rem; }
  942. .sidebar-content h3 { font-size: 1.1rem; }
  943. .sidebar-content p {
  944. margin: 10px 0;
  945. }
  946. .sidebar-content code {
  947. background: rgba(0, 0, 0, 0.3);
  948. padding: 2px 6px;
  949. border-radius: 3px;
  950. color: #ffb86c;
  951. font-family: 'Consolas', monospace;
  952. }
  953. .sidebar-content pre {
  954. background: rgba(0, 0, 0, 0.4);
  955. padding: 15px;
  956. border-radius: 8px;
  957. overflow-x: auto;
  958. border-left: 3px solid #00d4ff;
  959. }
  960. .sidebar-content pre code {
  961. background: none;
  962. padding: 0;
  963. }
  964. .sidebar-content ul, .sidebar-content ol {
  965. padding-left: 25px;
  966. margin: 10px 0;
  967. }
  968. .sidebar-content li {
  969. margin: 5px 0;
  970. }
  971. .sidebar-content blockquote {
  972. border-left: 4px solid #00d4ff;
  973. padding-left: 15px;
  974. margin: 15px 0;
  975. color: #b8b8b8;
  976. font-style: italic;
  977. }
  978. .sidebar-content table {
  979. width: 100%;
  980. border-collapse: collapse;
  981. margin: 15px 0;
  982. }
  983. .sidebar-content th, .sidebar-content td {
  984. border: 1px solid rgba(255, 255, 255, 0.1);
  985. padding: 10px;
  986. text-align: left;
  987. }
  988. .sidebar-content th {
  989. background: rgba(0, 212, 255, 0.1);
  990. color: #00d4ff;
  991. font-weight: 600;
  992. }
  993. .sidebar-content td {
  994. background: rgba(0, 0, 0, 0.2);
  995. }
  996. .reference-source {
  997. background: rgba(0, 212, 255, 0.1);
  998. border: 1px solid rgba(0, 212, 255, 0.3);
  999. padding: 12px 15px;
  1000. border-radius: 8px;
  1001. margin-bottom: 20px;
  1002. color: #00d4ff;
  1003. font-weight: 500;
  1004. }
  1005. /* 侧边栏遮罩层 */
  1006. .sidebar-overlay {
  1007. position: fixed;
  1008. top: 0;
  1009. left: 0;
  1010. width: 100%;
  1011. height: 100%;
  1012. background: rgba(0, 0, 0, 0.7);
  1013. backdrop-filter: blur(4px);
  1014. opacity: 0;
  1015. visibility: hidden;
  1016. transition: all 0.3s ease;
  1017. z-index: 999;
  1018. }
  1019. .sidebar-overlay.active {
  1020. opacity: 1;
  1021. visibility: visible;
  1022. }
  1023. /* LaTeX公式样式优化 */
  1024. .sidebar-content .katex {
  1025. color: #e0e0e0;
  1026. }
  1027. .sidebar-content .katex-display {
  1028. margin: 20px 0;
  1029. }
  1030. /* 查询对信息 */
  1031. .query-info {
  1032. background: rgba(0, 212, 255, 0.05);
  1033. border: 1px solid rgba(0, 212, 255, 0.2);
  1034. border-radius: 6px;
  1035. padding: 10px;
  1036. margin-top: 10px;
  1037. font-size: 0.85rem;
  1038. color: #888;
  1039. }
  1040. .query-info strong {
  1041. color: #00d4ff;
  1042. }
  1043. /* 空状态提示 */
  1044. .empty-state {
  1045. text-align: center;
  1046. padding: 60px 20px;
  1047. color: #666;
  1048. }
  1049. .empty-state-icon {
  1050. font-size: 4rem;
  1051. margin-bottom: 20px;
  1052. }
  1053. .empty-state-text {
  1054. font-size: 1.1rem;
  1055. margin-bottom: 10px;
  1056. }
  1057. .empty-state-hint {
  1058. font-size: 0.9rem;
  1059. color: #555;
  1060. }