feat: v2.2 batch (calendar, self-service, sort, description, filename search, stats, collab, invoice) on pre-redesign base

This commit is contained in:
Leon Tonhäuser committed 2026-11-30 21:20:13 +01:00
1 parent 453bece72c
commit 7204dd6b60
108 files changed
+10400 -105

No files matched your search

+153 -4
View File
@@ -471,16 +471,21 @@ a {
min-width: 0;
}
/* Header logos use the trimmed variants (logo-*-header.png): the originals
carry large transparent/white margins that shrank the mark to a few pixels
under the old width+max-height letterboxing. Height-led sizing with a fixed
aspect ratio reserves layout space without intrinsic width/height attrs. */
.brand-logo {
display: block;
width: min(10rem, 35vw);
height: auto;
max-height: 2.5rem;
height: 2.25rem;
width: auto;
max-width: min(12rem, 40vw);
object-fit: contain;
transition: opacity 0.2s ease;
}
.brand-logo-dark { display: none; }
.brand-logo-light { aspect-ratio: 800 / 441; }
.brand-logo-dark { display: none; aspect-ratio: 194 / 104; }
.dark .brand-logo-light { display: none; }
.dark .brand-logo-dark { display: block; }
@@ -1074,6 +1079,26 @@ a {
font-size: 0.9rem;
}
/* Photographer's description in the lightbox. Full caption width, scrollable
when long, so the image keeps the focus and the text stays readable. */
.lightbox-description {
flex-basis: 100%;
max-width: 62ch;
max-height: 24vh;
margin: 0;
overflow-y: auto;
color: rgb(255 255 255 / 88%);
font-size: 0.85rem;
line-height: 1.5;
text-align: left;
white-space: pre-line;
overflow-wrap: break-word;
}
.lightbox-figure-described .lightbox-image {
max-height: 60vh;
}
.lightbox-actions {
display: flex;
align-items: center;
@@ -1310,6 +1335,37 @@ a {
white-space: nowrap;
}
.usage-collab-option {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 0.9rem;
padding: 0.9rem 0;
border-bottom: 1px solid var(--line);
cursor: pointer;
}
.usage-collab-option input {
width: 1.05rem;
height: 1.05rem;
accent-color: var(--ink);
}
.usage-collab-option span {
display: grid;
gap: 0.2rem;
min-width: 0;
}
.usage-collab-option strong {
font-size: 0.875rem;
}
.usage-collab-option small {
color: var(--metadata);
font-size: 0.7rem;
}
.usage-purpose {
display: grid;
gap: 0.5rem;
@@ -2215,6 +2271,99 @@ a {
background: var(--soft);
}
.billing-collab-badge {
display: inline-block;
margin-left: 0.5rem;
padding: 0.1rem 0.5rem;
border: 1px solid var(--line);
border-radius: 999px;
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--metadata);
}
.billing-collab-toggle {
display: block;
margin-top: 0.35rem;
padding: 0;
border: 0;
background: transparent;
color: var(--metadata);
font-size: 0.7rem;
font-weight: 600;
text-decoration: underline;
cursor: pointer;
}
.billing-collab-toggle:hover:not(:disabled) {
color: var(--ink);
}
.billing-collab-toggle:disabled {
opacity: 0.5;
cursor: default;
}
.billing-invoice-block {
margin-top: 1rem;
padding: 0.9rem 1rem;
border: 1px solid var(--line);
background: var(--soft);
}
.billing-invoice-status {
margin: 0 0 0.6rem;
font-size: 0.8rem;
font-weight: 650;
}
.billing-invoice-form label {
display: grid;
gap: 0.35rem;
font-size: 0.75rem;
font-weight: 650;
}
.billing-invoice-form input[type="file"] {
font-size: 0.8rem;
font-weight: 400;
}
.billing-invoice-controls {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.6rem;
}
.billing-invoice-controls button {
padding: 0.45rem 0.9rem;
border: 1px solid var(--ink);
background: var(--ink);
color: var(--paper);
font-size: 0.75rem;
font-weight: 650;
cursor: pointer;
}
.billing-invoice-controls button[type="button"] {
background: transparent;
color: var(--ink);
}
.billing-invoice-controls button:disabled {
opacity: 0.5;
cursor: default;
}
.billing-invoice-form .form-note {
margin: 0.6rem 0 0;
font-size: 0.7rem;
color: var(--metadata);
}
/* ------------------------------------------------------------------ */
/* Danger Zone & Status Actions */
/* ------------------------------------------------------------------ */