144 lines
2.7 KiB
SCSS
144 lines
2.7 KiB
SCSS
/**
|
|
* Styles for the shared music tile in the filmstrip.
|
|
*/
|
|
|
|
.shared-music-tile {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.shared-music-player-wrapper {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
|
|
#sharedMusic {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.youtube-player-container,
|
|
.embed-player-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.shared-music-audio-bg {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
&::before {
|
|
content: '🎵';
|
|
font-size: 48px;
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.shared-music-controls-overlay {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
padding: 8px;
|
|
background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
|
|
.shared-music-title,
|
|
.shared-music-control-button,
|
|
.shared-music-status {
|
|
pointer-events: auto;
|
|
}
|
|
}
|
|
|
|
.shared-music-title {
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
padding: 4px 8px;
|
|
max-width: 90%;
|
|
margin: 0 auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.shared-music-control-button {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
margin: 8px auto 0;
|
|
|
|
&:hover {
|
|
background: #fff;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
&:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: #1a1a2e;
|
|
}
|
|
}
|
|
|
|
.shared-music-status {
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
padding: 4px 8px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/* Ensure YouTube iframe is interactive */
|
|
.shared-music-player-wrapper iframe {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
/* Hide the old styles that are no longer needed */
|
|
.shared-music-thumbnail,
|
|
.shared-music-overlay {
|
|
display: none;
|
|
}
|