| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
- line-height: 1.6;
- color: #333;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- padding: 20px;
- }
- .container {
- max-width: 1400px;
- margin: 0 auto;
- background: white;
- border-radius: 12px;
- box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
- overflow: hidden;
- }
- .header {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- padding: 40px;
- text-align: center;
- }
- .header h1 {
- font-size: 2.5rem;
- margin-bottom: 10px;
- font-weight: 700;
- }
- .header .subtitle {
- font-size: 1.1rem;
- opacity: 0.9;
- }
- .tabs {
- display: flex;
- background: #f8f9fa;
- border-bottom: 2px solid #dee2e6;
- }
- .tab {
- flex: 1;
- padding: 15px 20px;
- text-align: center;
- cursor: pointer;
- background: #f8f9fa;
- border: none;
- font-size: 1.1rem;
- font-weight: 600;
- color: #6c757d;
- transition: all 0.3s;
- border-bottom: 3px solid transparent;
- }
- .tab:hover {
- background: #e9ecef;
- color: #495057;
- }
- .tab.active {
- background: white;
- color: #667eea;
- border-bottom: 3px solid #667eea;
- }
- .content {
- padding: 40px;
- }
- .tab-content {
- animation: fadeIn 0.5s;
- }
- @keyframes fadeIn {
- from { opacity: 0; transform: translateY(10px); }
- to { opacity: 1; transform: translateY(0); }
- }
- .section {
- margin-bottom: 30px;
- padding: 20px;
- background: #f8f9fa;
- border-radius: 8px;
- }
- .section h3 {
- font-size: 1.5rem;
- margin-bottom: 15px;
- color: #495057;
- border-left: 4px solid #667eea;
- padding-left: 12px;
- }
- .section h4 {
- font-size: 1.2rem;
- margin: 20px 0 10px 0;
- color: #6c757d;
- }
- .topic-theme, .topic-desc, .script-category {
- margin-bottom: 12px;
- padding: 12px;
- background: white;
- border-radius: 6px;
- }
- .point-item {
- margin-bottom: 15px;
- padding: 15px;
- background: white;
- border-radius: 8px;
- border-left: 4px solid #667eea;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- }
- .inspiration-item {
- border-left-color: #10b981;
- }
- .purpose-item {
- border-left-color: #3b82f6;
- }
- .keypoint-item {
- border-left-color: #8b5cf6;
- }
- .point-header {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-wrap: wrap;
- margin-bottom: 10px;
- }
- .point-number {
- display: inline-block;
- background: #667eea;
- color: white;
- padding: 3px 10px;
- border-radius: 4px;
- font-weight: 600;
- font-size: 0.85rem;
- flex-shrink: 0;
- }
- .point-text {
- flex: 1;
- font-size: 1.05rem;
- font-weight: 600;
- color: #1f2937;
- }
- .point-description {
- margin-top: 8px;
- padding: 10px 12px;
- background: #f9fafb;
- border-radius: 4px;
- font-size: 0.95rem;
- color: #4b5563;
- line-height: 1.6;
- }
- .point-features, .point-scoring {
- margin-top: 12px;
- padding: 10px 12px;
- background: #f0f9ff;
- border-radius: 4px;
- font-size: 0.9rem;
- }
- .point-features strong, .point-scoring strong {
- display: block;
- margin-bottom: 8px;
- color: #1e40af;
- }
- .feature-tags, .scoring-badges {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- }
- .feature-tag {
- display: inline-flex;
- align-items: center;
- gap: 5px;
- padding: 5px 10px;
- background: white;
- border: 1px solid #dbeafe;
- border-radius: 4px;
- font-size: 0.85rem;
- color: #1e40af;
- }
- .feature-dimension {
- font-style: normal;
- color: #6b7280;
- font-size: 0.8rem;
- }
- .feature-weight {
- color: #dc2626;
- font-size: 0.8rem;
- }
- .dimension-tags {
- display: flex;
- gap: 6px;
- align-items: center;
- }
- .dimension-tag {
- display: inline-block;
- padding: 3px 10px;
- border-radius: 4px;
- font-size: 0.8rem;
- font-weight: 600;
- }
- .dimension-tag.level-1 {
- background: #dbeafe;
- color: #1e40af;
- }
- .dimension-tag.level-2 {
- background: #fef3c7;
- color: #92400e;
- }
- .dimension-tag.keypoint-dimension {
- background: #f3e8ff;
- color: #6b21a8;
- }
- .scoring-badge {
- display: inline-block;
- padding: 5px 12px;
- background: white;
- border: 1px solid #e5e7eb;
- border-radius: 4px;
- font-size: 0.85rem;
- color: #374151;
- }
- .scoring-badge.total-score {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- border: none;
- font-weight: 600;
- }
- .paragraph-list {
- list-style: none;
- margin-left: 0;
- }
- .paragraph-list:not(.level-0) {
- margin-left: 30px;
- margin-top: 10px;
- padding-left: 15px;
- position: relative;
- }
- .paragraph-list:not(.level-0)::before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: 15px;
- width: 2px;
- background: #dee2e6;
- }
- .paragraph-item {
- margin-bottom: 15px;
- padding: 15px;
- background: white;
- border-radius: 6px;
- border-left: 4px solid #667eea;
- }
- .paragraph-header {
- margin-bottom: 10px;
- display: flex;
- align-items: flex-start;
- gap: 8px;
- justify-content: space-between;
- }
- .paragraph-header-content {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-wrap: wrap;
- flex: 1;
- min-width: 0;
- }
- .paragraph-item.collapsible .paragraph-header {
- cursor: pointer;
- user-select: none;
- }
- .paragraph-item.collapsible .paragraph-header:hover {
- background-color: #f8f9fa;
- padding: 8px;
- margin: -8px -8px 2px -8px;
- border-radius: 4px;
- }
- .toggle-icon {
- font-size: 0.8rem;
- color: #667eea;
- transition: transform 0.3s ease;
- flex-shrink: 0;
- }
- .paragraph-item.collapsed .toggle-icon {
- transform: rotate(-90deg);
- }
- .collapsible-content {
- overflow: hidden;
- transition: max-height 0.3s ease, opacity 0.3s ease;
- max-height: 10000px;
- opacity: 1;
- }
- .paragraph-item.collapsed .collapsible-content {
- max-height: 0;
- opacity: 0;
- margin: 0;
- }
- .paragraph-index {
- display: inline-block;
- background: #667eea;
- color: white;
- padding: 4px 12px;
- border-radius: 4px;
- font-weight: 600;
- margin-right: 10px;
- flex-shrink: 0;
- }
- .paragraph-desc {
- color: #495057;
- font-weight: 500;
- }
- .paragraph-content, .paragraph-reason {
- margin-top: 8px;
- padding: 10px 12px;
- background: #f1f3f5;
- border-radius: 4px;
- font-size: 0.9rem;
- color: #495057;
- line-height: 1.6;
- border-left: 3px solid #adb5bd;
- }
- .content-range-list {
- list-style: none;
- margin: 8px 0 0 0;
- padding: 0;
- }
- .content-range-list li {
- padding: 6px 12px;
- margin: 4px 0;
- background: white;
- border-radius: 4px;
- border-left: 3px solid #667eea;
- }
- .content-range-list li:before {
- content: "▪ ";
- color: #667eea;
- font-weight: bold;
- margin-right: 8px;
- }
- .details-toggle-btn {
- padding: 6px 12px;
- background: #e3f2fd;
- border-radius: 4px;
- cursor: pointer;
- user-select: none;
- color: #1976d2;
- font-weight: 500;
- font-size: 0.85rem;
- transition: background 0.2s;
- white-space: nowrap;
- flex-shrink: 0;
- }
- .details-toggle-btn:hover {
- background: #bbdefb;
- }
- .details-icon {
- display: inline-block;
- transition: transform 0.3s ease;
- margin-right: 5px;
- }
- .paragraph-details:not(.collapsed) .details-icon {
- transform: rotate(90deg);
- }
- .details-content {
- max-height: 0;
- opacity: 0;
- overflow: hidden;
- transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
- }
- .paragraph-details:not(.collapsed) .details-content {
- max-height: 5000px;
- opacity: 1;
- margin-top: 10px;
- }
- .paragraph-details {
- margin-top: 10px;
- }
- .related-images {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
- gap: 15px;
- margin-top: 15px;
- padding: 15px;
- background: #f8f9fa;
- border-radius: 8px;
- }
- .image-item {
- position: relative;
- background: white;
- border-radius: 6px;
- overflow: hidden;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
- transition: transform 0.2s, box-shadow 0.2s;
- }
- .image-item:hover {
- transform: translateY(-2px);
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
- }
- .image-item img {
- width: 100%;
- height: auto;
- display: block;
- }
- .image-label {
- position: absolute;
- top: 8px;
- right: 8px;
- background: rgba(102, 126, 234, 0.9);
- color: white;
- padding: 4px 10px;
- border-radius: 4px;
- font-size: 0.85rem;
- font-weight: 600;
- backdrop-filter: blur(4px);
- }
- .category-list {
- list-style: none;
- padding: 0;
- }
- .category-item {
- margin-bottom: 15px;
- padding: 15px;
- background: white;
- border-radius: 6px;
- border-left: 4px solid #667eea;
- }
- .category-name {
- font-size: 1.1rem;
- font-weight: 600;
- color: #495057;
- margin-bottom: 8px;
- }
- .category-definition {
- font-size: 0.95rem;
- color: #6c757d;
- line-height: 1.6;
- }
- /* Tab3 元素列表样式 */
- .global-controls {
- display: flex;
- gap: 10px;
- margin-bottom: 20px;
- justify-content: space-between;
- align-items: center;
- flex-wrap: wrap;
- }
- /* 颜色图例样式 */
- .color-legend {
- display: flex;
- align-items: center;
- gap: 12px;
- flex-wrap: wrap;
- }
- .legend-title {
- font-size: 0.9rem;
- color: #6c757d;
- font-weight: 500;
- }
- .legend-item {
- display: inline-flex;
- align-items: center;
- padding: 4px 12px;
- border-radius: 4px;
- font-size: 0.8rem;
- font-weight: 600;
- color: white;
- }
- .legend-item::before {
- content: '';
- display: inline-block;
- width: 12px;
- height: 12px;
- border-radius: 2px;
- margin-right: 6px;
- }
- .legend-coverage {
- background: rgba(16, 185, 129, 0.15);
- color: #10b981;
- border: 1px solid #10b981;
- }
- .legend-coverage::before {
- background: #10b981;
- }
- .legend-frequency {
- background: rgba(59, 130, 246, 0.15);
- color: #3b82f6;
- border: 1px solid #3b82f6;
- }
- .legend-frequency::before {
- background: #3b82f6;
- }
- .legend-similarity {
- background: rgba(139, 92, 246, 0.15);
- color: #8b5cf6;
- border: 1px solid #8b5cf6;
- }
- .legend-similarity::before {
- background: #8b5cf6;
- }
- .control-btn {
- padding: 8px 16px;
- background: #667eea;
- color: white;
- border: none;
- border-radius: 6px;
- font-size: 0.9rem;
- font-weight: 600;
- cursor: pointer;
- transition: all 0.2s;
- }
- .control-btn:hover {
- background: #5568d3;
- transform: translateY(-1px);
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
- }
- .category-group {
- margin-bottom: 30px;
- padding: 20px;
- background: white;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- .category-group.collapsible .category-header {
- cursor: pointer;
- user-select: none;
- }
- .category-group.collapsible .category-header:hover {
- background: #f8f9fa;
- margin: -10px;
- padding: 10px;
- border-radius: 6px;
- }
- .category-header {
- margin-bottom: 15px;
- padding-bottom: 10px;
- border-bottom: 2px solid #e9ecef;
- display: flex;
- align-items: center;
- gap: 10px;
- flex-wrap: wrap;
- }
- .category-toggle-icon {
- font-size: 0.8rem;
- color: #667eea;
- transition: transform 0.3s ease;
- flex-shrink: 0;
- }
- .category-group.collapsed .category-toggle-icon {
- transform: rotate(-90deg);
- }
- .category-title {
- font-size: 1.2rem;
- font-weight: 600;
- color: #667eea;
- margin: 0;
- flex-shrink: 0;
- }
- .category-stats {
- display: flex;
- gap: 10px;
- flex-wrap: wrap;
- }
- .category-content {
- overflow: hidden;
- transition: max-height 0.3s ease, opacity 0.3s ease;
- max-height: 10000px;
- opacity: 1;
- }
- .category-group.collapsed .category-content {
- max-height: 0;
- opacity: 0;
- }
- .element-list {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- .element-item {
- margin-bottom: 12px;
- padding: 12px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 3px solid #667eea;
- transition: all 0.2s;
- }
- /* 主导因素边框颜色 - 覆盖率主导(绿色系) */
- .element-item.dominant-coverage {
- border-left: 4px solid #10b981;
- background: linear-gradient(to right, rgba(16, 185, 129, 0.05), transparent);
- }
- /* 主导因素边框颜色 - 频次主导(蓝色系) */
- .element-item.dominant-frequency {
- border-left: 4px solid #3b82f6;
- background: linear-gradient(to right, rgba(59, 130, 246, 0.05), transparent);
- }
- /* 主导因素边框颜色 - 相似度主导(紫色系) */
- .element-item.dominant-similarity {
- border-left: 4px solid #8b5cf6;
- background: linear-gradient(to right, rgba(139, 92, 246, 0.05), transparent);
- }
- .element-item:hover {
- background: #e9ecef;
- }
- .element-header {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-wrap: wrap;
- cursor: pointer;
- user-select: none;
- }
- .element-toggle-icon {
- font-size: 0.7rem;
- color: #667eea;
- transition: transform 0.3s ease;
- flex-shrink: 0;
- }
- .element-item.expanded .element-toggle-icon {
- transform: rotate(90deg);
- }
- .element-name {
- font-size: 1rem;
- font-weight: 600;
- color: #495057;
- flex-shrink: 0;
- }
- .element-stats {
- display: flex;
- gap: 8px;
- flex-wrap: wrap;
- margin-left: auto;
- }
- .element-description {
- margin-top: 8px;
- font-size: 0.9rem;
- color: #6c757d;
- line-height: 1.5;
- }
- .element-details {
- margin-top: 10px;
- padding: 15px;
- background: white;
- border-radius: 6px;
- border: 1px solid #dee2e6;
- overflow: hidden;
- transition: max-height 0.3s ease, opacity 0.3s ease;
- max-height: 5000px;
- opacity: 1;
- }
- .element-details.collapsed {
- max-height: 0;
- opacity: 0;
- padding: 0;
- margin: 0;
- border: none;
- }
- .detail-section {
- margin-bottom: 15px;
- }
- .detail-section:last-child {
- margin-bottom: 0;
- }
- .detail-section strong {
- display: block;
- margin-bottom: 8px;
- color: #495057;
- font-size: 0.9rem;
- }
- .detail-content {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
- }
- .detail-tag {
- display: inline-block;
- padding: 4px 10px;
- background: #e9ecef;
- border-radius: 4px;
- font-size: 0.85rem;
- color: #495057;
- }
- .score-type {
- font-weight: 600;
- color: #667eea;
- margin: 10px 0 5px 0;
- font-size: 0.9rem;
- }
- .score-list {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .score-item {
- padding: 8px 12px;
- background: #f8f9fa;
- border-radius: 4px;
- border-left: 3px solid #667eea;
- }
- .score-point {
- font-size: 0.9rem;
- color: #495057;
- margin-bottom: 5px;
- }
- .score-values {
- display: flex;
- gap: 8px;
- }
- .score-badge {
- display: inline-block;
- padding: 2px 8px;
- background: #e3f2fd;
- border: 1px solid #90caf9;
- border-radius: 3px;
- font-size: 0.75rem;
- color: #1976d2;
- }
- .stat-badge {
- display: inline-block;
- padding: 3px 10px;
- background: #667eea;
- color: white;
- border-radius: 4px;
- font-size: 0.75rem;
- font-weight: 500;
- white-space: nowrap;
- }
- /* 不同类型的统计badge颜色 */
- .stat-badge.stat-coverage {
- background: #6b7280;
- }
- .stat-badge.stat-frequency {
- background: #6b7280;
- }
- .stat-badge.stat-similarity {
- background: #6b7280;
- }
- /* 高亮状态 - 主导因素 */
- .stat-badge.stat-highlight.stat-coverage {
- background: #10b981;
- box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
- }
- .stat-badge.stat-highlight.stat-frequency {
- background: #3b82f6;
- box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
- }
- .stat-badge.stat-highlight.stat-similarity {
- background: #8b5cf6;
- box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
- }
- .detail-text {
- padding: 10px 12px;
- background: #f1f3f5;
- border-radius: 4px;
- font-size: 0.9rem;
- color: #495057;
- line-height: 1.6;
- border-left: 3px solid #adb5bd;
- }
- .score-reasons {
- margin-top: 8px;
- padding: 8px 12px;
- background: #f9fafb;
- border-radius: 4px;
- border-left: 2px solid #dee2e6;
- }
- .score-reason {
- font-size: 0.85rem;
- color: #6c757d;
- line-height: 1.5;
- margin-bottom: 6px;
- }
- .score-reason:last-child {
- margin-bottom: 0;
- }
- .score-reason strong {
- color: #495057;
- }
- /* 新增:元素ID样式 */
- .element-id {
- display: inline-block;
- background: #6c757d;
- color: white;
- padding: 2px 8px;
- border-radius: 4px;
- font-size: 0.75rem;
- font-weight: 600;
- margin-right: 8px;
- flex-shrink: 0;
- }
- /* 维度标签样式 */
- .dimension-level1 {
- background: #e8f5e9;
- color: #2e7d32;
- border: 1px solid #a5d6a7;
- }
- .dimension-level2 {
- background: #f3e5f5;
- color: #7b1fa2;
- border: 1px solid #ce93d8;
- }
- /* 分类标签样式 */
- .category-level1 {
- background: #e3f2fd;
- color: #1565c0;
- border: 1px solid #90caf9;
- }
- .category-level2 {
- background: #fff3e0;
- color: #e65100;
- border: 1px solid #ffcc80;
- }
- /* 来源标签样式 */
- .source-tag {
- background: #fce4ec;
- color: #c2185b;
- border: 1px solid #f48fb1;
- }
- /* 段落ID标签样式 */
- .para-id-tag {
- background: #667eea;
- color: white;
- font-weight: 600;
- }
- /* 出现段落详情列表样式 */
- .paragraphs-detail-list {
- display: flex;
- flex-direction: column;
- gap: 10px;
- }
- .paragraph-detail-item {
- padding: 10px 12px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 3px solid #667eea;
- }
- .para-how {
- margin-top: 8px;
- font-size: 0.9rem;
- color: #495057;
- line-height: 1.5;
- padding: 8px 12px;
- background: white;
- border-radius: 4px;
- }
- .footer {
- background: #f8f9fa;
- padding: 20px;
- text-align: center;
- color: #6c757d;
- border-top: 1px solid #dee2e6;
- }
- /* 层级结构样式 */
- .level1-section {
- margin-bottom: 30px;
- }
- .level1-header {
- display: flex;
- align-items: center;
- gap: 12px;
- padding: 20px;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- border-radius: 8px;
- cursor: pointer;
- user-select: none;
- transition: all 0.3s;
- }
- .level1-header:hover {
- transform: translateY(-2px);
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
- }
- .level1-header.collapsed {
- opacity: 0.8;
- }
- .level1-title {
- color: white;
- font-size: 1.5rem;
- font-weight: 700;
- margin: 0;
- }
- .level1-content {
- padding: 20px 0;
- overflow: hidden;
- transition: max-height 0.4s ease, opacity 0.4s ease;
- max-height: 100000px;
- opacity: 1;
- }
- .level1-header.collapsed + .level1-content {
- max-height: 0;
- opacity: 0;
- padding: 0;
- }
- .level2-section {
- margin-bottom: 25px;
- padding: 0 15px;
- }
- .level2-header {
- display: flex;
- align-items: center;
- gap: 10px;
- padding: 15px 20px;
- background: #f8f9fa;
- border-radius: 8px;
- border-left: 4px solid #667eea;
- cursor: pointer;
- user-select: none;
- transition: all 0.2s;
- }
- .level2-header:hover {
- background: #e9ecef;
- }
- .level2-header.collapsed {
- opacity: 0.7;
- }
- .level2-title {
- color: #495057;
- font-size: 1.2rem;
- font-weight: 600;
- margin: 0;
- }
- .level2-content {
- padding: 15px 0;
- overflow: hidden;
- transition: max-height 0.3s ease, opacity 0.3s ease;
- max-height: 100000px;
- opacity: 1;
- }
- .level2-header.collapsed + .level2-content {
- max-height: 0;
- opacity: 0;
- padding: 0;
- }
- .level-toggle-icon {
- font-size: 1rem;
- color: inherit;
- transition: transform 0.3s ease;
- flex-shrink: 0;
- }
- .collapsed .level-toggle-icon {
- transform: rotate(-90deg);
- }
- .category-group {
- margin: 15px 0 15px 20px;
- }
- /* 二级分类样式 */
- .subcategory-group {
- margin: 10px 0 10px 20px;
- padding: 15px;
- background: #fafafa;
- border-radius: 6px;
- border-left: 3px solid #a5b4fc;
- }
- .subcategory-group.collapsible .subcategory-header {
- cursor: pointer;
- user-select: none;
- }
- .subcategory-group.collapsible .subcategory-header:hover {
- background: #f0f0f0;
- margin: -8px;
- padding: 8px;
- border-radius: 4px;
- }
- .subcategory-header {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-wrap: wrap;
- margin-bottom: 10px;
- }
- .subcategory-toggle-icon {
- font-size: 0.7rem;
- color: #a5b4fc;
- transition: transform 0.3s ease;
- flex-shrink: 0;
- }
- .subcategory-group.collapsed .subcategory-toggle-icon {
- transform: rotate(-90deg);
- }
- .subcategory-title {
- font-size: 1rem;
- font-weight: 600;
- color: #6366f1;
- margin: 0;
- }
- .subcategory-stats {
- display: flex;
- gap: 6px;
- flex-wrap: wrap;
- }
- .subcategory-content {
- overflow: hidden;
- transition: max-height 0.3s ease, opacity 0.3s ease;
- max-height: 10000px;
- opacity: 1;
- }
- .subcategory-group.collapsed .subcategory-content {
- max-height: 0;
- opacity: 0;
- }
- .stat-badge-small {
- display: inline-block;
- padding: 2px 8px;
- background: #a5b4fc;
- color: white;
- border-radius: 3px;
- font-size: 0.7rem;
- font-weight: 500;
- white-space: nowrap;
- }
- /* ===== 新增字段样式 ===== */
- /* 类型标签 */
- .type-tag {
- background: #e0f2fe;
- color: #0369a1;
- border: 1px solid #7dd3fc;
- font-weight: 600;
- }
- /* 推理层次标签 */
- .level-tag {
- background: #fef3c7;
- color: #d97706;
- border: 1px solid #fcd34d;
- font-weight: 600;
- }
- /* 依附于标签 */
- .depends-tag {
- background: #fce7f3;
- color: #be185d;
- border: 1px solid #f9a8d4;
- }
- /* 映射关系容器 */
- .mapping-container {
- padding: 10px 0;
- }
- .mapping-group {
- margin-bottom: 12px;
- padding: 10px 12px;
- background: #f9fafb;
- border-radius: 4px;
- border-left: 3px solid #9ca3af;
- }
- .mapping-group:last-child {
- margin-bottom: 0;
- }
- .mapping-label {
- display: block;
- font-weight: 600;
- color: #374151;
- margin-bottom: 8px;
- font-size: 0.85rem;
- }
- /* 映射关系标签 */
- .mapping-tag {
- background: #ede9fe;
- color: #6b21a8;
- border: 1px solid #c4b5fd;
- font-weight: 600;
- }
- /* ===== 元素锚点系统 - 模态框样式 ===== */
- /* 模态框背景遮罩 */
- .element-modal-backdrop {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.5);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 2000;
- animation: fadeIn 0.2s ease;
- }
- /* 模态框内容容器 */
- .element-modal-content {
- background: white;
- border-radius: 12px;
- padding: 0;
- max-width: 600px;
- width: 90%;
- max-height: 80vh;
- overflow-y: auto;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
- animation: slideUp 0.3s ease;
- }
- @keyframes slideUp {
- from {
- transform: translateY(20px);
- opacity: 0;
- }
- to {
- transform: translateY(0);
- opacity: 1;
- }
- }
- /* 模态框头部 */
- .modal-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 20px 24px;
- border-bottom: 2px solid #e9ecef;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- border-radius: 12px 12px 0 0;
- }
- .modal-header h3 {
- margin: 0;
- font-size: 1.3rem;
- font-weight: 700;
- color: white;
- }
- /* 模态框关闭按钮 */
- .modal-close {
- background: rgba(255, 255, 255, 0.2);
- border: none;
- color: white;
- font-size: 1.5rem;
- width: 32px;
- height: 32px;
- border-radius: 50%;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: all 0.2s;
- padding: 0;
- line-height: 1;
- }
- .modal-close:hover {
- background: rgba(255, 255, 255, 0.3);
- transform: rotate(90deg);
- }
- /* 模态框主体 */
- .modal-body {
- padding: 24px;
- }
- .modal-section {
- margin-bottom: 16px;
- }
- .modal-section:last-child {
- margin-bottom: 0;
- }
- .modal-section strong {
- display: block;
- margin-bottom: 8px;
- color: #495057;
- font-size: 0.9rem;
- }
- .modal-section p {
- margin: 0;
- color: #6c757d;
- line-height: 1.6;
- }
- /* 模态框底部 */
- .modal-footer {
- padding: 16px 24px;
- border-top: 1px solid #e9ecef;
- display: flex;
- justify-content: flex-end;
- gap: 12px;
- }
- /* 模态框按钮 */
- .modal-btn {
- padding: 10px 20px;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- border: none;
- border-radius: 6px;
- font-size: 0.9rem;
- font-weight: 600;
- cursor: pointer;
- transition: all 0.2s;
- }
- .modal-btn:hover {
- transform: translateY(-1px);
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
- }
- /* 高亮动画(用于跳转后的元素高亮) */
- .highlight-pulse {
- animation: highlightPulse 2s ease;
- }
- @keyframes highlightPulse {
- 0%, 100% {
- background: #f8f9fa;
- }
- 50% {
- background: rgba(102, 126, 234, 0.2);
- box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
- }
- }
- /* ===== Tab4 关系图样式 ===== */
- /* 关系图容器 */
- .relationship-container {
- display: flex;
- gap: 20px;
- min-height: 600px;
- position: relative;
- background: #f8f9fa;
- padding: 20px;
- border-radius: 8px;
- }
- /* 左侧实质点列表 */
- .substance-column {
- flex: 0 0 300px;
- display: flex;
- flex-direction: column;
- }
- /* 中间连线区域 */
- .connection-column {
- flex: 1;
- min-width: 200px;
- position: relative;
- }
- /* 右侧目标点列表 */
- .target-column {
- flex: 0 0 350px;
- display: flex;
- flex-direction: column;
- gap: 20px;
- }
- /* 列标题 */
- .column-title {
- font-size: 1.2rem;
- font-weight: 600;
- color: #495057;
- margin-bottom: 15px;
- padding: 10px;
- background: white;
- border-radius: 6px;
- text-align: center;
- border-left: 4px solid #667eea;
- }
- .section-title {
- font-size: 1rem;
- font-weight: 600;
- color: #495057;
- margin-bottom: 10px;
- padding: 8px 12px;
- background: white;
- border-radius: 6px;
- border-left: 3px solid #667eea;
- }
- /* 节点列表 */
- .node-list {
- display: flex;
- flex-direction: column;
- gap: 10px;
- overflow-y: auto;
- max-height: calc(100vh - 300px);
- padding-right: 5px;
- }
- /* 自定义滚动条 */
- .node-list::-webkit-scrollbar {
- width: 6px;
- }
- .node-list::-webkit-scrollbar-track {
- background: #e9ecef;
- border-radius: 3px;
- }
- .node-list::-webkit-scrollbar-thumb {
- background: #adb5bd;
- border-radius: 3px;
- }
- .node-list::-webkit-scrollbar-thumb:hover {
- background: #6c757d;
- }
- /* 节点基础样式 */
- .node {
- padding: 12px 15px;
- background: white;
- border-radius: 6px;
- cursor: pointer;
- transition: all 0.3s;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
- position: relative;
- }
- .node:hover {
- transform: translateX(5px);
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
- }
- /* 实质点节点 */
- .substance-node {
- border-left: 4px solid #667eea;
- }
- .substance-node:hover {
- border-left-color: #5568d3;
- background: linear-gradient(to right, rgba(102, 126, 234, 0.05), white);
- }
- .substance-node.highlighted {
- background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
- border-left-color: #5568d3;
- box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
- }
- /* 目标点节点 */
- .target-node {
- border-left: 4px solid #adb5bd;
- }
- /* 灵感点节点 */
- .inspiration-node {
- border-left-color: #10b981;
- }
- .inspiration-node.highlighted {
- background: linear-gradient(to right, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
- border-left-color: #059669;
- box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
- }
- /* 目的点节点 */
- .purpose-node {
- border-left-color: #3b82f6;
- }
- .purpose-node.highlighted {
- background: linear-gradient(to right, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
- border-left-color: #2563eb;
- box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
- }
- /* 关键点节点 */
- .keypoint-node {
- border-left-color: #8b5cf6;
- }
- .keypoint-node.highlighted {
- background: linear-gradient(to right, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
- border-left-color: #7c3aed;
- box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
- }
- /* 节点内容样式 */
- .node-id, .node-number {
- display: inline-block;
- background: #6c757d;
- color: white;
- padding: 2px 8px;
- border-radius: 4px;
- font-size: 0.75rem;
- font-weight: 600;
- margin-bottom: 6px;
- }
- .node-name, .node-text {
- font-size: 0.9rem;
- font-weight: 500;
- color: #495057;
- line-height: 1.4;
- }
- .node-dimension {
- font-size: 0.8rem;
- color: #6c757d;
- margin-top: 4px;
- }
- /* SVG 连线样式 */
- .relationship-svg {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- pointer-events: none;
- }
- .connection-line {
- stroke-width: 2;
- opacity: 0.3;
- transition: all 0.3s;
- }
- .connection-line.highlighted {
- stroke-width: 3;
- opacity: 1;
- }
- /* 不同类型连线颜色 */
- .connection-line.inspiration {
- stroke: #10b981;
- }
- .connection-line.purpose {
- stroke: #3b82f6;
- }
- .connection-line.keypoint {
- stroke: #8b5cf6;
- }
- /* 连线标签(显示相似度) */
- .connection-label {
- font-size: 0.7rem;
- fill: #6c757d;
- opacity: 0;
- transition: opacity 0.3s;
- pointer-events: none;
- }
- .connection-label.highlighted {
- opacity: 1;
- }
- /* 目标区域 */
- .target-section {
- background: white;
- border-radius: 8px;
- padding: 15px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- /* 空状态 */
- .empty-state {
- padding: 60px 40px;
- text-align: center;
- color: #6c757d;
- font-size: 1.1rem;
- background: white;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- /* ===== Tab4 新增交互样式 ===== */
- /* 顶部标题和重置按钮 */
- .tab4-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20px;
- padding: 15px 20px;
- background: white;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- .tab4-title {
- font-size: 1.1rem;
- font-weight: 600;
- color: #495057;
- }
- .reset-btn {
- padding: 8px 16px;
- background: #667eea;
- color: white;
- border: none;
- border-radius: 6px;
- font-size: 0.9rem;
- font-weight: 600;
- cursor: pointer;
- transition: all 0.2s;
- }
- .reset-btn:hover {
- background: #5568d3;
- transform: translateY(-1px);
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
- }
- /* 实质点选中状态 */
- .substance-node.selected {
- background: linear-gradient(to right, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.08));
- border-left-color: #5568d3;
- box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
- transform: scale(1.02);
- }
- /* 实质点变暗状态(未选中时) */
- .substance-node.dimmed {
- opacity: 0.4;
- filter: grayscale(0.5);
- }
- .substance-node.dimmed:hover {
- opacity: 0.6;
- }
- /* 右侧节点隐藏状态 */
- .target-node.hidden {
- display: none;
- }
- .target-node.visible {
- display: block;
- animation: fadeInNode 0.3s ease;
- }
- @keyframes fadeInNode {
- from {
- opacity: 0;
- transform: translateX(-10px);
- }
- to {
- opacity: 1;
- transform: translateX(0);
- }
- }
- /* Section的隐藏和显示 */
- .target-section.all-hidden {
- display: none;
- }
- .target-section.has-visible-nodes {
- display: block;
- animation: fadeIn 0.3s ease;
- }
- /* 关联实质点节点样式 */
- .substance-related-node {
- border-left-color: #f59e0b;
- cursor: pointer;
- }
- .substance-related-node:hover {
- border-left-color: #d97706;
- background: linear-gradient(to right, rgba(245, 158, 11, 0.1), white);
- }
- .substance-related-node.visible {
- background: linear-gradient(to right, rgba(245, 158, 11, 0.08), white);
- }
- /* 实质点之间的连线样式 */
- .connection-line.substance {
- stroke: #f59e0b;
- stroke-dasharray: 5, 5;
- }
- .connection-line.substance.highlighted {
- stroke-width: 3;
- opacity: 0.8;
- }
- /* ===== Tab5 形式点关系图样式 ===== */
- /* 顶部标题和重置按钮 */
- .tab5-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20px;
- padding: 15px 20px;
- background: white;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- .tab5-title {
- font-size: 1.1rem;
- font-weight: 600;
- color: #495057;
- }
- /* 形式点节点样式 */
- .form-column {
- flex: 0 0 300px;
- display: flex;
- flex-direction: column;
- }
- .form-node {
- border-left: 4px solid #8b5cf6;
- }
- .form-node:hover {
- border-left-color: #7c3aed;
- background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
- }
- .form-node.selected {
- background: linear-gradient(to right, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.08));
- border-left-color: #7c3aed;
- box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
- transform: scale(1.02);
- }
- .form-node.dimmed {
- opacity: 0.4;
- filter: grayscale(0.5);
- }
- .form-node.dimmed:hover {
- opacity: 0.6;
- }
- /* 关联形式点节点样式 */
- .form-related-node {
- border-left-color: #ec4899;
- cursor: pointer;
- }
- .form-related-node:hover {
- border-left-color: #db2777;
- background: linear-gradient(to right, rgba(236, 72, 153, 0.1), white);
- }
- .form-related-node.visible {
- background: linear-gradient(to right, rgba(236, 72, 153, 0.08), white);
- }
- /* 形式点之间的连线样式 */
- .connection-line.form {
- stroke: #ec4899;
- stroke-dasharray: 5, 5;
- }
- .connection-line.form.highlighted {
- stroke-width: 3;
- opacity: 0.8;
- }
- /* ===== Tab4 新版支撑关系图样式 ===== */
- /* 顶部说明区域 */
- .tab4-description {
- margin-top: 10px;
- padding: 15px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 4px solid #667eea;
- }
- .tab4-description p {
- margin: 0 0 10px 0;
- color: #495057;
- font-size: 0.95rem;
- }
- .relationship-rules {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- .relationship-rules li {
- padding: 6px 0;
- color: #6c757d;
- font-size: 0.9rem;
- }
- .relationship-rules li::before {
- content: "→";
- color: #667eea;
- margin-right: 8px;
- font-weight: bold;
- }
- /* 支撑关系主容器 */
- .support-view-container {
- display: grid;
- grid-template-columns: 300px 1fr 350px;
- gap: 20px;
- min-height: 700px;
- background: #f8f9fa;
- padding: 20px;
- border-radius: 8px;
- }
- /* 左侧实质点面板 */
- .substance-panel {
- display: flex;
- flex-direction: column;
- gap: 15px;
- }
- .panel-title {
- font-size: 1.1rem;
- font-weight: 600;
- color: #495057;
- padding: 12px;
- background: white;
- border-radius: 6px;
- text-align: center;
- border-left: 4px solid #667eea;
- margin: 0;
- }
- /* 实质点分组 */
- .substance-group {
- background: white;
- border-radius: 8px;
- padding: 15px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- .group-title {
- font-size: 0.95rem;
- font-weight: 600;
- color: #667eea;
- margin: 0 0 12px 0;
- padding-bottom: 8px;
- border-bottom: 2px solid #e9ecef;
- }
- .substance-items {
- display: flex;
- flex-direction: column;
- gap: 8px;
- padding-right: 5px;
- }
- /* 实质点卡片 */
- .substance-card {
- padding: 10px 12px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 3px solid #adb5bd;
- cursor: pointer;
- transition: all 0.2s;
- }
- .substance-card:hover {
- background: #e9ecef;
- transform: translateX(3px);
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
- }
- .substance-card.concrete-element {
- border-left-color: #10b981;
- }
- .substance-card.concrete-concept {
- border-left-color: #3b82f6;
- }
- .substance-card.abstract-concept {
- border-left-color: #8b5cf6;
- }
- .substance-card.selected {
- background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
- border-left-color: #667eea;
- border-left-width: 4px;
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
- }
- .substance-card.dimmed {
- opacity: 0.3;
- filter: grayscale(0.7);
- }
- .substance-card.hidden {
- display: none;
- }
- .card-header {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-wrap: wrap;
- }
- .card-id {
- display: inline-block;
- background: #6c757d;
- color: white;
- padding: 2px 6px;
- border-radius: 3px;
- font-size: 0.7rem;
- font-weight: 600;
- flex-shrink: 0;
- }
- .card-name {
- font-size: 0.85rem;
- font-weight: 600;
- color: #495057;
- flex: 1;
- line-height: 1.3;
- }
- .card-description {
- margin-top: 6px;
- font-size: 0.75rem;
- color: #6c757d;
- line-height: 1.4;
- }
- /* 卡片推理信息样式 */
- .card-reasoning {
- margin-top: 8px;
- padding: 8px 10px;
- background: rgba(139, 92, 246, 0.05);
- border-left: 2px solid #8b5cf6;
- border-radius: 4px;
- }
- .reasoning-label {
- font-size: 0.7rem;
- font-weight: 600;
- color: #8b5cf6;
- margin-bottom: 4px;
- }
- .reasoning-text {
- font-size: 0.72rem;
- color: #495057;
- line-height: 1.5;
- font-style: italic;
- }
- /* 中间可视化面板 */
- .support-visualization-panel {
- position: relative;
- background: white;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- .support-canvas {
- width: 100%;
- height: 100%;
- position: relative;
- min-height: 700px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .placeholder-text {
- font-size: 1rem;
- color: #adb5bd;
- text-align: center;
- padding: 40px;
- }
- /* 右侧目标点面板 */
- .target-panel {
- display: flex;
- flex-direction: column;
- gap: 15px;
- }
- /* 目标点分组 */
- .target-group {
- background: white;
- border-radius: 8px;
- padding: 15px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- .target-items {
- display: flex;
- flex-direction: column;
- gap: 8px;
- padding-right: 5px;
- }
- /* 目标点卡片 */
- .target-card {
- padding: 10px 12px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 3px solid #adb5bd;
- cursor: pointer;
- transition: all 0.2s;
- }
- .target-card:hover {
- background: #e9ecef;
- transform: translateX(-3px);
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
- }
- .target-card.inspiration-card {
- border-left-color: #10b981;
- }
- .target-card.keypoint-card {
- border-left-color: #8b5cf6;
- }
- .target-card.purpose-card {
- border-left-color: #3b82f6;
- }
- .target-card.selected {
- background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
- border-left-color: #667eea;
- border-left-width: 4px;
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
- }
- .target-card.dimmed {
- opacity: 0.3;
- filter: grayscale(0.7);
- }
- .target-card.hidden {
- display: none;
- }
- .card-number {
- display: inline-block;
- background: #6c757d;
- color: white;
- padding: 2px 6px;
- border-radius: 3px;
- font-size: 0.7rem;
- font-weight: 600;
- margin-bottom: 4px;
- }
- .card-text {
- font-size: 0.85rem;
- font-weight: 500;
- color: #495057;
- line-height: 1.4;
- }
- /* 支撑关系流程图样式 */
- .support-flow {
- padding: 30px;
- animation: fadeIn 0.5s ease;
- }
- .flow-title {
- font-size: 1.2rem;
- font-weight: 600;
- color: #667eea;
- margin-bottom: 25px;
- text-align: center;
- padding: 15px;
- background: linear-gradient(to right, rgba(102, 126, 234, 0.1), transparent);
- border-radius: 8px;
- border-left: 4px solid #667eea;
- }
- .flow-source {
- display: flex;
- justify-content: center;
- margin-bottom: 30px;
- }
- .flow-node {
- padding: 20px 30px;
- border-radius: 12px;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
- text-align: center;
- min-width: 200px;
- }
- .substance-flow-node {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- }
- .target-flow-node {
- background: linear-gradient(135deg, #10b981 0%, #059669 100%);
- color: white;
- }
- .flow-node-label {
- font-size: 0.85rem;
- font-weight: 500;
- opacity: 0.9;
- margin-bottom: 8px;
- }
- .flow-node-name {
- font-size: 1.1rem;
- font-weight: 700;
- }
- .flow-targets {
- display: flex;
- flex-direction: column;
- gap: 20px;
- }
- .flow-target-group {
- padding: 15px;
- background: #f8f9fa;
- border-radius: 8px;
- border-left: 4px solid #adb5bd;
- }
- .flow-target-label {
- font-size: 0.95rem;
- font-weight: 600;
- color: #495057;
- margin-bottom: 12px;
- padding-bottom: 8px;
- border-bottom: 2px solid #e9ecef;
- }
- .flow-target-item {
- padding: 12px 15px;
- margin-bottom: 10px;
- background: white;
- border-radius: 6px;
- border-left: 4px solid #adb5bd;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- .flow-target-item:last-child {
- margin-bottom: 0;
- }
- .flow-target-item.inspiration-flow {
- border-left-color: #10b981;
- background: linear-gradient(to right, rgba(16, 185, 129, 0.05), white);
- }
- .flow-target-item.purpose-flow {
- border-left-color: #3b82f6;
- background: linear-gradient(to right, rgba(59, 130, 246, 0.05), white);
- }
- .flow-target-item.keypoint-flow {
- border-left-color: #8b5cf6;
- background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
- }
- .flow-target-item.concrete-element-flow {
- border-left-color: #10b981;
- background: linear-gradient(to right, rgba(16, 185, 129, 0.05), white);
- }
- .flow-target-item.concrete-concept-flow {
- border-left-color: #3b82f6;
- background: linear-gradient(to right, rgba(59, 130, 246, 0.05), white);
- }
- .flow-target-item.abstract-concept-flow {
- border-left-color: #8b5cf6;
- background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
- }
- .flow-target-text {
- font-size: 0.9rem;
- font-weight: 500;
- color: #495057;
- margin-bottom: 6px;
- line-height: 1.4;
- }
- .flow-target-score {
- font-size: 0.8rem;
- color: #6c757d;
- font-weight: 600;
- }
- /* 目标点卡片高亮状态 */
- .target-card.highlighted {
- background: linear-gradient(to right, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.03));
- border-left-width: 4px;
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
- }
- /* 实质点卡片高亮状态 */
- .substance-card.highlighted {
- background: linear-gradient(to right, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.03));
- border-left-width: 4px;
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
- }
- /* ===== Tab5 实质与形式双向支撑关系图样式 ===== */
- /* Tab5说明区域 */
- .tab5-description {
- margin-top: 10px;
- padding: 15px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 4px solid #8b5cf6;
- }
- .tab5-description p {
- margin: 0 0 10px 0;
- color: #495057;
- font-size: 0.95rem;
- }
- /* Tab5 4列布局容器 */
- .tab5-four-column-container {
- display: grid;
- grid-template-columns: 280px 280px 280px 280px;
- gap: 15px;
- min-height: 700px;
- background: #f8f9fa;
- padding: 20px;
- border-radius: 8px;
- }
- /* Tab5 列样式 */
- .tab5-column {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .tab5-left-targets {
- /* 左侧选题点列(实质支撑) */
- }
- .tab5-substances {
- /* 中左实质点列 */
- }
- .tab5-forms {
- /* 中右形式点列 */
- }
- .tab5-right-targets {
- /* 右侧选题点列(形式支撑) */
- }
- /* 形式点面板 */
- .form-panel {
- display: flex;
- flex-direction: column;
- gap: 15px;
- }
- /* 形式点分组 */
- .form-group {
- background: white;
- border-radius: 8px;
- padding: 15px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
- .form-items {
- display: flex;
- flex-direction: column;
- gap: 8px;
- padding-right: 5px;
- }
- /* 形式点卡片 */
- .form-card {
- padding: 10px 12px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 3px solid #adb5bd;
- cursor: pointer;
- transition: all 0.2s;
- }
- .form-card:hover {
- background: #e9ecef;
- transform: translateX(3px);
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
- }
- .form-card.concrete-element-form {
- border-left-color: #f59e0b;
- }
- .form-card.concrete-concept-form {
- border-left-color: #ec4899;
- }
- .form-card.overall-form {
- border-left-color: #8b5cf6;
- }
- .form-card.selected {
- background: linear-gradient(to right, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
- border-left-color: #8b5cf6;
- border-left-width: 4px;
- box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
- }
- .form-card.dimmed {
- opacity: 0.3;
- filter: grayscale(0.7);
- }
- .form-card.hidden {
- display: none;
- }
- .form-card.highlighted {
- background: linear-gradient(to right, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.03));
- border-left-width: 4px;
- box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
- }
- /* 实质点卡片(在tab5中作为目标) */
- .substance-card.concrete-element-card {
- border-left-color: #10b981;
- }
- .substance-card.concrete-concept-card {
- border-left-color: #3b82f6;
- }
- .substance-card.abstract-concept-card {
- border-left-color: #8b5cf6;
- }
- /* 实质点项列表 */
- /* 已移除max-height限制,所有元素平铺显示 */
- /* 形式点流程节点样式 */
- .form-flow-node {
- background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
- color: white;
- }
- /* 形式点流程目标项样式 */
- .flow-target-item.concrete-element-form-flow {
- border-left-color: #f59e0b;
- background: linear-gradient(to right, rgba(245, 158, 11, 0.05), white);
- }
- .flow-target-item.concrete-concept-form-flow {
- border-left-color: #ec4899;
- background: linear-gradient(to right, rgba(236, 72, 153, 0.05), white);
- }
- .flow-target-item.overall-form-flow {
- border-left-color: #8b5cf6;
- background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
- }
- .flow-target-item.form-flow {
- border-left-color: #8b5cf6;
- background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
- }
- /* ===== Tab5 连线SVG容器样式 ===== */
- .tab5-svg-container {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- pointer-events: none;
- z-index: 10;
- }
- #tab5-connection-svg {
- width: 100%;
- height: 100%;
- overflow: visible;
- }
- /* Tab5 4列容器需要relative定位 */
- .tab5-four-column-container {
- position: relative;
- z-index: 1;
- }
- /* Tab5 连线样式 */
- .tab5-connection-line {
- fill: none;
- stroke-width: 2;
- opacity: 0.4;
- transition: all 0.3s ease;
- pointer-events: stroke;
- }
- /* 左侧选题点到实质点的连线 */
- .tab5-connection-line.left-target-substance {
- stroke: #667eea;
- }
- /* 实质点到形式点的连线 */
- .tab5-connection-line.substance-form {
- stroke: #f59e0b;
- stroke-dasharray: 5, 3;
- }
- /* 形式点到右侧灵感点的连线 */
- .tab5-connection-line.form-inspiration {
- stroke: #10b981;
- }
- /* 形式点到右侧目的点的连线 */
- .tab5-connection-line.form-purpose {
- stroke: #3b82f6;
- }
- /* 形式点到右侧关键点的连线 */
- .tab5-connection-line.form-keypoint {
- stroke: #8b5cf6;
- }
- /* 连线hover效果(已在JS中定义) */
- .tab5-connection-line:hover {
- opacity: 0.8;
- stroke-width: 4;
- filter: drop-shadow(0 0 6px rgba(0,0,0,0.3));
- }
- /* ===== Tab5 连线详情模态框样式 ===== */
- .connection-modal-backdrop {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.6);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 3000;
- animation: fadeIn 0.2s ease;
- }
- .connection-modal-content {
- background: white;
- border-radius: 12px;
- padding: 0;
- max-width: 550px;
- width: 90%;
- max-height: 85vh;
- overflow-y: auto;
- box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
- animation: slideUp 0.3s ease;
- }
- .connection-detail-section {
- margin-bottom: 18px;
- padding: 12px 0;
- border-bottom: 1px solid #e9ecef;
- }
- .connection-detail-section:last-child {
- border-bottom: none;
- margin-bottom: 0;
- }
- .connection-label {
- font-size: 0.85rem;
- font-weight: 600;
- color: #667eea;
- margin-bottom: 6px;
- display: block;
- }
- .connection-value {
- font-size: 0.95rem;
- color: #495057;
- line-height: 1.6;
- padding-left: 10px;
- }
- .connection-value.score-value {
- color: #667eea;
- font-weight: 700;
- font-size: 1.1rem;
- }
- /* ===== Tab5标题区域样式 ===== */
- .tab5-header {
- margin-bottom: 20px;
- }
- .tab5-title {
- font-size: 1.5rem;
- font-weight: 700;
- color: #495057;
- margin: 0 0 10px 0;
- }
- .tab5-description p {
- margin: 8px 0;
- font-size: 0.95rem;
- color: #495057;
- line-height: 1.6;
- }
|