diff --git a/public/index.html b/public/index.html index c44876b..82984a8 100644 --- a/public/index.html +++ b/public/index.html @@ -649,13 +649,115 @@ display: flex; justify-content: space-between; align-items: center; - padding: 10px; - margin-bottom: 5px; - background: white; - border-radius: 4px; - border: 1px solid #ddd; + gap: 16px; + padding: 10px 14px; + background: #ffffff; + border: 1px solid #c3c6d7; + border-radius: 6px; + font-size: 13px; + color: #0b1c30; } - + .list-item strong { + color: #0b1c30; + font-weight: 600; + } + .list-item small { + color: #434655; + font-size: 12px; + } + .list-item button { + background: #ffffff; + color: #434655; + padding: 4px 10px; + border: 1px solid #c3c6d7; + border-radius: 6px; + font-size: 12px; + font-weight: 500; + cursor: pointer; + font-family: inherit; + } + .list-item button:hover { + background: #dce9ff; + color: #0b1c30; + border-color: #2563eb; + } + .list-item button.btn-danger { + background: #ffffff; + color: #ba1a1a; + border-color: #ffdad6; + } + .list-item button.btn-danger:hover { + background: #ffdad6; + border-color: #ba1a1a; + } + .list-item button.btn-success { + background: #2563eb; + color: #ffffff; + border-color: #2563eb; + } + .list-item button.btn-success:hover { + background: #004ac6; + } + + /* Provider cards used by MA-Prozentsätze / MA-Provisionen / Provisionsregeln */ + .admin-card { + background: #ffffff; + border: 1px solid #c3c6d7; + border-radius: 8px; + overflow: hidden; + } + .admin-card-header { + padding: 12px 16px; + background: #eff4ff; + border-bottom: 1px solid #c3c6d7; + } + .admin-card-header h4 { + margin: 0; + font-size: 14px; + font-weight: 600; + color: #0b1c30; + } + .admin-card-content { + padding: 12px 16px; + color: #0b1c30; + display: flex; + flex-direction: column; + gap: 8px; + } + .prozentsaetze-list { + display: flex; + flex-direction: column; + gap: 6px; + } + .tarif-provision-controls .form-row { + margin-bottom: 0; + align-items: center; + } + .tarif-provision-controls label { + color: #434655; + font-size: 12px; + font-weight: 500; + } + .tarif-provision-controls input[type=number] { + padding: 6px 10px; + border: 1px solid #c3c6d7; + border-radius: 6px; + font-size: 13px; + } + .tarif-provision-controls button.btn-success { + background: #2563eb; + color: #ffffff; + padding: 6px 12px; + border: none; + border-radius: 6px; + font-size: 13px; + font-weight: 500; + cursor: pointer; + } + .tarif-provision-controls button.btn-success:hover { + background: #004ac6; + } + .table-container { overflow-x: auto; } @@ -753,6 +855,137 @@ /* Documents modal is now styled with Tailwind in the markup. Only keep the document-item rule at line ~574 — that one is still used by other places (file upload preview list). */ + + /* Shared app-modal scaffolding (Stitch style). Pair `display:none` + with `display:flex` in JS to toggle. */ + .app-modal { + position: fixed; + inset: 0; + background: rgba(0, 0, 0, 0.4); + z-index: 1000; + display: flex; + align-items: center; + justify-content: center; + padding: 24px; + } + .app-modal-card { + background: #ffffff; + border: 1px solid rgba(195, 198, 215, 0.3); + border-radius: 12px; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); + width: 100%; + max-height: 85vh; + display: flex; + flex-direction: column; + overflow: hidden; + } + .app-modal-header { + padding: 16px 24px; + border-bottom: 1px solid #c3c6d7; + display: flex; + align-items: center; + justify-content: space-between; + } + .app-modal-header h3 { + font-size: 18px; + font-weight: 600; + color: #0b1c30; + } + .app-modal-body { + padding: 24px; + overflow-y: auto; + color: #0b1c30; + } + .app-modal-form { + display: flex; + flex-direction: column; + gap: 16px; + } + .app-modal-field { + display: flex; + flex-direction: column; + gap: 4px; + } + .app-modal-field > span { + font-size: 11px; + font-weight: 700; + letter-spacing: 0.05em; + text-transform: uppercase; + color: #434655; + } + .app-modal-field input[type=text], + .app-modal-field input[type=number], + .app-modal-field input[type=password], + .app-modal-field input[type=date], + .app-modal-field select, + .app-modal-field textarea { + padding: 8px 12px; + border: 1px solid #c3c6d7; + border-radius: 8px; + font-size: 14px; + font-family: inherit; + color: #0b1c30; + background: #ffffff; + width: 100%; + } + .app-modal-field input:focus, + .app-modal-field select:focus, + .app-modal-field textarea:focus { + outline: none; + border-color: #2563eb; + box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); + } + .app-modal-checkbox { + display: flex; + align-items: center; + gap: 8px; + font-size: 14px; + color: #0b1c30; + cursor: pointer; + } + .app-modal-checkbox input[type=checkbox] { + width: 16px; + height: 16px; + accent-color: #2563eb; + cursor: pointer; + } + .app-modal-footer { + padding: 16px 24px; + border-top: 1px solid #c3c6d7; + background: rgba(239, 244, 255, 0.5); + display: flex; + justify-content: flex-end; + gap: 8px; + } + .app-modal-btn-primary { + background: #2563eb; + color: #ffffff; + padding: 8px 16px; + border: none; + border-radius: 8px; + font-size: 14px; + font-weight: 500; + cursor: pointer; + font-family: inherit; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + } + .app-modal-btn-primary:hover { + background: #004ac6; + } + .app-modal-btn-secondary { + background: #ffffff; + color: #0b1c30; + padding: 8px 16px; + border: 1px solid #c3c6d7; + border-radius: 8px; + font-size: 14px; + font-weight: 500; + cursor: pointer; + font-family: inherit; + } + .app-modal-btn-secondary:hover { + background: #eff4ff; + } @keyframes fadeIn { from { opacity: 0; } @@ -1425,25 +1658,32 @@
-
+
-

Tarifoptionen verwalten

-

Erstellen und verwalten Sie Zusatzoptionen für Tarife

+

Tarifoptionen verwalten

+

Erstellen und verwalten Sie Zusatzoptionen für Tarife

-
- +
-
-

Bestehende Tarifoptionen

-
- - -
+
+

Bestehende Tarifoptionen

+
+ + +
@@ -1594,60 +1834,78 @@
-