| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617 |
- :root {
- /* Standard Farben mit verbessertem Kontrast */
- --rot-hell: #ffe6e6;
- --gelb-hell: #fff8db;
- --gruen-hell: #e8f5e8;
- --rot: #b30000; /* Verbessert von #800000 für besseren Kontrast */
- --gelb: #9d5502; /* Verbessert von #784801 für besseren Kontrast */
- --gruen: #004d26; /* Verbessert von #006633 für besseren Kontrast */
- --weiss: #ffffff;
- --schwarz: #000000;
- --grau-hell: #f7f9fa;
- --grau-stark: #d7d8d9;
- --berlin-rot: #e20613;
- --diwo-blau: #145c9e;
- --diwo-blau-hell: #cfe8fc;
-
- /* Focus Ring Farbe für bessere Sichtbarkeit */
- --focus-color: #0066cc;
- --focus-outline: 3px solid var(--focus-color);
- }
- /* Alternative Farben mit besserem Kontrast */
- :root[data-color-scheme="alternative"] {
- --rot-hell: #ffe6f5;
- --gelb-hell: #ffeccc;
- --gruen-hell: #e6f9ff;
- --rot: #cc0044; /* Verbessert für besseren Kontrast */
- --gelb: #b8620e; /* Verbessert für besseren Kontrast */
- --gruen: #008a8a; /* Verbessert für besseren Kontrast */
- }
- * {
- box-sizing: border-box;
- }
- body {
- margin: 0;
- padding: 16px;
- background: var(--grau-hell);
- color: var(--schwarz);
- font: 14px/1.5 system-ui, sans-serif; /* Verbesserte Zeilenhöhe für bessere Lesbarkeit */
- }
- /* Focus-Stile für bessere Keyboard-Navigation */
- *:focus {
- outline: var(--focus-outline);
- outline-offset: 2px;
- }
- /* Verbesserter Focus für interaktive Elemente */
- button:focus,
- select:focus,
- input:focus,
- .person-row:focus,
- .section-header:focus {
- outline: var(--focus-outline);
- outline-offset: 2px;
- }
- h1, h2, h3 {
- margin: 0.2rem 0 0.6rem;
- line-height: 1.3; /* Verbesserte Zeilenhöhe für Überschriften */
- }
- .muted {
- opacity: 0.8;
- }
- .row {
- display: flex;
- gap: 0.5rem;
- align-items: center;
- }
- .grid-2 {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- }
- .grid-2 .full {
- grid-column: 1/-1;
- }
- textarea,
- input,
- select {
- width: 100%;
- padding: 0.5rem;
- background: var(--weiss);
- color: var(--schwarz);
- border: 2px solid var(--grau-stark); /* Dickerer Border für bessere Sichtbarkeit */
- border-radius: 4px;
- font-size: 14px; /* Explizite Schriftgröße für bessere Lesbarkeit */
- }
- /* Hover-Effekte für bessere Interaktivität */
- textarea:hover,
- input:hover,
- select:hover {
- border-color: var(--diwo-blau);
- }
- button {
- padding: 0.5rem 0.9rem;
- border: 2px solid var(--grau-stark);
- background: #fff;
- cursor: pointer;
- font-size: 14px;
- min-height: 44px;
- transition: all 0.2s ease;
- }
- button:hover {
- background: var(--grau-hell);
- border-color: var(--diwo-blau);
- }
- button:active {
- transform: translateY(1px);
- }
- .error-box {
- background: var(--rot-hell);
- border-left: 4px solid var(--rot);
- padding: 0.6rem;
- margin: 0.6rem 0;
- border-radius: 4px;
- }
- /* DIWO Header Styles */
- .diwo-header {
- background: var(--weiss);
- border: 1px solid var(--grau-stark);
- padding: 12px 16px;
- margin-bottom: 16px;
- border-radius: 4px;
- }
- .header-row-1 {
- display: flex;
- align-items: center;
- gap: 20px;
- margin-bottom: 8px;
- padding-bottom: 8px;
- border-bottom: 1px solid var(--grau-stark);
- }
- .kunde-logo {
- width: auto;
- height: 50px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .kunde-logo-container {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 100%;
- }
- .kunde-logo-image {
- max-width: auto;
- max-height: 50px;
- object-fit: contain;
- border-radius: 4px;
- }
- .diwo-title {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- }
- .diwo-title h1 {
- font-size: 24px;
- font-weight: bold;
- margin: 0;
- color: var(--diwo-blau);
- }
- .diwo-title h2 {
- font-size: 18px;
- font-weight: normal;
- margin: 0;
- color: var(--schwarz);
- }
- .page-title {
- font-size: 16px;
- font-weight: bold;
- margin-left: auto;
- }
- .header-row-2 {
- display: grid;
- grid-template-columns: auto 1fr auto;
- gap: 20px;
- margin-bottom: 8px;
- align-items: center;
- }
- .aktenzeichen {
- font-weight: bold;
- font-size: 14px;
- }
- .antragsteller-info {
- text-align: center;
- font-weight: bold;
- }
- .location-info {
- text-align: right;
- font-size: 13px;
- }
- .header-row-3 {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 8px;
- padding-top: 8px;
- border-top: 1px solid var(--grau-stark);
- }
- .vorgang-info {
- font-size: 13px;
- }
- .zeitraum-controls {
- display: flex;
- align-items: center;
- gap: 8px;
- }
- .zeitraum-form {
- display: flex;
- align-items: center;
- gap: 8px;
- }
- .zeitraum-form label {
- font-size: 13px;
- font-weight: bold;
- white-space: nowrap;
- }
- .zeitraum-select {
- width: 200px;
- padding: 4px 8px;
- font-size: 13px;
- min-height: 32px;
- }
- .wechseln-btn {
- padding: 4px 8px;
- font-size: 12px;
- min-width: 32px;
- min-height: 32px;
- }
- /* Vergleichslegende */
- .vergleich-legende {
- display: flex;
- align-items: center;
- gap: 12px;
- margin: 12px 0;
- padding: 8px 12px;
- background: var(--grau-hell);
- border: 1px solid var(--grau-stark);
- border-radius: 4px;
- font-size: 13px;
- }
- .legende-item {
- display: flex;
- align-items: center;
- gap: 4px;
- padding: 4px 8px;
- border-radius: 3px;
- }
- .legende-item:has(.plus) {
- background: var(--gruen-hell);
- border: 1px solid var(--gruen); /
- }
- .legende-item:has(.minus) {
- background: var(--rot-hell);
- border: 1px solid var(--rot);
- }
- .legende-item:has(.warn) {
- background: var(--gelb-hell);
- border: 1px solid var(--gelb);
- }
- .legende-title {
- margin-right: 8px;
- font-size: 13px;
- }
- .legende-spacer {
- color: var(--grau-stark);
- font-weight: bold;
- }
- .selected-indicator-text {
- border: 3px solid var(--diwo-blau);
- padding: 2px 4px;
- border-radius: 2px;
- display: inline-block;
- background: var(--diwo-blau-hell);
- }
- table {
- width: 100%;
- border-collapse: collapse;
- background: var(--weiss);
- border: 1px solid var(--grau-stark);
- margin: 0.6rem 0 1rem;
- /* Zusätzlicher Platz für Focus-Outlines innerhalb der Tabelle */
- border-spacing: 0;
- }
- th, td {
- border: 1px solid var(--grau-stark);
- padding: 0.5rem;
- vertical-align: top;
- text-align: left;
- }
- th {
- background: var(--grau-stark);
- position: sticky;
- top: 0;
- font-weight: bold;
- color: var(--schwarz);
- }
- .sym {
- width: 2.5rem;
- min-width: 2.5rem;
- max-width: 2.5rem;
- text-align: center;
- font-weight: 700;
- font-size: 16px;
- }
- .sym.plus {
- color: var(--gruen);
- }
- .sym.minus {
- color: var(--rot);
- }
- .sym.warn {
- color: var(--gelb);
- }
- .diff-row-added {
- background: var(--gruen-hell);
- }
- .diff-row-removed {
- background: var(--rot-hell);
- }
- .cell-changed,
- td:has(.cell-changed) {
- background: var(--gelb-hell);
- }
- /* Verbessertes Icon für geänderte Zellen */
- .cell-changed:not(.sym)::before {
- content: "! ";
- color: var(--gelb);
- font-weight: bold;
- font-size: 0.9em;
- margin-right: 4px;
- }
- .old {
- display: block;
- font-size: 0.85em;
- margin-top: 0.2rem;
- opacity: 0.9;
- font-style: italic;
- }
- .header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 8px;
- }
- .legend {
- margin: 0.5rem 0 1rem;
- }
- /* Person Selection - Blue outline for selected person */
- .person-selected {
- outline: 3px solid var(--diwo-blau);
- outline-offset: -3px;
- }
- /* Clickable table rows mit verbesserter Accessibility */
- .person-row {
- cursor: pointer;
- transition: background-color 0.2s ease;
- position: relative;
- }
- .person-row:hover {
- background-color: var(--diwo-blau-hell);
- }
- .person-row:focus {
- background-color: var(--diwo-blau-hell);
- /* Verbesserte Focus-Umrahmung für Tabellenzeilen */
- outline: var(--focus-outline);
- outline-offset: 1px; /* Reduzierter Offset für bessere Sichtbarkeit in Tabellen */
- z-index: 1; /* Stelle sicher, dass der Focus-Ring über anderen Elementen liegt */
- }
- /* Verbesserte Focus-Styles für alle Tabellenzeilen */
- tr:focus {
- outline: var(--focus-outline);
- outline-offset: 1px;
- position: relative;
- z-index: 1;
- }
- /* Skip to content für Screen Reader */
- .skip-link {
- position: absolute;
- top: -40px;
- left: 6px;
- background: var(--diwo-blau);
- color: var(--weiss);
- padding: 8px;
- text-decoration: none;
- border-radius: 4px;
- z-index: 1000;
- }
- .skip-link:focus {
- top: 6px;
- }
- .table-action {
- padding: 0.25rem 0.5rem;
- border: 1px solid var(--grau-stark);
- background: #fff;
- cursor: pointer;
- font-size: 0.85rem;
- min-height: 32px;
- }
- .table-action:hover {
- filter: brightness(0.98);
- }
- /* Farbwahl in der Legende */
- .color-picker-container {
- position: relative;
- display: flex;
- align-items: center;
- gap: 4px;
- margin-left: auto;
- }
- .color-picker-toggle {
- background: none;
- border: 2px solid var(--grau-stark);
- cursor: pointer;
- font-size: 16px;
- padding: 4px;
- border-radius: 4px;
- transition: all 0.2s ease;
- min-height: 32px;
- min-width: 32px;
- }
- .color-picker-toggle:hover {
- background: var(--grau-stark);
- border-color: var(--diwo-blau);
- }
- .color-picker-popup {
- position: absolute;
- top: 100%;
- right: 0;
- background: var(--weiss);
- border: 2px solid var(--grau-stark);
- border-radius: 4px;
- padding: 12px;
- box-shadow: 0 4px 12px rgba(20, 92, 158, 0.2);
- z-index: 1000;
- font-size: 13px;
- min-width: 160px;
- }
- .color-picker-popup.hidden {
- display: none;
- }
- .color-picker-popup label {
- font-weight: bold;
- margin-bottom: 6px;
- display: block;
- }
- .color-scheme-select {
- width: 100%;
- padding: 6px 8px;
- font-size: 13px;
- border: 2px solid var(--grau-stark);
- border-radius: 4px;
- min-height: 32px;
- }
- /* Responsive Layout für Freibeträge und Kinderbetreuung */
- .freibetrag-container {
- display: flex;
- gap: 16px;
- margin: 0.6rem 0 1rem;
- }
- .freibetrag-section {
- flex: 1;
- min-width: 0;
- }
- .freibetrag-section h3 {
- margin: 0 0 0.6rem;
- font-size: 16px;
- }
- .kinderbetreuung-container {
- max-width: 50%;
- }
- /* Bei kleinen Bildschirmen: Untereinander anordnen */
- @media (max-width: 1200px) {
- .freibetrag-container {
- flex-direction: column;
- }
- .kinderbetreuung-container {
- max-width: 100%;
- }
- }
- /* Ausklappbare Sektionen */
- .section-container {
- margin: 0.6rem 0 1rem;
- }
- .section-header {
- background: var(--grau-stark);
- padding: 12px 16px;
- border: 2px solid var(--grau-stark);
- border-radius: 4px 4px 0 0;
- cursor: pointer;
- display: flex;
- align-items: center;
- gap: 8px;
- user-select: none;
- transition: all 0.2s ease;
- min-height: 44px;
- }
- .section-header:hover {
- background: #c5c6c7;
- border-color: var(--diwo-blau);
- }
- .section-header h3 {
- margin: 0;
- font-size: 16px;
- font-weight: bold;
- }
- .toggle-icon {
- font-size: 14px;
- transition: transform 0.2s ease;
- font-weight: bold;
- }
- .toggle-icon.collapsed {
- transform: rotate(-90deg);
- }
- .section-content {
- border: 2px solid var(--grau-stark);
- border-top: none;
- border-radius: 0 0 4px 4px;
- transition: max-height 0.3s ease;
- overflow: visible; /* Geändert von hidden zu visible für Focus-Outlines */
- padding: 4px; /* Zusätzlicher Platz für Focus-Outlines */
- }
- .section-content.collapsed {
- display: none;
- }
- .section-content table {
- margin: 0;
- border: none;
- }
|