| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871 |
- * {
- 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;
- width: 90%;
- 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;
- }
- /* ===== V2 卡片样式 ===== */
- .point-card {
- margin-bottom: 20px;
- background: white;
- border-radius: 8px;
- border: 1px solid #e5e7eb;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
- transition: all 0.3s ease;
- overflow: hidden;
- }
- .point-card:hover {
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
- }
- .point-card-header {
- padding: 15px 20px;
- cursor: pointer;
- display: flex;
- align-items: center;
- gap: 10px;
- background: #f8f9fa;
- transition: background 0.2s;
- user-select: none;
- }
- .point-card-header:hover {
- background: #e9ecef;
- }
- .point-card.expanded .point-card-header {
- background: #e7f3ff;
- border-bottom: 1px solid #dee2e6;
- }
- .point-card-header .point-number {
- display: inline-block;
- background: #667eea;
- color: white;
- padding: 4px 10px;
- border-radius: 4px;
- font-weight: 600;
- font-size: 0.85rem;
- flex-shrink: 0;
- }
- .point-card-header .point-time {
- color: #6c757d;
- font-size: 0.9rem;
- flex-shrink: 0;
- }
- .point-card-header .point-units {
- color: #6c757d;
- font-size: 0.85rem;
- flex-shrink: 0;
- }
- .point-card-header .point-text {
- flex: 1;
- font-size: 1.05rem;
- font-weight: 600;
- color: #1f2937;
- }
- .toggle-icon {
- color: #667eea;
- font-size: 0.9rem;
- transition: transform 0.3s;
- flex-shrink: 0;
- }
- .point-card.expanded .toggle-icon {
- transform: rotate(180deg);
- }
- .point-card-details {
- display: none;
- padding: 20px;
- background: white;
- animation: slideDown 0.3s ease;
- }
- .point-card.expanded .point-card-details {
- display: block;
- }
- @keyframes slideDown {
- from {
- opacity: 0;
- transform: translateY(-10px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
- .detail-section {
- margin-bottom: 20px;
- padding-bottom: 15px;
- border-bottom: 1px solid #e9ecef;
- }
- .detail-section:last-child {
- border-bottom: none;
- margin-bottom: 0;
- }
- .detail-section strong {
- display: block;
- margin-bottom: 8px;
- color: #495057;
- font-size: 0.95rem;
- }
- .detail-text {
- color: #4b5563;
- line-height: 1.6;
- font-size: 0.95rem;
- }
- .detail-list {
- list-style: none;
- padding-left: 0;
- margin: 10px 0;
- }
- .detail-list li {
- padding: 8px 12px;
- margin-bottom: 8px;
- background: #f8f9fa;
- border-radius: 4px;
- border-left: 3px solid #667eea;
- }
- .tag-group {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- margin-top: 10px;
- }
- .label-tag {
- display: inline-block;
- padding: 5px 12px;
- border-radius: 4px;
- font-size: 0.85rem;
- font-weight: 500;
- }
- .l1-tag {
- background: #dbeafe;
- color: #1e40af;
- }
- .l2-tag {
- background: #fef3c7;
- color: #92400e;
- }
- .l3-tag {
- background: #f3e8ff;
- color: #6b21a8;
- }
- .l4-tag {
- background: #fce7f3;
- color: #9f1239;
- }
- .keyword-tag {
- display: inline-block;
- padding: 4px 10px;
- background: #e0e7ff;
- color: #3730a3;
- border-radius: 4px;
- font-size: 0.85rem;
- margin: 2px;
- }
- .sub-section {
- margin-top: 15px;
- padding: 12px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 3px solid #667eea;
- }
- .sub-section strong {
- color: #495057;
- font-size: 0.9rem;
- }
- .form-item {
- margin-top: 10px;
- padding: 10px;
- background: white;
- border-radius: 4px;
- font-size: 0.9rem;
- line-height: 1.6;
- color: #4b5563;
- }
- .form-item strong {
- color: #667eea;
- margin-right: 8px;
- }
- .element-name {
- font-size: 1rem;
- color: #1f2937;
- margin-bottom: 8px;
- padding-bottom: 5px;
- border-bottom: 1px solid #e5e7eb;
- }
- .logic-flow {
- margin-top: 15px;
- }
- .logic-stage {
- margin-bottom: 20px;
- padding: 15px;
- background: #f8f9fa;
- border-radius: 6px;
- border-left: 4px solid #667eea;
- }
- .stage-number {
- font-size: 0.9rem;
- color: #667eea;
- font-weight: 600;
- margin-bottom: 5px;
- }
- .stage-name {
- font-size: 1.05rem;
- font-weight: 600;
- color: #1f2937;
- margin-bottom: 8px;
- }
- .stage-desc {
- font-size: 0.95rem;
- color: #4b5563;
- line-height: 1.6;
- }
- .section-divider {
- height: 2px;
- background: linear-gradient(to right, transparent, #dee2e6, transparent);
- margin: 30px 0;
- }
- .section-info {
- font-size: 0.9rem;
- color: #6c757d;
- margin-bottom: 15px;
- padding: 8px 12px;
- background: #f8f9fa;
- border-radius: 4px;
- }
- .hook-item, .golden-item {
- padding: 10px 15px;
- margin-bottom: 10px;
- background: #fff3cd;
- border-radius: 6px;
- border-left: 4px solid #ffc107;
- font-size: 0.95rem;
- line-height: 1.6;
- color: #856404;
- }
- .golden-item {
- background: #d1ecf1;
- border-left-color: #17a2b8;
- color: #0c5460;
- }
- .model-item {
- padding: 10px 15px;
- margin-bottom: 10px;
- background: #e7f3ff;
- border-radius: 6px;
- border-left: 4px solid #667eea;
- font-size: 0.9rem;
- line-height: 1.6;
- color: #1e40af;
- font-family: 'Courier New', monospace;
- }
|