ShowerLoop-cc/docker/showerloop/public/static/css/chrome-video-fallback.css

98 lines
1.5 KiB
CSS

/* Chrome-specific video fallback styles */
/* Poster image styling */
.chrome-poster-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
z-index: 1;
border-radius: 4px;
}
/* Play button overlay */
.chrome-play-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 2;
}
.chrome-play-button {
width: 68px;
height: 48px;
transition: transform 0.2s;
filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}
.chrome-play-overlay:hover .chrome-play-button {
transform: scale(1.1);
}
/* Video lightbox */
.video-lightbox {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.85);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.video-lightbox-content {
position: relative;
width: 90%;
max-width: 960px;
}
.video-lightbox video {
width: 100%;
max-height: 90vh;
border-radius: 4px;
}
.close-lightbox {
position: absolute;
top: -40px;
right: 0;
background: none;
border: none;
color: white;
font-size: 30px;
cursor: pointer;
z-index: 10;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
}
.close-lightbox:hover {
color: #f00;
}
/* Mobile optimizations */
@media (max-width: 768px) {
.video-lightbox-content {
width: 95%;
}
.close-lightbox {
top: -35px;
right: 0;
}
}