diff --git a/web/index.html b/web/index.html index f8f3093..8ea54f4 100644 --- a/web/index.html +++ b/web/index.html @@ -77,6 +77,15 @@ .action-agent { font-weight: 600; color: #a78bfa; } .action-say { color: #fbbf24; } .action-do { color: #34d399; } + + /* 派系分布 */ + .factions-bar { display: flex; height: 24px; border-radius: 6px; overflow: hidden; margin-top: 12px; } + .faction-segment { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; transition: width 0.3s ease; } + .faction-optimists { background: #22c55e; color: #052e16; } + .faction-neutral { background: #71717a; color: #fafafa; } + .faction-fearful { background: #ef4444; color: #450a0a; } + .factions-legend { display: flex; gap: 12px; margin-top: 8px; font-size: 11px; color: #a1a1aa; } + .legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
@@ -121,6 +130,12 @@