FEAT-13: Abgabe wizard (/vertraege/neu, 4 steps, ?tiere= prefill), Vertraege list w/ download+delete, /einstellungen Zuchtprofil form, contracts/settings API clients, nav entries, detail-page entry point + replace orphaned contactInfo with email/phone/address across Kontakt pages
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
142
gerbil-manager-web/src/pages/vertragWizard.css
Normal file
142
gerbil-manager-web/src/pages/vertragWizard.css
Normal file
@@ -0,0 +1,142 @@
|
||||
/* FEAT-13: Abgabe-Assistent + Vertragsliste — seitenspezifische Stile
|
||||
(Standing-Rule-2-Muster: eigene Datei statt index.css). */
|
||||
|
||||
.wizard {
|
||||
max-width: 40rem;
|
||||
}
|
||||
|
||||
/* ── Schritt-Anzeige ── */
|
||||
|
||||
.wizard-steps {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
margin: 0.75rem 0 1rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wizard-step {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0.4rem 0.25rem;
|
||||
border-bottom: 3px solid var(--color-border);
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.72rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wizard-step--active {
|
||||
border-bottom-color: var(--color-accent);
|
||||
color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.wizard-step--done {
|
||||
border-bottom-color: var(--color-accent-soft);
|
||||
}
|
||||
|
||||
.wizard-step__number {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.6rem;
|
||||
height: 1.6rem;
|
||||
border-radius: 50%;
|
||||
background: var(--color-accent-soft);
|
||||
color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.wizard-step--active .wizard-step__number {
|
||||
background: var(--color-accent);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* ── Auswahllisten (Kontakte / Tiere) ── */
|
||||
|
||||
.wizard-panel {
|
||||
margin: 0.5rem 0 1rem;
|
||||
}
|
||||
|
||||
.wizard-pick-list {
|
||||
list-style: none;
|
||||
margin: 0.75rem 0 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.4rem;
|
||||
max-height: 22rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.wizard-pick {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
gap: 0.2rem 0.6rem;
|
||||
align-items: center;
|
||||
padding: 0.6rem 0.8rem;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 0.6rem;
|
||||
background: var(--color-surface);
|
||||
cursor: pointer;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.wizard-pick:hover {
|
||||
background: var(--color-accent-soft);
|
||||
}
|
||||
|
||||
.wizard-pick input {
|
||||
grid-row: span 2;
|
||||
width: 1.1rem;
|
||||
height: 1.1rem;
|
||||
}
|
||||
|
||||
.wizard-pick__name {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.wizard-pick__meta {
|
||||
grid-column: 2;
|
||||
font-size: 0.8rem;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.wizard-newcontact {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.wizard-newcontact summary {
|
||||
cursor: pointer;
|
||||
color: var(--color-accent);
|
||||
min-height: 44px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.wizard-actions {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.wizard-success-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
max-width: 22rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
/* ── Vertragsliste ── */
|
||||
|
||||
.vertrag-card {
|
||||
grid-template-columns: 1fr auto;
|
||||
}
|
||||
|
||||
.vertrag-card .head-actions {
|
||||
grid-column: 2;
|
||||
grid-row: 1 / span 2;
|
||||
align-self: center;
|
||||
}
|
||||
Reference in New Issue
Block a user