diff --git a/web/index.html b/web/index.html index c54944e..d45609b 100644 --- a/web/index.html +++ b/web/index.html @@ -37,6 +37,21 @@ .btn-quick { background: #3f3f46; color: #a1a1aa; } .btn-quick:hover { background: #52525b; color: #e4e4e7; } + /* 投票按钮 */ + .vote-section { display: flex; gap: 8px; margin-top: 10px; align-items: center; } + .vote-label { font-size: 12px; color: #71717a; } + .btn-vote { padding: 8px 16px; font-weight: 600; } + .btn-vote-opt { background: #166534; color: #86efac; } + .btn-vote-opt:hover { background: #15803d; } + .btn-vote-fear { background: #7f1d1d; color: #fca5a5; } + .btn-vote-fear:hover { background: #991b1b; } + + /* 投票统计 */ + .votes-display { display: flex; gap: 16px; margin-top: 8px; font-size: 13px; } + .vote-count { display: flex; align-items: center; gap: 4px; } + .vote-count.opt { color: #86efac; } + .vote-count.fear { color: #fca5a5; } + /* 能量条 - 极简 */ #global-meter { width: 100%; height: 16px; background: #27272a; border-radius: 8px; margin-bottom: 16px; overflow: hidden; } #meter-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #00ffcc, #ff0066); transition: width 0.3s ease; } @@ -133,6 +148,15 @@ +