Spotify-Links, Live-Status-Feature (grüner Punkt) mit Owner-Toggle
This commit is contained in:
@@ -425,6 +425,29 @@ footer.site-footer {
|
||||
font-size: .8rem; color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* ---------- Live-Status-Punkt ---------- */
|
||||
.live-dot {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: #6b7280; /* grau = aktuell offline */
|
||||
margin-right: .45rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.live-dot.is-live {
|
||||
background: #22c55e; /* grün = live */
|
||||
animation: live-pulse 1.6s infinite;
|
||||
}
|
||||
@keyframes live-pulse {
|
||||
0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
|
||||
70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
|
||||
100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.live-dot.is-live { animation: none; }
|
||||
}
|
||||
|
||||
/* ---------- Badges / Hierarchy ---------- */
|
||||
.badge { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .6rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted); }
|
||||
.badge.rank-1 { border-color: var(--accent); color: var(--accent); }
|
||||
|
||||
Reference in New Issue
Block a user