Auto commit: 2026-02-17T22:52:03.881Z
This commit is contained in:
parent
6be3a97820
commit
b0cf83ac7b
55
index.php
55
index.php
@ -214,15 +214,31 @@ $twitter_link = "https://twitter.com/";
|
||||
}
|
||||
|
||||
.track-cover-container {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 12px;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
|
||||
border: 2px solid rgba(255,255,255,0.1);
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(0,0,0,0.8);
|
||||
border: 4px solid #111;
|
||||
transition: transform 0.3s ease, box-shadow 0.1s ease;
|
||||
animation: spin-vinyl 30s linear infinite;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.track-cover-container::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: #111;
|
||||
border-radius: 50%;
|
||||
border: 2px solid rgba(255,255,255,0.2);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.track-cover-container img {
|
||||
@ -230,6 +246,19 @@ $twitter_link = "https://twitter.com/";
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: opacity 0.5s ease;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
@keyframes spin-vinyl {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.track-cover-container {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.track-cover-container i {
|
||||
@ -1494,8 +1523,8 @@ $twitter_link = "https://twitter.com/";
|
||||
<!-- Sticky Top Marquee -->
|
||||
<div id="sticky-now-playing" style="position: fixed; top: 0; left: 0; width: 100%; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(10px); z-index: 1000; padding: 10px 0; border-bottom: 1px solid rgba(56, 189, 248, 0.3); display: none; animation: slideDown 0.5s ease;">
|
||||
<div style="max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 15px; padding: 0 20px;">
|
||||
<div style="width: 40px; height: 40px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--primary-color);">
|
||||
<img id="sticky-track-cover" src="./assets/pasted-20260215-163754-def41f49.png" style="width: 100%; height: 100%; object-fit: cover;">
|
||||
<div style="width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--primary-color); animation: spin-vinyl 30s linear infinite;">
|
||||
<img id="sticky-track-cover" src="./assets/pasted-20260215-163754-def41f49.png" style="width: 100%; height: 100%; object-fit: cover; border-radius: 50%;">
|
||||
</div>
|
||||
<div style="overflow: hidden; white-space: nowrap; flex: 1; text-align: center;">
|
||||
<span style="color: var(--primary-color); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; margin-right: 10px;">SONANDO:</span>
|
||||
@ -2696,8 +2725,8 @@ $twitter_link = "https://twitter.com/";
|
||||
const likesCount = track.likes || '0';
|
||||
|
||||
item.innerHTML = `
|
||||
<img src="${track.cover}" style="width: 30px; height: 30px; border-radius: 4px; object-fit: cover;">
|
||||
<div style="flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: 0.7;">
|
||||
<img src="${track.cover}" style="width: 35px; height: 35px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); animation: spin-vinyl 45s linear infinite;">
|
||||
<div style="flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: 0.9; font-weight: 600;">
|
||||
${track.title}
|
||||
</div>
|
||||
<div style="display: flex; align-items: center; gap: 3px; color: #ff4444; font-weight: bold; opacity: 0.9;">
|
||||
@ -2815,11 +2844,11 @@ $twitter_link = "https://twitter.com/";
|
||||
if (tracks && tracks.length > 0) {
|
||||
container.style.display = 'block';
|
||||
list.innerHTML = tracks.map(track => `
|
||||
<div style="display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.03); padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: opacity 0.3s;">
|
||||
<img src="${track.cover || './assets/pasted-20260215-163754-def41f49.png'}" style="width: 35px; height: 35px; border-radius: 6px; object-fit: cover; box-shadow: 0 2px 5px rgba(0,0,0,0.2);">
|
||||
<div style="display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.03); padding: 10px 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: opacity 0.3s;">
|
||||
<img src="${track.cover || './assets/pasted-20260215-163754-def41f49.png'}" style="width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.1); animation: spin-vinyl 60s linear infinite;">
|
||||
<div style="flex: 1; overflow: hidden;">
|
||||
<div style="font-size: 0.8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff;">${track.title}</div>
|
||||
<div style="font-size: 0.7rem; opacity: 0.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--primary-color);">${track.artist || 'Lili Records'}</div>
|
||||
<div style="font-size: 0.9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff;">${track.title}</div>
|
||||
<div style="font-size: 0.75rem; opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--primary-color);">${track.artist || 'Lili Records'}</div>
|
||||
</div>
|
||||
</div>
|
||||
`).join('');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user