style.css 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  8. line-height: 1.6;
  9. color: #333;
  10. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  11. padding: 20px;
  12. }
  13. .container {
  14. max-width: 1400px;
  15. margin: 0 auto;
  16. background: white;
  17. border-radius: 12px;
  18. box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  19. overflow: hidden;
  20. }
  21. .header {
  22. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  23. color: white;
  24. padding: 40px;
  25. text-align: center;
  26. }
  27. .header h1 {
  28. font-size: 2.5rem;
  29. margin-bottom: 10px;
  30. font-weight: 700;
  31. }
  32. .header .subtitle {
  33. font-size: 1.1rem;
  34. opacity: 0.9;
  35. }
  36. .tabs {
  37. display: flex;
  38. background: #f8f9fa;
  39. border-bottom: 2px solid #dee2e6;
  40. }
  41. .tab {
  42. flex: 1;
  43. padding: 15px 20px;
  44. text-align: center;
  45. cursor: pointer;
  46. background: #f8f9fa;
  47. border: none;
  48. font-size: 1.1rem;
  49. font-weight: 600;
  50. color: #6c757d;
  51. transition: all 0.3s;
  52. border-bottom: 3px solid transparent;
  53. }
  54. .tab:hover {
  55. background: #e9ecef;
  56. color: #495057;
  57. }
  58. .tab.active {
  59. background: white;
  60. color: #667eea;
  61. border-bottom: 3px solid #667eea;
  62. }
  63. .content {
  64. padding: 40px;
  65. }
  66. .tab-content {
  67. animation: fadeIn 0.5s;
  68. }
  69. @keyframes fadeIn {
  70. from { opacity: 0; transform: translateY(10px); }
  71. to { opacity: 1; transform: translateY(0); }
  72. }
  73. .section {
  74. margin-bottom: 30px;
  75. padding: 20px;
  76. background: #f8f9fa;
  77. border-radius: 8px;
  78. }
  79. .section h3 {
  80. font-size: 1.5rem;
  81. margin-bottom: 15px;
  82. color: #495057;
  83. border-left: 4px solid #667eea;
  84. padding-left: 12px;
  85. }
  86. .section h4 {
  87. font-size: 1.2rem;
  88. margin: 20px 0 10px 0;
  89. color: #6c757d;
  90. }
  91. .topic-theme, .topic-desc, .script-category {
  92. margin-bottom: 12px;
  93. padding: 12px;
  94. background: white;
  95. border-radius: 6px;
  96. }
  97. .point-item {
  98. margin-bottom: 15px;
  99. padding: 15px;
  100. background: white;
  101. border-radius: 8px;
  102. border-left: 4px solid #667eea;
  103. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  104. }
  105. .inspiration-item {
  106. border-left-color: #10b981;
  107. }
  108. .purpose-item {
  109. border-left-color: #3b82f6;
  110. }
  111. .keypoint-item {
  112. border-left-color: #8b5cf6;
  113. }
  114. .point-header {
  115. display: flex;
  116. align-items: center;
  117. gap: 10px;
  118. flex-wrap: wrap;
  119. margin-bottom: 10px;
  120. }
  121. .point-number {
  122. display: inline-block;
  123. background: #667eea;
  124. color: white;
  125. padding: 3px 10px;
  126. border-radius: 4px;
  127. font-weight: 600;
  128. font-size: 0.85rem;
  129. flex-shrink: 0;
  130. }
  131. .point-text {
  132. flex: 1;
  133. font-size: 1.05rem;
  134. font-weight: 600;
  135. color: #1f2937;
  136. }
  137. .point-description {
  138. margin-top: 8px;
  139. padding: 10px 12px;
  140. background: #f9fafb;
  141. border-radius: 4px;
  142. font-size: 0.95rem;
  143. color: #4b5563;
  144. line-height: 1.6;
  145. }
  146. .point-features, .point-scoring {
  147. margin-top: 12px;
  148. padding: 10px 12px;
  149. background: #f0f9ff;
  150. border-radius: 4px;
  151. font-size: 0.9rem;
  152. }
  153. .point-features strong, .point-scoring strong {
  154. display: block;
  155. margin-bottom: 8px;
  156. color: #1e40af;
  157. }
  158. .feature-tags, .scoring-badges {
  159. display: flex;
  160. flex-wrap: wrap;
  161. gap: 8px;
  162. }
  163. .feature-tag {
  164. display: inline-flex;
  165. align-items: center;
  166. gap: 5px;
  167. padding: 5px 10px;
  168. background: white;
  169. border: 1px solid #dbeafe;
  170. border-radius: 4px;
  171. font-size: 0.85rem;
  172. color: #1e40af;
  173. }
  174. .feature-dimension {
  175. font-style: normal;
  176. color: #6b7280;
  177. font-size: 0.8rem;
  178. }
  179. .feature-weight {
  180. color: #dc2626;
  181. font-size: 0.8rem;
  182. }
  183. .dimension-tags {
  184. display: flex;
  185. gap: 6px;
  186. align-items: center;
  187. }
  188. .dimension-tag {
  189. display: inline-block;
  190. padding: 3px 10px;
  191. border-radius: 4px;
  192. font-size: 0.8rem;
  193. font-weight: 600;
  194. }
  195. .dimension-tag.level-1 {
  196. background: #dbeafe;
  197. color: #1e40af;
  198. }
  199. .dimension-tag.level-2 {
  200. background: #fef3c7;
  201. color: #92400e;
  202. }
  203. .dimension-tag.keypoint-dimension {
  204. background: #f3e8ff;
  205. color: #6b21a8;
  206. }
  207. .scoring-badge {
  208. display: inline-block;
  209. padding: 5px 12px;
  210. background: white;
  211. border: 1px solid #e5e7eb;
  212. border-radius: 4px;
  213. font-size: 0.85rem;
  214. color: #374151;
  215. }
  216. .scoring-badge.total-score {
  217. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  218. color: white;
  219. border: none;
  220. font-weight: 600;
  221. }
  222. .paragraph-list {
  223. list-style: none;
  224. margin-left: 0;
  225. }
  226. .paragraph-list:not(.level-0) {
  227. margin-left: 30px;
  228. margin-top: 10px;
  229. padding-left: 15px;
  230. position: relative;
  231. }
  232. .paragraph-list:not(.level-0)::before {
  233. content: '';
  234. position: absolute;
  235. left: 0;
  236. top: 0;
  237. bottom: 15px;
  238. width: 2px;
  239. background: #dee2e6;
  240. }
  241. .paragraph-item {
  242. margin-bottom: 15px;
  243. padding: 15px;
  244. background: white;
  245. border-radius: 6px;
  246. border-left: 4px solid #667eea;
  247. }
  248. .paragraph-header {
  249. margin-bottom: 10px;
  250. display: flex;
  251. align-items: flex-start;
  252. gap: 8px;
  253. justify-content: space-between;
  254. }
  255. .paragraph-header-content {
  256. display: flex;
  257. align-items: center;
  258. gap: 8px;
  259. flex-wrap: wrap;
  260. flex: 1;
  261. min-width: 0;
  262. }
  263. .paragraph-item.collapsible .paragraph-header {
  264. cursor: pointer;
  265. user-select: none;
  266. }
  267. .paragraph-item.collapsible .paragraph-header:hover {
  268. background-color: #f8f9fa;
  269. padding: 8px;
  270. margin: -8px -8px 2px -8px;
  271. border-radius: 4px;
  272. }
  273. .toggle-icon {
  274. font-size: 0.8rem;
  275. color: #667eea;
  276. transition: transform 0.3s ease;
  277. flex-shrink: 0;
  278. }
  279. .paragraph-item.collapsed .toggle-icon {
  280. transform: rotate(-90deg);
  281. }
  282. .collapsible-content {
  283. overflow: hidden;
  284. transition: max-height 0.3s ease, opacity 0.3s ease;
  285. max-height: 10000px;
  286. opacity: 1;
  287. }
  288. .paragraph-item.collapsed .collapsible-content {
  289. max-height: 0;
  290. opacity: 0;
  291. margin: 0;
  292. }
  293. .paragraph-index {
  294. display: inline-block;
  295. background: #667eea;
  296. color: white;
  297. padding: 4px 12px;
  298. border-radius: 4px;
  299. font-weight: 600;
  300. margin-right: 10px;
  301. flex-shrink: 0;
  302. }
  303. .paragraph-desc {
  304. color: #495057;
  305. font-weight: 500;
  306. }
  307. .paragraph-content, .paragraph-reason {
  308. margin-top: 8px;
  309. padding: 10px 12px;
  310. background: #f1f3f5;
  311. border-radius: 4px;
  312. font-size: 0.9rem;
  313. color: #495057;
  314. line-height: 1.6;
  315. border-left: 3px solid #adb5bd;
  316. }
  317. .content-range-list {
  318. list-style: none;
  319. margin: 8px 0 0 0;
  320. padding: 0;
  321. }
  322. .content-range-list li {
  323. padding: 6px 12px;
  324. margin: 4px 0;
  325. background: white;
  326. border-radius: 4px;
  327. border-left: 3px solid #667eea;
  328. }
  329. .content-range-list li:before {
  330. content: "▪ ";
  331. color: #667eea;
  332. font-weight: bold;
  333. margin-right: 8px;
  334. }
  335. .details-toggle-btn {
  336. padding: 6px 12px;
  337. background: #e3f2fd;
  338. border-radius: 4px;
  339. cursor: pointer;
  340. user-select: none;
  341. color: #1976d2;
  342. font-weight: 500;
  343. font-size: 0.85rem;
  344. transition: background 0.2s;
  345. white-space: nowrap;
  346. flex-shrink: 0;
  347. }
  348. .details-toggle-btn:hover {
  349. background: #bbdefb;
  350. }
  351. .details-icon {
  352. display: inline-block;
  353. transition: transform 0.3s ease;
  354. margin-right: 5px;
  355. }
  356. .paragraph-details:not(.collapsed) .details-icon {
  357. transform: rotate(90deg);
  358. }
  359. .details-content {
  360. max-height: 0;
  361. opacity: 0;
  362. overflow: hidden;
  363. transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  364. }
  365. .paragraph-details:not(.collapsed) .details-content {
  366. max-height: 5000px;
  367. opacity: 1;
  368. margin-top: 10px;
  369. }
  370. .paragraph-details {
  371. margin-top: 10px;
  372. }
  373. .related-images {
  374. display: grid;
  375. grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  376. gap: 15px;
  377. margin-top: 15px;
  378. padding: 15px;
  379. background: #f8f9fa;
  380. border-radius: 8px;
  381. }
  382. .image-item {
  383. position: relative;
  384. background: white;
  385. border-radius: 6px;
  386. overflow: hidden;
  387. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  388. transition: transform 0.2s, box-shadow 0.2s;
  389. }
  390. .image-item:hover {
  391. transform: translateY(-2px);
  392. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  393. }
  394. .image-item img {
  395. width: 100%;
  396. height: auto;
  397. display: block;
  398. }
  399. .image-label {
  400. position: absolute;
  401. top: 8px;
  402. right: 8px;
  403. background: rgba(102, 126, 234, 0.9);
  404. color: white;
  405. padding: 4px 10px;
  406. border-radius: 4px;
  407. font-size: 0.85rem;
  408. font-weight: 600;
  409. backdrop-filter: blur(4px);
  410. }
  411. .category-list {
  412. list-style: none;
  413. padding: 0;
  414. }
  415. .category-item {
  416. margin-bottom: 15px;
  417. padding: 15px;
  418. background: white;
  419. border-radius: 6px;
  420. border-left: 4px solid #667eea;
  421. }
  422. .category-name {
  423. font-size: 1.1rem;
  424. font-weight: 600;
  425. color: #495057;
  426. margin-bottom: 8px;
  427. }
  428. .category-definition {
  429. font-size: 0.95rem;
  430. color: #6c757d;
  431. line-height: 1.6;
  432. }
  433. /* Tab3 元素列表样式 */
  434. .global-controls {
  435. display: flex;
  436. gap: 10px;
  437. margin-bottom: 20px;
  438. justify-content: space-between;
  439. align-items: center;
  440. flex-wrap: wrap;
  441. }
  442. /* 颜色图例样式 */
  443. .color-legend {
  444. display: flex;
  445. align-items: center;
  446. gap: 12px;
  447. flex-wrap: wrap;
  448. }
  449. .legend-title {
  450. font-size: 0.9rem;
  451. color: #6c757d;
  452. font-weight: 500;
  453. }
  454. .legend-item {
  455. display: inline-flex;
  456. align-items: center;
  457. padding: 4px 12px;
  458. border-radius: 4px;
  459. font-size: 0.8rem;
  460. font-weight: 600;
  461. color: white;
  462. }
  463. .legend-item::before {
  464. content: '';
  465. display: inline-block;
  466. width: 12px;
  467. height: 12px;
  468. border-radius: 2px;
  469. margin-right: 6px;
  470. }
  471. .legend-coverage {
  472. background: rgba(16, 185, 129, 0.15);
  473. color: #10b981;
  474. border: 1px solid #10b981;
  475. }
  476. .legend-coverage::before {
  477. background: #10b981;
  478. }
  479. .legend-frequency {
  480. background: rgba(59, 130, 246, 0.15);
  481. color: #3b82f6;
  482. border: 1px solid #3b82f6;
  483. }
  484. .legend-frequency::before {
  485. background: #3b82f6;
  486. }
  487. .legend-similarity {
  488. background: rgba(139, 92, 246, 0.15);
  489. color: #8b5cf6;
  490. border: 1px solid #8b5cf6;
  491. }
  492. .legend-similarity::before {
  493. background: #8b5cf6;
  494. }
  495. .control-btn {
  496. padding: 8px 16px;
  497. background: #667eea;
  498. color: white;
  499. border: none;
  500. border-radius: 6px;
  501. font-size: 0.9rem;
  502. font-weight: 600;
  503. cursor: pointer;
  504. transition: all 0.2s;
  505. }
  506. .control-btn:hover {
  507. background: #5568d3;
  508. transform: translateY(-1px);
  509. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  510. }
  511. .category-group {
  512. margin-bottom: 30px;
  513. padding: 20px;
  514. background: white;
  515. border-radius: 8px;
  516. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  517. }
  518. .category-group.collapsible .category-header {
  519. cursor: pointer;
  520. user-select: none;
  521. }
  522. .category-group.collapsible .category-header:hover {
  523. background: #f8f9fa;
  524. margin: -10px;
  525. padding: 10px;
  526. border-radius: 6px;
  527. }
  528. .category-header {
  529. margin-bottom: 15px;
  530. padding-bottom: 10px;
  531. border-bottom: 2px solid #e9ecef;
  532. display: flex;
  533. align-items: center;
  534. gap: 10px;
  535. flex-wrap: wrap;
  536. }
  537. .category-toggle-icon {
  538. font-size: 0.8rem;
  539. color: #667eea;
  540. transition: transform 0.3s ease;
  541. flex-shrink: 0;
  542. }
  543. .category-group.collapsed .category-toggle-icon {
  544. transform: rotate(-90deg);
  545. }
  546. .category-title {
  547. font-size: 1.2rem;
  548. font-weight: 600;
  549. color: #667eea;
  550. margin: 0;
  551. flex-shrink: 0;
  552. }
  553. .category-stats {
  554. display: flex;
  555. gap: 10px;
  556. flex-wrap: wrap;
  557. }
  558. .category-content {
  559. overflow: hidden;
  560. transition: max-height 0.3s ease, opacity 0.3s ease;
  561. max-height: 10000px;
  562. opacity: 1;
  563. }
  564. .category-group.collapsed .category-content {
  565. max-height: 0;
  566. opacity: 0;
  567. }
  568. .element-list {
  569. list-style: none;
  570. padding: 0;
  571. margin: 0;
  572. }
  573. .element-item {
  574. margin-bottom: 12px;
  575. padding: 12px;
  576. background: #f8f9fa;
  577. border-radius: 6px;
  578. border-left: 3px solid #667eea;
  579. transition: all 0.2s;
  580. }
  581. /* 主导因素边框颜色 - 覆盖率主导(绿色系) */
  582. .element-item.dominant-coverage {
  583. border-left: 4px solid #10b981;
  584. background: linear-gradient(to right, rgba(16, 185, 129, 0.05), transparent);
  585. }
  586. /* 主导因素边框颜色 - 频次主导(蓝色系) */
  587. .element-item.dominant-frequency {
  588. border-left: 4px solid #3b82f6;
  589. background: linear-gradient(to right, rgba(59, 130, 246, 0.05), transparent);
  590. }
  591. /* 主导因素边框颜色 - 相似度主导(紫色系) */
  592. .element-item.dominant-similarity {
  593. border-left: 4px solid #8b5cf6;
  594. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), transparent);
  595. }
  596. .element-item:hover {
  597. background: #e9ecef;
  598. }
  599. .element-header {
  600. display: flex;
  601. align-items: center;
  602. gap: 10px;
  603. flex-wrap: wrap;
  604. cursor: pointer;
  605. user-select: none;
  606. }
  607. .element-toggle-icon {
  608. font-size: 0.7rem;
  609. color: #667eea;
  610. transition: transform 0.3s ease;
  611. flex-shrink: 0;
  612. }
  613. .element-item.expanded .element-toggle-icon {
  614. transform: rotate(90deg);
  615. }
  616. .element-name {
  617. font-size: 1rem;
  618. font-weight: 600;
  619. color: #495057;
  620. flex-shrink: 0;
  621. }
  622. .element-stats {
  623. display: flex;
  624. gap: 8px;
  625. flex-wrap: wrap;
  626. margin-left: auto;
  627. }
  628. .element-description {
  629. margin-top: 8px;
  630. font-size: 0.9rem;
  631. color: #6c757d;
  632. line-height: 1.5;
  633. }
  634. .element-details {
  635. margin-top: 10px;
  636. padding: 15px;
  637. background: white;
  638. border-radius: 6px;
  639. border: 1px solid #dee2e6;
  640. overflow: hidden;
  641. transition: max-height 0.3s ease, opacity 0.3s ease;
  642. max-height: 5000px;
  643. opacity: 1;
  644. }
  645. .element-details.collapsed {
  646. max-height: 0;
  647. opacity: 0;
  648. padding: 0;
  649. margin: 0;
  650. border: none;
  651. }
  652. .detail-section {
  653. margin-bottom: 15px;
  654. }
  655. .detail-section:last-child {
  656. margin-bottom: 0;
  657. }
  658. .detail-section strong {
  659. display: block;
  660. margin-bottom: 8px;
  661. color: #495057;
  662. font-size: 0.9rem;
  663. }
  664. .detail-content {
  665. display: flex;
  666. flex-wrap: wrap;
  667. gap: 6px;
  668. }
  669. .detail-tag {
  670. display: inline-block;
  671. padding: 4px 10px;
  672. background: #e9ecef;
  673. border-radius: 4px;
  674. font-size: 0.85rem;
  675. color: #495057;
  676. }
  677. .score-type {
  678. font-weight: 600;
  679. color: #667eea;
  680. margin: 10px 0 5px 0;
  681. font-size: 0.9rem;
  682. }
  683. .score-list {
  684. display: flex;
  685. flex-direction: column;
  686. gap: 8px;
  687. }
  688. .score-item {
  689. padding: 8px 12px;
  690. background: #f8f9fa;
  691. border-radius: 4px;
  692. border-left: 3px solid #667eea;
  693. }
  694. .score-point {
  695. font-size: 0.9rem;
  696. color: #495057;
  697. margin-bottom: 5px;
  698. }
  699. .score-values {
  700. display: flex;
  701. gap: 8px;
  702. }
  703. .score-badge {
  704. display: inline-block;
  705. padding: 2px 8px;
  706. background: #e3f2fd;
  707. border: 1px solid #90caf9;
  708. border-radius: 3px;
  709. font-size: 0.75rem;
  710. color: #1976d2;
  711. }
  712. .stat-badge {
  713. display: inline-block;
  714. padding: 3px 10px;
  715. background: #667eea;
  716. color: white;
  717. border-radius: 4px;
  718. font-size: 0.75rem;
  719. font-weight: 500;
  720. white-space: nowrap;
  721. }
  722. /* 不同类型的统计badge颜色 */
  723. .stat-badge.stat-coverage {
  724. background: #6b7280;
  725. }
  726. .stat-badge.stat-frequency {
  727. background: #6b7280;
  728. }
  729. .stat-badge.stat-similarity {
  730. background: #6b7280;
  731. }
  732. /* 高亮状态 - 主导因素 */
  733. .stat-badge.stat-highlight.stat-coverage {
  734. background: #10b981;
  735. box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  736. }
  737. .stat-badge.stat-highlight.stat-frequency {
  738. background: #3b82f6;
  739. box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
  740. }
  741. .stat-badge.stat-highlight.stat-similarity {
  742. background: #8b5cf6;
  743. box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
  744. }
  745. .detail-text {
  746. padding: 10px 12px;
  747. background: #f1f3f5;
  748. border-radius: 4px;
  749. font-size: 0.9rem;
  750. color: #495057;
  751. line-height: 1.6;
  752. border-left: 3px solid #adb5bd;
  753. }
  754. .score-reasons {
  755. margin-top: 8px;
  756. padding: 8px 12px;
  757. background: #f9fafb;
  758. border-radius: 4px;
  759. border-left: 2px solid #dee2e6;
  760. }
  761. .score-reason {
  762. font-size: 0.85rem;
  763. color: #6c757d;
  764. line-height: 1.5;
  765. margin-bottom: 6px;
  766. }
  767. .score-reason:last-child {
  768. margin-bottom: 0;
  769. }
  770. .score-reason strong {
  771. color: #495057;
  772. }
  773. /* 新增:元素ID样式 */
  774. .element-id {
  775. display: inline-block;
  776. background: #6c757d;
  777. color: white;
  778. padding: 2px 8px;
  779. border-radius: 4px;
  780. font-size: 0.75rem;
  781. font-weight: 600;
  782. margin-right: 8px;
  783. flex-shrink: 0;
  784. }
  785. /* 维度标签样式 */
  786. .dimension-level1 {
  787. background: #e8f5e9;
  788. color: #2e7d32;
  789. border: 1px solid #a5d6a7;
  790. }
  791. .dimension-level2 {
  792. background: #f3e5f5;
  793. color: #7b1fa2;
  794. border: 1px solid #ce93d8;
  795. }
  796. /* 分类标签样式 */
  797. .category-level1 {
  798. background: #e3f2fd;
  799. color: #1565c0;
  800. border: 1px solid #90caf9;
  801. }
  802. .category-level2 {
  803. background: #fff3e0;
  804. color: #e65100;
  805. border: 1px solid #ffcc80;
  806. }
  807. /* 来源标签样式 */
  808. .source-tag {
  809. background: #fce4ec;
  810. color: #c2185b;
  811. border: 1px solid #f48fb1;
  812. }
  813. /* 段落ID标签样式 */
  814. .para-id-tag {
  815. background: #667eea;
  816. color: white;
  817. font-weight: 600;
  818. }
  819. /* 出现段落详情列表样式 */
  820. .paragraphs-detail-list {
  821. display: flex;
  822. flex-direction: column;
  823. gap: 10px;
  824. }
  825. .paragraph-detail-item {
  826. padding: 10px 12px;
  827. background: #f8f9fa;
  828. border-radius: 6px;
  829. border-left: 3px solid #667eea;
  830. }
  831. .para-how {
  832. margin-top: 8px;
  833. font-size: 0.9rem;
  834. color: #495057;
  835. line-height: 1.5;
  836. padding: 8px 12px;
  837. background: white;
  838. border-radius: 4px;
  839. }
  840. .footer {
  841. background: #f8f9fa;
  842. padding: 20px;
  843. text-align: center;
  844. color: #6c757d;
  845. border-top: 1px solid #dee2e6;
  846. }
  847. /* 层级结构样式 */
  848. .level1-section {
  849. margin-bottom: 30px;
  850. }
  851. .level1-header {
  852. display: flex;
  853. align-items: center;
  854. gap: 12px;
  855. padding: 20px;
  856. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  857. border-radius: 8px;
  858. cursor: pointer;
  859. user-select: none;
  860. transition: all 0.3s;
  861. }
  862. .level1-header:hover {
  863. transform: translateY(-2px);
  864. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  865. }
  866. .level1-header.collapsed {
  867. opacity: 0.8;
  868. }
  869. .level1-title {
  870. color: white;
  871. font-size: 1.5rem;
  872. font-weight: 700;
  873. margin: 0;
  874. }
  875. .level1-content {
  876. padding: 20px 0;
  877. overflow: hidden;
  878. transition: max-height 0.4s ease, opacity 0.4s ease;
  879. max-height: 100000px;
  880. opacity: 1;
  881. }
  882. .level1-header.collapsed + .level1-content {
  883. max-height: 0;
  884. opacity: 0;
  885. padding: 0;
  886. }
  887. .level2-section {
  888. margin-bottom: 25px;
  889. padding: 0 15px;
  890. }
  891. .level2-header {
  892. display: flex;
  893. align-items: center;
  894. gap: 10px;
  895. padding: 15px 20px;
  896. background: #f8f9fa;
  897. border-radius: 8px;
  898. border-left: 4px solid #667eea;
  899. cursor: pointer;
  900. user-select: none;
  901. transition: all 0.2s;
  902. }
  903. .level2-header:hover {
  904. background: #e9ecef;
  905. }
  906. .level2-header.collapsed {
  907. opacity: 0.7;
  908. }
  909. .level2-title {
  910. color: #495057;
  911. font-size: 1.2rem;
  912. font-weight: 600;
  913. margin: 0;
  914. }
  915. .level2-content {
  916. padding: 15px 0;
  917. overflow: hidden;
  918. transition: max-height 0.3s ease, opacity 0.3s ease;
  919. max-height: 100000px;
  920. opacity: 1;
  921. }
  922. .level2-header.collapsed + .level2-content {
  923. max-height: 0;
  924. opacity: 0;
  925. padding: 0;
  926. }
  927. .level-toggle-icon {
  928. font-size: 1rem;
  929. color: inherit;
  930. transition: transform 0.3s ease;
  931. flex-shrink: 0;
  932. }
  933. .collapsed .level-toggle-icon {
  934. transform: rotate(-90deg);
  935. }
  936. .category-group {
  937. margin: 15px 0 15px 20px;
  938. }
  939. /* 二级分类样式 */
  940. .subcategory-group {
  941. margin: 10px 0 10px 20px;
  942. padding: 15px;
  943. background: #fafafa;
  944. border-radius: 6px;
  945. border-left: 3px solid #a5b4fc;
  946. }
  947. .subcategory-group.collapsible .subcategory-header {
  948. cursor: pointer;
  949. user-select: none;
  950. }
  951. .subcategory-group.collapsible .subcategory-header:hover {
  952. background: #f0f0f0;
  953. margin: -8px;
  954. padding: 8px;
  955. border-radius: 4px;
  956. }
  957. .subcategory-header {
  958. display: flex;
  959. align-items: center;
  960. gap: 8px;
  961. flex-wrap: wrap;
  962. margin-bottom: 10px;
  963. }
  964. .subcategory-toggle-icon {
  965. font-size: 0.7rem;
  966. color: #a5b4fc;
  967. transition: transform 0.3s ease;
  968. flex-shrink: 0;
  969. }
  970. .subcategory-group.collapsed .subcategory-toggle-icon {
  971. transform: rotate(-90deg);
  972. }
  973. .subcategory-title {
  974. font-size: 1rem;
  975. font-weight: 600;
  976. color: #6366f1;
  977. margin: 0;
  978. }
  979. .subcategory-stats {
  980. display: flex;
  981. gap: 6px;
  982. flex-wrap: wrap;
  983. }
  984. .subcategory-content {
  985. overflow: hidden;
  986. transition: max-height 0.3s ease, opacity 0.3s ease;
  987. max-height: 10000px;
  988. opacity: 1;
  989. }
  990. .subcategory-group.collapsed .subcategory-content {
  991. max-height: 0;
  992. opacity: 0;
  993. }
  994. .stat-badge-small {
  995. display: inline-block;
  996. padding: 2px 8px;
  997. background: #a5b4fc;
  998. color: white;
  999. border-radius: 3px;
  1000. font-size: 0.7rem;
  1001. font-weight: 500;
  1002. white-space: nowrap;
  1003. }
  1004. /* ===== 新增字段样式 ===== */
  1005. /* 类型标签 */
  1006. .type-tag {
  1007. background: #e0f2fe;
  1008. color: #0369a1;
  1009. border: 1px solid #7dd3fc;
  1010. font-weight: 600;
  1011. }
  1012. /* 推理层次标签 */
  1013. .level-tag {
  1014. background: #fef3c7;
  1015. color: #d97706;
  1016. border: 1px solid #fcd34d;
  1017. font-weight: 600;
  1018. }
  1019. /* 依附于标签 */
  1020. .depends-tag {
  1021. background: #fce7f3;
  1022. color: #be185d;
  1023. border: 1px solid #f9a8d4;
  1024. }
  1025. /* 映射关系容器 */
  1026. .mapping-container {
  1027. padding: 10px 0;
  1028. }
  1029. .mapping-group {
  1030. margin-bottom: 12px;
  1031. padding: 10px 12px;
  1032. background: #f9fafb;
  1033. border-radius: 4px;
  1034. border-left: 3px solid #9ca3af;
  1035. }
  1036. .mapping-group:last-child {
  1037. margin-bottom: 0;
  1038. }
  1039. .mapping-label {
  1040. display: block;
  1041. font-weight: 600;
  1042. color: #374151;
  1043. margin-bottom: 8px;
  1044. font-size: 0.85rem;
  1045. }
  1046. /* 映射关系标签 */
  1047. .mapping-tag {
  1048. background: #ede9fe;
  1049. color: #6b21a8;
  1050. border: 1px solid #c4b5fd;
  1051. font-weight: 600;
  1052. }
  1053. /* ===== 元素锚点系统 - 模态框样式 ===== */
  1054. /* 模态框背景遮罩 */
  1055. .element-modal-backdrop {
  1056. position: fixed;
  1057. top: 0;
  1058. left: 0;
  1059. right: 0;
  1060. bottom: 0;
  1061. background: rgba(0, 0, 0, 0.5);
  1062. display: flex;
  1063. align-items: center;
  1064. justify-content: center;
  1065. z-index: 2000;
  1066. animation: fadeIn 0.2s ease;
  1067. }
  1068. /* 模态框内容容器 */
  1069. .element-modal-content {
  1070. background: white;
  1071. border-radius: 12px;
  1072. padding: 0;
  1073. max-width: 600px;
  1074. width: 90%;
  1075. max-height: 80vh;
  1076. overflow-y: auto;
  1077. box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  1078. animation: slideUp 0.3s ease;
  1079. }
  1080. @keyframes slideUp {
  1081. from {
  1082. transform: translateY(20px);
  1083. opacity: 0;
  1084. }
  1085. to {
  1086. transform: translateY(0);
  1087. opacity: 1;
  1088. }
  1089. }
  1090. /* 模态框头部 */
  1091. .modal-header {
  1092. display: flex;
  1093. align-items: center;
  1094. justify-content: space-between;
  1095. padding: 20px 24px;
  1096. border-bottom: 2px solid #e9ecef;
  1097. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  1098. border-radius: 12px 12px 0 0;
  1099. }
  1100. .modal-header h3 {
  1101. margin: 0;
  1102. font-size: 1.3rem;
  1103. font-weight: 700;
  1104. color: white;
  1105. }
  1106. /* 模态框关闭按钮 */
  1107. .modal-close {
  1108. background: rgba(255, 255, 255, 0.2);
  1109. border: none;
  1110. color: white;
  1111. font-size: 1.5rem;
  1112. width: 32px;
  1113. height: 32px;
  1114. border-radius: 50%;
  1115. cursor: pointer;
  1116. display: flex;
  1117. align-items: center;
  1118. justify-content: center;
  1119. transition: all 0.2s;
  1120. padding: 0;
  1121. line-height: 1;
  1122. }
  1123. .modal-close:hover {
  1124. background: rgba(255, 255, 255, 0.3);
  1125. transform: rotate(90deg);
  1126. }
  1127. /* 模态框主体 */
  1128. .modal-body {
  1129. padding: 24px;
  1130. }
  1131. .modal-section {
  1132. margin-bottom: 16px;
  1133. }
  1134. .modal-section:last-child {
  1135. margin-bottom: 0;
  1136. }
  1137. .modal-section strong {
  1138. display: block;
  1139. margin-bottom: 8px;
  1140. color: #495057;
  1141. font-size: 0.9rem;
  1142. }
  1143. .modal-section p {
  1144. margin: 0;
  1145. color: #6c757d;
  1146. line-height: 1.6;
  1147. }
  1148. /* 模态框底部 */
  1149. .modal-footer {
  1150. padding: 16px 24px;
  1151. border-top: 1px solid #e9ecef;
  1152. display: flex;
  1153. justify-content: flex-end;
  1154. gap: 12px;
  1155. }
  1156. /* 模态框按钮 */
  1157. .modal-btn {
  1158. padding: 10px 20px;
  1159. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  1160. color: white;
  1161. border: none;
  1162. border-radius: 6px;
  1163. font-size: 0.9rem;
  1164. font-weight: 600;
  1165. cursor: pointer;
  1166. transition: all 0.2s;
  1167. }
  1168. .modal-btn:hover {
  1169. transform: translateY(-1px);
  1170. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  1171. }
  1172. /* 高亮动画(用于跳转后的元素高亮) */
  1173. .highlight-pulse {
  1174. animation: highlightPulse 2s ease;
  1175. }
  1176. @keyframes highlightPulse {
  1177. 0%, 100% {
  1178. background: #f8f9fa;
  1179. }
  1180. 50% {
  1181. background: rgba(102, 126, 234, 0.2);
  1182. box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
  1183. }
  1184. }
  1185. /* ===== Tab4 关系图样式 ===== */
  1186. /* 关系图容器 */
  1187. .relationship-container {
  1188. display: flex;
  1189. gap: 20px;
  1190. min-height: 600px;
  1191. position: relative;
  1192. background: #f8f9fa;
  1193. padding: 20px;
  1194. border-radius: 8px;
  1195. }
  1196. /* 左侧实质点列表 */
  1197. .substance-column {
  1198. flex: 0 0 300px;
  1199. display: flex;
  1200. flex-direction: column;
  1201. }
  1202. /* 中间连线区域 */
  1203. .connection-column {
  1204. flex: 1;
  1205. min-width: 200px;
  1206. position: relative;
  1207. }
  1208. /* 右侧目标点列表 */
  1209. .target-column {
  1210. flex: 0 0 350px;
  1211. display: flex;
  1212. flex-direction: column;
  1213. gap: 20px;
  1214. }
  1215. /* 列标题 */
  1216. .column-title {
  1217. font-size: 1.2rem;
  1218. font-weight: 600;
  1219. color: #495057;
  1220. margin-bottom: 15px;
  1221. padding: 10px;
  1222. background: white;
  1223. border-radius: 6px;
  1224. text-align: center;
  1225. border-left: 4px solid #667eea;
  1226. }
  1227. .section-title {
  1228. font-size: 1rem;
  1229. font-weight: 600;
  1230. color: #495057;
  1231. margin-bottom: 10px;
  1232. padding: 8px 12px;
  1233. background: white;
  1234. border-radius: 6px;
  1235. border-left: 3px solid #667eea;
  1236. }
  1237. /* 节点列表 */
  1238. .node-list {
  1239. display: flex;
  1240. flex-direction: column;
  1241. gap: 10px;
  1242. overflow-y: auto;
  1243. max-height: calc(100vh - 300px);
  1244. padding-right: 5px;
  1245. }
  1246. /* 自定义滚动条 */
  1247. .node-list::-webkit-scrollbar {
  1248. width: 6px;
  1249. }
  1250. .node-list::-webkit-scrollbar-track {
  1251. background: #e9ecef;
  1252. border-radius: 3px;
  1253. }
  1254. .node-list::-webkit-scrollbar-thumb {
  1255. background: #adb5bd;
  1256. border-radius: 3px;
  1257. }
  1258. .node-list::-webkit-scrollbar-thumb:hover {
  1259. background: #6c757d;
  1260. }
  1261. /* 节点基础样式 */
  1262. .node {
  1263. padding: 12px 15px;
  1264. background: white;
  1265. border-radius: 6px;
  1266. cursor: pointer;
  1267. transition: all 0.3s;
  1268. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  1269. position: relative;
  1270. }
  1271. .node:hover {
  1272. transform: translateX(5px);
  1273. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  1274. }
  1275. /* 实质点节点 */
  1276. .substance-node {
  1277. border-left: 4px solid #667eea;
  1278. }
  1279. .substance-node:hover {
  1280. border-left-color: #5568d3;
  1281. background: linear-gradient(to right, rgba(102, 126, 234, 0.05), white);
  1282. }
  1283. .substance-node.highlighted {
  1284. background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
  1285. border-left-color: #5568d3;
  1286. box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  1287. }
  1288. /* 目标点节点 */
  1289. .target-node {
  1290. border-left: 4px solid #adb5bd;
  1291. }
  1292. /* 灵感点节点 */
  1293. .inspiration-node {
  1294. border-left-color: #10b981;
  1295. }
  1296. .inspiration-node.highlighted {
  1297. background: linear-gradient(to right, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  1298. border-left-color: #059669;
  1299. box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  1300. }
  1301. /* 目的点节点 */
  1302. .purpose-node {
  1303. border-left-color: #3b82f6;
  1304. }
  1305. .purpose-node.highlighted {
  1306. background: linear-gradient(to right, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
  1307. border-left-color: #2563eb;
  1308. box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  1309. }
  1310. /* 关键点节点 */
  1311. .keypoint-node {
  1312. border-left-color: #8b5cf6;
  1313. }
  1314. .keypoint-node.highlighted {
  1315. background: linear-gradient(to right, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
  1316. border-left-color: #7c3aed;
  1317. box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
  1318. }
  1319. /* 节点内容样式 */
  1320. .node-id, .node-number {
  1321. display: inline-block;
  1322. background: #6c757d;
  1323. color: white;
  1324. padding: 2px 8px;
  1325. border-radius: 4px;
  1326. font-size: 0.75rem;
  1327. font-weight: 600;
  1328. margin-bottom: 6px;
  1329. }
  1330. .node-name, .node-text {
  1331. font-size: 0.9rem;
  1332. font-weight: 500;
  1333. color: #495057;
  1334. line-height: 1.4;
  1335. }
  1336. .node-dimension {
  1337. font-size: 0.8rem;
  1338. color: #6c757d;
  1339. margin-top: 4px;
  1340. }
  1341. /* SVG 连线样式 */
  1342. .relationship-svg {
  1343. width: 100%;
  1344. height: 100%;
  1345. position: absolute;
  1346. top: 0;
  1347. left: 0;
  1348. pointer-events: none;
  1349. }
  1350. .connection-line {
  1351. stroke-width: 2;
  1352. opacity: 0.3;
  1353. transition: all 0.3s;
  1354. }
  1355. .connection-line.highlighted {
  1356. stroke-width: 3;
  1357. opacity: 1;
  1358. }
  1359. /* 不同类型连线颜色 */
  1360. .connection-line.inspiration {
  1361. stroke: #10b981;
  1362. }
  1363. .connection-line.purpose {
  1364. stroke: #3b82f6;
  1365. }
  1366. .connection-line.keypoint {
  1367. stroke: #8b5cf6;
  1368. }
  1369. /* 连线标签(显示相似度) */
  1370. .connection-label {
  1371. font-size: 0.7rem;
  1372. fill: #6c757d;
  1373. opacity: 0;
  1374. transition: opacity 0.3s;
  1375. pointer-events: none;
  1376. }
  1377. .connection-label.highlighted {
  1378. opacity: 1;
  1379. }
  1380. /* 目标区域 */
  1381. .target-section {
  1382. background: white;
  1383. border-radius: 8px;
  1384. padding: 15px;
  1385. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1386. }
  1387. /* 空状态 */
  1388. .empty-state {
  1389. padding: 60px 40px;
  1390. text-align: center;
  1391. color: #6c757d;
  1392. font-size: 1.1rem;
  1393. background: white;
  1394. border-radius: 8px;
  1395. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1396. }
  1397. /* ===== Tab4 新增交互样式 ===== */
  1398. /* 顶部标题和重置按钮 */
  1399. .tab4-header {
  1400. display: flex;
  1401. justify-content: space-between;
  1402. align-items: center;
  1403. margin-bottom: 20px;
  1404. padding: 15px 20px;
  1405. background: white;
  1406. border-radius: 8px;
  1407. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1408. }
  1409. .tab4-title {
  1410. font-size: 1.1rem;
  1411. font-weight: 600;
  1412. color: #495057;
  1413. }
  1414. .reset-btn {
  1415. padding: 8px 16px;
  1416. background: #667eea;
  1417. color: white;
  1418. border: none;
  1419. border-radius: 6px;
  1420. font-size: 0.9rem;
  1421. font-weight: 600;
  1422. cursor: pointer;
  1423. transition: all 0.2s;
  1424. }
  1425. .reset-btn:hover {
  1426. background: #5568d3;
  1427. transform: translateY(-1px);
  1428. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  1429. }
  1430. /* 实质点选中状态 */
  1431. .substance-node.selected {
  1432. background: linear-gradient(to right, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.08));
  1433. border-left-color: #5568d3;
  1434. box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
  1435. transform: scale(1.02);
  1436. }
  1437. /* 实质点变暗状态(未选中时) */
  1438. .substance-node.dimmed {
  1439. opacity: 0.4;
  1440. filter: grayscale(0.5);
  1441. }
  1442. .substance-node.dimmed:hover {
  1443. opacity: 0.6;
  1444. }
  1445. /* 右侧节点隐藏状态 */
  1446. .target-node.hidden {
  1447. display: none;
  1448. }
  1449. .target-node.visible {
  1450. display: block;
  1451. animation: fadeInNode 0.3s ease;
  1452. }
  1453. @keyframes fadeInNode {
  1454. from {
  1455. opacity: 0;
  1456. transform: translateX(-10px);
  1457. }
  1458. to {
  1459. opacity: 1;
  1460. transform: translateX(0);
  1461. }
  1462. }
  1463. /* Section的隐藏和显示 */
  1464. .target-section.all-hidden {
  1465. display: none;
  1466. }
  1467. .target-section.has-visible-nodes {
  1468. display: block;
  1469. animation: fadeIn 0.3s ease;
  1470. }
  1471. /* 关联实质点节点样式 */
  1472. .substance-related-node {
  1473. border-left-color: #f59e0b;
  1474. cursor: pointer;
  1475. }
  1476. .substance-related-node:hover {
  1477. border-left-color: #d97706;
  1478. background: linear-gradient(to right, rgba(245, 158, 11, 0.1), white);
  1479. }
  1480. .substance-related-node.visible {
  1481. background: linear-gradient(to right, rgba(245, 158, 11, 0.08), white);
  1482. }
  1483. /* 实质点之间的连线样式 */
  1484. .connection-line.substance {
  1485. stroke: #f59e0b;
  1486. stroke-dasharray: 5, 5;
  1487. }
  1488. .connection-line.substance.highlighted {
  1489. stroke-width: 3;
  1490. opacity: 0.8;
  1491. }
  1492. /* ===== Tab5 形式点关系图样式 ===== */
  1493. /* 顶部标题和重置按钮 */
  1494. .tab5-header {
  1495. display: flex;
  1496. justify-content: space-between;
  1497. align-items: center;
  1498. margin-bottom: 20px;
  1499. padding: 15px 20px;
  1500. background: white;
  1501. border-radius: 8px;
  1502. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1503. }
  1504. .tab5-title {
  1505. font-size: 1.1rem;
  1506. font-weight: 600;
  1507. color: #495057;
  1508. }
  1509. /* 形式点节点样式 */
  1510. .form-column {
  1511. flex: 0 0 300px;
  1512. display: flex;
  1513. flex-direction: column;
  1514. }
  1515. .form-node {
  1516. border-left: 4px solid #8b5cf6;
  1517. }
  1518. .form-node:hover {
  1519. border-left-color: #7c3aed;
  1520. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  1521. }
  1522. .form-node.selected {
  1523. background: linear-gradient(to right, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.08));
  1524. border-left-color: #7c3aed;
  1525. box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  1526. transform: scale(1.02);
  1527. }
  1528. .form-node.dimmed {
  1529. opacity: 0.4;
  1530. filter: grayscale(0.5);
  1531. }
  1532. .form-node.dimmed:hover {
  1533. opacity: 0.6;
  1534. }
  1535. /* 关联形式点节点样式 */
  1536. .form-related-node {
  1537. border-left-color: #ec4899;
  1538. cursor: pointer;
  1539. }
  1540. .form-related-node:hover {
  1541. border-left-color: #db2777;
  1542. background: linear-gradient(to right, rgba(236, 72, 153, 0.1), white);
  1543. }
  1544. .form-related-node.visible {
  1545. background: linear-gradient(to right, rgba(236, 72, 153, 0.08), white);
  1546. }
  1547. /* 形式点之间的连线样式 */
  1548. .connection-line.form {
  1549. stroke: #ec4899;
  1550. stroke-dasharray: 5, 5;
  1551. }
  1552. .connection-line.form.highlighted {
  1553. stroke-width: 3;
  1554. opacity: 0.8;
  1555. }
  1556. /* ===== Tab4 新版支撑关系图样式 ===== */
  1557. /* 顶部说明区域 */
  1558. .tab4-description {
  1559. margin-top: 10px;
  1560. padding: 15px;
  1561. background: #f8f9fa;
  1562. border-radius: 6px;
  1563. border-left: 4px solid #667eea;
  1564. }
  1565. .tab4-description p {
  1566. margin: 0 0 10px 0;
  1567. color: #495057;
  1568. font-size: 0.95rem;
  1569. }
  1570. .relationship-rules {
  1571. list-style: none;
  1572. padding: 0;
  1573. margin: 0;
  1574. }
  1575. .relationship-rules li {
  1576. padding: 6px 0;
  1577. color: #6c757d;
  1578. font-size: 0.9rem;
  1579. }
  1580. .relationship-rules li::before {
  1581. content: "→";
  1582. color: #667eea;
  1583. margin-right: 8px;
  1584. font-weight: bold;
  1585. }
  1586. /* 支撑关系主容器 */
  1587. .support-view-container {
  1588. display: grid;
  1589. grid-template-columns: 300px 1fr 350px;
  1590. gap: 20px;
  1591. min-height: 700px;
  1592. background: #f8f9fa;
  1593. padding: 20px;
  1594. border-radius: 8px;
  1595. }
  1596. /* 左侧实质点面板 */
  1597. .substance-panel {
  1598. display: flex;
  1599. flex-direction: column;
  1600. gap: 15px;
  1601. }
  1602. .panel-title {
  1603. font-size: 1.1rem;
  1604. font-weight: 600;
  1605. color: #495057;
  1606. padding: 12px;
  1607. background: white;
  1608. border-radius: 6px;
  1609. text-align: center;
  1610. border-left: 4px solid #667eea;
  1611. margin: 0;
  1612. }
  1613. /* 实质点分组 */
  1614. .substance-group {
  1615. background: white;
  1616. border-radius: 8px;
  1617. padding: 15px;
  1618. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1619. }
  1620. .group-title {
  1621. font-size: 0.95rem;
  1622. font-weight: 600;
  1623. color: #667eea;
  1624. margin: 0 0 12px 0;
  1625. padding-bottom: 8px;
  1626. border-bottom: 2px solid #e9ecef;
  1627. }
  1628. .substance-items {
  1629. display: flex;
  1630. flex-direction: column;
  1631. gap: 8px;
  1632. padding-right: 5px;
  1633. }
  1634. /* 实质点卡片 */
  1635. .substance-card {
  1636. padding: 10px 12px;
  1637. background: #f8f9fa;
  1638. border-radius: 6px;
  1639. border-left: 3px solid #adb5bd;
  1640. cursor: pointer;
  1641. transition: all 0.2s;
  1642. }
  1643. .substance-card:hover {
  1644. background: #e9ecef;
  1645. transform: translateX(3px);
  1646. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  1647. }
  1648. .substance-card.concrete-element {
  1649. border-left-color: #10b981;
  1650. }
  1651. .substance-card.concrete-concept {
  1652. border-left-color: #3b82f6;
  1653. }
  1654. .substance-card.abstract-concept {
  1655. border-left-color: #8b5cf6;
  1656. }
  1657. .substance-card.selected {
  1658. background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
  1659. border-left-color: #667eea;
  1660. border-left-width: 4px;
  1661. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  1662. }
  1663. .substance-card.dimmed {
  1664. opacity: 0.3;
  1665. filter: grayscale(0.7);
  1666. }
  1667. .substance-card.hidden {
  1668. display: none;
  1669. }
  1670. .card-header {
  1671. display: flex;
  1672. align-items: center;
  1673. gap: 8px;
  1674. flex-wrap: wrap;
  1675. }
  1676. .card-id {
  1677. display: inline-block;
  1678. background: #6c757d;
  1679. color: white;
  1680. padding: 2px 6px;
  1681. border-radius: 3px;
  1682. font-size: 0.7rem;
  1683. font-weight: 600;
  1684. flex-shrink: 0;
  1685. }
  1686. .card-name {
  1687. font-size: 0.85rem;
  1688. font-weight: 600;
  1689. color: #495057;
  1690. flex: 1;
  1691. line-height: 1.3;
  1692. }
  1693. .card-description {
  1694. margin-top: 6px;
  1695. font-size: 0.75rem;
  1696. color: #6c757d;
  1697. line-height: 1.4;
  1698. }
  1699. /* 卡片推理信息样式 */
  1700. .card-reasoning {
  1701. margin-top: 8px;
  1702. padding: 8px 10px;
  1703. background: rgba(139, 92, 246, 0.05);
  1704. border-left: 2px solid #8b5cf6;
  1705. border-radius: 4px;
  1706. }
  1707. .reasoning-label {
  1708. font-size: 0.7rem;
  1709. font-weight: 600;
  1710. color: #8b5cf6;
  1711. margin-bottom: 4px;
  1712. }
  1713. .reasoning-text {
  1714. font-size: 0.72rem;
  1715. color: #495057;
  1716. line-height: 1.5;
  1717. font-style: italic;
  1718. }
  1719. /* 中间可视化面板 */
  1720. .support-visualization-panel {
  1721. position: relative;
  1722. background: white;
  1723. border-radius: 8px;
  1724. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1725. }
  1726. .support-canvas {
  1727. width: 100%;
  1728. height: 100%;
  1729. position: relative;
  1730. min-height: 700px;
  1731. display: flex;
  1732. align-items: center;
  1733. justify-content: center;
  1734. }
  1735. .placeholder-text {
  1736. font-size: 1rem;
  1737. color: #adb5bd;
  1738. text-align: center;
  1739. padding: 40px;
  1740. }
  1741. /* 右侧目标点面板 */
  1742. .target-panel {
  1743. display: flex;
  1744. flex-direction: column;
  1745. gap: 15px;
  1746. }
  1747. /* 目标点分组 */
  1748. .target-group {
  1749. background: white;
  1750. border-radius: 8px;
  1751. padding: 15px;
  1752. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1753. }
  1754. .target-items {
  1755. display: flex;
  1756. flex-direction: column;
  1757. gap: 8px;
  1758. padding-right: 5px;
  1759. }
  1760. /* 目标点卡片 */
  1761. .target-card {
  1762. padding: 10px 12px;
  1763. background: #f8f9fa;
  1764. border-radius: 6px;
  1765. border-left: 3px solid #adb5bd;
  1766. cursor: pointer;
  1767. transition: all 0.2s;
  1768. }
  1769. .target-card:hover {
  1770. background: #e9ecef;
  1771. transform: translateX(-3px);
  1772. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  1773. }
  1774. .target-card.inspiration-card {
  1775. border-left-color: #10b981;
  1776. }
  1777. .target-card.keypoint-card {
  1778. border-left-color: #8b5cf6;
  1779. }
  1780. .target-card.purpose-card {
  1781. border-left-color: #3b82f6;
  1782. }
  1783. .target-card.selected {
  1784. background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
  1785. border-left-color: #667eea;
  1786. border-left-width: 4px;
  1787. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  1788. }
  1789. .target-card.dimmed {
  1790. opacity: 0.3;
  1791. filter: grayscale(0.7);
  1792. }
  1793. .target-card.hidden {
  1794. display: none;
  1795. }
  1796. .card-number {
  1797. display: inline-block;
  1798. background: #6c757d;
  1799. color: white;
  1800. padding: 2px 6px;
  1801. border-radius: 3px;
  1802. font-size: 0.7rem;
  1803. font-weight: 600;
  1804. margin-bottom: 4px;
  1805. }
  1806. .card-text {
  1807. font-size: 0.85rem;
  1808. font-weight: 500;
  1809. color: #495057;
  1810. line-height: 1.4;
  1811. }
  1812. /* 支撑关系流程图样式 */
  1813. .support-flow {
  1814. padding: 30px;
  1815. animation: fadeIn 0.5s ease;
  1816. }
  1817. .flow-title {
  1818. font-size: 1.2rem;
  1819. font-weight: 600;
  1820. color: #667eea;
  1821. margin-bottom: 25px;
  1822. text-align: center;
  1823. padding: 15px;
  1824. background: linear-gradient(to right, rgba(102, 126, 234, 0.1), transparent);
  1825. border-radius: 8px;
  1826. border-left: 4px solid #667eea;
  1827. }
  1828. .flow-source {
  1829. display: flex;
  1830. justify-content: center;
  1831. margin-bottom: 30px;
  1832. }
  1833. .flow-node {
  1834. padding: 20px 30px;
  1835. border-radius: 12px;
  1836. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  1837. text-align: center;
  1838. min-width: 200px;
  1839. }
  1840. .substance-flow-node {
  1841. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  1842. color: white;
  1843. }
  1844. .target-flow-node {
  1845. background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  1846. color: white;
  1847. }
  1848. .flow-node-label {
  1849. font-size: 0.85rem;
  1850. font-weight: 500;
  1851. opacity: 0.9;
  1852. margin-bottom: 8px;
  1853. }
  1854. .flow-node-name {
  1855. font-size: 1.1rem;
  1856. font-weight: 700;
  1857. }
  1858. .flow-targets {
  1859. display: flex;
  1860. flex-direction: column;
  1861. gap: 20px;
  1862. }
  1863. .flow-target-group {
  1864. padding: 15px;
  1865. background: #f8f9fa;
  1866. border-radius: 8px;
  1867. border-left: 4px solid #adb5bd;
  1868. }
  1869. .flow-target-label {
  1870. font-size: 0.95rem;
  1871. font-weight: 600;
  1872. color: #495057;
  1873. margin-bottom: 12px;
  1874. padding-bottom: 8px;
  1875. border-bottom: 2px solid #e9ecef;
  1876. }
  1877. .flow-target-item {
  1878. padding: 12px 15px;
  1879. margin-bottom: 10px;
  1880. background: white;
  1881. border-radius: 6px;
  1882. border-left: 4px solid #adb5bd;
  1883. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1884. }
  1885. .flow-target-item:last-child {
  1886. margin-bottom: 0;
  1887. }
  1888. .flow-target-item.inspiration-flow {
  1889. border-left-color: #10b981;
  1890. background: linear-gradient(to right, rgba(16, 185, 129, 0.05), white);
  1891. }
  1892. .flow-target-item.purpose-flow {
  1893. border-left-color: #3b82f6;
  1894. background: linear-gradient(to right, rgba(59, 130, 246, 0.05), white);
  1895. }
  1896. .flow-target-item.keypoint-flow {
  1897. border-left-color: #8b5cf6;
  1898. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  1899. }
  1900. .flow-target-item.concrete-element-flow {
  1901. border-left-color: #10b981;
  1902. background: linear-gradient(to right, rgba(16, 185, 129, 0.05), white);
  1903. }
  1904. .flow-target-item.concrete-concept-flow {
  1905. border-left-color: #3b82f6;
  1906. background: linear-gradient(to right, rgba(59, 130, 246, 0.05), white);
  1907. }
  1908. .flow-target-item.abstract-concept-flow {
  1909. border-left-color: #8b5cf6;
  1910. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  1911. }
  1912. .flow-target-text {
  1913. font-size: 0.9rem;
  1914. font-weight: 500;
  1915. color: #495057;
  1916. margin-bottom: 6px;
  1917. line-height: 1.4;
  1918. }
  1919. .flow-target-score {
  1920. font-size: 0.8rem;
  1921. color: #6c757d;
  1922. font-weight: 600;
  1923. }
  1924. /* 目标点卡片高亮状态 */
  1925. .target-card.highlighted {
  1926. background: linear-gradient(to right, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.03));
  1927. border-left-width: 4px;
  1928. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  1929. }
  1930. /* 实质点卡片高亮状态 */
  1931. .substance-card.highlighted {
  1932. background: linear-gradient(to right, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.03));
  1933. border-left-width: 4px;
  1934. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  1935. }
  1936. /* ===== Tab5 实质与形式双向支撑关系图样式 ===== */
  1937. /* Tab5说明区域 */
  1938. .tab5-description {
  1939. margin-top: 10px;
  1940. padding: 15px;
  1941. background: #f8f9fa;
  1942. border-radius: 6px;
  1943. border-left: 4px solid #8b5cf6;
  1944. }
  1945. .tab5-description p {
  1946. margin: 0 0 10px 0;
  1947. color: #495057;
  1948. font-size: 0.95rem;
  1949. }
  1950. /* Tab5 4列布局容器 */
  1951. .tab5-four-column-container {
  1952. display: grid;
  1953. grid-template-columns: 280px 280px 280px 280px;
  1954. gap: 15px;
  1955. min-height: 700px;
  1956. background: #f8f9fa;
  1957. padding: 20px;
  1958. border-radius: 8px;
  1959. }
  1960. /* Tab5 列样式 */
  1961. .tab5-column {
  1962. display: flex;
  1963. flex-direction: column;
  1964. gap: 12px;
  1965. }
  1966. .tab5-left-targets {
  1967. /* 左侧选题点列(实质支撑) */
  1968. }
  1969. .tab5-substances {
  1970. /* 中左实质点列 */
  1971. }
  1972. .tab5-forms {
  1973. /* 中右形式点列 */
  1974. }
  1975. .tab5-right-targets {
  1976. /* 右侧选题点列(形式支撑) */
  1977. }
  1978. /* 形式点面板 */
  1979. .form-panel {
  1980. display: flex;
  1981. flex-direction: column;
  1982. gap: 15px;
  1983. }
  1984. /* 形式点分组 */
  1985. .form-group {
  1986. background: white;
  1987. border-radius: 8px;
  1988. padding: 15px;
  1989. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1990. }
  1991. .form-items {
  1992. display: flex;
  1993. flex-direction: column;
  1994. gap: 8px;
  1995. padding-right: 5px;
  1996. }
  1997. /* 形式点卡片 */
  1998. .form-card {
  1999. padding: 10px 12px;
  2000. background: #f8f9fa;
  2001. border-radius: 6px;
  2002. border-left: 3px solid #adb5bd;
  2003. cursor: pointer;
  2004. transition: all 0.2s;
  2005. }
  2006. .form-card:hover {
  2007. background: #e9ecef;
  2008. transform: translateX(3px);
  2009. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  2010. }
  2011. .form-card.concrete-element-form {
  2012. border-left-color: #f59e0b;
  2013. }
  2014. .form-card.concrete-concept-form {
  2015. border-left-color: #ec4899;
  2016. }
  2017. .form-card.overall-form {
  2018. border-left-color: #8b5cf6;
  2019. }
  2020. .form-card.selected {
  2021. background: linear-gradient(to right, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
  2022. border-left-color: #8b5cf6;
  2023. border-left-width: 4px;
  2024. box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  2025. }
  2026. .form-card.dimmed {
  2027. opacity: 0.3;
  2028. filter: grayscale(0.7);
  2029. }
  2030. .form-card.hidden {
  2031. display: none;
  2032. }
  2033. .form-card.highlighted {
  2034. background: linear-gradient(to right, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.03));
  2035. border-left-width: 4px;
  2036. box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
  2037. }
  2038. /* 实质点卡片(在tab5中作为目标) */
  2039. .substance-card.concrete-element-card {
  2040. border-left-color: #10b981;
  2041. }
  2042. .substance-card.concrete-concept-card {
  2043. border-left-color: #3b82f6;
  2044. }
  2045. .substance-card.abstract-concept-card {
  2046. border-left-color: #8b5cf6;
  2047. }
  2048. /* 实质点项列表 */
  2049. /* 已移除max-height限制,所有元素平铺显示 */
  2050. /* 形式点流程节点样式 */
  2051. .form-flow-node {
  2052. background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  2053. color: white;
  2054. }
  2055. /* 形式点流程目标项样式 */
  2056. .flow-target-item.concrete-element-form-flow {
  2057. border-left-color: #f59e0b;
  2058. background: linear-gradient(to right, rgba(245, 158, 11, 0.05), white);
  2059. }
  2060. .flow-target-item.concrete-concept-form-flow {
  2061. border-left-color: #ec4899;
  2062. background: linear-gradient(to right, rgba(236, 72, 153, 0.05), white);
  2063. }
  2064. .flow-target-item.overall-form-flow {
  2065. border-left-color: #8b5cf6;
  2066. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  2067. }
  2068. .flow-target-item.form-flow {
  2069. border-left-color: #8b5cf6;
  2070. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  2071. }
  2072. /* ===== Tab5 连线SVG容器样式 ===== */
  2073. .tab5-svg-container {
  2074. position: absolute;
  2075. top: 0;
  2076. left: 0;
  2077. width: 100%;
  2078. height: 100%;
  2079. pointer-events: none;
  2080. z-index: 10;
  2081. }
  2082. #tab5-connection-svg {
  2083. width: 100%;
  2084. height: 100%;
  2085. overflow: visible;
  2086. }
  2087. /* Tab5 4列容器需要relative定位 */
  2088. .tab5-four-column-container {
  2089. position: relative;
  2090. z-index: 1;
  2091. }
  2092. /* Tab5 连线样式 */
  2093. .tab5-connection-line {
  2094. fill: none;
  2095. stroke-width: 2;
  2096. opacity: 0.4;
  2097. transition: all 0.3s ease;
  2098. pointer-events: stroke;
  2099. }
  2100. /* 左侧选题点到实质点的连线 */
  2101. .tab5-connection-line.left-target-substance {
  2102. stroke: #667eea;
  2103. }
  2104. /* 实质点到形式点的连线 */
  2105. .tab5-connection-line.substance-form {
  2106. stroke: #f59e0b;
  2107. stroke-dasharray: 5, 3;
  2108. }
  2109. /* 形式点到右侧灵感点的连线 */
  2110. .tab5-connection-line.form-inspiration {
  2111. stroke: #10b981;
  2112. }
  2113. /* 形式点到右侧目的点的连线 */
  2114. .tab5-connection-line.form-purpose {
  2115. stroke: #3b82f6;
  2116. }
  2117. /* 形式点到右侧关键点的连线 */
  2118. .tab5-connection-line.form-keypoint {
  2119. stroke: #8b5cf6;
  2120. }
  2121. /* 连线hover效果(已在JS中定义) */
  2122. .tab5-connection-line:hover {
  2123. opacity: 0.8;
  2124. stroke-width: 4;
  2125. filter: drop-shadow(0 0 6px rgba(0,0,0,0.3));
  2126. }
  2127. /* ===== Tab5 连线详情模态框样式 ===== */
  2128. .connection-modal-backdrop {
  2129. position: fixed;
  2130. top: 0;
  2131. left: 0;
  2132. right: 0;
  2133. bottom: 0;
  2134. background: rgba(0, 0, 0, 0.6);
  2135. display: flex;
  2136. align-items: center;
  2137. justify-content: center;
  2138. z-index: 3000;
  2139. animation: fadeIn 0.2s ease;
  2140. }
  2141. .connection-modal-content {
  2142. background: white;
  2143. border-radius: 12px;
  2144. padding: 0;
  2145. max-width: 550px;
  2146. width: 90%;
  2147. max-height: 85vh;
  2148. overflow-y: auto;
  2149. box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  2150. animation: slideUp 0.3s ease;
  2151. }
  2152. .connection-detail-section {
  2153. margin-bottom: 18px;
  2154. padding: 12px 0;
  2155. border-bottom: 1px solid #e9ecef;
  2156. }
  2157. .connection-detail-section:last-child {
  2158. border-bottom: none;
  2159. margin-bottom: 0;
  2160. }
  2161. .connection-label {
  2162. font-size: 0.85rem;
  2163. font-weight: 600;
  2164. color: #667eea;
  2165. margin-bottom: 6px;
  2166. display: block;
  2167. }
  2168. .connection-value {
  2169. font-size: 0.95rem;
  2170. color: #495057;
  2171. line-height: 1.6;
  2172. padding-left: 10px;
  2173. }
  2174. .connection-value.score-value {
  2175. color: #667eea;
  2176. font-weight: 700;
  2177. font-size: 1.1rem;
  2178. }
  2179. /* ===== Tab5标题区域样式 ===== */
  2180. .tab5-header {
  2181. margin-bottom: 20px;
  2182. }
  2183. .tab5-title {
  2184. font-size: 1.5rem;
  2185. font-weight: 700;
  2186. color: #495057;
  2187. margin: 0 0 10px 0;
  2188. }
  2189. .tab5-description p {
  2190. margin: 8px 0;
  2191. font-size: 0.95rem;
  2192. color: #495057;
  2193. line-height: 1.6;
  2194. }