#graph-container { width: 100%; height: 600px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; position: relative; overflow: hidden; } #graph-container svg { width: 100%; height: 100%; } #tooltip { position: absolute; background: #1a122e; border: 1px solid var(--primary); padding: 10px 14px; border-radius: 4px; font-size: 11px; pointer-events: none; display: none; z-index: 10; max-width: 300px; line-height: 1.6; } #tooltip .tt-name { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 4px; } #tooltip .tt-type { font-size: 10px; color: var(--text-muted); text-transform: uppercase; } #tooltip .tt-desc { margin-top: 4px; color: var(--text); font-size: 11px; } #tooltip .tt-stats { margin-top: 4px; font-size: 10px; color: var(--text-muted); } #detail-panel { position: absolute; right: 12px; top: 12px; width: 280px; background: rgba(26,18,46,0.95); border: 1px solid var(--border); border-radius: 4px; padding: 16px; font-size: 11px; display: none; z-index: 10; max-height: calc(100% - 24px); overflow-y: auto; } #detail-panel h3 { font-size: 16px; color: var(--primary); margin-bottom: 4px; } #detail-panel .dp-type { font-size: 10px; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; } #detail-panel .dp-desc { margin-bottom: 8px; line-height: 1.6; } #detail-panel .dp-stat { color: var(--text-muted); font-size: 10px; margin-bottom: 2px; } #detail-panel .dp-articles { margin-top: 8px; } #detail-panel .dp-articles a { display: block; font-size: 10px; color: var(--text-muted); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #detail-panel .dp-close { position: absolute; top: 8px; right: 12px; cursor: pointer; color: var(--text-muted); font-size: 16px; } .legend { display: flex; gap: 16px; justify-content: center; margin: 10px 0; font-size: 10px; color: var(--text-muted); } .legend span { display: flex; align-items: center; gap: 5px; } .legend .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; } .search-box { width: 100%; padding: 8px 12px; background: var(--bg); border: 1px solid var(--border); color: var(--text); font-family: var(--font-mono); font-size: 12px; border-radius: 4px; margin-bottom: 12px; outline: none; } .search-box:focus { border-color: var(--primary); } .search-box::placeholder { color: var(--text-muted); } .tabs { display: flex; gap: 0; margin-bottom: 12px; border-bottom: 2px solid var(--border); } .tab-btn { padding: 8px 18px; font-size: 12px; background: none; border: none; color: var(--text-muted); cursor: pointer; font-family: var(--font-mono); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; } .tab-btn:hover { color: var(--text); } .tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); } .lb-table { width: 100%; border-collapse: collapse; font-size: 11px; } .lb-table th { text-align: left; padding: 6px 8px; color: var(--text-muted); font-weight: 400; border-bottom: 1px solid var(--border); font-size: 10px; } .lb-table td { padding: 6px 8px; border-bottom: 1px solid rgba(42,31,66,0.5); } .lb-table .rank { color: var(--text-muted); width: 30px; text-align: center; } .lb-table .name { color: var(--text); font-weight: 600; } .lb-table .name a { color: var(--text); } .lb-table .name a:hover { color: var(--primary); } .lb-table .stat { color: var(--text-muted); text-align: right; } .lb-table .desc { color: var(--text-muted); font-size: 10px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lb-table tr:hover td { background: rgba(115,81,207,0.05); } @media (min-width: 900px) { .graph-layout { display: grid; grid-template-columns: 1fr 380px; gap: 16px; } #graph-container { height: 640px; } }

知识图谱

600 个节点 · 1546 条关系

产品 人物 VC 公司
x