Camera app scan: the first scan only opens the page, joining takes the ring or a second scan read within 4 s of the qr leaving the screen (votes keep 12 s); organizers can turn it off; open vote options and turnout bar stay above the big qr; native scan noted under the check
This commit is contained in:
+2
-1
@@ -60,13 +60,14 @@ dialog .actions button { flex: 1; }
|
||||
.celebrate svg { width: 132px; height: 132px; animation: cel-pop .5s cubic-bezier(.2, .9, .3, 1.25) both; }
|
||||
.celebrate .tick { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cel-tick .45s .25s cubic-bezier(.3, .7, .2, 1) forwards; }
|
||||
.celebrate p { margin: 0; font: 700 1.3rem var(--round); animation: cel-in .4s .35s ease both; }
|
||||
.celebrate small { margin-top: -10px; font: 600 .95rem var(--round); color: var(--ink-2); animation: cel-in .4s .45s ease both; }
|
||||
.celebrate.out { animation: cel-out .4s ease forwards; }
|
||||
@keyframes cel-in { from { opacity: 0; } }
|
||||
@keyframes cel-out { to { opacity: 0; } }
|
||||
@keyframes cel-pop { from { transform: scale(.6) rotate(-40deg); opacity: 0; } }
|
||||
@keyframes cel-tick { to { stroke-dashoffset: 0; } }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.celebrate, .celebrate svg, .celebrate p { animation: none; }
|
||||
.celebrate, .celebrate svg, .celebrate p, .celebrate small { animation: none; }
|
||||
.celebrate .tick { animation: none; stroke-dashoffset: 0; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user