Hand-added votes per question (paper, show of hands): counted in the turnout and shown hatched orange at the end of each result bar, kept apart from phone ballots
This commit is contained in:
@@ -116,6 +116,11 @@ button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
|
||||
.bar-label { overflow-wrap: anywhere; }
|
||||
.bar-track { height: 12px; background: var(--bg); border-radius: 99px; overflow: hidden; }
|
||||
.bar-fill { height: 100%; background: var(--ink-3); border-radius: 99px; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
|
||||
/* one bar = phone ballots then hand-added votes, hatched orange */
|
||||
.bar-stack { height: 100%; display: flex; border-radius: 99px; overflow: hidden; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
|
||||
.bar-stack > div { flex: 1 1 0; border-radius: 0; height: 100%; }
|
||||
.bar-extra, .progress > .p-extra { background: repeating-linear-gradient(-45deg, #f08a24 0 5px, #f9c58f 5px 10px); }
|
||||
.extra-note { color: #b85e0b; font-weight: 600; }
|
||||
.bar-row.lead .bar-fill { background: var(--mark); }
|
||||
.bar-row.lead .bar-label { font-weight: 700; }
|
||||
.bar-num { font: 700 1rem var(--round); min-width: 80px; text-align: right; }
|
||||
@@ -124,6 +129,9 @@ button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
|
||||
|
||||
.progress { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 6px; }
|
||||
.progress > div { height: 100%; background: var(--ink); border-radius: 99px; transition: width .3s; }
|
||||
.progress { display: flex; }
|
||||
.progress > .p-extra { border-radius: 0 99px 99px 0; }
|
||||
.progress > div:not(:last-child) { border-radius: 99px 0 0 99px; }
|
||||
|
||||
.ring { display: block; overflow: visible; }
|
||||
.ring .seg, .ring .fill { fill: none; stroke-linecap: round; }
|
||||
|
||||
Reference in New Issue
Block a user