This commit is contained in:
2026-09-13 20:15:48 +02:00
parent ffd32a6b63
commit 399f2be456
24 changed files with 2159 additions and 90 deletions
+268
View File
@@ -20717,4 +20717,272 @@ div#flash,
.bulk-modal-card {
padding: 14px;
}
}
/* ==========================================================================
ALBUM GALLERY & INDICATOR STYLES
========================================================================== */
.album-indicator {
padding: 1px 5px;
border-radius: 4px;
font-size: 0.65em;
font-weight: 700;
letter-spacing: 0.03em;
line-height: 1.4;
pointer-events: none;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(6px);
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.25);
z-index: 10;
display: inline-flex;
align-items: center;
gap: 3px;
}
.album-indicator i {
font-size: 0.85em;
color: var(--accent);
}
.album-gallery-container {
position: relative;
overflow: hidden;
}
.album-active-image {
transition: opacity 0.18s ease;
}
.album-img-fade {
animation: albumFadeIn 0.22s ease-out;
}
@keyframes albumFadeIn {
from {
opacity: 0.4;
transform: scale(0.99);
}
to {
opacity: 1;
transform: scale(1);
}
}
.album-controls-overlay {
position: absolute;
inset: 0;
pointer-events: none;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
z-index: 20;
}
.album-btn {
background: none;
border: none;
color: var(--accent);
pointer-events: auto;
opacity: 0.5;
cursor: pointer;
}
.album-btn i {
font-size: 1.1rem;
transition: transform 0.15s ease;
}
.album-btn:hover {
opacity: 1;
color: var(--accent);
}
.album-counter-pill {
position: absolute;
top: 14px;
left: 50%;
transform: translateX(-50%);
pointer-events: auto;
background: rgba(16, 16, 20, 0.75);
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
color: #fff;
padding: 5px 14px;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 600;
display: flex;
align-items: center;
gap: 7px;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
letter-spacing: 0.03em;
user-select: none;
}
.album-counter-pill i {
color: var(--accent);
font-size: 0.95rem;
}
.album-thumbnails-strip {
position: absolute;
bottom: 12px;
left: 50%;
transform: translateX(-50%) translateY(10px);
max-width: calc(100% - 32px);
display: flex;
align-items: center;
gap: 8px;
padding: 6px 10px;
background: rgba(14, 14, 18, 0.85);
border: 1px solid rgba(255, 255, 255, 0.16);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border-radius: 12px;
z-index: 22;
overflow-x: auto;
scrollbar-width: none;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.album-gallery-container:hover .album-thumbnails-strip,
.album-gallery-container:focus-within .album-thumbnails-strip,
.album-thumbnails-strip.is-visible {
opacity: 1;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}
.album-thumbnails-strip::-webkit-scrollbar {
display: none;
}
.album-video-wrapper,
.album-audio-wrapper {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: #000;
}
.album-gallery-container.is-video-active .album-thumbnails-strip,
.album-gallery-container.is-audio-active .album-thumbnails-strip {
bottom: 58px;
}
.album-gallery-container.is-video-active .image-modal-btn,
.album-gallery-container.is-audio-active .image-modal-btn {
display: none !important;
}
@media (max-width: 768px) {
.album-gallery-container.is-video-active .album-thumbnails-strip,
.album-gallery-container.is-audio-active .album-thumbnails-strip {
bottom: 48px;
}
}
.album-thumb-item {
position: relative;
width: 44px;
height: 44px;
border-radius: 6px;
overflow: hidden;
border: 2px solid transparent;
opacity: 0.6;
cursor: pointer;
flex-shrink: 0;
padding: 0;
margin: 0;
background: #000;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.album-thumb-item:hover {
opacity: 0.9;
transform: scale(1.06);
}
.album-thumb-item.active {
border-color: var(--accent);
opacity: 1;
transform: scale(1.1);
box-shadow: 0 0 12px rgba(var(--accent-rgb, 31, 178, 176), 0.6);
}
.album-thumb-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.album-thumb-mime-badge {
position: absolute;
bottom: 2px;
right: 2px;
background: rgba(0, 0, 0, 0.75);
color: #fff;
font-size: 0.62rem;
padding: 1px 3px;
border-radius: 3px;
pointer-events: none;
line-height: 1;
}
.album-media-stage {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.album-stage-link {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#f0ck-album-video {
max-width: 100%;
max-height: 100%;
border-radius: 4px;
}
@media (max-width: 768px) {
.album-btn {
width: 38px;
height: 38px;
}
.album-btn i {
font-size: 0.95rem;
}
.album-controls-overlay {
padding: 0 8px;
}
.album-counter-pill {
top: 10px;
padding: 3px 10px;
font-size: 0.78rem;
}
.album-thumb-item {
width: 36px;
height: 36px;
}
.album-thumbnails-strip {
bottom: 8px;
padding: 4px 8px;
gap: 6px;
}
}