Nach Zuständigkeit getrennt (tokens/base/layout/cards/forms/badges/theme- toggle/command-palette/alert/utilities/scanner/table/split-layout/akte-grid/ responsive) unter frontend/src/styles/global/, größte Datei jetzt 135 statt 871 Zeilen. tailwind.css importiert alle in ursprünglicher Reihenfolge im selben Layer (global-css) - Cascade-Layer-Reihenfolge unverändert, im gebauten CSS verifiziert. Dabei toten Code entfernt: .badge-ready/-limited/-not-ready/-unknown und .card-grid/.stat-number (Reste von vor der Tailwind-Migration, nirgends mehr im Code referenziert). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVgbozhYmuEhiEJHffRXCV
103 lines
2.1 KiB
CSS
103 lines
2.1 KiB
CSS
/* -- Forms ------------------------------------------------------------ */
|
|
|
|
.field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.field label {
|
|
font-size: 0.88rem;
|
|
color: var(--color-text-muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.input:not([type="checkbox"]):not([type="radio"]),
|
|
select.input,
|
|
textarea.input {
|
|
width: 100%;
|
|
font-size: 0.98rem;
|
|
padding: 0.6rem 0.75rem;
|
|
min-height: 44px;
|
|
border: 1px solid var(--color-border-strong);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--color-surface);
|
|
color: var(--color-text);
|
|
font-family: inherit;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.input:focus,
|
|
select.input:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px var(--color-primary-soft);
|
|
}
|
|
|
|
.input-search {
|
|
font-size: 1.02rem;
|
|
padding: 0.8rem 1rem;
|
|
}
|
|
|
|
/* -- Buttons ------------------------------------------------------------ */
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.4rem;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
padding: 0.6rem 1.05rem;
|
|
/* Mindestens 44x44px Touch-Ziel (WCAG 2.5.5) - im Feld/Lager oft mit
|
|
Handschuhen bedient. */
|
|
min-height: 44px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--color-primary);
|
|
color: #fff;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: var(--color-primary-hover);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--color-surface);
|
|
color: var(--color-text);
|
|
border-color: var(--color-border-strong);
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: var(--color-surface-sunken);
|
|
border-color: var(--color-text-muted);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--color-surface);
|
|
color: var(--color-danger);
|
|
border-color: var(--color-danger);
|
|
}
|
|
|
|
.btn-danger:hover:not(:disabled) {
|
|
background: var(--color-danger-bg);
|
|
}
|
|
|
|
.btn-block {
|
|
width: 100%;
|
|
}
|
|
|