Hide floating emoji once student enters their account
Confetti only shows on the kid picker screen, not inside the student's account. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
dcdf4bf1fd
commit
dc147821e1
1 file changed
+2
@@ -107,7 +107,9 @@ body:has(#view-home:not([hidden])) .page-confetti span { opacity: 0.7; }
|
|||||||
}
|
}
|
||||||
.page-confetti {
|
.page-confetti {
|
||||||
position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
|
position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
body:has(#view-home:not([hidden])) .page-confetti { display: block; }
|
||||||
.page-confetti span {
|
.page-confetti span {
|
||||||
position: absolute; font-size: 1.8rem; user-select: none;
|
position: absolute; font-size: 1.8rem; user-select: none;
|
||||||
animation: confetti-float ease-in-out infinite;
|
animation: confetti-float ease-in-out infinite;
|
||||||
|
|||||||
Reference in new issue
Block a user