feat: per-album hero image – picker from album assets, fullbleed banner on detail page
This commit is contained in:
@@ -631,6 +631,56 @@
|
||||
background: var(--admin-bg);
|
||||
}
|
||||
|
||||
/* Album Hero Field */
|
||||
.album-hero-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.album-hero-preview {
|
||||
position: relative;
|
||||
width: 80px;
|
||||
height: 54px;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
border: 1px solid var(--admin-border);
|
||||
}
|
||||
|
||||
.album-hero-preview img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.album-hero-remove {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 0, 0, 0.65);
|
||||
color: #fff;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.album-hero-empty {
|
||||
font-size: 0.8rem;
|
||||
color: var(--admin-text-muted);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.album-tile-uuid {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user