CinePlex/css/photos.css
2025-08-16 10:53:11 +02:00

150 lines
3.0 KiB
CSS

#photos-section {
padding-top: 2rem;
}
.photos-header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 1rem;
margin-bottom: 2rem;
padding: 1.5rem;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: var(--border-radius-lg);
}
#photos-breadcrumb {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
padding: 0;
margin: 0;
list-style: none;
font-size: 0.95rem;
}
#photos-breadcrumb .breadcrumb-item a {
color: var(--text-secondary);
text-decoration: none;
transition: var(--transition);
padding: 0.3rem 0.6rem;
border-radius: var(--border-radius-sm);
}
#photos-breadcrumb .breadcrumb-item a:hover {
color: var(--accent);
background-color: var(--glass);
}
#photos-breadcrumb .breadcrumb-item.active {
color: var(--text-primary);
font-weight: 600;
}
#photos-breadcrumb .breadcrumb-divider {
color: var(--text-secondary);
opacity: 0.5;
margin: 0 0.3rem;
}
#photos-token-select {
min-width: 250px;
}
#photos-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1.8rem;
}
.photo-card, .album-card {
background: var(--card-bg);
border-radius: var(--border-radius-lg);
overflow: hidden;
position: relative;
transition: var(--transition);
box-shadow: var(--shadow);
cursor: pointer;
border: 1px solid transparent;
aspect-ratio: 1 / 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 1rem;
}
.photo-card:hover, .album-card:hover {
transform: translateY(-10px) scale(1.03);
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
border-color: rgba(0, 224, 255, 0.5);
z-index: 10;
}
.album-card-icon {
font-size: 4rem;
color: var(--accent);
margin-bottom: 1rem;
transition: transform 0.4s ease;
}
.album-card:hover .album-card-icon {
transform: scale(1.1);
}
.album-card-title {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-primary);
}
.album-card-meta {
font-size: 0.85rem;
color: var(--text-secondary);
margin-top: 0.3rem;
}
.photo-card {
padding: 0;
justify-content: flex-end;
}
.photo-card-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.photo-card:hover .photo-card-img {
transform: scale(1.08);
}
.photo-card-caption {
position: relative;
z-index: 1;
width: 100%;
padding: 0.8rem;
background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 20%, transparent 100%);
color: var(--text-primary);
font-size: 0.9rem;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
opacity: 0;
transform: translateY(10px);
transition: var(--transition);
}
.photo-card:hover .photo-card-caption {
opacity: 1;
transform: translateY(0);
}