FEAT-1: Tiere detail page — Stammdaten, GEN-1 genotype+Farbschlag, placeholder tabs

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-05 23:55:54 +02:00
parent 9b586dd7fa
commit 0237f5de5e
2 changed files with 230 additions and 0 deletions

View File

@@ -347,3 +347,87 @@ textarea {
gap: 1rem;
margin: 1.5rem 0;
}
/* ── Detail page ─────────────────────────────────────────────── */
.head-actions {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.def-list {
margin: 0.5rem 0 1.5rem;
}
.def-row {
display: grid;
grid-template-columns: 1fr;
gap: 0.1rem;
padding: 0.5rem 0;
border-bottom: 1px solid var(--color-border);
}
.def-row dt {
font-size: 0.8rem;
color: var(--color-text-muted);
}
.def-row dd {
margin: 0;
}
.def-row code {
background: var(--color-accent-soft);
padding: 0.1rem 0.4rem;
border-radius: 0.3rem;
font-size: 0.95em;
}
@media (min-width: 768px) {
.def-row {
grid-template-columns: 14rem 1fr;
gap: 1rem;
align-items: baseline;
}
}
.tabs {
display: flex;
gap: 0.25rem;
border-bottom: 1px solid var(--color-border);
margin-top: 1rem;
}
.tab {
background: none;
border: none;
border-bottom: 2px solid transparent;
padding: 0.6rem 0.9rem;
font: inherit;
color: var(--color-text-muted);
cursor: pointer;
min-height: 44px;
}
.tab--active {
color: var(--color-accent);
border-bottom-color: var(--color-accent);
font-weight: 600;
}
.tab-panel {
padding: 1rem 0;
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}