diff --git a/src/app/admin/abrechnungen/[editorialId]/BillingSelection.tsx b/src/app/admin/abrechnungen/[editorialId]/BillingSelection.tsx
index 391fb0b..8e0464d 100644
--- a/src/app/admin/abrechnungen/[editorialId]/BillingSelection.tsx
+++ b/src/app/admin/abrechnungen/[editorialId]/BillingSelection.tsx
@@ -268,7 +268,7 @@ export function BillingSelection({
| {download.assetId} |
- |
@@ -327,7 +327,7 @@ export function BillingSelection({
Status: {REPORT_STATUS_LABELS[report.status] ?? report.status}
Erstellt am:{" "}
-
+
{report.createdAt.toLocaleDateString("de-DE")}
diff --git a/src/app/globals.css b/src/app/globals.css
index 9aac7be..79ac422 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -31,6 +31,7 @@ body {
a {
color: inherit;
+ transition: all 0.2s ease;
}
:focus-visible {
@@ -278,12 +279,17 @@ a {
display: flex;
flex-wrap: wrap;
gap: 0.75rem 1.25rem;
- padding: 1rem 0;
+ padding: 1.5rem clamp(1.25rem, 4vw, 5rem);
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 0.75rem;
letter-spacing: 0.06em;
text-transform: uppercase;
+ transition: all 0.2s ease;
+}
+
+.legal-footer a:hover {
+ color: var(--ink);
}
.audit-filters {
@@ -382,9 +388,14 @@ a {
.brand-logo {
display: block;
- width: min(14rem, 48vw);
+ width: min(10rem, 35vw);
height: auto;
object-fit: contain;
+ transition: opacity 0.2s ease;
+}
+
+.brand-logo:hover {
+ opacity: 0.8;
}
.portal-masthead-meta,
@@ -1900,3 +1911,164 @@ a {
border-color: var(--ink);
color: var(--ink);
}
+
+/* ------------------------------------------------------------------ */
+/* Admin Album Grid */
+/* ------------------------------------------------------------------ */
+
+.album-grid-search {
+ width: 100%;
+ max-width: 30rem;
+ padding: 0.625rem 0.875rem;
+ border: 1px solid var(--line);
+ font-size: 0.875rem;
+ font-family: inherit;
+ margin-bottom: 1.5rem;
+ transition: all 0.2s ease;
+}
+
+.album-grid-search:focus {
+ outline: 2px solid var(--ink);
+ outline-offset: 2px;
+}
+
+.album-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
+ gap: 1.5rem;
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+
+.album-card {
+ display: flex;
+ flex-direction: column;
+ background: var(--paper);
+ border: 1px solid var(--line);
+ transition: all 0.2s ease;
+ overflow: hidden;
+}
+
+.album-card[data-granted="true"] {
+ border-left: 3px solid var(--ink);
+}
+
+.album-card:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+}
+
+.album-card-image-container {
+ width: 100%;
+ aspect-ratio: 4 / 3;
+ background: var(--contact-sheet);
+ overflow: hidden;
+}
+
+.album-card-image {
+ width: 100%;
+ height: 100%;
+ object-fit: contain; /* Fix for portrait images getting cut off */
+ background: var(--contact-sheet);
+ transition: transform 0.3s ease;
+}
+
+.album-card:hover .album-card-image {
+ transform: scale(1.02);
+}
+
+.album-card-placeholder {
+ display: grid;
+ place-items: center;
+ height: 100%;
+ color: var(--metadata);
+ font-size: 0.75rem;
+ text-transform: uppercase;
+ letter-spacing: 0.05em;
+}
+
+.album-card-body {
+ padding: 1rem;
+ display: flex;
+ flex-direction: column;
+ flex: 1;
+}
+
+.album-card-name {
+ margin: 0 0 0.25rem 0;
+ font-size: 0.875rem;
+ font-weight: 600;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.album-card-count {
+ margin: 0 0 0.75rem 0;
+ font-size: 0.75rem;
+ color: var(--muted);
+}
+
+.album-card-status {
+ display: flex;
+ align-items: center;
+ gap: 0.375rem;
+ font-size: 0.75rem;
+ font-weight: 500;
+ margin: 0 0 1rem 0;
+}
+
+.album-card-status::before {
+ content: "";
+ display: block;
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: var(--line);
+}
+
+.album-card-status--granted::before {
+ background: #10b981; /* Green dot for granted */
+}
+
+.album-card-action {
+ width: 100%;
+ padding: 0.5rem;
+ font-size: 0.75rem;
+ font-weight: 600;
+ font-family: inherit;
+ cursor: pointer;
+ transition: all 0.2s ease;
+ margin-top: auto;
+}
+
+.album-card-action--grant {
+ background: var(--ink);
+ color: var(--paper);
+ border: 1px solid var(--ink);
+}
+
+.album-card-action--grant:hover:not(:disabled) {
+ background: var(--graphite);
+}
+
+.album-card-action--revoke {
+ background: transparent;
+ color: var(--metadata);
+ border: 1px solid var(--line);
+}
+
+.album-card-action--revoke:hover:not(:disabled) {
+ border-color: var(--ink);
+ color: var(--ink);
+}
+
+.album-card-action:disabled {
+ opacity: 0.5;
+ cursor: not-allowed;
+}
+
+button {
+ transition: all 0.2s ease;
+}