forked from MyZubster-Ecosystem/myzubster
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVotingPanel.css
More file actions
19 lines (19 loc) 路 1.68 KB
/
Copy pathVotingPanel.css
File metadata and controls
19 lines (19 loc) 路 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.voting-panel { font-family: system-ui, sans-serif; padding: 1rem; }
.vp-loading, .vp-error { text-align: center; padding: 1rem; color: #888; }
.vp-bar { display: flex; height: 28px; border-radius: 8px; overflow: hidden; margin: 0.75rem 0 0.25rem; }
.vp-bar-for { background: #4caf50; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; min-width: 30px; transition: width 0.3s; }
.vp-bar-against { background: #f44336; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; min-width: 30px; transition: width 0.3s; }
.vp-labels { display: flex; justify-content: space-between; font-size: 0.85rem; color: #666; margin-bottom: 1rem; }
.vp-vote-actions { margin-bottom: 1rem; }
.vp-current { font-size: 0.85rem; color: #2196f3; }
.vp-buttons { display: flex; gap: 0.5rem; margin: 0.5rem 0; }
.vp-buttons button { padding: 0.5rem 1rem; border: none; border-radius: 8px; cursor: pointer; font-size: 0.9rem; }
.vp-btn-for { background: #4caf50; color: #fff; }
.vp-btn-against { background: #f44336; color: #fff; }
.vp-btn-abstain { background: #9e9e9e; color: #fff; }
.vp-reason { width: 100%; padding: 0.4rem; border: 1px solid #ccc; border-radius: 6px; margin-top: 0.5rem; box-sizing: border-box; }
.vp-result { padding: 0.75rem; background: #e8f5e9; border-radius: 8px; text-align: center; font-weight: 600; margin-bottom: 1rem; }
.vp-voters { display: flex; flex-direction: column; gap: 0.3rem; }
.vp-voter { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; padding: 0.3rem 0; border-bottom: 1px solid #f0f0f0; }
.vp-voter-id { color: #666; }
.vp-weight { color: #999; font-size: 0.8rem; }