This commit is contained in:
2026-07-16 02:16:17 +02:00
parent 93e8a39a40
commit 698f693700
2 changed files with 53 additions and 2 deletions

View File

@@ -5652,6 +5652,41 @@ body[type='login'] {
}
/* Hold-to-preview sticker overlay */
/* Sticker favorites toast notification */
.emoji-fav-toast {
position: fixed;
bottom: 80px;
left: 50%;
transform: translateX(-50%) translateY(20px);
background: rgba(20,20,20,0.92);
border: 1px solid var(--emoji-fav-color, #f5c518);
color: var(--white, #fff);
padding: 10px 20px;
border-radius: 24px;
font-size: 0.875em;
font-weight: 600;
white-space: nowrap;
pointer-events: none;
opacity: 0;
z-index: 100000;
backdrop-filter: blur(8px);
transition: none;
}
.emoji-fav-toast.toast-in {
animation: emojiToastIn 0.22s ease forwards;
}
.emoji-fav-toast.toast-out {
animation: emojiToastOut 0.3s ease forwards;
}
@keyframes emojiToastIn {
from { opacity: 0; transform: translateX(-50%) translateY(20px); }
to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes emojiToastOut {
from { opacity: 1; transform: translateX(-50%) translateY(0); }
to { opacity: 0; transform: translateX(-50%) translateY(10px); }
}
.sticker-preview-overlay {
position: fixed;
inset: 0;