minor styling of play button
This commit is contained in:
parent
14d11a8ae3
commit
aca1357128
2 changed files with 33 additions and 35 deletions
|
|
@ -1817,10 +1817,28 @@ button {
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Music lightbox play button - clean version */
|
||||||
.music-lightbox-play-btn {
|
.music-lightbox-play-btn {
|
||||||
width: 60px;
|
width: 80px;
|
||||||
height: 60px;
|
height: 80px;
|
||||||
font-size: 2rem;
|
border-radius: 50%;
|
||||||
|
background: var(--accent-yellow);
|
||||||
|
color: var(--accent-black);
|
||||||
|
border: 3px solid rgba(255, 255, 255, 0.3);
|
||||||
|
font-size: 2.5rem;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0 4px 30px rgba(255, 215, 0, 0.3);
|
||||||
|
line-height: 1;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.music-lightbox-play-btn:hover {
|
||||||
|
transform: scale(1.1);
|
||||||
|
box-shadow: 0 8px 40px rgba(255, 215, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-lightbox-close {
|
.music-lightbox-close {
|
||||||
|
|
@ -1862,7 +1880,7 @@ button {
|
||||||
to { opacity: 1; transform: scale(1); }
|
to { opacity: 1; transform: scale(1); }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Music card play overlay */
|
/* Music card play overlay - Clean version without circle */
|
||||||
.music-image-wrapper {
|
.music-image-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
@ -1900,37 +1918,19 @@ button {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-play-circle {
|
/* Play button - clean emoji, no circle */
|
||||||
width: 60px;
|
.music-play-btn {
|
||||||
height: 60px;
|
font-size: 4rem;
|
||||||
border-radius: 50%;
|
color: white;
|
||||||
background: var(--accent-yellow);
|
text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
|
||||||
color: var(--accent-black);
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 1.8rem;
|
|
||||||
border: 3px solid rgba(255, 255, 255, 0.3);
|
|
||||||
box-shadow: 0 4px 30px rgba(255, 215, 0, 0.3);
|
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
|
line-height: 1;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-play-circle:hover {
|
.music-play-btn:hover {
|
||||||
transform: scale(1.1);
|
transform: scale(1.15);
|
||||||
box-shadow: 0 8px 40px rgba(255, 215, 0, 0.5);
|
text-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
|
||||||
}
|
|
||||||
|
|
||||||
.music-card.clickable {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.music-card.clickable .music-image {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide default audio controls on card */
|
|
||||||
.music-card audio {
|
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============ END CYBERPUNK FOOTER ============ */
|
/* ============ END CYBERPUNK FOOTER ============ */
|
||||||
|
|
|
||||||
|
|
@ -264,9 +264,7 @@ function renderMusicTracks(tracks, containerId, randomize = false) {
|
||||||
<div class="music-image-wrapper">
|
<div class="music-image-wrapper">
|
||||||
${track.image ? `<img src="${track.image}" alt="${track.title}" class="music-image" loading="lazy">` : ''}
|
${track.image ? `<img src="${track.image}" alt="${track.title}" class="music-image" loading="lazy">` : ''}
|
||||||
<div class="music-play-overlay">
|
<div class="music-play-overlay">
|
||||||
<div class="music-play-circle">
|
<span class="music-play-btn">▶</span>
|
||||||
<span>▶</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="music-info-header">
|
<div class="music-info-header">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue