style.css 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871
  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. width: 90%;
  1074. overflow-y: auto;
  1075. box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  1076. animation: slideUp 0.3s ease;
  1077. }
  1078. @keyframes slideUp {
  1079. from {
  1080. transform: translateY(20px);
  1081. opacity: 0;
  1082. }
  1083. to {
  1084. transform: translateY(0);
  1085. opacity: 1;
  1086. }
  1087. }
  1088. /* 模态框头部 */
  1089. .modal-header {
  1090. display: flex;
  1091. align-items: center;
  1092. justify-content: space-between;
  1093. padding: 20px 24px;
  1094. border-bottom: 2px solid #e9ecef;
  1095. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  1096. border-radius: 12px 12px 0 0;
  1097. }
  1098. .modal-header h3 {
  1099. margin: 0;
  1100. font-size: 1.3rem;
  1101. font-weight: 700;
  1102. color: white;
  1103. }
  1104. /* 模态框关闭按钮 */
  1105. .modal-close {
  1106. background: rgba(255, 255, 255, 0.2);
  1107. border: none;
  1108. color: white;
  1109. font-size: 1.5rem;
  1110. width: 32px;
  1111. height: 32px;
  1112. border-radius: 50%;
  1113. cursor: pointer;
  1114. display: flex;
  1115. align-items: center;
  1116. justify-content: center;
  1117. transition: all 0.2s;
  1118. padding: 0;
  1119. line-height: 1;
  1120. }
  1121. .modal-close:hover {
  1122. background: rgba(255, 255, 255, 0.3);
  1123. transform: rotate(90deg);
  1124. }
  1125. /* 模态框主体 */
  1126. .modal-body {
  1127. padding: 24px;
  1128. }
  1129. .modal-section {
  1130. margin-bottom: 16px;
  1131. }
  1132. .modal-section:last-child {
  1133. margin-bottom: 0;
  1134. }
  1135. .modal-section strong {
  1136. display: block;
  1137. margin-bottom: 8px;
  1138. color: #495057;
  1139. font-size: 0.9rem;
  1140. }
  1141. .modal-section p {
  1142. margin: 0;
  1143. color: #6c757d;
  1144. line-height: 1.6;
  1145. }
  1146. /* 模态框底部 */
  1147. .modal-footer {
  1148. padding: 16px 24px;
  1149. border-top: 1px solid #e9ecef;
  1150. display: flex;
  1151. justify-content: flex-end;
  1152. gap: 12px;
  1153. }
  1154. /* 模态框按钮 */
  1155. .modal-btn {
  1156. padding: 10px 20px;
  1157. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  1158. color: white;
  1159. border: none;
  1160. border-radius: 6px;
  1161. font-size: 0.9rem;
  1162. font-weight: 600;
  1163. cursor: pointer;
  1164. transition: all 0.2s;
  1165. }
  1166. .modal-btn:hover {
  1167. transform: translateY(-1px);
  1168. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  1169. }
  1170. /* 高亮动画(用于跳转后的元素高亮) */
  1171. .highlight-pulse {
  1172. animation: highlightPulse 2s ease;
  1173. }
  1174. @keyframes highlightPulse {
  1175. 0%, 100% {
  1176. background: #f8f9fa;
  1177. }
  1178. 50% {
  1179. background: rgba(102, 126, 234, 0.2);
  1180. box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
  1181. }
  1182. }
  1183. /* ===== Tab4 关系图样式 ===== */
  1184. /* 关系图容器 */
  1185. .relationship-container {
  1186. display: flex;
  1187. gap: 20px;
  1188. min-height: 600px;
  1189. position: relative;
  1190. background: #f8f9fa;
  1191. padding: 20px;
  1192. border-radius: 8px;
  1193. }
  1194. /* 左侧实质点列表 */
  1195. .substance-column {
  1196. flex: 0 0 300px;
  1197. display: flex;
  1198. flex-direction: column;
  1199. }
  1200. /* 中间连线区域 */
  1201. .connection-column {
  1202. flex: 1;
  1203. min-width: 200px;
  1204. position: relative;
  1205. }
  1206. /* 右侧目标点列表 */
  1207. .target-column {
  1208. flex: 0 0 350px;
  1209. display: flex;
  1210. flex-direction: column;
  1211. gap: 20px;
  1212. }
  1213. /* 列标题 */
  1214. .column-title {
  1215. font-size: 1.2rem;
  1216. font-weight: 600;
  1217. color: #495057;
  1218. margin-bottom: 15px;
  1219. padding: 10px;
  1220. background: white;
  1221. border-radius: 6px;
  1222. text-align: center;
  1223. border-left: 4px solid #667eea;
  1224. }
  1225. .section-title {
  1226. font-size: 1rem;
  1227. font-weight: 600;
  1228. color: #495057;
  1229. margin-bottom: 10px;
  1230. padding: 8px 12px;
  1231. background: white;
  1232. border-radius: 6px;
  1233. border-left: 3px solid #667eea;
  1234. }
  1235. /* 节点列表 */
  1236. .node-list {
  1237. display: flex;
  1238. flex-direction: column;
  1239. gap: 10px;
  1240. overflow-y: auto;
  1241. max-height: calc(100vh - 300px);
  1242. padding-right: 5px;
  1243. }
  1244. /* 自定义滚动条 */
  1245. .node-list::-webkit-scrollbar {
  1246. width: 6px;
  1247. }
  1248. .node-list::-webkit-scrollbar-track {
  1249. background: #e9ecef;
  1250. border-radius: 3px;
  1251. }
  1252. .node-list::-webkit-scrollbar-thumb {
  1253. background: #adb5bd;
  1254. border-radius: 3px;
  1255. }
  1256. .node-list::-webkit-scrollbar-thumb:hover {
  1257. background: #6c757d;
  1258. }
  1259. /* 节点基础样式 */
  1260. .node {
  1261. padding: 12px 15px;
  1262. background: white;
  1263. border-radius: 6px;
  1264. cursor: pointer;
  1265. transition: all 0.3s;
  1266. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  1267. position: relative;
  1268. }
  1269. .node:hover {
  1270. transform: translateX(5px);
  1271. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  1272. }
  1273. /* 实质点节点 */
  1274. .substance-node {
  1275. border-left: 4px solid #667eea;
  1276. }
  1277. .substance-node:hover {
  1278. border-left-color: #5568d3;
  1279. background: linear-gradient(to right, rgba(102, 126, 234, 0.05), white);
  1280. }
  1281. .substance-node.highlighted {
  1282. background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
  1283. border-left-color: #5568d3;
  1284. box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  1285. }
  1286. /* 目标点节点 */
  1287. .target-node {
  1288. border-left: 4px solid #adb5bd;
  1289. }
  1290. /* 灵感点节点 */
  1291. .inspiration-node {
  1292. border-left-color: #10b981;
  1293. }
  1294. .inspiration-node.highlighted {
  1295. background: linear-gradient(to right, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  1296. border-left-color: #059669;
  1297. box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  1298. }
  1299. /* 目的点节点 */
  1300. .purpose-node {
  1301. border-left-color: #3b82f6;
  1302. }
  1303. .purpose-node.highlighted {
  1304. background: linear-gradient(to right, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
  1305. border-left-color: #2563eb;
  1306. box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  1307. }
  1308. /* 关键点节点 */
  1309. .keypoint-node {
  1310. border-left-color: #8b5cf6;
  1311. }
  1312. .keypoint-node.highlighted {
  1313. background: linear-gradient(to right, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
  1314. border-left-color: #7c3aed;
  1315. box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
  1316. }
  1317. /* 节点内容样式 */
  1318. .node-id, .node-number {
  1319. display: inline-block;
  1320. background: #6c757d;
  1321. color: white;
  1322. padding: 2px 8px;
  1323. border-radius: 4px;
  1324. font-size: 0.75rem;
  1325. font-weight: 600;
  1326. margin-bottom: 6px;
  1327. }
  1328. .node-name, .node-text {
  1329. font-size: 0.9rem;
  1330. font-weight: 500;
  1331. color: #495057;
  1332. line-height: 1.4;
  1333. }
  1334. .node-dimension {
  1335. font-size: 0.8rem;
  1336. color: #6c757d;
  1337. margin-top: 4px;
  1338. }
  1339. /* SVG 连线样式 */
  1340. .relationship-svg {
  1341. width: 100%;
  1342. height: 100%;
  1343. position: absolute;
  1344. top: 0;
  1345. left: 0;
  1346. pointer-events: none;
  1347. }
  1348. .connection-line {
  1349. stroke-width: 2;
  1350. opacity: 0.3;
  1351. transition: all 0.3s;
  1352. }
  1353. .connection-line.highlighted {
  1354. stroke-width: 3;
  1355. opacity: 1;
  1356. }
  1357. /* 不同类型连线颜色 */
  1358. .connection-line.inspiration {
  1359. stroke: #10b981;
  1360. }
  1361. .connection-line.purpose {
  1362. stroke: #3b82f6;
  1363. }
  1364. .connection-line.keypoint {
  1365. stroke: #8b5cf6;
  1366. }
  1367. /* 连线标签(显示相似度) */
  1368. .connection-label {
  1369. font-size: 0.7rem;
  1370. fill: #6c757d;
  1371. opacity: 0;
  1372. transition: opacity 0.3s;
  1373. pointer-events: none;
  1374. }
  1375. .connection-label.highlighted {
  1376. opacity: 1;
  1377. }
  1378. /* 目标区域 */
  1379. .target-section {
  1380. background: white;
  1381. border-radius: 8px;
  1382. padding: 15px;
  1383. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1384. }
  1385. /* 空状态 */
  1386. .empty-state {
  1387. padding: 60px 40px;
  1388. text-align: center;
  1389. color: #6c757d;
  1390. font-size: 1.1rem;
  1391. background: white;
  1392. border-radius: 8px;
  1393. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1394. }
  1395. /* ===== Tab4 新增交互样式 ===== */
  1396. /* 顶部标题和重置按钮 */
  1397. .tab4-header {
  1398. display: flex;
  1399. justify-content: space-between;
  1400. align-items: center;
  1401. margin-bottom: 20px;
  1402. padding: 15px 20px;
  1403. background: white;
  1404. border-radius: 8px;
  1405. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1406. }
  1407. .tab4-title {
  1408. font-size: 1.1rem;
  1409. font-weight: 600;
  1410. color: #495057;
  1411. }
  1412. .reset-btn {
  1413. padding: 8px 16px;
  1414. background: #667eea;
  1415. color: white;
  1416. border: none;
  1417. border-radius: 6px;
  1418. font-size: 0.9rem;
  1419. font-weight: 600;
  1420. cursor: pointer;
  1421. transition: all 0.2s;
  1422. }
  1423. .reset-btn:hover {
  1424. background: #5568d3;
  1425. transform: translateY(-1px);
  1426. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  1427. }
  1428. /* 实质点选中状态 */
  1429. .substance-node.selected {
  1430. background: linear-gradient(to right, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.08));
  1431. border-left-color: #5568d3;
  1432. box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
  1433. transform: scale(1.02);
  1434. }
  1435. /* 实质点变暗状态(未选中时) */
  1436. .substance-node.dimmed {
  1437. opacity: 0.4;
  1438. filter: grayscale(0.5);
  1439. }
  1440. .substance-node.dimmed:hover {
  1441. opacity: 0.6;
  1442. }
  1443. /* 右侧节点隐藏状态 */
  1444. .target-node.hidden {
  1445. display: none;
  1446. }
  1447. .target-node.visible {
  1448. display: block;
  1449. animation: fadeInNode 0.3s ease;
  1450. }
  1451. @keyframes fadeInNode {
  1452. from {
  1453. opacity: 0;
  1454. transform: translateX(-10px);
  1455. }
  1456. to {
  1457. opacity: 1;
  1458. transform: translateX(0);
  1459. }
  1460. }
  1461. /* Section的隐藏和显示 */
  1462. .target-section.all-hidden {
  1463. display: none;
  1464. }
  1465. .target-section.has-visible-nodes {
  1466. display: block;
  1467. animation: fadeIn 0.3s ease;
  1468. }
  1469. /* 关联实质点节点样式 */
  1470. .substance-related-node {
  1471. border-left-color: #f59e0b;
  1472. cursor: pointer;
  1473. }
  1474. .substance-related-node:hover {
  1475. border-left-color: #d97706;
  1476. background: linear-gradient(to right, rgba(245, 158, 11, 0.1), white);
  1477. }
  1478. .substance-related-node.visible {
  1479. background: linear-gradient(to right, rgba(245, 158, 11, 0.08), white);
  1480. }
  1481. /* 实质点之间的连线样式 */
  1482. .connection-line.substance {
  1483. stroke: #f59e0b;
  1484. stroke-dasharray: 5, 5;
  1485. }
  1486. .connection-line.substance.highlighted {
  1487. stroke-width: 3;
  1488. opacity: 0.8;
  1489. }
  1490. /* ===== Tab5 形式点关系图样式 ===== */
  1491. /* 顶部标题和重置按钮 */
  1492. .tab5-header {
  1493. display: flex;
  1494. justify-content: space-between;
  1495. align-items: center;
  1496. margin-bottom: 20px;
  1497. padding: 15px 20px;
  1498. background: white;
  1499. border-radius: 8px;
  1500. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1501. }
  1502. .tab5-title {
  1503. font-size: 1.1rem;
  1504. font-weight: 600;
  1505. color: #495057;
  1506. }
  1507. /* 形式点节点样式 */
  1508. .form-column {
  1509. flex: 0 0 300px;
  1510. display: flex;
  1511. flex-direction: column;
  1512. }
  1513. .form-node {
  1514. border-left: 4px solid #8b5cf6;
  1515. }
  1516. .form-node:hover {
  1517. border-left-color: #7c3aed;
  1518. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  1519. }
  1520. .form-node.selected {
  1521. background: linear-gradient(to right, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.08));
  1522. border-left-color: #7c3aed;
  1523. box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  1524. transform: scale(1.02);
  1525. }
  1526. .form-node.dimmed {
  1527. opacity: 0.4;
  1528. filter: grayscale(0.5);
  1529. }
  1530. .form-node.dimmed:hover {
  1531. opacity: 0.6;
  1532. }
  1533. /* 关联形式点节点样式 */
  1534. .form-related-node {
  1535. border-left-color: #ec4899;
  1536. cursor: pointer;
  1537. }
  1538. .form-related-node:hover {
  1539. border-left-color: #db2777;
  1540. background: linear-gradient(to right, rgba(236, 72, 153, 0.1), white);
  1541. }
  1542. .form-related-node.visible {
  1543. background: linear-gradient(to right, rgba(236, 72, 153, 0.08), white);
  1544. }
  1545. /* 形式点之间的连线样式 */
  1546. .connection-line.form {
  1547. stroke: #ec4899;
  1548. stroke-dasharray: 5, 5;
  1549. }
  1550. .connection-line.form.highlighted {
  1551. stroke-width: 3;
  1552. opacity: 0.8;
  1553. }
  1554. /* ===== Tab4 新版支撑关系图样式 ===== */
  1555. /* 顶部说明区域 */
  1556. .tab4-description {
  1557. margin-top: 10px;
  1558. padding: 15px;
  1559. background: #f8f9fa;
  1560. border-radius: 6px;
  1561. border-left: 4px solid #667eea;
  1562. }
  1563. .tab4-description p {
  1564. margin: 0 0 10px 0;
  1565. color: #495057;
  1566. font-size: 0.95rem;
  1567. }
  1568. .relationship-rules {
  1569. list-style: none;
  1570. padding: 0;
  1571. margin: 0;
  1572. }
  1573. .relationship-rules li {
  1574. padding: 6px 0;
  1575. color: #6c757d;
  1576. font-size: 0.9rem;
  1577. }
  1578. .relationship-rules li::before {
  1579. content: "→";
  1580. color: #667eea;
  1581. margin-right: 8px;
  1582. font-weight: bold;
  1583. }
  1584. /* 支撑关系主容器 */
  1585. .support-view-container {
  1586. display: grid;
  1587. grid-template-columns: 300px 1fr 350px;
  1588. gap: 20px;
  1589. min-height: 700px;
  1590. background: #f8f9fa;
  1591. padding: 20px;
  1592. border-radius: 8px;
  1593. }
  1594. /* 左侧实质点面板 */
  1595. .substance-panel {
  1596. display: flex;
  1597. flex-direction: column;
  1598. gap: 15px;
  1599. }
  1600. .panel-title {
  1601. font-size: 1.1rem;
  1602. font-weight: 600;
  1603. color: #495057;
  1604. padding: 12px;
  1605. background: white;
  1606. border-radius: 6px;
  1607. text-align: center;
  1608. border-left: 4px solid #667eea;
  1609. margin: 0;
  1610. }
  1611. /* 实质点分组 */
  1612. .substance-group {
  1613. background: white;
  1614. border-radius: 8px;
  1615. padding: 15px;
  1616. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1617. }
  1618. .group-title {
  1619. font-size: 0.95rem;
  1620. font-weight: 600;
  1621. color: #667eea;
  1622. margin: 0 0 12px 0;
  1623. padding-bottom: 8px;
  1624. border-bottom: 2px solid #e9ecef;
  1625. }
  1626. .substance-items {
  1627. display: flex;
  1628. flex-direction: column;
  1629. gap: 8px;
  1630. padding-right: 5px;
  1631. }
  1632. /* 实质点卡片 */
  1633. .substance-card {
  1634. padding: 10px 12px;
  1635. background: #f8f9fa;
  1636. border-radius: 6px;
  1637. border-left: 3px solid #adb5bd;
  1638. cursor: pointer;
  1639. transition: all 0.2s;
  1640. }
  1641. .substance-card:hover {
  1642. background: #e9ecef;
  1643. transform: translateX(3px);
  1644. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  1645. }
  1646. .substance-card.concrete-element {
  1647. border-left-color: #10b981;
  1648. }
  1649. .substance-card.concrete-concept {
  1650. border-left-color: #3b82f6;
  1651. }
  1652. .substance-card.abstract-concept {
  1653. border-left-color: #8b5cf6;
  1654. }
  1655. .substance-card.selected {
  1656. background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
  1657. border-left-color: #667eea;
  1658. border-left-width: 4px;
  1659. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  1660. }
  1661. .substance-card.dimmed {
  1662. opacity: 0.3;
  1663. filter: grayscale(0.7);
  1664. }
  1665. .substance-card.hidden {
  1666. display: none;
  1667. }
  1668. .card-header {
  1669. display: flex;
  1670. align-items: center;
  1671. gap: 8px;
  1672. flex-wrap: wrap;
  1673. }
  1674. .card-id {
  1675. display: inline-block;
  1676. background: #6c757d;
  1677. color: white;
  1678. padding: 2px 6px;
  1679. border-radius: 3px;
  1680. font-size: 0.7rem;
  1681. font-weight: 600;
  1682. flex-shrink: 0;
  1683. }
  1684. .card-name {
  1685. font-size: 0.85rem;
  1686. font-weight: 600;
  1687. color: #495057;
  1688. flex: 1;
  1689. line-height: 1.3;
  1690. }
  1691. .card-description {
  1692. margin-top: 6px;
  1693. font-size: 0.75rem;
  1694. color: #6c757d;
  1695. line-height: 1.4;
  1696. }
  1697. /* 卡片推理信息样式 */
  1698. .card-reasoning {
  1699. margin-top: 8px;
  1700. padding: 8px 10px;
  1701. background: rgba(139, 92, 246, 0.05);
  1702. border-left: 2px solid #8b5cf6;
  1703. border-radius: 4px;
  1704. }
  1705. .reasoning-label {
  1706. font-size: 0.7rem;
  1707. font-weight: 600;
  1708. color: #8b5cf6;
  1709. margin-bottom: 4px;
  1710. }
  1711. .reasoning-text {
  1712. font-size: 0.72rem;
  1713. color: #495057;
  1714. line-height: 1.5;
  1715. font-style: italic;
  1716. }
  1717. /* 中间可视化面板 */
  1718. .support-visualization-panel {
  1719. position: relative;
  1720. background: white;
  1721. border-radius: 8px;
  1722. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1723. }
  1724. .support-canvas {
  1725. width: 100%;
  1726. height: 100%;
  1727. position: relative;
  1728. min-height: 700px;
  1729. display: flex;
  1730. align-items: center;
  1731. justify-content: center;
  1732. }
  1733. .placeholder-text {
  1734. font-size: 1rem;
  1735. color: #adb5bd;
  1736. text-align: center;
  1737. padding: 40px;
  1738. }
  1739. /* 右侧目标点面板 */
  1740. .target-panel {
  1741. display: flex;
  1742. flex-direction: column;
  1743. gap: 15px;
  1744. }
  1745. /* 目标点分组 */
  1746. .target-group {
  1747. background: white;
  1748. border-radius: 8px;
  1749. padding: 15px;
  1750. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1751. }
  1752. .target-items {
  1753. display: flex;
  1754. flex-direction: column;
  1755. gap: 8px;
  1756. padding-right: 5px;
  1757. }
  1758. /* 目标点卡片 */
  1759. .target-card {
  1760. padding: 10px 12px;
  1761. background: #f8f9fa;
  1762. border-radius: 6px;
  1763. border-left: 3px solid #adb5bd;
  1764. cursor: pointer;
  1765. transition: all 0.2s;
  1766. }
  1767. .target-card:hover {
  1768. background: #e9ecef;
  1769. transform: translateX(-3px);
  1770. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  1771. }
  1772. .target-card.inspiration-card {
  1773. border-left-color: #10b981;
  1774. }
  1775. .target-card.keypoint-card {
  1776. border-left-color: #8b5cf6;
  1777. }
  1778. .target-card.purpose-card {
  1779. border-left-color: #3b82f6;
  1780. }
  1781. .target-card.selected {
  1782. background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
  1783. border-left-color: #667eea;
  1784. border-left-width: 4px;
  1785. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  1786. }
  1787. .target-card.dimmed {
  1788. opacity: 0.3;
  1789. filter: grayscale(0.7);
  1790. }
  1791. .target-card.hidden {
  1792. display: none;
  1793. }
  1794. .card-number {
  1795. display: inline-block;
  1796. background: #6c757d;
  1797. color: white;
  1798. padding: 2px 6px;
  1799. border-radius: 3px;
  1800. font-size: 0.7rem;
  1801. font-weight: 600;
  1802. margin-bottom: 4px;
  1803. }
  1804. .card-text {
  1805. font-size: 0.85rem;
  1806. font-weight: 500;
  1807. color: #495057;
  1808. line-height: 1.4;
  1809. }
  1810. /* 支撑关系流程图样式 */
  1811. .support-flow {
  1812. padding: 30px;
  1813. animation: fadeIn 0.5s ease;
  1814. }
  1815. .flow-title {
  1816. font-size: 1.2rem;
  1817. font-weight: 600;
  1818. color: #667eea;
  1819. margin-bottom: 25px;
  1820. text-align: center;
  1821. padding: 15px;
  1822. background: linear-gradient(to right, rgba(102, 126, 234, 0.1), transparent);
  1823. border-radius: 8px;
  1824. border-left: 4px solid #667eea;
  1825. }
  1826. .flow-source {
  1827. display: flex;
  1828. justify-content: center;
  1829. margin-bottom: 30px;
  1830. }
  1831. .flow-node {
  1832. padding: 20px 30px;
  1833. border-radius: 12px;
  1834. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  1835. text-align: center;
  1836. min-width: 200px;
  1837. }
  1838. .substance-flow-node {
  1839. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  1840. color: white;
  1841. }
  1842. .target-flow-node {
  1843. background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  1844. color: white;
  1845. }
  1846. .flow-node-label {
  1847. font-size: 0.85rem;
  1848. font-weight: 500;
  1849. opacity: 0.9;
  1850. margin-bottom: 8px;
  1851. }
  1852. .flow-node-name {
  1853. font-size: 1.1rem;
  1854. font-weight: 700;
  1855. }
  1856. .flow-targets {
  1857. display: flex;
  1858. flex-direction: column;
  1859. gap: 20px;
  1860. }
  1861. .flow-target-group {
  1862. padding: 15px;
  1863. background: #f8f9fa;
  1864. border-radius: 8px;
  1865. border-left: 4px solid #adb5bd;
  1866. }
  1867. .flow-target-label {
  1868. font-size: 0.95rem;
  1869. font-weight: 600;
  1870. color: #495057;
  1871. margin-bottom: 12px;
  1872. padding-bottom: 8px;
  1873. border-bottom: 2px solid #e9ecef;
  1874. }
  1875. .flow-target-item {
  1876. padding: 12px 15px;
  1877. margin-bottom: 10px;
  1878. background: white;
  1879. border-radius: 6px;
  1880. border-left: 4px solid #adb5bd;
  1881. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1882. }
  1883. .flow-target-item:last-child {
  1884. margin-bottom: 0;
  1885. }
  1886. .flow-target-item.inspiration-flow {
  1887. border-left-color: #10b981;
  1888. background: linear-gradient(to right, rgba(16, 185, 129, 0.05), white);
  1889. }
  1890. .flow-target-item.purpose-flow {
  1891. border-left-color: #3b82f6;
  1892. background: linear-gradient(to right, rgba(59, 130, 246, 0.05), white);
  1893. }
  1894. .flow-target-item.keypoint-flow {
  1895. border-left-color: #8b5cf6;
  1896. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  1897. }
  1898. .flow-target-item.concrete-element-flow {
  1899. border-left-color: #10b981;
  1900. background: linear-gradient(to right, rgba(16, 185, 129, 0.05), white);
  1901. }
  1902. .flow-target-item.concrete-concept-flow {
  1903. border-left-color: #3b82f6;
  1904. background: linear-gradient(to right, rgba(59, 130, 246, 0.05), white);
  1905. }
  1906. .flow-target-item.abstract-concept-flow {
  1907. border-left-color: #8b5cf6;
  1908. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  1909. }
  1910. .flow-target-text {
  1911. font-size: 0.9rem;
  1912. font-weight: 500;
  1913. color: #495057;
  1914. margin-bottom: 6px;
  1915. line-height: 1.4;
  1916. }
  1917. .flow-target-score {
  1918. font-size: 0.8rem;
  1919. color: #6c757d;
  1920. font-weight: 600;
  1921. }
  1922. /* 目标点卡片高亮状态 */
  1923. .target-card.highlighted {
  1924. background: linear-gradient(to right, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.03));
  1925. border-left-width: 4px;
  1926. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  1927. }
  1928. /* 实质点卡片高亮状态 */
  1929. .substance-card.highlighted {
  1930. background: linear-gradient(to right, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.03));
  1931. border-left-width: 4px;
  1932. box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  1933. }
  1934. /* ===== Tab5 实质与形式双向支撑关系图样式 ===== */
  1935. /* Tab5说明区域 */
  1936. .tab5-description {
  1937. margin-top: 10px;
  1938. padding: 15px;
  1939. background: #f8f9fa;
  1940. border-radius: 6px;
  1941. border-left: 4px solid #8b5cf6;
  1942. }
  1943. .tab5-description p {
  1944. margin: 0 0 10px 0;
  1945. color: #495057;
  1946. font-size: 0.95rem;
  1947. }
  1948. /* Tab5 4列布局容器 */
  1949. .tab5-four-column-container {
  1950. display: grid;
  1951. grid-template-columns: 280px 280px 280px 280px;
  1952. gap: 15px;
  1953. min-height: 700px;
  1954. background: #f8f9fa;
  1955. padding: 20px;
  1956. border-radius: 8px;
  1957. }
  1958. /* Tab5 列样式 */
  1959. .tab5-column {
  1960. display: flex;
  1961. flex-direction: column;
  1962. gap: 12px;
  1963. }
  1964. .tab5-left-targets {
  1965. /* 左侧选题点列(实质支撑) */
  1966. }
  1967. .tab5-substances {
  1968. /* 中左实质点列 */
  1969. }
  1970. .tab5-forms {
  1971. /* 中右形式点列 */
  1972. }
  1973. .tab5-right-targets {
  1974. /* 右侧选题点列(形式支撑) */
  1975. }
  1976. /* 形式点面板 */
  1977. .form-panel {
  1978. display: flex;
  1979. flex-direction: column;
  1980. gap: 15px;
  1981. }
  1982. /* 形式点分组 */
  1983. .form-group {
  1984. background: white;
  1985. border-radius: 8px;
  1986. padding: 15px;
  1987. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  1988. }
  1989. .form-items {
  1990. display: flex;
  1991. flex-direction: column;
  1992. gap: 8px;
  1993. padding-right: 5px;
  1994. }
  1995. /* 形式点卡片 */
  1996. .form-card {
  1997. padding: 10px 12px;
  1998. background: #f8f9fa;
  1999. border-radius: 6px;
  2000. border-left: 3px solid #adb5bd;
  2001. cursor: pointer;
  2002. transition: all 0.2s;
  2003. }
  2004. .form-card:hover {
  2005. background: #e9ecef;
  2006. transform: translateX(3px);
  2007. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  2008. }
  2009. .form-card.concrete-element-form {
  2010. border-left-color: #f59e0b;
  2011. }
  2012. .form-card.concrete-concept-form {
  2013. border-left-color: #ec4899;
  2014. }
  2015. .form-card.overall-form {
  2016. border-left-color: #8b5cf6;
  2017. }
  2018. .form-card.selected {
  2019. background: linear-gradient(to right, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
  2020. border-left-color: #8b5cf6;
  2021. border-left-width: 4px;
  2022. box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  2023. }
  2024. .form-card.dimmed {
  2025. opacity: 0.3;
  2026. filter: grayscale(0.7);
  2027. }
  2028. .form-card.hidden {
  2029. display: none;
  2030. }
  2031. .form-card.highlighted {
  2032. background: linear-gradient(to right, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.03));
  2033. border-left-width: 4px;
  2034. box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
  2035. }
  2036. /* 实质点卡片(在tab5中作为目标) */
  2037. .substance-card.concrete-element-card {
  2038. border-left-color: #10b981;
  2039. }
  2040. .substance-card.concrete-concept-card {
  2041. border-left-color: #3b82f6;
  2042. }
  2043. .substance-card.abstract-concept-card {
  2044. border-left-color: #8b5cf6;
  2045. }
  2046. /* 实质点项列表 */
  2047. /* 已移除max-height限制,所有元素平铺显示 */
  2048. /* 形式点流程节点样式 */
  2049. .form-flow-node {
  2050. background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  2051. color: white;
  2052. }
  2053. /* 形式点流程目标项样式 */
  2054. .flow-target-item.concrete-element-form-flow {
  2055. border-left-color: #f59e0b;
  2056. background: linear-gradient(to right, rgba(245, 158, 11, 0.05), white);
  2057. }
  2058. .flow-target-item.concrete-concept-form-flow {
  2059. border-left-color: #ec4899;
  2060. background: linear-gradient(to right, rgba(236, 72, 153, 0.05), white);
  2061. }
  2062. .flow-target-item.overall-form-flow {
  2063. border-left-color: #8b5cf6;
  2064. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  2065. }
  2066. .flow-target-item.form-flow {
  2067. border-left-color: #8b5cf6;
  2068. background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
  2069. }
  2070. /* ===== Tab5 连线SVG容器样式 ===== */
  2071. .tab5-svg-container {
  2072. position: absolute;
  2073. top: 0;
  2074. left: 0;
  2075. width: 100%;
  2076. height: 100%;
  2077. pointer-events: none;
  2078. z-index: 10;
  2079. }
  2080. #tab5-connection-svg {
  2081. width: 100%;
  2082. height: 100%;
  2083. overflow: visible;
  2084. }
  2085. /* Tab5 4列容器需要relative定位 */
  2086. .tab5-four-column-container {
  2087. position: relative;
  2088. z-index: 1;
  2089. }
  2090. /* Tab5 连线样式 */
  2091. .tab5-connection-line {
  2092. fill: none;
  2093. stroke-width: 2;
  2094. opacity: 0.4;
  2095. transition: all 0.3s ease;
  2096. pointer-events: stroke;
  2097. }
  2098. /* 左侧选题点到实质点的连线 */
  2099. .tab5-connection-line.left-target-substance {
  2100. stroke: #667eea;
  2101. }
  2102. /* 实质点到形式点的连线 */
  2103. .tab5-connection-line.substance-form {
  2104. stroke: #f59e0b;
  2105. stroke-dasharray: 5, 3;
  2106. }
  2107. /* 形式点到右侧灵感点的连线 */
  2108. .tab5-connection-line.form-inspiration {
  2109. stroke: #10b981;
  2110. }
  2111. /* 形式点到右侧目的点的连线 */
  2112. .tab5-connection-line.form-purpose {
  2113. stroke: #3b82f6;
  2114. }
  2115. /* 形式点到右侧关键点的连线 */
  2116. .tab5-connection-line.form-keypoint {
  2117. stroke: #8b5cf6;
  2118. }
  2119. /* 连线hover效果(已在JS中定义) */
  2120. .tab5-connection-line:hover {
  2121. opacity: 0.8;
  2122. stroke-width: 4;
  2123. filter: drop-shadow(0 0 6px rgba(0,0,0,0.3));
  2124. }
  2125. /* ===== Tab5 连线详情模态框样式 ===== */
  2126. .connection-modal-backdrop {
  2127. position: fixed;
  2128. top: 0;
  2129. left: 0;
  2130. right: 0;
  2131. bottom: 0;
  2132. background: rgba(0, 0, 0, 0.6);
  2133. display: flex;
  2134. align-items: center;
  2135. justify-content: center;
  2136. z-index: 3000;
  2137. animation: fadeIn 0.2s ease;
  2138. }
  2139. .connection-modal-content {
  2140. background: white;
  2141. border-radius: 12px;
  2142. padding: 0;
  2143. max-width: 550px;
  2144. width: 90%;
  2145. max-height: 85vh;
  2146. overflow-y: auto;
  2147. box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  2148. animation: slideUp 0.3s ease;
  2149. }
  2150. .connection-detail-section {
  2151. margin-bottom: 18px;
  2152. padding: 12px 0;
  2153. border-bottom: 1px solid #e9ecef;
  2154. }
  2155. .connection-detail-section:last-child {
  2156. border-bottom: none;
  2157. margin-bottom: 0;
  2158. }
  2159. .connection-label {
  2160. font-size: 0.85rem;
  2161. font-weight: 600;
  2162. color: #667eea;
  2163. margin-bottom: 6px;
  2164. display: block;
  2165. }
  2166. .connection-value {
  2167. font-size: 0.95rem;
  2168. color: #495057;
  2169. line-height: 1.6;
  2170. padding-left: 10px;
  2171. }
  2172. .connection-value.score-value {
  2173. color: #667eea;
  2174. font-weight: 700;
  2175. font-size: 1.1rem;
  2176. }
  2177. /* ===== Tab5标题区域样式 ===== */
  2178. .tab5-header {
  2179. margin-bottom: 20px;
  2180. }
  2181. .tab5-title {
  2182. font-size: 1.5rem;
  2183. font-weight: 700;
  2184. color: #495057;
  2185. margin: 0 0 10px 0;
  2186. }
  2187. .tab5-description p {
  2188. margin: 8px 0;
  2189. font-size: 0.95rem;
  2190. color: #495057;
  2191. line-height: 1.6;
  2192. }
  2193. /* ===== V2 卡片样式 ===== */
  2194. .point-card {
  2195. margin-bottom: 20px;
  2196. background: white;
  2197. border-radius: 8px;
  2198. border: 1px solid #e5e7eb;
  2199. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  2200. transition: all 0.3s ease;
  2201. overflow: hidden;
  2202. }
  2203. .point-card:hover {
  2204. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  2205. }
  2206. .point-card-header {
  2207. padding: 15px 20px;
  2208. cursor: pointer;
  2209. display: flex;
  2210. align-items: center;
  2211. gap: 10px;
  2212. background: #f8f9fa;
  2213. transition: background 0.2s;
  2214. user-select: none;
  2215. }
  2216. .point-card-header:hover {
  2217. background: #e9ecef;
  2218. }
  2219. .point-card.expanded .point-card-header {
  2220. background: #e7f3ff;
  2221. border-bottom: 1px solid #dee2e6;
  2222. }
  2223. .point-card-header .point-number {
  2224. display: inline-block;
  2225. background: #667eea;
  2226. color: white;
  2227. padding: 4px 10px;
  2228. border-radius: 4px;
  2229. font-weight: 600;
  2230. font-size: 0.85rem;
  2231. flex-shrink: 0;
  2232. }
  2233. .point-card-header .point-time {
  2234. color: #6c757d;
  2235. font-size: 0.9rem;
  2236. flex-shrink: 0;
  2237. }
  2238. .point-card-header .point-units {
  2239. color: #6c757d;
  2240. font-size: 0.85rem;
  2241. flex-shrink: 0;
  2242. }
  2243. .point-card-header .point-text {
  2244. flex: 1;
  2245. font-size: 1.05rem;
  2246. font-weight: 600;
  2247. color: #1f2937;
  2248. }
  2249. .toggle-icon {
  2250. color: #667eea;
  2251. font-size: 0.9rem;
  2252. transition: transform 0.3s;
  2253. flex-shrink: 0;
  2254. }
  2255. .point-card.expanded .toggle-icon {
  2256. transform: rotate(180deg);
  2257. }
  2258. .point-card-details {
  2259. display: none;
  2260. padding: 20px;
  2261. background: white;
  2262. animation: slideDown 0.3s ease;
  2263. }
  2264. .point-card.expanded .point-card-details {
  2265. display: block;
  2266. }
  2267. @keyframes slideDown {
  2268. from {
  2269. opacity: 0;
  2270. transform: translateY(-10px);
  2271. }
  2272. to {
  2273. opacity: 1;
  2274. transform: translateY(0);
  2275. }
  2276. }
  2277. .detail-section {
  2278. margin-bottom: 20px;
  2279. padding-bottom: 15px;
  2280. border-bottom: 1px solid #e9ecef;
  2281. }
  2282. .detail-section:last-child {
  2283. border-bottom: none;
  2284. margin-bottom: 0;
  2285. }
  2286. .detail-section strong {
  2287. display: block;
  2288. margin-bottom: 8px;
  2289. color: #495057;
  2290. font-size: 0.95rem;
  2291. }
  2292. .detail-text {
  2293. color: #4b5563;
  2294. line-height: 1.6;
  2295. font-size: 0.95rem;
  2296. }
  2297. .detail-list {
  2298. list-style: none;
  2299. padding-left: 0;
  2300. margin: 10px 0;
  2301. }
  2302. .detail-list li {
  2303. padding: 8px 12px;
  2304. margin-bottom: 8px;
  2305. background: #f8f9fa;
  2306. border-radius: 4px;
  2307. border-left: 3px solid #667eea;
  2308. }
  2309. .tag-group {
  2310. display: flex;
  2311. flex-wrap: wrap;
  2312. gap: 8px;
  2313. margin-top: 10px;
  2314. }
  2315. .label-tag {
  2316. display: inline-block;
  2317. padding: 5px 12px;
  2318. border-radius: 4px;
  2319. font-size: 0.85rem;
  2320. font-weight: 500;
  2321. }
  2322. .l1-tag {
  2323. background: #dbeafe;
  2324. color: #1e40af;
  2325. }
  2326. .l2-tag {
  2327. background: #fef3c7;
  2328. color: #92400e;
  2329. }
  2330. .l3-tag {
  2331. background: #f3e8ff;
  2332. color: #6b21a8;
  2333. }
  2334. .l4-tag {
  2335. background: #fce7f3;
  2336. color: #9f1239;
  2337. }
  2338. .keyword-tag {
  2339. display: inline-block;
  2340. padding: 4px 10px;
  2341. background: #e0e7ff;
  2342. color: #3730a3;
  2343. border-radius: 4px;
  2344. font-size: 0.85rem;
  2345. margin: 2px;
  2346. }
  2347. .sub-section {
  2348. margin-top: 15px;
  2349. padding: 12px;
  2350. background: #f8f9fa;
  2351. border-radius: 6px;
  2352. border-left: 3px solid #667eea;
  2353. }
  2354. .sub-section strong {
  2355. color: #495057;
  2356. font-size: 0.9rem;
  2357. }
  2358. .form-item {
  2359. margin-top: 10px;
  2360. padding: 10px;
  2361. background: white;
  2362. border-radius: 4px;
  2363. font-size: 0.9rem;
  2364. line-height: 1.6;
  2365. color: #4b5563;
  2366. }
  2367. .form-item strong {
  2368. color: #667eea;
  2369. margin-right: 8px;
  2370. }
  2371. .element-name {
  2372. font-size: 1rem;
  2373. color: #1f2937;
  2374. margin-bottom: 8px;
  2375. padding-bottom: 5px;
  2376. border-bottom: 1px solid #e5e7eb;
  2377. }
  2378. .logic-flow {
  2379. margin-top: 15px;
  2380. }
  2381. .logic-stage {
  2382. margin-bottom: 20px;
  2383. padding: 15px;
  2384. background: #f8f9fa;
  2385. border-radius: 6px;
  2386. border-left: 4px solid #667eea;
  2387. }
  2388. .stage-number {
  2389. font-size: 0.9rem;
  2390. color: #667eea;
  2391. font-weight: 600;
  2392. margin-bottom: 5px;
  2393. }
  2394. .stage-name {
  2395. font-size: 1.05rem;
  2396. font-weight: 600;
  2397. color: #1f2937;
  2398. margin-bottom: 8px;
  2399. }
  2400. .stage-desc {
  2401. font-size: 0.95rem;
  2402. color: #4b5563;
  2403. line-height: 1.6;
  2404. }
  2405. .section-divider {
  2406. height: 2px;
  2407. background: linear-gradient(to right, transparent, #dee2e6, transparent);
  2408. margin: 30px 0;
  2409. }
  2410. .section-info {
  2411. font-size: 0.9rem;
  2412. color: #6c757d;
  2413. margin-bottom: 15px;
  2414. padding: 8px 12px;
  2415. background: #f8f9fa;
  2416. border-radius: 4px;
  2417. }
  2418. .hook-item, .golden-item {
  2419. padding: 10px 15px;
  2420. margin-bottom: 10px;
  2421. background: #fff3cd;
  2422. border-radius: 6px;
  2423. border-left: 4px solid #ffc107;
  2424. font-size: 0.95rem;
  2425. line-height: 1.6;
  2426. color: #856404;
  2427. }
  2428. .golden-item {
  2429. background: #d1ecf1;
  2430. border-left-color: #17a2b8;
  2431. color: #0c5460;
  2432. }
  2433. .model-item {
  2434. padding: 10px 15px;
  2435. margin-bottom: 10px;
  2436. background: #e7f3ff;
  2437. border-radius: 6px;
  2438. border-left: 4px solid #667eea;
  2439. font-size: 0.9rem;
  2440. line-height: 1.6;
  2441. color: #1e40af;
  2442. font-family: 'Courier New', monospace;
  2443. }