190 lines
3.6 KiB
CSS
190 lines
3.6 KiB
CSS
/* 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;
|
|
}
|
|
|
|
/* ── Vertragsfoto-Auswahl je Tier (Schritt „Tiere“) ── */
|
|
.contract-photopick {
|
|
margin: 0.5rem 0 0.25rem 1.9rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
.contract-photopick__label {
|
|
font-size: 0.8rem;
|
|
color: var(--color-muted, #8c7f6e);
|
|
}
|
|
.contract-photopick__thumbs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
.contract-photopick__thumb {
|
|
width: 64px;
|
|
height: 64px;
|
|
padding: 0;
|
|
border: 2px solid var(--color-border, #d9ccb4);
|
|
border-radius: 10px;
|
|
background: var(--color-surface, #fff);
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
.contract-photopick__thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
.contract-photopick__thumb--none {
|
|
font-size: 0.72rem;
|
|
color: var(--color-muted, #8c7f6e);
|
|
text-align: center;
|
|
line-height: 1.1;
|
|
}
|
|
.contract-photopick__thumb.is-selected {
|
|
border-color: var(--color-accent, #a85f2e);
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent, #a85f2e) 30%, transparent);
|
|
}
|