Big entry qr comes back while a closed vote waits for its results; progress ring fill uses real dash lengths (pathLength broke on some android webviews)

This commit is contained in:
2026-11-17 14:17:37 +01:00
parent 0697c27a01
commit cbc8fe9e98
3 changed files with 17 additions and 9 deletions
+3 -3
View File
@@ -128,12 +128,12 @@ button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.ring { display: block; overflow: visible; }
.ring .seg, .ring .fill { fill: none; stroke-linecap: round; }
.ring .seg { stroke: var(--line); }
/* empty fill sits one length ahead and hidden, so the round cap dot doesn't show */
/* empty fill sits one length ahead (offset set in js) and hidden, so the round cap dot doesn't show */
.ring .fill {
stroke: var(--ink); stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0;
stroke: var(--ink); opacity: 0;
transition: stroke-dashoffset .5s cubic-bezier(.3, .7, .2, 1), opacity .12s, stroke .22s;
}
.ring .fill.on { stroke-dashoffset: 0; opacity: 1; }
.ring .fill.on { opacity: 1; }
.ring .fill.last { stroke: var(--mark); }
@media (prefers-reduced-motion: reduce) { .ring .fill { transition: opacity .2s, stroke .2s; } }
.ring text { font: 700 20px var(--round); fill: var(--ink); }