| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782 |
- /* 基础样式 */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
- background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
- min-height: 100vh;
- color: #e0e0e0;
- line-height: 1.6;
- }
- .container {
- max-width: 1400px;
- margin: 0 auto;
- padding: 20px;
- }
- /* 头部样式 */
- .header {
- text-align: center;
- padding: 30px 0;
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
- margin-bottom: 30px;
- }
- .header h1 {
- font-size: 2.2rem;
- color: #00d4ff;
- margin-bottom: 10px;
- text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
- }
- .subtitle {
- color: #888;
- font-size: 1rem;
- }
- /* 上传区域 */
- .upload-section {
- margin-bottom: 30px;
- }
- .upload-area {
- border: 2px dashed #4a4a6a;
- border-radius: 12px;
- padding: 40px;
- text-align: center;
- cursor: pointer;
- transition: all 0.3s ease;
- background: rgba(255, 255, 255, 0.02);
- }
- .upload-area:hover {
- border-color: #00d4ff;
- background: rgba(0, 212, 255, 0.05);
- }
- .upload-area.dragover {
- border-color: #00ff88;
- background: rgba(0, 255, 136, 0.1);
- }
- .upload-icon {
- font-size: 3rem;
- margin-bottom: 15px;
- }
- .upload-area p {
- margin: 5px 0;
- }
- .upload-area .hint {
- font-size: 0.85rem;
- color: #666;
- }
- .sample-buttons {
- display: flex;
- gap: 10px;
- justify-content: center;
- margin-top: 15px;
- }
- /* 按钮样式 */
- .btn {
- padding: 12px 28px;
- border: none;
- border-radius: 8px;
- cursor: pointer;
- font-size: 1rem;
- font-weight: 600;
- transition: all 0.3s ease;
- display: inline-flex;
- align-items: center;
- gap: 8px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
- }
- .btn-primary {
- background: linear-gradient(135deg, #0099ff, #0066cc);
- color: white;
- }
- .btn-primary:hover {
- background: linear-gradient(135deg, #00b3ff, #0077dd);
- transform: translateY(-2px);
- box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
- }
- .btn-secondary {
- background: rgba(255, 255, 255, 0.08);
- color: #e0e0e0;
- border: 1px solid rgba(255, 255, 255, 0.15);
- }
- .btn-secondary:hover {
- background: rgba(255, 255, 255, 0.12);
- border-color: rgba(255, 255, 255, 0.25);
- transform: translateY(-2px);
- box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
- }
- .btn-success {
- background: linear-gradient(135deg, #00d98e, #00a86b);
- color: white;
- }
- .btn-success:hover {
- background: linear-gradient(135deg, #00ff9f, #00bf7d);
- transform: translateY(-2px);
- box-shadow: 0 6px 20px rgba(0, 217, 142, 0.4);
- }
- .btn:disabled {
- opacity: 0.5;
- cursor: not-allowed;
- transform: none !important;
- }
- .btn-icon {
- font-size: 1.1rem;
- }
- /* 概览卡片 */
- .pipeline-overview {
- margin-bottom: 30px;
- }
- .pipeline-overview h2,
- .pipeline-flow h2,
- .detail-panel h2,
- .stages-detail h2 {
- color: #00d4ff;
- margin-bottom: 20px;
- font-size: 1.3rem;
- }
- .overview-cards {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
- gap: 20px;
- }
- .overview-card {
- background: rgba(255, 255, 255, 0.05);
- border-radius: 12px;
- padding: 20px;
- display: flex;
- align-items: center;
- gap: 15px;
- border: 1px solid rgba(255, 255, 255, 0.1);
- }
- .card-icon {
- font-size: 2rem;
- }
- .card-content {
- display: flex;
- flex-direction: column;
- }
- .card-label {
- font-size: 0.85rem;
- color: #888;
- }
- .card-value {
- font-size: 1.2rem;
- font-weight: 600;
- color: #00ff88;
- }
- /* 流程图样式 */
- .flow-container {
- display: flex;
- flex-wrap: wrap;
- gap: 20px;
- padding: 20px;
- background: rgba(0, 0, 0, 0.2);
- border-radius: 12px;
- overflow-x: auto;
- }
- .flow-node {
- background: rgba(255, 255, 255, 0.05);
- border: 2px solid #4a4a6a;
- border-radius: 12px;
- padding: 20px;
- min-width: 200px;
- cursor: pointer;
- transition: all 0.3s ease;
- position: relative;
- }
- .flow-node:hover {
- border-color: #00d4ff;
- transform: translateY(-3px);
- box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
- }
- .flow-node.active {
- border-color: #00ff88;
- background: rgba(0, 255, 136, 0.1);
- }
- .flow-node::after {
- content: '→';
- position: absolute;
- right: -25px;
- top: 50%;
- transform: translateY(-50%);
- font-size: 1.5rem;
- color: #4a4a6a;
- }
- .flow-node:last-child::after {
- display: none;
- }
- .node-header {
- display: flex;
- align-items: center;
- gap: 10px;
- margin-bottom: 10px;
- }
- .node-icon {
- font-size: 1.5rem;
- }
- .node-title {
- font-weight: 600;
- color: #00d4ff;
- }
- .node-step {
- font-size: 0.75rem;
- background: rgba(0, 212, 255, 0.2);
- padding: 2px 8px;
- border-radius: 10px;
- color: #00d4ff;
- }
- .node-stats {
- display: flex;
- flex-direction: column;
- gap: 5px;
- font-size: 0.85rem;
- color: #888;
- }
- .node-stat {
- display: flex;
- justify-content: space-between;
- }
- .node-stat-value {
- color: #00ff88;
- }
- /* 标签页样式 */
- .tabs {
- display: flex;
- gap: 5px;
- margin-bottom: 15px;
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
- padding-bottom: 10px;
- }
- .tab-btn {
- padding: 10px 20px;
- background: transparent;
- border: none;
- color: #888;
- cursor: pointer;
- border-radius: 6px 6px 0 0;
- transition: all 0.3s ease;
- }
- .tab-btn:hover {
- color: #e0e0e0;
- background: rgba(255, 255, 255, 0.05);
- }
- .tab-btn.active {
- color: #00d4ff;
- background: rgba(0, 212, 255, 0.1);
- border-bottom: 2px solid #00d4ff;
- }
- .tab-content {
- background: rgba(0, 0, 0, 0.3);
- border-radius: 8px;
- padding: 20px;
- }
- .tab-pane {
- display: none;
- }
- .tab-pane.active {
- display: block;
- }
- /* JSON查看器样式 */
- .json-viewer {
- background: rgba(0, 0, 0, 0.4);
- border-radius: 8px;
- padding: 15px;
- overflow-x: auto;
- font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
- font-size: 0.85rem;
- line-height: 1.5;
- max-height: 500px;
- overflow-y: auto;
- white-space: pre-wrap;
- word-break: break-all;
- }
- .json-key {
- color: #ff79c6;
- }
- .json-string {
- color: #50fa7b;
- }
- .json-number {
- color: #bd93f9;
- }
- .json-boolean {
- color: #ffb86c;
- }
- .json-null {
- color: #6272a4;
- }
- /* 手风琴样式 */
- .accordion {
- display: flex;
- flex-direction: column;
- gap: 10px;
- }
- .accordion-item {
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 8px;
- overflow: hidden;
- }
- .accordion-header {
- padding: 15px 20px;
- cursor: pointer;
- display: flex;
- justify-content: space-between;
- align-items: center;
- transition: background 0.3s ease;
- }
- .accordion-header:hover {
- background: rgba(255, 255, 255, 0.05);
- }
- .accordion-header.active {
- background: rgba(0, 212, 255, 0.1);
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
- }
- .accordion-title {
- display: flex;
- align-items: center;
- gap: 10px;
- }
- .accordion-icon {
- transition: transform 0.3s ease;
- }
- .accordion-header.active .accordion-icon {
- transform: rotate(180deg);
- }
- .accordion-content {
- display: none;
- padding: 20px;
- }
- .accordion-content.active {
- display: block;
- }
- /* 数据流展示 */
- .data-flow {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 20px;
- }
- .data-section {
- background: rgba(0, 0, 0, 0.2);
- border-radius: 8px;
- padding: 15px;
- }
- .data-section h4 {
- color: #00d4ff;
- margin-bottom: 10px;
- font-size: 0.95rem;
- display: flex;
- align-items: center;
- gap: 8px;
- }
- .data-section h4::before {
- content: '';
- width: 8px;
- height: 8px;
- border-radius: 50%;
- }
- .data-section.input h4::before {
- background: #ffb86c;
- }
- .data-section.output h4::before {
- background: #50fa7b;
- }
- /* 子步骤样式 */
- .sub-steps {
- margin-top: 15px;
- padding-top: 15px;
- border-top: 1px dashed rgba(255, 255, 255, 0.1);
- }
- .sub-step {
- background: rgba(0, 0, 0, 0.2);
- border-radius: 8px;
- padding: 15px;
- margin-bottom: 10px;
- border-left: 3px solid #00d4ff;
- }
- .sub-step-header {
- font-weight: 600;
- color: #00d4ff;
- margin-bottom: 10px;
- }
- /* 响应式设计 */
- @media (max-width: 768px) {
- .data-flow {
- grid-template-columns: 1fr;
- }
-
- .flow-container {
- flex-direction: column;
- }
-
- .flow-node::after {
- content: '↓';
- right: 50%;
- top: auto;
- bottom: -25px;
- transform: translateX(50%);
- }
-
- .overview-cards {
- grid-template-columns: 1fr;
- }
- }
- /* 滚动条样式 */
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- }
- ::-webkit-scrollbar-track {
- background: rgba(0, 0, 0, 0.2);
- border-radius: 4px;
- }
- ::-webkit-scrollbar-thumb {
- background: #4a4a6a;
- border-radius: 4px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: #5a5a7a;
- }
- /* 加载动画 */
- .loading {
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 40px;
- }
- .loading-spinner {
- width: 40px;
- height: 40px;
- border: 3px solid rgba(0, 212, 255, 0.2);
- border-top-color: #00d4ff;
- border-radius: 50%;
- animation: spin 1s linear infinite;
- }
- @keyframes spin {
- to {
- transform: rotate(360deg);
- }
- }
- /* 空状态 */
- .empty-state {
- text-align: center;
- padding: 60px 20px;
- color: #666;
- }
- .empty-state-icon {
- font-size: 4rem;
- margin-bottom: 20px;
- }
- /* RAG输入区域样式 */
- .rag-input-section {
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 12px;
- padding: 25px;
- margin-bottom: 30px;
- position: relative;
- }
- .rag-input-section h2 {
- color: #00d4ff;
- margin-bottom: 15px;
- font-size: 1.3rem;
- }
- .server-status {
- position: absolute;
- top: 25px;
- right: 25px;
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 0.85rem;
- }
- .status-dot {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- animation: pulse 2s infinite;
- }
- .status-dot.online {
- background: #00ff88;
- box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
- }
- .status-dot.warning {
- background: #ffb86c;
- box-shadow: 0 0 10px rgba(255, 184, 108, 0.5);
- }
- .status-dot.offline {
- background: #ff5555;
- box-shadow: 0 0 10px rgba(255, 85, 85, 0.5);
- animation: none;
- }
- @keyframes pulse {
- 0%, 100% { opacity: 1; }
- 50% { opacity: 0.5; }
- }
- .input-area {
- margin-bottom: 20px;
- }
- .input-area textarea {
- width: 100%;
- min-height: 180px;
- background: rgba(0, 0, 0, 0.4);
- border: 2px solid rgba(255, 255, 255, 0.15);
- border-radius: 10px;
- padding: 18px;
- color: #e8e8e8;
- font-family: 'Consolas', 'Monaco', monospace;
- font-size: 0.95rem;
- line-height: 1.7;
- resize: vertical;
- transition: all 0.3s ease;
- box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
- }
- .input-area textarea:focus {
- outline: none;
- border-color: #00d4ff;
- background: rgba(0, 0, 0, 0.5);
- box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3),
- 0 0 0 3px rgba(0, 212, 255, 0.15);
- }
- .input-area textarea::placeholder {
- color: #666;
- font-style: italic;
- }
- .action-buttons {
- display: flex;
- gap: 10px;
- flex-wrap: wrap;
- }
- .btn-icon {
- margin-right: 5px;
- }
- .btn:disabled {
- opacity: 0.5;
- cursor: not-allowed;
- transform: none !important;
- }
- .loading-overlay {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(26, 26, 46, 0.95);
- border-radius: 12px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 15px;
- z-index: 10;
- }
- .loading-overlay p {
- color: #00d4ff;
- font-size: 1rem;
- }
- /* 调整上传区域样式 */
- .upload-section {
- margin-bottom: 30px;
- }
- .upload-area {
- border: 2px dashed #4a4a6a;
- border-radius: 12px;
- padding: 20px;
- text-align: center;
- cursor: pointer;
- transition: all 0.3s ease;
- background: rgba(255, 255, 255, 0.02);
- }
- .upload-area .upload-icon {
- font-size: 2rem;
- margin-bottom: 10px;
- }
- .upload-area p {
- font-size: 0.9rem;
- color: #888;
- }
- /* 流程节点执行时间显示 */
- .node-time {
- font-size: 0.75rem;
- color: #ffb86c;
- margin-top: 5px;
- }
- /* ==================== 功能切换Tab样式 ==================== */
- .function-tabs {
- display: flex;
- gap: 10px;
- margin-bottom: 30px;
- border-bottom: 2px solid rgba(255, 255, 255, 0.1);
- padding-bottom: 10px;
- }
- .function-tab {
- padding: 12px 24px;
- border: none;
- background: rgba(255, 255, 255, 0.05);
- color: #888;
- border-radius: 8px 8px 0 0;
- cursor: pointer;
- font-size: 1rem;
- transition: all 0.3s ease;
- border-bottom: 3px solid transparent;
- }
- .function-tab:hover {
- background: rgba(0, 212, 255, 0.1);
- color: #00d4ff;
- }
- .function-tab.active {
- background: rgba(0, 212, 255, 0.2);
- color: #00d4ff;
- border-bottom-color: #00d4ff;
- }
- /* ==================== 专业性审查区域样式 ==================== */
- .professional-review-section {
- background: rgba(255, 255, 255, 0.03);
- border-radius: 12px;
- padding: 25px;
- margin-bottom: 30px;
- position: relative;
- }
- .review-type-selector {
- display: flex;
- align-items: center;
- gap: 25px;
- margin: 15px 0 20px 0;
- padding: 18px 20px;
- background: linear-gradient(135deg, rgba(0, 153, 255, 0.08), rgba(0, 212, 255, 0.05));
- border: 1px solid rgba(0, 212, 255, 0.2);
- border-radius: 10px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
- }
- .review-type-selector > label:first-child {
- color: #00d4ff;
- font-weight: 600;
- font-size: 0.95rem;
- }
- .radio-label {
- display: flex;
- align-items: center;
- gap: 8px;
- cursor: pointer;
- color: #e0e0e0 !important;
- font-weight: normal !important;
- padding: 6px 12px;
- border-radius: 6px;
- transition: all 0.2s ease;
- }
- .radio-label:hover {
- background: rgba(0, 212, 255, 0.1);
- }
- .radio-label input[type="radio"] {
- width: 18px;
- height: 18px;
- cursor: pointer;
- accent-color: #00d4ff;
- }
- .radio-label input[type="radio"]:checked + span {
- color: #00ff88;
- font-weight: 500;
- }
- /* ==================== 专业性审查结果样式 ==================== */
- .professional-results {
- margin-top: 30px;
- }
- .result-section {
- background: rgba(255, 255, 255, 0.03);
- border-radius: 12px;
- padding: 20px;
- margin-bottom: 20px;
- }
- .result-section h3 {
- color: #00d4ff;
- margin-bottom: 15px;
- font-size: 1.2rem;
- }
- /* RAG召回摘要卡片 */
- .rag-summary {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
- gap: 15px;
- }
- .summary-card {
- background: rgba(0, 212, 255, 0.1);
- border: 1px solid rgba(0, 212, 255, 0.3);
- border-radius: 8px;
- padding: 15px;
- }
- .summary-card-title {
- color: #888;
- font-size: 0.85rem;
- margin-bottom: 8px;
- }
- .summary-card-value {
- color: #00d4ff;
- font-size: 1.5rem;
- font-weight: bold;
- }
- /* 审查结果项 */
- .review-results-list {
- display: flex;
- flex-direction: column;
- gap: 20px;
- }
- .review-result-item {
- background: rgba(255, 255, 255, 0.05);
- border-left: 4px solid #00d4ff;
- border-radius: 8px;
- padding: 20px;
- }
- .result-item-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 15px;
- padding-bottom: 10px;
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
- }
- .result-entity-name {
- color: #00d4ff;
- font-size: 1.1rem;
- font-weight: bold;
- }
- .result-rag-score {
- background: rgba(255, 182, 108, 0.2);
- color: #ffb86c;
- padding: 4px 12px;
- border-radius: 12px;
- font-size: 0.85rem;
- }
- .result-item-content {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 20px;
- }
- .review-result-box {
- background: rgba(255, 255, 255, 0.03);
- border-radius: 8px;
- padding: 15px;
- }
- .result-box-title {
- color: #ffb86c;
- font-size: 0.9rem;
- font-weight: bold;
- margin-bottom: 10px;
- display: flex;
- align-items: center;
- gap: 8px;
- }
- .result-box-content {
- color: #e0e0e0;
- font-size: 0.9rem;
- line-height: 1.6;
- }
- .result-json {
- background: rgba(0, 0, 0, 0.3);
- border-radius: 6px;
- padding: 12px;
- max-height: 300px;
- overflow-y: auto;
- }
- .result-json pre {
- margin: 0;
- color: #e0e0e0;
- font-size: 0.85rem;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
- /* 状态标签 */
- .status-badge {
- display: inline-block;
- padding: 4px 10px;
- border-radius: 12px;
- font-size: 0.8rem;
- font-weight: bold;
- }
- .status-success {
- background: rgba(0, 255, 136, 0.2);
- color: #00ff88;
- }
- .status-warning {
- background: rgba(255, 182, 108, 0.2);
- color: #ffb86c;
- }
- .status-error {
- background: rgba(255, 85, 85, 0.2);
- color: #ff5555;
- }
- /* 问题详情样式 */
- .issue-details {
- margin-top: 15px;
- padding: 15px;
- background: rgba(0, 0, 0, 0.2);
- border-radius: 8px;
- border-left: 3px solid #ffb86c;
- }
- .issue-item {
- margin-bottom: 15px;
- }
- .issue-item:last-child {
- margin-bottom: 0;
- }
- .issue-item strong {
- display: block;
- color: #00d4ff;
- font-size: 0.9rem;
- margin-bottom: 6px;
- }
- .issue-item p {
- margin: 0;
- color: #e0e0e0;
- line-height: 1.6;
- padding-left: 10px;
- border-left: 2px solid rgba(255, 255, 255, 0.1);
- }
- /* 风险等级标签 */
- .risk-badge {
- display: inline-block;
- padding: 4px 12px;
- border-radius: 12px;
- font-size: 0.85rem;
- font-weight: bold;
- margin-left: 10px;
- }
- .risk-badge.risk-high {
- background: rgba(255, 85, 85, 0.2);
- color: #ff5555;
- border: 1px solid #ff5555;
- }
- .risk-badge.risk-medium {
- background: rgba(255, 182, 108, 0.2);
- color: #ffb86c;
- border: 1px solid #ffb86c;
- }
- .risk-badge.risk-low {
- background: rgba(80, 250, 123, 0.2);
- color: #50fa7b;
- border: 1px solid #50fa7b;
- }
- /* 查看审查依据按钮 */
- .view-reference-btn {
- background: linear-gradient(135deg, #00d4ff, #0099cc);
- color: #ffffff;
- border: none;
- padding: 8px 16px;
- border-radius: 6px;
- font-size: 0.9rem;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.3s ease;
- box-shadow: 0 2px 6px rgba(0, 212, 255, 0.3);
- margin-left: 10px;
- }
- .view-reference-btn:hover {
- background: linear-gradient(135deg, #00e5ff, #00aadd);
- transform: translateY(-2px);
- box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
- }
- /* 审查依据侧边栏 */
- .reference-sidebar {
- position: fixed;
- top: 0;
- right: -600px;
- width: 600px;
- height: 100vh;
- background: rgba(20, 20, 30, 0.98);
- backdrop-filter: blur(10px);
- border-left: 1px solid rgba(0, 212, 255, 0.3);
- box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
- transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
- z-index: 1000;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- }
- .reference-sidebar.active {
- right: 0;
- }
- .sidebar-header {
- padding: 20px 25px;
- background: linear-gradient(135deg, rgba(0, 153, 255, 0.15), rgba(0, 212, 255, 0.1));
- border-bottom: 2px solid rgba(0, 212, 255, 0.3);
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .sidebar-header h3 {
- margin: 0;
- color: #00d4ff;
- font-size: 1.3rem;
- }
- .sidebar-close-btn {
- background: rgba(255, 85, 85, 0.2);
- border: 1px solid #ff5555;
- color: #ff5555;
- width: 32px;
- height: 32px;
- border-radius: 6px;
- font-size: 1.2rem;
- cursor: pointer;
- transition: all 0.2s ease;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .sidebar-close-btn:hover {
- background: rgba(255, 85, 85, 0.3);
- transform: scale(1.1);
- }
- .sidebar-content {
- flex: 1;
- padding: 25px;
- overflow-y: auto;
- color: #e0e0e0;
- line-height: 1.8;
- }
- /* Markdown内容样式 */
- .sidebar-content h1, .sidebar-content h2, .sidebar-content h3 {
- color: #00d4ff;
- margin-top: 20px;
- margin-bottom: 12px;
- border-bottom: 1px solid rgba(0, 212, 255, 0.2);
- padding-bottom: 8px;
- }
- .sidebar-content h1 { font-size: 1.6rem; }
- .sidebar-content h2 { font-size: 1.3rem; }
- .sidebar-content h3 { font-size: 1.1rem; }
- .sidebar-content p {
- margin: 10px 0;
- }
- .sidebar-content code {
- background: rgba(0, 0, 0, 0.3);
- padding: 2px 6px;
- border-radius: 3px;
- color: #ffb86c;
- font-family: 'Consolas', monospace;
- }
- .sidebar-content pre {
- background: rgba(0, 0, 0, 0.4);
- padding: 15px;
- border-radius: 8px;
- overflow-x: auto;
- border-left: 3px solid #00d4ff;
- }
- .sidebar-content pre code {
- background: none;
- padding: 0;
- }
- .sidebar-content ul, .sidebar-content ol {
- padding-left: 25px;
- margin: 10px 0;
- }
- .sidebar-content li {
- margin: 5px 0;
- }
- .sidebar-content blockquote {
- border-left: 4px solid #00d4ff;
- padding-left: 15px;
- margin: 15px 0;
- color: #b8b8b8;
- font-style: italic;
- }
- .sidebar-content table {
- width: 100%;
- border-collapse: collapse;
- margin: 15px 0;
- }
- .sidebar-content th, .sidebar-content td {
- border: 1px solid rgba(255, 255, 255, 0.1);
- padding: 10px;
- text-align: left;
- }
- .sidebar-content th {
- background: rgba(0, 212, 255, 0.1);
- color: #00d4ff;
- font-weight: 600;
- }
- .sidebar-content td {
- background: rgba(0, 0, 0, 0.2);
- }
- .reference-source {
- background: rgba(0, 212, 255, 0.1);
- border: 1px solid rgba(0, 212, 255, 0.3);
- padding: 12px 15px;
- border-radius: 8px;
- margin-bottom: 20px;
- color: #00d4ff;
- font-weight: 500;
- }
- /* 侧边栏遮罩层 */
- .sidebar-overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.7);
- backdrop-filter: blur(4px);
- opacity: 0;
- visibility: hidden;
- transition: all 0.3s ease;
- z-index: 999;
- }
- .sidebar-overlay.active {
- opacity: 1;
- visibility: visible;
- }
- /* LaTeX公式样式优化 */
- .sidebar-content .katex {
- color: #e0e0e0;
- }
- .sidebar-content .katex-display {
- margin: 20px 0;
- }
- /* 查询对信息 */
- .query-info {
- background: rgba(0, 212, 255, 0.05);
- border: 1px solid rgba(0, 212, 255, 0.2);
- border-radius: 6px;
- padding: 10px;
- margin-top: 10px;
- font-size: 0.85rem;
- color: #888;
- }
- .query-info strong {
- color: #00d4ff;
- }
- /* 空状态提示 */
- .empty-state {
- text-align: center;
- padding: 60px 20px;
- color: #666;
- }
- .empty-state-icon {
- font-size: 4rem;
- margin-bottom: 20px;
- }
- .empty-state-text {
- font-size: 1.1rem;
- margin-bottom: 10px;
- }
- .empty-state-hint {
- font-size: 0.9rem;
- color: #555;
- }
- /* ==================== 环节调试样式 ==================== */
- .debug-section {
- margin-bottom: 30px;
- }
- .debug-section h2 {
- color: #00d4ff;
- margin-bottom: 20px;
- font-size: 1.3rem;
- }
- .debug-section .server-status {
- position: absolute;
- top: 0;
- right: 25px;
- }
- /* 环节选择器 */
- .step-selector {
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 12px;
- padding: 20px;
- margin-bottom: 20px;
- }
- .step-selector-label {
- display: block;
- color: #888;
- font-size: 0.85rem;
- margin-bottom: 12px;
- }
- .step-buttons {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-wrap: wrap;
- }
- .step-buttons.second-row {
- margin-top: 10px;
- }
- .step-btn {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 10px 16px;
- background: rgba(255, 255, 255, 0.05);
- border: 2px solid rgba(255, 255, 255, 0.12);
- border-radius: 10px;
- color: #aaa;
- cursor: pointer;
- transition: all 0.25s ease;
- font-size: 0.9rem;
- }
- .step-btn:hover {
- border-color: #00d4ff;
- color: #00d4ff;
- background: rgba(0, 212, 255, 0.08);
- }
- .step-btn.active {
- border-color: #00ff88;
- color: #00ff88;
- background: rgba(0, 255, 136, 0.12);
- box-shadow: 0 0 16px rgba(0, 255, 136, 0.15);
- }
- .step-num {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 22px;
- height: 22px;
- border-radius: 50%;
- background: rgba(0, 212, 255, 0.2);
- color: #00d4ff;
- font-size: 0.75rem;
- font-weight: bold;
- flex-shrink: 0;
- }
- .step-btn.active .step-num {
- background: rgba(0, 255, 136, 0.25);
- color: #00ff88;
- }
- .step-name {
- font-weight: 600;
- white-space: nowrap;
- }
- .step-desc {
- font-size: 0.75rem;
- color: #666;
- font-family: 'Consolas', monospace;
- }
- .step-arrow {
- color: #4a4a6a;
- font-size: 1.2rem;
- font-weight: bold;
- user-select: none;
- }
- /* 当前环节提示 */
- .current-step-info {
- background: rgba(0, 212, 255, 0.08);
- border: 1px solid rgba(0, 212, 255, 0.2);
- border-radius: 8px;
- padding: 12px 16px;
- margin-bottom: 20px;
- display: flex;
- align-items: center;
- gap: 10px;
- }
- .step-info-icon {
- font-size: 1.3rem;
- }
- .step-info-text {
- color: #e0e0e0;
- font-size: 0.95rem;
- }
- .step-info-text strong {
- color: #00d4ff;
- }
- /* 调试输入区域 */
- .debug-input-area {
- margin-bottom: 20px;
- }
- .debug-input-area .input-area textarea {
- min-height: 150px;
- }
- /* 参数面板 */
- .params-panel {
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 10px;
- margin-top: 12px;
- overflow: hidden;
- }
- .params-header {
- padding: 12px 16px;
- cursor: pointer;
- display: flex;
- justify-content: space-between;
- align-items: center;
- color: #aaa;
- font-size: 0.9rem;
- transition: background 0.2s;
- }
- .params-header:hover {
- background: rgba(255, 255, 255, 0.03);
- }
- .params-toggle {
- font-size: 0.8rem;
- color: #666;
- }
- .params-body {
- padding: 16px;
- border-top: 1px solid rgba(255, 255, 255, 0.08);
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
- gap: 12px;
- }
- .param-row {
- display: flex;
- flex-direction: column;
- gap: 5px;
- }
- .param-row label {
- font-size: 0.8rem;
- color: #888;
- font-family: 'Consolas', monospace;
- }
- .param-row input {
- background: rgba(0, 0, 0, 0.4);
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: 6px;
- padding: 8px 12px;
- color: #e0e0e0;
- font-size: 0.9rem;
- transition: border-color 0.2s;
- }
- .param-row input:focus {
- outline: none;
- border-color: #00d4ff;
- }
- /* 调试结果区域 */
- .debug-result-section {
- margin-top: 30px;
- }
- .debug-result-section h3 {
- color: #00d4ff;
- margin-bottom: 20px;
- font-size: 1.2rem;
- }
- /* 错误展示 */
- .debug-error-box {
- background: rgba(255, 85, 85, 0.1);
- border: 1px solid rgba(255, 85, 85, 0.3);
- border-radius: 10px;
- padding: 20px;
- display: flex;
- align-items: flex-start;
- gap: 14px;
- }
- .debug-error-icon {
- font-size: 1.5rem;
- flex-shrink: 0;
- }
- .debug-error-msg {
- color: #ff8888;
- font-size: 0.95rem;
- word-break: break-all;
- }
- /* 摘要网格 */
- .debug-summary-box {
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 10px;
- padding: 16px;
- margin-bottom: 16px;
- }
- .debug-summary-box h4 {
- color: #ffb86c;
- margin-bottom: 12px;
- font-size: 0.95rem;
- }
- .debug-summary-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
- gap: 10px;
- }
- .debug-summary-item {
- background: rgba(0, 0, 0, 0.2);
- border-radius: 6px;
- padding: 10px 14px;
- display: flex;
- flex-direction: column;
- gap: 4px;
- }
- .debug-summary-key {
- font-size: 0.75rem;
- color: #888;
- font-family: 'Consolas', monospace;
- }
- .debug-summary-val {
- font-size: 0.95rem;
- color: #e0e0e0;
- font-weight: 500;
- word-break: break-all;
- }
- /* 输出盒子 */
- .debug-output-box {
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 10px;
- padding: 16px;
- margin-bottom: 16px;
- }
- .debug-output-box h4 {
- color: #50fa7b;
- margin-bottom: 12px;
- font-size: 0.95rem;
- }
- /* 数据表格 */
- .debug-table-wrap {
- overflow-x: auto;
- border-radius: 8px;
- border: 1px solid rgba(255, 255, 255, 0.08);
- }
- .debug-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 0.85rem;
- }
- .debug-table th {
- background: rgba(0, 212, 255, 0.1);
- color: #00d4ff;
- padding: 10px 14px;
- text-align: left;
- font-weight: 600;
- white-space: nowrap;
- border-bottom: 2px solid rgba(0, 212, 255, 0.2);
- }
- .debug-table td {
- padding: 10px 14px;
- border-bottom: 1px solid rgba(255, 255, 255, 0.05);
- color: #e0e0e0;
- vertical-align: top;
- }
- .debug-table tbody tr:hover {
- background: rgba(255, 255, 255, 0.03);
- }
- .preview-cell {
- max-width: 300px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- color: #aaa;
- font-size: 0.82rem;
- }
- .score-badge {
- background: rgba(189, 147, 249, 0.2);
- color: #bd93f9;
- padding: 2px 8px;
- border-radius: 8px;
- font-family: 'Consolas', monospace;
- font-size: 0.82rem;
- }
- /* 结果卡片 */
- .debug-result-count {
- color: #888;
- font-size: 0.85rem;
- margin-bottom: 12px;
- }
- .debug-result-cards {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .debug-result-card {
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-left: 3px solid #00d4ff;
- border-radius: 8px;
- padding: 14px 16px;
- transition: border-color 0.2s;
- }
- .debug-result-card:hover {
- border-left-color: #00ff88;
- }
- .debug-result-card.parent-doc {
- border-left-color: #ffb86c;
- }
- .drc-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 8px;
- }
- .drc-index {
- font-weight: 600;
- color: #00d4ff;
- font-size: 0.9rem;
- }
- .drc-score {
- font-family: 'Consolas', monospace;
- font-size: 0.82rem;
- color: #bd93f9;
- background: rgba(189, 147, 249, 0.1);
- padding: 2px 8px;
- border-radius: 6px;
- }
- .drc-file {
- color: #888;
- font-size: 0.8rem;
- margin-bottom: 8px;
- }
- .drc-content {
- color: #ccc;
- font-size: 0.85rem;
- line-height: 1.6;
- word-break: break-all;
- }
- /* 链式流程图 */
- .chain-flow {
- margin-bottom: 20px;
- }
- .chain-flow-container {
- display: flex;
- align-items: flex-start;
- gap: 10px;
- padding: 20px;
- background: rgba(0, 0, 0, 0.2);
- border-radius: 12px;
- overflow-x: auto;
- flex-wrap: wrap;
- }
- .chain-step {
- background: rgba(255, 255, 255, 0.05);
- border: 2px solid #4a4a6a;
- border-radius: 10px;
- padding: 14px;
- min-width: 150px;
- text-align: center;
- transition: all 0.3s;
- }
- .chain-step-success {
- border-color: #00ff88;
- background: rgba(0, 255, 136, 0.06);
- }
- .chain-step-error {
- border-color: #ff5555;
- background: rgba(255, 85, 85, 0.06);
- }
- .chain-step-pending {
- border-color: #4a4a6a;
- opacity: 0.5;
- }
- .chain-step-header {
- display: flex;
- justify-content: center;
- gap: 8px;
- margin-bottom: 6px;
- }
- .chain-step-icon {
- font-size: 1.2rem;
- }
- .chain-step-status {
- font-size: 0.9rem;
- }
- .chain-step-name {
- font-weight: 600;
- color: #e0e0e0;
- font-size: 0.85rem;
- margin-bottom: 4px;
- }
- .chain-step-time {
- color: #ffb86c;
- font-size: 0.75rem;
- margin-bottom: 4px;
- }
- .chain-step-summary {
- color: #888;
- font-size: 0.72rem;
- line-height: 1.4;
- }
- .chain-arrow {
- color: #4a4a6a;
- font-size: 1.5rem;
- align-self: center;
- flex-shrink: 0;
- }
- /* 环节详情 */
- .debug-step-detail {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .debug-step-detail .data-section {
- background: rgba(0, 0, 0, 0.2);
- border-radius: 8px;
- padding: 12px;
- }
- .debug-step-detail .data-section h4 {
- color: #00d4ff;
- margin-bottom: 8px;
- font-size: 0.85rem;
- }
- @media (max-width: 768px) {
- .step-buttons {
- flex-direction: column;
- }
- .step-arrow {
- transform: rotate(90deg);
- }
- .chain-flow-container {
- flex-direction: column;
- }
- .chain-arrow {
- transform: rotate(90deg);
- align-self: center;
- }
- .debug-table-wrap {
- font-size: 0.75rem;
- }
- }
|