feat(favs): Sterne-Favoriten pro Sound; Speicherung per Cookie (ohne Login)

This commit is contained in:
vibe-bot 2025-08-08 03:21:01 +02:00
parent f619cac653
commit 99588e446c
3 changed files with 70 additions and 6 deletions

View file

@ -33,7 +33,8 @@ header p { opacity: .8; }
.error { background: rgba(255, 99, 99, .12); color: #ffd1d1; border: 1px solid rgba(255, 99, 99, .3); padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.sound-wrap { position: relative; }
.sound {
padding: 18px 16px;
border-radius: 14px;
@ -48,6 +49,22 @@ header p { opacity: .8; }
.sound:hover { filter: brightness(1.06); }
.sound:disabled { opacity: 0.6; cursor: not-allowed; }
.fav {
position: absolute;
top: 8px;
right: 10px;
background: rgba(0,0,0,.25);
color: #fff;
border: 1px solid rgba(255,255,255,.2);
border-radius: 999px;
width: 28px;
height: 28px;
display: grid;
place-items: center;
cursor: pointer;
}
.fav.active { background: #eab308; color: #111; border-color: transparent; }
.hint { opacity: .7; padding: 24px 0; }
/* footer-info entfernt */